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
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
2016-11-12php7 compatibilityPavlo Yatsukhnenko
All tests passed. \o/
2016-11-12WIP: php7 compatibilityPavlo Yatsukhnenko
2016-11-12WIP: php7 compatibilityPavlo Yatsukhnenko
2016-11-10WIP: php7 compatibilityPavlo Yatsukhnenko
2016-11-04Fix static analyzer warningsPavlo Yatsukhnenko
2016-11-03WIP: php7 compatibilityPavlo Yatsukhnenko
Replace STR_FREE with efree. Redis::hmget using zval* instead of zval**.
2016-11-01WIP: php7 compatibilityPavlo Yatsukhnenko
Redefine zend_hash_get_current_key + wrap zend_hash_get_current_key_ex
2016-10-28WIP: php7 compatibilityPavlo Yatsukhnenko
Wrap zend_hash_init destructor. Add implementation of zend_hash_str_exists, zend_hash_str_update_ptr, zend_hash_index_update_ptr and zval_get_long functions.
2016-10-26WIP: php7 compatibilityPavlo Yatsukhnenko
Define ZEND_SAME_FAKE_TYPE macro and use it instead of Z_TYPE == IS_BOOL Redefine add_assoc_stringl_ex as macro
2016-10-25WIP: php7 compatibilityPavlo Yatsukhnenko
Wrap create_cluster_context
2016-10-11WIP: php7 compatibilityPavlo Yatsukhnenko
Redefine add_next_index_stringl
2016-10-09WIP: php7 compatibilityPavlo Yatsukhnenko
RETVAL_STRING and RETVAL_STRINGL always duplicate value