Daniele Alessandri
|
ddb3180700
|
Switch the default text protocol processor to the new and faster one.
|
2011-02-12 15:05:24 +01:00 |
|
Daniele Alessandri
|
f7bef784af
|
Add inline (p)subscribe via options on Predis\PubSubContext initialization.
|
2011-02-12 14:24:12 +01:00 |
|
Daniele Alessandri
|
68f77444b6
|
Use only one check for replies that should not be passed to a reply parser.
|
2011-01-14 17:08:45 +01:00 |
|
Daniele Alessandri
|
b6d93b5b34
|
Promote the profile for Redis 2.2 as stable and use it as the default one for the client.
|
2011-01-13 12:30:06 +01:00 |
|
Daniele Alessandri
|
4e6ed1fd5b
|
Do not use is_numeric() when it is not really needed (it is relatively slow).
|
2011-01-13 10:50:40 +01:00 |
|
Daniele Alessandri
|
fc9deb68be
|
Remove usage of constants in the protocol handlers.
|
2011-01-13 10:32:20 +01:00 |
|
Daniele Alessandri
|
b47adffd4f
|
Do not perform useless read operations in the bulk reply handler.
|
2011-01-13 10:28:39 +01:00 |
|
Daniele Alessandri
|
3d80ff489a
|
Less lines of code please.
|
2011-01-12 22:49:19 +01:00 |
|
Daniele Alessandri
|
4705b27302
|
Add the 'on_retry' callback as an option for Predis\MultiExecContext.
|
2011-01-12 22:46:58 +01:00 |
|
Daniele Alessandri
|
92e2455189
|
Remove unused variables.
|
2011-01-12 18:39:27 +01:00 |
|
Daniele Alessandri
|
e1d8ee5d9b
|
Remove useless reference passing.
|
2011-01-12 18:38:15 +01:00 |
|
Daniele Alessandri
|
11c490e978
|
Minor adjustments.
|
2011-01-11 22:16:30 +01:00 |
|
Daniele Alessandri
|
db2469341f
|
Remove useless stuff.
|
2011-01-11 16:36:19 +01:00 |
|
Daniele Alessandri
|
c9567c8606
|
Add an optional 'on_connection_initialized' callback to client options.
|
2011-01-10 12:20:52 +01:00 |
|
Daniele Alessandri
|
014adfe75d
|
Remove the method Predis\Network\TcpConnection::rawCommand().
|
2011-01-09 21:24:09 +01:00 |
|
Daniele Alessandri
|
2853ba7cef
|
Add the ability to set a different protocol processor on connection instances.
|
2011-01-09 15:55:55 +01:00 |
|
Daniele Alessandri
|
539a4bbdcd
|
Remove the Predis\ConnectionManager class.
The functionalities provided by that class have been merged into Predis\Client.
|
2011-01-09 15:42:36 +01:00 |
|
Daniele Alessandri
|
bf3776b47a
|
Improve initialization code of Predis\Client instances.
|
2011-01-09 15:05:28 +01:00 |
|
Daniele Alessandri
|
fe0a940f18
|
Add the new Predis\Protocols\IRedisProtocolExtended interface.
|
2011-01-09 14:53:20 +01:00 |
|
Daniele Alessandri
|
c5169694ef
|
Remove Predis\Client::setConnection().
|
2011-01-09 14:41:32 +01:00 |
|
Daniele Alessandri
|
a992d9d0b8
|
Better checks for arguments passed to Predis\ConnectionParameters.
|
2011-01-09 14:36:48 +01:00 |
|
Daniele Alessandri
|
c94cf5ef32
|
Better checks for arguments passed to Predis\Network\UnixDomainSocketConnection.
|
2011-01-09 14:36:10 +01:00 |
|
Daniele Alessandri
|
5d37ea1258
|
Remove useless override.
|
2011-01-09 14:24:13 +01:00 |
|
Daniele Alessandri
|
8392f465cc
|
Cache the generated connection ID.
|
2011-01-09 13:43:45 +01:00 |
|
Daniele Alessandri
|
b3e7cfe408
|
Make multiple explicit calls to Predis\Client::connect() possible.
|
2011-01-09 12:08:05 +01:00 |
|
Daniele Alessandri
|
b013bce140
|
Add missing method in the Predis\Network\IConnectionCluster interface.
|
2011-01-09 12:01:06 +01:00 |
|
Daniele Alessandri
|
f1488534b6
|
Reduce lines of code.
|
2011-01-09 11:58:45 +01:00 |
|
Daniele Alessandri
|
d1282261b8
|
Simplify the internals of Predis\Client when initializing a connection.
Note that the options set for a Predis\Network\IConnectionSingle instance
passed to the client are not automatically overridden anymore.
|
2011-01-09 11:49:40 +01:00 |
|
Daniele Alessandri
|
f1223c1a90
|
Simplify the signature of Predis\Client::pushInitCommands().
|
2011-01-09 10:59:54 +01:00 |
|
Daniele Alessandri
|
bcfb568d1a
|
Add new Predis\Client::getOptions() method.
|
2011-01-09 10:53:52 +01:00 |
|
Daniele Alessandri
|
48a47aa503
|
Add the Predis\Profiles\IServerProfile interface.
|
2011-01-09 10:46:54 +01:00 |
|
Daniele Alessandri
|
8eb59c8852
|
Add missing methods to Predis\Protocols\IRedisProtocol.
|
2011-01-08 20:09:23 +01:00 |
|
Daniele Alessandri
|
cd9995b972
|
Add missing 'use' directives.
|
2011-01-08 18:18:02 +01:00 |
|
Daniele Alessandri
|
131e4c9d03
|
Rewrite Predis\ConnectionParams to leverage the Predis\Options namespace.
|
2011-01-08 18:17:57 +01:00 |
|
Daniele Alessandri
|
cd828ab18a
|
Add the new Predis\Options namespace and optimize Predis\ClientOptions.
|
2011-01-08 17:37:53 +01:00 |
|
Daniele Alessandri
|
33b71a085c
|
Remove a useless method.
|
2011-01-08 01:57:47 +01:00 |
|
Daniele Alessandri
|
48762ec876
|
Fix argument name mismatch.
|
2011-01-08 01:42:39 +01:00 |
|
Daniele Alessandri
|
3b2681f2c8
|
Move some classes in new namespaces and refactor some code.
|
2011-01-08 00:45:46 +01:00 |
|
Daniele Alessandri
|
62b8569dc8
|
More changes but nothing set in stone yet.
The commands test suite passes all the assertions (woot!).
|
2011-01-07 20:35:39 +01:00 |
|
Daniele Alessandri
|
f4309893bc
|
Start a major rewrite of the internals of the library.
The public API of Predis\Client will be compatible with older releases, but
many of the core internal classes are going to change.
|
2011-01-07 17:50:54 +01:00 |
|
Daniele Alessandri
|
df268a1143
|
Merge branch 'pullreq_18'
|
2011-01-06 00:27:45 +01:00 |
|
Daniele Alessandri
|
d04c6d2670
|
Remove garbage.
|
2011-01-06 00:25:46 +01:00 |
|
Artur Kotyrba
|
8a76c8c849
|
Remove unused private method.
|
2011-01-05 23:03:53 +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
|
2bb763dbf6
|
Minor code style change.
|
2011-01-05 12:50:33 +01:00 |
|
Daniele Alessandri
|
afff56d2ec
|
Look for a closing curly brace in a string only after the index of the opening one when using key tags.
|
2011-01-05 12:49:08 +01:00 |
|
Daniele Alessandri
|
d717d906e8
|
Optimize when a pair of curly brackets for key tagging is missing.
|
2011-01-05 12:44:37 +01:00 |
|
Daniele Alessandri
|
51352bcbb3
|
Create a new class to handle the old response type of KEYS (Redis v1.2).
|
2011-01-04 21:01:29 +01:00 |
|
Daniele Alessandri
|
2b809325e0
|
Use a faster method to detect errors when reading a line from the server.
|
2011-01-04 11:08:55 +01:00 |
|
Daniele Alessandri
|
306ed28c5d
|
Reuse code a bit.
|
2011-01-04 10:55:39 +01:00 |
|