summaryrefslogtreecommitdiff
path: root/src/value.cpp
AgeCommit message (Collapse)Author
2014-04-06renamed src directory to zend directory, disabled TSRM debug codeEmiel Bruijntjes
2014-04-06the exception.h header file no longer depends on the zend engine header ↵Emiel Bruijntjes
files. TSRM macros are no longer used in any of the public PHPCPP header files so there is no more need for the phpcpp/config.h header file nor the config-create script
2014-04-06refactored code, so that there is no zend engine dependency left in base.h ↵Emiel Bruijntjes
header file
2014-04-01much simpler implementation of hash member, i do not understand why i first ↵Emiel Bruijntjes
used this complicated zval wrapping implementation, fixes problems reported in issue #56
2014-03-29fixed broken texts because of wrong return value of many chaining methods in ↵Emiel Bruijntjes
Class.h
2014-03-24added tsrm parameter to all methods to make it compile on tsrm platformsEmiel Bruijntjes
2014-03-24fixed nested arrays, issue #50Emiel Bruijntjes
2014-03-21implementation of traverseiterator (untested)Emiel Bruijntjes
2014-03-20moved implementation for hashiterator to header file, introduced ↵Emiel Bruijntjes
invaliditerator class, valueiterator now uses the hashiterator class internally
2014-03-16removed Value constructor that wraps around a hash tableEmiel Bruijntjes
2014-03-16added Value::begin() and Value::end() methods to make it possible to iterate ↵Emiel Bruijntjes
over a value
2014-03-15renamed reserve to resizeEmiel Bruijntjes
2014-03-15removed HardCoded class because it turned out to be too difficult to ↵Emiel Bruijntjes
implement it for now
2014-03-15added empty() function, and added HardCoded classEmiel Bruijntjes
2014-03-14Value::numericValue() now returns a int64_t, and no longer a longEmiel Bruijntjes
2014-03-14introduced super globals Php::POST, Php::GET, et cetera, fixed setting array ↵Emiel Bruijntjes
members, introduced Value::attach() method
2014-03-10fixed iterators for php 5.3 + updated documentation about iteratorsEmiel Bruijntjes
2014-03-09work in progress on iteratorsEmiel Bruijntjes
2014-03-09Merge branch 'issue23' of https://github.com/valmat/PHP-CPPEmiel Bruijntjes
2014-03-09issue #23: Fixed loop for an objects contains no public propertiesvalmat
2014-03-09added arrayaccess implementationEmiel Bruijntjes
2014-03-09issue #23 : Removed comments and debugging information. Added an example.valmat
2014-03-09issue #23 implementedvalmat
2014-03-08exception is now thrown when a function is called that does not existEmiel Bruijntjes
2014-03-08introduced Php::call() call function to make builtin, and user space ↵Emiel Bruijntjes
functions callable from C++ space
2014-03-07update documentation, implemented comparison operator for hashmember class, ↵Emiel Bruijntjes
added Value constructor that receives a Php::Type to initialize as a specific type, added Value constructors to initialize a Value directly from a map or a vector, fixed value comparison operators, added casting constructors to cast a value to a vector or a map
2014-03-06changes to documentation, removed empty exception.cpp implementation, fixed ↵Emiel Bruijntjes
exception handling
2014-03-05fixed value (but does this fix break other things?), and updated documentationEmiel Bruijntjes
2014-03-05fixed some compiler warnings in value.cpp, added documentation on how to ↵Emiel Bruijntjes
install PHP-CPP, removed the Makefile from the src directory and moved everything into the single Makefile in the library root directory, also updated the main (and now only) Makefile with instructions so that it is easier for others to understand
2014-03-04Php::Value and Php::Object classes can now be used to wrap around Php::Base ↵Emiel Bruijntjes
objects
2014-03-04removed forcedvalue and implemented array and object directly because now it ↵Emiel Bruijntjes
is easier to finetune these classes, removed the Value::validate() method because it does not seem to be necessary, Object constructor now also accepts Php::Value objects that hold a string, to instantiate the described class
2014-03-04all Value::call() and Value::exec() method no longer accept a std::string, ↵Emiel Bruijntjes
but a const char* instead, because in the real world they are most likely called with hard coded strings
2014-03-03work in progress for support for creating object instancesEmiel Bruijntjes
2014-03-02fixed settings Base::_self variable to a valid, editable value objectEmiel Bruijntjes
2014-03-02types are not a C++11 class, introduced FixedValue class that can not change ↵Emiel Bruijntjes
type, and implemented both Object and Array to make use of that type, implemented - but not yet tested - Base::value() method
2014-03-01array access operators can now be used to access array propertiesEmiel Bruijntjes
2014-02-26Fixed makefile to refer to right /usr/ directory, and the operator()() ↵v0.1Evangelos Trantos
methods in Php::Value are now all const (they do not modify the variable after all)
2014-02-24Added method to retrieve the implementation class from a Value objectEmiel Bruijntjes
2014-02-13Added an assignment operator to Value for nullptrMartijn Otto
2014-02-06Added the call() method for Value objects, allowing calling of member ↵Martijn Otto
functions of PHP objects
2013-12-30exceptions thrown in PHP code can now be caugth and processed by C++ codeEmiel Bruijntjes
2013-12-07replaces tabs in source code with regular spaces, added example for working ↵Emiel Bruijntjes
with global variables
2013-12-07Changed tabs in whitespace with newlines, added initial implementation for ↵Emiel Bruijntjes
Value::size() for object variables
2013-12-02Updated README.md, implemented more complicated isCallable method and added ↵JasperVanEck
comments to value.cpp
2013-12-02isCallable now worksJasperVanEck
2013-12-02Implemented operator(), with support of upto 10 parametersJasperVanEck
2013-10-22Initial setup for dealing with object propertiesEmiel Bruijntjes
2013-10-22{auto} support for modulus operatorEmiel Bruijntjes
2013-10-21removed function that is not in header fileEmiel Bruijntjes
2013-10-20long types have been replaced with int16, int32 and int64 types to make code ↵Emiel Bruijntjes
more readable and easier portable between architectures longType and decimalType have been replace by numericType and floatType Many arithmetic operators have been added to the value class Solved various issues with copying and moving value objects