]> git.saurik.com Git - redis.git/log
redis.git
13 years agoDisable negative offsets for SETRANGE
Pieter Noordhuis [Wed, 15 Dec 2010 10:30:50 +0000 (11:30 +0100)] 
Disable negative offsets for SETRANGE

13 years agoAdd fuzzy test for SETBIT
Pieter Noordhuis [Wed, 15 Dec 2010 10:20:54 +0000 (11:20 +0100)] 
Add fuzzy test for SETBIT

13 years agofixed test rendering when test failed in non verbose mode
antirez [Wed, 15 Dec 2010 10:04:04 +0000 (11:04 +0100)] 
fixed test rendering when test failed in non verbose mode

13 years agoprint test names inline in the non verbose output mode
antirez [Wed, 15 Dec 2010 09:44:36 +0000 (10:44 +0100)] 
print test names inline in the non verbose output mode

13 years agocolorized make test output when the verbose output is disabled (default)
antirez [Wed, 15 Dec 2010 09:14:34 +0000 (10:14 +0100)] 
colorized make test output when the verbose output is disabled (default)

13 years agoMake SETBIT return original bit value
Pieter Noordhuis [Tue, 14 Dec 2010 23:42:32 +0000 (00:42 +0100)] 
Make SETBIT return original bit value

13 years agospecial encoding limits redefined, and all the config options for special encodings...
antirez [Tue, 14 Dec 2010 17:23:52 +0000 (18:23 +0100)] 
special encoding limits redefined, and all the config options for special encodings added in the example redis.conf file

13 years agoMerge remote branch 'jonahharris/syslog'
antirez [Tue, 14 Dec 2010 16:53:28 +0000 (17:53 +0100)] 
Merge remote branch 'jonahharris/syslog'

13 years agoMerge remote branch 'pietern/cli-monitor'
antirez [Tue, 14 Dec 2010 16:48:52 +0000 (17:48 +0100)] 
Merge remote branch 'pietern/cli-monitor'

13 years agoremoved a test that will never be true fixing the compilation on Linux
antirez [Tue, 14 Dec 2010 16:46:20 +0000 (17:46 +0100)] 
removed a test that will never be true fixing the compilation on Linux

13 years agoMerge branch 'master' of github.com:antirez/redis
antirez [Tue, 14 Dec 2010 16:42:46 +0000 (17:42 +0100)] 
Merge branch 'master' of github.com:antirez/redis

13 years agoMerge remote branch 'pietern/strrange'
antirez [Tue, 14 Dec 2010 16:42:01 +0000 (17:42 +0100)] 
Merge remote branch 'pietern/strrange'

13 years agoZero-pad timestamps in MONITOR output
Pieter Noordhuis [Tue, 14 Dec 2010 16:39:34 +0000 (17:39 +0100)] 
Zero-pad timestamps in MONITOR output

Original report and fix:
http://code.google.com/p/redis/issues/detail?id=404

13 years agoinitialized a few vars just to avoid warnings, not a real problem.
antirez [Tue, 14 Dec 2010 15:39:33 +0000 (16:39 +0100)] 
initialized a few vars just to avoid warnings, not a real problem.

13 years agoMerge remote branch 'pietern/brpoplpush'
antirez [Tue, 14 Dec 2010 15:26:37 +0000 (16:26 +0100)] 
Merge remote branch 'pietern/brpoplpush'

13 years agoAdd test cases for GETRANGE against integer-encoded strings
Pieter Noordhuis [Tue, 14 Dec 2010 14:35:35 +0000 (15:35 +0100)] 
Add test cases for GETRANGE against integer-encoded strings

13 years agoRefactor and rename SUBSTR to GETRANGE
Pieter Noordhuis [Tue, 14 Dec 2010 14:10:58 +0000 (15:10 +0100)] 
Refactor and rename SUBSTR to GETRANGE

SUBSTR is renamed to GETRANGE to have better consistency between command
names (with SETRANGE as its dual). GETRANGE is still aliased as SUBSTR.

13 years agoAdd SETRANGE command implementation and tests
Pieter Noordhuis [Tue, 14 Dec 2010 13:20:51 +0000 (14:20 +0100)] 
Add SETRANGE command implementation and tests

13 years agocow friendly HGETALL and variants
antirez [Tue, 14 Dec 2010 11:10:51 +0000 (12:10 +0100)] 
cow friendly HGETALL and variants

13 years agoDon't decode object on STRLEN when not necessary
Pieter Noordhuis [Tue, 14 Dec 2010 09:31:11 +0000 (10:31 +0100)] 
Don't decode object on STRLEN when not necessary

