Commit Graph

5041 Commits

Author SHA1 Message Date
Simon Wisselink
1b72de9c74 Fix syntax error occurring when registering a function plugin that ends with the string 'close'
Fixes #1122
2025-04-10 23:42:07 +02:00
Simon Wisselink
a0664a4ab2 Added funding options 2025-04-10 22:39:35 +02:00
Simon Wisselink
a4b8466205 Added unit tests to prevent regressions of issue #1100 that was fixed in v4 2025-02-13 23:20:05 +01:00
Simon Wisselink
5d1ea5806a change SMARTY_VERSION to $smarty.version.
Fixes #1073
2024-12-28 17:40:25 +01:00
Simon Wisselink
ab247c723b Add upgrading remarks on magic APi methods.
Fixes #979
2024-12-27 23:37:21 +01:00
Simon Wisselink
fb997111f4 Add note to docs about plugins that expect parameters by reference 2024-12-27 23:08:17 +01:00
Simon Wisselink
c6bff57950 Merge branch 'release/5.4.3' v5.4.3 2024-12-23 01:38:44 +01:00
Simon Wisselink
07faafe4da version bump 2024-12-23 01:38:41 +01:00
Simon Wisselink
295b7fb582 move to official php8.4 image for unit testing in CI 2024-12-23 01:34:55 +01:00
Simon Wisselink
cf9de567c1 Restore special handling of isset and empty as it was in v4. Fixes #1063 (#1093)
* Restore special handling of isset and empty as it was in v4. Fixes #1063
2024-12-23 01:29:07 +01:00
Simon Wisselink
f47ac761af replace/qualify call_user_func_array. (#1083)
Fixes #1074
2024-11-20 23:05:14 +01:00
Simon Wisselink
642a97adcc Merge branch 'release/5.4.2' v5.4.2 2024-11-20 22:18:16 +01:00
Simon Wisselink
3bba3ff5e9 version bump 2024-11-20 22:18:13 +01:00
Simon Wisselink
b3b43af816 Add to changelog 2024-11-20 22:18:03 +01:00
Wim Wisselink
1b06b37db2 Add PHP 8.4 support to Smarty (#1043) 2024-11-20 15:59:26 +01:00
Simon Wisselink
a1b4c9c551 Add unit tests for short hand template function definition and shorthand template function calls. 2024-10-06 22:06:39 +02:00
Simon Wisselink
cd58df7a26 Merge branch 'release/5.4.1' v5.4.1 2024-08-30 01:10:45 +02:00
Simon Wisselink
70ed68ff5b version bump 2024-08-30 01:10:42 +02:00
Simon Wisselink
598ccde435 Changelog 2024-08-29 00:09:43 +02:00
Atsushi Matsuo
cb09fda90d Update a workflow file for GitHub Actions to test on Windows (#1046) 2024-08-28 23:56:51 +02:00
Atsushi Matsuo
c8f1853bfe Modify NullCoalescingTest.php and TernaryTest.php to prevent test failure on Windows (#1059) 2024-08-28 23:16:04 +02:00
Atsushi Matsuo
2f781e2e65 Fix unit tests to enable to run CacheResourceFileTest.php on Windows (#1055) 2024-08-28 23:15:57 +02:00
Atsushi Matsuo
30c6ee64ab Fix an issue that preventing the use of "extends:" to define the inheritance tree on Windows (#1056) 2024-08-28 23:09:34 +02:00
Simon Wisselink
fd90f7eac9 Merge branch 'release/5.4.0' v5.4.0 2024-08-14 22:00:44 +02:00
Simon Wisselink
77b91a072b version bump 2024-08-14 22:00:42 +02:00
Simon Wisselink
9ede0e40fa changelog 2024-08-14 22:00:15 +02:00
Stephan Lueckl
1ccfca17d6 Fixing forced OpCache invalidation on every template include, which is resulting in fast raising wasted OpCache memory #1007 (#1047)
* Fixing forced OpCache Invalidation on every call, which is resulting in fast raising wasted memory
* Fix undefined $path variable warning
---------

Co-authored-by: Daniel Metzner <daniel.metzner@niceshops.com>
2024-08-14 21:58:51 +02:00
Shad
d6153d4d4d add missing closing tr tag (#1039) 2024-07-01 16:38:18 +02:00
Amaury Bouchard
2289fa69f1 Improvement of auto-escaping (#1030)
* Evolution of auto-escaping: no double-escaping when using the 'escape' modifier; add the 'force' mode to the 'escape' modifier; add the 'raw' modifier.
* Add 'raw' modifier's documentation
---------

Co-authored-by: Simon Wisselink <s.wisselink@iwink.nl>
2024-06-30 13:25:30 +02:00
Simon Wisselink
3cb3585432 Merge branch 'release/5.3.1' v5.3.1 2024-06-16 21:51:13 +02:00
Simon Wisselink
a2193eb4cf version bump 2024-06-16 21:51:11 +02:00
Simon Wisselink
8ecde47203 fixed error when using section with nocache.
Fixes #1034
2024-06-16 21:48:14 +02:00
Simon Wisselink
b978cb348e add smarty logo svg for future use 2024-06-16 21:36:57 +02:00
Simon Wisselink
353ca06d07 Merge branch 'release/5.3.0' v5.3.0 2024-05-30 13:14:56 +02:00
Simon Wisselink
20c08ac40d version bump 2024-05-30 13:14:54 +02:00
Simon Wisselink
4aa1273a80 Merge branch 'support/5' 2024-05-30 13:11:33 +02:00
Simon Wisselink
2a87c65994 implemented and documented prependTemplateDir. (#1025) 2024-05-29 15:32:47 +02:00
Simon Wisselink
cdee97d3f1 Merge branch 'release/5.2.0' v5.2.0 2024-05-28 23:45:16 +02:00
Simon Wisselink
06d6a5efd9 version bump 2024-05-28 23:45:14 +02:00
Simon Wisselink
0be92bc8a6 Merge pull request from GHSA-4rmg-292m-wg3w 2024-05-28 22:44:30 +02:00
Simon Wisselink
61db287b8f Scottchiefbaker/master (#1019)
* Add a PSR-4 loading script to allow Smarty to be used without Composer
authored-by: Scott Baker <scott@perturb.org>
2024-05-24 00:21:02 +02:00
Simon Wisselink
3293a873bd Remove unused attributes from config_load (#1004)
fixes #993
2024-04-29 10:01:40 +02:00
Simon Wisselink
8d53d3cbf2 Merge branch 'release/5.1.0' v5.1.0 2024-04-23 00:22:15 +02:00
Simon Wisselink
47c4864dd1 version bump 2024-04-23 00:22:13 +02:00
Simon Wisselink
f411247aa1 Prevent notices on null to string conversion in Template::appendCode (#1002)
Fixes #996
2024-04-19 11:14:07 +02:00
Simon Wisselink
9a8702d937 Corrected invalid classnames in Runtime code for foreach (#1001)
Fixes #1000
2024-04-19 10:42:54 +02:00
Simon Wisselink
5ee4363000 Fix change in signature of getTemplateVars (#995) 2024-04-13 16:53:05 +02:00
kynx
77c0b74e3b Fix docblock types (#992) 2024-04-11 20:31:30 +02:00
Simon Wisselink
34adf4e54c Fixed unit tests to not rely on the existence of any domain or unavailability of internet access when running tests. (#987) 2024-04-06 23:41:20 +02:00
Simon Wisselink
5400b53edf Revert "fix release tooling to support/5 branch"
This reverts commit 569cef71d0.
2024-04-05 22:40:31 +02:00