438 Commits

Author SHA1 Message Date
Aaron Stone
c032fba490 Whitespace 2016-10-11 08:03:55 -07:00
Aaron Stone
957024f777 Consistently use #ifdef instead of #if for autoconf definitions 2016-10-11 07:53:47 -07:00
Aaron Stone
583ecd68fa Merge pull request #234 from TysonAndre/document-sess_binary_protocol-php7
Document memcached.sess_binary_protocol
2016-08-08 00:02:05 -07:00
Xinchen Hui
4fa21116f1 Value pass to callback behavior consistently with get
(GET_EXTENED return array)
2016-07-26 19:11:54 +08:00
Xinchen Hui
155a864d22 Merge branch 'php7' of github.com:php-memcached-dev/php-memcached into php7 2016-07-26 18:40:13 +08:00
Xinchen Hui
56171da73e Fixed bug fetch only fetched one result 2016-07-26 17:07:26 +08:00
Xinchen Hui
4d9fda94df use zval_copy 2016-07-26 14:54:59 +08:00
Tyson Andre
045ab843ce Document memcached.sess_binary_protocol
And remove a TODO found in the code for allowing users to configure
whether or not to use binary protocols for sessions.

For issue #233
2016-07-25 13:46:39 -07:00
Xinchen Hui
bb4556a38c Partial fix build for memcached-protocl 2016-07-25 08:38:22 -07:00
Xinchen Hui
5e42fa985b Remove old version staff 2016-07-24 12:41:53 +08:00
Xinchen Hui
441168bebe avoided memory duplication 2016-07-24 12:37:29 +08:00
Xinchen Hui
f73befd69c Use zend_string_equals_literal 2016-07-23 22:35:13 +08:00
Xinchen Hui
6837d89494 Fixed test (tests/experimental/setmulti_badserialize.phpt) 2016-07-23 20:44:03 +08:00
Xinchen Hui
de9494f491 Fixed OOM (tests/experimental/locale_float.phpt) 2016-07-23 20:33:40 +08:00
Xinchen Hui
09e13048ec cleanup 2016-07-23 20:06:32 +08:00
Xinchen Hui
0acaa06d98 call_function always initialized retval 2016-07-23 15:14:48 +08:00
Xinchen Hui
d67517b04d Fixed tests/keys.phpt 2016-07-23 13:48:09 +08:00
Xinchen Hui
a1aab4e855 Avoid str duplication 2016-07-23 13:13:30 +08:00
Xinchen Hui
09e29e65de Fixed possible crash with opcache (We should never edit a zval in place) 2016-07-23 12:27:52 +08:00
Xinchen Hui
399c95c7f7 Cleanup 2016-07-23 12:11:31 +08:00
Xinchen Hui
8b27e5a079 Merge branch 'master' into php7
Conflicts:
	php_memcached.c
	php_memcached_session.c
2016-07-23 11:33:53 +08:00
Andrei Zmievski
a8ed24065c Merge pull request #247 from realmfoo/incrdecr_fix
Fix #243: Increment/decrement of an undefined key returns false with RES_SUCCESS
2016-06-11 19:39:49 -07:00
Pedro Magalhães
6e32d40133 Use a constant for object key max length 2016-06-11 01:45:40 +02:00
Pedro Magalhães
7266824772 Fix object key validation 2016-06-09 23:49:49 +02:00
Dick Tang
d9b2c9f384 fix: null-terminated zend_string in s_decompress_value 2016-06-09 00:43:42 +08:00
Konstantin Leboev
f31ad20468 Check the existence of an error, and only then if it is the maximum value. 2016-05-10 13:25:28 +03:00
Joe Watkins
6ee96cad7b Fix #238 (memory errors in s_stat_execute_cb) 2016-04-04 06:40:56 +01:00
Mikko Koppanen
7f4951fc1d Merge pull request #223 from xjewer/fix_arginfo
fix arginfo_get*
2016-03-22 23:18:04 +00:00
Mikko
4ee3819528 Fixes crash 2016-03-05 18:22:05 +00:00
xjewer
9b8126c043 fix arginfo_get* 2016-03-03 23:43:20 +03:00
Mikko
6ace07da69 Tests for default behavior 2016-02-17 14:39:49 +01:00
Mikko
a930b41fa1 Fixes memory errors, broken code, bugs etc 2016-02-06 05:07:52 +00:00
Mikko
27ad33b0c4 Fix serializers 2016-02-01 01:12:26 +00:00
Mikko
782077ce57 Fix json serializer 2016-01-31 23:11:11 +00:00
Mikko
ecc7d81151 Add tests, fix compilation error for non-sasl 2016-01-31 16:11:05 +00:00
Mikko
bdd0911a9b Update to a simpler object structure, make session config match old setting names, key validation removed etc 2016-01-31 16:07:48 +00:00
Mikko
c15d792ec3 Clean up session code, start on the whole i_obj/m_obj confusion 2016-01-30 11:41:57 +00:00
Mikko
dc5b22a8da Cleaning up driver for php7. WIP 2016-01-29 14:58:50 +00:00
Mikko
7cb0c48c8d Fixes to session 2016-01-21 13:42:17 +00:00
Mikko
5eb3bfd4fe Fixes to keys and tests 2016-01-18 04:05:32 +00:00
Mikko
0b57cd003e Merge branch 'php7' of github.com:php-memcached-dev/php-memcached into php7 2016-01-16 21:41:07 +00:00
Mikko
9e11ffa8e5 Revert the user flags and move into Memcached::getLastUserFlags 2016-01-16 21:40:35 +00:00
Joe Watkins
e573a6e8fc Merge pull request #201 from wcgallego/php7
removing unused var, fixing smart_str use w/ igbinary
2015-12-17 10:42:53 +00:00
Joe Watkins
b5a58cd207 remove duplicate class constant registration 2015-12-16 13:42:28 +00:00
Will Gallego
fb8ce9e3cb removing unused var, fixing smart_str use w/ igbinary 2015-11-17 20:52:04 +00:00
Joe Watkins
2f5a5b06b1 woops 2015-09-01 21:25:01 +01:00
Joe Watkins
b04d020aa7 minor woops 2015-09-01 20:52:00 +01:00
Joe Watkins
ba37051ab2 fix json support 2015-09-01 20:45:47 +01:00
Joe Watkins
3a8c8fd7a0 disable stuff not available for 7 yet 2015-09-01 18:30:46 +01:00
Joe Watkins
545e34bc88 Merge branch 'php7' of https://github.com/php-memcached-dev/php-memcached into moar-tests-passing 2015-09-01 18:18:00 +01:00