Commit Graph

43 Commits

Author SHA1 Message Date
Derick Rethans 508bb66bf7 Made properties return properly. 2011-07-07 13:06:13 +01:00
Derick Rethans 4e899caee4 Add the properties as assoc keys, so that hash_find actually works on them. 2011-07-07 13:05:40 +01:00
Derick Rethans 63e1f1279d Check normal property before trying to de-mangle it. 2011-07-07 13:05:12 +01:00
Derick Rethans 9d22fddf08 Fixed TWIG_GET_ARRAY_ELEMENT_ZVAL's return value. 2011-07-07 13:04:50 +01:00
Derick Rethans 48b0a5f985 Fixed compiler warning. 2011-07-05 12:37:26 +01:00
Derick Rethans f19ec8a090 Implemented first bit for ArrayAccess support. 2011-07-05 12:37:08 +01:00
Derick Rethans f196f01704 Initialise variable to NULL. 2011-07-04 18:02:39 +01:00
Derick Rethans 803c1a9f83 Apparently this is needed for GCC to not optimise it out... 2011-07-04 18:02:17 +01:00
Derick Rethans 078690b4dc - Remove debugging code. 2011-07-04 18:02:02 +01:00
Derick Rethans 1b55c97eba Only add the object to the cache if there is actually an object. 2011-07-04 16:46:33 +01:00
Derick Rethans f42cd14d2d Fix efree(NULL) when no arguments are passed in. 2011-07-04 16:06:46 +01:00
Derick Rethans 577169c515 Added missing header and switch arguments for the return around as I got that wrong. 2011-06-30 17:03:00 +01:00
Derick Rethans 2b58fec35d Added support for NULL arguments to CALL_USER_FUNC_ARRAY and made CALL_BOOLEAN use that. 2011-06-30 17:02:27 +01:00
Derick Rethans f7fc1ffed6 Fold TWIG_GET_ARRAY_ELEMENT and TWIG_PROPERTY into one worker function. 2011-06-30 17:01:34 +01:00
Derick Rethans 6e1dd56172 Implement TWIG_GET_CLASS_NAME and make use of it. 2011-06-30 14:36:05 +01:00
Derick Rethans b891ad909a Initialise ret to NULL. 2011-06-30 14:25:00 +01:00
Derick Rethans 828c113fa2 Get rid of TWIG_RETURN_ARRAY_ELEMENT and use TWIG_GET_ARRAY_ELEMENT instead. 2011-06-30 14:24:27 +01:00
Derick Rethans 0cc719add3 Implemented TWIG_THROW_EXCEPTION. 2011-06-30 13:21:57 +01:00
Derick Rethans 701be8bb57 Implemented TWIG_IMPLODE_ARRAY_KEYS. 2011-06-30 13:21:26 +01:00
Derick Rethans 3da24d9fda Fixed logic and implemented normal array key return. 2011-06-30 11:26:25 +01:00
Derick Rethans b918f2ea7b Implemented TWIG_RETURN_ARRAY_ELEMENT. 2011-06-30 11:25:57 +01:00
Derick Rethans e1663e8d0b Re-scope variables. 2011-06-29 12:47:47 +01:00
Derick Rethans 8bc1f0268b Added the cache creating/fetching method in the code. 2011-06-29 12:46:46 +01:00
Derick Rethans 7367cf942b Added the cache fetching method for methods and properties. 2011-06-29 12:46:00 +01:00
Derick Rethans 9d40c9f8c8 Implemented TWIG_CALL_USER_FUNC_ARRAY, TWIG_GET_STATIC_PROPERTY, TWIG_GET_ARRAY_ELEMENT_ZVAL and TWIG_GET_ARRAY_ELEMENT. 2011-06-29 12:44:10 +01:00
Derick Rethans 2078e50de1 - Implemented the strtolower function. 2011-06-29 12:42:34 +01:00
Derick Rethans e133074da1 - The extension now loads and the pseudo code is mostly ready. 2011-06-08 16:24:53 +01:00
Derick Rethans 1b96539ecb - The parse parameters line was wrong, it still had the extra one that was
removed in Twig itself already.
2011-06-08 13:28:48 +01:00
Derick Rethans d08224457f - Used the template, instead of getThis(), which wouldn't exist. 2011-06-08 13:26:48 +01:00
Derick Rethans 07e38efa70 - Added more generated files to .gitignore 2011-06-07 14:57:54 +01:00
Derick Rethans 6aa1a64c2b - Stubs and more implementations. 2011-06-07 14:57:28 +01:00
Derick Rethans 79f6dc6efc - Implement TWIG_INSTANCEOF_* 2011-06-07 10:42:17 +01:00
Derick Rethans 19fbee7ef6 - Implemented TWIG_ARRAY_KEY_EXISTS (for normal arrays only). 2011-06-07 09:29:02 +01:00
Derick Rethans 4de3659c9b - Reduce compile warnings and errors.
- Initialize the two method names.
2011-06-07 09:22:58 +01:00
Derick Rethans a2f3c34ba5 - Added more files to .gitignore 2011-06-07 08:59:57 +01:00
Derick Rethans fad8e9a7b3 - Fixed ARG INFO 2011-06-06 16:17:45 +01:00
Derick Rethans 15de5334c2 - Added pseudo code 2011-06-06 16:16:58 +01:00
Derick Rethans bfc6e34f29 - Added a .gitignore file 2011-06-03 17:37:53 +01:00
Derick Rethans 75d3e66cba - Updated with new code from Fabien's repository. 2011-06-03 17:37:20 +01:00
Derick Rethans 6edc311faa - Some scaffolding implementation. 2011-03-21 11:43:31 +00:00
Derick Rethans 979d6ec51b - Added broken down original code. 2011-03-21 11:43:15 +00:00
Derick Rethans e19701d75b - Added function declaration and headers. 2011-03-21 11:43:00 +00:00
Derick Rethans 430aecfdc0 - Added basic twig extension structure. 2011-03-21 11:42:25 +00:00