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

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

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

14 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

14 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!

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

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

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

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

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

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

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

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

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

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

14 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

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

14 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

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

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

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

15 years agoRearranged debug and non-debug compile flags a little bit.
Monty Taylor [Thu, 21 May 2009 06:54:55 +0000 (23:54 -0700)] 
Rearranged debug and non-debug compile flags a little bit.

15 years agoMoved m4 stuff to m4 dir to match how we're doing it in the other projects.
Monty Taylor [Thu, 21 May 2009 06:52:53 +0000 (23:52 -0700)] 
Moved m4 stuff to m4 dir to match how we're doing it in the other projects.

15 years agoAdded -I option to aclocal so the system finds the right libtool.m4 file.
Monty Taylor [Thu, 21 May 2009 06:43:36 +0000 (23:43 -0700)] 
Added -I option to aclocal so the system finds the right libtool.m4 file.

15 years agoUpdating ignore file
Brian Aker [Wed, 20 May 2009 20:22:13 +0000 (13:22 -0700)] 
Updating ignore file

15 years agoRemove unneeded configure option.
Monty Taylor [Wed, 20 May 2009 18:35:06 +0000 (11:35 -0700)] 
Remove unneeded configure option.

15 years agoOnly link libm with things that need libm.
Monty Taylor [Wed, 20 May 2009 18:34:42 +0000 (11:34 -0700)] 
Only link libm with things that need libm.

15 years agoAdd versioning to libmemcachedutil.
Monty Taylor [Wed, 20 May 2009 18:34:05 +0000 (11:34 -0700)] 
Add versioning to libmemcachedutil.

15 years agoFixed a few man pages so lintian does't complain.
Monty Taylor [Wed, 20 May 2009 18:31:49 +0000 (11:31 -0700)] 
Fixed a few man pages so lintian does't complain.

15 years agoUpdated Changelong
<brian@localhost.localdomain> [Wed, 20 May 2009 17:33:17 +0000 (10:33 -0700)] 
Updated Changelong

15 years agoAlign memcached_st.
<brian@localhost.localdomain> [Wed, 20 May 2009 17:13:26 +0000 (10:13 -0700)] 
Align memcached_st.

15 years agoCleaned up structures for holes.
<brian@localhost.localdomain> [Wed, 20 May 2009 15:58:02 +0000 (08:58 -0700)] 
Cleaned up structures for holes.

15 years agoAdded new memcached_dump() command.
<brian@localhost.localdomain> [Tue, 19 May 2009 20:32:02 +0000 (13:32 -0700)] 
Added new memcached_dump() command.

15 years agoAdded tag 0.29-2 for changeset c461be07320b
<brian@localhost.localdomain> [Tue, 19 May 2009 15:42:24 +0000 (08:42 -0700)] 
Added tag 0.29-2 for changeset c461be07320b

15 years agoUpdated release notes 0.29-2
<brian@localhost.localdomain> [Tue, 19 May 2009 15:42:15 +0000 (08:42 -0700)] 
Updated release notes

15 years agoUpdating TODO
<brian@localhost.localdomain> [Thu, 14 May 2009 21:43:50 +0000 (14:43 -0700)] 
Updating TODO

15 years agoAdding an assert, plus a conversion of malloc to calloc
<brian@localhost.localdomain> [Thu, 14 May 2009 05:37:09 +0000 (22:37 -0700)] 
Adding an assert, plus a conversion of malloc to calloc

15 years agoFlip call (NULL is more common). Also add in helgrind and fix calloc.
<brian@localhost.localdomain> [Thu, 14 May 2009 04:11:04 +0000 (21:11 -0700)] 
Flip call (NULL is more common). Also add in helgrind and fix calloc.

15 years agoAdded callgrind() to Makefile
<brian@localhost.localdomain> [Wed, 13 May 2009 22:41:12 +0000 (15:41 -0700)] 
Added callgrind() to Makefile

15 years agoCachegrind to test and fix for cache misses
<brian@localhost.localdomain> [Wed, 13 May 2009 21:40:19 +0000 (14:40 -0700)] 
Cachegrind to test and fix for cache misses

