1931 Commits

Author SHA1 Message Date
Pavlo Yatsukhnenko ea2a705a61 4.0.0 4.0.0 2018-03-17 14:10:23 +02:00
Pavlo Yatsukhnenko 26a3abf060 4.0.0RC2 2018-02-21 10:17:30 +02:00
Pavlo Yatsukhnenko 9240293546 Merge branch 'issue.1306' into develop 2018-02-21 10:11:13 +02:00
719media f6e1eb85f7 clarify mathematical expression 2018-02-20 15:06:41 -08:00
michael-grunder 7e948488f3 Merge branch 'develop' of github.com:phpredis/phpredis into develop 2018-02-19 13:40:13 -08:00
michael-grunder a4afe91909 Some style normalization 2018-02-17 09:47:28 -08:00
Barbery 919b1d19e9 Update cluster.markdown
add RedisCluster::FAILOVER_DISTRIBUTE_SLAVES option
2018-02-11 11:24:56 -08:00
Yevgen Kovalienia 5b29036e65 Typo fixed in cluster.markdown 2018-02-11 11:20:07 -08:00
Yusril Herlian Syah 36349da78f Remove unwanted slash in README.markdown 2018-02-10 09:47:36 -08:00
ftwbzhao 1886140338 update INCR && DECR 2018-02-08 17:06:34 -08:00
Alexey Kopytko 3cec66a2c0 Update README.markdown 2018-02-08 16:57:51 -08:00
Michael Grunder 78fa97684e Merge pull request #1304 from remicollet/issue-offline
skip online test
2018-02-07 21:03:43 -08:00
Remi Collet 627bd89b45 skip online test 2018-02-08 05:47:28 +01:00
Pavlo Yatsukhnenko 9cd059117a Refactor RedisArray
Change type of returning value from `char *` to `zend_string *` for
`ra_extract_key` and `ra_call_extractor` functions.
Store keys as `zend_string *` in RedisArray::mset.
2018-01-29 22:37:36 +02:00
michael-grunder 2828c2f187 Merge branch 'issue.1287' into develop 2018-01-25 10:59:40 -08:00
michael-grunder d3b6c3c2bb Documentation for UNLINK and SWAPDB 2018-01-18 18:32:03 -08:00
michael-grunder 625fadeb51 Merge branch 'swapdb-command' into develop 2018-01-18 17:38:09 -08:00
michael-grunder 03f77018ce Add a test for SWAPDB 2018-01-18 11:01:53 -08:00
michael-grunder 84f1f28ba2 Implement SWAPDB command 2018-01-18 09:04:25 -08:00
michael-grunder 6028df5226 Remove debug line in unit tests 2018-01-17 14:40:32 -08:00
michael-grunder 04f62acbc8 Syntax fixes and prototype consolidation
Fix PHP_METHOD syntax fail for unlink
Move redis_unlink_cmd by redis_del_cmd as they're the same
2018-01-17 10:34:08 -08:00
michael-grunder 9e65c42931 Implement UNLINK command
This commit implements UNLINK for Redis, RedisCluster, and RedisArray.
To a client library UNLINK behaves identically to DEL so we can use the
same handlers for both.
2018-01-17 09:36:38 -08:00
michael-grunder 815d2013b4 Much simpler exception test 2018-01-12 09:01:06 -08:00
michael-grunder a0dc22220c Actually commit the cluster code to skip the exception test 2018-01-11 19:33:01 -08:00
michael-grunder 4090af15b8 Adds a test for throwing a connect exception 2018-01-11 19:29:14 -08:00
Pavlo Yatsukhnenko 5b9c0c6061 Issue #1287 2018-01-05 17:12:50 +02:00
Pavlo Yatsukhnenko 837dee471c Issue #1292
Revert broken in c9df77d RA hashing impl.
2018-01-02 13:35:08 +02:00
Pavlo Yatsukhnenko b566fb44ef PR #1283. Thanks @fmk!
PHP >=7.3.0 uses zend_string to store `php_url` elements.
2017-12-20 17:38:31 +02:00
michael-grunder 81f44dcc00 Skip ZRANGEBYLEX check if use is running Redis < 2.8.9 2017-12-15 08:13:57 -08:00
Pavlo Yatsukhnenko f65b5e2c08 Merge pull request #1285 from ndxbn/test-zset
add test for zRangeByLex method
2017-12-15 17:09:07 +02:00
ndxbn a99c450e82 add test for zRangeByLex method 2017-12-15 21:39:29 +09:00
Pavlo Yatsukhnenko 6e00f227d5 Merge pull request #1281 from yatsukhnenko/develop
Refactor redis session
2017-12-08 19:18:51 +02:00
Pavlo Yatsukhnenko 485db46fec Issue #88
Disallow using empty string as session name.
2017-12-08 13:42:50 +02:00
Pavlo Yatsukhnenko 4b8336f737 Use zend_string for storing auth and prefix members 2017-12-08 11:36:11 +02:00
Pavlo Yatsukhnenko 4cf34143c4 Merge pull request #1280 from janic716/dev
the element of z_seeds may be a reference on php7
2017-12-06 22:34:17 +02:00
Pavlo Yatsukhnenko 367bc6aac9 Prepare to merge #1280 2017-12-06 22:33:33 +02:00
chenjian 1e63717a7d the element of z_seeds may be a reference on php7 2017-12-07 01:58:49 +08:00
Michael Grunder 70b3c939db Merge pull request #1274 from TomA-R/develop
Markdown fixes
2017-12-02 14:22:27 -08:00
Pavlo Yatsukhnenko 5107d3c78a TravisCI: php 7.2 2017-11-30 16:20:59 +02:00
Pavlo Yatsukhnenko 91e9cfe1b5 Avoid connection in helper methods 2017-11-29 17:49:32 +02:00
Tom Arbesser-Rastburg 8605590d56 Markdown fixes 2017-11-28 23:26:15 -05:00
Pavlo Yatsukhnenko 6202047f5f Fix cluster_init_seeds. Thanks @adlagares! 2017-11-20 09:51:30 +02:00
Pavlo Yatsukhnenko 67babe15d3 Remove trailing spaces 2017-11-17 11:02:41 +02:00
Pavlo Yatsukhnenko 7c5a68c886 Refactoring
Avoid socket connection in destructor
Replace IF_ATOMIC/IF_MULTI/IF_PIPELINE macroses with
IS_ATOMIC/IS_MULTI/IS_PIPELINE respectively.
Remove IF_NOT_* macroses
2017-11-17 10:59:54 +02:00
Pavlo Yatsukhnenko 479420f492 TravisCI: refactor call of redis-trib.rb 2017-11-14 16:31:14 +02:00
michael-grunder 5fc2ce1af1 Merge branch 'fix-win32-tcp_keepalive' into develop 2017-10-28 11:27:55 -07:00
michael-grunder 17cad8b34e Remove unused variable 2017-10-26 11:32:59 -07:00
michael-grunder 51e48729df Shot in the dark fix for TCP_KEEPALIVE in Windows 2017-10-26 09:27:46 -07:00
michael-grunder 010336d5a7 Tweak call to setsockopt in redis_setoption_handler 2017-10-24 14:57:03 -07:00
michael-grunder 5101172ac7 Minor change to setsockopt 2017-10-24 13:54:45 -07:00