Commit Graph

  • 39db8ce64f Correct a path in the example Scott Baker 2024-05-14 12:28:56 -07:00
  • 11cc46c942 Add standalone instantiation documentation Scott Baker 2024-05-14 12:23:52 -07:00
  • d974bde2c4 Add a PSR-4 loading script to allow Smarty to be used without Composer Scott Baker 2024-05-14 11:59:42 -07:00
  • 3293a873bd Remove unused attributes from config_load (#1004) Simon Wisselink 2024-04-29 10:01:40 +02:00
  • 8dafcf438a Remove unused attributes from config_load fixes #993 993_remove_unused_attributes_from_config_load_and_docs Simon Wisselink 2024-04-23 23:41:57 +02:00
  • 8d53d3cbf2 Merge branch 'release/5.1.0' v5.1.0 Simon Wisselink 2024-04-23 00:22:15 +02:00
  • 47c4864dd1 version bump Simon Wisselink 2024-04-23 00:22:13 +02:00
  • f411247aa1 Prevent notices on null to string conversion in Template::appendCode (#1002) Simon Wisselink 2024-04-19 11:14:07 +02:00
  • 4549822cdd fixed sample output of section in the docs and added this example as a unit test Simon Wisselink 2024-04-19 11:10:01 +02:00
  • c2a86bebe3 Prevent notices on null to string conversion in Template::appendCode Fixes #996 996_prevent_notices_on_null_to_string_conversion_in_appendcode Simon Wisselink 2024-04-19 10:52:10 +02:00
  • 9a8702d937 Corrected invalid classnames in Runtime code for foreach (#1001) Simon Wisselink 2024-04-19 10:42:54 +02:00
  • a6d069ab78 Corrected invalid classnames in Runtime code for foreach Fixes #1000 1000_fix_referencing_native_php_classes_in_global_namespace Simon Wisselink 2024-04-19 10:38:02 +02:00
  • 5ee4363000 Fix change in signature of getTemplateVars (#995) Simon Wisselink 2024-04-13 16:53:05 +02:00
  • d95c9b4850 array_map Variable to Variable::getValue in getTemplateVars. Fixes #994 994_getTemplateVars_returns_objects Simon Wisselink 2024-04-13 10:43:21 +02:00
  • 177a3f4e6e Add test to reproduce error Simon Wisselink 2024-04-13 10:39:03 +02:00
  • 55799a9b65 Add test for getTemplateVars returning array of values Simon Wisselink 2024-04-13 10:34:51 +02:00
  • 77c0b74e3b Fix docblock types (#992) kynx 2024-04-11 19:31:30 +01:00
  • 6592bd4ad3 fixed changelog Simon Wisselink 2024-04-07 22:48:33 +02:00
  • 34adf4e54c Fixed unit tests to not rely on the existence of any domain or unavailability of internet access when running tests. (#987) Simon Wisselink 2024-04-06 23:41:20 +02:00
  • eabe70ea08 Fixed unit tests to not rely on the existence of any domain or unavailability of internet access when running tests. remove_references_to_smarty.net Simon Wisselink 2024-04-06 23:37:50 +02:00
  • 7320402766 Merge branch 'release/4.5.2' into support/4 v4.5.2 Simon Wisselink 2024-04-06 00:34:05 +02:00
  • 1115eb6f65 version bump Simon Wisselink 2024-04-06 00:33:17 +02:00
  • 5400b53edf Revert "fix release tooling to support/5 branch" Simon Wisselink 2024-04-05 22:40:31 +02:00
  • 599bcee13e Fix Smarty::assign() not returning when called with an array as first parameter. (#973) Simon Wisselink 2024-03-28 11:22:29 +01:00
  • 569cef71d0 fix release tooling to support/5 branch Simon Wisselink 2024-03-27 23:05:16 +01:00
  • 0972503aef version bump Simon Wisselink 2024-03-27 22:57:04 +01:00
  • 9656f553d1 Throw deprecation notice about unregistered functions without changing the compilation flow (#985) Simon Wisselink 2024-04-05 17:41:54 +02:00
  • cabc862ee5 fix variables_by_reference_964 Simon Wisselink 2024-04-05 17:35:28 +02:00
  • 6a1f56d51f Throw deprecation notice about unregistered functions without changing the compilation flow. Fixes #964 Simon Wisselink 2024-04-05 17:17:55 +02:00
  • c1642490f0 Added some unit test to study consistent behavior on passing argument by reference. support/3.1 Simon Wisselink 2024-04-05 17:04:03 +02:00
  • 46b15e6365 add is_array modifier doc (#984) Shad 2024-04-03 19:57:09 +02:00
  • 768acd96fa Add missing Smarty getErrorUnassigned/setErrorUnassigned methods Fixes #979 Simon Wisselink 2024-04-03 09:43:09 +02:00
  • 3232277bc5 Fix warning when calling hasVariable for an undefined variable (#978) support/5 Simon Wisselink 2024-03-29 23:32:49 +01:00
  • 91daac7d3b unit tests 977_warning_in_hasvariable Simon Wisselink 2024-03-29 22:42:28 +01:00
  • 27e5768e31 Fix warning when calling hasVariable for an undefined variable Fixes #977 Simon Wisselink 2024-03-29 22:36:30 +01:00
  • bbd09c7bfa Merge branch 'release/5.0.2' into support/5 v5.0.2 Simon Wisselink 2024-03-28 11:23:18 +01:00
  • 52dc8adafb version bump Simon Wisselink 2024-03-28 11:23:16 +01:00
  • baa83541d9 Merge branch 'support/5' Simon Wisselink 2024-03-28 11:22:51 +01:00
  • 6f054ecc2f Fix Smarty::assign() not returning when called with an array as first parameter. (#973) Simon Wisselink 2024-03-28 11:22:29 +01:00
  • 547b32a268 Fix Smarty::assign() not returning when called with an array as first parameter. Fixes #972 972_assign_returned_this Simon Wisselink 2024-03-28 11:19:36 +01:00
  • 4fec27ccc2 fix release tooling to support/5 branch v5.0.1 Simon Wisselink 2024-03-27 23:05:16 +01:00
  • fea0d02d99 version bump Simon Wisselink 2024-03-27 22:57:04 +01:00
  • beafa5ec31 Merge branch 'release/5.0.1' Simon Wisselink 2024-03-27 22:57:07 +01:00
  • 82a815aafb version bump Simon Wisselink 2024-03-27 22:57:04 +01:00
  • 4efa427a87 Fix missing and bogus use lines in src/Smarty.php. (#970) Simon Wisselink 2024-03-27 22:53:03 +01:00
  • 30b1c5bf6d Deprecation fix for providing a non string value to ctype_digit (#960) Wim Wisselink 2024-03-27 11:48:38 +01:00
  • 3f871f9f7a Fix docblock information after Smarty 5 namespace changes (#968) Markus Frühauf 2024-03-27 11:47:42 +01:00
  • cafe5e1e59 Fix missing and bogus use lines in src/Smarty.php. (#970) Simon Wisselink 2024-03-27 22:53:03 +01:00
  • 48016d4581 revert change to variable name 966_error_in_compilealltemplates Simon Wisselink 2024-03-27 22:14:49 +01:00
  • 263c9cd3cd Fix missing and bogus use lines in src/Smarty.php. Simon Wisselink 2024-03-27 21:52:23 +01:00
  • a58d869502 Deprecation fix for providing a non string value to ctype_digit (#960) Wim Wisselink 2024-03-27 11:48:38 +01:00
  • 28e11b114b Fix docblock information after Smarty 5 namespace changes (#968) Markus Frühauf 2024-03-27 11:47:42 +01:00
  • 1da30e76e8 Documented support for is in, added support for is not in. (#955) Simon Wisselink 2024-03-25 13:54:02 +01:00
  • e3745efd6a minor docs improvement 937_containment_operators Simon Wisselink 2024-03-18 16:43:09 +01:00
  • 5c88296be6 Documented support for is in, added support for is not in. Fixes #937 Simon Wisselink 2024-03-18 16:39:22 +01:00
  • 58348c38ef changelog entry for depcreated stream variables Simon Wisselink 2024-03-25 13:48:53 +01:00
  • 578c03efa5 Deprecate stream variables (#933) Simon Wisselink 2024-03-25 13:45:04 +01:00
  • 7255b4d73c Internal compiler classes always return a string (#918) Simon Wisselink 2024-03-25 13:44:06 +01:00
  • ccc9543632 Add :string method signature to compile method everywhere. remove_has_code_flag Simon Wisselink 2023-11-29 00:12:39 +01:00
  • 43a3bc942a Internal compiler classes always return a string (the internal has_code flag has been removed for simplicity) Simon Wisselink 2023-11-29 00:03:50 +01:00
  • b7107fa856 Copied 5.x to stable with mike 2.0.0 Simon Wisselink 2024-03-25 12:33:45 +01:00
  • 51410f655b Removed stable with mike 2.0.0 Simon Wisselink 2024-03-25 12:33:41 +01:00
  • 96eef725df Removed rc with mike 2.0.0 Simon Wisselink 2024-03-25 12:33:08 +01:00
  • 80f88432ee Copied 4.x to support with mike 2.0.0 Simon Wisselink 2024-03-25 12:31:58 +01:00
  • f85a4dd67b Copied 5.x to latest with mike 2.0.0 Simon Wisselink 2024-03-25 12:31:13 +01:00
  • e161babbd4 Merge branch 'release/5.0.0' v5.0.0 Simon Wisselink 2024-03-25 12:28:59 +01:00
  • f8e63fc480 version bump Simon Wisselink 2024-03-25 12:28:42 +01:00
  • 23b3c21d73 rebase of j-applese3d:smarty5 633_nullsafe_operator Simon Wisselink 2024-03-18 16:00:35 +01:00
  • 42b869e3a0 Merge branch 'release/4.5.1' into support/4 v4.5.1 Simon Wisselink 2024-03-18 15:19:07 +01:00
  • 4cb00900d7 version bump Simon Wisselink 2024-03-18 15:19:05 +01:00
  • 204f3bc74e fix branch name in release script Simon Wisselink 2024-03-18 15:16:08 +01:00
  • 409802db04 Merge branch 'release/4.5.0' into support/4 Simon Wisselink 2024-03-18 15:14:37 +01:00
  • 1015e5472b version bump Simon Wisselink 2024-03-18 15:12:18 +01:00
  • c7a271323b Using unsupported PHP functions and unregistered static class methods in modifiers and expressions now triggers a deprecation notice Simon Wisselink 2024-03-18 14:44:29 +01:00
  • 04c247e0d1 Cleaned up the unit test warn_when_using_unregistered_function Simon Wisselink 2024-03-18 14:39:33 +01:00
  • eadec6a3d7 unit tests for appropriate notices for supported/unsupported functions/modifiers in v5 Simon Wisselink 2024-03-18 11:47:12 +01:00
  • c304af8636 Some unrelated test improvements Simon Wisselink 2024-03-18 11:46:28 +01:00
  • 2e03a1caff Configure PHPunit to convert deprecation errors to exceptions, but ignore them in tests by default. Simon Wisselink 2024-03-18 11:45:07 +01:00
  • 7d40a092ac do not trigger deprecation for 4 php native functions that will still be supported in v5 Simon Wisselink 2024-03-18 11:43:51 +01:00
  • e2cb9873ff New unit test for function scope Simon Wisselink 2024-03-15 16:18:19 +01:00
  • 59bbac53bd Merge branch 'support/4.3' into warn_when_using_unregistered_function Simon Wisselink 2024-03-15 16:17:29 +01:00
  • 82397ec7f0 Fixed that scoped variables would overwrite parent scope. (#954) Simon Wisselink 2024-03-15 16:10:27 +01:00
  • 48286222dc Moved variable stack maintenance to methods and private properties in Data class. 952_scoped_variables_overwriting_parent_scope Simon Wisselink 2024-03-15 16:04:37 +01:00
  • 776f3d0042 Fixed that scoped variables would overwrite parent scope. Fixes #952 Simon Wisselink 2024-03-15 13:15:59 +01:00
  • 17da1f585e Fix Too many shorthand attributes error when using a modifier as a function with more than 3 parameters in an expression (#953) Simon Wisselink 2024-03-15 10:26:17 +01:00
  • 32be22b3e9 Fix Too many shorthand attributes error when using a modifier as a function with more than 3 parameters in an expression Fixes #949 949_too_many_shorthand_attributes Simon Wisselink 2024-03-15 10:22:29 +01:00
  • 293bc20db0 fix release tooling to auto-delete changelog files Simon Wisselink 2024-02-26 14:59:35 +01:00
  • f4152e9b81 auto-delete changelog files v4.5.0 v4.4.1 Simon Wisselink 2024-02-26 14:58:37 +01:00
  • 5d0dd09632 changelog update Simon Wisselink 2024-02-26 14:58:17 +01:00
  • 9d559827fd Merge branch 'release/4.4.1' into support/4.3 Simon Wisselink 2024-02-26 14:56:21 +01:00
  • 5e2a9fbb26 version bump Simon Wisselink 2024-02-26 14:56:21 +01:00
  • 9614a59199 changelog Simon Wisselink 2024-02-26 14:56:15 +01:00
  • ee58a2173b Updated release tooling Simon Wisselink 2024-02-26 14:55:24 +01:00
  • 19ec79bf24 Deployed 29dd621b to 4.x with MkDocs 1.5.3 and mike 2.0.0 Simon Wisselink 2024-02-26 14:48:28 +01:00
  • 7d57562c85 Deployed 91ff253d to 4.x with MkDocs 1.5.3 and mike 2.0.0 Simon Wisselink 2024-02-26 14:45:57 +01:00
  • 29dd621b53 Add some guidance on upgrading from v3 to v4 v4.4.0 checkout Simon Wisselink 2024-02-26 14:45:43 +01:00
  • a3273d4f9d Deployed 818b96ff to 5.x with MkDocs 1.5.3 and mike 2.0.0 Simon Wisselink 2024-02-26 14:38:53 +01:00
  • 818b96ffbd re-order changelog Simon Wisselink 2024-02-26 14:38:31 +01:00
  • 7b5ec8a065 Merge branch 'release/5.0.0-rc3' v5.0.0-rc3 Simon Wisselink 2024-02-26 14:36:56 +01:00
  • 4af5cc760d version bump Simon Wisselink 2024-02-26 14:36:56 +01:00