Fabien Potencier [Tue, 26 Jun 2012 15:59:41 +0000]
fixed nested embed tag calls
Fabien Potencier [Tue, 26 Jun 2012 15:12:23 +0000]
merged branch meandmymonkey/clarify-pre_escape (PR #758)
Commits
-------
f840670 clarified documentation of pre_escape option
Discussion
----------
Clarified documentation of pre_escape option
The previous wording could be misunderstood as "tell the filter that the input has already been escaped", which is actually the opposite from how it works.
Andreas Hucks [Mon, 25 Jun 2012 17:09:27 +0000]
clarified documentation of pre_escape option
Fabien Potencier [Sun, 17 Jun 2012 18:52:23 +0000]
bumped version to 1.8.4-DEV
Fabien Potencier [Sun, 17 Jun 2012 18:48:16 +0000]
prepared the 1.8.3 release
Fabien Potencier [Thu, 14 Jun 2012 15:05:56 +0000]
fixed paths in the filesystem loader when passing a path that ends with a slash or a backslash (closes #750)
Fabien Potencier [Thu, 14 Jun 2012 15:02:35 +0000]
fixed typos
Fabien Potencier [Thu, 14 Jun 2012 15:00:28 +0000]
fixed escaping when a project defines a function named html or js (closes #724)
Fabien Potencier [Thu, 14 Jun 2012 13:20:28 +0000]
added some information about template recompilation (closes #743)
Fabien Potencier [Thu, 14 Jun 2012 13:15:52 +0000]
tweaked doc
Fabien Potencier [Thu, 14 Jun 2012 13:07:01 +0000]
fixed doc (closes #744)
Libert KHE [Wed, 6 Jun 2012 19:23:49 +0000]
added missing comment added (closes #476)
Fabien Potencier [Wed, 13 Jun 2012 06:24:34 +0000]
merged branch adrienbrault/patch-1 (PR #751)
Commits
-------
80a2a7e [Doc] Fix some typos
Discussion
----------
[Doc] Fix some typos
Hi!
Adrien Brault [Tue, 12 Jun 2012 22:27:42 +0000]
[Doc] Fix some typos
Fabien Potencier [Sun, 10 Jun 2012 13:13:55 +0000]
fixed chmod mode to apply the umask correctly (closes #749)
Fabien Potencier [Sat, 9 Jun 2012 06:45:24 +0000]
fixed a phpdoc (closes #748)
Fabien Potencier [Fri, 8 Jun 2012 14:55:41 +0000]
added a note in the CHANGELOG (refs #745)
Fabien Potencier [Fri, 8 Jun 2012 14:53:09 +0000]
merged branch catchamonkey/compiler_outdent (PR #747)
Commits
-------
459a076 The Compiler outdent method will now only reduce the indentation if it's OK to do so, It moves and modifies the check up above the indentation modification.
Discussion
----------
Compiler outdent step validation moved up and modified
The Compiler outdent method will now only reduce the indentation if it's OK
to do so, It moves and modifies the check up above the indentation modification.
It's a small improvement but saves a wasted decrement of a variable, when you know an exception will be thrown immediately following it.
---------------------------------------------------------------------------
by nikic at 2012-06-07T23:18:00Z
Compared to throwing an exception decrementing a variable has practically no cost ;)
PS: Not saying that the change is bad or something like that, only saying that performance is the wrong reason to do it :)
---------------------------------------------------------------------------
by catchamonkey at 2012-06-07T23:20:23Z
Yeah, there is no performance gain, but the code only executes that which is necessary.
It's like there being no point preparing a response before you know if you are going to send it. (slightly OTT example, but you get what I mean) :)
Chris Sedlmayr [Thu, 7 Jun 2012 22:45:55 +0000]
The Compiler outdent method will now only reduce the indentation if it's OK
to do so, It moves and modifies the check up above the indentation modification.
Fabien Potencier [Thu, 31 May 2012 05:17:23 +0000]
added Komodo to the list of supported IDEs
Fabien Potencier [Wed, 30 May 2012 20:55:03 +0000]
added Coda 2 in the list of supported IDEs
Fabien Potencier [Wed, 30 May 2012 06:18:29 +0000]
bumped version to 1.8.3
Fabien Potencier [Wed, 30 May 2012 06:15:36 +0000]
prepared the 1.8.2 release
Fabien Potencier [Tue, 29 May 2012 18:38:42 +0000]
fixed some CS issues
Fabien Potencier [Tue, 29 May 2012 18:09:42 +0000]
merged branch blaugueux/master (PR #736)
Commits
-------
c53a02d Fixed DateTimeZone support in date filter.
Discussion
----------
Fixed DateTimeZone support in date filter.
Now $date converted to a DateTime has a DateTimeZone in every case.
---------------------------------------------------------------------------
by fabpot at 2012-05-28T19:20:47Z
Can you add some unit tests to avoid regression to happen later? Thanks.
---------------------------------------------------------------------------
by blaugueux at 2012-05-29T07:52:58Z
@fabpot Here they are.
---------------------------------------------------------------------------
by fabpot at 2012-05-29T10:29:28Z
Great! Can you add a note in the CHANGELOG file and then squash your commit before I merge? Thanks.
---------------------------------------------------------------------------
by blaugueux at 2012-05-29T12:52:22Z
Changelog added. First squash of my life, i cannot say if it's good :(
---------------------------------------------------------------------------
by stof at 2012-05-29T12:55:26Z
it is not. you merged your remote branch instead of forcing the push
---------------------------------------------------------------------------
by blaugueux at 2012-05-29T17:12:05Z
Ok @stof, thanks for your help. I think it's good now.
@fabpot Is it ok for you ?
Benjamin Laugueux [Fri, 25 May 2012 19:29:08 +0000]
Fixed DateTimeZone support in date filter.
Prevents the DateTime object to be updated when changing the DateTimeZone.
Unit tests added.
Updated changelog.
Fabien Potencier [Mon, 28 May 2012 20:55:00 +0000]
updated CHANGELOG
Fabien Potencier [Mon, 28 May 2012 20:54:16 +0000]
merged branch maartendekeizer/master (PR #738)
Commits
-------
f0a0036 Add abs filter including unit test and documentation
Discussion
----------
Add abs filter to Twig
With abs it is possible to make negative values positive and leave positive values positive.
---------------------------------------------------------------------------
by maartendekeizer at 2012-05-26T19:02:34Z
Example when using abs
{% if days_left < 0 %}
{{ days_left|abs }} days to late!
{% else %}
{{ days_left }} days left
{% endif %}
---------------------------------------------------------------------------
by stof at 2012-05-26T19:12:43Z
I'm not sure about adding this filter in the core. I think it would be better in the Twig-extensions repo. @fabpot thoughts ?
---------------------------------------------------------------------------
by maartendekeizer at 2012-05-26T21:18:47Z
@stof abs is a really basic/natural function it belongs to the base mathematic functions. If this was an implementation of for example the ABC-formula or Pythagoras it must be in the extension repo., but abs is more core related I think.
---------------------------------------------------------------------------
by fabpot at 2012-05-27T07:11:33Z
Can you add some unit tests and squash your commits? Thanks.
---------------------------------------------------------------------------
by maartendekeizer at 2012-05-27T14:40:56Z
First time squashing commits; learned something new :-). I will add a unit test tomorrow.
---------------------------------------------------------------------------
by maartendekeizer at 2012-05-27T17:36:58Z
Unit test and documentation added.
---------------------------------------------------------------------------
by fabpot at 2012-05-27T18:41:25Z
After fixing the markup issue, you will have to squash again ;)
---------------------------------------------------------------------------
by maartendekeizer at 2012-05-27T20:44:29Z
Done
---------------------------------------------------------------------------
by fabpot at 2012-05-28T19:19:55Z
Looks like you have not squash your commits.
---------------------------------------------------------------------------
by maartendekeizer at 2012-05-28T20:05:34Z
@fabot you want one commit for the complete pr?
---------------------------------------------------------------------------
by fabpot at 2012-05-28T20:06:53Z
For such a PR, yes.
Maarten de Keizer [Sat, 26 May 2012 18:45:50 +0000]
Add abs filter
including unit test and documentation
Fabien Potencier [Mon, 28 May 2012 06:44:30 +0000]
merged branch hhamon/doc_fixes (PR #737)
Commits
-------
953a0ce [doc] fixed Composer section of the introduction. Added a side note to the Composer official documentation for getting more information.
Discussion
----------
[doc] fixed twig version in installation documentation.
---------------------------------------------------------------------------
by lyrixx at 2012-05-25T23:30:01Z
why not use something like "1.*" ?
---------------------------------------------------------------------------
by fabpot at 2012-05-26T05:55:16Z
This is just an example and we are not going to update it with each new release. So, we can either use `1.*` as suggested by @lyrixx or/and add a note referring to the Composer docs.
---------------------------------------------------------------------------
by hhamon at 2012-05-28T05:34:54Z
That's better indeed!
---------------------------------------------------------------------------
by hhamon at 2012-05-28T05:40:46Z
@fabpot you can merge this PR
---------------------------------------------------------------------------
by fabpot at 2012-05-28T06:07:05Z
Can you squash?
---------------------------------------------------------------------------
by hhamon at 2012-05-28T06:31:42Z
@fabpot squashed!
Hugo Hamon [Fri, 25 May 2012 20:16:33 +0000]
[doc] fixed Composer section of the introduction. Added a side note to the Composer official documentation for getting more information.
Fabien Potencier [Sat, 26 May 2012 06:30:56 +0000]
fixed an obsolete comment in phpdoc
Fabien Potencier [Wed, 23 May 2012 05:50:33 +0000]
fixed a regression when using a number in template attributes (closes #733)
Fabien Potencier [Wed, 23 May 2012 05:40:44 +0000]
added an example for the loop variable (closes #732)
Fabien Potencier [Mon, 21 May 2012 11:39:18 +0000]
fixed compiler when mbstring.func_overload is set to 2 (closes #731)
Fabien Potencier [Sat, 19 May 2012 07:41:36 +0000]
fixed CS
Fabien Potencier [Thu, 17 May 2012 16:06:57 +0000]
bumped version to 1.8.2-DEV
Fabien Potencier [Thu, 17 May 2012 16:02:47 +0000]
prepared the 1.8.1 release
Fabien Potencier [Thu, 17 May 2012 07:08:48 +0000]
merged branch Tobion/patch-5 (PR #729)
Commits
-------
b692268 removed leftover of
93c4406f8 and made some language improvements
Discussion
----------
removed leftover of
93c4406f8 and made some language improvements
Tobias Schultze [Wed, 16 May 2012 21:21:17 +0000]
removed leftover of
93c4406f8 and made some language improvements
Fabien Potencier [Wed, 16 May 2012 15:00:05 +0000]
fixed tests for PHP 5.2
Fabien Potencier [Wed, 16 May 2012 14:24:38 +0000]
fixed typos in the doc (closes #726)
Fabien Potencier [Wed, 16 May 2012 14:22:01 +0000]
updated CHANGELOG
Fabien Potencier [Wed, 16 May 2012 14:20:34 +0000]
fixed CHANGELOG
Fabien Potencier [Wed, 16 May 2012 14:18:48 +0000]
Fabien Potencier [Wed, 16 May 2012 14:01:19 +0000]
removed obsolete code
Fabien Potencier [Sat, 5 May 2012 06:28:23 +0000]
switched to use mbstring whenever possible instead of iconv (because of issues with iconv and Japanese -- thanks @ganchiku for the tip)
Fabien Potencier [Fri, 11 May 2012 04:53:17 +0000]
merged branch Fustrate/master (PR #725)
Commits
-------
6c06a32 Coding style
Discussion
----------
Minor typos and coding style
- Unnecessary return in Lexer
- Typo in TokenParserBrokerInterface
Steven Hoffman [Thu, 10 May 2012 19:10:26 +0000]
Coding style
- Unnecessary return in Lexer
- Typo in TokenParserBrokerInterface
Fabien Potencier [Thu, 10 May 2012 11:36:58 +0000]
merged branch literal/v1.8.0 (PR #723)
Commits
-------
d13f742 fix example in doc for embed tag
b11412e improve documentation for embed tag
Discussion
----------
improve documentation for embed tag
https://github.com/fabpot/Twig/issues/722
---------------------------------------------------------------------------
by fabpot at 2012-05-10T05:10:37Z
I think this is a great improvement over the original version! The notion of "micro-layouts" certainly helps understand the concept behind the `embed` tag.
Thanks.
literal [Thu, 10 May 2012 11:33:17 +0000]
fix example in doc for embed tag
literal [Thu, 10 May 2012 00:10:48 +0000]
improve documentation for embed tag
Fabien Potencier [Tue, 8 May 2012 12:24:57 +0000]
fixed dump function is_safe value when html_errors is not defined in php.ini (closes #720)
Fabien Potencier [Tue, 8 May 2012 07:06:03 +0000]
bumped version to 1.9.0-DEV
Fabien Potencier [Tue, 8 May 2012 07:03:46 +0000]
prepared the 1.8.0 release
Fabien Potencier [Tue, 8 May 2012 06:32:32 +0000]
added documentation for the bitwise operators (closes #707)
Fabien Potencier [Tue, 8 May 2012 06:30:42 +0000]
added tests for bitwise operators
Fabien Potencier [Tue, 8 May 2012 06:23:16 +0000]
clarified usage of the dump function (closes #718)
Fabien Potencier [Fri, 4 May 2012 06:00:53 +0000]
enforced interface when adding tests, filters, functions, and node visitors from extensions
This avoids some hard to find bugs where you use a Twig_Function_Method
for instance for a filter. This is hard to find because the interface is
almost the same but the getSafe() contract is not the same.
Fabien Potencier [Thu, 3 May 2012 20:31:44 +0000]
updated CHANGELOG
Fabien Potencier [Thu, 3 May 2012 20:30:26 +0000]
merged branch stof/mutable_datetime (PR #717)
Commits
-------
a23d4fb Fixed the handling of the timezone for DateTime objects
a164469 Added a failing test demonstrating the bug with DateTime and timezones
Discussion
----------
Mutable datetime
PHP DateTime objects are mutable so changing the timezone when displaying
it affects the following code whereas it does not occur for other
supported formats.
Christophe Coevoet [Thu, 3 May 2012 20:25:04 +0000]
Fixed the handling of the timezone for DateTime objects
Christophe Coevoet [Thu, 3 May 2012 20:20:20 +0000]
Added a failing test demonstrating the bug with DateTime and timezones
PHP DateTime objects are mutable so changing the timezone when displaying
it affects the following code whereas it does not occur for other
supported formats.
Fabien Potencier [Sat, 28 Apr 2012 07:16:43 +0000]
added a missing entry in the CHANGELOG
Fabien Potencier [Fri, 27 Apr 2012 15:49:39 +0000]
fixed markup in the doc
Fabien Potencier [Fri, 27 Apr 2012 15:42:50 +0000]
merged two doc files
Fabien Potencier [Fri, 27 Apr 2012 15:40:57 +0000]
renamed a doc file
Fabien Potencier [Fri, 27 Apr 2012 15:35:26 +0000]
refactored the hacking twig doc chapter
Fabien Potencier [Fri, 27 Apr 2012 12:21:26 +0000]
tweaked doc
Fabien Potencier [Fri, 27 Apr 2012 12:18:22 +0000]
added a new recipe
Fabien Potencier [Fri, 27 Apr 2012 07:16:21 +0000]
fixed embed compilation when used more than once in a template (closes #714)
Fabien Potencier [Wed, 25 Apr 2012 16:22:04 +0000]
made the autoescape tag argument optional (defaults to 'html')
Fabien Potencier [Wed, 25 Apr 2012 08:34:12 +0000]
added a note about auto-escaping and the embed tag
We cannot use the parent template to guess the auto-escaping strategy
either as it can be any valid expression, for which we have the real
value only at runtime (auto-escaping happening at compilation time).
Fabien Potencier [Wed, 25 Apr 2012 07:17:16 +0000]
ensured that each template (Twig_Node_Module) is only visited once
Fabien Potencier [Wed, 25 Apr 2012 06:37:17 +0000]
simplified code
Fabien Potencier [Wed, 25 Apr 2012 06:23:58 +0000]
added a way to change the default escaping strategy after creating the Twig environment
Fabien Potencier [Wed, 25 Apr 2012 05:35:12 +0000]
tweaked doc for the escape filter
Fabien Potencier [Wed, 25 Apr 2012 05:30:52 +0000]
simplified usage of the autoescape tag; the only argument is now the escaping strategy or false
Fabien Potencier [Wed, 25 Apr 2012 05:00:14 +0000]
tweaked an error message
Fabien Potencier [Wed, 25 Apr 2012 04:25:28 +0000]
added a way to dynamically change the auto-escaping strategy according to the template filename
Fabien Potencier [Wed, 25 Apr 2012 04:23:17 +0000]
changed the autoescape option to also accept a supported escaping strategy (for BC, true is equivalent to html)
Fabien Potencier [Wed, 25 Apr 2012 04:17:05 +0000]
fixed CS
Fabien Potencier [Tue, 24 Apr 2012 11:12:09 +0000]
fixed markup in the doc
Fabien Potencier [Tue, 24 Apr 2012 11:09:06 +0000]
merged branch fabpot/inline (PR #709)
Commits
-------
07f13df fixed typo
0f623a1 added the parent as an argument to the embed tag (removes the need to use extends)
fab21d8 renamed the inline tag to embed
1b54780 tweaked examples
955726a changed the inline examples to not use even/odd to avoid confustion
fb07f3a renamed indice to index
fafde80 added more info in the docs
2fa8224 added the inline tag
Discussion
----------
added the inline tag
At Sensio, we manage websites with many mostly-static pages that share almost the same structure (with different content of course), but with some subtle differences. After trying many different possibilities (external templates, inheritance, macros, and some ugly ones that I won't even tell you about ;)) to structure our templates, we came to the conclusion that we needed a new concept.
This new concept is implemented via a new tag, `inline`, which I want to include in Twig 1.8 (not for the upcoming 1.7 which is due this week). But before merging this code into master, I want to gather some feedback from the community. One of my questions being: Will you use this new possibility?
I won't tell you more here as the tag is fully documented in the diff.
---------------------------------------------------------------------------
by oojacoboo at 2012-04-23T17:58:59Z
odd/even? What other potential uses do you see? I think I can see a couple, but generally speaking, unless it's a content site (ie. blog), the odd/even isn't very useful. Reusing blocks even with minor customizations on a per page level is highly needed for our development processes, but an odd/even scenario is certainly not.
Maybe I'm missing something here. What about passing attributes to a block or something?
---------------------------------------------------------------------------
by fabpot at 2012-04-23T18:02:51Z
@oojacoboo odd/even is just an example. Of course, this is not a real use case, this was just an attempt to find an example.
---------------------------------------------------------------------------
by stof at 2012-04-23T18:03:53Z
@oojacoboo there is no reference to odd/even in the code, only in the doc
---------------------------------------------------------------------------
by simensen at 2012-04-23T18:20:10Z
I think that it would be useful in some cases. I can't think of any places I could use it *right now* but I know I've had to jump through hoops on more than a few occasions to get things to work correctly. Being able to keep functionality like this in mind at the design stage might have made things easier in a few of those cases.
---------------------------------------------------------------------------
by lyrixx at 2012-04-23T18:21:34Z
I think it's a good idea.
---------------------------------------------------------------------------
by tyomo4ka at 2012-04-23T18:25:07Z
I think it will be great. Each time when I need to include templat that simple extends another one and replace one small block I think: "Why I should to create new template for it?". Thanks, @fabpot
---------------------------------------------------------------------------
by bmatzner at 2012-04-23T18:28:23Z
Right on. +1
---------------------------------------------------------------------------
by cranberyxl at 2012-04-23T18:40:17Z
I believe the concept is a good one, but the example using even and odd will confuse frontend developers because it's usually used in the context of loops and table striping. even changing it to styleA.twig and styleB.twig would be more understandable.
---------------------------------------------------------------------------
by lyrixx at 2012-04-23T19:01:32Z
@cranberyxl +1
---------------------------------------------------------------------------
by fabpot at 2012-04-23T19:24:21Z
ok, I've just changed the examples to not used even/odd.
---------------------------------------------------------------------------
by jorgelbg at 2012-04-23T19:27:53Z
I think that the inline tag is a valid concept, but still I can't get it landed on a real case!
---------------------------------------------------------------------------
by sirowl at 2012-04-23T19:35:07Z
As a webdesigner with a steady foundation in CSS I find the term inline very confusing, I had to consult a developer to actually understand what was the idea of the tag as I so heavily associated it with CSS's terminology of inline.
The CSS terminololigy got me on the wrong track in terms of what the tag was supposed to be used for.
I have no good suggestion for a name for it, but inline could probably get very confusing for a lot of webdesigners making use of twig.
---------------------------------------------------------------------------
by fabpot at 2012-04-23T19:41:48Z
@sirowl `inline` was the best term I could come up with but I'm open to any other suggestion.
---------------------------------------------------------------------------
by sirowl at 2012-04-23T19:47:30Z
The best I could come up with is embed, as it is an embedded document of sorts.. or something along those lines.
---------------------------------------------------------------------------
by bschussek at 2012-04-23T19:48:54Z
I like `embed`.
---------------------------------------------------------------------------
by bmatzner at 2012-04-23T19:55:37Z
Hi Fabien, inline makes sense to me, although I understand @sirowl's comment, but I even find the concept quite comparable to the CSS display:block/display:inline logic. @sirowl's suggestion of "embed" would be just as fine, as it's just a matter of learning what this particular tag refers to. The ambiguation against the import tag is probably the most crucial, explaining the advantages of "inline" (or whatever) over doing an import
---------------------------------------------------------------------------
by Baachi at 2012-04-23T20:03:26Z
I lke ```embed```, too.
---------------------------------------------------------------------------
by Nami-Doc at 2012-04-23T20:11:42Z
I like `embed`, but `inline` is fine too.
---------------------------------------------------------------------------
by tijuan at 2012-04-23T20:36:39Z
I like the feature
I like embed
---------------------------------------------------------------------------
by pulse00 at 2012-04-23T20:56:41Z
+1 for `embed`
---------------------------------------------------------------------------
by mickaelandrieu at 2012-04-24T00:35:01Z
I like embed, inline for me is an CSS behavior
---------------------------------------------------------------------------
by matheo at 2012-04-24T04:29:05Z
+1 for `embed`
---------------------------------------------------------------------------
by fabpot at 2012-04-24T05:35:06Z
I've just renamed the `inline` tag to `embed`.
---------------------------------------------------------------------------
by sirowl at 2012-04-24T06:55:17Z
@fabpot agreed, much more clear to me now. Look forward to using it.
---------------------------------------------------------------------------
by pvanliefland at 2012-04-24T07:20:35Z
I would like to use this feature as well
---------------------------------------------------------------------------
by tristanbes at 2012-04-24T07:38:57Z
So if I take another example, to help me understand better
I do have a common structure stated as follows :
```
<body>
<div class="row">
<div class="main">
<div id="homepage">
{% block content %}
</div>
</div>
</div>
</body>
```
Let's say for the other pages, the `id="homepage"` is replaced by `id="innerPage"` `id="specialLayout"`
So far I created 3 base template with those changes, so with the new `embed` tag, does this concept fits here or I misunderstood the function of `embed` feature ?
---------------------------------------------------------------------------
by ruian at 2012-04-24T07:47:38Z
@tristanbes with `embed`, you can "include" another twig template and modify directly these differents `block`.
If you want to understand you can read `embed` tests https://github.com/fabpot/Twig/blob/
0f623a11129ce28a897dbd5b812241d8b3ea9730/test/Twig/Tests/Fixtures/tags/embed/
---------------------------------------------------------------------------
by samuelmichaud at 2012-04-24T08:02:42Z
Yes ! I will definitely use this ! Thanks
---------------------------------------------------------------------------
by michelsalib at 2012-04-24T08:05:47Z
As @samuelmichaud said we have some uses cases (such as menu generation, breadcrumbs or quick action embedding). So this feature makes total sense.
Fabien Potencier [Tue, 24 Apr 2012 09:25:12 +0000]
merged branch hason/fix_test5.2 (PR #710)
Commits
-------
28bd307 Fixed guess template info for PHP 5.2
Discussion
----------
Fixed guess template info for PHP 5.2
Martin Hasoň [Tue, 24 Apr 2012 08:24:52 +0000]
Fixed guess template info for PHP 5.2
Fabien Potencier [Tue, 24 Apr 2012 08:36:52 +0000]
fixed typo
Fabien Potencier [Tue, 24 Apr 2012 06:31:52 +0000]
added the parent as an argument to the embed tag (removes the need to use extends)
Fabien Potencier [Tue, 24 Apr 2012 05:50:52 +0000]
bumped version to 1.8.0-DEV
Fabien Potencier [Tue, 24 Apr 2012 05:40:10 +0000]
prepared the 1.7.0 release
Fabien Potencier [Tue, 24 Apr 2012 05:34:14 +0000]
renamed the inline tag to embed
Fabien Potencier [Tue, 24 Apr 2012 05:25:17 +0000]
merged branch hason/travis (PR #633)
Commits
-------
e109233 set travis-ci icon to master
623fac0 Fixed test for "dump" function if xdebug>2.2 is loaded
bd89ec8 Added travis build file
Discussion
----------
Added travis build file
---------------------------------------------------------------------------
by stealth35 at 2012-02-14T14:23:44Z
you could add the twig extension install script
---------------------------------------------------------------------------
by stof at 2012-02-14T14:35:30Z
yeah, there should be 2 builds in the matrix, one with the C extension and one without
---------------------------------------------------------------------------
by hason at 2012-02-15T14:46:30Z
I created build file with matrix of builds. One with the C extension and one without. But I don't know why the C extension is not loaded for PHP 5.2.
---------------------------------------------------------------------------
by hason at 2012-02-16T10:29:02Z
@fabpot All tests passed [![Build Status](https://secure.travis-ci.org/hason/Twig.png?branch=travis)](http://travis-ci.org/hason/Twig)
---------------------------------------------------------------------------
by stof at 2012-04-01T10:30:01Z
@fabpot any reason not to merge it ?
---------------------------------------------------------------------------
by drak at 2012-04-02T02:01:44Z
+1, this helps with QA
---------------------------------------------------------------------------
by nikic at 2012-04-02T09:20:07Z
+1
---------------------------------------------------------------------------
by fabpot at 2012-04-20T09:41:50Z
Can you inline the .sh scripts into the travis file directly?
---------------------------------------------------------------------------
by hason at 2012-04-23T21:57:26Z
done
Martin Hasoň [Mon, 2 Apr 2012 09:20:42 +0000]
set travis-ci icon to master
Martin Hasoň [Thu, 16 Feb 2012 09:55:45 +0000]
Fixed test for "dump" function if xdebug>2.2 is loaded
Martin Hasoň [Tue, 14 Feb 2012 13:17:30 +0000]
Added travis build file
Fabien Potencier [Mon, 23 Apr 2012 19:26:07 +0000]
tweaked examples
Fabien Potencier [Mon, 23 Apr 2012 19:23:37 +0000]
changed the inline examples to not use even/odd to avoid confustion
Fabien Potencier [Mon, 23 Apr 2012 18:32:33 +0000]
renamed indice to index
Fabien Potencier [Mon, 23 Apr 2012 18:24:11 +0000]
merged branch hhamon/parser_cleanup (PR #708)
Commits
-------
81a1049 [Parser] removed useless else clause.
Discussion
----------
[Parser] removed useless else clause.
Fabien Potencier [Mon, 23 Apr 2012 18:08:03 +0000]
added more info in the docs