DTrejo
bd1e004e99
regenerate lib/commands.js
2013-02-17 19:06:13 -05:00
roam
11db346e73
Fixed an unexpected exception bug when reconnecting in pub/sub mode if selected_db is not null
...
RedisClient might enter pub/sub mode after at least one SELECT command issued.
When reconnecting, the SELECT command is issued after restoring pub_sub_command to true, which causes an exception.
2012-12-19 15:04:07 +08:00
Matt Ranney
c3ea30ebea
Merge pull request #303 from mowaken/master
...
fixed RedisClient.prototype.end()
2012-11-02 15:01:53 -07:00
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".
2012-11-02 14:17:53 -07:00
Matt Ranney
de21203c51
Merge pull request #312 from janmatousek/master
...
Removed usage of undefined variable current_retry_delay
2012-11-02 13:51:31 -07:00
Matt Ranney
24901d9fa3
Merge pull request #317 from mjijackson/return_buffers_ints
...
Make return_buffers work with ints
2012-11-02 13:36:03 -07:00
Michael Jackson
7f3f11f9b1
Make return_buffers work with ints
2012-10-26 20:35:19 -07:00
Jan Matousek
cc3a1da543
fix whitespace usage
2012-10-18 19:38:39 +02:00
Jan Matousek
71070d84fb
Remove unused variable reference
2012-10-18 19:37:37 +02:00
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.
2012-10-11 16:07:36 +08:00
DTrejo
252a77e92a
multi_bulk reply test for fix #274
2012-09-21 22:28:30 -04:00
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 >
2012-09-21 20:52:58 -04:00
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 >
2012-09-21 20:48:31 -04:00
Matt Ranney
0391b95490
Important bug fix for null responses (Jerry Sievert)
v0.8.1
2012-09-11 12:56:36 -07:00
Matt Ranney
5a251a06d1
Merge pull request #270 from chakrit/master
...
Test for #267
2012-09-11 12:54:55 -07:00
Matt Ranney
4a7e74b29e
Merge pull request #269 from JerrySievert/master
...
fix for issue #267
2012-09-11 12:54:31 -07:00
Chakrit Wichian
587d4a361b
Add test for GET non-existent-key
case. (issue #267 )
2012-09-12 01:59:35 +07:00
Jerry Sievert
668dfdead6
fix null key response: issue #267
2012-09-11 11:43:18 -07:00
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)
v0.8.0
2012-09-10 23:00:13 -07:00
Matt Ranney
670c256e35
Whitespace and other JSHint changes.
2012-09-10 22:50:54 -07:00
Matt Ranney
63f4f5cdf2
Merge pull request #242 from JerrySievert/master
...
a generally faster javascript parser
2012-09-10 22:32:15 -07:00
Matt Ranney
03823cf3c4
Merge pull request #266 from mranney/rm-hiredis
...
package.json: remove optional hiredis dep
2012-09-10 22:20:25 -07:00
DTrejo
bb6dc24f92
package.json: remove optional hiredis dep
...
Fix #258 . Also adds keywords hash and more info to
the description hash.
2012-09-10 15:55:58 -04:00
Kevin Ingersoll
790c783e8d
Fix tests w/ support for array as last arg and no errors
...
Signed-off-by: DTrejo <david.trejo@voxer.com >
2012-08-23 14:18:17 -07:00
Jerry Sievert
3d27cb23ee
update for style changes
2012-08-23 13:09:05 -07:00
Jerry Sievert
8be55fb304
fix all but lrange 20k
2012-08-22 21:53:18 -07:00
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 >
2012-08-17 15:33:32 -07:00
Kevin Ingersoll
c8103928b4
Attempt evalsha before eval
...
Fix #253
Signed-off-by: DTrejo <david.trejo@voxer.com >
2012-08-16 13:51:32 -07:00
DTrejo
58804e6e27
test.js: HLEN
2012-08-06 18:19:47 -07:00
DTrejo
f3ee8eabd8
commands.js regenerated
2012-08-06 15:05:25 -07:00
DTrejo
75c38dd8b3
README.md: more indignation
2012-07-30 15:10:41 -07:00
DTrejo
a042258794
readme.md: reorder
2012-07-26 10:52:03 -07:00
DTrejo
949ecdff31
readme.md: add ignacio as contrib
2012-07-25 19:16:07 -07:00
DTrejo
92264ad5fa
readme.md: how to ZREVRANGEBYSCORE with LIMIT. fixes #163
2012-07-25 18:33:49 -07:00
DTrejo
49c73bac30
readme: please include bench results on iffy pull requests
2012-07-12 17:56:43 -07:00
DTrejo
f120cbd302
diff_multi_bench_output.js for easy benchmark comparison
2012-07-12 17:50:30 -07:00
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 >
2012-07-12 17:19:16 -07:00
Jerry Sievert
34568a4bb3
added fallback if missing Buffer.concat()
2012-07-08 14:54:48 -07:00
Jerry Sievert
8d0f2e7239
some microbenchmark updates, slight speed improvement
2012-07-08 08:32:33 -07:00
Jerry Sievert
4048349115
some cleanup and comments
2012-07-08 05:16:36 -07:00
DTrejo
a5ea716ccb
readme: add more contributors
2012-07-07 17:00:00 -07:00
Jerry Sievert
7ec1815188
generally faster javascript parser
2012-07-07 02:44:51 -07:00
DTrejo
a798cc0e57
readme.md: typo
2012-07-05 19:27:20 -07:00
DTrejo
64702f18c1
rename tests to benches for clarity
2012-07-05 19:20:56 -07:00
DTrejo
1b0b2dc87d
index.js: fix enable_offline_queue default. tests pass
2012-07-05 19:18:26 -07:00
DTrejo
a532e65ccf
readme: how to contribute
2012-07-05 19:04:19 -07:00
Shankar Karuppiah
c913c06f46
Added documentation for disable_offline_queue option
...
Signed-off-by: DTrejo <david.trejo@voxer.com >
2012-07-05 19:04:19 -07:00
Shankar Karuppiah
71a52638de
Added checking for callback before attempting to execute the callback
...
Signed-off-by: DTrejo <david.trejo@voxer.com >
2012-07-05 19:04:19 -07:00
Shankar Karuppiah
83dc4c999b
Added option to disable offline queue
...
Signed-off-by: DTrejo <david.trejo@voxer.com >
2012-07-05 19:04:10 -07:00
Trae Robrock
eb005b10df
Forgot a comma
...
Signed-off-by: DTrejo <david.trejo@voxer.com >
2012-07-05 17:09:26 -07:00