Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-19Update STREAM API to handle STATUS -> BULK reply changemichael-grunder
Right before Redis 5.0 was released, the api was changed to send message ids as BULK instead of STATUS replies.
2018-10-13Remove useless ZEND_ACC_[C|D]TOR.twosee
#ref: https://github.com/php/php-src/commit/8939c4d96b8382abe84f35e69f4f6ebd6f0f749d#r30609734
2018-09-29Streams (#1413)Michael Grunder
Streams API
2018-08-22Change connect/reconnect logicPavlo Yatsukhnenko
Persistant connections can be closed via close method. Connection marked as failed only after reconnection attempts.
2018-05-31Issue #1358Pavlo Yatsukhnenko
Use `cluster_free` in `free_cluster_context` to free cluster object. Call `cluster_disconnect` before destroying cluster object.
2018-04-22Issue #1302Pavlo Yatsukhnenko
Handle async parameter for RedisCluster::flushDb and RedisCluster::flushAll
2018-02-17Some style normalizationmichael-grunder
2018-01-17Implement UNLINK commandmichael-grunder
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.
2017-11-17Remove trailing spacesPavlo Yatsukhnenko
2017-10-20Issue #1224Pavlo Yatsukhnenko
2017-10-17Issue #1048Pavlo Yatsukhnenko
This commit is adding support of data compression. LZF was choosen because it small and fast and Redis server uses it. Since [pecl package](https://pecl.php.net/package/lzf) doesn't provide lzf.h file after installing, LZF library was added as submodule. Another algorythms may be easely added by analogy with serializers. TODO: unit-tests for different data types.
2017-10-13fix arginfo for directed node commandsPavlo Yatsukhnenko
2017-10-05Issue #1245Pavlo Yatsukhnenko
Move building `script` command logic to `redis_build_script_cmd` and use it in Redis and RedisCluster objects. Fix arginfo for `RedisCluster::script`. Fix memory leak in `cluster_raw_cmd` when `cluster_cmd_get_slot` fails.
2017-10-02Merge pull request #1244 from phpredis/issue.1193Pavlo Yatsukhnenko
Issue #1193
2017-09-29Destroy all tabs :-)michael-grunder
2017-09-28Issue #1193Pavlo Yatsukhnenko
2017-09-27Sort arginfos alphabeticallyPavlo Yatsukhnenko
2017-08-29More arginfo for RedisClusterPavlo Yatsukhnenko
This commit finally fixes issue #1055
2017-08-29More arginfo for RedisClusterPavlo Yatsukhnenko
2017-08-28More arginfo for RedisCluster + remove duplicatesPavlo Yatsukhnenko
2017-08-28More arginfo for RedisClusterPavlo Yatsukhnenko
2017-08-27Add arginfo for RedisClusterPavlo Yatsukhnenko
2017-08-20Update EXISTS to handle multiple keysmichael-grunder
Fixes #1223
2017-08-16Use zend_string to store strings in RedisSockPavlo Yatsukhnenko
Following fields were changed: err, prefix, persistent_id, auth and host
2017-08-15ZEND_HASH_FOREACH_PTRPavlo Yatsukhnenko
2017-08-02Use ZSTR_VAL and ZSTR_LEN macroses to access zend_string fieldsPavlo Yatsukhnenko
2017-07-31Fix valgrind warningsPavlo Yatsukhnenko
2017-07-25runtime exteptionPavlo Yatsukhnenko
2017-07-20CID 157206Pavlo Yatsukhnenko
2017-04-28Replace redis_cmd_format_static with redis_spprintfmichael-grunder
2017-04-28Refactore EVAL commandmichael-grunder
This commit moves EVAL and EVALSHA command construction to our redis_commands.c file because as with many other commands we can share the logic between Redis and RedisCluster. In addition it removes the last call to the legacy formatting function redis_cmd_format() which can now be removed.
2017-04-17Adds optional COUNT argument to sPopmichael-grunder
Fixes #1145
2017-04-11Processing `read_timeout` parameter + update docsPavlo Yatsukhnenko
2017-03-04Merge branch 'issue.1087' into developPavlo Yatsukhnenko
2017-03-04Issue #1087Pavlo Yatsukhnenko
`hStrLen` command
2017-02-15Make sure redisCluster members are all initialized on (re)creationmichael-grunder
Fixes #1105
2016-12-21fix last -Wincompatible-pointer-types warningRemi Collet
2016-12-21change redis_serialize to accept strlen_tRemi Collet
2016-12-21fix #1074 change redis_key_prefix to accept strlen_tRemi Collet
2016-12-20fix 'optional var not initialized' warningsPavlo Yatsukhnenko
2016-12-20PHP_FE_END + ZEND_MOD_ENDPavlo Yatsukhnenko
2016-12-19Use PHP_FE_END when available for RedisArray and RedisClustermichael-grunder
2016-12-06Issue #1006Pavlo Yatsukhnenko
2016-12-04zval_get_string + zAdd tests fixPavlo Yatsukhnenko
2016-12-02zval_get_stringPavlo Yatsukhnenko
Added gc attribute to zend_string (for zend_string_release). Added function zval_get_string and replace convert_to_string with it.
2016-11-27refactoringPavlo Yatsukhnenko
2016-11-23Unbreak php7 fix for php <= 7.0michael-grunder
2016-11-23Move zend_object handler to the endmichael-grunder
In php7 the zend_object handler structure is inlined (is no longer a pointer, but rather variable sized depending on various things, so it needs to be at the end of the container class. This is mentioned in the extensive /s upgrading documentation from Zend See "custom objects": https://wiki.php.net/phpng-upgrading In addition I believe that the zend library now takes care of freeing the overall structure, so that shouldn't be done anymore if running php >= 7.0.0.
2016-11-14php7 compatibilityPavlo Yatsukhnenko
The 'l' specifier now expects a zend_long instead of a long for zend_parse_parameters.
2016-11-13php7 compatibilityPavlo Yatsukhnenko
Define strlen_t (int for php5 and size_t for php7) and use it as the length argument of the 's' specifier for zend_parse_method_parameters