15 years agoFixed a little autoconf quoting. Updated AC_OUTPUT.
Monty Taylor [Wed, 13 May 2009 19:34:08 +0000 (12:34 -0700)] 
Fixed a little autoconf quoting. Updated AC_OUTPUT.

15 years agoA few 32-bit fixes.
Monty Taylor [Wed, 13 May 2009 19:24:36 +0000 (12:24 -0700)] 
A few 32-bit fixes.

15 years agoFixed up configure.ac to use newer/recommended automake init. Removed a set
Monty Taylor [Wed, 13 May 2009 19:06:45 +0000 (12:06 -0700)] 
Fixed up configure.ac to use newer/recommended automake init. Removed a set
of unused version-setting variables. Set the variable for gnu ld lib versioning.

15 years agoFixed files to work with vpath builds for distcheck.
Monty Taylor [Wed, 13 May 2009 19:04:53 +0000 (12:04 -0700)] 
Fixed files to work with vpath builds for distcheck.

15 years agoAdded srcdir includes so that the include files could be found in vpath builds.
Monty Taylor [Wed, 13 May 2009 19:03:28 +0000 (12:03 -0700)] 
Added srcdir includes so that the include files could be found in vpath builds.

15 years agoFix package variable in AM_INIT_AUTOMAKE
Trond Norbye [Wed, 13 May 2009 15:34:00 +0000 (17:34 +0200)] 
Fix package variable in AM_INIT_AUTOMAKE

15 years agoAdded tag 0.29 for changeset ddaa6a4bb80f
<brian@localhost.localdomain> [Wed, 13 May 2009 15:06:30 +0000 (08:06 -0700)] 
Added tag 0.29 for changeset ddaa6a4bb80f

15 years agoUpdates for 0.29 release 0.29
<brian@localhost.localdomain> [Wed, 13 May 2009 15:06:24 +0000 (08:06 -0700)] 
Updates for 0.29 release

15 years agoTurned on more warnings, and fixed the errors. Moved common.h, which includes
Monty Taylor [Wed, 13 May 2009 09:53:59 +0000 (11:53 +0200)] 
Turned on more warnings, and fixed the errors. Moved common.h, which includes
the config.h file to being included first in impl files, so that includes of
things like stdlib.h can take advantage of autoconf produce defines.

15 years agoEnabled warnings=errors for GCC and then made things compile. Had to turn off
Monty Taylor [Wed, 13 May 2009 07:43:30 +0000 (09:43 +0200)] 
Enabled warnings=errors for GCC and then made things compile. Had to turn off
strict aliasing so we could type-pun the function pointers. I think there's a
better solution there, but we're stricter than we were.

15 years agoAdded descriptions to fix debian manpage-has-bad-whatis-entry lintian tag.
Monty Taylor [Tue, 12 May 2009 15:56:43 +0000 (08:56 -0700)] 
Added descriptions to fix debian manpage-has-bad-whatis-entry lintian tag.

15 years agoSetup for next version (and fixes for util for RPM)
<brian@localhost.localdomain> [Wed, 13 May 2009 06:49:25 +0000 (23:49 -0700)] 
Setup for next version (and fixes for util for RPM)

15 years agoFixed up review comments from Brian
Trond Norbye [Tue, 12 May 2009 00:51:25 +0000 (02:51 +0200)] 
Fixed up review comments from Brian

15 years agoConvert DOS crlf to just lf
Trond Norbye [Mon, 11 May 2009 12:07:17 +0000 (14:07 +0200)] 
Convert DOS crlf to just lf

15 years agoAdded libmemcachedutil containing utility functions
Trond Norbye [Mon, 11 May 2009 11:51:40 +0000 (13:51 +0200)] 
Added libmemcachedutil containing utility functions

15 years agouser: Matt Ingenthron <ingenthr@cep.net>
<MattIngenthroningenthr@cep.net> [Sun, 3 May 2009 20:02:08 +0000 (13:02 -0700)] 
user: Matt Ingenthron <ingenthr@cep.net>
changed docs/memcached_behavior.pod

Modified documentation commit to be a bit more clear in English about
what is happening with MEMCACHED_BEHAVIOR_IO_KEY_PREFETCH

15 years agoFlush _all_ servers when we hit the prefetch limit
Trond Norbye [Sun, 3 May 2009 21:30:16 +0000 (14:30 -0700)] 
Flush _all_ servers when we hit the prefetch limit

