Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | |||||
* | Revert "export symbol missing by phpdbg" | Anatol Belski | 2016-10-14 | 1 | -2/+0 |
| | | | | | | | | This reverts commit 611ab7fe5b9fe41de56c25b1d348a866794b1fb1. Overseen strpprintf is there (cherry picked from commit 3104882cf873308c43dca20bdfd698dd3470a246) | ||||
* | export symbol missing by phpdbg | Anatol Belski | 2016-10-14 | 1 | -0/+2 |
| | | | | (cherry picked from commit 611ab7fe5b9fe41de56c25b1d348a866794b1fb1) | ||||
* | fix known interned strings init with TS per request | Anatol Belski | 2016-06-02 | 1 | -0/+1 |
| | |||||
* | Intern some known (and offten used) strings. | Dmitry Stogov | 2016-05-12 | 1 | -9/+47 |
| | |||||
* | Remove use of register keyword in headers | Nikita Popov | 2016-02-04 | 1 | -1/+1 |
| | | | | | | | Headers must be C++ compatible -- this throws warnings. The register keyword is not used for optimization, at least not in optimized builds. | ||||
* | bump year which is missed in rev 49493a2 | Xinchen Hui | 2016-01-02 | 1 | -1/+1 |
| | |||||
* | Ensure proper data alignment | Dmitry Stogov | 2015-08-31 | 1 | -1/+1 |
| | |||||
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -22/+13 |
| | | | | semantick changes). | ||||
* | Improved zend_string API (Francois Laupretre) | Dmitry Stogov | 2015-06-29 | 1 | -54/+86 |
| | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre <francois@tekwire.net> Date: Fri Jun 26 01:23:31 2015 +0200 Use the new 'ZSTR' macros in the rest of the code. Does not change anything to the generated code (thanks to compat macros) but cleaner. commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8 Author: Francois Laupretre <francois@tekwire.net> Date: Thu Jun 25 13:45:06 2015 +0200 Improve zend_string API Add missing methods | ||||
* | Fixed zend_string related inconsistencies | Dmitry Stogov | 2015-04-21 | 1 | -0/+1 |
| | |||||
* | We can't stay zend_string->h to be zero, because it may lead to hash value ↵ | Dmitry Stogov | 2015-03-24 | 1 | -1/+8 |
| | | | | | | | recalculation and update. But in general zend_string may be put and read-only memory, that would lead to crash. Always set the high bit of hash_value to prevent recaclulation. | ||||
* | Optimize zend_string_realloc() add more specialized versions ↵ | Dmitry Stogov | 2015-03-20 | 1 | -22/+62 |
| | | | | zend_string_extend() and zend_string_truncate() | ||||
* | Remove bogus ZEND_ASSERT(hash != 0) | Bob Weinand | 2015-03-18 | 1 | -1/+0 |
| | | | | | | There's always a possibility that the has will end up as equal to zero due to overflowing. See the tests for strings whose hash overflow. Yes, there's a check for whether the hash already was calculated... and strings with a hash equal to zero always need the hash recalculated, in one of 2^32 respectively 2^64 cases - which should not be a major issue. | ||||
* | Forget this change | Xinchen Hui | 2015-02-11 | 1 | -1/+1 |
| | |||||
* | Expose zend_string_equals_str_ci | Xinchen Hui | 2015-02-11 | 1 | -0/+4 |
| | |||||
* | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | trailing whitespace removal | Stanislav Malyshev | 2015-01-10 | 1 | -2/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into native-tls | Anatol Belski | 2014-12-17 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: fix unserializer patch move this entry to the correct version add missing NEWS entry add missing NEWS entry Updated or skipped certain 32-bit tests add NEWS entry for #68594 5.4.37 add more BC breaks update news add CVE add missing test file Fix bug #68594 - Use after free vulnerability in unserialize() Fix typo Hash value must not zero? | ||||
| * | Hash value must not zero? | Xinchen Hui | 2014-12-13 | 1 | -0/+2 |
| | | |||||
* | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -8/+8 |
|/ | |||||
* | fix the empty_strings SAPI shutdown leak in TS build | Anatol Belski | 2014-10-06 | 1 | -0/+24 |
| | | | | | | | still the NTS variant is somewhat different as it needs zend_new_interned_string_int because the normal callbacks might be not initialized, but at least no leaks anymore and some more structure | ||||
* | Fixed useless or duplicated IS_INTERNED() checks | Dmitry Stogov | 2014-09-19 | 1 | -7/+7 |
| | |||||
* | Changed "inline" into "zend_always_inline" | Dmitry Stogov | 2014-09-18 | 1 | -1/+1 |
| | |||||
* | use zend_string_equals_ci | Xinchen Hui | 2014-08-29 | 1 | -0/+3 |
| | |||||
* | Add zend_string_equals and zend_string_equals_literal | Nikita Popov | 2014-08-25 | 1 | -0/+8 |
| | |||||
* | master renames phase 4 | Anatol Belski | 2014-08-25 | 1 | -1/+1 |
| | |||||
* | master renames phase 2 | Anatol Belski | 2014-08-25 | 1 | -3/+3 |
| | |||||
* | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -47/+32 |
| | |||||
* | first shot on merging the core fro the int64 branch | Anatol Belski | 2014-08-16 | 1 | -7/+7 |
| | |||||
* | Fixed compilation warnings | Dmitry Stogov | 2014-07-15 | 1 | -2/+2 |
| | |||||
* | Temporary fixed the invalid read warning | Xinchen Hui | 2014-07-14 | 1 | -5/+5 |
| | |||||
* | Changed zend_make_printable_zval() to return "use_copy" instead of ↵ | Dmitry Stogov | 2014-07-09 | 1 | -1/+1 |
| | | | | | | additional reference argument. Improved branch prediction. | ||||
* | C++ doesn't allow implicitly convert void * to other pointer type | Xinchen Hui | 2014-06-28 | 1 | -1/+1 |
| | |||||
* | C++ compiler doesn't allow cast a void * to other pointer type | Xinchen Hui | 2014-06-27 | 1 | -4/+4 |
| | |||||
* | Add STR_ALLOCA_* API, use in get_method and verify_arg | Nikita Popov | 2014-05-03 | 1 | -0/+14 |
| | | | | | | | | This avoid unnecessary allocations when using dynamic method dispatch and class typehints. Probably there are other places where this should be done as well, those just stood out for my usage. | ||||
* | Allocate zend_strings with correct size | Nikita Popov | 2014-04-23 | 1 | -4/+6 |
| | | | | | | | | For me (32bit) sizeof(zend_string) is 20, which means that the char[1] array at the end is padded with three bytes. Thus allocating based on sizeof(zend_string)-1 overallocates by those 3 padding bytes. This commit fixes the allocation size, by using XtOffsetOf. | ||||
* | Cleanup (2-nd round) | Dmitry Stogov | 2014-04-15 | 1 | -0/+39 |
| | |||||
* | IS_INTERNED is not always 0 in ZTS | Nikita Popov | 2014-04-09 | 1 | -5/+1 |
| | | | | | The current implementation chooses to intern "" in ZTS. Either that should be removed or IS_INTERNED needs to actually check the flag. | ||||
* | Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), ↵ | Dmitry Stogov | 2014-04-03 | 1 | -1/+5 |
| | | | | candidate for GC, etc) | ||||
* | Changed data layout to allow more efficient operations | Dmitry Stogov | 2014-04-02 | 1 | -10/+11 |
| | |||||
* | STR_DUP() doesn't duplicate interned strings anymore. In case new string is ↵ | Dmitry Stogov | 2014-04-01 | 1 | -4/+4 |
| | | | | required STR_INIT() or STR_ALLOC() should be used. | ||||
* | Refactored GC (incomplete) | Dmitry Stogov | 2014-03-19 | 1 | -1/+1 |
| | |||||
* | Don't include trailing zero into hash caclculation | Dmitry Stogov | 2014-03-14 | 1 | -1/+1 |
| | |||||
* | Use better data structures (incomplete) | Dmitry Stogov | 2014-02-19 | 1 | -4/+4 |
| | |||||
* | Use better data structures (incomplete) | Dmitry Stogov | 2014-02-18 | 1 | -1/+2 |
| | |||||
* | Use better data structures (incomplete) | Dmitry Stogov | 2014-02-17 | 1 | -6/+8 |
| | |||||
* | Use better data structures (incomplete) | Dmitry Stogov | 2014-02-12 | 1 | -3/+0 |
| | |||||
* | Use better data structures (incomplete) | Xinchen Hui | 2014-02-11 | 1 | -1/+1 |
| |