Uwe Tews
42a292d56a
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1
)
2017-10-26 04:18:28 +02:00
Uwe Tews
1e787d08f1
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-26 03:38:27 +02:00
Uwe Tews
beaa293eb3
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205
)
2017-10-26 03:37:40 +02:00
Uwe Tews
f7a5316205
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-22 03:38:10 +02:00
uwetews
0a8e47ecb2
- improvement move often used code snippets into methods
2016-09-11 04:35:52 +02:00
uwetews
2003020df9
- bugfix remove constant DS as shortcut for DIRECTORY_SEPARATOR as the user may have defined it to something else https://github.com/smarty-php/smarty/issues/277
2016-08-23 08:03:39 +02:00
uwetews
f39e61762c
- bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246
2016-07-19 03:37:01 +02:00
uwetews
6ef0d0eaa0
- optimization and cleanup of resource code
2016-05-15 11:13:31 +02:00
uwetews
1fbf16afed
- optimization of inheritance processing
2016-05-10 03:54:56 +02:00
uwetews
f1b3662b28
- bugfix same relative filepath at {include} called from template in different folders could display wrong sub-template
2016-05-01 23:53:38 +02:00
uwetews
4815464b9c
- optimization of resource processing
2016-03-10 22:22:46 +01:00
uwetews
b04486a091
- reformat all code for unique style
2016-02-09 01:27:15 +01:00
uwetews
efaa61cfb6
- optimization improve speed of filetime checks on extends and extendsall resource
2015-12-21 02:18:27 +01:00
uwetews
abdb335b26
- fix comment
2015-10-24 05:17:17 +02:00
uwetews
56a884a428
- optimize autoloader
2015-09-14 23:02:59 +02:00
uwetews
6a26393099
- optimize rendering
2015-08-23 01:26:46 +02:00
uwetews
e8252906ba
- make sure that property value is set
2015-08-17 22:27:41 +02:00
Uwe Tews
35c7e9767d
remove unneeded properties
2015-08-06 19:05:11 +02:00
Uwe Tews
b1fdc085e7
- optimization get rid of __get and __set in source object
2015-07-06 03:25:03 +02:00
Uwe Tews
d7b0b57420
- optimization of resource class loading
2015-05-08 06:02:59 +02:00
Uwe Tews
f14f2dcc6f
- bugfix Smarty_Resource::parseResourceName incompatible with Google AppEngine ( https://github.com/smarty-php/smarty/issues/22 )
2015-05-04 22:44:29 +02:00
Uwe Tews
8082bc7471
get rid of smarty object self pointer
2015-02-15 01:45:37 +01:00
Uwe Tews
f93cfc63ad
get rid of reference parameter
2015-02-14 21:57:42 +01:00
Uwe Tews
c3aa9994c8
rework source resource handling
...
- move class Smarty_Template_Source into its own file
- impelement all source processing into the classes it better belongs to
2015-01-01 23:34:29 +01:00
Uwe Tews
bc13ebbc9b
-bugfix and enhancement on subtemplate {include} and template {function} tags.
...
* Calling a template which has a nocache section could fail if it was
called from a cached and a not cached subtemplate.
* Calling the same subtemplate cached and not cached with the
$smarty->merge_compiled_includes enabled could cause problems
* Many smaller related changes
2014-11-01 22:42:34 +01:00
Uwe.Tews@googlemail.com
425091a19f
- fixed spelling, PHPDoc , minor errors, code cleanup
2014-06-06 02:40:04 +00:00
Uwe.Tews@googlemail.com
c3e6823f5d
- bugfix notice "Trying to get property of non-object" removed (Issue 163)
2013-10-28 23:53:01 +00:00
Uwe.Tews@googlemail.com
fccd80818b
- bugfix yesterdays fix could result in an undefined variable
2013-10-14 07:47:49 +00:00
Uwe.Tews@googlemail.com
c3994f4006
.- bugfix relative includes with same name like {include './foo.tpl'} from different folder failed (forum topic 24590)(Issue 161)
2013-10-13 17:49:38 +00:00
Uwe.Tews@googlemail.com
953f6f5a14
- improvement on performance when using error handler and multiple template folders (issue 152)
2013-10-01 18:56:49 +00:00
Uwe.Tews@googlemail.com
3ad903ad21
- bugfix the internal resource cache did not observe config_dir changes (forum topic 24493)
2013-08-13 20:54:59 +00:00
Uwe.Tews@googlemail.com
584886cb1c
- update code generated by PSR-2 standards fixer which introduced PHP 5.4 incompatibilities of 14.7.2013
2013-07-15 18:18:28 +00:00
Uwe.Tews@googlemail.com
00ccae8857
- update for PHP 5.4 compatibility
...
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +00:00
Uwe.Tews@googlemail.com
917f92d38b
- bugfix Do not remove '//' from file path at normalization (Issue 142)
2013-07-12 00:16:43 +00:00
Uwe.Tews@googlemail.com
b0b2c0e86d
17.06.2013
...
- fixed spelling in sources and documentation (from smarty-developers forum Veres Lajos)
2013-06-17 12:34:10 +00:00
rodneyrehm
9ef8d6045f
bugfix resolving relative paths broke in some circumstances (Issue #114 )
2012-08-31 19:39:28 +00:00
rodneyrehm
a37492e04a
bugfix fetch() and display() with relative paths (Issue 104)
2012-06-07 12:54:02 +00:00
uwe.tews@googlemail.com
179c62e4ef
- bugfix add compile_id to cache key of of source (Issue 97)
2012-05-24 17:03:31 +00:00
rodneyrehm
e91ee4c5ec
improved include_path resolving
2012-02-06 20:45:10 +00:00
uwe.tews@googlemail.com
e439c13a3e
- bugfix the source exits flag and timestamp was not setup when temple is in php include path (issue 69)
2011-12-16 17:00:51 +00:00
rodneyrehm
0fb537aed2
- bugfix Smarty_Resource::load() did not always return a proper resource handler (Forum Topic 20414)
2011-11-16 08:25:33 +00:00
rodneyrehm
131553272a
- bugfix Smarty_Resource and Smarty_CacheResource runtime caching (Forum Post 75264)
...
www.smarty.net/forums/viewtopic.php?p=75264#75264
2011-10-15 10:46:03 +00:00
rodneyrehm
8a82d84861
- add locking to custom resources (Forum Post 75252)
...
this is a potentially dirty commit
2011-10-14 16:17:27 +00:00
rodneyrehm
ef3e29daa7
- bugfix unique_resource did not properly apply to compiled resources (Forum Topic 20128)
2011-10-14 09:31:09 +00:00
rodneyrehm
81c068dc3a
f***ing phpunit now doing what it's supposed to.
2011-10-13 15:36:35 +00:00
rodneyrehm
6979b4efb0
- add concept unique_resource to combat potentially ambiguous template_resource values when custom resource handlers are used (Forum Topic 2012)
...
http://www.smarty.net/forums/viewtopic.php?t=2012
thereby DRYed and optimized the resource handler identification method.
2011-10-13 13:10:06 +00:00
rodneyrehm
3b006ae5a1
- add caching for config files in Smarty_Resource
...
(not really sure why this wasn't implemented yet?!) If we removed this (for some reason) we should've made a note of it in the code...
2011-10-13 09:50:55 +00:00
uwe.tews@googlemail.com
12e8593760
- improvement add internal $joined_template_dir property instead computing it on the fly several times
2011-10-03 19:02:44 +00:00
rodneyrehm
aff7c6a0ab
- improvement replaced most in_array() calls by more efficient isset() on array_flip()ed haystacks
...
- added notes on possible performance optimization/problem with Smarty_Security
2011-10-01 18:10:48 +00:00
rodneyrehm
d0228e96ea
- removed internal muteExpectedErrors() calls in favor of having the implementor call this once from his application
...
- optimized muteExpectedErrors() to pass errors to the latest registered error handler, if appliccable
error muting is now a global thing. this was done because of the overhead set_error_handler imposes and the fact, that only a few people really "need" this.
The decision was made by uwe.tews and rodneyrehm. (just in case anyone asks…)
2011-09-24 12:56:52 +00:00