]> git.saurik.com Git - redis.git/log
redis.git
14 years agoupdate Makefile to include ziplist.o
Pieter Noordhuis [Wed, 2 Jun 2010 22:50:33 +0000 (00:50 +0200)] 
update Makefile to include ziplist.o

14 years agouse ziplists in SORT STORE until the thresholds are determined
Pieter Noordhuis [Wed, 2 Jun 2010 22:48:52 +0000 (00:48 +0200)] 
use ziplists in SORT STORE until the thresholds are determined

14 years agouse integer types from stdint.h to be more verbose on the size in bytes of encoded...
Pieter Noordhuis [Tue, 1 Jun 2010 16:55:37 +0000 (18:55 +0200)] 
use integer types from stdint.h to be more verbose on the size in bytes of encoded elements. update list length to use 2 bytes instead of 1.

14 years agoadded stress test for heavy i/o in ziplists
Pieter Noordhuis [Tue, 1 Jun 2010 15:57:51 +0000 (17:57 +0200)] 
added stress test for heavy i/o in ziplists

14 years agofix signedness errors in ziplist testing code
Pieter Noordhuis [Tue, 1 Jun 2010 15:57:09 +0000 (17:57 +0200)] 
fix signedness errors in ziplist testing code

14 years agosupport rewriting the AOF with dual list encoding
Pieter Noordhuis [Mon, 31 May 2010 21:49:16 +0000 (23:49 +0200)] 
support rewriting the AOF with dual list encoding

14 years agosmall refactor of fwrite* commands for AOF rewrite to allow writing a bulk long long
Pieter Noordhuis [Mon, 31 May 2010 21:41:04 +0000 (23:41 +0200)] 
small refactor of fwrite* commands for AOF rewrite to allow writing a bulk long long

14 years agouse list wrapper functions in computing the dataset digest
Pieter Noordhuis [Mon, 31 May 2010 21:35:51 +0000 (23:35 +0200)] 
use list wrapper functions in computing the dataset digest

14 years agoziplistNext should work as expected when called with a pointer to ZIP_END
Pieter Noordhuis [Mon, 31 May 2010 21:35:21 +0000 (23:35 +0200)] 
ziplistNext should work as expected when called with a pointer to ZIP_END

14 years agoupdate SORT to work with the dual list encoding
Pieter Noordhuis [Mon, 31 May 2010 21:11:28 +0000 (23:11 +0200)] 
update SORT to work with the dual list encoding

14 years agofunction to create a new ziplist encoded list
Pieter Noordhuis [Mon, 31 May 2010 21:10:05 +0000 (23:10 +0200)] 
function to create a new ziplist encoded list

14 years agosupport rdb saving/loading with dual list encoding
Pieter Noordhuis [Mon, 31 May 2010 20:25:22 +0000 (22:25 +0200)] 
support rdb saving/loading with dual list encoding

14 years agofixed signedness and disambiguate variable names
Pieter Noordhuis [Mon, 31 May 2010 19:44:12 +0000 (21:44 +0200)] 
fixed signedness and disambiguate variable names

14 years agoadded rdb save function to directly save long long values
Pieter Noordhuis [Mon, 31 May 2010 19:08:07 +0000 (21:08 +0200)] 
added rdb save function to directly save long long values

14 years agoupdate RPOPLPUSH to support dual encoding
Pieter Noordhuis [Mon, 31 May 2010 18:47:39 +0000 (20:47 +0200)] 
update RPOPLPUSH to support dual encoding

14 years agoupdate list iteration semantic to work as expected (i.e. "while(lNext(..))")
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(..))")

14 years agoziplistDelete no longer needs a direction now ziplistPrev is fixed
Pieter Noordhuis [Mon, 31 May 2010 18:18:23 +0000 (20:18 +0200)] 
ziplistDelete no longer needs a direction now ziplistPrev is fixed

14 years agoziplistPrev should return the tail when the argument is ZIP_END
Pieter Noordhuis [Mon, 31 May 2010 18:17:21 +0000 (20:17 +0200)] 
ziplistPrev should return the tail when the argument is ZIP_END

14 years agofix LREM to remove *all* occurances when a zero argument is given
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

14 years agofixed LINDEX to always return bulk response
Pieter Noordhuis [Sun, 30 May 2010 01:08:24 +0000 (03:08 +0200)] 
fixed LINDEX to always return bulk response

14 years agothe tail offset must be an integer pointer to hold a 32-bit offset
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