13 years agoLinenoise updated to latest version
antirez [Fri, 10 Dec 2010 18:22:13 +0000 (19:22 +0100)] 
Linenoise updated to latest version

13 years agopreviouse INCR implementation restored, was actually faster for some reson not fully...
antirez [Fri, 10 Dec 2010 18:15:00 +0000 (19:15 +0100)] 
previouse INCR implementation restored, was actually faster for some reson not fully clear at the moment

13 years agoMerge remote branch 'pietern/testverbosity'
antirez [Fri, 10 Dec 2010 16:24:03 +0000 (17:24 +0100)] 
Merge remote branch 'pietern/testverbosity'

13 years agodont take the fast path for INCR if the resulting integer will fit into a shared...
antirez [Fri, 10 Dec 2010 16:23:38 +0000 (17:23 +0100)] 
dont take the fast path for INCR if the resulting integer will fit into a shared integer range

13 years agofaster INCR doing far less allocation in common cases
antirez [Fri, 10 Dec 2010 16:03:38 +0000 (17:03 +0100)] 
faster INCR doing far less allocation in common cases

13 years agoBe less verbose in testing; improve error handling
Pieter Noordhuis [Fri, 10 Dec 2010 15:13:21 +0000 (16:13 +0100)] 
Be less verbose in testing; improve error handling

13 years agofixed compilation on Linux
antirez [Fri, 10 Dec 2010 14:47:01 +0000 (15:47 +0100)] 
fixed compilation on Linux

13 years agocommand line option in test suite to activate valgrind mode
antirez [Fri, 10 Dec 2010 14:40:48 +0000 (15:40 +0100)] 
command line option in test suite to activate valgrind mode

13 years agovalgrind suppression file added
antirez [Fri, 10 Dec 2010 14:36:04 +0000 (15:36 +0100)] 
valgrind suppression file added

13 years agoHGET HMGET are now COW friendly, plus API refactoring and changes needed for the...
antirez [Fri, 10 Dec 2010 14:17:55 +0000 (15:17 +0100)] 
HGET HMGET are now COW friendly, plus API refactoring and changes needed for the new implementation.

13 years agoChange function name to match what it does
Pieter Noordhuis [Fri, 10 Dec 2010 11:16:16 +0000 (12:16 +0100)] 
Change function name to match what it does

13 years agoTypo
Pieter Noordhuis [Fri, 10 Dec 2010 11:06:24 +0000 (12:06 +0100)] 
Typo

13 years agoAdd generic function to grow an sds value
Pieter Noordhuis [Fri, 10 Dec 2010 10:58:14 +0000 (11:58 +0100)] 
Add generic function to grow an sds value

Move logic concerned with setting a bit in an sds to the SETBIT command
instead of keeping it in sds.c. The function to grow an sds can and will
be reused for a command to set a range within a string value.

13 years agoSINTER/MEMBERS are now COW friendly, also some refactoring around was needed to get...
antirez [Thu, 9 Dec 2010 20:11:56 +0000 (21:11 +0100)] 
SINTER/MEMBERS are now COW friendly, also some refactoring around was needed to get this result.

13 years agoremoved dup syslog-ident conditional
Jonah H. Harris [Thu, 9 Dec 2010 16:26:33 +0000 (11:26 -0500)] 
removed dup syslog-ident conditional

13 years agoEnforce maximum string value length of 512MB
Pieter Noordhuis [Thu, 9 Dec 2010 16:16:10 +0000 (17:16 +0100)] 
Enforce maximum string value length of 512MB

13 years agosyslog support
Jonah H. Harris [Thu, 9 Dec 2010 16:10:21 +0000 (11:10 -0500)] 
syslog support

13 years agoAdd commands SETBIT/GETBIT
Pieter Noordhuis [Thu, 9 Dec 2010 15:39:33 +0000 (16:39 +0100)] 
Add commands SETBIT/GETBIT

13 years agoCOW friendly versions of SPOP and SRANDMEMBER commands, with some change to the set...
antirez [Thu, 9 Dec 2010 09:21:02 +0000 (10:21 +0100)] 
COW friendly versions of SPOP and SRANDMEMBER commands, with some change to the set encoding-agnostic API.

13 years agoLRANGE converted into a COW friendly command. Some refactoring, comment, and new...
antirez [Tue, 7 Dec 2010 15:33:13 +0000 (16:33 +0100)] 
LRANGE converted into a COW friendly command. Some refactoring, comment, and new addReply*() family function added in the process.

