awesomized/libmemcached
15 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 *.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

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

15 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

15 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.

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

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

15 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.

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

15 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.

15 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.

15 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/

15 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

15 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.

15 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.

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

15 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

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

15 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)

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

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

15 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.

15 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.

15 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.

15 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

15 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.

15 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

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

15 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.

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

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

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

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

15 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

15 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

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

15 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

15 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.

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

15 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

15 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.

15 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.

15 years agoHrm. Turns out we _can_ turn on strict-aliasing.
Monty Taylor [Sun, 21 Jun 2009 01:11:24 +0000 (18:11 -0700)] 
Hrm. Turns out we _can_ turn on strict-aliasing.

15 years agoUpdated output results to match new now-non-missing ITEM value from the enum.
Monty Taylor [Sun, 21 Jun 2009 00:33:44 +0000 (17:33 -0700)] 
Updated output results to match new now-non-missing ITEM value from the enum.

15 years agoMerging replication
Brian Aker [Sat, 20 Jun 2009 19:18:01 +0000 (12:18 -0700)] 
Merging replication

15 years agoMerged from trond.
Monty Taylor [Sat, 20 Jun 2009 18:01:52 +0000 (11:01 -0700)] 
Merged from trond.

15 years agoFix for older OSes.
Monty Taylor [Sat, 20 Jun 2009 17:51:50 +0000 (10:51 -0700)] 
Fix for older OSes.

15 years agoFixed C99 checks for older OSes.
Monty Taylor [Sat, 20 Jun 2009 17:17:52 +0000 (10:17 -0700)] 
Fixed C99 checks for older OSes.

15 years agoMerge build changes.
Monty Taylor [Thu, 18 Jun 2009 12:32:24 +0000 (12:32 +0000)] 
Merge build changes.

15 years agoMerged from me.
Monty Taylor [Wed, 17 Jun 2009 16:55:52 +0000 (09:55 -0700)] 
Merged from me.

15 years agoOne more build merge with libdrizzle/gearman.
Monty Taylor [Wed, 17 Jun 2009 16:43:06 +0000 (09:43 -0700)] 
One more build merge with libdrizzle/gearman.

15 years agoMerging Trond
Brian Aker [Wed, 17 Jun 2009 16:07:02 +0000 (09:07 -0700)] 
Merging Trond

15 years agoWhoops. Missed a line.
Monty Taylor [Tue, 16 Jun 2009 15:36:10 +0000 (08:36 -0700)] 
Whoops. Missed a line.

15 years agoMerged from me.
Monty Taylor [Tue, 16 Jun 2009 15:35:04 +0000 (08:35 -0700)] 
Merged from me.

15 years agoPorted in flags from Drizzle.
Monty Taylor [Tue, 16 Jun 2009 15:31:26 +0000 (08:31 -0700)] 
Ported in flags from Drizzle.

15 years agoFurther merging from libdrizzle and gearman.
Monty Taylor [Mon, 15 Jun 2009 23:20:43 +0000 (23:20 +0000)] 
Further merging from libdrizzle and gearman.

15 years agoFixed conversion test. Again.
Monty Taylor [Mon, 15 Jun 2009 13:21:37 +0000 (13:21 +0000)] 
Fixed conversion test. Again.

15 years agoFixed -Wconversion warnings.
Monty Taylor [Mon, 15 Jun 2009 13:03:47 +0000 (13:03 +0000)] 
Fixed -Wconversion warnings.

15 years agoMerged from me.
Monty Taylor [Mon, 15 Jun 2009 00:52:00 +0000 (17:52 -0700)] 
Merged from me.

15 years agoFixed solaris warnings/errors.
Monty Taylor [Mon, 15 Jun 2009 00:51:32 +0000 (17:51 -0700)] 
Fixed solaris warnings/errors.

15 years agoUpdated README.FIRST with up to date instructions.
Monty Taylor [Mon, 15 Jun 2009 00:47:58 +0000 (17:47 -0700)] 
Updated README.FIRST with up to date instructions.

15 years agoAdded status message to the end of autorun.sh
Monty Taylor [Mon, 15 Jun 2009 00:42:52 +0000 (17:42 -0700)] 
Added status message to the end of autorun.sh

15 years agoConverted final two m4 files into macros. No more direce sincludes! Yay!
Monty Taylor [Mon, 15 Jun 2009 00:30:12 +0000 (17:30 -0700)] 
Converted final two m4 files into macros. No more direce sincludes! Yay!

15 years agoMoved pod2man check to a macro.
Monty Taylor [Mon, 15 Jun 2009 00:01:22 +0000 (17:01 -0700)] 
Moved pod2man check to a macro.

15 years agoMade ENABLE_HSIEH_HASH into a macro.
Monty Taylor [Sun, 14 Jun 2009 23:47:48 +0000 (16:47 -0700)] 
Made ENABLE_HSIEH_HASH into a macro.

15 years agoTurned setsockopt checks into a macro.
Monty Taylor [Sun, 14 Jun 2009 23:28:23 +0000 (16:28 -0700)] 
Turned setsockopt checks into a macro.

15 years agoMade ENABLE_DTRACE actually be a macro.
Monty Taylor [Sun, 14 Jun 2009 23:14:59 +0000 (16:14 -0700)] 
Made ENABLE_DTRACE actually be a macro.

15 years agoMerged in the C99 change and the end-of-configure status message.
Monty Taylor [Sun, 14 Jun 2009 22:38:28 +0000 (15:38 -0700)] 
Merged in the C99 change and the end-of-configure status message.

15 years agoRemoved unused references to unreachable-code.
Monty Taylor [Sun, 14 Jun 2009 21:58:53 +0000 (14:58 -0700)] 
Removed unused references to unreachable-code.

