Commit Graph

4978 Commits

Author SHA1 Message Date
Simon Wisselink
3232277bc5 Fix warning when calling hasVariable for an undefined variable (#978)
Fixes #977
2024-03-29 23:32:49 +01:00
Simon Wisselink
bbd09c7bfa Merge branch 'release/5.0.2' into support/5 v5.0.2 2024-03-28 11:23:18 +01:00
Simon Wisselink
52dc8adafb version bump 2024-03-28 11:23:16 +01:00
Simon Wisselink
6f054ecc2f Fix Smarty::assign() not returning when called with an array as first parameter. (#973)
Fixes #972
2024-03-28 11:22:29 +01:00
Simon Wisselink
4fec27ccc2 fix release tooling to support/5 branch v5.0.1 2024-03-27 23:05:16 +01:00
Simon Wisselink
fea0d02d99 version bump 2024-03-27 23:03:40 +01:00
Simon Wisselink
4efa427a87 Fix missing and bogus use lines in src/Smarty.php. (#970) 2024-03-27 22:55:23 +01:00
Wim Wisselink
30b1c5bf6d Deprecation fix for providing a non string value to ctype_digit (#960) 2024-03-27 22:55:23 +01:00
Markus Frühauf
3f871f9f7a Fix docblock information after Smarty 5 namespace changes (#968) 2024-03-27 22:55:23 +01:00
Simon Wisselink
e161babbd4 Merge branch 'release/5.0.0' v5.0.0 2024-03-25 12:28:59 +01:00
Simon Wisselink
f8e63fc480 version bump 2024-03-25 12:28:42 +01:00
Simon Wisselink
82397ec7f0 Fixed that scoped variables would overwrite parent scope. (#954)
* Fixed that scoped variables would overwrite parent scope.
Fixes #952

* Moved variable stack maintenance to methods and private properties in Data class.
2024-03-15 16:10:27 +01:00
Simon Wisselink
17da1f585e Fix Too many shorthand attributes error when using a modifier as a function with more than 3 parameters in an expression (#953)
Fixes #949
2024-03-15 10:26:17 +01:00
Simon Wisselink
293bc20db0 fix release tooling to auto-delete changelog files 2024-02-26 14:59:35 +01:00
Simon Wisselink
818b96ffbd re-order changelog 2024-02-26 14:38:31 +01:00
Simon Wisselink
7b5ec8a065 Merge branch 'release/5.0.0-rc3' v5.0.0-rc3 2024-02-26 14:36:56 +01:00
Simon Wisselink
4af5cc760d version bump 2024-02-26 14:36:56 +01:00
Simon Wisselink
41d80b99ac Implemented support for substr, implode and json_encode as modifiers. (#940)
* Implemented support for substr, implode and json_encode as modifiers. Fixes #939
* Added split and join in favor of explode and implode modifiers.
* Documented all available modifiers
2024-02-26 14:35:19 +01:00
Simon Wisselink
2b0ba0eabc Add template path to CompilerException to enable rich debug features (#936)
* Add template path to CompilerException to enable rich debug features
Fixes #935
2024-02-24 23:36:06 +01:00
Simon Wisselink
66edb56911 Fix PHP version for one of the local test runners. 7.4 was tested twice, 7.3 never. 2024-02-18 23:06:29 +01:00
Simon Wisselink
15e48b6af3 Merge branch 'wxiaoguang-fix-escape-5.0' 2024-02-05 14:11:44 +01:00
Simon Wisselink
d5adea5863 added changelog 2024-02-05 14:11:16 +01:00
Simon Wisselink
8041d0a4e8 fixed ocumentation on {if is even by } syntax 2024-02-05 14:09:44 +01:00
Simon Wisselink
94d9861d29 added Link to variable scope page in the documentation for the assign tag
Fixes #878
2024-02-05 14:09:44 +01:00
Simon Wisselink
63ff7d81e0 Explain escaping and auto-escaping in the docs.
Fixes #865
2024-02-05 14:09:44 +01:00
Simon Wisselink
e6b6a0cbb2 Add backlink to GitHub 2024-02-05 14:09:44 +01:00
Simon Wisselink
0912124c33 fixed ocumentation on {if is even by } syntax 2024-02-03 00:05:38 +01:00
Simon Wisselink
c0306d9942 added Link to variable scope page in the documentation for the assign tag
Fixes #878
2024-02-02 23:16:51 +01:00
Simon Wisselink
3fff0813e8 Explain escaping and auto-escaping in the docs.
Fixes #865
2024-02-02 23:10:47 +01:00
Simon Wisselink
3714d9ad8d Add backlink to GitHub 2024-02-02 22:42:54 +01:00
wxiaoguang
1820e875dc fix escape 2024-01-26 15:44:59 +08:00
Simon Wisselink
a112c7446c Update php version number in docs 2024-01-23 11:49:33 +01:00
Simon Wisselink
aab7f3db71 Add php8.3 support (#926)
Fixes #925
2024-01-23 10:39:00 +01:00
Simon Wisselink
08c90664f0 Fixed failing {debug} tag. (#923)
Fixes #922
2024-01-01 22:41:09 +01:00
Marc Laporte
f2a66365de Use the official name (#921) 2023-12-22 00:18:55 +01:00
Simon Wisselink
c338585791 add comments to ExtensionInterface to help developers with creating their own Extensions 2023-12-01 23:08:37 +01:00
Simon Wisselink
c011891247 add compile_dir > setCompileDir to changelog and upgrade instructions 2023-12-01 22:41:46 +01:00
Simon Wisselink
6ca6f72750 Removed doubled line doing strtolower 2023-12-01 20:11:33 +01:00
Simon Wisselink
39c150ae58 Added Upgrade instructions to docs 2023-11-29 13:30:13 +01:00
Simon Wisselink
58991f3f63 Merge branch 'release/5.0.0-rc2' 2023-11-11 20:27:27 +01:00
Simon Wisselink
4038fa615b version bump 2023-11-11 20:27:25 +01:00
Simon Wisselink
198338e2a2 Fix make-release script for MacOS 2023-11-11 20:26:29 +01:00
Simon Wisselink
bc4e70f2c0 Do not auto-html-escape custom function results. (#908)
Fixes #906
v5.0.0-rc2
2023-11-06 17:36:05 +01:00
Simon Wisselink
b28b85dbf4 Add support for MacOS test running using mutagen-compose. 2023-11-06 13:22:07 +01:00
Shad
ad73f4943b Typos in documentation (#914) 2023-10-28 16:41:10 +02:00
Simon Wisselink
4d22803c32 changelog 2023-10-22 23:56:37 +02:00
Simon Wisselink
9ee3cce380 Added some extra unit test 2023-10-22 23:55:07 +02:00
Simon Wisselink
babec0f29b add case sensitivity test 2023-10-22 23:51:47 +02:00
Jack Dane
212bf88eb2 Fix case-sensitive tag names (#907) (#910)
* Don't lower tags until they are used for extensions so custom tags can be case-sensitive.
2023-10-22 23:49:46 +02:00
Simon Wisselink
26332c9de4 Remove docs generation from makefile so and add a CONTRIBUTING.md 2023-09-14 14:50:04 +02:00