Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-20 | Refactored cast to int16_t to use C++ style cast to clarify intent | Rico Antonio Felix | |
2015-06-20 | Corrected API documentation | Rico Antonio Felix | |
2015-06-15 | added extra check for abstract keyword when adding abstract methods for ↵ | Emiel Bruijntjes | |
interfaces | |||
2015-06-04 | Allow interfaces define static methods | Dreamsxin | |
2015-05-31 | fix documentation stuff that was reported in pull requested #194 | Emiel Bruijntjes | |
2015-05-18 | We are now ABI compatible with the latest release again | Toon Schoenmakers | |
2015-05-18 | The Value::get(int) method now works on objects that implemented ArrayAccess ↵ | Toon Schoenmakers | |
as well | |||
2015-05-07 | rawValue no longer tries to return a valid pointer when the Value object ↵ | Martijn Otto | |
does not represent a string value | |||
2015-04-13 | Php::GLOBALS was not exported (fixes issue #186) | Emiel Bruijntjes | |
2015-04-13 | added PHPCPP_EXPORT, this may fix visibility issue #186 | Emiel Bruijntjes | |
2015-04-12 | Php::dl() function now gets an extra "persistent" parameter to load ↵ | Emiel Bruijntjes | |
extensions persistently | |||
2015-03-30 | add PHPCPP_EXPORT macros to a number of << operators to prevent undefined ↵ | Emiel Bruijntjes | |
symbol errors, Value::contains() now also works with __isset() | |||
2015-03-26 | Changed default visibility for symbols in the PHP-CPP library to hidden and ↵ | Martijn Otto | |
explicitly exported all symbols available from the public API. Moved the hiddenpointer to the zend implementation directory as it is not meant to be used publicly and not referenced anywhere from the API anyway | |||
2015-03-26 | Fixed the Value::contains method and added the isCallable(name) function to ↵ | Martijn Otto | |
see if the object has an accessible member function | |||
2015-03-25 | Added access checks to Php::Value::contains | Martijn Otto | |
2015-03-13 | Implemented a simple sapi_name() method which will return the current sapi | Toon Schoenmakers | |
2015-03-12 | added methods IniValue::stringValue(), IniValue::numericValue(), etcv1.3.1 | Emiel Bruijntjes | |
2015-03-06 | Fixed ambiguous call (MSVC compiler) | Roland Eischer | |
- Re-factored operator[] access to the get() function. | |||
2015-02-21 | initial implementation of the Php::dl() function | Emiel Bruijntjes | |
2015-02-05 | refactored the initialization and shutdown of extension objects (code is ↵ | Emiel Bruijntjes | |
moved from a static method to a real member method), and more importantly: fixed initialization of the PhpCpp::Functor class, previously, we created the class an runtime whenever we needed it, but that turned out to be a cause for crashes when php stopped, this has also been solved | |||
2015-02-05 | for 32bit systems there was a compile issue, hopefully this commit solves ↵ | Emiel Bruijntjes | |
that (issue 167) | |||
2015-02-02 | It was reported (see ↵ | Emiel Bruijntjes | |
http://www.php-cpp.com/documentation#comment-1830049280) that visual c++ has not support for initializer_lists, well at least old versions of it so not support it (see https://msdn.microsoft.com/en-us/library/hh567368.aspx), so we added a couple of extra checks to ensure that PHP-CPP also compilers on these olders compilers | |||
2015-01-26 | disable alternate Php::Function constructor on compilers that do not support ↵v1.3 | Emiel Bruijntjes | |
it (fix for issue #164) | |||
2015-01-26 | fixed _NOEXCEPT macro for normal compilers, updated version number to force ↵ | Emiel Bruijntjes | |
recompile of extensions after we introduced the constants | |||
2015-01-26 | Added macro wrapper for noexcept | Roland Eischer | |
- Added macro wrapper for noexcept to support MSVC compiler. | |||
2015-01-25 | added Php::define() function to create constants at run time | Emiel Bruijntjes | |
2015-01-25 | added functions Php::constant() to retrieve the value of a constant, and ↵ | Emiel Bruijntjes | |
Php::defined() to find out if a constant is defined | |||
2015-01-25 | Php::Constant objects can now also be added to a Php::Class to create class ↵ | Emiel Bruijntjes | |
constants | |||
2015-01-20 | resolved conflict | Emiel Bruijntjes | |
2015-01-20 | PHP-CPP now checks whether an already compiled extension is still compatible ↵ | Emiel Bruijntjes | |
with the PHP-CPP library. This prevents weird crashes when users update their PHP-CPP library, without recompiling their extensions | |||
2015-01-19 | the Constant class no longer wraps around a Php::Value, but uses the ↵ | Emiel Bruijntjes | |
zend_constant struct directly | |||
2015-01-17 | added initial implementation for registering constants | Emiel Bruijntjes | |
2015-01-15 | Added the Php::Function class. This is an extension to the Php::Value class ↵ | Emiel Bruijntjes | |
that can be used if you want to assign a std::function object to a Value. This is useful if you want to pass a C++ lambda to a PHP userspace function | |||
2015-01-14 | fix for issue #159: the eval() function no longer relies on the Zend ↵ | Emiel Bruijntjes | |
zend_eval_stringl_ex() function, because that function modifies the to-be-evaluated php code, which could result in syntax errors for perfectly valid PHP code | |||
2015-01-13 | in response to issue #156: the super-global arrays Php::POST, Php::SERVER, ↵ | Emiel Bruijntjes | |
etcetera can now be iterated over, and they can be assigned to a regular Php::Value variable | |||
2015-01-12 | Added missing executestate.h file (forgot that in previous commit), and ↵ | Emiel Bruijntjes | |
solved issue #158, the Php::Object constructor for multiple parameters accidentally matched the call to Php::Object(name, implementation) | |||
2015-01-12 | fixed compiling in ZTS environments (reported in issue #57) | Emiel Bruijntjes | |
2015-01-11 | added include(), require(), include_once() and require_once() methods, based ↵ | Emiel Bruijntjes | |
on the Php::File class (feature built based on inspiration from pull request #147); | |||
2015-01-11 | fixed memory leak when executing php code using the Opcodes class, fixed ↵ | Emiel Bruijntjes | |
possible double-free when path passed to File class was absolute, added extra constructors to the File class | |||
2015-01-11 | refactored script class to have a seperate opcodes class, added file class ↵ | Emiel Bruijntjes | |
that uses this same opcodes class | |||
2015-01-10 | added Script class to simplify parsing and executing php scripts (the ↵ | Emiel Bruijntjes | |
Php::eval() call both compiles and executes a script, while the Script class splits these two steps, which allows you to run the same opcodes multiple times) | |||
2015-01-10 | Merge branch 'improvements' of https://github.com/valmat/PHP-CPP | Emiel Bruijntjes | |
2014-12-22 | Corrected an incorrect refcount when cloning a Php::Value, this should fix ↵ | Toon Schoenmakers | |
the memory leak in issue #153 | |||
2014-11-26 | Marked `noexcept` all move constructors and assigment operators | valmat | |
See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html | |||
2014-11-25 | Used variadic templates instead of code duplication | valmat | |
2014-11-25 | Fixed a memory leak when returning a Php::Object with an already allocated Basev1.2.2 | Toon Schoenmakers | |
2014-11-21 | Value::refcount() is now const, and fixed a memory leak in return values | Toon Schoenmakers | |
2014-11-21 | Removed move constructor from Object class, because it caused failures when ↵ | Toon Schoenmakers | |
instantiating with a std::string parameter, Php::Object constructors now always first call the base constructor, and the __construct() function is now always called | |||
2014-11-21 | fixed issue 107, casting a value to a std::map was not working correctly | Emiel Bruijntjes | |
2014-11-20 | Fixed issue #137: Php::Object("MyClass") crashed when no __construct() ↵ | Emiel Bruijntjes | |
function was defined in it |