awesomized/libmemcached
14 years agoBuild fixes for libmemcached/memcached_io.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:37:40 +0000 (13:37 -0400)] 
Build fixes for libmemcached/memcached_io.c file.

14 years agoBuild fixes for the memcached_hosts.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:11:59 +0000 (13:11 -0400)] 
Build fixes for the memcached_hosts.c file.

14 years agoBuild fixes for the memcached_hash.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:11:32 +0000 (13:11 -0400)] 
Build fixes for the memcached_hash.c file.

14 years agoBuild fixes for the memcached_get.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:11:19 +0000 (13:11 -0400)] 
Build fixes for the memcached_get.c file.

14 years agoBuild fixes for the memcached_flush.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:10:56 +0000 (13:10 -0400)] 
Build fixes for the memcached_flush.c file.

14 years agoBuild fixes for the memcached_dump.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:10:35 +0000 (13:10 -0400)] 
Build fixes for the memcached_dump.c file.

14 years agoBuild fixes for the libmemcached_do.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:10:13 +0000 (13:10 -0400)] 
Build fixes for the libmemcached_do.c file.

14 years agoBuild fixes for the memcached_delete.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:09:59 +0000 (13:09 -0400)] 
Build fixes for the memcached_delete.c file.

14 years agoBuild fixes for the memcached_connect.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:09:41 +0000 (13:09 -0400)] 
Build fixes for the memcached_connect.c file.

14 years agoSmall build fixes to reduce warnings.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:09:22 +0000 (13:09 -0400)] 
Small build fixes to reduce warnings.

14 years agoVarious small build fixes to reduce warnings.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:09:05 +0000 (13:09 -0400)] 
Various small build fixes to reduce warnings.

14 years agoAdding various small build fixes.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:08:37 +0000 (13:08 -0400)] 
Adding various small build fixes.

14 years agoMerge for bug fix from Trond
Brian Aker [Thu, 16 Jul 2009 16:40:59 +0000 (09:40 -0700)] 
Merge for bug fix from Trond

14 years agoBug fix
Brian Aker [Thu, 16 Jul 2009 16:39:34 +0000 (09:39 -0700)] 
Bug fix

14 years agoBug #400182: Ignore unsupported stats 'conn_yields'
Trond Norbye [Thu, 16 Jul 2009 12:11:04 +0000 (14:11 +0200)] 
Bug #400182: Ignore unsupported stats 'conn_yields'

14 years agoBug #400177: Memory leak in replication_mget_test
Trond Norbye [Thu, 16 Jul 2009 11:28:19 +0000 (13:28 +0200)] 
Bug #400177: Memory leak in replication_mget_test

14 years agoRemove plus test for the moment.
Brian Aker [Thu, 16 Jul 2009 00:17:40 +0000 (17:17 -0700)] 
Remove plus test for the moment.

14 years agoUpdates on C++ interface from Padraig.
Brian Aker [Wed, 15 Jul 2009 22:13:28 +0000 (15:13 -0700)] 
Updates on C++ interface from Padraig.

14 years agoModified test system so that "make test" should no properly error.
Brian Aker [Wed, 15 Jul 2009 20:50:38 +0000 (13:50 -0700)] 
Modified test system so that "make test" should no properly error.

14 years agoUpdated the ChangeLog and the .pod document indicating the changes I made to
Padraig O'Sullivan [Wed, 15 Jul 2009 19:31:14 +0000 (15:31 -0400)] 
Updated the ChangeLog and the .pod document indicating the changes I made to
the memcached_get and memcached_get_by_key API calls.

14 years agoFixing the usage of __attribute__(unused) for solaris builds.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:45:15 +0000 (14:45 -0400)] 
Fixing the usage of __attribute__(unused) for solaris builds.

14 years agoSome more updates to the C++ test file to remove solaris warnings.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:40:28 +0000 (14:40 -0400)] 
Some more updates to the C++ test file to remove solaris warnings.

14 years agoUpdating the C++ test file to remove some compiler warnings on Solaris.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:36:27 +0000 (14:36 -0400)] 
Updating the C++ test file to remove some compiler warnings on Solaris.

14 years agoConverted some of the memcached API's to use size_t instead of unsigned int.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:26:30 +0000 (14:26 -0400)] 
Converted some of the memcached API's to use size_t instead of unsigned int.

