Aaron Stone
046411fb78
Supports PHP 7.0 - 7.2
2017-12-19 04:08:53 -08:00
Aaron Stone
b84a10616d
Bump version to 3.0.4
v3.0.4
2017-11-20 22:45:06 -06:00
Aaron Stone
ce46038315
Release notes for 3.0.4
2017-11-20 22:44:01 -06:00
Aaron Stone
2b6accd6b7
Revert "Merge pull request #330 from remicollet/issue-ini"
...
This reverts commit bf16783ef9 , reversing
changes made to 23cf6c60f3 .
2017-11-20 11:47:22 -06:00
Aaron Stone
56145402e9
Travis CI now provides the PHP 7.2 alias
2017-07-27 00:03:48 -07:00
Aaron Stone
39bfab06c0
In PHP 7.2 the session_start() error messages have changed a bit ( #359 )
...
See PHP Bug 71038 for details https://bugs.php.net/bug.php?id=71038
Added PHP 7.2.0alpha2 to Travis CI matrix
2017-07-11 15:57:51 -07:00
Aaron Stone
973f5ec2f5
Merge pull request #360 from sodabrew/fix-memc-check-key
2017-07-11 14:23:18 -07:00
Aaron Stone
be93a459ee
Fix the key validity tests to handle strings with embedded nulls
2017-07-11 14:04:01 -07:00
Aaron Stone
e91eae7be3
Split tests for invalid keys ascii and binary
...
Test get command for invalid keys as well as set command
2017-07-11 14:04:01 -07:00
Aaron Stone
43bbf00802
In PHP 7.2, php_errormsg is deprecated
2017-07-07 19:15:28 -07:00
Aaron Stone
bf16783ef9
Merge pull request #330 from remicollet/issue-ini
...
Refresh memcached.ini and set sess_binary_protocol off by default with older libmemcached
2017-06-13 10:42:33 -05:00
Tyson Andre
23cf6c60f3
Fix ReflectionMethod signatures for appendByKey,prepend, etc. ( #352 )
2017-06-09 13:08:33 -05:00
Xinchen Hui
5f28025c15
This will lead unexpected behavior if zval is an interned string
2017-05-23 11:43:19 +08:00
Eric Norris
14581c4604
s/encryption/compression/g ( #342 )
2017-05-02 13:24:34 -07:00
Tyson Andre
c23ea262f3
Document GET_EXTENDED flag. Add/rename other missing/misnamed constants. ( #335 )
2017-04-30 08:15:36 -07:00
Akihito Nakano
6b660bd554
Fix optional parameter getStats($type) ( #337 )
...
* Fix 'type' is optional
* Change argument name args -> type
2017-04-22 23:12:36 -07:00
Remi Collet
037ed570ba
Fix build warnings ( #329 )
2017-02-22 00:22:11 +00:00
Remi Collet
3b3e63dac7
typo in skip message ( #331 )
2017-02-21 22:47:15 +00:00
Remi Collet
0a90491dd1
set sess_binary_protocol off by default with older libmemcached
2017-02-20 19:32:37 +01:00
Remi Collet
d81697f7a0
Refresh memcached.ini provided configuration
...
- remove deprecated options
- add missing memcached.sess_server_failure_limit option
- comment all options default value (only needed when not default value)
see php.ini-production which follow this convention
2017-02-20 19:27:39 +01:00
Aaron Stone
466485a2ca
Bump version to 3.0.3
v3.0.3
2017-02-19 19:48:43 -08:00
Aaron Stone
357efc40df
Release notes for 3.0.3
2017-02-19 19:48:33 -08:00
Aaron Stone
beb58dc69f
Replace traditional free with pefree to match the registered allocators, fixes #328
2017-02-19 19:30:22 -08:00
Aaron Stone
99cab0e081
Fix session-persistent test failures on older libmemcached versions
2017-02-19 17:23:35 -08:00
Xinchen Hui
a8517cd97b
dev version
2017-02-19 18:34:48 +08:00
Xinchen Hui
bff303547f
Fixed memleak (severs)
2017-02-19 18:32:16 +08:00
Xinchen Hui
1e7e4eedb6
Fixed issue #327
2017-02-19 18:26:55 +08:00
Aaron Stone
81bc04f1ac
Use the word below instead of less-than symbol in package.xml because XML
2017-02-12 16:04:39 -08:00
Aaron Stone
de250ed68c
Bump version to 3.0.2
v3.0.2
2017-02-12 08:07:26 -08:00
Aaron Stone
e554cddb6a
Release notes for 3.0.2
2017-02-12 08:07:26 -08:00
Aaron Stone
f7c92b0699
Update warning for touch command in binary protocol mode with libmemcached < 1.0.18 ( #322 )
2017-02-12 15:56:22 +00:00
Aaron Stone
83d5f30899
Separate test for 64-bit increment/decrement/incrementByKey/decrementByKey ( #321 )
2017-02-10 13:51:14 +00:00
Aaron Stone
ecd77ab93f
Recommend libmemcached 1.0.18 or higher to match the release notes
2017-02-09 06:40:50 -08:00
Xinchen Hui
4104f40407
Merge pull request #319 from remicollet/issue-tests
...
ensure tests are ok for 32bits build
2017-02-09 14:34:45 +08:00
Remi Collet
f8fd6228e3
ensure tests are ok for 32bits build
2017-02-09 07:24:15 +01:00
Aaron Stone
8a40f2ca5f
Add myself to package.xml before uploading to PECL
2017-02-08 10:09:23 -08:00
Aaron Stone
71f20e1925
Bump version to 3.0.1
v3.0.1
2017-02-07 06:20:51 -08:00
Aaron Stone
d019588648
Notes for version 3.0.1
2017-02-07 06:19:13 -08:00
Aaron Stone
115cc0a2c4
Add API entries for flushBuffers() and getAllKeys() ( #316 )
2017-02-07 12:34:54 +00:00
Aaron Stone
08b39ed6b1
Ignore specific errors from memcached_dump for getAllKeys() with newer memcached servers ( #315 )
2017-02-07 12:34:41 +00:00
Aaron Stone
a86de05e86
Fix compiling with memcached binary protocol enabled ( #312 )
2017-02-07 12:34:23 +00:00
Aaron Stone
fa620a48c4
Restore php_libmemcached_compat with workaround for missing memcached_exists ( #314 )
...
This partially reverts commit c564fd875e from #295
2017-02-07 12:34:07 +00:00
Aaron Stone
e4f4878f12
Travis CI purge old versions of memcached and libmemcached ( #309 )
...
* Purge all things memcached from Travis CI before installing local copies
* Add ancient libmemcached 1.0.2 to Travis CI matrix
2017-02-02 19:53:25 +00:00
Aaron Stone
218b019509
Fix memory leak from recent change to s_compress_value
...
Commit c85f34c01b cleaned up the function,
but missed an all-important efree(buffer) on the no-compression path.
v3.0.0
2017-01-30 21:58:35 -08:00
Aaron Stone
e495a6bb1d
Bump version to 3.0.0
2017-01-30 14:27:55 -08:00
Aaron Stone
7a3b50992c
Add ChangeLog notes and tentative release date for 3.0.0
2017-01-26 01:43:46 -08:00
Aaron Stone
6085768b48
Support for 64-bit offsets for increment and decrement ( #306 )
...
While the memcached protocol allows for 64-bit increments or decrements,
there is a quirk in the libmemcached API that the memcached_increment()
and memcached_decrement() functions take only a 32-bit adjustment value.
Since the memcached_increment_by_key() and memcached_decrement_by_key()
functions do accept 64-bit adjustment values, and the memcached_increment() and
memcached_decrement() functions are simply wrappers around those, we'll use
them directly and thus support 64-bit adjustments in all cases.
2017-01-26 02:06:30 +00:00
Aaron Stone
6ee6166a9f
Merge pull request #303 from sodabrew/compression_conditions
...
Compression conditions adjustments
2017-01-25 08:56:15 +00:00
Aaron Stone
c85f34c01b
Make sure that s_compress_value() will always leave a valid payload, even if it did not get compressed
2017-01-25 00:52:45 -08:00
Dick Tang
7283b11d14
test: compression edge case verification ( #256 )
...
test compressed SET/GET under various settings of
- compression_factor
- compression_threshold
- data length
2017-01-25 00:51:49 -08:00