Daniele Alessandri
62b4e52eef
Update TODO.
2011-04-03 12:20:01 +02:00
Daniele Alessandri
8a2f53059a
Make Predis\ConnectionParameters::__construct() faster.
2011-04-03 11:36:28 +02:00
Daniele Alessandri
c2097b4242
Add .gitignore file.
2011-04-03 11:10:12 +02:00
Daniele Alessandri
6f51521f81
Rename test file.
2011-04-03 10:55:27 +02:00
Daniele Alessandri
609db5159e
Remove Predis\ComposableConnectionParameters (superseeded by Predis\ConnectionParameters).
2011-04-03 10:47:37 +02:00
Daniele Alessandri
5ab210fd9d
Allow users to undefine a default parameter.
2011-04-03 10:45:47 +02:00
Daniele Alessandri
6fe57bae3f
Implement support for using Predis\Options\IOption with Predis\ConnectionParameters.
2011-04-03 10:38:02 +02:00
Daniele Alessandri
9c0012837a
Return the path of the file as the identifier for connections based on UNIX domain sockets.
2011-04-03 10:12:28 +02:00
Daniele Alessandri
741495037e
Make Predis\ConnectionParameters extensible.
2011-04-03 09:59:54 +02:00
Daniele Alessandri
9d5dc120dc
Implement serialization/deserialization for Predis\ConnectionParameters.
2011-04-03 09:32:07 +02:00
Daniele Alessandri
74f6f9ab85
Small refactoring of the internals of Predis\ConnectionParameters.
2011-04-03 09:26:53 +02:00
Daniele Alessandri
0d6ffaf0f0
Minor fixes to the connection parameters classes.
2011-04-01 00:35:02 +02:00
Daniele Alessandri
9389f217c8
Reimplement Predis\ConnectionParameters and move the old implementation to Predis\ComposableConnectionParameters.
2011-03-31 19:13:27 +02:00
Daniele Alessandri
3f720ad867
Add the new Predis\IConnectionParameters interface.
2011-03-31 15:12:52 +02:00
Daniele Alessandri
17f51420ce
Improve speed for options validation.
2011-03-31 14:29:06 +02:00
Daniele Alessandri
3d9ddeef98
Opt for a smaller and slightly more efficient solution.
2011-03-31 00:17:11 +02:00
Daniele Alessandri
85c1a7a852
Fix ISSUE #27 .
2011-03-30 23:24:45 +02:00
Daniele Alessandri
094a5bcc90
Fix wrong command class for KEYS in the v2.2 server profile.
2011-03-29 00:14:54 +02:00
Daniele Alessandri
f637872421
Keeping the server profiles classes independent leads to faster initialization times.
2011-03-28 23:56:31 +02:00
Daniele Alessandri
de1a183315
Do some micro-optimizations to reduce the overhead of creating client instances.
2011-03-28 23:25:37 +02:00
Daniele Alessandri
ab45b7a461
Fix wrong value :-)
2011-03-28 18:22:54 +02:00
Daniele Alessandri
2ed31eeb16
Update the average performance reported in the FAQ after some internal improvements.
2011-03-28 12:47:46 +02:00
Daniele Alessandri
3b70d1e020
Change code formatting for the classes in the Predis\Commands namespace.
2011-03-27 19:46:02 +02:00
Daniele Alessandri
2201dd1df2
Merge branch 'command_hashing'
2011-03-27 18:50:55 +02:00
Daniele Alessandri
658782f531
Add a script to generate a Phar archive of Predis from the repository.
2011-03-27 15:01:51 +02:00
Daniele Alessandri
c4064e5801
Some commands accepting multiple keys can be hashed if all the keys return the same hash (key tags).
...
List of the commands affected by this change (based on Redis 2.2):
MSET, MGET, DEL, BLPOP, BRPOP, RPOPLPUSH, BRPOPLPUSH, SINTER, SINTERSTORE,
SUNION, SUNIONSTORE, SDIFF, SDIFFSTORE, ZINTERSTORE, ZUNIONSTORE.
2011-03-27 12:12:51 +02:00
Daniele Alessandri
d6a445f1ec
Fix SINTERSTORE and SUNIONSTORE to accept an array for the list of source keys.
2011-03-27 09:38:30 +02:00
Daniele Alessandri
0f751cabcb
Upgrade to PHPUnit 3.5.
2011-03-27 09:15:38 +02:00
Daniele Alessandri
b007b753f5
Fix SUBSCRIBE and PSUBSCRIBE so that they can accept a list of channels for subscription.
2011-03-26 22:45:52 +01:00
Daniele Alessandri
b84c84007f
Remove Predis\ICommand::canBeHashed() as a public method required for command classes and reuse it internally to Predis\Command.
2011-03-24 00:43:02 +01:00
Daniele Alessandri
4e0e1908cd
Minor speed optimizations.
2011-03-23 23:27:05 +01:00
Daniele Alessandri
930a1096e1
Refactor the key hashing logic for Redis commands.
2011-03-23 22:58:49 +01:00
Daniele Alessandri
cdfd0b9f5c
Fix more problems of Predis\MultiExecContext on certain cases.
2011-03-20 15:27:59 +01:00
Daniele Alessandri
cb1f27a403
Update TODO.
2011-03-20 12:08:34 +01:00
Daniele Alessandri
e4c45455fe
Fix a couple of corner cases for Predis\MultiExecContext.
2011-03-20 10:47:57 +01:00
Daniele Alessandri
ceca866158
Remove Predis\Network\IConnectionSingle::setProtocolOption() for now.
2011-03-20 10:47:30 +01:00
Daniele Alessandri
665e428366
Give up on some core reusing practices in favor of execution speed and memory usage.
2011-03-20 10:07:40 +01:00
Daniele Alessandri
31e068796f
Update FAQ.
2011-03-18 23:19:25 +01:00
Daniele Alessandri
e84844e33c
Reimplement Predis\Options\CustomOption to implement directly the Predis\Options\IOption interface.
2011-03-18 22:25:45 +01:00
Daniele Alessandri
21ac9b06f5
Do not validate default option values, assume that default values are correct.
2011-03-18 22:01:50 +01:00
Daniele Alessandri
e5ff0ab992
Remove the 'on_connection_initialized' client option (useless in the vast majority of cases).
2011-03-18 21:47:52 +01:00
Daniele Alessandri
743feb0634
Optimize Predis\ClientOptions.
2011-03-18 21:38:37 +01:00
Daniele Alessandri
afd78b49a6
Update README and samples.
2011-03-18 15:45:27 +01:00
Daniele Alessandri
94d0805cf6
Apply minor change.
2011-03-18 15:13:52 +01:00
Daniele Alessandri
15af329aa3
Add a new option to specify different connection schemes handlers on a client-instance level.
2011-03-18 15:04:06 +01:00
Daniele Alessandri
a10a8e3c9b
Clean up code before fast-forwarding the master branch.
2011-03-12 15:56:22 +01:00
Daniele Alessandri
3181f6c592
Remove useless code.
2011-03-12 15:26:39 +01:00
Daniele Alessandri
b11ab53bb1
Implement new various changes.
2011-03-11 19:07:46 +01:00
Daniele Alessandri
82759cd6ec
Change how parameters are handled internally.
2011-03-10 16:30:00 +01:00
Daniele Alessandri
b5a89a0f50
Add a VERSION constant to Predis\Client.
2011-03-08 11:03:32 +01:00