14 years agoMerge from monty.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:22:50 +0000 (14:22 -0400)] 
Merge from monty.

14 years agoAdded macro files I missed earlier...
Monty Taylor [Thu, 16 Jul 2009 02:58:56 +0000 (19:58 -0700)] 
Added macro files I missed earlier...

14 years agopandora-build v0.20
Monty Taylor [Thu, 16 Jul 2009 02:28:54 +0000 (19:28 -0700)] 
pandora-build v0.20
Turned off inllargeuse warning in sun studio

14 years agoMerge Monty
Brian Aker [Wed, 15 Jul 2009 18:00:22 +0000 (11:00 -0700)] 
Merge Monty

14 years agoFix for gcc 4.4 error.
Brian Aker [Wed, 15 Jul 2009 10:48:15 +0000 (03:48 -0700)] 
Fix for gcc 4.4 error.

14 years agoUpdated with Twitter's memcached_server_error() function.
Brian Aker [Wed, 15 Jul 2009 10:09:06 +0000 (03:09 -0700)] 
Updated with Twitter's memcached_server_error() function.

14 years agoMerged (and removed Malloc for size_t in mget)
Brian Aker [Wed, 15 Jul 2009 09:05:00 +0000 (02:05 -0700)] 
Merged (and removed Malloc for size_t in mget)

14 years agoMerge Monty
Brian Aker [Tue, 14 Jul 2009 20:55:32 +0000 (13:55 -0700)] 
Merge Monty

14 years agoMerge Padraig
Brian Aker [Tue, 14 Jul 2009 19:47:39 +0000 (12:47 -0700)] 
Merge Padraig

14 years agoMerged in a lost patch.
Monty Taylor [Tue, 14 Jul 2009 19:22:55 +0000 (12:22 -0700)] 
Merged in a lost patch.

14 years agoMerged from Padraig.
Monty Taylor [Tue, 14 Jul 2009 19:20:58 +0000 (12:20 -0700)] 
Merged from Padraig.

14 years agoMerged from myself.
Monty Taylor [Tue, 14 Jul 2009 19:18:55 +0000 (12:18 -0700)] 
Merged from myself.

14 years agoFix broken whatis entries.
Monty Taylor [Tue, 14 Jul 2009 19:16:40 +0000 (12:16 -0700)] 
Fix broken whatis entries.

14 years agopandora-build v0.13
Monty Taylor [Tue, 14 Jul 2009 19:12:08 +0000 (12:12 -0700)] 
pandora-build v0.13

14 years agoResolving build issues on Mac OSX. Some variables were shadowing global
Padraig O'Sullivan [Tue, 14 Jul 2009 02:17:13 +0000 (22:17 -0400)] 
Resolving build issues on Mac OSX. Some variables were shadowing global
declarations from included files.

14 years agoMerge trunk.
Padraig O'Sullivan [Sat, 11 Jul 2009 19:11:57 +0000 (15:11 -0400)] 
Merge trunk.

14 years agoModified the fetch() function in the C++ interface to return a bool instead
Padraig O'Sullivan [Sat, 11 Jul 2009 19:10:39 +0000 (15:10 -0400)] 
Modified the fetch() function in the C++ interface to return a bool instead
of a std::string. This makes looping using the fetch() function easier. Also
updated the C++ test cases to test more of the C++ interface's
functionality.

14 years agoAdding the fetch_execute function to the C++ interface.
Padraig O'Sullivan [Sat, 11 Jul 2009 18:41:34 +0000 (14:41 -0400)] 
Adding the fetch_execute function to the C++ interface.

14 years agoUpdating the mget function in the C++ interface to take a std::vector of
Padraig O'Sullivan [Sat, 11 Jul 2009 17:38:57 +0000 (13:38 -0400)] 
Updating the mget function in the C++ interface to take a std::vector of
keys as input instead of an array of char *.

14 years agopandora-build v0.10
Monty Taylor [Sat, 11 Jul 2009 01:50:57 +0000 (18:50 -0700)] 
pandora-build v0.10

14 years agoUpdated version. 0.31
Brian Aker [Fri, 10 Jul 2009 16:22:42 +0000 (09:22 -0700)] 
Updated version.

