Jonas Dohse
f0ae6642f9
Use first word of multi word commands
Close #363 .
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
12 years ago
DTrejo
938c0526a0
EVAL: allow parameters as an array. Close #368 .
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
12 years ago
Bryce Baril
f3c298d088
Removing order requirement for KEYS test
Close #378 .
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
12 years ago
Bryce Baril
2a12ca39aa
Fixing tests for Redis version 2.6.5+ MULTI/EXEC transaction failure compatibility.
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
12 years ago
DTrejo
92ac62541d
Fix #381 . slowlog test failure on first run.
12 years ago
Nitesh
0f5b43a68c
test.js: slowlog. Closes #295
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
12 years ago
Garrett Johnson
b5a57b40f7
test.js: smembers reply should not assume order, b/c sets do not ensure order
Closes #326 .
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
12 years ago
DTrejo
6a09b2d1a3
fix require in examples/eval.js
12 years ago
DTrejo
bd1e004e99
regenerate lib/commands.js
12 years ago
Matt Ranney
c3ea30ebea
Merge pull request #303 from mowaken/master
fixed RedisClient.prototype.end()
12 years ago
Matt Ranney
f367b8a03c
Another version bump because 0.8.1 didn't get applied properly for some mysterious reason.
Sorry about that.
Changed name of "faster" parser to "javascript".
12 years ago
Matt Ranney
de21203c51
Merge pull request #312 from janmatousek/master
Removed usage of undefined variable current_retry_delay
12 years ago
Matt Ranney
24901d9fa3
Merge pull request #317 from mjijackson/return_buffers_ints
Make return_buffers work with ints
12 years ago
Michael Jackson
7f3f11f9b1
Make return_buffers work with ints
12 years ago
Jan Matousek
cc3a1da543
fix whitespace usage
12 years ago
Jan Matousek
71070d84fb
Remove unused variable reference
12 years ago
Richard Mok
a9626578df
RedisClient.prototype.end function bug fixed.
An uncaught exception will be raised when the retry timer tries to
reconnect and encounter an error, for all event listeners of the stream
were removed in line 826. It should set closing varable to be true.
12 years ago
DTrejo
252a77e92a
multi_bulk reply test for fix #274
12 years ago
Luigi Pinca
f03e673338
Fix cases where the offset is out of range (javascript parser)
The exception for the "too far" error was not thrown if the offset was bigger
than the buffer length, screwing up the parser. Fix #277
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
Jerry Sievert
1dbe587fca
remove null for rewind and use throw mechanism, should help with #273
Fix #275
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
Matt Ranney
0391b95490
Important bug fix for null responses (Jerry Sievert)
12 years ago
Matt Ranney
5a251a06d1
Merge pull request #270 from chakrit/master
Test for #267
12 years ago
Matt Ranney
4a7e74b29e
Merge pull request #269 from JerrySievert/master
fix for issue #267
12 years ago
Chakrit Wichian
587d4a361b
Add test for `GET non-existent-key` case. (issue #267 )
12 years ago
Jerry Sievert
668dfdead6
fix null key response: issue #267
12 years ago
Matt Ranney
cbcb8ca5b9
Many contributed features and fixes, including:
* Pure JavaScript reply parser that is usually faster than hiredis (Jerry Sievert)
* Remove hiredis as optionalDependency from package.json. It still works if you want it.
* Restore client state on reconnect, including select, subscribe, and monitor. (Ignacio Burgueño)
* Fix idle event (Trae Robrock)
* Many documentation improvements and bug fixes (David Trejo)
12 years ago
Matt Ranney
670c256e35
Whitespace and other JSHint changes.
12 years ago
Matt Ranney
63f4f5cdf2
Merge pull request #242 from JerrySievert/master
a generally faster javascript parser
12 years ago
Matt Ranney
03823cf3c4
Merge pull request #266 from mranney/rm-hiredis
package.json: remove optional hiredis dep
12 years ago
DTrejo
bb6dc24f92
package.json: remove optional hiredis dep
Fix #258 . Also adds keywords hash and more info to
the description hash.
12 years ago
Kevin Ingersoll
790c783e8d
Fix tests w/ support for array as last arg and no errors
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
Jerry Sievert
3d27cb23ee
update for style changes
12 years ago
Jerry Sievert
8be55fb304
fix all but lrange 20k
12 years ago
Martín Ciparelli
124ea082b9
fixes #218 by expanding last argument array only for sadd command
Also adds a test that uses SADD in caps. Nicely enough, this makes
multi_bench.js run just a tiny bit faster :)
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
Kevin Ingersoll
c8103928b4
Attempt evalsha before eval
Fix #253
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
DTrejo
58804e6e27
test.js: HLEN
12 years ago
DTrejo
f3ee8eabd8
commands.js regenerated
12 years ago
DTrejo
75c38dd8b3
README.md: more indignation
12 years ago
DTrejo
a042258794
readme.md: reorder
12 years ago
DTrejo
949ecdff31
readme.md: add ignacio as contrib
12 years ago
DTrejo
92264ad5fa
readme.md: how to ZREVRANGEBYSCORE with LIMIT. fixes #163
12 years ago
DTrejo
49c73bac30
readme: please include bench results on iffy pull requests
12 years ago
DTrejo
f120cbd302
diff_multi_bench_output.js for easy benchmark comparison
12 years ago
Ignacio Burgueño
50914baa7f
Save and clear client state. Restore it after the connection is ready.
This change stores the connection state regarding subscriptions,
selected db and monitoring. When the connection to Redis drops, the state
is reestablished after a succesful reconnect. Fixes #241 . Fixes #210 .
Signed-off-by: DTrejo <david.trejo@voxer.com>
12 years ago
Jerry Sievert
34568a4bb3
added fallback if missing Buffer.concat()
12 years ago
Jerry Sievert
8d0f2e7239
some microbenchmark updates, slight speed improvement
12 years ago
Jerry Sievert
4048349115
some cleanup and comments
12 years ago
DTrejo
a5ea716ccb
readme: add more contributors
12 years ago
Jerry Sievert
7ec1815188
generally faster javascript parser
12 years ago
DTrejo
a798cc0e57
readme.md: typo
12 years ago