Fabien Potencier
7598f27e6d
deprecated Twig_Template::getSource() in favor of Twig_Template::getSourceContext()
2016-10-17 15:30:12 -07:00
Fabien Potencier
d03297ed52
deprecated Twig_Node::getFilename() in favor of Twig_Node::getName()
2016-10-17 15:04:06 -07:00
Fabien Potencier
eb47dc95d8
got rid of filename when we meant template name
2016-10-17 14:57:53 -07:00
Fabien Potencier
6c76583e23
added Twig_Source to hold information about the original template
2016-10-17 13:33:17 -07:00
Fabien Potencier
b399ec0d1a
deprecated Twig_Error::getTemplateFile() and Twig_Error::setTemplateFile()
2016-10-17 13:20:25 -07:00
Fabien Potencier
d77f3dd34b
deprecated Parser::getFilename()
2016-10-17 11:33:14 -07:00
Fabien Potencier
4d607583ff
made it possible to store templates with vfsStream
2016-10-13 07:01:51 -07:00
Kit Burton-Senior
e1c980fa87
Improved Sandbox error handling
2016-10-12 11:47:36 -07:00
Fabien Potencier
4b1573b965
marked Twig_TokenStream::getSource() as being internal
2016-10-09 07:58:47 -07:00
Fabien Potencier
b75b3f7597
bumped version to 1.26.2-DEV
2016-10-05 12:06:51 -07:00
Fabien Potencier
a09d8ee17a
prepared the 1.26.1 release
2016-10-05 11:57:41 -07:00
Fabien Potencier
7a047679ab
removed template source code for generated template classes when debug is disabled
2016-10-05 11:41:41 -07:00
Fabien Potencier
9dde5456c7
bug #2161 fixed regression on static calls for functions/filters/tests (fabpot)
...
This PR was merged into the 1.x branch.
Discussion
----------
fixed regression on static calls for functions/filters/tests
fixes #2160
What about deprecate this possibility? Using `__call()`/`__staticCall()` means that we don't support named arguments for instance.
Commits
-------
e01c29b fixed regression on static calls for functions/filters/tests
2016-10-05 11:08:14 -07:00
Fabien Potencier
e01c29be32
fixed regression on static calls for functions/filters/tests
2016-10-05 11:02:40 -07:00
Fabien Potencier
6cebf7a3a7
minor #2162 fix docblock (xabbuh)
...
This PR was merged into the 1.x branch.
Discussion
----------
fix docblock
Commits
-------
f93b703 fix docblock
2016-10-05 10:42:37 -07:00
Christian Flothmann
7b4cfdb5a1
default implementation of getDebugInfo() for BC
2016-10-05 18:17:37 +02:00
Christian Flothmann
f93b7037e8
fix docblock
2016-10-05 18:13:13 +02:00
Fabien Potencier
f00e7b8c14
bumped version to 1.26.1-DEV
2016-10-02 09:26:06 -07:00
Fabien Potencier
81c2b5fd36
prepared the 1.26.0 release
2016-10-02 09:19:13 -07:00
Fabien Potencier
90a65d3b0e
fixed logic
2016-10-02 09:12:12 -07:00
Fabien Potencier
8f0733eb11
fixed error class
2016-10-02 09:09:50 -07:00
Konstantin.Myakshin
9f3cfc3884
Take into account passed options when generating cache key ( closes #1604 )
2016-10-01 00:07:10 +03:00
Fabien Potencier
91d2adc061
bug #2152 normalizePath: Do not mangle phar URLs. (apapsch)
...
This PR was squashed before being merged into the 1.x branch (closes #2152 ).
Discussion
----------
normalizePath: Do not mangle phar URLs.
Removing consecutive slashes breaks phar URLs. Example:
phar:///foo/bar is turned into phar:/foo/bar.
This change preserves the three slashes if path starts with phar://.
Commits
-------
7dd63fc normalizePath: Do not mangle phar URLs.
2016-09-29 20:46:34 -07:00
Aljosha Papsch
7dd63fc087
normalizePath: Do not mangle phar URLs.
2016-09-29 20:46:32 -07:00
Fabien Potencier
a0971db72b
added missing var decl
2016-09-29 13:02:49 -07:00
Fabien Potencier
9cb6860e53
allowed filters/functions/tests implementation to use a different class than the extension they belong to
2016-09-29 11:43:35 -07:00
Fabien Potencier
c8e96e8c89
fixed profiler extension name
2016-09-28 17:59:53 -07:00
Fabien Potencier
71f03df011
deprecated Twig_ExtensionInterface::getName()
2016-09-28 10:05:09 -07:00
Fabien Potencier
c96ffc314f
fixed CS
2016-09-26 21:00:51 -07:00
Fabien Potencier
9ee6fe3380
adding missing dots to some exception messages
2016-09-24 12:21:25 -07:00
Fabien Potencier
0980fe0871
fixed error message
2016-09-24 12:10:10 -07:00
Fabien Potencier
af2e1111ae
bug #2141 added a missing deprecation notice (fabpot)
...
This PR was merged into the 1.x branch.
Discussion
----------
added a missing deprecation notice
Commits
-------
9c27479 added a missing deprecation notice
2016-09-24 12:01:42 -07:00
Fabien Potencier
73d029b212
minor #2143 fixed exception message that might end with a ? (fabpot)
...
This PR was merged into the 1.x branch.
Discussion
----------
fixed exception message that might end with a ?
Commits
-------
5c43548 adding missing dots to some exception messages
fbf99fc fixed exception message that might end with a ?
2016-09-24 12:00:56 -07:00
Fabien Potencier
b2a1805146
fixed error message
2016-09-24 12:00:09 -07:00
Javier Eguiluz
23f53d5968
Improved the error message when a child template defines contents outside parent blocks
2016-09-24 11:56:13 -07:00
Fabien Potencier
5c43548dde
adding missing dots to some exception messages
2016-09-24 11:53:49 -07:00
Fabien Potencier
fbf99fce69
fixed exception message that might end with a ?
2016-09-24 11:34:11 -07:00
Fabien Potencier
9c2747996a
added a missing deprecation notice
2016-09-24 11:30:39 -07:00
Fabien Potencier
c9aac2403c
bumped version to 1.25.1-DEV
2016-09-21 16:20:10 -07:00
Fabien Potencier
f16a634ab0
prepared the 1.25.0 release
2016-09-21 16:05:12 -07:00
Fabien Potencier
f2a9ef3579
made the getSource() method non-abstract for BC
2016-09-20 14:35:26 -07:00
Fabien Potencier
b55d907c94
changed the way we store template source in template classes
2016-09-20 10:55:24 -07:00
Fabien Potencier
746a8044fc
bug #2132 added missing method on Twig_Template (important for reserved keyword) (fabpot)
...
This PR was merged into the 1.x branch.
Discussion
----------
added missing method on Twig_Template (important for reserved keyword)
Commits
-------
b1f77a4 added missing method on Twig_Template (important for reserved keyword)
2016-09-20 10:54:18 -07:00
Fabien Potencier
b1f77a4433
added missing method on Twig_Template (important for reserved keyword)
2016-09-20 10:50:41 -07:00
Fabien Potencier
9c08db0134
fixed a phpdoc
2016-09-20 10:49:30 -07:00
Fabien Potencier
7df1e2f011
bug #2127 removed usage of realpath in cache key (fabpot)
...
This PR was merged into the 1.x branch.
Discussion
----------
removed usage of realpath in cache key
closes #1994
Commits
-------
6f0e3ed removed usage of realpath in cache key
2016-09-20 10:31:38 -07:00
Fabien Potencier
6f0e3edbc5
removed usage of realpath in cache key
2016-09-20 10:26:50 -07:00
Fabien Potencier
2fec9d4c8e
bug #2125 fixed Twig cache sharing when used with different versions of PHP (fabpot)
...
This PR was merged into the 1.x branch.
Discussion
----------
fixed Twig cache sharing when used with different versions of PHP
closes #2013
Commits
-------
ecd020d fixed Twig cache sharing when used with different versions of PHP
2016-09-20 10:25:50 -07:00
Fabien Potencier
ecd020da9f
fixed Twig cache sharing when used with different versions of PHP
2016-09-20 10:24:42 -07:00
Fabien Potencier
03dd9c5e51
fixed CS
2016-09-19 22:07:57 -07:00