14 years agoCleaning up formatting in the C++ interface.
Padraig O'Sullivan [Fri, 10 Jul 2009 06:18:50 +0000 (02:18 -0400)] 
Cleaning up formatting in the C++ interface.

14 years agoUpdating the get function in the C++ interface.
Padraig O'Sullivan [Fri, 10 Jul 2009 06:08:16 +0000 (02:08 -0400)] 
Updating the get function in the C++ interface.

14 years agoRemoving all remnants of const char * in the C++ interface and replacing
Padraig O'Sullivan [Fri, 10 Jul 2009 05:30:31 +0000 (01:30 -0400)] 
Removing all remnants of const char * in the C++ interface and replacing
them with std::string. This also allowed us to remove all calls to strlen in
the C++ interface.

14 years agoAdded the lib_version() function to the C++ interface.
Padraig O'Sullivan [Fri, 10 Jul 2009 05:06:00 +0000 (01:06 -0400)] 
Added the lib_version() function to the C++ interface.

14 years agoRemoving un-needed include declaration from C++ interface.
Padraig O'Sullivan [Fri, 10 Jul 2009 04:49:31 +0000 (00:49 -0400)] 
Removing un-needed include declaration from C++ interface.

14 years agoMore modifications to the C++ interface. Changing the return type of a
Padraig O'Sullivan [Fri, 10 Jul 2009 04:40:34 +0000 (00:40 -0400)] 
More modifications to the C++ interface. Changing the return type of a
number of functions to be boolean instead of memcached_return.

14 years agoMaking some modifications to the C++ interface. Mainly going from const char
Padraig O'Sullivan [Fri, 10 Jul 2009 04:19:15 +0000 (00:19 -0400)] 
Making some modifications to the C++ interface. Mainly going from const char
* to const std::string&. Also updated the C++ client test source file.

14 years agoMerged trunk.
Monty Taylor [Thu, 9 Jul 2009 18:34:46 +0000 (11:34 -0700)] 
Merged trunk.

14 years agopandora-build 0.9
Monty Taylor [Thu, 9 Jul 2009 18:33:08 +0000 (11:33 -0700)] 
pandora-build 0.9

14 years agopandora-build v0.8
Monty Taylor [Thu, 9 Jul 2009 05:34:19 +0000 (22:34 -0700)] 
pandora-build v0.8

14 years agoMerge Monty
Brian Aker [Wed, 8 Jul 2009 23:14:17 +0000 (16:14 -0700)] 
Merge Monty

14 years agoBug found by Dustin via ICC
Brian Aker [Wed, 8 Jul 2009 23:12:50 +0000 (16:12 -0700)] 
Bug found by Dustin via ICC

14 years agoTurned off gcc-4.2 forcing on osx for now, until I can merge in the better switch.
Monty Taylor [Wed, 8 Jul 2009 23:05:36 +0000 (16:05 -0700)] 
Turned off gcc-4.2 forcing on osx for now, until I can merge in the better switch.

14 years agoMerge Monty
Brian Aker [Wed, 8 Jul 2009 21:56:45 +0000 (14:56 -0700)] 
Merge Monty

14 years agoUpdated pandora-build v0.3.
Monty Taylor [Wed, 8 Jul 2009 19:38:10 +0000 (12:38 -0700)] 
Updated pandora-build v0.3.

14 years agoAdded support for autoconf 2.59.
mordred [Wed, 8 Jul 2009 19:28:20 +0000 (12:28 -0700)] 
Added support for autoconf 2.59.

14 years agoMerge Monty
Brian Aker [Wed, 8 Jul 2009 19:19:02 +0000 (12:19 -0700)] 
Merge Monty

14 years agoMerged in two missing changes from f-visibility tree.
Monty Taylor [Wed, 8 Jul 2009 18:58:47 +0000 (11:58 -0700)] 
Merged in two missing changes from f-visibility tree.

14 years agoCleaned up a -Wconversion warning check for tarball-related builds.
Monty Taylor [Wed, 8 Jul 2009 18:18:40 +0000 (11:18 -0700)] 
Cleaned up a -Wconversion warning check for tarball-related builds.

14 years agoMoved tests/ to after client/, since it depends on things from client/
Monty Taylor [Wed, 8 Jul 2009 18:04:42 +0000 (11:04 -0700)] 
Moved tests/ to after client/, since it depends on things from client/

