Daniele Alessandri
|
3b2681f2c8
|
Move some classes in new namespaces and refactor some code.
|
2011-01-08 00:45:46 +01:00 |
|
Daniele Alessandri
|
a7ae86689d
|
Test suite: client initialization using an instance of Predis\IConnectionCluster.
|
2011-01-05 23:03:34 +01:00 |
|
Daniele Alessandri
|
6de7222857
|
Revert changes to the test suite in 6a7fc49.
|
2011-01-05 22:55:15 +01:00 |
|
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
|
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
|
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
|
922beeceea
|
Test suite: tiny fix in a test for LINSERT (again, this time for real).
|
2010-12-31 16:16:54 +01:00 |
|
Daniele Alessandri
|
02d7400d1f
|
Test suite: tiny fix in a test for LINSERT.
|
2010-12-21 18:36:43 +01:00 |
|
Daniele Alessandri
|
3a2e977ee0
|
Test suite: temporary fix for testSetExpire().
|
2010-12-18 17:44:06 +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
|
ecc7499b47
|
Test suite: move up testStrlen().
|
2010-12-18 17:39:17 +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
|
e146fa9e65
|
Fix a bunch of broken tests.
|
2010-11-28 17:17:39 +01:00 |
|
Daniele Alessandri
|
21b3fdb3e1
|
New command: PERSIST (Redis v2.2-dev).
|
2010-11-28 16:35:25 +01:00 |
|
Daniele Alessandri
|
f419d15f82
|
New command: ZREVRANGEBYSCORE (Redis v2.2-dev).
|
2010-11-27 12:55:39 +01:00 |
|
Daniele Alessandri
|
9e58ad7648
|
Test suite: move the trigger guard for the test suite in the common included file.
|
2010-09-25 16:15:45 +02:00 |
|
Daniele Alessandri
|
1d45649f86
|
Test suite: add test for WATCH in Predis\MultiExecBlock.
|
2010-09-25 16:15:13 +02:00 |
|
Daniele Alessandri
|
96e7a58f9f
|
Test suite: add missing tests for Predis\MultiExecBlock.
|
2010-09-25 14:23:22 +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
|
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
|
b40c2fd214
|
Remove the static method Predis\Client::create().
|
2010-08-15 17:58:45 +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
|
c5f6ca1d90
|
Test suite: update client tests.
|
2010-08-15 11:25:56 +02:00 |
|
Daniele Alessandri
|
565a647a3d
|
Drop support for long method names for commands and move support for Redis v1.0 into a separate file under the new addons subdirectory.
|
2010-07-30 19:19:23 +02:00 |
|
Daniele Alessandri
|
1520e2c48b
|
Test suite: add a test for the LIMIT modifier of ZRANGEBYSCORE configured via associative array.
|
2010-07-11 17:07:56 +02:00 |
|
Daniele Alessandri
|
f1df8b163c
|
Add tests for the new options handling for the ZRANGE commands family.
|
2010-07-07 20:17:32 +02:00 |
|
Daniele Alessandri
|
e3ae04437c
|
First stub of the Predis\Compatibility class. Things will most probably change later.
|
2010-07-02 22:19:57 +02:00 |
|
Daniele Alessandri
|
2af73f4fa1
|
Deprecate long method names for Redis commands and move them into new server profiles available in the Predis_Compatibility.php file.
|
2010-07-02 21:52:56 +02:00 |
|
Daniele Alessandri
|
72c41a25cb
|
Rename Predis\Connection to Predis\TcpConnection.
|
2010-06-10 10:40:09 +02:00 |
|
Daniele Alessandri
|
40d5b04278
|
Change the behavior of a test and add a reminder for a later in-depth examination of alternatives.
|
2010-05-21 21:02:09 +02:00 |
|
Daniele Alessandri
|
376dfe3451
|
Move IDistributionAlgorithm, HashRing and KetamaPureRing to the new Predis\Distribution namespace.
|
2010-05-17 19:59:54 +02:00 |
|
Daniele Alessandri
|
23b68d9415
|
Test suite: add test for the HASH type.
|
2010-05-17 19:19:53 +02:00 |
|
Daniele Alessandri
|
35f7ea2895
|
Test suite: minor code formatting changes.
|
2010-05-16 13:00:01 +02:00 |
|
Daniele Alessandri
|
37d4aa3d94
|
Test suite: test creation of the server profile for Redis 2.0.
|
2010-05-16 12:29:19 +02:00 |
|
Daniele Alessandri
|
f1890c93a6
|
Test suite: PredisClientFeaturesTestSuite and same signature of PHPUnit_Framework_TestCase::onNotSuccessfulTest.
|
2010-05-16 12:23:50 +02:00 |
|
Daniele Alessandri
|
d69a872359
|
Test suite: minor code formatting changes.
|
2010-05-16 12:20:20 +02:00 |
|
Daniele Alessandri
|
4f0f2ca3eb
|
ZUNION and ZINTER have been changed to ZUNIONSTORE and ZINTERSTORE for consistency (see Redis commit 5d373da).
|
2010-05-15 08:25:50 +02:00 |
|
Daniele Alessandri
|
72ef71d2df
|
Merge branch 'test_library_features'
|
2010-05-13 18:53:21 +02:00 |
|
Daniele Alessandri
|
1a9454a4f2
|
Updated the tests to reflect the changes that has been made in the internal design of the library in the latest weeks (preparing to merge into master).
|
2010-05-13 18:52:51 +02:00 |
|
Daniele Alessandri
|
08afdfac1b
|
Trying to increment a string value associated to an hash now raises an error.
|
2010-05-10 11:27:26 +02:00 |
|
Daniele Alessandri
|
0664bde7e9
|
Bugfix: replies to DEL commands must not be converted to a boolean response as DEL returns the number of keys removed.
|
2010-05-10 11:20:51 +02:00 |
|