14 years agoupdate LREM to support dual encoding via extra iteration primitives
Pieter Noordhuis [Sun, 30 May 2010 00:17:36 +0000 (02:17 +0200)] 
update LREM to support dual encoding via extra iteration primitives

14 years agosupport dual encoding in LTRIM
Pieter Noordhuis [Sun, 30 May 2010 00:16:12 +0000 (02:16 +0200)] 
support dual encoding in LTRIM

14 years agoupdate LRANGE to use basic iteration code to support dual encoding
Pieter Noordhuis [Sun, 30 May 2010 00:15:34 +0000 (02:15 +0200)] 
update LRANGE to use basic iteration code to support dual encoding

14 years agoinline support for dual encoding in the LINDEX and LSET commands
Pieter Noordhuis [Sun, 30 May 2010 00:11:59 +0000 (02:11 +0200)] 
inline support for dual encoding in the LINDEX and LSET commands

14 years agogeneric pop and length function for ziplist encoding
Pieter Noordhuis [Sat, 29 May 2010 23:50:32 +0000 (01:50 +0200)] 
generic pop and length function for ziplist encoding

14 years agogeneric push function that supports the dual encoding
Pieter Noordhuis [Sat, 29 May 2010 23:46:59 +0000 (01:46 +0200)] 
generic push function that supports the dual encoding

14 years agochange delete function to accept a direction argument, so "p" can be properly updated
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

14 years agoexpose extra functionality from ziplist.c
Pieter Noordhuis [Sat, 29 May 2010 23:38:56 +0000 (01:38 +0200)] 
expose extra functionality from ziplist.c

14 years agocode style consistency fixes
Pieter Noordhuis [Sat, 29 May 2010 23:37:03 +0000 (01:37 +0200)] 
code style consistency fixes

14 years agoziplistIndex now accepts negative indices
Pieter Noordhuis [Sat, 29 May 2010 20:17:16 +0000 (22:17 +0200)] 
ziplistIndex now accepts negative indices

14 years agofix compile warnings
Pieter Noordhuis [Sat, 29 May 2010 17:34:14 +0000 (19:34 +0200)] 
fix compile warnings

14 years agouse simpler encoding for the length of the previous entry
Pieter Noordhuis [Sat, 29 May 2010 17:26:35 +0000 (19:26 +0200)] 
use simpler encoding for the length of the previous entry

14 years agoreplace functions to get pointers to head and tail by macros
Pieter Noordhuis [Sat, 29 May 2010 17:09:37 +0000 (19:09 +0200)] 
replace functions to get pointers to head and tail by macros

14 years agofunction to insert an element at an arbitrary position in the list
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

14 years agoextract a generic delete function that can be used in pop and delete(range)
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)

14 years agouse the entry struct in zipRawEntryLength
Pieter Noordhuis [Sat, 29 May 2010 14:37:47 +0000 (16:37 +0200)] 
use the entry struct in zipRawEntryLength

14 years agorename argument names to s* to disambiguate from e*
Pieter Noordhuis [Sat, 29 May 2010 14:26:55 +0000 (16:26 +0200)] 
rename argument names to s* to disambiguate from e*

14 years agochange ziplistRepr to use the entry struct
Pieter Noordhuis [Sat, 29 May 2010 14:25:05 +0000 (16:25 +0200)] 
change ziplistRepr to use the entry struct

14 years agomodify compare function to check if the encoding is equal before comparing
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

14 years agouse a struct to retrieve all details for an entry
Pieter Noordhuis [Sat, 29 May 2010 14:20:01 +0000 (16:20 +0200)] 
use a struct to retrieve all details for an entry

14 years agoinitial implementation for making the ziplist doubly linked
Pieter Noordhuis [Sat, 29 May 2010 13:40:40 +0000 (15:40 +0200)] 
initial implementation for making the ziplist doubly linked

14 years agofix some warnings
Pieter Noordhuis [Sat, 29 May 2010 09:35:48 +0000 (11:35 +0200)] 
fix some warnings

14 years agoadd function to retrieve ziplist size in bytes
Pieter Noordhuis [Sat, 29 May 2010 09:33:38 +0000 (11:33 +0200)] 
add function to retrieve ziplist size in bytes

14 years agofix compare function of ziplist to only load integer from ziplist when it is encoded...
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

14 years agoadd function to retrieve length of ziplist
Pieter Noordhuis [Sat, 22 May 2010 17:35:40 +0000 (19:35 +0200)] 
add function to retrieve length of ziplist