14 years agoDon't execute commands for clients when they are unblocked
Pieter Noordhuis [Mon, 6 Dec 2010 15:39:39 +0000 (16:39 +0100)] 
Don't execute commands for clients when they are unblocked

14 years agoFix case and indent
Pieter Noordhuis [Mon, 6 Dec 2010 15:04:42 +0000 (16:04 +0100)] 
Fix case and indent

14 years agoCheck other blocked clients when value could not be pushed
Pieter Noordhuis [Mon, 6 Dec 2010 15:04:10 +0000 (16:04 +0100)] 
Check other blocked clients when value could not be pushed

14 years agoMove code for pushing on a (blocking) RPOPLPUSH
Pieter Noordhuis [Mon, 6 Dec 2010 13:48:58 +0000 (14:48 +0100)] 
Move code for pushing on a (blocking) RPOPLPUSH

14 years agoRename blpop_blocked_clients to bpop_blocked_clients
Pieter Noordhuis [Mon, 6 Dec 2010 13:05:01 +0000 (14:05 +0100)] 
Rename blpop_blocked_clients to bpop_blocked_clients

14 years agoMove timeout logic
Pieter Noordhuis [Mon, 6 Dec 2010 12:45:48 +0000 (13:45 +0100)] 
Move timeout logic

14 years agoMerge branch 'master' into brpoplpush
Pieter Noordhuis [Mon, 6 Dec 2010 11:31:56 +0000 (12:31 +0100)] 
Merge branch 'master' into brpoplpush

14 years agoadded support for ctrl-l and clear command into redis-cli. To clear the screen is...
antirez [Wed, 1 Dec 2010 10:18:59 +0000 (11:18 +0100)] 
added support for ctrl-l and clear command into redis-cli. To clear the screen is a good idea from time to time :). Also linenoise updated to the current version to support this new feature.

14 years agominor merge conflicts merging cli-help branch fixed
antirez [Tue, 30 Nov 2010 10:39:55 +0000 (11:39 +0100)] 
minor merge conflicts merging cli-help branch fixed

14 years agoFix BRPOPLPUSH behavior for all use cases.
Michel Martens & Damian Janowski [Tue, 30 Nov 2010 02:47:45 +0000 (23:47 -0300)] 
Fix BRPOPLPUSH behavior for all use cases.

14 years agoAdhere to conventions.
Damian Janowski & Michel Martens [Tue, 9 Nov 2010 18:16:09 +0000 (15:16 -0300)] 
Adhere to conventions.

14 years agoRename bstate to bpop.
Damian Janowski & Michel Martens [Tue, 9 Nov 2010 18:06:25 +0000 (15:06 -0300)] 
Rename bstate to bpop.

14 years agoRemove warning.
Damian Janowski & Michel Martens [Tue, 9 Nov 2010 14:00:54 +0000 (11:00 -0300)] 
Remove warning.

14 years agoHandle BRPOPLPUSH inside a transaction.
Damian Janowski & Michel Martens [Tue, 9 Nov 2010 13:31:02 +0000 (10:31 -0300)] 
Handle BRPOPLPUSH inside a transaction.

14 years agoRefactor code for BRPOPLPUSH.
Damian Janowski & Michel Martens [Mon, 8 Nov 2010 23:47:46 +0000 (20:47 -0300)] 
Refactor code for BRPOPLPUSH.

14 years agoMove to struct.
Damian Janowski & Michel Martens [Mon, 8 Nov 2010 22:38:01 +0000 (19:38 -0300)] 
Move to struct.

14 years agoBRPOPLPUSH.
Damian Janowski & Michel Martens [Mon, 8 Nov 2010 18:25:59 +0000 (15:25 -0300)] 
BRPOPLPUSH.

14 years agoFix case in RPOPLPUSH.
Damian Janowski & Michel Martens [Mon, 8 Nov 2010 13:43:21 +0000 (10:43 -0300)] 
Fix case in RPOPLPUSH.

14 years agoMinor update to linenoise
Pieter Noordhuis [Mon, 29 Nov 2010 19:53:57 +0000 (20:53 +0100)] 
Minor update to linenoise

14 years agoRefactor and support help for command names with spaces
Pieter Noordhuis [Mon, 29 Nov 2010 19:26:03 +0000 (20:26 +0100)] 
Refactor and support help for command names with spaces

14 years agoUse linenoise completion API from redis-cli
Pieter Noordhuis [Mon, 29 Nov 2010 18:27:36 +0000 (19:27 +0100)] 
Use linenoise completion API from redis-cli

