messju
50c81af919
removed unused code
2004-11-08 08:26:16 +00:00
messju
e9c72aedce
- better header for compiled includes (more in line with compiled
...
templates)
- reuse cache_serials if a file is compiled more than once in one
process (force_compile)
- don't print nocache-delimiters wenn already inside
process_cached_inserts()
2004-10-01 15:26:44 +00:00
messju
ed30e1ad20
added some property declarations
2004-09-29 07:16:17 +00:00
messju
355fd8292e
fixed handling of object derefence inside backticks
2004-09-21 15:28:04 +00:00
boots
a0d021ef60
Moved /libs/core to /libs/internals and created new constant, SMARTY_CORE_DIR which defaults to SMARTY_DIR/internals. This should help CVS and rsynch users butupgrades will require changes and this may affect 3rd party plugins that use the /core dir.
2004-09-16 23:07:32 +00:00
messju
0580734ff9
moved $this->_num_const_regexp out of $this->_var_regexp and added it
...
to the places that affect $this->_var_regexp
this should fix some problems parsing plugin-names endings with digits
2004-09-15 18:58:55 +00:00
messju
ed00361206
update files to 2.6.6-dev
2004-09-14 07:39:01 +00:00
mohrt
3ad2d686e9
fix more object calling syntax issues
2004-09-11 00:14:20 +00:00
messju
33adc4573e
added $smarty->security_settings['ALLOW_CONSTANTS']
...
including test-cases for them
2004-09-10 19:15:01 +00:00
mohrt
614e9c89e2
break down regex to digestable chunks, fix multiple param problem with method calls,
...
add object method testing to unit_test cases
2004-09-09 22:01:33 +00:00
mohrt
f36648c39c
update code comment with more examples
2004-09-09 18:25:55 +00:00
mohrt
1d1e095e8e
allow objects in arbitrary param positions
2004-09-09 18:21:09 +00:00
mohrt
9ea847409c
fix object parameter regex, allow one level of object indirection
2004-09-09 16:09:55 +00:00
mohrt
8cbe83510b
fix compile problem with numeric constants and math operator matching
2004-09-09 13:40:14 +00:00
mohrt
8b8b102a01
update files to 2.6.5-dev
2004-09-07 14:48:55 +00:00
mohrt
935ab8630a
fix preg_quote
2004-08-31 18:18:36 +00:00
mohrt
3bf0af8517
fix math in object params, clean up some regex on the way, change
...
preg_ delimiters to ~ to avoid character clashes with ! and %
2004-08-31 16:35:57 +00:00
mohrt
bf9153bd8a
add $smarty.ldelim and $smarty.rdelim to smarty special var
2004-08-30 14:54:30 +00:00
messju
1af7561db2
cleaned up attribute-handling in Smarty_Compiler::_compile_foreach_start()
2004-08-23 20:21:19 +00:00
messju
06bb354663
fixed handling of {foreachelse} and {sectionelse} that got borked with
...
the latest commit (v 1.330)
2004-08-13 13:32:27 +00:00
messju
6217c69fb1
fixed occasional wrong error messages on mismatched tags when
...
{else}, {elseif}, {foreachelse} or {sectionelse} is involved
thanks to Ooypunk for pointing me on this
2004-08-12 21:07:24 +00:00
messju
15435172b7
fixed handling of methods arguments.
...
thanks to Manfred Wischin for finding this one and providing the
conceptual fix.
2004-07-27 17:59:35 +00:00
messju
c9844d410b
backed out renaming of _get_plugin_filepath() to get_plugin_filepath()
...
we'll stick to _get_plugin_filepath() and look for a more viable
solution to be exposed to plugin-writers.
2004-07-23 15:34:53 +00:00
messju
9942c8b42f
Some fixes on PhpDocumentor comments. Thanks go to Ruben Vermeersch.
2004-07-20 11:51:05 +00:00
messju
4d1af77893
renamed Smarty::_get_plugin_filepath() to Smarty::get_plugin_filepath()
2004-07-12 15:22:57 +00:00
messju
8c83b9e88b
enhanced error-reporting for {foreach}
2004-07-01 15:39:34 +00:00
messju
cc08082d67
fixed handling of digits inside tagnames. this problem slipped into
...
the regexps by adding support for numeric contants next to string
constants as variables.
2004-07-01 12:20:43 +00:00
messju
b43d689706
fixed escaping of backslashes in Smarty_Compiler::_quote_replace()
2004-06-27 19:37:34 +00:00
messju
12af99a73d
changed version-number to 2.6.4-dev
2004-06-17 08:55:10 +00:00
messju
b85b3fcb7f
fixed typo in error-messages
2004-05-21 14:11:41 +00:00
messju
4d340b91c9
removed unused 2nd param in call to _parse_var()
2004-04-16 10:31:43 +00:00
messju
984d2f36e6
added explanation for $this->_num_const_regexp
2004-04-16 08:50:27 +00:00
messju
397714a96c
enabled numerical constants be parsed as statements.
...
(like {10} or {10|@range:12} )
2004-04-16 08:34:39 +00:00
messju
886059c511
removed unused $smarty_compiler->_dvar_num_var_regexp
2004-04-16 08:30:10 +00:00
messju
729ebe26ed
Smarty_Compiler.class.php
2004-04-16 07:53:37 +00:00
messju
fff19de349
updated version to 2.6.3-dev
2004-02-23 23:14:40 +00:00
mohrt
cf52c81e0a
change some info in headers, remove fluff
2004-02-17 15:52:02 +00:00
messju
7703839dbb
removed two notices from Smarty_Compiler::_parse_is_expr()
...
(thanks shuther!)
2004-02-07 20:55:27 +00:00
messju
607cf5d0f4
added file and line-number-information to error-messages regarding
...
assigned objects an an error messages regarding modifiers with
security.
2004-01-29 10:38:12 +00:00
messju
0f223e3e18
removed use of temporary var $_params in compiled code of block-plugins
2004-01-27 23:00:26 +00:00
messju
53baf8295a
Smarty_Compiler::_syntax_error() uses Smarty::_trigger_fatal_error() now instead of the trigger_error()-function
2004-01-25 15:39:10 +00:00
messju
f8011f6acb
unrecognized custom-functions trigger an error at compile now, not at
...
display-time.
2004-01-25 15:29:19 +00:00
mohrt
51e1064d69
update version numbers, add initial unit test directory
2004-01-16 22:12:08 +00:00
mohrt
5383e42a1d
update version numbers for 2.6.1 release
2004-01-16 20:24:45 +00:00
messju
92d6489001
fixed handling of {php}-tags
2004-01-10 23:43:07 +00:00
messju
d6f1f25741
fixed handling of comments inside {php} and {literal}
2004-01-08 12:46:27 +00:00
messju
e335832f62
readded default_modifiers. who removed that?
2003-12-27 09:25:25 +00:00
messju
4e93202974
little optimization for "is odd" and "is even"
2003-12-11 19:52:38 +00:00
mohrt
aa8f02c429
fix 'is even by' and 'is odd by' logic
2003-12-11 19:39:02 +00:00
messju
1dd2246d8a
add better checks for correctly nested tags when compiling
2003-12-08 10:44:21 +00:00