Commit Graph

7732 Commits

Author SHA1 Message Date
Derick Rethans d08224457f - Used the template, instead of getThis(), which wouldn't exist. 2011-06-08 13:26:48 +01:00
Fabien Potencier cd0e749308 added Twig_Loader_Filesystem::addPath() 2011-06-07 16:33:55 +02:00
Derick Rethans 07e38efa70 - Added more generated files to .gitignore 2011-06-07 14:57:54 +01:00
Derick Rethans 6aa1a64c2b - Stubs and more implementations. 2011-06-07 14:57:28 +01:00
Derick Rethans 79f6dc6efc - Implement TWIG_INSTANCEOF_* 2011-06-07 10:42:17 +01:00
Derick Rethans 19fbee7ef6 - Implemented TWIG_ARRAY_KEY_EXISTS (for normal arrays only). 2011-06-07 09:29:02 +01:00
Derick Rethans 4de3659c9b - Reduce compile warnings and errors.
- Initialize the two method names.
2011-06-07 09:22:58 +01:00
Derick Rethans a2f3c34ba5 - Added more files to .gitignore 2011-06-07 08:59:57 +01:00
Derick Rethans fad8e9a7b3 - Fixed ARG INFO 2011-06-06 16:17:45 +01:00
Derick Rethans 15de5334c2 - Added pseudo code 2011-06-06 16:16:58 +01:00
Arnaud Le Blanc 5ec19550b2 added {% line \d+ %} directive 2011-06-05 19:38:12 +02:00
Fabien Potencier 7e457209f8 added missing debug info when using traits 2011-06-05 12:12:05 +02:00
Fabien Potencier 3cf357391a fixed Twig_Error when the exception is thrown from within the generated template 2011-06-05 12:07:30 +02:00
Derick Rethans bfc6e34f29 - Added a .gitignore file 2011-06-03 17:37:53 +01:00
Derick Rethans 75d3e66cba - Updated with new code from Fabien's repository. 2011-06-03 17:37:20 +01:00
Henrik Bjørnskov a8d29b1f84 Add testcase for issue #347 2011-06-01 15:27:40 +02:00
Fabien Potencier 9328df1940 updated VERSION 2011-05-28 17:35:04 +02:00
Fabien Potencier 3807548114 releasing 1.1.0 RC1 v1.1.0-RC1 2011-05-28 17:34:18 +02:00
Fabien Potencier 2901acd5cb updated CHANGELOG 2011-05-28 17:01:35 +02:00
Fabien Potencier dbab43d81c Merge remote branch 'tna/default-filter'
* tna/default-filter:
  Moved default filter fix to its proper place
  Fixes default filter
2011-05-28 16:38:25 +02:00
Fabien Potencier 9c07baf8e5 fixed timezone when using the date filter with a UNIX timestamp (it now uses the default timezone instead of UTC to mimics the date() function behavior) 2011-05-28 16:36:42 +02:00
Jeremy Mikola d8eafa02f2 Date filter should treat strict integers as Unix timestamps (same as all-digit strings)
Without a string cast, ctype_digit() will return false for an integer.
2011-05-27 11:54:06 -07:00
Tobias Naumann 703a822da9 Moved default filter fix to its proper place 2011-05-26 17:03:41 +02:00
Tobias Naumann fc1af4b9b2 Fixes default filter 2011-05-26 11:14:22 +02:00
nikic f742efd602 Refactor GetAttr defined implementation to consider null defined 2011-05-24 12:48:47 +02:00
Brikou CARRE d90b2f7112 fixed constructor + cosmetic 2011-05-20 05:25:21 -07:00
Fabien Potencier 7bf7f54e82 tweaked docs 2011-05-18 08:14:47 +02:00
nikic 071210f97d Add some further is defined unit tests and give clearer names 2011-05-18 08:08:37 +02:00
nikic b0a94baebd Fix regression in defined test for GetAttr. Fixes #319 2011-05-18 08:08:32 +02:00
Fabien Potencier 5fd8f1f2f9 Merge remote branch 'jpb0104/master'
* jpb0104/master:
  Added an example of escaped "at" in a date filter.
2011-05-18 08:05:56 +02:00
Jason Bouffard c0447ec6fe Added an example of escaped "at" in a date filter.
Relates to https://github.com/fabpot/Twig/issues/330
2011-05-17 14:28:44 -07:00
Fabien Potencier 654468ff5d simplified code 2011-05-10 07:21:09 +02:00
Fabien Potencier 48f427ebd3 added a test for the raw tag 2011-05-09 17:47:21 +02:00
Fabien Potencier 64ce3e0e62 moved a test 2011-05-09 17:47:09 +02:00
Fabien Potencier 93425b32cb fixed parsing problem when a large chunk of text is enclosed in a raw tag
This is a quick and ugly fix... This should be refactored later on
2011-05-09 17:35:11 +02:00
Fabien Potencier d88e7ca244 fixed CS 2011-05-09 16:41:39 +02:00
Fabien Potencier 17f814223b updated email address 2011-04-29 17:18:51 +02:00
Fabien Potencier cae8293cb4 updated CHANGELOG 2011-04-29 17:14:17 +02:00
Fabien Potencier 109ce30288 made a small speed optimization when using auto-escaping 2011-04-29 15:23:00 +02:00
Fabien Potencier e4d457e55c updated version 2011-04-29 12:45:10 +02:00
Joseph Bielawski e307cfab06 Compiler.php - CS fix 2011-04-29 02:59:03 -07:00
Joseph Bielawski a0709beee6 TokenParserBroker.php - CS fix 2011-04-29 02:57:54 -07:00
Joseph Bielawski fa93043bf3 Parser.php - CS fix 2011-04-29 02:56:34 -07:00
Joseph Bielawski c716b99278 Lexer.php - CS fix 2011-04-29 02:54:59 -07:00
Joseph Bielawski 68a39159b0 Environment.php - CS fix 2011-04-29 02:46:23 -07:00
Joseph Bielawski 475ec2db03 TokenParserBroker.php - CS fix 2011-04-29 02:42:36 -07:00
Fabien Potencier 432b1732e4 fixed typo in the doc 2011-04-29 11:38:34 +02:00
Joseph Bielawski 448106fa04 DRY optimization 2011-04-29 01:34:13 -07:00
Fabien Potencier d2afbc95fb updated CHANGELOG 2011-04-29 10:18:57 +02:00
Fabien Potencier 3930ba0f4e added some tests for the use tag 2011-04-29 09:43:23 +02:00