14 years agoUpdate linenoise
Pieter Noordhuis [Mon, 29 Nov 2010 18:27:06 +0000 (19:27 +0100)] 
Update linenoise

14 years agoquick and dirty fix for hiredis bug creating problem with the new redis-cli connect...
antirez [Mon, 29 Nov 2010 11:20:17 +0000 (12:20 +0100)] 
quick and dirty fix for hiredis bug creating problem with the new redis-cli connect commmand. Also change prompt when redis-cli is not connected

14 years agonew redis-cli command connect
antirez [Mon, 29 Nov 2010 11:17:55 +0000 (12:17 +0100)] 
new redis-cli command connect

14 years agogitignore now includes a few more files
antirez [Mon, 29 Nov 2010 10:14:57 +0000 (11:14 +0100)] 
gitignore now includes a few more files

14 years agoRefactor help-related code into redis-cli.c
Pieter Noordhuis [Sun, 28 Nov 2010 20:37:19 +0000 (21:37 +0100)] 
Refactor help-related code into redis-cli.c

14 years agoUpdate help.h generator script to output man-style argument list
Pieter Noordhuis [Sun, 28 Nov 2010 16:45:58 +0000 (17:45 +0100)] 
Update help.h generator script to output man-style argument list

14 years agoMerge remote branch 'visionmedia/cli-help' into cli-help
Pieter Noordhuis [Fri, 26 Nov 2010 19:46:42 +0000 (20:46 +0100)] 
Merge remote branch 'visionmedia/cli-help' into cli-help

14 years agoDon't hardcode make to "make"
Pieter Noordhuis [Sun, 21 Nov 2010 15:44:17 +0000 (16:44 +0100)] 
Don't hardcode make to "make"

14 years agoStop using /dev/null to find out the serialized object length
Pieter Noordhuis [Sun, 21 Nov 2010 15:27:47 +0000 (16:27 +0100)] 
Stop using /dev/null to find out the serialized object length