15 years agoAdded support for MEMCACHED_BEHAVIOR_IO_KEY_PREFETCH
Trond Norbye [Sun, 3 May 2009 19:27:56 +0000 (12:27 -0700)] 
Added support for MEMCACHED_BEHAVIOR_IO_KEY_PREFETCH

From the man page:
The binary protocol works a bit different than the textual protocol in the
way that a multiget is implemented as a pipe of single get-operations that
is sent to the server in a chunk. If you use large multigets you may improve
the latency by setting this value so that you send out the first chunk of
requests when you hit the specified limit, allowing the server to start
processing the request and send the data back while the rest of the
requests is created.

15 years agoPOLLERR is a returned event value
Trond Norbye [Sat, 2 May 2009 07:00:31 +0000 (00:00 -0700)] 
POLLERR is a returned event value

15 years agoRefactor: memcached_io_read should return memcached_return error codes
Trond Norbye [Sat, 2 May 2009 06:54:30 +0000 (23:54 -0700)] 
Refactor: memcached_io_read should return memcached_return error codes

15 years agoSwallow new stats from 1.3 servers. We need a new stats design
Trond Norbye [Sat, 2 May 2009 03:25:38 +0000 (20:25 -0700)] 
Swallow new stats from 1.3 servers. We need a new stats design

15 years agoAdd support for AUTO_EJECT_HOST
Robey Pointer [Sat, 2 May 2009 02:44:39 +0000 (19:44 -0700)] 
Add support for AUTO_EJECT_HOST

15 years agoNew Spec file.
<brian@localhost.localdomain> [Fri, 1 May 2009 20:51:45 +0000 (13:51 -0700)] 
New Spec file.

15 years agoDisable hsieh algorithm by default
Eric Lambert [Fri, 1 May 2009 02:31:48 +0000 (19:31 -0700)] 
Disable hsieh algorithm by default

Per a conversation with Brian earlier this week, there are some licensing
issues with the hsieh hashing algorithm that make it 'desirable' for support
of this algorithm to be a compile time option. This patch turns off support
for hsieh by default but allows it to be used when '--enable-hsieh_hash' is
passed into configure.

15 years agoDo not install libmemcached_config.h
Trond Norbye [Thu, 30 Apr 2009 18:27:26 +0000 (11:27 -0700)] 
Do not install libmemcached_config.h

15 years agoAdd support for incr/decr with initial value
Tasuku SUENAGA [Tue, 28 Apr 2009 23:48:18 +0000 (01:48 +0200)] 
Add support for incr/decr with initial value

15 years agoIncrease the size of the buffer for the version string
Trond Norbye [Thu, 16 Apr 2009 19:16:03 +0000 (21:16 +0200)] 
Increase the size of the buffer for the version string

15 years agoChanged behavior for MEMCACHED_BEHAVIOR_NO_BLOCK to no longer also enable MEMCACHED_...
<brian@gir.tangent.org> [Thu, 16 Apr 2009 16:33:40 +0000 (09:33 -0700)] 
Changed behavior for MEMCACHED_BEHAVIOR_NO_BLOCK to no longer also enable  MEMCACHED_BEHAVIOR_BUFFER_REQUESTS

15 years agoAdded tag 0.28 for changeset db4cc63f60ac
<brian@localhost.localdomain> [Wed, 15 Apr 2009 02:08:30 +0000 (19:08 -0700)] 
Added tag 0.28 for changeset db4cc63f60ac

15 years agoSetup for version .28 and fix for RPM build for Fedora 10 0.28
<brian@localhost.localdomain> [Wed, 15 Apr 2009 02:08:19 +0000 (19:08 -0700)] 
Setup for version .28 and fix for RPM build for Fedora 10

15 years agoFix warning for not found gettimeofday in memstat
<brian@localhost.localdomain> [Wed, 15 Apr 2009 01:54:56 +0000 (18:54 -0700)] 
Fix warning for not found gettimeofday in memstat

15 years agoFix overrun on value
<brian@gir.tangent.org> [Tue, 14 Apr 2009 15:05:27 +0000 (08:05 -0700)] 
Fix overrun on value