15 years agoRemoved references to -Wconversion. It's just not stable enough of a warning.
Monty Taylor [Sun, 14 Jun 2009 21:56:19 +0000 (14:56 -0700)] 
Removed references to -Wconversion. It's just not stable enough of a warning.

15 years agoChanged how I disabled the Wconversion warning.
Monty Taylor [Sun, 14 Jun 2009 21:36:16 +0000 (14:36 -0700)] 
Changed how I disabled the Wconversion warning.

15 years agoAligned configure.ac with libdizzle and gearman.
Monty Taylor [Sun, 14 Jun 2009 21:24:48 +0000 (14:24 -0700)] 
Aligned configure.ac with libdizzle and gearman.

15 years agoUse the memory allocators specified by memcached_set_memory_allocators
Trond Norbye [Sun, 14 Jun 2009 19:06:07 +0000 (21:06 +0200)] 
Use the memory allocators specified by memcached_set_memory_allocators

15 years agomerge upstream
Trond Norbye [Sun, 14 Jun 2009 18:52:39 +0000 (20:52 +0200)] 
merge upstream

15 years agoMerge Trond
Brian Aker [Sun, 14 Jun 2009 15:24:05 +0000 (08:24 -0700)] 
Merge Trond

15 years agoAdd memcached_[gs]et_user_data and updated the doc for memcached_set_memory_allocator...
Trond Norbye [Sun, 14 Jun 2009 14:36:57 +0000 (16:36 +0200)] 
Add memcached_[gs]et_user_data and updated the doc for memcached_set_memory_allocators to point to the functions

15 years agoClone should also preserve calloc
Trond Norbye [Sun, 14 Jun 2009 12:05:13 +0000 (14:05 +0200)] 
Clone should also preserve calloc

15 years agoFix paren style, and mark replication with the unlikely keyword
Trond Norbye [Sun, 14 Jun 2009 11:47:00 +0000 (13:47 +0200)] 
Fix paren style, and mark replication with the unlikely keyword

15 years agoAdd memcached_[gs]et_memory_allocators to the main libmemcached man page
Trond Norbye [Sun, 14 Jun 2009 11:35:20 +0000 (13:35 +0200)] 
Add memcached_[gs]et_memory_allocators to the main libmemcached man page

15 years agoMerge of configure
Brian Aker [Sat, 13 Jun 2009 21:23:48 +0000 (14:23 -0700)] 
Merge of configure

15 years agoFixed tests in configure script
Trond Norbye [Thu, 11 Jun 2009 10:17:41 +0000 (12:17 +0200)] 
Fixed tests in configure script

15 years agoNew configure flag: --enable-deprecated
Trond Norbye [Thu, 11 Jun 2009 07:31:09 +0000 (09:31 +0200)] 
New configure flag: --enable-deprecated

By default we don't compile in the deprecated interface (so that continuing
to use it will be a bit more painful ;-) I had to create a new file to keep
track of the #defines, because the clients of libmemcached doesn't see
libmemcached_config.h.

15 years agoRefactor: clean up malloc/realloc/free/calloc
Trond Norbye [Wed, 10 Jun 2009 10:29:06 +0000 (12:29 +0200)] 
Refactor: clean up malloc/realloc/free/calloc

Added memcached_set_memory_allocators and memcached_get_memory_allocators
to set and get the memory allocators used by memcached. The old versions set
by the memcached_set_callback function is deprecated and will be removed in
future versions.

Internally we will now only use the call_malloc function pointer and don't
test if it is set before calling (it is initialized to a libc-version)

15 years agoAdded support for storing replicas on multiple servers
Trond Norbye [Tue, 9 Jun 2009 19:36:39 +0000 (21:36 +0200)] 
Added support for storing replicas on multiple servers

15 years agoDoc merge
Brian Aker [Mon, 1 Jun 2009 06:16:13 +0000 (23:16 -0700)] 
Doc merge

15 years agoFixed lintian warnings for manpages.
Monty Taylor [Mon, 1 Jun 2009 06:10:26 +0000 (23:10 -0700)] 
Fixed lintian warnings for manpages.

15 years agoUpdating for 0.30 0.30
Brian Aker [Mon, 1 Jun 2009 01:32:23 +0000 (18:32 -0700)] 
Updating for 0.30

15 years agoAdded memcached_generate_hash() and more tests! :)
Brian Aker [Thu, 28 May 2009 18:04:05 +0000 (11:04 -0700)] 
Added memcached_generate_hash() and more tests! :)

15 years agoStat fix and storage boost performance.
Brian Aker [Wed, 27 May 2009 21:07:38 +0000 (14:07 -0700)] 
Stat fix and storage boost performance.

15 years agoMerge Monty
Brian Aker [Sat, 23 May 2009 17:06:28 +0000 (10:06 -0700)] 
Merge Monty

15 years agoFixed overeager quoting.
Monty Taylor [Sat, 23 May 2009 16:28:36 +0000 (09:28 -0700)] 
Fixed overeager quoting.

15 years agoMerged from trunk.
Monty Taylor [Thu, 21 May 2009 07:10:19 +0000 (00:10 -0700)] 
Merged from trunk.

15 years agosplit AC_CONFIG_FILES across multple lines.
Monty Taylor [Thu, 21 May 2009 07:05:02 +0000 (00:05 -0700)] 
split AC_CONFIG_FILES across multple lines.

15 years agoAdded location of pod2man on OpenSolaris to the list of places to look for it.
Monty Taylor [Thu, 21 May 2009 07:03:14 +0000 (00:03 -0700)] 
Added location of pod2man on OpenSolaris to the list of places to look for it.