summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Derick Rethans [Thu, 14 Jul 2011 11:18:50 +0000]
Use the proper zend hash function here.
Derick Rethans [Thu, 14 Jul 2011 11:15:50 +0000]
Handle numeric keys for array elements too.
Derick Rethans [Wed, 13 Jul 2011 17:20:47 +0000]
After instantiating the object, call the constructor and make sure we return from the function.
Derick Rethans [Wed, 13 Jul 2011 17:20:21 +0000]
Added TWIG_CALL_Z (to use for calling a function with one argument).
Derick Rethans [Wed, 13 Jul 2011 15:27:35 +0000]
Bailout when we have an exception to defer to PHP's exception handlers.
Derick Rethans [Wed, 13 Jul 2011 15:27:10 +0000]
Split TWIG_CALL_S into TWIG_CALL_S and TWIG_CALL_SB for boolean returning functions.
Derick Rethans [Fri, 8 Jul 2011 12:01:22 +0000]
Fixed the uninitialized ptr check. This makes all tests in Twig_TemplateTest pass!
Derick Rethans [Fri, 8 Jul 2011 11:50:26 +0000]
Use strtolower on the method names and add them as associative keys so that they are found.
This makes method calls work.
Derick Rethans [Thu, 7 Jul 2011 14:43:13 +0000]
Fixed TWIG_PROPERTY to return a NULL instead of a zval(NULL).
Derick Rethans [Thu, 7 Jul 2011 13:06:18 +0000]
Those are array elements and not properties.
Derick Rethans [Thu, 7 Jul 2011 13:06:03 +0000]
Return the value immediately.
Derick Rethans [Thu, 7 Jul 2011 13:05:38 +0000]
Check the property regardless of whether tmp_item is valid/set.
Derick Rethans [Thu, 7 Jul 2011 13:05:21 +0000]
We need to use strlen on hash keys.
Derick Rethans [Thu, 7 Jul 2011 13:04:53 +0000]
Split TWIG_PROPERTY into TWIG_PROPERTY and TWIG_PROPERTY_CHAR so the array key can be both a zval or char.
Derick Rethans [Thu, 7 Jul 2011 12:06:13 +0000]
Made properties return properly.
Derick Rethans [Thu, 7 Jul 2011 12:05:40 +0000]
Add the properties as assoc keys, so that hash_find actually works on them.
Derick Rethans [Thu, 7 Jul 2011 12:05:12 +0000]
Check normal property before trying to de-mangle it.
Derick Rethans [Thu, 7 Jul 2011 12:04:50 +0000]
Fixed TWIG_GET_ARRAY_ELEMENT_ZVAL's return value.
Derick Rethans [Tue, 5 Jul 2011 11:37:26 +0000]
Fixed compiler warning.
Derick Rethans [Tue, 5 Jul 2011 11:37:08 +0000]
Implemented first bit for ArrayAccess support.
Derick Rethans [Mon, 4 Jul 2011 17:02:39 +0000]
Initialise variable to NULL.
Derick Rethans [Mon, 4 Jul 2011 17:02:17 +0000]
Apparently this is needed for GCC to not optimise it out...
Derick Rethans [Mon, 4 Jul 2011 17:02:02 +0000]
- Remove debugging code.
Derick Rethans [Mon, 4 Jul 2011 15:46:33 +0000]
Only add the object to the cache if there is actually an object.
Derick Rethans [Mon, 4 Jul 2011 15:06:46 +0000]
Fix efree(NULL) when no arguments are passed in.
Derick Rethans [Thu, 30 Jun 2011 16:03:00 +0000]
Added missing header and switch arguments for the return around as I got that wrong.
Derick Rethans [Thu, 30 Jun 2011 16:02:27 +0000]
Added support for NULL arguments to CALL_USER_FUNC_ARRAY and made CALL_BOOLEAN use that.
Derick Rethans [Thu, 30 Jun 2011 16:01:34 +0000]
Fold TWIG_GET_ARRAY_ELEMENT and TWIG_PROPERTY into one worker function.
Derick Rethans [Thu, 30 Jun 2011 13:25:45 +0000]
Implement TWIG_GET_CLASS_NAME and make use of it.
Derick Rethans [Thu, 30 Jun 2011 13:25:00 +0000]
Initialise ret to NULL.
Derick Rethans [Thu, 30 Jun 2011 13:24:27 +0000]
Get rid of TWIG_RETURN_ARRAY_ELEMENT and use TWIG_GET_ARRAY_ELEMENT instead.
Derick Rethans [Thu, 30 Jun 2011 12:21:57 +0000]
Implemented TWIG_THROW_EXCEPTION.
Derick Rethans [Thu, 30 Jun 2011 11:15:40 +0000]
Implemented TWIG_IMPLODE_ARRAY_KEYS.
Derick Rethans [Thu, 30 Jun 2011 10:26:25 +0000]
Fixed logic and implemented normal array key return.
Derick Rethans [Thu, 30 Jun 2011 10:25:57 +0000]
Implemented TWIG_RETURN_ARRAY_ELEMENT.
Derick Rethans [Wed, 29 Jun 2011 11:47:47 +0000]
Re-scope variables.
Derick Rethans [Wed, 29 Jun 2011 11:46:46 +0000]
Added the cache creating/fetching method in the code.
Derick Rethans [Wed, 29 Jun 2011 11:46:00 +0000]
Added the cache fetching method for methods and properties.
Derick Rethans [Wed, 29 Jun 2011 11:44:10 +0000]
Implemented TWIG_CALL_USER_FUNC_ARRAY, TWIG_GET_STATIC_PROPERTY, TWIG_GET_ARRAY_ELEMENT_ZVAL and TWIG_GET_ARRAY_ELEMENT.
Derick Rethans [Wed, 29 Jun 2011 11:42:34 +0000]
- Implemented the strtolower function.
Derick Rethans [Wed, 8 Jun 2011 15:24:53 +0000]
- The extension now loads and the pseudo code is mostly ready.
Derick Rethans [Wed, 8 Jun 2011 12:28:48 +0000]
- The parse parameters line was wrong, it still had the extra one that was
removed in Twig itself already.
Derick Rethans [Wed, 8 Jun 2011 12:26:48 +0000]
- Used the template, instead of getThis(), which wouldn't exist.
Derick Rethans [Tue, 7 Jun 2011 13:57:54 +0000]
- Added more generated files to .gitignore
Derick Rethans [Tue, 7 Jun 2011 13:57:28 +0000]
- Stubs and more implementations.
Derick Rethans [Tue, 7 Jun 2011 09:42:17 +0000]
- Implement TWIG_INSTANCEOF_*
Derick Rethans [Tue, 7 Jun 2011 08:29:02 +0000]
- Implemented TWIG_ARRAY_KEY_EXISTS (for normal arrays only).
Derick Rethans [Tue, 7 Jun 2011 08:22:58 +0000]
- Reduce compile warnings and errors.
- Initialize the two method names.
Derick Rethans [Tue, 7 Jun 2011 07:59:57 +0000]
- Added more files to .gitignore
Derick Rethans [Mon, 6 Jun 2011 15:17:45 +0000]
- Fixed ARG INFO
Derick Rethans [Mon, 6 Jun 2011 15:16:58 +0000]
- Added pseudo code
Derick Rethans [Fri, 3 Jun 2011 16:37:53 +0000]
- Added a .gitignore file
Derick Rethans [Fri, 3 Jun 2011 16:37:20 +0000]
- Updated with new code from Fabien's repository.
Derick Rethans [Mon, 21 Mar 2011 11:43:31 +0000]
- Some scaffolding implementation.
Derick Rethans [Mon, 21 Mar 2011 11:43:15 +0000]
- Added broken down original code.
Derick Rethans [Mon, 21 Mar 2011 11:43:00 +0000]
- Added function declaration and headers.
Derick Rethans [Mon, 21 Mar 2011 11:42:25 +0000]
- Added basic twig extension structure.