15 years agoFix for by_key()
<brian@gir.tangent.org> [Tue, 14 Apr 2009 14:20:57 +0000 (07:20 -0700)] 
Fix for by_key()

15 years agoRecommitting fix for non-init
<brian@gir.tangent.org> [Tue, 14 Apr 2009 14:10:40 +0000 (07:10 -0700)] 
Recommitting fix for non-init

15 years agoFix for test from Eric (we should rework this around the API)
Brian Aker [Tue, 31 Mar 2009 03:30:03 +0000 (20:30 -0700)] 
Fix for test from Eric (we should rework this around the API)

15 years agoAdded tag 0.27 for changeset 8340670b8220
Brian Aker [Mon, 30 Mar 2009 06:05:56 +0000 (23:05 -0700)] 
Added tag 0.27 for changeset 8340670b8220

15 years agoFixingup for release 0.27
Brian Aker [Mon, 30 Mar 2009 06:05:49 +0000 (23:05 -0700)] 
Fixingup for release

15 years agoUpdate the docs for memcached_clone.
Trond Norbye [Fri, 27 Mar 2009 21:22:14 +0000 (22:22 +0100)] 
Update the docs for memcached_clone.

15 years agoUnify the execution flow for fetch related functions and fix memcached_fetch_execute...
Toru Maesaka [Fri, 27 Mar 2009 02:50:56 +0000 (11:50 +0900)] 
Unify the execution flow for fetch related functions and fix memcached_fetch_execute() to not always return success.

15 years agoBacked out changeset 74a1c5ce90d4
Trond Norbye [Thu, 26 Mar 2009 14:53:19 +0000 (15:53 +0100)] 
Backed out changeset 74a1c5ce90d4

There seems to be a problem with with using freed memory..

15 years agoUnify the execution flow for fetch related functions and fix memcached_fetch_execute...
Toru Maesaka [Thu, 26 Mar 2009 12:20:19 +0000 (21:20 +0900)] 
Unify the execution flow for fetch related functions and fix memcached_fetch_execute() to not always return success.

15 years agoRefactor: Rename value_fetch to textual_value_fetch
Trond Norbye [Thu, 26 Mar 2009 07:59:32 +0000 (08:59 +0100)] 
Refactor: Rename value_fetch to textual_value_fetch

The function value_fetch used to be located in memcached_fetch.c and
implemented the parsing of the VALUE response used in the textual protocol.
This function is not part of the public API, and is only called from
memcached_response.c so it should live there (with static linkage)

15 years agoUse poll() to determine next readable server
Trond Norbye [Tue, 24 Mar 2009 14:33:38 +0000 (15:33 +0100)] 
Use poll() to determine next readable server

15 years agoUse ptr->root->result if the caller didn't provide a result structure to memcached_re...
Trond Norbye [Mon, 23 Mar 2009 08:38:04 +0000 (09:38 +0100)] 
Use ptr->root->result if the caller didn't provide a result structure to memcached_read_one_response

15 years agoFixed actual loop in add_wrapper ;-)
Trond Norbye [Sat, 21 Mar 2009 13:34:52 +0000 (14:34 +0100)] 
Fixed actual loop in add_wrapper ;-)

15 years agoRefactor: memcachd_key_test -> memcached_key_test
Steve Yen [Sat, 21 Mar 2009 13:09:45 +0000 (14:09 +0100)] 
Refactor: memcachd_key_test -> memcached_key_test

15 years agoLower the number of iterations in add_wrapper
Trond Norbye [Thu, 19 Mar 2009 17:03:33 +0000 (18:03 +0100)] 
Lower the number of iterations in add_wrapper

15 years agoCompute jenkins hash byte by byte on big endian platforms
Trond Norbye [Thu, 19 Mar 2009 16:59:27 +0000 (17:59 +0100)] 
Compute jenkins hash byte by byte on big endian platforms

15 years agoCopy all tunable members in memcached_clone and add test case to verify
Trond Norbye [Thu, 19 Mar 2009 14:56:16 +0000 (15:56 +0100)] 
Copy all tunable members in memcached_clone and add test case to verify

15 years agoFixed typos in the documentation
Steve Yen [Thu, 19 Mar 2009 09:41:02 +0000 (10:41 +0100)] 
Fixed typos in the documentation