]>
git.saurik.com Git - redis.git/log
Pieter Noordhuis [Mon, 31 May 2010 19:44:12 +0000 (21:44 +0200)]
fixed signedness and disambiguate variable names
Pieter Noordhuis [Mon, 31 May 2010 19:08:07 +0000 (21:08 +0200)]
added rdb save function to directly save long long values
Pieter Noordhuis [Mon, 31 May 2010 18:47:39 +0000 (20:47 +0200)]
update RPOPLPUSH to support dual encoding
Pieter Noordhuis [Mon, 31 May 2010 18:25:31 +0000 (20:25 +0200)]
update list iteration semantic to work as expected (i.e. "while(lNext(..))")
Pieter Noordhuis [Mon, 31 May 2010 18:18:23 +0000 (20:18 +0200)]
ziplistDelete no longer needs a direction now ziplistPrev is fixed
Pieter Noordhuis [Mon, 31 May 2010 18:17:21 +0000 (20:17 +0200)]
ziplistPrev should return the tail when the argument is ZIP_END
Pieter Noordhuis [Sun, 30 May 2010 01:14:38 +0000 (03:14 +0200)]
fix LREM to remove *all* occurances when a zero argument is given
Pieter Noordhuis [Sun, 30 May 2010 01:08:24 +0000 (03:08 +0200)]
fixed LINDEX to always return bulk response
Pieter Noordhuis [Sun, 30 May 2010 01:06:12 +0000 (03:06 +0200)]
the tail offset must be an integer pointer to hold a 32-bit offset
Pieter Noordhuis [Sun, 30 May 2010 00:17:36 +0000 (02:17 +0200)]
update LREM to support dual encoding via extra iteration primitives
Pieter Noordhuis [Sun, 30 May 2010 00:16:12 +0000 (02:16 +0200)]
support dual encoding in LTRIM
Pieter Noordhuis [Sun, 30 May 2010 00:15:34 +0000 (02:15 +0200)]
update LRANGE to use basic iteration code to support dual encoding
Pieter Noordhuis [Sun, 30 May 2010 00:11:59 +0000 (02:11 +0200)]
inline support for dual encoding in the LINDEX and LSET commands
Pieter Noordhuis [Sat, 29 May 2010 23:50:32 +0000 (01:50 +0200)]
generic pop and length function for ziplist encoding
Pieter Noordhuis [Sat, 29 May 2010 23:46:59 +0000 (01:46 +0200)]
generic push function that supports the dual encoding
Pieter Noordhuis [Sat, 29 May 2010 23:39:41 +0000 (01:39 +0200)]
change delete function to accept a direction argument, so "p" can be properly updated
Pieter Noordhuis [Sat, 29 May 2010 23:38:56 +0000 (01:38 +0200)]
expose extra functionality from ziplist.c
Pieter Noordhuis [Sat, 29 May 2010 23:37:03 +0000 (01:37 +0200)]
code style consistency fixes
Pieter Noordhuis [Sat, 29 May 2010 20:17:16 +0000 (22:17 +0200)]
ziplistIndex now accepts negative indices
Pieter Noordhuis [Sat, 29 May 2010 17:34:14 +0000 (19:34 +0200)]
fix compile warnings
Pieter Noordhuis [Sat, 29 May 2010 17:26:35 +0000 (19:26 +0200)]
use simpler encoding for the length of the previous entry
Pieter Noordhuis [Sat, 29 May 2010 17:09:37 +0000 (19:09 +0200)]
replace functions to get pointers to head and tail by macros
Pieter Noordhuis [Sat, 29 May 2010 16:52:49 +0000 (18:52 +0200)]
function to insert an element at an arbitrary position in the list
Pieter Noordhuis [Sat, 29 May 2010 15:38:23 +0000 (17:38 +0200)]
extract a generic delete function that can be used in pop and delete(range)
Pieter Noordhuis [Sat, 29 May 2010 14:37:47 +0000 (16:37 +0200)]
use the entry struct in zipRawEntryLength
Pieter Noordhuis [Sat, 29 May 2010 14:26:55 +0000 (16:26 +0200)]
rename argument names to s* to disambiguate from e*
Pieter Noordhuis [Sat, 29 May 2010 14:25:05 +0000 (16:25 +0200)]
change ziplistRepr to use the entry struct
Pieter Noordhuis [Sat, 29 May 2010 14:22:24 +0000 (16:22 +0200)]
modify compare function to check if the encoding is equal before comparing
Pieter Noordhuis [Sat, 29 May 2010 14:20:01 +0000 (16:20 +0200)]
use a struct to retrieve all details for an entry
Pieter Noordhuis [Sat, 29 May 2010 13:40:40 +0000 (15:40 +0200)]
initial implementation for making the ziplist doubly linked
Pieter Noordhuis [Sat, 29 May 2010 09:35:48 +0000 (11:35 +0200)]
fix some warnings
Pieter Noordhuis [Sat, 29 May 2010 09:33:38 +0000 (11:33 +0200)]
add function to retrieve ziplist size in bytes
Pieter Noordhuis [Sat, 22 May 2010 19:49:36 +0000 (21:49 +0200)]
fix compare function of ziplist to only load integer from ziplist when it is encoded as integer
Pieter Noordhuis [Sat, 22 May 2010 17:35:40 +0000 (19:35 +0200)]
add function to retrieve length of ziplist
Pieter Noordhuis [Sat, 22 May 2010 17:35:26 +0000 (19:35 +0200)]
re-introduce ZIP_BIGLEN for clarity
Pieter Noordhuis [Sat, 22 May 2010 14:25:18 +0000 (16:25 +0200)]
added header ziplist.h
Pieter Noordhuis [Sat, 22 May 2010 14:25:06 +0000 (16:25 +0200)]
code to compare strings with entries in ziplist, regardless of their encoding
Pieter Noordhuis [Sat, 22 May 2010 13:48:27 +0000 (15:48 +0200)]
updated iteration code to work well with different encodings
Pieter Noordhuis [Sat, 22 May 2010 13:18:30 +0000 (15:18 +0200)]
move code from zip.c to ziplist.c
Pieter Noordhuis [Sat, 22 May 2010 13:13:09 +0000 (15:13 +0200)]
partial revert of c80df5 because ziplist functions are starting to divert too much from zipmap functions
Pieter Noordhuis [Sat, 22 May 2010 13:07:12 +0000 (15:07 +0200)]
initial work for integer encoding in ziplists
Pieter Noordhuis [Sat, 22 May 2010 12:58:58 +0000 (14:58 +0200)]
move length housekeeping to a macro
Pieter Noordhuis [Fri, 21 May 2010 13:46:00 +0000 (15:46 +0200)]
allow entries to be deleted in place when iterating over a ziplist
Pieter Noordhuis [Fri, 21 May 2010 13:45:30 +0000 (15:45 +0200)]
allow pointer to be stored to current element when iterating over ziplist
Pieter Noordhuis [Fri, 21 May 2010 13:44:47 +0000 (15:44 +0200)]
rename ziplistDelete to ziplistDeleteRange
Pieter Noordhuis [Fri, 21 May 2010 12:11:29 +0000 (14:11 +0200)]
code to delete an inner range from the ziplist
Pieter Noordhuis [Fri, 21 May 2010 12:11:09 +0000 (14:11 +0200)]
check if *value is non-NULL before setting it
Pieter Noordhuis [Fri, 21 May 2010 11:29:14 +0000 (13:29 +0200)]
change iteration code to avoid allocating a new sds for each traversed entry
Pieter Noordhuis [Fri, 21 May 2010 11:16:08 +0000 (13:16 +0200)]
code to iterate over a ziplist
Pieter Noordhuis [Fri, 21 May 2010 10:54:01 +0000 (12:54 +0200)]
implementation for a ziplist with push and pop support
Pieter Noordhuis [Fri, 21 May 2010 10:53:34 +0000 (12:53 +0200)]
extracted general methods to zip.c for reuse in other zip* structures
antirez [Fri, 28 May 2010 21:44:32 +0000 (23:44 +0200)]
command table size calculated with sizeof
Pieter Noordhuis [Fri, 28 May 2010 20:14:10 +0000 (22:14 +0200)]
use qsort and bsearch to lookup commands in O(log(N)) instead of O(N)
antirez [Fri, 28 May 2010 18:26:01 +0000 (20:26 +0200)]
Merge branch 'cli-stdin' of git://github.com/pietern/redis
antirez [Fri, 28 May 2010 10:24:47 +0000 (12:24 +0200)]
Fixed ZINCR Nan bugs leading to server crash and added tests
antirez [Thu, 27 May 2010 22:23:27 +0000 (00:23 +0200)]
Added Git sha1 and dirty status in redis-server -v output
antirez [Thu, 27 May 2010 22:20:12 +0000 (00:20 +0200)]
changed the message in the Makefile with the new command like to run the test suite
Vincent Palmer [Thu, 27 May 2010 15:15:09 +0000 (16:15 +0100)]
Fixed typo.
antirez [Thu, 27 May 2010 14:08:44 +0000 (16:08 +0200)]
new multi/exec tests
Pieter Noordhuis [Wed, 26 May 2010 16:22:05 +0000 (18:22 +0200)]
build command outside while loop
Pieter Noordhuis [Wed, 26 May 2010 16:18:37 +0000 (18:18 +0200)]
require the flag "-c" to be used for redis-cli to read the last argument from stdin
antirez [Wed, 26 May 2010 15:55:28 +0000 (17:55 +0200)]
Merge branch 'master' into nested-multi
antirez [Wed, 26 May 2010 15:50:29 +0000 (17:50 +0200)]
Fix EXEC bug that was leaving the client in dirty status when used with WATCH
antirez [Wed, 26 May 2010 14:47:37 +0000 (16:47 +0200)]
raise error on nested MULTI and WATCH inside multi
Josiah Carlson [Wed, 26 May 2010 00:41:35 +0000 (17:41 -0700)]
allow regular sets to be passed to zunionstore/zinterstore
antirez [Tue, 25 May 2010 20:42:47 +0000 (22:42 +0200)]
Version is now 2.1.1
antirez [Tue, 25 May 2010 19:26:10 +0000 (21:26 +0200)]
RENAME is now WATCH-aware
antirez [Tue, 25 May 2010 18:28:22 +0000 (20:28 +0200)]
TODO updated
antirez [Tue, 25 May 2010 17:30:24 +0000 (19:30 +0200)]
WATCH is now able to detect keys removed by FLUSHALL and FLUSHDB
antirez [Tue, 25 May 2010 12:04:46 +0000 (14:04 +0200)]
WATCH tests
antirez [Tue, 25 May 2010 11:21:23 +0000 (13:21 +0200)]
minor bug fixed in WATCH
antirez [Tue, 25 May 2010 11:15:11 +0000 (13:15 +0200)]
WATCH for MULTI/EXEC (CAS alike concurrency)
antirez [Tue, 25 May 2010 08:06:37 +0000 (10:06 +0200)]
gitignore updated
antirez [Fri, 21 May 2010 13:48:39 +0000 (15:48 +0200)]
Master is now already unfreezed, unstable, and ready to hacking sessions!
antirez [Fri, 21 May 2010 12:42:19 +0000 (14:42 +0200)]
Merge branch 'solaris' of git://github.com/pietern/redis
antirez [Fri, 21 May 2010 12:03:17 +0000 (14:03 +0200)]
Changelog updated
antirez [Fri, 21 May 2010 12:00:21 +0000 (14:00 +0200)]
redis version is now 1.3.14 (aka 2.0.0 RC1)
antirez [Fri, 21 May 2010 11:59:16 +0000 (13:59 +0200)]
html doc updated
antirez [Fri, 21 May 2010 11:58:04 +0000 (13:58 +0200)]
by default test with valgrind does not show full leak info
antirez [Fri, 21 May 2010 10:30:56 +0000 (12:30 +0200)]
minor fix for the skiplist code, resulting in a false positive with valgrind, and in general into a useless small allocation
antirez [Fri, 21 May 2010 10:00:50 +0000 (12:00 +0200)]
Merge branch 'master' of git@github.com:antirez/redis
antirez [Fri, 21 May 2010 10:00:13 +0000 (12:00 +0200)]
tests suite initial support for valgrind, fixed the old test suite until the new one is able to target a specific host/port
Pieter Noordhuis [Fri, 21 May 2010 07:33:47 +0000 (09:33 +0200)]
include solaris fixes in sha1.c
antirez [Thu, 20 May 2010 19:20:10 +0000 (21:20 +0200)]
Don't exit with error in tests temp file cleanup if there are no files to clean
Pieter Noordhuis [Thu, 20 May 2010 17:43:28 +0000 (19:43 +0200)]
fix memory leak on 32-bit builds
antirez [Thu, 20 May 2010 15:09:00 +0000 (17:09 +0200)]
Merge branch 'master' of github.com:antirez/redis
antirez [Thu, 20 May 2010 14:50:40 +0000 (16:50 +0200)]
Fix for DEBUG DIGEST
antirez [Thu, 20 May 2010 11:59:59 +0000 (13:59 +0200)]
Merge branch 'test_vm' of git://github.com/pietern/redis
Pieter Noordhuis [Thu, 20 May 2010 11:58:58 +0000 (13:58 +0200)]
code to enable running tests with the vm enabled
antirez [Thu, 20 May 2010 10:53:26 +0000 (12:53 +0200)]
minor change to shutdown
antirez [Thu, 20 May 2010 10:50:57 +0000 (12:50 +0200)]
shutdown on SIGTERM
antirez [Thu, 20 May 2010 10:38:43 +0000 (12:38 +0200)]
Merge http://github.com/ngmoco/redis
Pieter Noordhuis [Thu, 20 May 2010 10:33:33 +0000 (12:33 +0200)]
fix compile error on solaris
antirez [Thu, 20 May 2010 10:03:02 +0000 (12:03 +0200)]
added regression for zipmap bug
Pieter Noordhuis [Thu, 20 May 2010 09:02:08 +0000 (11:02 +0200)]
fix lookup of keys with length larger than ZIPMAP_BIGLEN
antirez [Wed, 19 May 2010 21:02:30 +0000 (23:02 +0200)]
TODO updated
Pieter Noordhuis [Wed, 19 May 2010 12:33:39 +0000 (14:33 +0200)]
initial tests for AOF (and small changes to server.tcl to support these)
Pieter Noordhuis [Wed, 19 May 2010 12:53:57 +0000 (14:53 +0200)]
Merge branch 'master' into integration
antirez [Wed, 19 May 2010 11:36:32 +0000 (13:36 +0200)]
Fix for 'CONFIG SET appendonly no'
antirez [Wed, 19 May 2010 09:06:43 +0000 (11:06 +0200)]
It's now possible to turn off and on the AOF via CONFIG