14 years agore-introduce ZIP_BIGLEN for clarity
Pieter Noordhuis [Sat, 22 May 2010 17:35:26 +0000 (19:35 +0200)] 
re-introduce ZIP_BIGLEN for clarity

14 years agoadded header ziplist.h
Pieter Noordhuis [Sat, 22 May 2010 14:25:18 +0000 (16:25 +0200)] 
added header ziplist.h

14 years agocode to compare strings with entries in ziplist, regardless of their encoding
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

14 years agoupdated iteration code to work well with different encodings
Pieter Noordhuis [Sat, 22 May 2010 13:48:27 +0000 (15:48 +0200)] 
updated iteration code to work well with different encodings

14 years agomove code from zip.c to ziplist.c
Pieter Noordhuis [Sat, 22 May 2010 13:18:30 +0000 (15:18 +0200)] 
move code from zip.c to ziplist.c

14 years agopartial revert of c80df5 because ziplist functions are starting to divert too much...
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

14 years agoinitial work for integer encoding in ziplists
Pieter Noordhuis [Sat, 22 May 2010 13:07:12 +0000 (15:07 +0200)] 
initial work for integer encoding in ziplists

14 years agomove length housekeeping to a macro
Pieter Noordhuis [Sat, 22 May 2010 12:58:58 +0000 (14:58 +0200)] 
move length housekeeping to a macro

14 years agoallow entries to be deleted in place when iterating over a ziplist
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

14 years agoallow pointer to be stored to current element when iterating over 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

14 years agorename ziplistDelete to ziplistDeleteRange
Pieter Noordhuis [Fri, 21 May 2010 13:44:47 +0000 (15:44 +0200)] 
rename ziplistDelete to ziplistDeleteRange

14 years agocode to delete an inner range from the ziplist
Pieter Noordhuis [Fri, 21 May 2010 12:11:29 +0000 (14:11 +0200)] 
code to delete an inner range from the ziplist

14 years agocheck if *value is non-NULL before setting it
Pieter Noordhuis [Fri, 21 May 2010 12:11:09 +0000 (14:11 +0200)] 
check if *value is non-NULL before setting it

14 years agochange iteration code to avoid allocating a new sds for each traversed entry
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

14 years agocode to iterate over a ziplist
Pieter Noordhuis [Fri, 21 May 2010 11:16:08 +0000 (13:16 +0200)] 
code to iterate over a ziplist

14 years agoimplementation for a ziplist with push and pop support
Pieter Noordhuis [Fri, 21 May 2010 10:54:01 +0000 (12:54 +0200)] 
implementation for a ziplist with push and pop support

14 years agoextracted general methods to zip.c for reuse in other zip* structures
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

14 years agocommand table size calculated with sizeof
antirez [Fri, 28 May 2010 21:44:32 +0000 (23:44 +0200)] 
command table size calculated with sizeof

14 years agouse qsort and bsearch to lookup commands in O(log(N)) instead of O(N)
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)

14 years agoMerge branch 'cli-stdin' of git://github.com/pietern/redis
antirez [Fri, 28 May 2010 18:26:01 +0000 (20:26 +0200)] 
Merge branch 'cli-stdin' of git://github.com/pietern/redis

14 years agoFixed ZINCR Nan bugs leading to server crash and added tests
antirez [Fri, 28 May 2010 10:24:47 +0000 (12:24 +0200)] 
Fixed ZINCR Nan bugs leading to server crash and added tests

14 years agoAdded Git sha1 and dirty status in redis-server -v output
antirez [Thu, 27 May 2010 22:23:27 +0000 (00:23 +0200)] 
Added Git sha1 and dirty status in redis-server -v output

14 years agochanged the message in the Makefile with the new command like to run the test suite
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

14 years agoFixed typo.
Vincent Palmer [Thu, 27 May 2010 15:15:09 +0000 (16:15 +0100)] 
Fixed typo.

14 years agonew multi/exec tests
antirez [Thu, 27 May 2010 14:08:44 +0000 (16:08 +0200)] 
new multi/exec tests

14 years agobuild command outside while loop
Pieter Noordhuis [Wed, 26 May 2010 16:22:05 +0000 (18:22 +0200)] 
build command outside while loop

14 years agorequire the flag "-c" to be used for redis-cli to read the last argument from stdin
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

14 years agoMerge branch 'master' into nested-multi
antirez [Wed, 26 May 2010 15:55:28 +0000 (17:55 +0200)] 
Merge branch 'master' into nested-multi

14 years agoFix EXEC bug that was leaving the client in dirty status when used with WATCH
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