Now the rdbSave* functions return the number of bytes written (or
required to write) in serializing a Redis object, writing to /dev/null
and using ftell (which doesn't work on FreeBSD) isn't needed anymore.

14 years agoWrapper around fwrite to make API consistent
Pieter Noordhuis [Sun, 21 Nov 2010 15:12:25 +0000 (16:12 +0100)] 
Wrapper around fwrite to make API consistent

14 years agoReturn number of bytes written from rdbSave* functions
Pieter Noordhuis [Sun, 21 Nov 2010 14:39:34 +0000 (15:39 +0100)] 
Return number of bytes written from rdbSave* functions

14 years agoAdded redis-cli interactive help support
Tj Holowaychuk [Tue, 16 Nov 2010 13:50:26 +0000 (05:50 -0800)] 
Added redis-cli interactive help support

updated via commands.json in redis-doc repo. Currently
use `make src/help.h` to re-generate. The following
are valid from the REPL:

  help
  help [command]
  help [group]
  help groups

ex:

  help sort
  help hash

14 years agoadded a few more files to gitignore
antirez [Mon, 15 Nov 2010 14:50:41 +0000 (15:50 +0100)] 
added a few more files to gitignore

14 years agoFix for bug 374, thanks to Jeremy Zawodny for reporting and tracing why it was crashing.
antirez [Fri, 12 Nov 2010 19:02:20 +0000 (20:02 +0100)] 
Fix for bug 374, thanks to Jeremy Zawodny for reporting and tracing why it was crashing.

14 years agovolatile-lru maxmemory policy segfault fixed, thanks to Anthony Lauzon for reporting...
antirez [Thu, 11 Nov 2010 12:19:17 +0000 (13:19 +0100)] 
volatile-lru maxmemory policy segfault fixed, thanks to Anthony Lauzon for reporting the problem with the patch. Original patch modified a bit in order to avoid the double lookup if the policy is allkeys-lru

14 years agonow redis-cli is able to show the Git SHA1 in the version output
antirez [Mon, 8 Nov 2010 15:26:02 +0000 (16:26 +0100)] 
now redis-cli is able to show the Git SHA1 in the version output

14 years agomake sure to flush stdout every line read in monitor mode, to play well with redirect...
antirez [Mon, 8 Nov 2010 15:14:15 +0000 (16:14 +0100)] 
make sure to flush stdout every line read in monitor mode, to play well with redirection to file

14 years agoadded noeviction policy to redis maxmemory. ZSCORE removed from the list of commands...
antirez [Mon, 8 Nov 2010 15:12:16 +0000 (16:12 +0100)] 
added noeviction policy to redis maxmemory. ZSCORE removed from the list of commands that can't be called when we are low on memory, this command was added in the past for a stupid error.

14 years agobuild redis-server at the end so have a more pleasing to see Make output and the...
antirez [Mon, 8 Nov 2010 12:19:58 +0000 (13:19 +0100)] 
build redis-server at the end so have a more pleasing to see Make output and the advice to run the test suite at the end.

14 years agofixed compilation with 32bit target
antirez [Mon, 8 Nov 2010 11:53:36 +0000 (12:53 +0100)] 
fixed compilation with 32bit target

14 years agonon blocking loading of the DB / AOF with informations and ETA in INFO output
antirez [Mon, 8 Nov 2010 10:52:03 +0000 (11:52 +0100)] 
non blocking loading of the DB / AOF with informations and ETA in INFO output

14 years agoUpdate hiredis
Pieter Noordhuis [Fri, 5 Nov 2010 16:24:48 +0000 (17:24 +0100)] 
Update hiredis

14 years agoOnly cascade clean target to deps
Pieter Noordhuis [Fri, 5 Nov 2010 16:22:16 +0000 (17:22 +0100)] 
Only cascade clean target to deps

14 years agoversion bumped to 2.1.7 after merging with aaslave branch for non blocking slaves
antirez [Fri, 5 Nov 2010 10:00:20 +0000 (11:00 +0100)] 
version bumped to 2.1.7 after merging with aaslave branch for non blocking slaves

14 years agoMerge branch 'aaslave'
antirez [Fri, 5 Nov 2010 09:59:49 +0000 (10:59 +0100)] 
Merge branch 'aaslave'

14 years agoversion bumped to 2.1.6
antirez [Fri, 5 Nov 2010 09:57:53 +0000 (10:57 +0100)] 
version bumped to 2.1.6

14 years agoMerge remote branch 'pietern/benchmark'
antirez [Fri, 5 Nov 2010 09:29:59 +0000 (10:29 +0100)] 
Merge remote branch 'pietern/benchmark'

14 years agoUse multi-bulk protocol in SET benchmark
Pieter Noordhuis [Fri, 5 Nov 2010 09:22:52 +0000 (10:22 +0100)] 
Use multi-bulk protocol in SET benchmark

14 years agoconfig option to select if when replication link with master a slave should or not...
antirez [Thu, 4 Nov 2010 18:59:21 +0000 (19:59 +0100)] 
config option to select if when replication link with master a slave should or not serve stale data

14 years agoreplication asynchronous SYNC information in INFO output
antirez [Thu, 4 Nov 2010 17:50:23 +0000 (18:50 +0100)] 
replication asynchronous SYNC information in INFO output

14 years agomore replication info in logs
antirez [Thu, 4 Nov 2010 17:14:20 +0000 (18:14 +0100)] 
more replication info in logs

14 years agonon blocking slave replication is now more non blocking than the first implementation...
antirez [Thu, 4 Nov 2010 17:09:35 +0000 (18:09 +0100)] 
non blocking slave replication is now more non blocking than the first implementation...

14 years agotypos and minor stuff fixed in the new non blocking replication code
antirez [Thu, 4 Nov 2010 16:35:03 +0000 (17:35 +0100)] 
typos and minor stuff fixed in the new non blocking replication code

14 years agofirst attempt to non blocking implementation of slave replication and SYNC bulk data...
antirez [Thu, 4 Nov 2010 16:29:53 +0000 (17:29 +0100)] 
first attempt to non blocking implementation of slave replication and SYNC bulk data download. Never compiled so far...

14 years agoMicrosecond latency resolution in redis-benchmark
Pieter Noordhuis [Thu, 4 Nov 2010 13:47:15 +0000 (14:47 +0100)] 
Microsecond latency resolution in redis-benchmark

14 years agoUse hiredis from redis-benchmark
Pieter Noordhuis [Thu, 4 Nov 2010 12:37:05 +0000 (13:37 +0100)] 
Use hiredis from redis-benchmark

14 years agoUpdate hiredis
Pieter Noordhuis [Thu, 4 Nov 2010 12:35:47 +0000 (13:35 +0100)] 
Update hiredis

14 years agominor test suite bug fixed
antirez [Thu, 4 Nov 2010 09:48:49 +0000 (10:48 +0100)] 
minor test suite bug fixed

14 years agoStop using the freelist robj* cache
Pieter Noordhuis [Thu, 4 Nov 2010 09:09:30 +0000 (10:09 +0100)] 
Stop using the freelist robj* cache