mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-02 09:24:28 +02:00
Commit Graph
Select branches
Hide Pull Requests
1000_fix_referencing_native_php_classes_in_global_namespace
1022_prependtemplatedir
1028_avoid_deprecation_notice_when_using_class_constants
420upd
633_nullsafe_operator
777-second-parameter-for-unescape-modifier-not-working
777-second-parameter-for-unescape-modifier-not-working-3.1
937_containment_operators
949_too_many_shorthand_attributes
952_scoped_variables_overwriting_parent_scope
966_error_in_compilealltemplates
972_assign_returned_this
977_warning_in_hasvariable
979_setErrorUnassigned
993_remove_unused_attributes_from_config_load_and_docs
994_getTemplateVars_returns_objects
996_prevent_notices_on_null_to_string_conversion_in_appendcode
AnrDaemon-fix-issue-549-v3
AnrDaemon-fix-issue-549-v4
JonisoftGermany-master
Smarty2
bugfix/1100_modifier_called_like_a_function_compiled_to_modifier_name_not_callback
bugfix/1122_handle_function_plugins_ending_in_close
bugfix/498_error_in_replacing_isset_with_null_check
bugfix/699
bugfix/702
bugfix/706
bugfix/caching_attributes_and_cacheable_plugin
bugfix/do_not_use_obsolete_smarty_properties
bugfix/error_on_array_key_access_when_var_is_false
bugfix/fix-lexer-sources
bugfix/fix_undefined_property_warnings
bugfix/inline_include_string_template_crash
bugfix/mute_errors_for_php7_too
bugfix/rand_without_param_v3
bugfix/rand_without_param_v4
bugfix/silence_strftime_notices
bugfix/strip_doesnt_remove_whitespaces_after_comment
bugfix/strip_doesnt_remove_whitespaces_after_comment_2
bugfix/strip_tags_php81
bugfix/template_object_sandbox_escape
bugfix/tplfunction_sandbox_escape
bugfix/underscore_in_template_name
clean_output_buffer_for_all_throwables_v4
count_not_deprecated
deprecate_php_functions_as_modifiers
deprecate_stream_variables
experimental_compile_check_optimization
feature/add_docs
feature/dereferencing_of_non_objects
feature/do_not_use_at_suppression_for_default_modifier
feature/fix_file_perms_and_respect_umask
feature/improve_docs_markdown
feature/local_testrunners_using_docker
feature/merge_smarty-phpunit_into_tests_subfolder
feature/php-8.1
feature/php8-supporrt
feature/php8-support
feature/php83support
features/docs
features/php83support_43
feaure/add_lexer_source_to_export_for_package_maintainers
feauture/run_unit_tests_for_php_5
fix_phpunit_expectedexceptions
gh-pages
i155-fix
issue/1063
issue866
issue907
issue_1074
issue_876
issue_890
issue_895
issue_895_43
issue_906
issue_922
issue_935_template_path_in_compilerexception
issue_939_for_smarty4
issue_939_support_implode_substr_json_encode
js_escape_security_fix
js_escape_security_fix_31
m-haritonov-escape
master
mfettig-php81-deprecations
patch-1
php82
php85_support
remove_has_code_flag
remove_references_to_smarty.net
reorganize_testrunners
scottchiefbaker/master
security/blockfunctioninjection
security/blockfunctioninjection_v3
security/static_classes
smarty5
smarty5_codeframes
smarty5_new_codeframes
support/2.6
support/3.1
support/4
support/5
support/smarty3
variables_by_reference_964
warn_when_using_unregistered_function
wisskid-fixing-ci-patch-1
wxiaoguang-fix-escape-5.0
wxiaoguang-fix-escape-5.0-for4.3
xorti-fix-error-handler-function
#1001
#1002
#1004
#1016
#1016
#1017
#1019
#1020
#1025
#1030
#1039
#1040
#1040
#1043
#1046
#1047
#1049
#1049
#105
#105
#1050
#1051
#1054
#1055
#1056
#1059
#1060
#1060
#1067
#1071
#1071
#1083
#1084
#1088
#1088
#109
#1093
#1101
#1111
#1113
#1115
#1115
#1116
#1117
#1124
#1126
#1127
#1127
#1128
#1130
#1130
#1132
#1135
#1135
#1138
#1138
#117
#12
#126
#127
#129
#13
#138
#138
#141
#156
#181
#181
#185
#188
#195
#195
#2
#2
#202
#202
#21
#21
#217
#217
#222
#226
#226
#244
#244
#249
#249
#252
#252
#263
#283
#283
#287
#287
#295
#3
#3
#30
#31
#31
#32
#320
#322
#324
#324
#329
#329
#331
#337
#338
#338
#343
#343
#345
#345
#348
#349
#352
#352
#354
#356
#356
#357
#357
#361
#362
#362
#363
#363
#368
#368
#372
#372
#377
#379
#379
#38
#38
#382
#398
#398
#399
#399
#4
#4
#401
#401
#402
#402
#408
#408
#409
#409
#410
#410
#412
#412
#414
#414
#416
#416
#423
#424
#432
#438
#438
#442
#442
#448
#448
#452
#458
#458
#461
#461
#462
#469
#472
#472
#473
#473
#475
#475
#477
#481
#481
#482
#482
#483
#483
#492
#492
#494
#5
#503
#505
#507
#509
#515
#522
#527
#531
#532
#535
#540
#542
#544
#546
#551
#560
#563
#565
#566
#567
#569
#569
#570
#571
#572
#573
#579
#580
#581
#582
#583
#585
#585
#586
#589
#590
#591
#592
#596
#598
#599
#6
#600
#604
#608
#61
#61
#614
#616
#618
#625
#626
#627
#627
#629
#636
#637
#643
#644
#645
#646
#647
#649
#65
#65
#650
#651
#651
#652
#652
#653
#664
#665
#667
#668
#678
#681
#687
#689
#69
#690
#694
#7
#701
#704
#708
#709
#71
#711
#713
#714
#715
#716
#717
#718
#720
#722
#724
#725
#726
#727
#73
#73
#730
#730
#735
#740
#743
#745
#747
#75
#75
#751
#755
#766
#770
#771
#772
#775
#778
#779
#781
#782
#787
#788
#795
#796
#797
#798
#8
#801
#802
#803
#804
#807
#808
#811
#812
#814
#817
#821
#828
#829
#830
#832
#834
#835
#835
#838
#840
#851
#852
#854
#856
#856
#857
#857
#860
#860
#870
#871
#880
#891
#892
#893
#9
#902
#903
#904
#908
#910
#914
#918
#921
#923
#926
#927
#930
#932
#933
#936
#940
#942
#95
#953
#954
#955
#96
#960
#968
#970
#972
#973
#978
#982
#982
#984
#985
#986
#986
#987
#992
#995
checkout
v2.6.24
v2.6.25
v2.6.26
v2.6.27
v2.6.28
v2.6.29
v2.6.30
v2.6.31
v2.6.32
v2.6.33
v3.1.11
v3.1.12
v3.1.13
v3.1.14
v3.1.15
v3.1.16
v3.1.17
v3.1.18
v3.1.19
v3.1.20
v3.1.21
v3.1.23
v3.1.24
v3.1.25
v3.1.26
v3.1.27
v3.1.28
v3.1.29
v3.1.30
v3.1.31
v3.1.32
v3.1.33
v3.1.34
v3.1.35
v3.1.36
v3.1.37
v3.1.37.1
v3.1.38
v3.1.39
v3.1.40
v3.1.41
v3.1.42
v3.1.43
v3.1.44
v3.1.45
v3.1.46
v3.1.47
v3.1.48
v4.0.0
v4.0.0-rc.0
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.1.0
v4.1.1
v4.2.0
v4.2.1
v4.3.0
v4.3.1
v4.3.2
v4.3.3
v4.3.4
v4.3.5
v4.4.0
v4.4.1
v4.5.0
v4.5.1
v4.5.2
v4.5.3
v4.5.4
v4.5.5
v5.0.0
v5.0.0-rc1
v5.0.0-rc2
v5.0.0-rc3
v5.0.1
v5.0.2
v5.1.0
v5.2.0
v5.3.0
v5.3.1
v5.4.0
v5.4.1
v5.4.2
v5.4.3
v5.4.4
v5.4.5
v5.5.0
v5.5.1
Select branches
Hide Pull Requests
1000_fix_referencing_native_php_classes_in_global_namespace
1022_prependtemplatedir
1028_avoid_deprecation_notice_when_using_class_constants
420upd
633_nullsafe_operator
777-second-parameter-for-unescape-modifier-not-working
777-second-parameter-for-unescape-modifier-not-working-3.1
937_containment_operators
949_too_many_shorthand_attributes
952_scoped_variables_overwriting_parent_scope
966_error_in_compilealltemplates
972_assign_returned_this
977_warning_in_hasvariable
979_setErrorUnassigned
993_remove_unused_attributes_from_config_load_and_docs
994_getTemplateVars_returns_objects
996_prevent_notices_on_null_to_string_conversion_in_appendcode
AnrDaemon-fix-issue-549-v3
AnrDaemon-fix-issue-549-v4
JonisoftGermany-master
Smarty2
bugfix/1100_modifier_called_like_a_function_compiled_to_modifier_name_not_callback
bugfix/1122_handle_function_plugins_ending_in_close
bugfix/498_error_in_replacing_isset_with_null_check
bugfix/699
bugfix/702
bugfix/706
bugfix/caching_attributes_and_cacheable_plugin
bugfix/do_not_use_obsolete_smarty_properties
bugfix/error_on_array_key_access_when_var_is_false
bugfix/fix-lexer-sources
bugfix/fix_undefined_property_warnings
bugfix/inline_include_string_template_crash
bugfix/mute_errors_for_php7_too
bugfix/rand_without_param_v3
bugfix/rand_without_param_v4
bugfix/silence_strftime_notices
bugfix/strip_doesnt_remove_whitespaces_after_comment
bugfix/strip_doesnt_remove_whitespaces_after_comment_2
bugfix/strip_tags_php81
bugfix/template_object_sandbox_escape
bugfix/tplfunction_sandbox_escape
bugfix/underscore_in_template_name
clean_output_buffer_for_all_throwables_v4
count_not_deprecated
deprecate_php_functions_as_modifiers
deprecate_stream_variables
experimental_compile_check_optimization
feature/add_docs
feature/dereferencing_of_non_objects
feature/do_not_use_at_suppression_for_default_modifier
feature/fix_file_perms_and_respect_umask
feature/improve_docs_markdown
feature/local_testrunners_using_docker
feature/merge_smarty-phpunit_into_tests_subfolder
feature/php-8.1
feature/php8-supporrt
feature/php8-support
feature/php83support
features/docs
features/php83support_43
feaure/add_lexer_source_to_export_for_package_maintainers
feauture/run_unit_tests_for_php_5
fix_phpunit_expectedexceptions
gh-pages
i155-fix
issue/1063
issue866
issue907
issue_1074
issue_876
issue_890
issue_895
issue_895_43
issue_906
issue_922
issue_935_template_path_in_compilerexception
issue_939_for_smarty4
issue_939_support_implode_substr_json_encode
js_escape_security_fix
js_escape_security_fix_31
m-haritonov-escape
master
mfettig-php81-deprecations
patch-1
php82
php85_support
remove_has_code_flag
remove_references_to_smarty.net
reorganize_testrunners
scottchiefbaker/master
security/blockfunctioninjection
security/blockfunctioninjection_v3
security/static_classes
smarty5
smarty5_codeframes
smarty5_new_codeframes
support/2.6
support/3.1
support/4
support/5
support/smarty3
variables_by_reference_964
warn_when_using_unregistered_function
wisskid-fixing-ci-patch-1
wxiaoguang-fix-escape-5.0
wxiaoguang-fix-escape-5.0-for4.3
xorti-fix-error-handler-function
#1001
#1002
#1004
#1016
#1016
#1017
#1019
#1020
#1025
#1030
#1039
#1040
#1040
#1043
#1046
#1047
#1049
#1049
#105
#105
#1050
#1051
#1054
#1055
#1056
#1059
#1060
#1060
#1067
#1071
#1071
#1083
#1084
#1088
#1088
#109
#1093
#1101
#1111
#1113
#1115
#1115
#1116
#1117
#1124
#1126
#1127
#1127
#1128
#1130
#1130
#1132
#1135
#1135
#1138
#1138
#117
#12
#126
#127
#129
#13
#138
#138
#141
#156
#181
#181
#185
#188
#195
#195
#2
#2
#202
#202
#21
#21
#217
#217
#222
#226
#226
#244
#244
#249
#249
#252
#252
#263
#283
#283
#287
#287
#295
#3
#3
#30
#31
#31
#32
#320
#322
#324
#324
#329
#329
#331
#337
#338
#338
#343
#343
#345
#345
#348
#349
#352
#352
#354
#356
#356
#357
#357
#361
#362
#362
#363
#363
#368
#368
#372
#372
#377
#379
#379
#38
#38
#382
#398
#398
#399
#399
#4
#4
#401
#401
#402
#402
#408
#408
#409
#409
#410
#410
#412
#412
#414
#414
#416
#416
#423
#424
#432
#438
#438
#442
#442
#448
#448
#452
#458
#458
#461
#461
#462
#469
#472
#472
#473
#473
#475
#475
#477
#481
#481
#482
#482
#483
#483
#492
#492
#494
#5
#503
#505
#507
#509
#515
#522
#527
#531
#532
#535
#540
#542
#544
#546
#551
#560
#563
#565
#566
#567
#569
#569
#570
#571
#572
#573
#579
#580
#581
#582
#583
#585
#585
#586
#589
#590
#591
#592
#596
#598
#599
#6
#600
#604
#608
#61
#61
#614
#616
#618
#625
#626
#627
#627
#629
#636
#637
#643
#644
#645
#646
#647
#649
#65
#65
#650
#651
#651
#652
#652
#653
#664
#665
#667
#668
#678
#681
#687
#689
#69
#690
#694
#7
#701
#704
#708
#709
#71
#711
#713
#714
#715
#716
#717
#718
#720
#722
#724
#725
#726
#727
#73
#73
#730
#730
#735
#740
#743
#745
#747
#75
#75
#751
#755
#766
#770
#771
#772
#775
#778
#779
#781
#782
#787
#788
#795
#796
#797
#798
#8
#801
#802
#803
#804
#807
#808
#811
#812
#814
#817
#821
#828
#829
#830
#832
#834
#835
#835
#838
#840
#851
#852
#854
#856
#856
#857
#857
#860
#860
#870
#871
#880
#891
#892
#893
#9
#902
#903
#904
#908
#910
#914
#918
#921
#923
#926
#927
#930
#932
#933
#936
#940
#942
#95
#953
#954
#955
#96
#960
#968
#970
#972
#973
#978
#982
#982
#984
#985
#986
#986
#987
#992
#995
checkout
v2.6.24
v2.6.25
v2.6.26
v2.6.27
v2.6.28
v2.6.29
v2.6.30
v2.6.31
v2.6.32
v2.6.33
v3.1.11
v3.1.12
v3.1.13
v3.1.14
v3.1.15
v3.1.16
v3.1.17
v3.1.18
v3.1.19
v3.1.20
v3.1.21
v3.1.23
v3.1.24
v3.1.25
v3.1.26
v3.1.27
v3.1.28
v3.1.29
v3.1.30
v3.1.31
v3.1.32
v3.1.33
v3.1.34
v3.1.35
v3.1.36
v3.1.37
v3.1.37.1
v3.1.38
v3.1.39
v3.1.40
v3.1.41
v3.1.42
v3.1.43
v3.1.44
v3.1.45
v3.1.46
v3.1.47
v3.1.48
v4.0.0
v4.0.0-rc.0
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.1.0
v4.1.1
v4.2.0
v4.2.1
v4.3.0
v4.3.1
v4.3.2
v4.3.3
v4.3.4
v4.3.5
v4.4.0
v4.4.1
v4.5.0
v4.5.1
v4.5.2
v4.5.3
v4.5.4
v4.5.5
v5.0.0
v5.0.0-rc1
v5.0.0-rc2
v5.0.0-rc3
v5.0.1
v5.0.2
v5.1.0
v5.2.0
v5.3.0
v5.3.1
v5.4.0
v5.4.1
v5.4.2
v5.4.3
v5.4.4
v5.4.5
v5.5.0
v5.5.1
-
af316e661c
4.0.2 of smarty-lexer is released, use that
Simon Wisselink
2023-01-29 21:57:10 +01:00 -
1f4c0d4b11
Update ci.yml
wisskid-fixing-ci-patch-1
Simon Wisselink
2023-01-29 21:41:50 +01:00 -
e809746541
Update ci.yml
Simon Wisselink
2023-01-28 13:27:13 +01:00 -
1d95c5c948
Update ci.yml
Simon Wisselink
2023-01-28 13:14:19 +01:00 -
28377a26e9
WIP on creating new CodeFrames using nette
Simon Wisselink
2023-01-25 13:03:38 +01:00 -
8a2ed9446a
Update composer packages cache key
Simon Wisselink
2023-01-28 10:44:01 +01:00 -
39dad96601
Run make regardless of timestamps, so we are sure unit tests run with the generated PHP code, not with accidental human made changes to Lexer/Parser.
Simon Wisselink
2023-01-26 13:03:04 +01:00 -
c47756b489
Re-organized rendering (read source / compile / cache) process to avoid circular dependencies.
Simon Wisselink
2023-01-26 12:58:15 +01:00 -
047b73d4a1
Pushed Lexers/Parsers into VCS again in order to be able to deliver using Packagist/Composer
Simon Wisselink
2023-01-26 12:57:46 +01:00 -
cabcafc7ea
Fix smarty-lexer dependency for the time being (remove direct ref to github)
Simon Wisselink
2023-01-25 21:58:46 +01:00 -
a72f83d989
Fix smarty-lexer dependency for the time being
Simon Wisselink
2023-01-25 21:58:04 +01:00 -
9e2399b020
updated todo
Simon Wisselink
2023-01-25 17:00:12 +01:00 -
169cd924df
Re-organized rendering (read source / compile / cache) process to avoid circular dependencies. Deactivated merge_compiled_includes and the {include inline} attribute. They don't seem to do much in terms of performance, but we'll have to check back.
Simon Wisselink
2023-01-25 16:59:10 +01:00 -
d586f7555f
WIP on creating new CodeFrames using nette
smarty5_codeframes
Simon Wisselink
2023-01-25 13:03:38 +01:00 -
46dfed3837
Updated the changelog
Simon Wisselink
2023-01-24 22:45:35 +01:00 -
754db3b2e3
correct type of repository
Simon Wisselink
2023-01-24 16:31:46 +01:00 -
971c4d5158
Shouldnt need Github token now
Simon Wisselink
2023-01-24 16:18:36 +01:00 -
a8cf56e4f4
attempt to load smarty-lexer directly from zip file
Simon Wisselink
2023-01-24 16:18:09 +01:00 -
45de28107a
Update ci.yml
Simon Wisselink
2023-01-24 16:12:53 +01:00 -
79842c8baf
Update ci.yml
Simon Wisselink
2023-01-24 16:08:16 +01:00 -
0e380a1748
fixes in source files
Simon Wisselink
2023-01-24 16:05:38 +01:00 -
f53eb27450
Update ci.yml
Simon Wisselink
2023-01-24 15:56:26 +01:00 -
a5a15b8b1e
Update ci.yml
Simon Wisselink
2023-01-24 15:54:15 +01:00 -
262221f0b7
revise CI/CD workflows, bypass packagist for lexer
Simon Wisselink
2023-01-24 15:49:44 +01:00 -
344b3e3a31
Attempt to fix CI
Simon Wisselink
2023-01-24 13:59:17 +01:00 -
b798362871
Run composer install before online test run
Simon Wisselink
2023-01-24 12:57:01 +01:00 -
1a8ee6ebda
Merge branch 'master' into smarty5
Simon Wisselink
2023-01-24 12:53:58 +01:00 -
641678083b
Add TODO list
Simon Wisselink
2023-01-24 12:14:55 +01:00 -
ecfa4bfa16
Fixed getCachedContent
Simon Wisselink
2023-01-24 12:09:47 +01:00 -
9cc60f5e38
Convert isset and empty to modifiercomilers, and smooth the error handling to fix unit tests.
Simon Wisselink
2023-01-24 12:01:20 +01:00 -
431d77505f
Fixed all scope assignment bugs
Simon Wisselink
2023-01-24 10:16:00 +01:00 -
c5f555eed4
Drop a unit tests bc we no longer support direct access to PHP-functinos such as sin()
Simon Wisselink
2023-01-23 16:59:52 +01:00 -
2cf658c9c3
Fix function call compilation using {functionname} syntax for in-template defined functions.
Simon Wisselink
2023-01-23 16:56:42 +01:00 -
ecac24d073
Fixed bug in {include} variable assignment and removed some unused/unrequired code
Simon Wisselink
2023-01-23 16:40:27 +01:00 -
34a0a2876b
Fix major {include} bug
Simon Wisselink
2023-01-23 15:56:26 +01:00 -
3922c1eb1e
Fixed the {if} failures.
Simon Wisselink
2023-01-23 15:34:29 +01:00 -
68c59e6627
Fix all foreach unit tests
Simon Wisselink
2023-01-23 15:16:45 +01:00 -
ad2703dd75
Handle BC registered compilers and missed parameters for openTag and closeTag.
Simon Wisselink
2023-01-23 12:08:36 +01:00 -
f1c3ac4395
Fixed all inheritance issues
Simon Wisselink
2023-01-23 11:45:29 +01:00 -
7c02bb9a63
Fix inhertiance implementation for $smarty.block.child
Simon Wisselink
2023-01-23 08:47:49 +01:00 -
4bbe94f4e0
Removed the undocumented {block_parent} and {parent} alternatives to {$smarty.block.parent} and {block_child} and {child} alternatives to {$smarty.block.child}
Simon Wisselink
2023-01-22 23:01:05 +01:00 -
bdb379d8fb
Simply the "isFresh" method by not including the first param anymore. Fix a couple of unit tests by respecting tag_nocache set by nocache vars used in a tag.
Simon Wisselink
2023-01-22 22:44:45 +01:00 -
2d2d052557
Fix default plugin handler
Simon Wisselink
2023-01-21 00:03:08 +01:00 -
f1f3874780
Made exception msgs exactly the same again, fixing some unit tests
Simon Wisselink
2023-01-20 23:45:27 +01:00 -
4ea8838d3b
Fix testRegisterCompilerFunction by parsing argument correctly.
Simon Wisselink
2023-01-20 23:42:08 +01:00 -
03430c4f94
Fixed block append/prepend functionality
Simon Wisselink
2023-01-20 23:16:41 +01:00 -
2fbf67b32e
Moved handling of smarty.block.* to special compilers, because they aren't real tags. Organized tag-stack handling in compiler, unified nocache handling in compiler.
Simon Wisselink
2023-01-20 17:22:00 +01:00 -
390f34318d
Fixed cacheability of block plugins.
Simon Wisselink
2023-01-19 23:29:10 +01:00 -
27dd3e4c57
Fix function caching function name
Simon Wisselink
2023-01-19 22:35:03 +01:00 -
41c8bd3035
@var integer > @var int for vsCode
Simon Wisselink
2023-01-19 22:32:06 +01:00 -
38cad9723e
Fix searchParents parameter, fixing GetTemplateVarsTest
Simon Wisselink
2023-01-19 22:30:16 +01:00 -
5988116c81
PHP 8.1 deprecation warnings on null strings in modifiers (#834)
Adrien Poupa
2023-01-16 18:24:23 -05:00 -
f5b432dea4
Fixed scope in variable assignments in included and extended templates, fixed dependencies for testing freshness of caches. Added some unit tests and fixed a class reference to pass some more tests.
Simon Wisselink
2023-01-13 23:29:05 +01:00 -
b02061878f
Update test runners: no longer support PHP7.1, add PHP8.2
Simon Wisselink
2023-01-13 23:28:18 +01:00 -
73ff8fd3d0
Fix unit tests that broke because now is now in 2023
Simon Wisselink
2023-01-13 22:19:17 +01:00 -
d900a0ef4a
Added variable scope test for multi-level extends resource
Simon Wisselink
2023-01-13 19:23:12 +01:00 -
5c74dc4a83
Replaced a bunch of direct property access with getters/setters.
Simon Wisselink
2023-01-13 16:55:15 +01:00 -
3be63a3418
Removed unneeded magic setters/getters/destructors and the like.
Simon Wisselink
2023-01-13 15:56:25 +01:00 -
cdf1ed2a50
Simplified the (no)caching architecture by: - removing support for $cache_attrs for registered plugins, - removing the undocumented {make_nocache} tag and the deprecated {insert} tag and associated code - removing support for a compile_id property on include tags.
Simon Wisselink
2023-01-13 15:47:57 +01:00 -
e0f2c36d4d
converted 3 public properties on Template into getters/setters. unified Template creation code. Provided a getter/setter for the has_nocache_code property. Removed the useless DataObject class. Fixed a few tests. Removed the variable-allow-php-templates property from the docs.
Simon Wisselink
2023-01-13 00:04:08 +01:00 -
541f0821f0
Replace direct access to inheritance property on Template object by proper getter.
Simon Wisselink
2023-01-12 10:11:10 +01:00 -
536721d457
Removed the allowUndefinedVars check from the smarty error handlers, because undefined vars no longer throw an error, unless smarty->error_unassigned is set to true.
Simon Wisselink
2023-01-12 09:59:10 +01:00 -
577f910e49
removed phpplugin, removed now unused uncompiled handler and all checks for this, fixed a refactorbug in InheritanceRuntime. Moved getRenderedTemplateCode method to Smarty\Template. Renamed Cache en Compiled base class to GeneratedPhpFile for more clarity and distinction from Resource classes. Inlined Cached::create into its only caller. Some other minor improvements. Removed php7.1 CI tests.
Simon Wisselink
2023-01-11 23:33:12 +01:00 -
1fe5050a04
Fix configfile tests
Simon Wisselink
2023-01-11 13:05:42 +01:00 -
22ce23b47b
Made variable scoping more sensible
Simon Wisselink
2023-01-11 11:22:24 +01:00 -
ad245ccd0c
Fixed minor unit tests
Simon Wisselink
2023-01-11 00:00:07 +01:00 -
51075e0421
WIP fixing the complicated variables scopes architecture. Right now more tests are failing than before... :(
Simon Wisselink
2023-01-10 23:49:33 +01:00 -
3d10630510
WIP rewriting variable scopes
Simon Wisselink
2023-01-10 17:35:34 +01:00 -
5052ce0d88
WIP
Simon Wisselink
2023-01-10 14:54:21 +01:00 -
9651dafbce
WIP replacing direct access tpl_vars with proper getter/setters.
Simon Wisselink
2023-01-10 14:46:33 +01:00 -
b424657fd9
Fix bug in calling BC function handlers.
Simon Wisselink
2023-01-10 14:45:58 +01:00 -
9016dd9908
Added strlen function, fixing some unit tests
Simon Wisselink
2023-01-09 11:54:13 +01:00 -
e124f71dd8
Fixed issue related to scoping of left/right delimiter overrides
Simon Wisselink
2023-01-09 11:25:09 +01:00 -
34d5d6d024
Rewrote global static global_tpl_vars to getters/setters on Smarty class, fixing several test cases. Added a ::getValue() method to Variable.
Simon Wisselink
2023-01-09 09:55:22 +01:00 -
c5de83b09f
Fixed modifiercompiler handling multiple/chained modifiers
Simon Wisselink
2023-01-09 09:53:15 +01:00 -
861aafa92c
2 small fixes for unit tests
Simon Wisselink
2023-01-07 23:45:59 +01:00 -
e1d395e140
Fixed stream resources
Simon Wisselink
2023-01-07 23:22:58 +01:00 -
fd64cc688a
Removed PHP functions and checks for the already removed php modifiers. Re-implemented functions as regular functions. Probably should compile these directly.
Simon Wisselink
2023-01-07 23:06:47 +01:00 -
e595cd2a5d
Fixed BC loading of resource pluging from dir and all ResourcePluginTest tests
Simon Wisselink
2023-01-06 21:53:37 +01:00 -
b2e11ee2b8
Removed deprecated extends_recursion property and fix bug in CodeFrame compiler due to use of clone.
Simon Wisselink
2023-01-06 21:43:48 +01:00 -
1f87cebb93
Make DefaultExtension lazy load again.
Simon Wisselink
2023-01-06 21:41:23 +01:00 -
608a400e66
Fix scoping / global state problems in tests by using DI in Default Extension. Also removing a bunch of old fashioned phpdoc annotations that are superseded by namespaces.
Simon Wisselink
2023-01-05 23:07:45 +01:00 -
f07e342d61
Removed now unneeded PHPunit annotations @run(Tests)InSeparateProcess, @preserveGlobalState and @backupStaticAttributes. Made CacheResourceTestCommon abstract to prevent the base class from running tests (and always failing). Unregister a previously registered stream wrapper. Fixes a lot of tests.
Simon Wisselink
2023-01-05 23:06:02 +01:00 -
576bd4cc01
Removed support for PHP include path, and removed the ::loadPlugin method.
Simon Wisselink
2023-01-05 21:58:29 +01:00 -
e89a3dda49
Implemented the DefaultHandlerBlockCompiler, made the dependencies of the template compiler into properties, fixed a couple of unit tests
Simon Wisselink
2023-01-05 11:18:42 +01:00 -
2b71415d1f
minor fixes
Simon Wisselink
2023-01-04 23:48:45 +01:00 -
3cc61133a3
Fix code duplication in block compilers and fix (most) BlockPluginTests. Default plugin handler blocks still need fixing.
Simon Wisselink
2023-01-04 23:45:57 +01:00 -
216347b4ff
Introduce formatParamsArray method for recurring code fragment
Simon Wisselink
2023-01-04 14:42:30 +01:00 -
14bbffd584
move runPluginFromDefaultHandler to new Runtime class
Simon Wisselink
2023-01-04 13:19:25 +01:00 -
41054cfb05
Fixed DefaultPluginHandlerTest for function plugins (blocks still break)
Simon Wisselink
2023-01-04 12:16:10 +01:00 -
16c7fe1d4f
Fixed setfilter
Simon Wisselink
2023-01-03 22:03:43 +01:00 -
3fccb54093
Fixed CacheResource implementation and tests
Simon Wisselink
2023-01-03 17:10:02 +01:00 -
32df4c6467
Fix CustomResourceAmbiguousTest
Simon Wisselink
2023-01-03 15:02:58 +01:00 -
98ad1a13af
Fixed TemplateObject test
Simon Wisselink
2023-01-03 14:20:40 +01:00 -
9766aba66e
filter tests passing
Simon Wisselink
2023-01-03 14:12:36 +01:00 -
b9ecf115dd
fixed pre/post/output filters and removed some old todo-comments
Simon Wisselink
2023-01-02 23:26:36 +01:00 -
60a56969dd
WIP moving Smarty to PSR-4.
Simon Wisselink
2023-01-02 00:49:38 +01:00 -
6b9e2fadd1
Rewrote remaining plugins to PSR-4, plugins dir is now gone.
Simon Wisselink
2022-12-25 14:02:15 +01:00 -
ab5705a90d
Rewrote all default modifiers and functions from the plugins folder to PSR-4 classes
Simon Wisselink
2022-12-24 23:38:13 +01:00 -
57cff64869
Add makefile, PSR-4 ModifierCompilers
Simon Wisselink
2022-12-23 14:03:05 +01:00