14 years agoraise error on nested MULTI and WATCH inside multi
antirez [Wed, 26 May 2010 14:47:37 +0000 (16:47 +0200)] 
raise error on nested MULTI and WATCH inside multi

14 years agoallow regular sets to be passed to zunionstore/zinterstore
Josiah Carlson [Wed, 26 May 2010 00:41:35 +0000 (17:41 -0700)] 
allow regular sets to be passed to zunionstore/zinterstore

14 years agoVersion is now 2.1.1
antirez [Tue, 25 May 2010 20:42:47 +0000 (22:42 +0200)] 
Version is now 2.1.1

14 years agoRENAME is now WATCH-aware
antirez [Tue, 25 May 2010 19:26:10 +0000 (21:26 +0200)] 
RENAME is now WATCH-aware

14 years agoTODO updated
antirez [Tue, 25 May 2010 18:28:22 +0000 (20:28 +0200)] 
TODO updated

14 years agoWATCH is now able to detect keys removed by FLUSHALL and FLUSHDB
antirez [Tue, 25 May 2010 17:30:24 +0000 (19:30 +0200)] 
WATCH is now able to detect keys removed by FLUSHALL and FLUSHDB

14 years agoWATCH tests
antirez [Tue, 25 May 2010 12:04:46 +0000 (14:04 +0200)] 
WATCH tests

14 years agominor bug fixed in WATCH
antirez [Tue, 25 May 2010 11:21:23 +0000 (13:21 +0200)] 
minor bug fixed in WATCH

14 years agoWATCH for MULTI/EXEC (CAS alike concurrency)
antirez [Tue, 25 May 2010 11:15:11 +0000 (13:15 +0200)] 
WATCH for MULTI/EXEC (CAS alike concurrency)

14 years agogitignore updated
antirez [Tue, 25 May 2010 08:06:37 +0000 (10:06 +0200)] 
gitignore updated

14 years agoMaster is now already unfreezed, unstable, and ready to hacking sessions!
antirez [Fri, 21 May 2010 13:48:39 +0000 (15:48 +0200)] 
Master is now already unfreezed, unstable, and ready to hacking sessions!

14 years agoMerge branch 'solaris' of git://github.com/pietern/redis
antirez [Fri, 21 May 2010 12:42:19 +0000 (14:42 +0200)] 
Merge branch 'solaris' of git://github.com/pietern/redis

14 years agoChangelog updated
antirez [Fri, 21 May 2010 12:03:17 +0000 (14:03 +0200)] 
Changelog updated

14 years agoredis version is now 1.3.14 (aka 2.0.0 RC1)
antirez [Fri, 21 May 2010 12:00:21 +0000 (14:00 +0200)] 
redis version is now 1.3.14 (aka 2.0.0 RC1)

14 years agohtml doc updated
antirez [Fri, 21 May 2010 11:59:16 +0000 (13:59 +0200)] 
html doc updated

14 years agoby default test with valgrind does not show full leak info
antirez [Fri, 21 May 2010 11:58:04 +0000 (13:58 +0200)] 
by default test with valgrind does not show full leak info

14 years agominor fix for the skiplist code, resulting in a false positive with valgrind, and...
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

14 years agoMerge branch 'master' of git@github.com:antirez/redis
antirez [Fri, 21 May 2010 10:00:50 +0000 (12:00 +0200)] 
Merge branch 'master' of git@github.com:antirez/redis

14 years agotests suite initial support for valgrind, fixed the old test suite until the new...
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

14 years agoinclude solaris fixes in sha1.c
Pieter Noordhuis [Fri, 21 May 2010 07:33:47 +0000 (09:33 +0200)] 
include solaris fixes in sha1.c

14 years agoDon't exit with error in tests temp file cleanup if there are no files to clean
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

14 years agofix memory leak on 32-bit builds
Pieter Noordhuis [Thu, 20 May 2010 17:43:28 +0000 (19:43 +0200)] 
fix memory leak on 32-bit builds

14 years agoMerge branch 'master' of github.com:antirez/redis
antirez [Thu, 20 May 2010 15:09:00 +0000 (17:09 +0200)] 
Merge branch 'master' of github.com:antirez/redis

14 years agoFix for DEBUG DIGEST
antirez [Thu, 20 May 2010 14:50:40 +0000 (16:50 +0200)] 
Fix for DEBUG DIGEST

14 years agoMerge branch 'test_vm' of git://github.com/pietern/redis
antirez [Thu, 20 May 2010 11:59:59 +0000 (13:59 +0200)] 
Merge branch 'test_vm' of git://github.com/pietern/redis