Commit Graph

1525 Commits

Author SHA1 Message Date
Tobias Schultze 9d1f645718 fix Twig_Function_Node extending wrong class 2012-07-16 00:06:53 +03:00
Fabien Potencier 17e2c36a58 refactored the loader documentation 2012-07-14 16:10:03 +02:00
Fabien Potencier 3f9f587ba7 bumped version to 1.9.1-DEV 2012-07-13 18:31:16 +02:00
Fabien Potencier 31f0592525 prepared the 1.9.0 release v1.9.0 2012-07-13 18:26:34 +02:00
Fabien Potencier 0d5a639937 fixed the template escaper guesser example 2012-07-13 08:40:06 +02:00
Fabien Potencier e862905708 clarified usage of the string and array loaders 2012-07-13 08:31:08 +02:00
Fabien Potencier c1d6c2863b merged branch Adel-E/patch-1 (PR #767)
Commits
-------

0cb37ba Fix typehint "int" to "integer"

Discussion
----------

Fix typehint "int" to "integer"

---------------------------------------------------------------------------

by nikic at 2012-07-09T21:13:48Z

Why would you want to do that?

---------------------------------------------------------------------------

by Adel-E at 2012-07-09T21:21:34Z

Because in this file all @param use integer instead of int
2012-07-12 21:30:05 +02:00
Fabien Potencier a36aa04dec scaled back on named HTML entities since HTML 5's XML serialisation is actually XML (not XHTML)
see https://github.com/zendframework/zf2/commit/d5862587ae7c2ff2da873f1bf30003103134a365
2012-07-12 16:52:00 +02:00
Fabien Potencier 611f4451e3 made the parsing independent of the template loaders
This basically reverts 57ff88255e
2012-07-10 18:30:53 +02:00
Fabien Potencier 584a1a30b9 fixed PHP 5.2 issue in unit tests 2012-07-10 14:56:21 +02:00
Fabien Potencier 7051d2e598 fixed exception trace when an error occurs when rendering a child template 2012-07-10 14:41:24 +02:00
Adel 0cb37bac95 Fix typehint "int" to "integer" 2012-07-09 20:28:19 +00:00
Fabien Potencier 26eb0a2653 fixed composer version 2012-07-04 19:33:25 +02:00
Fabien Potencier 33b5ab4b84 merged branch shieldo/patch-2 (PR #763)
Commits
-------

4e4d41b improved English in example text

Discussion
----------

improved English in example text
2012-06-30 10:06:47 +02:00
Douglas Greenshields 4e4d41b0d0 improved English in example text 2012-06-29 20:16:04 +02:00
Fabien Potencier 73da773aaa merged branch stealth35/sanitize_ext (PR #761)
Commits
-------

9229ef3 Removed useless code

Discussion
----------

[Ext] Removed useless code

All init hooks could be bypassed (just return `SUCESS`)
There is no `ini` entries and no globals
Phpinfo automatically get the version when `MINFO` is null
Twig don't work with PHP 4 (ref to `20010901`)
2012-06-28 15:39:18 +02:00
stealth35 9229ef334d Removed useless code 2012-06-27 17:57:06 +02:00
Fabien Potencier 48a0453865 fixed PHP 5.2 incompatibilty 2012-06-27 11:49:34 +02:00
Fabien Potencier 73d117e672 fixed url escaping strategy for PHP 5.2 2012-06-27 11:18:21 +02:00
Fabien Potencier 7f97a86a43 merged branch Seldaek/date_modify (PR #760)
Commits
-------

2c9e26e Fix date_modify filter for PHP 5.2

Discussion
----------

Fix date_modify filter for PHP 5.2

The return of the object was added in 5.3, this hopefully fixes it.
2012-06-27 11:12:10 +02:00
Jordi Boggiano 2c9e26edbc Fix date_modify filter for PHP 5.2 2012-06-27 10:25:59 +02:00
Fabien Potencier 7657c01e65 added support for more escaping strategies (url, css, and html_attr) 2012-06-27 09:26:36 +02:00
Fabien Potencier cd049dac38 tweaked previous commit 2012-06-26 18:24:26 +02:00
Fabien Potencier 5758be0334 merged branch Seldaek/date_modify (PR #757)
Commits
-------

ae85586 Add docs for date_modify
0366cf6 Fix docs of date filter

Discussion
----------

Date modify filter

This is probably possible via `date(foo)|modify('-1day')|format()`, but it's non obvious and a dedicated filter might be a bit more prominent.

---------------------------------------------------------------------------

by fabpot at 2012-06-22T07:01:32Z

Just a quick thought: As it modifies the date, it should probably be a function, not a filter.

---------------------------------------------------------------------------

by stof at 2012-06-22T07:24:52Z

@fabpot Aren't filters meant to transform the value ?
2012-06-26 18:23:42 +02:00
Fabien Potencier b7ca23f8be fixed nested embed tag calls 2012-06-26 18:15:55 +02:00
Fabien Potencier 73426117f9 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.
2012-06-26 17:12:23 +02:00
Andreas Hucks f8406701e5 clarified documentation of pre_escape option 2012-06-25 19:09:27 +02:00
Jordi Boggiano ae85586e6f Add docs for date_modify 2012-06-20 19:45:35 +02:00
Jordi Boggiano 0366cf6185 Fix docs of date filter 2012-06-20 19:45:27 +02:00
Fabien Potencier 4679ad51c5 bumped version to 1.8.4-DEV 2012-06-17 20:52:23 +02:00
Fabien Potencier 147e5d6d60 prepared the 1.8.3 release v1.8.3 2012-06-17 20:48:16 +02:00
Fabien Potencier 120c44d68f fixed paths in the filesystem loader when passing a path that ends with a slash or a backslash (closes #750) 2012-06-14 17:05:56 +02:00
Fabien Potencier 4618d75318 fixed typos 2012-06-14 17:02:35 +02:00
Fabien Potencier 0d5dbedef5 fixed escaping when a project defines a function named html or js (closes #724) 2012-06-14 17:00:45 +02:00
Fabien Potencier 4c9e394c38 added some information about template recompilation (closes #743) 2012-06-14 15:20:28 +02:00
Fabien Potencier 073cfd0180 tweaked doc 2012-06-14 15:15:52 +02:00
Fabien Potencier 793660510f fixed doc (closes #744) 2012-06-14 15:07:01 +02:00
Libert KHE cbe00e1417 added missing comment added (closes #476) 2012-06-14 14:58:01 +02:00
Fabien Potencier ca33207bb2 merged branch adrienbrault/patch-1 (PR #751)
Commits
-------

80a2a7e [Doc] Fix some typos

Discussion
----------

[Doc] Fix some typos

Hi!
2012-06-13 08:24:34 +02:00
Adrien Brault 80a2a7ea1d [Doc] Fix some typos 2012-06-13 01:27:42 +03:00
Fabien Potencier d4511d02b4 fixed chmod mode to apply the umask correctly (closes #749) 2012-06-10 15:14:14 +02:00
Fabien Potencier 018c52fe59 fixed a phpdoc (closes #748) 2012-06-09 08:45:24 +02:00
Fabien Potencier eec924f441 added a note in the CHANGELOG (refs #745) 2012-06-08 16:55:58 +02:00
Fabien Potencier dfc9edce33 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) :)
2012-06-08 16:53:09 +02:00
Chris Sedlmayr 459a0764ea 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.
2012-06-07 23:45:55 +01:00
Fabien Potencier 6d072640c4 added Komodo to the list of supported IDEs 2012-05-31 07:17:23 +02:00
Fabien Potencier 12dff669ef added Coda 2 in the list of supported IDEs 2012-05-30 22:55:03 +02:00
Fabien Potencier 82e73f6bf2 bumped version to 1.8.3 2012-05-30 08:18:29 +02:00
Fabien Potencier 2afc513620 prepared the 1.8.2 release v1.8.2 2012-05-30 08:15:36 +02:00
Fabien Potencier b5b7224d5d fixed some CS issues 2012-05-29 20:38:42 +02:00