perl-Redis.git
8 years agoadd scripts/* to MANIFEST master
U-LIFEBOOK\Administrator [Fri, 30 Apr 2010 07:29:31 +0000 (15:29 +0800)]
add scripts/* to MANIFEST

8 years agoadd lib/Redis/* to MANIFEST so that CPAN distro contains relevant files
U-LIFEBOOK\Administrator [Fri, 30 Apr 2010 07:27:52 +0000 (15:27 +0800)]
add lib/Redis/* to MANIFEST so that CPAN distro contains relevant files

8 years agoreturn undef makes @list = ( undef ), which is sad
sunnavy [Wed, 21 Apr 2010 18:28:26 +0000 (02:28 +0800)]
return undef makes @list = ( undef ), which is sad

8 years agonotice utf-8 fix 1.2001
Dobrica Pavlinusic [Fri, 19 Mar 2010 14:38:14 +0000 (14:38 +0000)]
notice utf-8 fix

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@72 447b33ff-793d-4489-8442-9bea7d161be5

8 years agoadded encoding notice
Dobrica Pavlinusic [Fri, 19 Mar 2010 14:38:13 +0000 (14:38 +0000)]
added encoding notice

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@71 447b33ff-793d-4489-8442-9bea7d161be5

8 years agouse Encode::_utf8_on to mark bytes from Redis socket as utf-8 chars
Dobrica Pavlinusic [Wed, 17 Mar 2010 20:26:07 +0000 (20:26 +0000)]
use Encode::_utf8_on to mark bytes from Redis socket as utf-8 chars

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@70 447b33ff-793d-4489-8442-9bea7d161be5

8 years agoadded use bytes to support utf-8 encoded strings
Dobrica Pavlinusic [Wed, 17 Mar 2010 18:22:09 +0000 (18:22 +0000)]
added use bytes to support utf-8 encoded strings

We are not round-tripping utf-8 encoding strings correctly in
this version. We will get string back wothout perl utf-8 flag

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@69 447b33ff-793d-4489-8442-9bea7d161be5

8 years agoadded CPAN RT #54841 info
Dobrica Pavlinusic [Wed, 17 Mar 2010 17:19:10 +0000 (17:19 +0000)]
added CPAN RT #54841 info

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@68 447b33ff-793d-4489-8442-9bea7d161be5

8 years agodocument changes in new version
Dobrica Pavlinusic [Wed, 17 Mar 2010 16:58:13 +0000 (16:58 +0000)]
document changes in new version

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@67 447b33ff-793d-4489-8442-9bea7d161be5

8 years agoversion bump [1.2001]
Dobrica Pavlinusic [Wed, 17 Mar 2010 16:58:00 +0000 (16:58 +0000)]
version bump [1.2001]

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@66 447b33ff-793d-4489-8442-9bea7d161be5

8 years agoAdded support for Redis >= 1.2 bulk commands
Dobrica Pavlinusic [Wed, 17 Mar 2010 16:24:28 +0000 (16:24 +0000)]
Added support for Redis >= 1.2 bulk commands

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@65 447b33ff-793d-4489-8442-9bea7d161be5

8 years agoconfess command and result
Dobrica Pavlinusic [Thu, 3 Dec 2009 18:36:56 +0000 (18:36 +0000)]
confess command and result

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@64 447b33ff-793d-4489-8442-9bea7d161be5

9 years agouse Data::Dumper instead of Data::Dump so all our dependencies are perl core modules 0.0801
Dobrica Pavlinusic [Mon, 14 Sep 2009 11:37:25 +0000 (11:37 +0000)]
use Data::Dumper instead of Data::Dump so all our dependencies are perl core modules

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@63 447b33ff-793d-4489-8442-9bea7d161be5

9 years agotest contructor with server argument
Dobrica Pavlinusic [Sat, 12 Sep 2009 15:13:40 +0000 (15:13 +0000)]
test contructor with server argument

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@62 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoversion bump [0.0801]
Dobrica Pavlinusic [Sat, 12 Sep 2009 15:08:59 +0000 (15:08 +0000)]
version bump [0.0801]

- implement constructior parametars
- use enviroment variables REDIS_SERVER and REDIS_DEBUG
- create new socket for each object allowing concurrency

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@61 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoadded Redis::Hash benchmarks
Dobrica Pavlinusic [Sun, 26 Jul 2009 01:33:13 +0000 (01:33 +0000)]
added Redis::Hash benchmarks

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@60 447b33ff-793d-4489-8442-9bea7d161be5

9 years agodocument and test redis object for issuing normal commands
Dobrica Pavlinusic [Wed, 17 Jun 2009 16:49:17 +0000 (16:49 +0000)]
document and test redis object for issuing normal commands

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@59 447b33ff-793d-4489-8442-9bea7d161be5

9 years agotest that info returns HASH
Dobrica Pavlinusic [Wed, 17 Jun 2009 16:47:06 +0000 (16:47 +0000)]
test that info returns HASH

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@58 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosinter ordering of results (in insertion order?) changed with recent redis from git
Dobrica Pavlinusic [Wed, 17 Jun 2009 16:19:17 +0000 (16:19 +0000)]
sinter ordering of results (in insertion order?) changed with recent redis from git

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@57 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoimplement same benchmarks as redis-benchmark in C
Dobrica Pavlinusic [Wed, 25 Mar 2009 00:03:06 +0000 (00:03 +0000)]
implement same benchmarks as redis-benchmark in C
with comparable results and rnd variant for comparison

(I do see some fuzz in results of perl benchmark
which aren't there for C version, so I suspect perl
as culprit, and not Redis :-)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@56 447b33ff-793d-4489-8442-9bea7d161be5

9 years agofix warnings
Dobrica Pavlinusic [Tue, 24 Mar 2009 23:43:24 +0000 (23:43 +0000)]
fix warnings

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@55 447b33ff-793d-4489-8442-9bea7d161be5

9 years agocleanup
Dobrica Pavlinusic [Tue, 24 Mar 2009 23:43:16 +0000 (23:43 +0000)]
cleanup

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@54 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoupdate bindings for new protocol 0.08
Dobrica Pavlinusic [Tue, 24 Mar 2009 22:51:53 +0000 (22:51 +0000)]
update bindings for new protocol 0.08

new protocol is self-describing, so all commands are
now implemented using AUTOLOAD

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@53 447b33ff-793d-4489-8442-9bea7d161be5

9 years agobenchmark bindings and redis server
Dobrica Pavlinusic [Mon, 23 Mar 2009 14:45:32 +0000 (14:45 +0000)]
benchmark bindings and redis server

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@52 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoinfo
Dobrica Pavlinusic [Mon, 23 Mar 2009 11:44:25 +0000 (11:44 +0000)]
info

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@51 447b33ff-793d-4489-8442-9bea7d161be5

9 years agobgsave, lastsave, shutdown
Dobrica Pavlinusic [Mon, 23 Mar 2009 11:40:50 +0000 (11:40 +0000)]
bgsave, lastsave, shutdown

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@50 447b33ff-793d-4489-8442-9bea7d161be5

9 years agocomment debug output
Dobrica Pavlinusic [Mon, 23 Mar 2009 11:38:56 +0000 (11:38 +0000)]
comment debug output

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@49 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosave
Dobrica Pavlinusic [Mon, 23 Mar 2009 11:33:21 +0000 (11:33 +0000)]
save

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@48 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosort
Dobrica Pavlinusic [Mon, 23 Mar 2009 11:30:40 +0000 (11:30 +0000)]
sort

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@47 447b33ff-793d-4489-8442-9bea7d161be5

9 years agocomment debug output
Dobrica Pavlinusic [Mon, 23 Mar 2009 11:30:29 +0000 (11:30 +0000)]
comment debug output

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@46 447b33ff-793d-4489-8442-9bea7d161be5

9 years agomget
Dobrica Pavlinusic [Mon, 23 Mar 2009 10:42:29 +0000 (10:42 +0000)]
mget

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@45 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosort keys so we get predictible order for test
Dobrica Pavlinusic [Mon, 23 Mar 2009 09:22:30 +0000 (09:22 +0000)]
sort keys so we get predictible order for test

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@44 447b33ff-793d-4489-8442-9bea7d161be5

9 years agofixed Redis::Hash keys problem,
Dobrica Pavlinusic [Sun, 22 Mar 2009 20:04:17 +0000 (20:04 +0000)]
fixed Redis::Hash keys problem,
separate prefix from key with :,
return key names without prefix

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@43 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoRedis::Hash tie with optional prefix
Dobrica Pavlinusic [Sun, 22 Mar 2009 19:17:51 +0000 (19:17 +0000)]
Redis::Hash tie with optional prefix

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@42 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoflushdb, flushall
Dobrica Pavlinusic [Sun, 22 Mar 2009 18:42:21 +0000 (18:42 +0000)]
flushdb, flushall

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@41 447b33ff-793d-4489-8442-9bea7d161be5

9 years agomove
Dobrica Pavlinusic [Sun, 22 Mar 2009 18:39:06 +0000 (18:39 +0000)]
move

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@40 447b33ff-793d-4489-8442-9bea7d161be5

9 years agocleanup fails on empty database
Dobrica Pavlinusic [Sun, 22 Mar 2009 18:18:26 +0000 (18:18 +0000)]
cleanup fails on empty database

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@39 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoselect
Dobrica Pavlinusic [Sun, 22 Mar 2009 18:17:05 +0000 (18:17 +0000)]
select

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@38 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoREDIS enviroment variable controlls debug output
Dobrica Pavlinusic [Sun, 22 Mar 2009 18:07:46 +0000 (18:07 +0000)]
REDIS enviroment variable controlls debug output

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@37 447b33ff-793d-4489-8442-9bea7d161be5

9 years agofix boilerplate texts
Dobrica Pavlinusic [Sun, 22 Mar 2009 18:05:12 +0000 (18:05 +0000)]
fix boilerplate texts

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@36 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoadded link to Redis::List
Dobrica Pavlinusic [Sun, 22 Mar 2009 17:53:57 +0000 (17:53 +0000)]
added link to Redis::List

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@35 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosinterstore
Dobrica Pavlinusic [Sun, 22 Mar 2009 17:37:46 +0000 (17:37 +0000)]
sinterstore

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@34 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosinter
Dobrica Pavlinusic [Sun, 22 Mar 2009 17:31:40 +0000 (17:31 +0000)]
sinter

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@33 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosismember
Dobrica Pavlinusic [Sun, 22 Mar 2009 17:06:34 +0000 (17:06 +0000)]
sismember

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@32 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoscard
Dobrica Pavlinusic [Sun, 22 Mar 2009 17:05:00 +0000 (17:05 +0000)]
scard

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@31 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosadd, srem
Dobrica Pavlinusic [Sun, 22 Mar 2009 17:02:46 +0000 (17:02 +0000)]
sadd, srem

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@30 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoRedis::List to tie perl arrays
Dobrica Pavlinusic [Sun, 22 Mar 2009 16:16:11 +0000 (16:16 +0000)]
Redis::List to tie perl arrays

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@29 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosupport for set foo => undef
Dobrica Pavlinusic [Sun, 22 Mar 2009 15:02:42 +0000 (15:02 +0000)]
support for set foo => undef

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@28 447b33ff-793d-4489-8442-9bea7d161be5

9 years agolpop, rpop
Dobrica Pavlinusic [Sun, 22 Mar 2009 13:44:19 +0000 (13:44 +0000)]
lpop, rpop

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@27 447b33ff-793d-4489-8442-9bea7d161be5

9 years agolrem
Dobrica Pavlinusic [Sun, 22 Mar 2009 13:37:49 +0000 (13:37 +0000)]
lrem

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@26 447b33ff-793d-4489-8442-9bea7d161be5

9 years agocheck type of list
Dobrica Pavlinusic [Sun, 22 Mar 2009 13:20:34 +0000 (13:20 +0000)]
check type of list

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@25 447b33ff-793d-4489-8442-9bea7d161be5

9 years agolset, generalize _sock_send_bulk to any number of arguments
Dobrica Pavlinusic [Sun, 22 Mar 2009 13:18:11 +0000 (13:18 +0000)]
lset, generalize _sock_send_bulk to any number of arguments

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@24 447b33ff-793d-4489-8442-9bea7d161be5

9 years agolindex
Dobrica Pavlinusic [Sun, 22 Mar 2009 13:09:15 +0000 (13:09 +0000)]
lindex

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@23 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoltrim
Dobrica Pavlinusic [Sun, 22 Mar 2009 10:45:06 +0000 (10:45 +0000)]
ltrim

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@22 447b33ff-793d-4489-8442-9bea7d161be5

9 years agolrange, _sock_send refactor
Dobrica Pavlinusic [Sun, 22 Mar 2009 10:36:22 +0000 (10:36 +0000)]
lrange, _sock_send refactor

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@21 447b33ff-793d-4489-8442-9bea7d161be5

9 years agollen, _sock_send
Dobrica Pavlinusic [Sun, 22 Mar 2009 09:51:34 +0000 (09:51 +0000)]
llen, _sock_send

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@20 447b33ff-793d-4489-8442-9bea7d161be5

9 years agolpush
Dobrica Pavlinusic [Sun, 22 Mar 2009 09:46:14 +0000 (09:46 +0000)]
lpush

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@19 447b33ff-793d-4489-8442-9bea7d161be5

9 years agorpush, refactor _sock_send_bulk to expect +OK
Dobrica Pavlinusic [Sun, 22 Mar 2009 09:44:30 +0000 (09:44 +0000)]
rpush, refactor _sock_send_bulk to expect +OK

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@18 447b33ff-793d-4489-8442-9bea7d161be5

9 years agodbsize
Dobrica Pavlinusic [Sun, 22 Mar 2009 09:22:39 +0000 (09:22 +0000)]
dbsize

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@17 447b33ff-793d-4489-8442-9bea7d161be5

9 years agouse stable key names to have predictible results
Dobrica Pavlinusic [Sat, 21 Mar 2009 23:39:53 +0000 (23:39 +0000)]
use stable key names to have predictible results

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@16 447b33ff-793d-4489-8442-9bea7d161be5

9 years agocleanup NX variants of commands
Dobrica Pavlinusic [Sat, 21 Mar 2009 23:39:20 +0000 (23:39 +0000)]
cleanup NX variants of commands

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@15 447b33ff-793d-4489-8442-9bea7d161be5

9 years agorename, renamenx
Dobrica Pavlinusic [Sat, 21 Mar 2009 23:36:26 +0000 (23:36 +0000)]
rename, renamenx

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@14 447b33ff-793d-4489-8442-9bea7d161be5

9 years agorandomkey
Dobrica Pavlinusic [Sat, 21 Mar 2009 23:26:46 +0000 (23:26 +0000)]
randomkey

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@13 447b33ff-793d-4489-8442-9bea7d161be5

9 years agokeys, _sock_result_bulk
Dobrica Pavlinusic [Sat, 21 Mar 2009 23:23:37 +0000 (23:23 +0000)]
keys, _sock_result_bulk

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@12 447b33ff-793d-4489-8442-9bea7d161be5

9 years agomake _sock_result private, type
Dobrica Pavlinusic [Sat, 21 Mar 2009 23:09:48 +0000 (23:09 +0000)]
make _sock_result private, type

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@11 447b33ff-793d-4489-8442-9bea7d161be5

9 years agodel, small refacture into sock_result
Dobrica Pavlinusic [Sat, 21 Mar 2009 23:05:02 +0000 (23:05 +0000)]
del, small refacture into sock_result

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@10 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoexists
Dobrica Pavlinusic [Sat, 21 Mar 2009 22:54:10 +0000 (22:54 +0000)]
exists

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@9 447b33ff-793d-4489-8442-9bea7d161be5

9 years agodecr
Dobrica Pavlinusic [Sat, 21 Mar 2009 22:48:46 +0000 (22:48 +0000)]
decr

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@8 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoincr, incrby
Dobrica Pavlinusic [Sat, 21 Mar 2009 22:38:56 +0000 (22:38 +0000)]
incr, incrby

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@7 447b33ff-793d-4489-8442-9bea7d161be5

9 years agodependencies
Dobrica Pavlinusic [Sat, 21 Mar 2009 22:22:07 +0000 (22:22 +0000)]
dependencies

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@6 447b33ff-793d-4489-8442-9bea7d161be5

9 years agosetnx
Dobrica Pavlinusic [Sat, 21 Mar 2009 22:20:51 +0000 (22:20 +0000)]
setnx

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@5 447b33ff-793d-4489-8442-9bea7d161be5

9 years agotest non-existing key and strip cr/lf after get value
Dobrica Pavlinusic [Sat, 21 Mar 2009 21:53:15 +0000 (21:53 +0000)]
test non-existing key and strip cr/lf after get value

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@4 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoset, get
Dobrica Pavlinusic [Sat, 21 Mar 2009 21:40:53 +0000 (21:40 +0000)]
set, get

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@3 447b33ff-793d-4489-8442-9bea7d161be5

9 years agoquit, ping
Dobrica Pavlinusic [Sat, 21 Mar 2009 21:25:52 +0000 (21:25 +0000)]
quit, ping

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@2 447b33ff-793d-4489-8442-9bea7d161be5

9 years agomodule-starter --module Redis --author="Dobrica Pavlinusic" --email=dpavlin@rot13.org
Dobrica Pavlinusic [Sat, 21 Mar 2009 20:20:45 +0000 (20:20 +0000)]
module-starter --module Redis --author="Dobrica Pavlinusic" --email=dpavlin@rot13.org

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@1 447b33ff-793d-4489-8442-9bea7d161be5