14 years agoMerge trond from lp:~trond-norbye/libmemcached/bug_396882
Monty Taylor [Wed, 8 Jul 2009 17:59:54 +0000 (10:59 -0700)] 
Merge trond from lp:~trond-norbye/libmemcached/bug_396882

14 years agoCleaned up clients/ and tests/ to not build things multiple times, and to not
Monty Taylor [Wed, 8 Jul 2009 17:58:46 +0000 (10:58 -0700)] 
Cleaned up clients/ and tests/ to not build things multiple times, and to not
refer to things using relative paths, but rather paths based on top_srcdir or
top_builddir.

14 years agoRemoved a noinst_HEADERS entry for dtrace_probes, which was causing it to get
Monty Taylor [Wed, 8 Jul 2009 17:41:22 +0000 (10:41 -0700)] 
Removed a noinst_HEADERS entry for dtrace_probes, which was causing it to get
built regardless of the dtrace automake check.

14 years agoFixed -Wwrite-strings warnings.
Monty Taylor [Wed, 8 Jul 2009 13:38:34 +0000 (13:38 +0000)] 
Fixed -Wwrite-strings warnings.

14 years agopandora-build v0.1
Monty Taylor [Wed, 8 Jul 2009 07:37:38 +0000 (00:37 -0700)] 
pandora-build v0.1

14 years agoBug 396882: docs/Makefile.am refers to memory_user_data.pod, but the file is missing
Trond Norbye [Wed, 8 Jul 2009 06:41:51 +0000 (08:41 +0200)] 
Bug 396882: docs/Makefile.am refers to memory_user_data.pod, but the file is missing

14 years agoUpdate changelog
Brian Aker [Wed, 8 Jul 2009 00:46:21 +0000 (17:46 -0700)] 
Update changelog

14 years agoTrond merge (and a fix for make test)
Brian Aker [Wed, 8 Jul 2009 00:20:37 +0000 (17:20 -0700)] 
Trond merge (and a fix for make test)

14 years agoCleaned up some warnings.
Monty Taylor [Tue, 7 Jul 2009 21:57:24 +0000 (14:57 -0700)] 
Cleaned up some warnings.

14 years agoAdd in missing probes.
Monty Taylor [Tue, 7 Jul 2009 21:56:34 +0000 (14:56 -0700)] 
Add in missing probes.

14 years agoAdded an else for unknown compilers.
Monty Taylor [Tue, 7 Jul 2009 07:03:17 +0000 (00:03 -0700)] 
Added an else for unknown compilers.

14 years agoPatch from Trond about visibility on Sun Studio.
Monty Taylor [Tue, 7 Jul 2009 06:09:27 +0000 (23:09 -0700)] 
Patch from Trond about visibility on Sun Studio.

14 years agoReverted changes to a file that isn't owned by this tree.
Monty Taylor [Tue, 7 Jul 2009 06:05:26 +0000 (23:05 -0700)] 
Reverted changes to a file that isn't owned by this tree.

14 years agoTurned on -fvisibility=hidden. Added API markers to the code.
Monty Taylor [Mon, 6 Jul 2009 17:20:04 +0000 (12:20 -0500)] 
Turned on -fvisibility=hidden. Added API markers to the code.

14 years agoFixed strict aliasing. Turn it off only for the callbacks code. When we turn it
Monty Taylor [Mon, 6 Jul 2009 17:18:09 +0000 (12:18 -0500)] 
Fixed strict aliasing. Turn it off only for the callbacks code. When we turn it
off, also turn off the optimization

14 years agoRearranged some things and added the visibility.m4 macros. Started to lay the
Monty Taylor [Mon, 6 Jul 2009 17:13:14 +0000 (12:13 -0500)] 
Rearranged some things and added the visibility.m4 macros. Started to lay the
groundwork for being able to turn on -fvisibility=hidden, which in this lib
will likely be a nice speed win. (At these speeds, the extra mem access might
even be noticed)
Moved code that was commented to only be private to private headers. Removed
the need for installation of any of the private headers.

14 years agoBug #395094: Rewrite config/autorun.sh to a Bourne shell script
Trond Norbye [Fri, 3 Jul 2009 10:48:15 +0000 (12:48 +0200)] 
Bug #395094: Rewrite config/autorun.sh to a Bourne shell script

