Artur Kotyrba
|
fb30e22c30
|
Added possibility to use custom connection cluster classes in Predis\Client constructor.
Added three methods (used by \Predis\Client) to IConnectionSingle interface.
|
2011-01-05 22:05:21 +01:00 |
|
Daniele Alessandri
|
b202e6cae7
|
Make Predis\Client::setProfile() private.
|
2011-01-01 14:59:38 +01:00 |
|
Daniele Alessandri
|
5ca82fb56b
|
Code style changes only.
|
2011-01-01 13:06:43 +01:00 |
|
Daniele Alessandri
|
1530c7c0d6
|
Cannot execute with a transaction block after using fluent interface style with Predis\MultiExecBlock.
|
2011-01-01 11:49:05 +01:00 |
|
Daniele Alessandri
|
11b2f3aca3
|
Improve fluent-interface style for transactions with CAS.
|
2011-01-01 11:35:48 +01:00 |
|
Daniele Alessandri
|
6b82b412fb
|
Cannot use the 'retry' option for transactions without providing a function block.
|
2011-01-01 11:32:23 +01:00 |
|
Daniele Alessandri
|
99042f6b9c
|
Do not fail with empty transactions when using CAS.
|
2010-12-31 19:40:59 +01:00 |
|
Daniele Alessandri
|
46b56437a4
|
Fix and optimize WATCH with CAS.
|
2010-12-31 18:55:04 +01:00 |
|
Daniele Alessandri
|
4a497eea79
|
Add support for optional automatic retries upon aborted transactions.
|
2010-12-31 18:53:13 +01:00 |
|
Daniele Alessandri
|
cf21a43211
|
Support DISCARD with CAS.
|
2010-12-31 16:17:31 +01:00 |
|
Daniele Alessandri
|
70487bbfb3
|
Add support for check-and-set (CAS) for transactions with Predis\MultiExecBlock.
|
2010-12-31 16:17:24 +01:00 |
|
Daniele Alessandri
|
eac195eaea
|
Remove unused class.
|
2010-12-18 17:43:41 +01:00 |
|
Daniele Alessandri
|
daf88645f2
|
New command: BRPOPLPUSH (Redis v2.2-dev).
Conflicts:
lib/Predis.php
|
2010-12-18 17:40:30 +01:00 |
|
Daniele Alessandri
|
64cb73fbb9
|
New command: GETBIT (Redis v2.2-dev).
Conflicts:
lib/Predis.php
|
2010-12-18 17:38:49 +01:00 |
|
Daniele Alessandri
|
0b9bca8ce1
|
New command: SETBIT (Redis v2.2-dev).
Conflicts:
lib/Predis.php
|
2010-12-18 17:36:48 +01:00 |
|
Daniele Alessandri
|
e1924551b1
|
New command: SETRANGE (Redis v2.2-dev).
Conflicts:
lib/Predis.php
|
2010-12-18 17:33:15 +01:00 |
|
Daniele Alessandri
|
171a28fe26
|
New command: GETRANGE (Redis v2.2-dev - replaces SUBSTR).
|
2010-12-18 17:29:32 +01:00 |
|
Daniele Alessandri
|
1e4661cfc8
|
Overridden methods for UNWATCH and DISCARD in Predis\MultiExecBlock must return $this to not break method chaining.
|
2010-11-28 19:19:20 +01:00 |
|
Daniele Alessandri
|
21b3fdb3e1
|
New command: PERSIST (Redis v2.2-dev).
|
2010-11-28 16:35:25 +01:00 |
|
Daniele Alessandri
|
fffa7acd83
|
Add support for UNIX domain sockets.
|
2010-11-28 13:58:09 +01:00 |
|
Daniele Alessandri
|
f419d15f82
|
New command: ZREVRANGEBYSCORE (Redis v2.2-dev).
|
2010-11-27 12:55:39 +01:00 |
|
Daniele Alessandri
|
7b1713398d
|
Make WATCH accept an array of keys that must be watched.
|
2010-09-25 17:52:04 +02:00 |
|
Daniele Alessandri
|
29f18254bb
|
Fix improper handling of a few corner cases for Predis\MultiExecBlock and send DISCARD to the server on uncaught exceptions inside a callable block.
|
2010-09-25 15:06:03 +02:00 |
|
Daniele Alessandri
|
4c8f31f532
|
Fix bad handling of empty MULTI/EXEC contexts (MULTI should not even be sent to the server).
|
2010-09-25 14:26:50 +02:00 |
|
Daniele Alessandri
|
c131d2f7b6
|
Fix an infinite recursion loop when calling Predis\Client::multiExec() (ISSUE #14).
|
2010-09-24 23:02:08 +02:00 |
|
Daniele Alessandri
|
fc8f363fe5
|
New commands: RPUSHX, LPUSHX (Redis v2.2-dev).
|
2010-09-21 17:33:24 +02:00 |
|
Daniele Alessandri
|
49a140e3af
|
New command: LINSERT (Redis v2.2-dev).
|
2010-09-21 17:22:26 +02:00 |
|
Daniele Alessandri
|
73b4760fc4
|
New command: STRLEN (Redis v2.2-dev).
|
2010-09-21 16:56:52 +02:00 |
|
Daniele Alessandri
|
8f601b8420
|
Slight micro-optimization.
|
2010-09-21 15:55:02 +02:00 |
|
Daniele Alessandri
|
8769567c7e
|
Remove Predis\Client::rawCommand() due to interface inconsistencies.
|
2010-09-18 18:31:05 +02:00 |
|
Daniele Alessandri
|
5124fd1d43
|
Push initialization commands already created instances of Predis\IConnectionSingle.
|
2010-09-18 18:26:23 +02:00 |
|
Daniele Alessandri
|
2eec3929fb
|
Get the connection out of a cluster only once inside Predis\Client::getClientFor().
|
2010-09-18 17:05:54 +02:00 |
|
Daniele Alessandri
|
aa0ea048ae
|
Accept instances of Predis\IConnection or Predis\ConnectionParameters as parameters for the constructor of Predis\Client.
|
2010-09-18 14:56:53 +02:00 |
|
Daniele Alessandri
|
f67082072d
|
Perform (p)unsubscribtion only if (p)subscribed to a channel when the destructor for Predis\PubSubContext is invoked.
|
2010-09-17 22:23:29 +02:00 |
|
Daniele Alessandri
|
ac5f34b0ad
|
Make arguments handling more solid for the SORT command.
|
2010-09-17 22:10:05 +02:00 |
|
Daniele Alessandri
|
78f11f1a0f
|
Remove useless code duplication.
|
2010-09-17 21:55:25 +02:00 |
|
Daniele Alessandri
|
9468891faf
|
Fix checks on the value for the STORE argument (ISSUE #13).
|
2010-09-17 11:36:17 +02:00 |
|
Daniele Alessandri
|
9b849d49c0
|
Remove some ugly code. And by ugly, I mean really ugly.
|
2010-08-15 19:15:58 +02:00 |
|
Daniele Alessandri
|
b40c2fd214
|
Remove the static method Predis\Client::create().
|
2010-08-15 17:58:45 +02:00 |
|
Daniele Alessandri
|
3487cc219c
|
Remove the method Predis\Client::pipelineSafe().
|
2010-08-15 17:52:08 +02:00 |
|
Daniele Alessandri
|
104bfa3332
|
Move some common code for connections in the Predis\Connection class.
|
2010-08-15 16:26:37 +02:00 |
|
Daniele Alessandri
|
68397fe958
|
Rename Predis\Connection to Predis\ConnectionFactory and disallow the creation of instances for this class.
|
2010-08-15 15:57:24 +02:00 |
|
Daniele Alessandri
|
8428f9916a
|
More code clean-ups.
|
2010-08-15 15:08:35 +02:00 |
|
Daniele Alessandri
|
2aec7bfeda
|
Leverage the 'use' statement to make the code a bit shorter and cleaner.
|
2010-08-15 14:52:47 +02:00 |
|
Daniele Alessandri
|
b4b06acfe7
|
Add the Predis\ICommand interface.
|
2010-08-15 11:43:03 +02:00 |
|
Daniele Alessandri
|
fbd5059fb2
|
Do not use magic methods to serialize the command buffer: rename Predis\Command::__invoke() to Predis\Command::serialize().
|
2010-08-15 11:34:24 +02:00 |
|
Daniele Alessandri
|
6ea96e82f9
|
Make Predis\Command::serializeRequest() a protected method.
|
2010-08-15 11:20:39 +02:00 |
|
Daniele Alessandri
|
e7b8b50dda
|
Merge the serialization of Predis\MultiBulkCommand into Predis\Command since it is the preferred way to send commands to Redis servers >= 1.2.
|
2010-08-15 11:16:30 +02:00 |
|
Daniele Alessandri
|
a1f202527f
|
Do not implicitly extract arguments for multi-bulk commands when the first (and only) element of the arguments array is an array itself.
|
2010-08-15 11:02:48 +02:00 |
|
Daniele Alessandri
|
618708b853
|
Fix handling of the WEIGHT modifier for ZUNIONSTORE and ZINTERSTORE with more than two weights specified.
|
2010-07-11 16:40:27 +02:00 |
|