get_user_submissions_children first draft
[mirrors/Kyberia-bloodline.git] / wwwroot / smarty / ChangeLog
CommitLineData
51ff3226 12005-08-04 Monte Ohrt <monte@ohrt.com>
2
3 * NEWS:
4 update secure_dir notes
5
6 * NEWS:
7 allow debug.tpl to work from arbitrary dir
8
92005-08-04 Messju Mohr <messju@lammfellpuschen.de>
10
11 * NEWS
12 libs/Smarty_Compiler.class.php:
13 fixed proper escaping for literal strings passed to
14 Smarty_Compiler::_expand_quoted_text() by
15 Smarty_Compiler::_parse_var_props()
16
172005-07-27 Messju Mohr <messju@lammfellpuschen.de>
18
19 * NEWS
20 libs/plugins/shared.make_timestamp.php:
21 removed ambiguity for numeric values passed to smarty_make_timestamp().
22 numeric values are *always* treated as timestamps now.
23
242005-07-18 Messju Mohr <messju@lammfellpuschen.de>
25
26 * libs/Config_File.class.php:
27 removed E_NOTICE from Config_File::get()
28
29 * libs/Smarty.class.php:
30 removed E_NOTICE
31
322005-07-10 Yannick Torres <yannick.torres@keliglia.com>
33
34 * docs/fr/getting-started.xml:
35 sync with EN
36
372005-07-08 Monte Ohrt <monte@ohrt.com>
38
39 * NEWS:
40 correct username in NEWS file
41
42 * NEWS
43 libs/plugins/function.html_select_date.php:
44 added passthru attribute feature to html_select_date
45
462005-07-03 Yannick Torres <yannick.torres@keliglia.com>
47
48 * docs/fr/language-snippets.ent
49 docs/fr/preface.xml:
50 sync with EN
51
522005-06-16 Messju Mohr <messju@lammfellpuschen.de>
53
54 * docs/de/preface.xml
55 docs/de/preface.xml:
56 sync with en
57
582005-06-13 Monte Ohrt <monte@ohrt.com>
59
60 * NEWS
61 libs/plugins/modifier.truncate.php:
62 add "middle" parameter to truncate modifier
63
642005-06-10 Messju Mohr <messju@lammfellpuschen.de>
65
66 * docs/de/livedocs.ent:
67 added german livedocs.ent
68
69 * docs/de/language-snippets.ent
70 docs/de/preface.xml:
71 sync with en
72
732005-06-09 Messju Mohr <messju@lammfellpuschen.de>
74
75 * docs/de/bookinfo.xml
76 docs/de/getting-started.xml
77 docs/de/getting-started.xml:
78 sync with en
79
802005-05-24 Yannick Torres <yannick.torres@keliglia.com>
81
82 * docs/fr/getting-started.xml
83 docs/fr/language-snippets.ent:
84 sync with EN
85
862005-05-20 Monte Ohrt <monte@ohrt.com>
87
88 * libs/plugins/function.html_radios.php:
89 fix allowable label id characters
90
912005-05-06 Monte Ohrt <monte@ohrt.com>
92
93 * NEWS
94 libs/plugins/function.html_radios.php:
95 make form input label ids optional (monte)
96
972005-05-02 Monte Ohrt <monte@ohrt.com>
98
99 * NEWS
100 libs/Smarty_Compiler.class.php:
101 add error message for empty if/elseif statements
102
1032005-04-15 Monte Ohrt <monte@ohrt.com>
104
105 * NEWS
106 libs/plugins/function.html_radios.php:
107 cast selected value to string for comparison in html_radios
108
1092005-04-07 Messju Mohr <messju@lammfellpuschen.de>
110
111 * NEWS
112 libs/plugins/function.html_select_date.php:
113 added xhtml compliance to html_select_date's year_as_text-feature
114 thanks to Mark West
115
116 * NEWS
117 libs/plugins/function.html_select_date.php:
118 fixed handling of selected month html_select_date
119 thanks to Yuri Weseman for providing problem+solution
120
1212005-04-07 Nuno Lopes <nunoplopes@sapo.pt>
122
123 * docs/configure.in:
124 sync configure and file-entities scripts with phpdoc, for better
125 windows/cygwin support
126
1272005-03-31 Monte Ohrt <monte@ohrt.com>
128
129 * libs/Config_File.class.php
130 libs/Smarty.class.php
131 libs/Smarty_Compiler.class.php:
132 update version numbers
133
134 * (Smarty_2_6_9)
135 NEWS:
136 update NEWS file
137
1382005-03-30 Messju Mohr <messju@lammfellpuschen.de>
139
140 * libs/plugins/function.math.php:
141 re-enabled hex-constant. i hope in a sane way this time.
142
1432005-03-30 Monte Ohrt <monte@ohrt.com>
144
145 * libs/plugins/function.math.php:
146 fix function testing logic
147
148 * libs/Smarty_Compiler.class.php:
149 disable variable func calls completely
150
151 * libs/Smarty_Compiler.class.php:
152 disallow variable func calls when security is enabled
153
1542005-03-22 Messju Mohr <messju@lammfellpuschen.de>
155
156 * NEWS
157 libs/Config_File.class.php
158 libs/Smarty.class.php
159 libs/Smarty_Compiler.class.php:
160 bumped version-number to 2.6.9-dev
161 added headline of 2.6.6 release to NEWS file
162
1632005-03-21 Messju Mohr <messju@lammfellpuschen.de>
164
165 * (Smarty_2_6_8)
166 NEWS:
167 maybe even better this way. thanks monte :)
168
169 * NEWS:
170 little more clear news-entry
171
1722005-03-21 Monte Ohrt <monte@ohrt.com>
173
174 * NEWS:
175 update NEWS with e-modifier removal
176
177 * (Smarty_2_6_8)
178 libs/plugins/modifier.regex_replace.php:
179 remove e-modifier
180
1812005-03-19 Messju Mohr <messju@lammfellpuschen.de>
182
183 * NEWS
184 libs/Smarty_Compiler.class.php:
185 objects don't get casted to arrays anymore in {foreach}
186
1872005-02-26 Messju Mohr <messju@lammfellpuschen.de>
188
189 * NEWS
190 libs/Smarty.class.php:
191 add "null" as a valid token for {if} when security is enabled
192
1932005-02-25 Monte Ohrt <monte@ohrt.com>
194
195 * NEWS
196 libs/plugins/function.mailto.php:
197 add javascript_charcode option to mailto
198
1992005-02-24 Monte Ohrt <monte@ohrt.com>
200
201 * NEWS:
202 update NEWS file
203
204 * QUICK_START
205 libs/plugins/function.html_radios.php:
206 add label ids to html_radios
207
2082005-02-10 Monte Ohrt <monte@ohrt.com>
209
210 * QUICK_START:
211 update with directory structure
212
2132005-02-10 Nuno Lopes <nunoplopes@sapo.pt>
214
215 * docs/Makefile.in:
216 fix chm generation
217
2182005-02-10 Messju Mohr <messju@lammfellpuschen.de>
219
220 * libs/Smarty_Compiler.class.php:
221 fixed too agressive {strip} around delimiters inside strip-blocks
222
2232005-02-10 Monte Ohrt <monte@ohrt.com>
224
225 * QUICK_START:
226 fix a couple errors
227
2282005-02-10 Nuno Lopes <nunoplopes@sapo.pt>
229
230 * docs/Makefile.in
231 docs/README:
232 commiting the new tools to make the CHM manual.
233
2342005-02-09 Messju Mohr <messju@lammfellpuschen.de>
235
236 * NEWS
237 libs/Smarty_Compiler.class.php:
238 fixed handling of strip-tags with non-default delimiters
239
2402005-02-04 Messju Mohr <messju@lammfellpuschen.de>
241
242 * libs/plugins/function.html_radios.php:
243 fixed syntax error. shame on me.
244
2452005-02-03 Monte Ohrt <monte@ohrt.com>
246
247 * QUICK_START:
248 fix example
249
250 * QUICK_START:
251 initial commit
252
253 * RELEASE_NOTES
254 libs/Config_File.class.php
255 libs/Smarty.class.php
256 libs/Smarty_Compiler.class.php:
257 update version numbers in cvs
258
259 * (Smarty_2_6_7)
260 NEWS
261 libs/Config_File.class.php
262 libs/Smarty.class.php
263 libs/Smarty_Compiler.class.php:
264 commit version numbers for new release
265
2662005-02-03 Messju Mohr <messju@lammfellpuschen.de>
267
268 * (Smarty_2_6_7)
269 libs/plugins/function.html_image.php:
270 fixed comment (thanks to CirTap)
271
2722005-02-01 Monte Ohrt <monte@ohrt.com>
273
274 * libs/plugins/function.html_image.php:
275 remove border tag
276
2772005-02-01 Messju Mohr <messju@lammfellpuschen.de>
278
279 * libs/Smarty.class.php:
280 fixed serialization of values containing newlines (like _cache_attrs)
281 in core_write_cache_file()
282
283 bumped version to 2.6.6-dev-3 to indicate that the fileformat of cache
284 has changed
285
2862005-01-30 Messju Mohr <messju@lammfellpuschen.de>
287
288 * NEWS
289 libs/Smarty_Compiler.class.php:
290 fixed handling of hashed opening php-tags inside strip-blocks
291 (reported by titi_rafa)
292
2932005-01-30 Nuno Lopes <nunoplopes@sapo.pt>
294
295 * docs/fr/language-snippets.ent:
296 fix build
297
2982005-01-28 Messju Mohr <messju@lammfellpuschen.de>
299
300 * NEWS
301 libs/plugins/modifier.escape.php:
302 escape:url now uses the (RFC 1738 compliant) rawurlencode()
303
3042005-01-23 Messju Mohr <messju@lammfellpuschen.de>
305
306 * libs/Smarty.class.php:
307 replaced ? true : false and removed intermediate $_cookie_var in the
308 handling of the SMARTY_DEBUG-cookie
309
3102005-01-22 Yannick Torres <yannick.torres@keliglia.com>
311
312 * docs/fr/bookinfo.xml:
313 update EN-Revision tag
314
3152005-01-21 Monte Ohrt <monte@ohrt.com>
316
317 * README
318 RELEASE_NOTES
319 docs/de/bookinfo.xml
320 docs/fr/bookinfo.xml
321 libs/Smarty.class.php
322 libs/Smarty_Compiler.class.php
323 libs/plugins/function.cycle.php
324 libs/plugins/function.debug.php
325 libs/plugins/function.html_checkboxes.php
326 libs/plugins/function.html_image.php
327 libs/plugins/function.html_radios.php
328 libs/plugins/function.html_table.php
329 libs/plugins/function.mailto.php
330 libs/plugins/modifier.cat.php
331 libs/plugins/modifier.nl2br.php
332 libs/plugins/modifier.strip.php
333 libs/plugins/outputfilter.trimwhitespace.php:
334 de-spammify e-mails
335
336 * README
337 RELEASE_NOTES
338 docs/de/bookinfo.xml
339 docs/fr/bookinfo.xml
340 libs/Config_File.class.php
341 libs/Smarty.class.php
342 libs/Smarty_Compiler.class.php
343 libs/plugins/function.cycle.php
344 libs/plugins/function.debug.php
345 libs/plugins/function.html_checkboxes.php
346 libs/plugins/function.html_image.php
347 libs/plugins/function.html_radios.php
348 libs/plugins/function.html_table.php
349 libs/plugins/function.mailto.php
350 libs/plugins/modifier.cat.php
351 libs/plugins/modifier.nl2br.php
352 libs/plugins/modifier.strip.php
353 libs/plugins/outputfilter.trimwhitespace.php:
354 update copyright notices, e-mail addresses
355
3562005-01-06 Messju Mohr <messju@lammfellpuschen.de>
357
358 * libs/Smarty_Compiler.class.php:
359 reduced the code that is generated on a {foreach}-block that has a
360 name.
361
362 instead of pre-computing all foreach-properties (like first, last,
363 show) on each iteration, they are computed on demand as soon as
364 {$smarty.foreach.*}-variables are used.
365
366 * NEWS
367 libs/Smarty_Compiler.class.php:
368 slight optimization in the compilation of $smarty.const.FOO .
369
370 more complex consts like $smarty.const.$name still compile to
371 constant($this->_tpl_vars['name'])
372
3732005-01-05 Messju Mohr <messju@lammfellpuschen.de>
374
375 * NEWS
376 libs/Smarty_Compiler.class.php:
377 make block functions and registered objects' block methods use a
378 local variable for block_content instead of $this->_block_content
379
380 it's not necessary to have $smarty->_block_content accessible.
381
3822005-01-04 Yannick Torres <yannick.torres@keliglia.com>
383
384 * docs/fr/bookinfo.xml:
385 sync with EN
386
3872005-01-01 Messju Mohr <messju@lammfellpuschen.de>
388
389 * libs/Config_File.class.php
390 libs/Smarty.class.php
391 libs/Smarty_Compiler.class.php:
392 Happy new year from germany.
393
3942004-12-28 Monte Ohrt <monte@ispi.net>
395
396 * libs/Smarty.class.php:
397 fix _read_file comments
398
3992004-12-26 Yannick Torres <yannick.torres@keliglia.com>
400
401 * docs/fr/getting-started.xml
402 docs/fr/preface.xml:
403 typo
404
405 * docs/fr/language-defs.ent
406 docs/fr/language-snippets.ent
407 docs/fr/livedocs.ent:
408 sync with EN & typo
409
4102004-12-21 Yannick Torres <yannick.torres@keliglia.com>
411
412 * docs/fr/bookinfo.xml
413 docs/fr/getting-started.xml
414 docs/fr/translation.xml:
415 sync with EN
416
4172004-12-17 Messju Mohr <messju@lammfellpuschen.de>
418
419 * NEWS
420 libs/Smarty_Compiler.class.php:
421 fixed escaping of template-filenames in the generated code that loads
422 needed plugins
423
4242004-12-15 Monte Ohrt <monte@ispi.net>
425
426 * NEWS
427 libs/plugins/function.popup.php:
428 fix invalid HTML issue with popup
429
4302004-12-06 boots <jayboots@yahoo.com>
431
432 * NEWS
433 libs/plugins/function.popup.php:
434 - fixed {popup} to properly handle inarray and function parameters and
435 added support for mouseoff and followmouse options
436
4372004-11-21 Mehdi Achour <didou@keliglia.com>
438
439 * docs/fr/livedocs.ent:
440 add livedocs specific entities files
441
4422004-11-16 Messju Mohr <messju@lammfellpuschen.de>
443
444 * libs/plugins/function.html_checkboxes.php
445 libs/plugins/function.html_radios.php:
446 cleaned up typecasting
447
4482004-11-15 Messju Mohr <messju@lammfellpuschen.de>
449
450 * libs/plugins/function.html_options.php:
451 fixed semantically misleading check for $options (use isset() instead
452 of is_array() because it is always an array).
453
454 thanks to albert almeida.
455
4562004-11-08 Messju Mohr <messju@lammfellpuschen.de>
457
458 * libs/Smarty_Compiler.class.php:
459 removed unused code
460
4612004-10-25 Mehdi Achour <didou@keliglia.com>
462
463 * docs/fr/bookinfo.xml
464 docs/fr/getting-started.xml:
465 sync with en
466
4672004-10-13 Monte Ohrt <monte@ispi.net>
468
469 * NEWS:
470 update header
471
4722004-10-02 Messju Mohr <messju@lammfellpuschen.de>
473
474 * NEWS:
475 fixed nocache-handling with nested includes. there was a logical error
476 in the replacement of internal nocache-tags to dynamic content that
477 lead to false results with deeply nested includes or with
478 nocache-blocks inside nocache-blocks.
479
480 many thanks to Lars Jankowfsky for providing big help on reproducing
481 and tracking down this bug!
482
4832004-10-01 Messju Mohr <messju@lammfellpuschen.de>
484
485 * libs/Smarty.class.php
486 libs/Smarty_Compiler.class.php:
487 - better header for compiled includes (more in line with compiled
488 templates)
489
490 - reuse cache_serials if a file is compiled more than once in one
491 process (force_compile)
492
493 - don't print nocache-delimiters wenn already inside
494 process_cached_inserts()
495
4962004-09-29 Messju Mohr <messju@lammfellpuschen.de>
497
498 * libs/Smarty.class.php:
499 switched from @count() to !empty() . this was pointed out a few times
500 by a few people with buggy error-handlers
501
502 * libs/Smarty_Compiler.class.php:
503 added some property declarations
504
5052004-09-28 Messju Mohr <messju@lammfellpuschen.de>
506
507 * libs/Smarty.class.php:
508 bumped up version number to reflect incompatibility in tempfiles of
509 'core' vs. 'internals'
510
5112004-09-24 Messju Mohr <messju@lammfellpuschen.de>
512
513 * libs/plugins/function.html_select_date.php:
514 fixed $start_year when no value for the year in $time is given.
515
5162004-09-21 Messju Mohr <messju@lammfellpuschen.de>
517
518 * libs/plugins/function.html_table.php:
519 fixed handling of "inner"-attribute
520
521 * libs/Smarty_Compiler.class.php:
522 fixed handling of object derefence inside backticks
523
5242004-09-20 Monte Ohrt <monte@ispi.net>
525
526 * libs/debug.tpl:
527 add <head></head> tags
528
5292004-09-18 boots <jayboots@yahoo.com>
530
531 * libs/Smarty.class.php
532 libs/Smarty_Compiler.class.php
533 libs/plugins/function.config_load.php
534 libs/plugins/function.debug.php
535 libs/plugins/function.fetch.php
536 libs/plugins/function.html_image.php:
537 Fixed \\r\\n line endings mistakenly introduced in last commit. d'oh.
538
5392004-09-16 boots <jayboots@yahoo.com>
540
541 * NEWS
542 libs/Smarty.class.php
543 libs/Smarty_Compiler.class.php
544 libs/core/core.assemble_plugin_filepath.php
545 libs/core/core.assign_smarty_interface.php
546 libs/core/core.create_dir_structure.php
547 libs/core/core.display_debug_console.php
548 libs/core/core.get_include_path.php
549 libs/core/core.get_microtime.php
550 libs/core/core.get_php_resource.php
551 libs/core/core.is_secure.php
552 libs/core/core.is_trusted.php
553 libs/core/core.load_plugins.php
554 libs/core/core.load_resource_plugin.php
555 libs/core/core.process_cached_inserts.php
556 libs/core/core.process_compiled_include.php
557 libs/core/core.read_cache_file.php
558 libs/core/core.rm_auto.php
559 libs/core/core.rmdir.php
560 libs/core/core.run_insert_handler.php
561 libs/core/core.smarty_include_php.php
562 libs/core/core.write_cache_file.php
563 libs/core/core.write_compiled_include.php
564 libs/core/core.write_compiled_resource.php
565 libs/core/core.write_file.php
566 libs/plugins/function.config_load.php
567 libs/plugins/function.debug.php
568 libs/plugins/function.fetch.php
569 libs/plugins/function.html_image.php:
570 Moved /libs/core to /libs/internals and created new constant,
571 SMARTY_CORE_DIR which defaults to SMARTY_DIR/internals. This should help
572 CVS and rsynch users butupgrades will require changes and this may affect
573 3rd party plugins that use the /core dir.
574
5752004-09-15 Messju Mohr <messju@lammfellpuschen.de>
576
577 * NEWS
578 libs/Smarty_Compiler.class.php:
579 moved $this->_num_const_regexp out of $this->_var_regexp and added it
580 to the places that affect $this->_var_regexp
581
582 this should fix some problems parsing plugin-names endings with digits
583
5842004-09-14 Messju Mohr <messju@lammfellpuschen.de>
585
586 * libs/Config_File.class.php
587 libs/Smarty.class.php
588 libs/Smarty_Compiler.class.php:
589 update files to 2.6.6-dev
590
5912004-09-13 Messju Mohr <messju@lammfellpuschen.de>
592
593 * NEWS:
594 fixed typo
595
5962004-09-13 Monte Ohrt <monte@ispi.net>
597
598 * (Smarty_2_6_5)
599 NEWS:
600 update NEWS file with parsing correction note
601
6022004-09-11 Messju Mohr <messju@lammfellpuschen.de>
603
604 * libs/plugins/function.debug.php:
605 removed notice from {debug}
606 thanks to Peter Billen for pointing this one out!
607
6082004-09-11 Monte Ohrt <monte@ispi.net>
609
610 * libs/Smarty_Compiler.class.php:
611 fix more object calling syntax issues
612
6132004-09-10 Messju Mohr <messju@lammfellpuschen.de>
614
615 * NEWS
616 libs/Smarty.class.php
617 libs/Smarty_Compiler.class.php:
618 added $smarty->security_settings['ALLOW_CONSTANTS']
619 including test-cases for them
620
6212004-09-09 Monte Ohrt <monte@ispi.net>
622
623 * libs/Smarty_Compiler.class.php:
624 break down regex to digestable chunks, fix multiple param problem with
625 method calls,
626 add object method testing to unit_test cases
627
628 * libs/Smarty_Compiler.class.php:
629 update code comment with more examples
630
631 * libs/Smarty_Compiler.class.php:
632 allow objects in arbitrary param positions
633
634 * libs/Smarty_Compiler.class.php:
635 fix object parameter regex, allow one level of object indirection
636
637 * libs/Smarty_Compiler.class.php:
638 fix compile problem with numeric constants and math operator matching
639
6402004-09-07 Monte Ohrt <monte@ispi.net>
641
642 * libs/Config_File.class.php
643 libs/Smarty.class.php
644 libs/Smarty_Compiler.class.php:
645 update files to 2.6.5-dev
646
647 * (Smarty_2_6_4)
648 NEWS:
649 update NEWS file with 2.6.4 header
650
6512004-08-31 Monte Ohrt <monte@ispi.net>
652
653 * libs/Smarty_Compiler.class.php:
654 fix preg_quote
655
656 * libs/Smarty_Compiler.class.php:
657 fix math in object params, clean up some regex on the way, change
658 preg_ delimiters to ~ to avoid character clashes with ! and %
659
6602004-08-30 Monte Ohrt <monte@ispi.net>
661
662 * NEWS
663 libs/Smarty_Compiler.class.php:
664 add $smarty.ldelim and $smarty.rdelim to smarty special var
665
6662004-08-29 Messju Mohr <messju@lammfellpuschen.de>
667
668 * NEWS
669 libs/core/core.write_file.php:
670 tempnam() seems to be borken on many installation.
671
672 now we try tempnam first and if that fails we generate our own
673 temp-filename with uniqid()
674
6752004-08-23 Monte Ohrt <monte@ispi.net>
676
677 * libs/plugins/modifier.capitalize.php:
678 dont use constant, use static var instead
679
680 * libs/plugins/modifier.capitalize.php:
681 implement optional param to capitalize for digit behavior
682
683 * libs/plugins/modifier.capitalize.php:
684 another commit to capitalize, taking special chars into account
685
6862004-08-23 Messju Mohr <messju@lammfellpuschen.de>
687
688 * libs/Smarty_Compiler.class.php:
689 cleaned up attribute-handling in Smarty_Compiler::_compile_foreach_start()
690
6912004-08-23 Monte Ohrt <monte@ispi.net>
692
693 * NEWS
694 libs/plugins/function.html_select_date.php
695 libs/plugins/modifier.capitalize.php:
696 fix capitalize modifier to not rely on buggy ucwords() func
697
6982004-08-20 Monte Ohrt <monte@ispi.net>
699
700 * libs/plugins/function.html_select_date.php:
701 update version
702
703 * NEWS
704 libs/plugins/function.html_select_date.php:
705 make time param work with negative timestamps, force year range to include
706 given date unless explicitly set
707
7082004-08-19 Monte Ohrt <monte@ispi.net>
709
710 * NEWS
711 libs/plugins/function.fetch.php:
712 fix bug with fetch, passing user/pass in url did not work
713
7142004-08-13 Messju Mohr <messju@lammfellpuschen.de>
715
716 * libs/Smarty_Compiler.class.php:
717 fixed handling of {foreachelse} and {sectionelse} that got borked with
718 the latest commit (v 1.330)
719
7202004-08-12 Messju Mohr <messju@lammfellpuschen.de>
721
722 * NEWS
723 libs/Smarty_Compiler.class.php:
724 fixed occasional wrong error messages on mismatched tags when
725 {else}, {elseif}, {foreachelse} or {sectionelse} is involved
726
727 thanks to Ooypunk for pointing me on this
728
7292004-08-12 Nuno Lopes <nunoplopes@sapo.pt>
730
731 * docs/.cvsignore
732 docs/Makefile.in
733 docs/configure.in:
734 enable russian PDF builds
735
7362004-07-30 Nuno Lopes <nunoplopes@sapo.pt>
737
738 * docs/configure.in:
739 typo
740
741 * docs/Makefile.in
742 docs/README
743 docs/configure.in:
744 add make test_xml
745 this is usefull to detect XML problems
746
7472004-07-29 Nuno Lopes <nunoplopes@sapo.pt>
748
749 * docs/configure.in:
750 avoid warnings in head
751
752 * docs/.cvsignore
753 docs/Makefile.in
754 docs/README
755 docs/configure.in:
756 build pdf files
757 just type make pdf
758
7592004-07-27 Messju Mohr <messju@lammfellpuschen.de>
760
761 * NEWS
762 libs/Smarty_Compiler.class.php:
763 fixed handling of methods arguments.
764
765 thanks to Manfred Wischin for finding this one and providing the
766 conceptual fix.
767
7682004-07-23 Messju Mohr <messju@lammfellpuschen.de>
769
770 * libs/plugins/function.html_checkboxes.php
771 libs/plugins/function.html_radios.php:
772 there was little flaw in smarty_function_html_radios() and
773 smarty_function_html_checkboxes():
774
775 the newly introduced assign-attribute was still added to the
776 tag-output as an extra-attribute.
777
778 fixed.
779
780 * NEWS
781 libs/Smarty.class.php
782 libs/Smarty_Compiler.class.php
783 libs/core/core.load_plugins.php
784 libs/core/core.load_resource_plugin.php
785 libs/plugins/function.html_checkboxes.php
786 libs/plugins/function.html_image.php
787 libs/plugins/function.html_options.php
788 libs/plugins/function.html_radios.php
789 libs/plugins/function.html_select_date.php
790 libs/plugins/function.html_select_time.php
791 libs/plugins/modifier.date_format.php:
792 backed out renaming of _get_plugin_filepath() to get_plugin_filepath()
793
794 we'll stick to _get_plugin_filepath() and look for a more viable
795 solution to be exposed to plugin-writers.
796
7972004-07-20 Messju Mohr <messju@lammfellpuschen.de>
798
799 * libs/Smarty_Compiler.class.php
800 libs/core/core.is_trusted.php
801 libs/plugins/compiler.assign.php:
802 Some fixes on PhpDocumentor comments. Thanks go to Ruben Vermeersch.
803
8042004-07-16 andreas halter <phpcvs@andreashalter.ch>
805
806 * docs/de/bookinfo.xml
807 docs/de/getting-started.xml
808 docs/de/language-defs.ent
809 docs/de/language-snippets.ent
810 docs/de/preface.xml:
811 - updated for 2.6.3
812 - updates for new build system
813 - added missing files
814 - corrections from users
815 - revcheck comments for all files
816 - big up to didou and nuno, brilliant work
817 - make test: ok
818 - make: ok
819
8202004-07-16 Nuno Lopes <nunoplopes@sapo.pt>
821
822 * docs/de/getting-started.xml:
823 fix the revision tracking tag
824 the revision number might not be right. just check it, please
825
8262004-07-16 andreas halter <phpcvs@andreashalter.ch>
827
828 * docs/de/getting-started.xml:
829 - updated version (incl revcheck comment) for revcheck testing
830
8312004-07-14 Monte Ohrt <monte@ispi.net>
832
833 * libs/Smarty.class.php:
834 replace " with ' where literal strings are quoted (ever so slight speedup)
835
8362004-07-12 Messju Mohr <messju@lammfellpuschen.de>
837
838 * libs/plugins/modifier.date_format.php:
839 changed call from $smarty->_get_plugin_filepath() to
840 $smarty->get_plugin_filepath()
841
842 * libs/plugins/function.html_checkboxes.php
843 libs/plugins/function.html_image.php
844 libs/plugins/function.html_options.php
845 libs/plugins/function.html_radios.php
846 libs/plugins/function.html_select_date.php
847 libs/plugins/function.html_select_time.php:
848 renamed calls to $smarty->_get_plugin_filepath() to
849 $smarty->get_plugin_filepath()
850
851 * NEWS
852 libs/Smarty.class.php
853 libs/Smarty_Compiler.class.php
854 libs/core/core.load_plugins.php
855 libs/core/core.load_resource_plugin.php:
856 renamed Smarty::_get_plugin_filepath() to Smarty::get_plugin_filepath()
857
858 * NEWS
859 libs/Smarty.class.php
860 libs/core/core.write_compiled_include.php
861 libs/core/core.write_compiled_resource.php
862 libs/core/core.write_file.php:
863 removed touch() call. changing the timestamp of the compiled-template
864 to the source template's may be irritating for certain
865 source-code-caches. now a newly compiled template gets the current
866 time as timestamp.
867
8682004-07-02 gerald croes <gerald@phpside.org>
869
870 * docs/fr/getting-started.xml
871 docs/fr/preface.xml:
872 Fixed missing tags to be able to make doc again
873
874 * docs/fr/preface.xml:
875 added the "is a good thing [TM]" as in en docs
876
877 * docs/fr/getting-started.xml:
878 added ctags, updated screen => programm listing.
879 added the technical note founded on the en doc
880
8812004-07-02 Monte Ohrt <monte@ispi.net>
882
883 * NEWS
884 libs/plugins/function.html_checkboxes.php
885 libs/plugins/function.html_radios.php
886 libs/plugins/function.mailto.php:
887 add assign attribute to html_checkboxes and html_radios
888
8892004-07-01 Messju Mohr <messju@lammfellpuschen.de>
890
891 * NEWS
892 libs/Smarty.class.php:
893 removed use of get_include_filepath() inside
894 get_auto_filename(). thanks go to c960657
895
896 * NEWS
897 libs/Smarty_Compiler.class.php:
898 enhanced error-reporting for {foreach}
899
900 * NEWS
901 libs/Smarty_Compiler.class.php:
902 fixed handling of digits inside tagnames. this problem slipped into
903 the regexps by adding support for numeric contants next to string
904 constants as variables.
905
9062004-06-27 Messju Mohr <messju@lammfellpuschen.de>
907
908 * NEWS
909 libs/Smarty_Compiler.class.php:
910 fixed escaping of backslashes in Smarty_Compiler::_quote_replace()
911
9122004-06-23 Monte Ohrt <monte@ispi.net>
913
914 * libs/plugins/modifier.date_format.php:
915 display date_format %e, %T and %D as expected for windows
916
9172004-06-17 Messju Mohr <messju@lammfellpuschen.de>
918
919 * libs/Config_File.class.php
920 libs/Smarty.class.php
921 libs/Smarty_Compiler.class.php:
922 changed version-number to 2.6.4-dev
923
9242004-06-16 Monte Ohrt <monte@ispi.net>
925
926 * (Smarty_2_6_3)
927 NEWS:
928 update NEWS file with version number
929
9302004-06-09 Monte Ohrt <monte@ispi.net>
931
932 * NEWS
933 libs/plugins/modifier.escape.php:
934 added escapement of '</' to javascript escaping
935
9362004-06-08 gerald croes <gerald@phpside.org>
937
938 * docs/fr/translation.xml:
939 Add other translators.
940
9412004-06-08 Messju Mohr <messju@lammfellpuschen.de>
942
943 * libs/Smarty.class.php:
944 made the correct value of "use_sub_dirs" available to the compiler.
945 (not worth a NEWS-entry, i think)
946
9472004-06-01 Messju Mohr <messju@lammfellpuschen.de>
948
949 * libs/plugins/function.fetch.php:
950 fix: proper initialistaion of $content.
951 thanks to Dmitry Koteroff for pointing this out.
952
9532004-05-29 Mehdi Achour <didou@keliglia.com>
954
955 * docs/fr/translation.xml:
956 oups :)
957
958 * docs/fr/translation.xml:
959 added translation file
960
9612004-05-28 Nuno Lopes <nunoplopes@sapo.pt>
962
963 * docs/Makefile.in:
964 clean also file-entities.php
965
9662004-05-28 Messju Mohr <messju@lammfellpuschen.de>
967
968 * NEWS
969 libs/plugins/function.mailto.php:
970 added obfuscation of protocol-string in {mailto} when using
971 hex-encoding (thanks to bharat)
972
9732004-05-26 Messju Mohr <messju@lammfellpuschen.de>
974
975 * NEWS
976 libs/Smarty.class.php:
977 enhanced auto-generated filenames for templates_c and cache
978
979 incremented Smarty::_version because the tempfiles' structure changed
980 a little
981
9822004-05-23 Mehdi Achour <didou@keliglia.com>
983
984 * docs/fr/bookinfo.xml
985 docs/fr/getting-started.xml
986 docs/fr/preface.xml:
987 WS and added revcheck
988
9892004-05-21 Messju Mohr <messju@lammfellpuschen.de>
990
991 * libs/Smarty_Compiler.class.php:
992 fixed typo in error-messages
993
994 * docs/de/language-snippets.ent
995 docs/fr/language-snippets.ent:
996 added empty language-snippets.ent to fix "make web"
997
9982004-05-12 Monte Ohrt <monte@ispi.net>
999
1000 * NEWS
1001 libs/plugins/modifier.escape.php:
1002 add 'nonstd' escape modifier
1003
10042004-05-07 Monte Ohrt <monte@ispi.net>
1005
1006 * NEWS
1007 libs/plugins/block.textformat.php:
1008 update textformat to not output wrap chars after last para
1009
10102004-05-06 Messju Mohr <messju@lammfellpuschen.de>
1011
1012 * NEWS
1013 libs/core/core.write_file.php:
1014 use tempnam() instead of unqid() to create better temporary files in
1015 smarty_core_write_file().
1016
1017 (thanks to xces for finding this race-condition and his work on
1018 fixing it)
1019
10202004-05-04 Messju Mohr <messju@lammfellpuschen.de>
1021
1022 * libs/Smarty.class.php:
1023 added check if for file_exists() to Smarty::_read_file()
1024
10252004-04-30 Monte Ohrt <monte@ispi.net>
1026
1027 * NEWS
1028 libs/plugins/modifier.escape.php:
1029 add 'mail' attribute to escape modifier
1030
10312004-04-20 Mehdi Achour <didou@keliglia.com>
1032
1033 * docs/manual.xml.in:
1034 added the language-snippets.ent file and started using entities for notes
1035 under en/programmers/api-functions
1036
10372004-04-18 Mehdi Achour <didou@keliglia.com>
1038
1039 * docs/de/getting-started.xml
1040 docs/fr/getting-started.xml:
1041 new global entity for zend and php-accelerator
1042
1043 * docs/fr/bookinfo.xml
1044 docs/fr/getting-started.xml
1045 docs/fr/preface.xml:
1046 added myself as translator and added vim comments and xml tags
1047
10482004-04-16 Messju Mohr <messju@lammfellpuschen.de>
1049
1050 * NEWS:
1051 added entry for numeric constants
1052
1053 * libs/Smarty_Compiler.class.php:
1054 removed unused 2nd param in call to _parse_var()
1055
1056 * libs/Smarty_Compiler.class.php:
1057 added explanation for $this->_num_const_regexp
1058
1059 * NEWS
1060 libs/plugins/modifier.escape.php:
1061 added escape type "decentity" to smarty_modifier_escape()
1062
1063 * libs/Smarty_Compiler.class.php:
1064 enabled numerical constants be parsed as statements.
1065 (like {10} or {10|@range:12} )
1066
1067 * libs/Smarty_Compiler.class.php:
1068 removed unused $smarty_compiler->_dvar_num_var_regexp
1069
1070 * libs/Smarty.class.php:
1071 reverted Stuff
1072
1073 * libs/debug.tpl
1074 libs/core/core.assemble_plugin_filepath.php
1075 libs/core/core.read_cache_file.php
1076 libs/core/core.write_file.php
1077 libs/plugins/function.eval.php
1078 libs/plugins/function.popup.php
1079 libs/plugins/modifier.escape.php
1080 libs/plugins/shared.make_timestamp.php:
1081 reverted stuff
1082
1083 * libs/Smarty.class.php
1084 libs/Smarty_Compiler.class.php
1085 libs/debug.tpl
1086 libs/core/core.assemble_plugin_filepath.php
1087 libs/core/core.read_cache_file.php
1088 libs/core/core.write_file.php
1089 libs/plugins/function.eval.php
1090 libs/plugins/function.popup.php
1091 libs/plugins/modifier.escape.php
1092 libs/plugins/shared.make_timestamp.php:
1093 Smarty_Compiler.class.php
1094
10952004-04-15 Messju Mohr <messju@lammfellpuschen.de>
1096
1097 * NEWS
1098 libs/core/core.write_compiled_include.php:
1099 made smarty_core_write_compiled_include() php5-aware
1100
1101 if someone knows a better way than patching the source with the
1102 tokenizer, please stand up!
1103
11042004-04-14 Nuno Lopes <nunoplopes@sapo.pt>
1105
1106 * docs/Makefile.in:
1107 remove file-entities.ent also
1108
1109 * docs/.cvsignore
1110 docs/Makefile.in
1111 docs/README:
1112 allow make revcheck
1113
11142004-04-13 Nuno Lopes <nunoplopes@sapo.pt>
1115
1116 * docs/configure.in:
1117 do not need inipath
1118
11192004-04-13 Mehdi Achour <didou@keliglia.com>
1120
1121 * docs/TODO:
1122 done
1123
1124 * docs/configure.in
1125 docs/manual.xml.in:
1126 now the files entites are generated dynamically
1127
11282004-04-12 Messju Mohr <messju@lammfellpuschen.de>
1129
1130 * NEWS
1131 libs/Config_File.class.php
1132 libs/Smarty.class.php:
1133 removed unused functionality to load a subset of lines from a file in
1134 Smarty::_read_file()
1135
1136 additionally removed a warning that is emitted since php-4.3.5 when
1137 fread() is called on an empty file (with filesize()==0). thanks to
1138 Andreas Streichardt who pointed this out.
1139
1140 * NEWS
1141 libs/core/core.is_secure.php:
1142 smarty_core_is_secure() only checks the file for readability now, not
1143 the directory where is in.
1144
1145 * libs/Smarty.class.php:
1146 removed unused security_setting 'ALLOW_CONSTANTS'
1147
11482004-04-07 Messju Mohr <messju@lammfellpuschen.de>
1149
1150 * libs/plugins/function.assign_debug_info.php
1151 libs/plugins/function.cycle.php
1152 libs/plugins/function.mailto.php:
1153 removed trailing spaces
1154
1155 * libs/Smarty.class.php:
1156 removed unused $smarty->_error_msg
1157
11582004-04-04 Nuno Lopes <nunoplopes@sapo.pt>
1159
1160 * docs/configure.in:
1161 fixing my crap
1162 put build_date back on-line
1163
11642004-04-03 Nuno Lopes <nunoplopes@sapo.pt>
1165
1166 * docs/Makefile.in
1167 docs/configure.in
1168 docs/manual.xml.in:
1169 trying to fix ru problems
1170
11712004-03-30 Monte Ohrt <monte@ispi.net>
1172
1173 * libs/core/core.display_debug_console.php:
1174 fix problem with debug_tpl path and security
1175
1176 * NEWS
1177 libs/core/core.display_debug_console.php:
1178 fix problem displaying debug console when $default_resource_type is not
1179 "file:"
1180
11812004-03-29 Mehdi Achour <didou@keliglia.com>
1182
1183 * docs/TODO:
1184 and finally, add a TODO here
1185
1186 * docs/de/bookinfo.xml
1187 docs/de/manual.sgml
1188 docs/fr/bookinfo.xml
1189 docs/fr/manual.xml:
1190 translate bookinfo.xml and put back the translators
1191
11922004-03-28 Mehdi Achour <didou@keliglia.com>
1193
1194 * docs/manual.xml.in:
1195 add global.ent and define some general entities
1196
1197 * docs/de/bookinfo.xml
1198 docs/de/getting-started.xml
1199 docs/de/language-defs.ent
1200 docs/de/preface.xml:
1201 add new de files
1202
1203 * docs/de/appendixes.sgml
1204 docs/de/designers.sgml
1205 docs/de/getting-started.sgml
1206 docs/de/html-common.dsl
1207 docs/de/preface.sgml
1208 docs/de/programmers.sgml:
1209 drop old de files
1210
1211 * docs/fr/bookinfo.xml
1212 docs/fr/getting-started.xml
1213 docs/fr/manual.xml
1214 docs/fr/preface.xml:
1215 add ommited files
1216
1217 * docs/fr/language-defs.ent:
1218 split the french dir
1219
1220 * docs/fr/appendixes.sgml
1221 docs/fr/designers.sgml
1222 docs/fr/getting-started.sgml
1223 docs/fr/html-common.dsl
1224 docs/fr/manual.sgml
1225 docs/fr/preface.sgml
1226 docs/fr/programmers.sgml:
1227 drop old french files
1228
1229 * docs/manual.xml.in:
1230 let's put the new build system
1231
12322004-03-26 Mehdi Achour <didou@keliglia.com>
1233
1234 * docs/de/common.dsl
1235 docs/de/html.dsl
1236 docs/fr/common.dsl
1237 docs/fr/html.dsl
1238 docs/fr/php.dsl:
1239 not needed anymore
1240
12412004-03-24 Nuno Lopes <nunoplopes@sapo.pt>
1242
1243 * docs/Makefile.in:
1244 updated stylesheets
1245 highlight PHP automatically
1246
1247 * docs/Makefile.in
1248 docs/html.dsl:
1249 remove unneeded file
1250
12512004-03-23 Nuno Lopes <nunoplopes@sapo.pt>
1252
1253 * docs/version.ent.in:
1254 remove this also
1255
1256 * docs/getting-started.sgml:
1257 remove this one too
1258
1259 * docs/appendixes.sgml
1260 docs/common.dsl
1261 docs/designers.sgml
1262 docs/html-common.dsl
1263 docs/manual.sgml
1264 docs/php.dsl
1265 docs/preface.sgml
1266 docs/programmers.sgml:
1267 removing uneeded files
1268
1269 * docs/.cvsignore:
1270 commiting missing files for docbook
1271
1272 * docs/.cvsignore
1273 docs/Makefile.in
1274 docs/configure.in
1275 docs/manual.xml.in:
1276 bundling docbook 4
1277 now make and make web works
1278
12792004-03-23 Messju Mohr <messju@lammfellpuschen.de>
1280
1281 * NEWS
1282 libs/plugins/function.config_load.php:
1283 unrolled call to the is_compiled()-check to be able to supply the
1284 correct resource_base_path for config_load. this avoids errors when
1285 config-files are accessed where security is enabled.
1286
1287 thanks to shuther for pointing out this bug.
1288
12892004-03-20 Nuno Lopes <nunoplopes@sapo.pt>
1290
1291 * docs/manual.xml.in:
1292 fix build date
1293
12942004-03-18 Messju Mohr <messju@lammfellpuschen.de>
1295
1296 * libs/core/core.is_secure.php:
1297 removed merging of $smarty->template_dir into $smarty->secure_dir
1298
1299 the resource_base_path is considerd secure instead. this change should
1300 have absolutely no impact on smarty's security's behaviour
1301
13022004-03-18 Nuno Lopes <nunoplopes@sapo.pt>
1303
1304 * docs/configure.in:
1305 correcting non-existent var
1306
1307 * docs/.cvsignore
1308 docs/Makefile.in
1309 docs/configure.in
1310 docs/manual.xml.in
1311 docs/version.ent.in:
1312 generate build date
1313
1314 * docs/.cvsignore
1315 docs/Makefile.in
1316 docs/README
1317 docs/configure.in
1318 docs/manual.xml.in:
1319 new build/test system
1320
13212004-03-18 Messju Mohr <messju@lammfellpuschen.de>
1322
1323 * libs/Smarty.class.php:
1324 moved setting of a default resource_base_path from
1325 Smarty::_parse_resource_name() to Smarty::_fetch_resource_info()
1326
1327 this shouldn't affect anything, since all calls to
1328 _parse_resource_name() that are not done from within
1329 _fetch_resource_info() all pass their own resource_base_path
1330
13312004-03-17 Messju Mohr <messju@lammfellpuschen.de>
1332
1333 * NEWS
1334 libs/Smarty.class.php:
1335 removed '.' from the list of default resource_base_paths in
1336 _parse_resource_name()
1337
1338 this should only affect _parse_resource_name() for templates, not for
1339 php-resources and not for config_files. the latter pass two their own
1340 resource_base_path.
1341
13422004-03-16 Mehdi Achour <didou@keliglia.com>
1343
1344 * docs/appendixes.sgml
1345 docs/getting-started.sgml
1346 docs/preface.sgml:
1347 adding editor comments
1348
1349 * docs/appendixes.sgml
1350 docs/getting-started.sgml:
1351 cleaning words spacing, killing tabulations, using roles for
1352 programlisting..
1353
13542004-03-15 Messju Mohr <messju@lammfellpuschen.de>
1355
1356 * libs/Smarty.class.php:
1357 simplified Smarty::clear_all_cache();
1358
13592004-03-12 boots <jayboots@yahoo.com>
1360
1361 * docs/programmers.sgml:
1362 Updated is_cached prototype to indicate proper return type. (thanks to
1363 Geoffrey Hoffman)
1364
13652004-03-11 Messju Mohr <messju@lammfellpuschen.de>
1366
1367 * libs/core/core.assemble_plugin_filepath.php:
1368 fixed little bug that prevented plugins filepaths that are found in
1369 php's include_path (and not in one of the plugins_dirs) from being
1370 cached in the internal plugins-filepath-cache
1371
13722004-03-01 Monte Ohrt <monte@ispi.net>
1373
1374 * docs/designers.sgml:
1375 update include_php docs:wq
1376 :q
1377
1378 * docs/appendixes.sgml:
1379 update componentized template example to something useful
1380
13812004-02-24 Messju Mohr <messju@lammfellpuschen.de>
1382
1383 * NEWS
1384 libs/Smarty.class.php:
1385 _parse_resource_name() returned true on non-existant absolute
1386 paths. This caused a warning on _fetch_resource_info() when used in
1387 conjunction with template_exists(). It should be fixed now without
1388 negative effects.
1389
13902004-02-24 Monte Ohrt <monte@ispi.net>
1391
1392 * docs/designers.sgml:
1393 one more typo
1394
1395 * docs/designers.sgml:
1396 fix typo
1397
13982004-02-24 Messju Mohr <messju@lammfellpuschen.de>
1399
1400 * NEWS
1401 libs/core/core.is_secure.php:
1402 smarty_resource_*_secure got &$smarty passed errornously as 3rd
1403 parameter and not as 2nd. this is fixed.
1404
14052004-02-23 Messju Mohr <messju@lammfellpuschen.de>
1406
1407 * NEWS:
1408 fix handling of integer values like width and delay im
1409 smarty_function_popup()
1410
1411 * libs/plugins/function.popup.php:
1412 fixed handling of integer-attributes
1413
1414 * libs/Config_File.class.php
1415 libs/Smarty.class.php
1416 libs/Smarty_Compiler.class.php:
1417 updated version to 2.6.3-dev
1418
14192004-02-22 Messju Mohr <messju@lammfellpuschen.de>
1420
1421 * libs/plugins/function.html_select_date.php:
1422 removed notice on html_select_date with the month_empty-attribute
1423
1424 * libs/plugins/function.mailto.php:
1425 removed 2 notices of undefined vars (thanks Cit)
1426
14272004-02-17 Monte Ohrt <monte@ispi.net>
1428
1429 * NEWS:
1430 add header
1431
1432 * (Smarty_2_6_2)
1433 libs/Config_File.class.php
1434 libs/Smarty.class.php
1435 libs/Smarty_Compiler.class.php:
1436 change some info in headers, remove fluff
1437
14382004-02-13 Messju Mohr <messju@lammfellpuschen.de>
1439
1440 * NEWS
1441 libs/plugins/function.html_select_date.php:
1442 correctly handle partially empty dates (like "2004--" or "-12-").
1443
1444 * docs/programmers.sgml:
1445 learned something about <note> and sgml and applied this to the
1446 use.sub.dirs-section :)
1447
1448 * docs/designers.sgml:
1449 changed attribute-name "checked" to "selected" in the docs for
1450 html_radios and html_checkboxes. "checked" is deprecated for ages
1451 AFAIK and selected is recommended for consistency with {html_options}
1452
1453 * docs/programmers.sgml:
1454 added note about use_sub_dirs and Smarty-2.6.2 .
1455 fixed markup for section about clear_compiled_tpl() .
1456
14572004-02-12 Messju Mohr <messju@lammfellpuschen.de>
1458
1459 * NEWS
1460 libs/Config_File.class.php:
1461 YES and NO should not be booleanized inside triple-quotes in a
1462 config-file. this behaviour changed by accident in 2.6.1 and is now
1463 reverted to pre-2.6.1 behaviour
1464
14652004-02-10 Messju Mohr <messju@lammfellpuschen.de>
1466
1467 * NEWS
1468 libs/Config_File.class.php:
1469 fixed slurping of a the next line following a triple-quoted value in a
1470 config-file
1471
14722004-02-07 Messju Mohr <messju@lammfellpuschen.de>
1473
1474 * libs/Config_File.class.php:
1475 avoid @-operator for handling empty lines in Config_File.class.php
1476
1477 * libs/Smarty_Compiler.class.php:
1478 removed two notices from Smarty_Compiler::_parse_is_expr()
1479 (thanks shuther!)
1480
1481 * NEWS
1482 libs/Smarty.class.php:
1483 changed default for use_sub_dirs to false
1484
1485 * libs/plugins/function.mailto.php:
1486 removed notice of undefined variable. (thanks shuther!)
1487
14882004-01-29 Messju Mohr <messju@lammfellpuschen.de>
1489
1490 * libs/Smarty_Compiler.class.php:
1491 added file and line-number-information to error-messages regarding
1492 assigned objects an an error messages regarding modifiers with
1493 security.
1494
14952004-01-27 Messju Mohr <messju@lammfellpuschen.de>
1496
1497 * libs/Smarty_Compiler.class.php:
1498 removed use of temporary var $_params in compiled code of block-plugins
1499
1500 * NEWS
1501 libs/plugins/function.popup.php:
1502 fixed quoting of values in smarty_function_popup()
1503
15042004-01-25 Messju Mohr <messju@lammfellpuschen.de>
1505
1506 * docs/programmers.sgml:
1507 documented parameters of Smarty::clear_compiled_tpl()
1508
1509 * libs/Smarty_Compiler.class.php:
1510 Smarty_Compiler::_syntax_error() uses Smarty::_trigger_fatal_error() now
1511 instead of the trigger_error()-function
1512
1513 * libs/Smarty.class.php:
1514 Smarty::_trigger_fatal_error() uses Smarty::trigger_error() now,
1515 instead of the native trigger_error()-function
1516
1517 * libs/Smarty_Compiler.class.php:
1518 unrecognized custom-functions trigger an error at compile now, not at
1519 display-time.
1520
15212004-01-23 Monte Ohrt <monte@ispi.net>
1522
1523 * docs/getting-started.sgml:
1524 reword a paragraph
1525
15262004-01-22 Messju Mohr <messju@lammfellpuschen.de>
1527
1528 * libs/plugins/function.config_load.php:
1529 removed emission of unnecessary notices for unavailable config-files
1530 in config_load()
1531
1532 * NEWS
1533 libs/Config_File.class.php:
1534 fixed handling of hidden sections in Config_File
1535
15362004-01-21 Messju Mohr <messju@lammfellpuschen.de>
1537
1538 * NEWS
1539 libs/plugins/function.config_load.php:
1540 added handling of resources for {config_load}
1541
15422004-01-19 Messju Mohr <messju@lammfellpuschen.de>
1543
1544 * NEWS
1545 libs/plugins/function.html_table.php:
1546 fixed bug when using arrays with tr_attr and td_attr in {html_table}
1547
15482004-01-16 Monte Ohrt <monte@ispi.net>
1549
1550 * NEWS:
1551 add unit testing
1552
1553 * NEWS
1554 libs/Config_File.class.php
1555 libs/Smarty.class.php
1556 libs/Smarty_Compiler.class.php:
1557 update version numbers, add initial unit test directory
1558
1559 * (Smarty_2_6_1)
1560 libs/Config_File.class.php
1561 libs/Smarty.class.php
1562 libs/Smarty_Compiler.class.php:
1563 update version numbers for 2.6.1 release
1564
15652004-01-16 Messju Mohr <messju@lammfellpuschen.de>
1566
1567 * (Smarty_2_6_1)
1568 NEWS
1569 docs/programmers.sgml
1570 libs/Smarty.class.php:
1571 renamed $smarty->tpl_rror_reporting to $smarty->error_reporting
1572 "tpl_" is a bit redundant here (it's a TemPLate-engine overall :)
1573
15742004-01-15 Messju Mohr <messju@lammfellpuschen.de>
1575
1576 * libs/plugins/function.html_image.php:
1577 forgot to remove duplicate is_secure()-check
1578
1579 * NEWS
1580 libs/plugins/function.html_image.php:
1581 fix: $smarty->security is now correctly handled
1582
1583 minor optimizations:
1584 core/core.is_secure.php is only included when needed
1585 $dpi_default is only determined when needed
1586
15872004-01-14 Messju Mohr <messju@lammfellpuschen.de>
1588
1589 * docs/appendixes.sgml
1590 docs/programmers.sgml:
1591 removed suggestions to use extract() from the manual
1592
1593 * docs/designers.sgml:
1594 fixed typo
1595
15962004-01-12 Messju Mohr <messju@lammfellpuschen.de>
1597
1598 * docs/designers.sgml:
1599 mention SCRIPT_NAME below {$smarty} reserved variable because it got
1600 lost in the docs for $smarty->global_assign
1601
1602 * docs/designers.sgml:
1603 added docs for {$smarty.version} special variable
1604
1605 * docs/programmers.sgml:
1606 removed docs for $global_assign
1607
1608 * docs/programmers.sgml:
1609 added docs for tpl_error_reporting
1610
1611 * docs/designers.sgml:
1612 added docs for year_empty-, month_empty- and day_emtpy-attributes of
1613 html_select_date. maybe an example is needed to better explain empty
1614 values in YYY-MM-DD.
1615
16162004-01-10 Messju Mohr <messju@lammfellpuschen.de>
1617
1618 * libs/Smarty_Compiler.class.php:
1619 fixed handling of {php}-tags
1620
16212004-01-10 Monte Ohrt <monte@ispi.net>
1622
1623 * docs/designers.sgml:
1624 fix html_checkboxes examples
1625
16262004-01-08 Messju Mohr <messju@lammfellpuschen.de>
1627
1628 * NEWS
1629 libs/core/core.assemble_plugin_filepath.php:
1630 added caching of requested paths to smarty_core_assemble_plugin_filepath()
1631
1632 * NEWS:
1633 fix handling of comments inside {php}- and {literal}-blocks
1634
1635 * libs/Smarty_Compiler.class.php:
1636 fixed handling of comments inside {php} and {literal}
1637
16382004-01-06 Messju Mohr <messju@lammfellpuschen.de>
1639
1640 * NEWS
1641 libs/Config_File.class.php:
1642 fixed bug handling triple-quotes in config-files
1643
1644 * libs/Config_File.class.php:
1645 fixed bugs with triple-quotes in config-files
1646 thanks BRDude for finding them testing!
1647
16482004-01-02 Messju Mohr <messju@lammfellpuschen.de>
1649
1650 * libs/Smarty.class.php:
1651 removed unnecessary param in call to _fetch_resource_info()
1652
16532003-12-30 Messju Mohr <messju@lammfellpuschen.de>
1654
1655 * libs/Smarty.class.php:
1656 oops! removed tabs.
1657
16582003-12-27 Messju Mohr <messju@lammfellpuschen.de>
1659
1660 * NEWS
1661 libs/Smarty.class.php:
1662 made $SCRIPT_NAME available again
1663 changes default for request_use_auto_global to prefer autoglobals
1664
1665 * libs/Smarty.class.php:
1666 removed tabs and trailing spaces
1667
1668 * NEWS
1669 libs/Smarty_Compiler.class.php:
1670 readded default_modifiers. who removed that?
1671
16722003-12-23 Monte Ohrt <monte@ispi.net>
1673
1674 * NEWS:
1675 add portuguese docs
1676
16772003-12-22 Monte Ohrt <monte@ispi.net>
1678
1679 * docs/designers.sgml:
1680 fix counter example
1681
16822003-12-19 Monte Ohrt <monte@ispi.net>
1683
1684 * libs/Smarty.class.php:
1685 add debug console persistance feature
1686
16872003-12-19 Messju Mohr <messju@lammfellpuschen.de>
1688
1689 * libs/plugins/block.textformat.php
1690 libs/plugins/function.html_table.php
1691 libs/plugins/function.popup.php:
1692 removed extract(). enhanced parameter parsing.
1693
1694 * libs/plugins/function.counter.php
1695 libs/plugins/function.fetch.php
1696 libs/plugins/function.popup_init.php
1697 libs/plugins/modifier.capitalize.php
1698 libs/plugins/modifier.cat.php
1699 libs/plugins/modifier.date_format.php
1700 libs/plugins/modifier.debug_print_var.php
1701 libs/plugins/modifier.escape.php
1702 libs/plugins/modifier.indent.php
1703 libs/plugins/modifier.lower.php
1704 libs/plugins/modifier.nl2br.php
1705 libs/plugins/modifier.strip.php
1706 libs/plugins/modifier.upper.php
1707 libs/plugins/modifier.wordwrap.php
1708 libs/plugins/outputfilter.trimwhitespace.php
1709 libs/plugins/shared.escape_special_chars.php:
1710 removed tabs. fixed indentiation.
1711
1712 * libs/plugins/modifier.truncate.php:
1713 removed tabs
1714
1715 * libs/plugins/function.counter.php
1716 libs/plugins/function.cycle.php:
1717 removed extract() from parameter-parsing
1718
17192003-12-17 Messju Mohr <messju@lammfellpuschen.de>
1720
1721 * libs/plugins/function.html_select_date.php:
1722 fix plugin-name in error message
1723
1724 * libs/plugins/function.html_select_time.php:
1725 remove extract-call from {html_select_time}
1726
1727 * NEWS
1728 libs/plugins/function.html_select_date.php:
1729 allow single-digit days and months without smarty_make_timestamp()
1730 this makes dates like "1968-11-6" work correctly since no strtotime()
1731 is involved
1732
1733 add warning when unknown parameter is passed
1734
17352003-12-16 Messju Mohr <messju@lammfellpuschen.de>
1736
1737 * NEWS
1738 libs/Smarty.class.php:
1739 fix headers sent erroneously with cache_modified_check and fetch()
1740
17412003-12-12 Monte Ohrt <monte@ispi.net>
1742
1743 * libs/plugins/function.config_load.php:
1744 move set_path() call below the conditional bracket
1745
1746 * NEWS
1747 libs/plugins/function.config_load.php:
1748 fix config_load filepath bug
1749
17502003-12-12 boots <jayboots@yahoo.com>
1751
1752 * docs/designers.sgml:
1753 Updated language.function.if with additional annotation and to fix error
1754 that broke docs build process
1755
17562003-12-11 Messju Mohr <messju@lammfellpuschen.de>
1757
1758 * libs/Smarty_Compiler.class.php:
1759 little optimization for "is odd" and "is even"
1760
17612003-12-11 Monte Ohrt <monte@ispi.net>
1762
1763 * NEWS
1764 libs/Smarty_Compiler.class.php:
1765 fix 'is even by' and 'is odd by' logic
1766
17672003-12-11 Messju Mohr <messju@lammfellpuschen.de>
1768
1769 * docs/designers.sgml:
1770 update example-output of {mailto}
1771
1772 * libs/plugins/function.mailto.php:
1773 removed extract-call -> cleaner parameter-handling
1774
1775 * libs/plugins/function.mailto.php:
1776 fixed indentiation
1777
1778 * TODO:
1779 removed two done topics
1780
17812003-12-11 boots <jayboots@yahoo.com>
1782
1783 * docs/designers.sgml:
1784 Updated language.function.if to describe qualifiers (thanks andre)
1785
17862003-12-10 Messju Mohr <messju@lammfellpuschen.de>
1787
1788 * NEWS
1789 libs/plugins/function.html_select_date.php:
1790 added day_empty, month_empty, year_empty and all_empty attributes
1791 to pass an undefined date use {html_select_date time="--" ...}
1792
1793 * libs/plugins/function.html_select_date.php:
1794 removed extract()-call
1795
1796 * libs/plugins/function.html_select_date.php:
1797 fixed indetiation
1798
17992003-12-10 boots <jayboots@yahoo.com>
1800
1801 * NEWS
1802 docs/designers.sgml:
1803 Added table to language.function.if to describe qualifiers
1804
18052003-12-09 Messju Mohr <messju@lammfellpuschen.de>
1806
1807 * libs/plugins/function.html_checkboxes.php
1808 libs/plugins/function.html_options.php:
1809 strict comparason didn't work in all cases. use type-casting now.
1810
1811 * NEWS
1812 libs/plugins/function.html_checkboxes.php
1813 libs/plugins/function.html_options.php:
1814 fix bug when comparing array-keys to "selected" in html_options and
1815 html_checkboxes
1816
1817 in_array() uses "strict" comparason now.
1818
1819 * libs/plugins/function.html_checkboxes.php
1820 libs/plugins/function.html_options.php
1821 libs/plugins/function.html_radios.php:
1822 removed tabs, fixed indentiation
1823
18242003-12-08 Messju Mohr <messju@lammfellpuschen.de>
1825
1826 * NEWS
1827 libs/Smarty_Compiler.class.php:
1828 add better checks for correctly nested tags when compiling
1829
18302003-12-04 Messju Mohr <messju@lammfellpuschen.de>
1831
1832 * libs/Smarty.class.php
1833 libs/plugins/function.html_image.php:
1834 fix: check $smarty->request_use_auto_globals at the last occurences of
1835 HTTP_*_VARS
1836
18372003-12-03 Messju Mohr <messju@lammfellpuschen.de>
1838
1839 * NEWS
1840 libs/Smarty.class.php:
1841 remove $global_assign property from Smarty and $global_assign-handling
1842 from the constructor. the only visible change is, that $SCRIPT_NAME is
1843 not available in the tempates anymore. $smarty.server.SCRIPT_NAME has
1844 to be used from now.
1845
18462003-12-03 boots <jayboots@yahoo.com>
1847
1848 * docs/designers.sgml:
1849 Fixed example for count_characters
1850
18512003-12-01 boots <jayboots@yahoo.com>
1852
1853 * docs/designers.sgml:
1854 Added section "Escaping Smarty Parsing" under Basic Syntax.
1855
18562003-12-01 Messju Mohr <messju@lammfellpuschen.de>
1857
1858 * libs/core/core.create_dir_structure.php:
1859 thought again about my latest commit and backed it out.
1860
1861 * libs/core/core.create_dir_structure.php:
1862 fix root-dir-handling on windows filepath
1863
18642003-11-29 boots <jayboots@yahoo.com>
1865
1866 * libs/plugins/function.config_load.php:
1867 really make the fixes the last patch was supposed to do
1868
1869 * libs/plugins/function.config_load.php:
1870 removed tabs and killed trailing white-space
1871
1872 * libs/plugins/function.config_load.php:
1873 changed $smarty->_syntax_error to $smarty->trigger_error
1874
18752003-11-27 Messju Mohr <messju@lammfellpuschen.de>
1876
1877 * NEWS
1878 libs/plugins/modifier.debug_print_var.php:
1879 remove warning in debug_print_var on php-resources
1880
1881 * README:
1882 fix version number
1883
18842003-11-26 Messju Mohr <messju@lammfellpuschen.de>
1885
1886 * libs/Smarty_Compiler.class.php:
1887 raise max_level for $smarty.config... to 3 to allow arrays of config-vars
1888
18892003-11-25 Messju Mohr <messju@lammfellpuschen.de>
1890
1891 * libs/Smarty.class.php:
1892 changed version-tag to indicate incompatibility to older compiled
1893 templates
1894
18952003-11-24 Messju Mohr <messju@lammfellpuschen.de>
1896
1897 * NEWS
1898 libs/plugins/compiler.assign.php
1899 libs/plugins/function.assign.php:
1900 move function.assign.php to compiler.assign.php
1901
1902 * libs/core/core.get_include_path.php:
1903 silence occasional warnings of open_basedir- and
1904 safe_mode-restrictions in core.get_include_path.php
1905
19062003-11-23 Messju Mohr <messju@lammfellpuschen.de>
1907
1908 * libs/core/core.write_compiled_resource.php
1909 libs/core/core.write_file.php:
1910 avoid touch()-ing of recently unlinked files by touch()-ing the
1911 tempfile before rename instead of touch()-ing the resulting file after
1912 rename.
1913
1914 * NEWS
1915 libs/Smarty.class.php:
1916 add property $tpl_error_reporting
1917
19182003-11-22 Messju Mohr <messju@lammfellpuschen.de>
1919
1920 * libs/plugins/function.assign.php:
1921 remove use of extract() in smarty_function_assign()
1922
1923 * NEWS
1924 libs/Smarty.class.php:
1925 remove property $undefined. "null" is used literally instead
1926
19272003-11-21 Messju Mohr <messju@lammfellpuschen.de>
1928
1929 * libs/Smarty_Compiler.class.php:
1930 remove two E_NOTICES
1931
19322003-11-20 Messju Mohr <messju@lammfellpuschen.de>
1933
1934 * libs/Config_File.class.php
1935 libs/Smarty.class.php
1936 libs/Smarty_Compiler.class.php:
1937 change version to 2.6.1-dev
1938
19392003-11-19 Monte Ohrt <monte@ispi.net>
1940
1941 * (Smarty_2_6_0)
1942 NEWS:
1943 update NEWS file
1944
1945 * (Smarty_2_6_0)
1946 docs/designers.sgml
1947 libs/Config_File.class.php
1948 libs/Smarty.class.php
1949 libs/Smarty_Compiler.class.php:
1950 change version numbers to 2.6.0
1951
19522003-11-19 Messju Mohr <messju@lammfellpuschen.de>
1953
1954 * docs/designers.sgml
1955 docs/de/designers.sgml
1956 docs/fr/designers.sgml:
1957 fix examples of escape-modifier (in docs, docs/de and docs/fr !)
1958
19592003-11-18 Messju Mohr <messju@lammfellpuschen.de>
1960
1961 * NEWS
1962 libs/Smarty.class.php
1963 libs/Smarty_Compiler.class.php:
1964 move Smarty::quote_replace() to Smarty_Compiler::_quote_replace()
1965
1966 * libs/Smarty.class.php:
1967 removed extract-calls from _include()- and _eval()-wrappers
1968 variables passed with {include_php} have to accessed as members of $params
1969 now
1970
19712003-11-17 Messju Mohr <messju@lammfellpuschen.de>
1972
1973 * docs/designers.sgml:
1974 fixed typo
1975
19762003-11-13 Messju Mohr <messju@lammfellpuschen.de>
1977
1978 * libs/Config_File.class.php:
1979 fix occasional notice
1980
19812003-11-13 andreas halter <phpcvs@andreashalter.ch>
1982
1983 * docs/de/designers.sgml:
1984 - added cat modifier, thanks messju :-)
1985
19862003-11-13 Monte Ohrt <monte@ispi.net>
1987
1988 * (Smarty_2_6_0-RC3)
1989 NEWS
1990 libs/Config_File.class.php
1991 libs/Smarty.class.php
1992 libs/Smarty_Compiler.class.php:
1993 commit RC3 tags
1994
19952003-11-13 Messju Mohr <messju@lammfellpuschen.de>
1996
1997 * NEWS
1998 libs/Smarty_Compiler.class.php:
1999 fix handling of $var.key inside []
2000
2001 * libs/Smarty.class.php:
2002 fix unnecessary loading of core.load_resource_plugin.php
2003
2004 * (Smarty_2_6_0-RC3)
2005 docs/fr/designers.sgml:
2006 fixed example of html_table
2007
20082003-11-11 Messju Mohr <messju@lammfellpuschen.de>
2009
2010 * NEWS
2011 libs/core/core.process_cached_inserts.php:
2012 fix handling of assign inside {insert}-tags
2013
20142003-11-06 Messju Mohr <messju@lammfellpuschen.de>
2015
2016 * libs/core/core.read_cache_file.php:
2017 added $exp_time-parameter
2018
2019 * docs/programmers.sgml:
2020 added $exp_time to cache_handler_func-example
2021
2022 * libs/Smarty.class.php
2023 libs/core/core.write_cache_file.php:
2024 added $exp_time-parameter of clear_cache() and clear_all_cache() to
2025 cache_handler_func.
2026
20272003-11-05 Messju Mohr <messju@lammfellpuschen.de>
2028
2029 * NEWS
2030 libs/Config_File.class.php:
2031 fix handling if [...] inside triple-quotes in config-files
2032
20332003-11-04 Messju Mohr <messju@lammfellpuschen.de>
2034
2035 * libs/Smarty.class.php:
2036 fixed little bug in _parse_resource_name() (jlgunter, messju)
2037
20382003-11-03 andreas halter <phpcvs@andreashalter.ch>
2039
2040 * docs/designers.sgml
2041 docs/de/designers.sgml
2042 docs/fr/designers.sgml:
2043 - changed Smarty.php.class occurences to Smarty.class.php
2044
20452003-10-29 boots <jayboots@yahoo.com>
2046
2047 * docs/appendixes.sgml
2048 docs/designers.sgml
2049 docs/manual.sgml
2050 docs/programmers.sgml
2051 docs/de/appendixes.sgml
2052 docs/de/designers.sgml
2053 docs/de/programmers.sgml
2054 docs/fr/appendixes.sgml
2055 docs/fr/designers.sgml
2056 docs/fr/getting-started.sgml
2057 docs/fr/manual.sgml
2058 docs/fr/preface.sgml
2059 docs/fr/programmers.sgml:
2060 Fixes to documentation syntax so that all content can be processed used
2061 xsltproc docbook-xsl tools. In particular, fixes unescaped entities,
2062 broken tags, unquoted attributes.
2063
20642003-10-27 Messju Mohr <messju@lammfellpuschen.de>
2065
2066 * NEWS
2067 libs/Smarty_Compiler.class.php:
2068 fix handling of simple-math-operators inside modifiers
2069
20702003-10-25 Messju Mohr <messju@lammfellpuschen.de>
2071
2072 * libs/Smarty_Compiler.class.php:
2073 removed unused property _output_type
2074 removed unused param $tag_attrs of _parse_var_props()
2075 cleaned up alignment of class-properties
2076
20772003-10-23 Messju Mohr <messju@lammfellpuschen.de>
2078
2079 * libs/Smarty_Compiler.class.php:
2080 removed notice in php-tag handling in Smarty_Compiler::_compile_file()
2081
2082 * libs/Smarty_Compiler.class.php:
2083 removed two occasional E_NOTICES from
2084 Smarty_Compiler::_compile_include_php_tag()
2085
2086 * NEWS
2087 libs/core/core.create_dir_structure.php:
2088 fix handling of trailing-slashes in open_basedir in
2089 smarty_core_create_dir_structure()
2090
20912003-10-20 Messju Mohr <messju@lammfellpuschen.de>
2092
2093 * libs/Smarty_Compiler.class.php:
2094 elements inside `` are bracketed now inside the compiled-tpl. this
2095 fixes some issues with simple-math inside backticks.
2096
20972003-10-16 Monte Ohrt <monte@ispi.net>
2098
2099 * docs/designers.sgml:
2100 update overlib docs, no working examples
2101
21022003-10-12 Messju Mohr <messju@lammfellpuschen.de>
2103
2104 * libs/Smarty.class.php
2105 libs/core/core.is_secure.php:
2106 move check for template_dir in secure_dir-array into core.is_secure.php
2107
2108 this makes template_exists() work correctly with security=true even if
2109 template_dir is not inside the secure_dir-array
2110
21112003-10-11 Messju Mohr <messju@lammfellpuschen.de>
2112
2113 * libs/plugins/shared.make_timestamp.php:
2114 tightened check for YYYYMMDDHHMMSS-format. thanks konstantin for
2115 pointing this out.
2116
2117 removed a few tabs.
2118
2119 * libs/Smarty_Compiler.class.php:
2120 fix precedence of simple-math-operators before modifiers.
2121 thanks dominik!
2122
2123 * libs/Config_File.class.php
2124 libs/Smarty.class.php
2125 libs/Smarty_Compiler.class.php
2126 libs/core/core.assemble_plugin_filepath.php
2127 libs/core/core.assign_smarty_interface.php
2128 libs/core/core.create_dir_structure.php
2129 libs/core/core.display_debug_console.php
2130 libs/core/core.get_include_path.php
2131 libs/core/core.get_microtime.php
2132 libs/core/core.get_php_resource.php
2133 libs/core/core.is_secure.php
2134 libs/core/core.is_trusted.php
2135 libs/core/core.load_plugins.php
2136 libs/core/core.load_resource_plugin.php
2137 libs/core/core.process_cached_inserts.php
2138 libs/core/core.process_compiled_include.php
2139 libs/core/core.read_cache_file.php
2140 libs/core/core.rm_auto.php
2141 libs/core/core.rmdir.php
2142 libs/core/core.run_insert_handler.php
2143 libs/core/core.smarty_include_php.php
2144 libs/core/core.write_compiled_include.php
2145 libs/core/core.write_compiled_resource.php
2146 libs/core/core.write_file.php:
2147 removed tabs from the main and the core/*.php files
2148
21492003-10-08 Monte Ohrt <monte@ispi.net>
2150
2151 * (Smarty_2_6_0-RC2)
2152 NEWS
2153 libs/Config_File.class.php
2154 libs/Smarty.class.php
2155 libs/Smarty_Compiler.class.php:
2156 update version numbers to RC2
2157
21582003-09-18 Messju Mohr <messju@lammfellpuschen.de>
2159
2160 * docs/designers.sgml
2161 docs/de/designers.sgml:
2162 fixed description of cycle's advance-attribute
2163
21642003-09-16 Messju Mohr <messju@lammfellpuschen.de>
2165
2166 * NEWS
2167 libs/Smarty_Compiler.class.php:
2168 apply modifiers only once to section-loop and foreach-from attributes
2169
21702003-09-15 Messju Mohr <messju@lammfellpuschen.de>
2171
2172 * libs/Smarty.class.php
2173 libs/Smarty_Compiler.class.php
2174 libs/core/core.write_cache_paths_file.php:
2175 backed out _smarty_cached_paths-file-handling
2176
2177 * libs/Smarty.class.php
2178 libs/core/core.rm_auto.php:
2179 fixed clear_compiled_tpl with explicit $tpl_file given
2180 fixed return value of smarty_core_rm_auto() + Smarty::_unlink()
2181
2182 * libs/Smarty.class.php:
2183 little fix in _get_auto_filename()
2184
21852003-09-14 Messju Mohr <messju@lammfellpuschen.de>
2186
2187 * libs/Smarty.class.php
2188 libs/core/core.assemble_auto_filename.php:
2189 removed auto-filenames from path-cache. merged assemble_auto_filename
2190 back into Smarty::_get_auto_filename()
2191
21922003-09-12 Messju Mohr <messju@lammfellpuschen.de>
2193
2194 * libs/Smarty_Compiler.class.php:
2195 fixed quoting of modifier parameters
2196
2197 * NEWS
2198 libs/Smarty.class.php
2199 libs/Smarty_Compiler.class.php
2200 libs/core/core.get_php_resource.php
2201 libs/core/core.load_plugins.php
2202 libs/core/core.load_resource_plugin.php:
2203 remove Smarty::_plugin_implementation_exists() - use php's native
2204 is_callable()
2205
22062003-09-11 Messju Mohr <messju@lammfellpuschen.de>
2207
2208 * libs/Smarty.class.php:
2209 silenced two notices acces HTTP_SERVER_VARS
2210
22112003-09-10 andreas halter <phpcvs@andreashalter.ch>
2212
2213 * docs/de/designers.sgml
2214 docs/de/getting-started.sgml
2215 docs/de/programmers.sgml:
2216 - minor fixes (2 rep), slight wording changes
2217 - jade transform problem fixed
2218
22192003-09-08 andreas halter <phpcvs@andreashalter.ch>
2220
2221 * docs/de/designers.sgml
2222 docs/de/getting-started.sgml
2223 docs/de/manual.sgml
2224 docs/de/preface.sgml
2225 docs/de/programmers.sgml:
2226 all updated for 2.6.0 release, translated everything from 2_5_0 branch to
2227 20030908
2228
22292003-09-04 Messju Mohr <messju@lammfellpuschen.de>
2230
2231 * libs/Smarty.class.php:
2232 proper checking for files in _fetch_resource_info()
2233
22342003-09-02 Messju Mohr <messju@lammfellpuschen.de>
2235
2236 * NEWS
2237 libs/Smarty_Compiler.class.php:
2238 ignore {strip}/{/strip) inside {strip}-blocks
2239
2240 * libs/plugins/function.mailto.php:
2241 fixed 2 notices in smarty_function_mailto()
2242
22432003-09-01 Messju Mohr <messju@lammfellpuschen.de>
2244
2245 * libs/Smarty.class.php:
2246 re-include cache_paths on multiple calls to fetch() to avoid
2247 inconsistencies
2248 at multiple calls to fetch() in one script
2249
2250 * libs/Smarty_Compiler.class.php:
2251 fixed handling of \r in {strip}
2252 renamed $_trailing_lf to $_additional_newline
2253
2254 * libs/Smarty_Compiler.class.php:
2255 the weekly fix for {strip} :)
2256
2257 * docs/designers.sgml:
2258 fixed example for simple math.
2259
22602003-08-29 Messju Mohr <messju@lammfellpuschen.de>
2261
2262 * libs/core/core.assign_smarty_interface.php
2263 libs/core/core.display_debug_console.php
2264 libs/plugins/function.assign.php
2265 libs/plugins/function.html_options.php
2266 libs/plugins/function.html_table.php:
2267 fixed PHPDocumentor-comments (thanks Konstantin)
2268
2269 * libs/core/core.rmdir.php:
2270 made rmdir a bit more optimistic. especially it now removes
2271 directories correctly that where created accidently by "safe_mode=On
2272 && $use_sub_dirs=true"
2273
22742003-08-27 Messju Mohr <messju@lammfellpuschen.de>
2275
2276 * NEWS
2277 libs/Smarty_Compiler.class.php:
2278 fixed removal of leading/trailing newlines in {strip}-blocks
2279
22802003-08-25 Messju Mohr <messju@lammfellpuschen.de>
2281
2282 * INSTALL:
2283 added note emphasizing the introduction of "libs/" with 2.5.0
2284
2285 * NEWS
2286 libs/plugins/modifier.escape.php:
2287 fixed proper escaping of " and ' with escape:javascript
2288
22892003-08-22 Messju Mohr <messju@lammfellpuschen.de>
2290
2291 * NEWS
2292 libs/core/core.assemble_plugin_filepath.php:
2293 fixed bug in traversal of $smarty->plugins_dir-array in
2294 smarty_core_assemble_plugin_filepath(). the first matching plugin in
2295 the path should be used, not the last one.
2296
2297 * libs/core/core.read_cache_file.php:
2298 discard $_cache_info when the cache should be regenerated
2299
23002003-08-20 Messju Mohr <messju@lammfellpuschen.de>
2301
2302 * NEWS
2303 libs/Smarty_Compiler.class.php
2304 libs/plugins/block.strip.php:
2305 reverted {strip} from a block-plugin back into the compiler
2306
2307 * docs/programmers.sgml:
2308 fixed examples for register_function() and register_block()
2309
2310 * libs/Smarty.class.php:
2311 made template_exists() quiet when the template does not exist (thanks
2312 to konstatin for pointing this out)
2313
23142003-08-18 Monte Ohrt <monte@ispi.net>
2315
2316 * docs/getting-started.sgml:
2317 fix example title
2318
2319 * docs/README
2320 docs/getting-started.sgml:
2321 change installation wording confusion
2322
23232003-08-18 Messju Mohr <messju@lammfellpuschen.de>
2324
2325 * libs/Smarty.class.php
2326 libs/core/core.read_cache_file.php:
2327 fixed unnecessary load of source in template_exists() and the
2328 compile-check of smarty_core_read_cache_file()
2329
2330 * libs/Smarty_Compiler.class.php:
2331 allow section-, array- and object-dereference in $smarty-references
2332
23332003-08-15 Messju Mohr <messju@lammfellpuschen.de>
2334
2335 * docs/designers.sgml:
2336 added parameter-descriptions for count_characters (thanks Konstantin
2337 A. Pelepelin)
2338
2339 fixed docs for {html_checkboxes}
2340
23412003-08-14 Messju Mohr <messju@lammfellpuschen.de>
2342
2343 * libs/Smarty.class.php
2344 libs/core/core.read_cache_file.php:
2345 fixed timestamp-check of config-files in smarty_core_read_cache_file()
2346
2347 * libs/Smarty.class.php:
2348 fixed typecasting for arrays in _parse_resource_name()
2349
2350 * NEWS
2351 libs/plugins/function.config_load.php:
2352 fixes in config_load:
2353 - handling of section-attribute
2354 - reusing the same config-file multiple times
2355 - serialization of config-data for php<4.2.0 (no var_export)
2356
2357 many thanks to atu for pointing this out and for testing
2358
23592003-08-13 Messju Mohr <messju@lammfellpuschen.de>
2360
2361 * libs/Smarty.class.php
2362 libs/core/core.smarty_include_php.php:
2363 fixed problem with vars as attributes in {include_php}
2364
23652003-08-13 Monte Ohrt <monte@ispi.net>
2366
2367 * docs/README:
2368 commit README file for documentation compiling
2369
23702003-08-13 Messju Mohr <messju@lammfellpuschen.de>
2371
2372 * libs/debug.tpl
2373 libs/plugins/modifier.debug_print_var.php:
2374 removed '\r' from debug_print_vars' output
2375 properly escape vars in javascript-version of debug.tpl
2376
23772003-08-11 Monte Ohrt <monte@ispi.net>
2378
2379 * (Smarty_2_6_0_RC1)
2380 NEWS
2381 docs/designers.sgml
2382 docs/html.dsl
2383 docs/php.dsl
2384 libs/Config_File.class.php
2385 libs/Smarty.class.php
2386 libs/Smarty_Compiler.class.php:
2387 get ready for 2.6.0-RC1 release
2388
23892003-08-10 Messju Mohr <messju@lammfellpuschen.de>
2390
2391 * NEWS
2392 libs/Smarty.class.php:
2393 fixed status-header for cache_modified_check under cgi-sapi
2394
23952003-08-09 Messju Mohr <messju@lammfellpuschen.de>
2396
2397 * libs/core/core.is_secure.php
2398 libs/core/core.is_trusted.php:
2399 synced secure_dir-checking with trusted_dir-checking
2400
2401 * libs/core/core.is_secure.php:
2402 tightenend path checking in smarty_core_is_secure()
2403
24042003-08-08 Messju Mohr <messju@lammfellpuschen.de>
2405
2406 * libs/Smarty.class.php:
2407 fix: proper nesting of $smarty->_cache_including flag in cascaded
2408 cached/not-cached/fetched/inserted/foo-templates
2409
2410 * libs/debug.tpl:
2411 better escaping for $_debug_tpls[templates].filenames
2412
2413 * libs/Smarty.class.php
2414 libs/Smarty_Compiler.class.php:
2415 removed redundant $smarty from Smarty::_smarty_include()
2416
2417 * libs/debug.tpl:
2418 proper escaping of filenames in debug-console (thanks to prossel).
2419
24202003-08-07 Messju Mohr <messju@lammfellpuschen.de>
2421
2422 * docs/programmers.sgml:
2423 added docs for block-methods of registered objects
2424
2425 * docs/programmers.sgml:
2426 fixed typo in example for registered objects
2427
2428 * docs/designers.sgml:
2429 fixed exampls of html_image and html_checkboxes
2430
2431 * libs/plugins/function.debug.php:
2432 fixed {debug} and removed tabs in function.debug.php
2433
2434 * docs/programmers.sgml:
2435 fixed example for register_object
2436
2437 * docs/designers.sgml
2438 docs/programmers.sgml:
2439 updated docs for capture, html_table, html_image and register_object
2440
24412003-08-07 Monte Ohrt <monte@ispi.net>
2442
2443 * docs/designers.sgml
2444 docs/programmers.sgml:
2445 add math and default_resource_type to docs
2446
2447 * docs/getting-started.sgml:
2448 add core to example, add tech note
2449
24502003-08-07 Messju Mohr <messju@lammfellpuschen.de>
2451
2452 * docs/manual.sgml
2453 docs/fr/manual.sgml:
2454 upd copyright in the docs
2455
24562003-08-07 Monte Ohrt <monte@ispi.net>
2457
2458 * docs/getting-started.sgml:
2459 added core directory to install instructions
2460
24612003-08-07 Messju Mohr <messju@lammfellpuschen.de>
2462
2463 * docs/designers.sgml
2464 docs/programmers.sgml:
2465 added docs for php-functions as modifiers
2466
2467 * libs/Smarty.class.php
2468 libs/Smarty_Compiler.class.php:
2469 better caching of attributes for $cacheable=false-plugins
2470
2471 * docs/programmers.sgml:
2472 added section "caching.cacheable" to the docs, explaining the usage of
2473 the $cacheable-flag of the register_(block|compiler|function)-functions
2474
2475 * libs/Smarty_Compiler.class.php:
2476 fixed output of custom-functions with cached attributes
2477
2478 * docs/programmers.sgml:
2479 docs update on callbacks to the register_*-functions
2480
24812003-08-06 Messju Mohr <messju@lammfellpuschen.de>
2482
2483 * NEWS
2484 libs/Smarty.class.php
2485 libs/Smarty_Compiler.class.php
2486 libs/core/core.process_compiled_include.php:
2487 added optional parameter $cache_attrs to register_function() and
2488 register_block(). $cache_attrs is an array containing attribute- names
2489 that should be cached on calls to functions that have $cacheable set
2490 to false.
2491
2492 * libs/Smarty.class.php:
2493 fixed bug in _run_mod_handler
2494
2495 * libs/Smarty_Compiler.class.php:
2496