14 years agoMerge Trond
Brian Aker [Wed, 1 Jul 2009 21:30:04 +0000 (14:30 -0700)] 
Merge Trond

14 years agoBug 394442: Replication mget test fail on linux due to race conditions
Trond Norbye [Wed, 1 Jul 2009 19:36:25 +0000 (21:36 +0200)] 
Bug 394442: Replication mget test fail on linux due to race conditions

All replicas are stored on the different servers by using the quiet commands,
and when we start to receive them we will do that in another memcached_st
instance (aka another connection to the server). The code goes directly
from the SET command to trying to fetch the items from all of the servers.
This means that the memcached server may still be processing the quiet set
commands while another thread in the memcached server tries to fetch all of
the items.

To fix this we need to ensure that all of the set commands are executed on
all of the memcached servers before starting to receive them. memcached_quit
will send the QUIT command to all of the servers and wait for a response,
so we now that when memcached_quit returns all commands are executed on
the client.

In addition the response counter should not be updated when we send out the
replica storage / delete commands.

14 years agoWork inspired by matt knox
Brian Aker [Wed, 1 Jul 2009 16:18:18 +0000 (09:18 -0700)] 
Work inspired by matt knox

14 years agoremoved free
Matt Knox [Tue, 30 Jun 2009 23:05:37 +0000 (16:05 -0700)] 
removed free

14 years agooops! Now I'm using the malloc api, rather than direct malloc
Matt Knox [Tue, 30 Jun 2009 22:15:14 +0000 (15:15 -0700)] 
oops!  Now I'm using the malloc api, rather than direct malloc

14 years agoFix from Trond for deprecation
Brian Aker [Mon, 29 Jun 2009 21:10:33 +0000 (14:10 -0700)] 
Fix from Trond for deprecation

14 years agoDowngrading the configure.
Brian Aker [Mon, 29 Jun 2009 21:02:22 +0000 (14:02 -0700)] 
Downgrading the configure.

14 years agocached the server error in memcached_server_st
Matt Knox [Mon, 29 Jun 2009 20:51:23 +0000 (13:51 -0700)] 
cached the server error in memcached_server_st

14 years agoMerge Trond
Brian Aker [Mon, 29 Jun 2009 20:33:08 +0000 (13:33 -0700)] 
Merge Trond

14 years agoBug #393578: make install should install libmemcached/memcached_configure.h
Trond Norbye [Mon, 29 Jun 2009 19:03:28 +0000 (21:03 +0200)] 
Bug #393578: make install should install libmemcached/memcached_configure.h

14 years agoBug #393556: Specify the signess of constants to avoid implicit conversion
Trond Norbye [Mon, 29 Jun 2009 17:47:16 +0000 (19:47 +0200)] 
Bug #393556: Specify the signess of constants to avoid implicit conversion

14 years agoFix for Solaris testing
Brian Aker [Sat, 27 Jun 2009 17:49:58 +0000 (10:49 -0700)] 
Fix for Solaris testing

14 years agoFix regression bug #392807, --with-memcached doesn't work
Trond Norbye [Sat, 27 Jun 2009 06:44:40 +0000 (08:44 +0200)] 
Fix regression bug #392807, --with-memcached doesn't work

14 years agoMerging Trond, also fixed make test.
Brian Aker [Mon, 22 Jun 2009 01:47:19 +0000 (18:47 -0700)] 
Merging Trond, also fixed make test.

14 years agoMerge Monty
Brian Aker [Sun, 21 Jun 2009 15:51:17 +0000 (08:51 -0700)] 
Merge Monty

14 years agoDeprecate the old callback interface to set the memory allocators
Trond Norbye [Sun, 21 Jun 2009 10:59:22 +0000 (12:59 +0200)] 
Deprecate the old callback interface to set the memory allocators

14 years agoAdded -Wformat=2 - checks for some safety/security violations on format strings.
Monty Taylor [Sun, 21 Jun 2009 01:20:36 +0000 (18:20 -0700)] 
Added -Wformat=2 - checks for some safety/security violations on format strings.

14 years agoRemoved -W - it's an alias for -Wextra.
Monty Taylor [Sun, 21 Jun 2009 01:13:31 +0000 (18:13 -0700)] 
Removed -W - it's an alias for -Wextra.