m6w6/libmemcached
14 years agoIgnore reclaimed stat
Trond Norbye [Fri, 5 Feb 2010 18:52:50 +0000 (19:52 +0100)] 
Ignore reclaimed stat

14 years agoSet C linkage for the function pointers
Trond Norbye [Fri, 5 Feb 2010 13:39:03 +0000 (14:39 +0100)] 
Set C linkage for the function pointers

14 years agoPossible fix for solaris compiler.
Brian Aker [Fri, 5 Feb 2010 01:18:57 +0000 (17:18 -0800)] 
Possible fix for solaris compiler.

14 years agoSmall cleanup.
Brian Aker [Fri, 5 Feb 2010 01:15:17 +0000 (17:15 -0800)] 
Small cleanup.

14 years agoMerge Trond.
Brian Aker [Thu, 28 Jan 2010 19:06:36 +0000 (11:06 -0800)] 
Merge Trond.

14 years agoFixed the ascii protocol handler
Trond Norbye [Wed, 27 Jan 2010 17:04:43 +0000 (09:04 -0800)] 
Fixed the ascii protocol handler

* Return error message for all commands that doesn't support noreply
* get returned flags as the length instead of the actual length

14 years agoA memcached server is memcapable even if it returns a better error message than ...
Trond Norbye [Wed, 27 Jan 2010 16:50:41 +0000 (08:50 -0800)] 
A memcached server is memcapable even if it returns a better error message than "ERROR"

14 years agoAdding test, showing off how to add a custom function to libmemcached.
Brian Aker [Fri, 22 Jan 2010 22:41:53 +0000 (14:41 -0800)] 
Adding test, showing off how to add a custom function to libmemcached.

14 years agoModified Hashkit class (turned it into an actual class).
Brian Aker [Fri, 22 Jan 2010 19:04:16 +0000 (11:04 -0800)] 
Modified Hashkit class (turned it into an actual class).

14 years agoMore Cleanup
Brian Aker [Fri, 22 Jan 2010 01:16:04 +0000 (17:16 -0800)] 
More Cleanup

14 years agoBool fix.
Brian Aker [Fri, 22 Jan 2010 00:15:24 +0000 (16:15 -0800)] 
Bool fix.

14 years agoFix IO call to use bool.
Brian Aker [Thu, 21 Jan 2010 23:56:45 +0000 (15:56 -0800)] 
Fix IO call to use bool.

14 years agoStyle cleanup.
Brian Aker [Thu, 21 Jan 2010 23:45:12 +0000 (15:45 -0800)] 
Style cleanup.

14 years agoSolaris fixes.
Brian Aker [Thu, 21 Jan 2010 22:30:33 +0000 (14:30 -0800)] 
Solaris fixes.

14 years agoFix for Debian linking issues.
Brian Aker [Thu, 21 Jan 2010 19:30:29 +0000 (11:30 -0800)] 
Fix for Debian linking issues.

14 years agoCleanup dead files in libmemcached.
Brian Aker [Thu, 21 Jan 2010 02:51:52 +0000 (18:51 -0800)] 
Cleanup dead files in libmemcached.

14 years agoUpdates for RPM spec file.
Brian Aker [Thu, 21 Jan 2010 02:17:01 +0000 (18:17 -0800)] 
Updates for RPM spec file.

14 years agoC++ interface bits for libhashkit
Brian Aker [Thu, 21 Jan 2010 02:06:18 +0000 (18:06 -0800)] 
C++ interface bits for libhashkit

14 years ago32bit fix.
Brian Aker [Wed, 20 Jan 2010 17:20:32 +0000 (09:20 -0800)] 
32bit fix.

14 years agoAdd in missing file.
Brian Aker [Wed, 20 Jan 2010 02:28:44 +0000 (18:28 -0800)] 
Add in missing file.

14 years agoFix for OSX, where cork is slow....
Brian Aker [Wed, 20 Jan 2010 02:26:22 +0000 (18:26 -0800)] 
Fix for OSX, where cork is slow....

14 years agoUpdating tree for new function work in libhashkit.
Brian Aker [Wed, 20 Jan 2010 02:22:17 +0000 (18:22 -0800)] 
Updating tree for new function work in libhashkit.

14 years agoUpdates for libmemached to use libhashkit
Brian Aker [Wed, 20 Jan 2010 01:09:50 +0000 (17:09 -0800)] 
Updates for libmemached to use libhashkit

14 years agoAdded full support for custom hash functions.
Brian Aker [Tue, 19 Jan 2010 23:39:13 +0000 (15:39 -0800)] 
Added full support for custom hash functions.

14 years agoUpdated for custom hash functions/setting functions.
Brian Aker [Tue, 19 Jan 2010 23:18:01 +0000 (15:18 -0800)] 
Updated for custom hash functions/setting functions.

14 years agoUpdates to libhashkit.
Brian Aker [Tue, 19 Jan 2010 22:37:09 +0000 (14:37 -0800)] 
Updates to libhashkit.

14 years agoSmall cleanup for loop.
Brian Aker [Tue, 19 Jan 2010 20:54:09 +0000 (12:54 -0800)] 
Small cleanup for loop.

14 years agoCompiles.
Brian Aker [Tue, 19 Jan 2010 19:10:54 +0000 (11:10 -0800)] 
Compiles.

14 years agoMerge memslap
Brian Aker [Tue, 19 Jan 2010 04:59:05 +0000 (20:59 -0800)] 
Merge memslap

14 years agoMerge Lee
Brian Aker [Tue, 19 Jan 2010 04:58:14 +0000 (20:58 -0800)] 
Merge Lee

14 years ago1.Fix bug that memslap can't start up(ms_thread=NULL). 2.ignore signal SIGPIPE. 3...
Xiaoyun Mao [Tue, 19 Jan 2010 03:38:53 +0000 (19:38 -0800)] 
1.Fix bug that memslap can't start up(ms_thread=NULL). 2.ignore signal SIGPIPE. 3.support reconnection with thousands of connections. 4.enhance binary protocol to support UDP. 5.synchronize all the threads at the beginning. 6.merge with latest trunk.

14 years agoSolaris fix
Brian Aker [Tue, 19 Jan 2010 01:11:41 +0000 (17:11 -0800)] 
Solaris fix

14 years agoFix inline methods for strings.
Brian Aker [Tue, 19 Jan 2010 00:55:33 +0000 (16:55 -0800)] 
Fix inline methods for strings.

14 years agoWe now check return key size for memcached_fetch() to make sure it is not
Brian Aker [Tue, 19 Jan 2010 00:39:46 +0000 (16:39 -0800)] 
We now check return key size for memcached_fetch() to make sure it is not
too big (compared to original ascii server). result_st is now initialized
differently. This should make it a bit faster.

14 years agoFix for issue where stats may not be initialized.
Brian Aker [Mon, 18 Jan 2010 23:29:11 +0000 (15:29 -0800)] 
Fix for issue where stats may not be initialized.

14 years agoNew allocator interface.
Brian Aker [Mon, 18 Jan 2010 22:58:20 +0000 (14:58 -0800)] 
New allocator interface.

14 years agoSmall style cleanup.
Brian Aker [Mon, 18 Jan 2010 19:42:24 +0000 (11:42 -0800)] 
Small style cleanup.

14 years agoFix conversion from macro to inline.
Brian Aker [Mon, 18 Jan 2010 19:22:44 +0000 (11:22 -0800)] 
Fix conversion from macro to inline.

14 years agoRemove mass calloc() on memcached_st creation.
Brian Aker [Sat, 16 Jan 2010 22:52:23 +0000 (14:52 -0800)] 
Remove mass calloc() on memcached_st creation.

14 years agoFirst pass for performance improvement on _clone() operations.
Brian Aker [Sat, 16 Jan 2010 02:47:17 +0000 (18:47 -0800)] 
First pass for performance improvement on _clone() operations.

14 years agoPartial patch on pass through to fix issues with trigger writers not
Brian Aker [Sat, 16 Jan 2010 01:50:37 +0000 (17:50 -0800)] 
Partial patch on pass through to fix issues with trigger writers not
following docs on use of memcached_St

14 years agoFile Refactoring
Brian Aker [Sat, 16 Jan 2010 00:59:13 +0000 (16:59 -0800)] 
File Refactoring

14 years agoRemove test-plus from defaults.
Brian Aker [Sat, 16 Jan 2010 00:02:25 +0000 (16:02 -0800)] 
Remove test-plus from defaults.

14 years agoSmall cleanup in string.h and converted result_st macro to inline.
Brian Aker [Sat, 16 Jan 2010 00:00:43 +0000 (16:00 -0800)] 
Small cleanup in string.h and converted result_st macro to inline.

14 years agoadd lcov and lcov-clean target
Lee Bieber [Fri, 15 Jan 2010 21:59:06 +0000 (13:59 -0800)] 
add lcov and lcov-clean target

14 years agoAdded micro-benchmark bits.
Brian Aker [Fri, 15 Jan 2010 21:49:15 +0000 (13:49 -0800)] 
Added micro-benchmark bits.

14 years agoRefactor test framework to run pre/post just once.
Brian Aker [Fri, 15 Jan 2010 21:26:02 +0000 (13:26 -0800)] 
Refactor test framework to run pre/post just once.

14 years agoEncapsulated a couple of options/moved flags around a bit.
Brian Aker [Fri, 15 Jan 2010 19:58:43 +0000 (11:58 -0800)] 
Encapsulated a couple of options/moved flags around a bit.

14 years agoUpdated test_truth to be test_true to match the shades, I mean test_false()
Brian Aker [Fri, 15 Jan 2010 19:45:53 +0000 (11:45 -0800)] 
Updated test_truth to be test_true to match the shades, I mean test_false()

14 years agoUpdates for CORK.
Brian Aker [Fri, 15 Jan 2010 19:25:46 +0000 (11:25 -0800)] 
Updates for CORK.

14 years agoMerge Thomason's cork patch.
Brian Aker [Fri, 15 Jan 2010 00:35:02 +0000 (16:35 -0800)] 
Merge Thomason's cork patch.

14 years agoAdded more test cases for command line applications.
Brian Aker [Thu, 14 Jan 2010 21:37:53 +0000 (13:37 -0800)] 
Added more test cases for command line applications.

14 years agoFix for memerror if value is out of range.
Brian Aker [Thu, 14 Jan 2010 20:16:45 +0000 (12:16 -0800)] 
Fix for memerror if value is out of range.

14 years agoUpdate how tests are performed.
Brian Aker [Thu, 14 Jan 2010 19:58:22 +0000 (11:58 -0800)] 
Update how tests are performed.

14 years agoUpdate tests for testplus.
Brian Aker [Thu, 14 Jan 2010 19:51:32 +0000 (11:51 -0800)] 
Update tests for testplus.

14 years agoRemove dead udp test.
Brian Aker [Thu, 14 Jan 2010 19:17:39 +0000 (11:17 -0800)] 
Remove dead udp test.

14 years agoFix atomsmasher test
Brian Aker [Thu, 14 Jan 2010 19:06:45 +0000 (11:06 -0800)] 
Fix atomsmasher test

14 years agoSmall icc repairs.
Brian Aker [Thu, 14 Jan 2010 18:30:57 +0000 (10:30 -0800)] 
Small icc repairs.

14 years agoFix llu to zu
Brian Aker [Thu, 14 Jan 2010 17:15:48 +0000 (09:15 -0800)] 
Fix llu to zu

14 years agoFix for hudson valgrind build
Brian Aker [Thu, 14 Jan 2010 07:23:35 +0000 (23:23 -0800)] 
Fix for hudson valgrind build

14 years agoFix from --with-debug
Brian Aker [Thu, 14 Jan 2010 06:55:13 +0000 (22:55 -0800)] 
Fix from --with-debug

14 years agoSign fix for variable (this should solve the solaris warning).
Brian Aker [Thu, 14 Jan 2010 06:35:31 +0000 (22:35 -0800)] 
Sign fix for variable (this should solve the solaris warning).

14 years agoRemove custom parser/use API for parsing in memslap
Brian Aker [Thu, 14 Jan 2010 05:58:37 +0000 (21:58 -0800)] 
Remove custom parser/use API for parsing in memslap

14 years agoMerge Monty
Brian Aker [Thu, 14 Jan 2010 05:18:46 +0000 (21:18 -0800)] 
Merge Monty

14 years agoAdded back in the ability to use a getenv string for servers.
Brian Aker [Thu, 14 Jan 2010 05:08:48 +0000 (21:08 -0800)] 
Added back in the ability to use a getenv string for servers.

14 years agoModify where memslap keeps its default config file.
Brian Aker [Thu, 14 Jan 2010 04:16:17 +0000 (20:16 -0800)] 
Modify where memslap keeps its default config file.

14 years agoMoved math include to after common which is where config.h is included. config.h...
Monty Taylor [Thu, 14 Jan 2010 02:56:23 +0000 (18:56 -0800)] 
Moved math include to after common which is where config.h is included. config.h really always needs to be included first.

14 years agoMerged build.
Monty Taylor [Thu, 14 Jan 2010 02:55:10 +0000 (18:55 -0800)] 
Merged build.

14 years agoFixed build on CentOS.
Monty Taylor [Thu, 14 Jan 2010 02:52:56 +0000 (18:52 -0800)] 
Fixed build on CentOS.

14 years agoSmall cleanup for for() to array.
Brian Aker [Thu, 14 Jan 2010 00:43:14 +0000 (16:43 -0800)] 
Small cleanup for for() to array.

14 years ago32/64 bit cleanup issue in tests.
Brian Aker [Thu, 14 Jan 2010 00:17:14 +0000 (16:17 -0800)] 
32/64 bit cleanup issue in tests.

14 years agoRemoved AC_CHECK_FUNCS_ONCE, it does not work on automake 1.9.
Monty Taylor [Wed, 13 Jan 2010 23:44:43 +0000 (15:44 -0800)] 
Removed AC_CHECK_FUNCS_ONCE, it does not work on automake 1.9.

14 years agoReverted back to the old way of checking for libm. It makes FreeBSD happier.
Monty Taylor [Wed, 13 Jan 2010 23:36:10 +0000 (15:36 -0800)] 
Reverted back to the old way of checking for libm. It makes FreeBSD happier.

14 years agoAdding math include for libhashkit.
Brian Aker [Wed, 13 Jan 2010 23:25:34 +0000 (15:25 -0800)] 
Adding math include for libhashkit.

14 years agoProtected stdbool.h from being included by C++, which is invalid on Sun Studio.
Monty Taylor [Wed, 13 Jan 2010 22:44:59 +0000 (14:44 -0800)] 
Protected stdbool.h from being included by C++, which is invalid on Sun Studio.

14 years agoUpdates from Monty for Pandora
Brian Aker [Wed, 13 Jan 2010 21:18:05 +0000 (13:18 -0800)] 
Updates from Monty for Pandora

14 years agoFix for bug #15450
Brian Aker [Wed, 13 Jan 2010 20:56:01 +0000 (12:56 -0800)] 
Fix for bug #15450

14 years agoForce configure.ac to use bash. ODDNESS in libm check on FreeBSD otherwise.
Monty Taylor [Wed, 13 Jan 2010 19:56:45 +0000 (11:56 -0800)] 
Force configure.ac to use bash. ODDNESS in libm check on FreeBSD otherwise.

14 years agoAdded LIBM link-line.
Monty Taylor [Wed, 13 Jan 2010 19:21:11 +0000 (11:21 -0800)] 
Added LIBM link-line.

14 years agoMerge Jean-Charles
Brian Aker [Wed, 13 Jan 2010 19:03:12 +0000 (11:03 -0800)] 
Merge Jean-Charles

14 years agoAddition for memcached_light to have a pid file.
Brian Aker [Wed, 13 Jan 2010 17:32:58 +0000 (09:32 -0800)] 
Addition for memcached_light to have a pid file.

14 years agoMerge Stewart
Brian Aker [Wed, 13 Jan 2010 04:50:50 +0000 (20:50 -0800)] 
Merge Stewart

14 years agoFinal bits of abstraction.
Brian Aker [Tue, 12 Jan 2010 23:42:29 +0000 (15:42 -0800)] 
Final bits of abstraction.

14 years agoFix test cases for encapsulation.
Brian Aker [Tue, 12 Jan 2010 22:57:11 +0000 (14:57 -0800)] 
Fix test cases for encapsulation.

14 years agoPartial encapsulation of memcached_st->hosts
Brian Aker [Tue, 12 Jan 2010 20:20:04 +0000 (12:20 -0800)] 
Partial encapsulation of memcached_st->hosts

14 years agoAbstract out ptr->hosts[server_key] references.
Brian Aker [Tue, 12 Jan 2010 07:00:20 +0000 (23:00 -0800)] 
Abstract out ptr->hosts[server_key] references.

14 years agoSpec fix.
Brian Aker [Tue, 12 Jan 2010 01:01:32 +0000 (17:01 -0800)] 
Spec fix.

14 years agoUpdates for version 0.37. 0.37
Brian Aker [Tue, 12 Jan 2010 00:30:08 +0000 (16:30 -0800)] 
Updates for version 0.37.

14 years agoPut the doc and version back into the configure.ac
Monty Taylor [Tue, 12 Jan 2010 00:33:21 +0000 (16:33 -0800)] 
Put the doc and version back into the configure.ac

14 years ago.pop now ignored.
Brian Aker [Mon, 11 Jan 2010 23:59:39 +0000 (15:59 -0800)] 
.pop now ignored.

14 years agoUpdated .spec file for release.
Brian Aker [Mon, 11 Jan 2010 23:44:15 +0000 (15:44 -0800)] 
Updated .spec file for release.

14 years agoUpdated test framework.
Brian Aker [Mon, 11 Jan 2010 23:28:18 +0000 (15:28 -0800)] 
Updated test framework.

14 years agoFix structure of test.c where we call code before/after a collection runs.
Brian Aker [Mon, 11 Jan 2010 21:47:22 +0000 (13:47 -0800)] 
Fix structure of test.c where we call code before/after a collection runs.

14 years agoAbsorb test bits into anonymous structure.
Brian Aker [Mon, 11 Jan 2010 21:07:36 +0000 (13:07 -0800)] 
Absorb test bits into anonymous structure.

14 years agoNew stats output for collection information.
Brian Aker [Mon, 11 Jan 2010 20:50:35 +0000 (12:50 -0800)] 
New stats output for collection information.

14 years agoName correction for test system.
Brian Aker [Mon, 11 Jan 2010 18:00:43 +0000 (10:00 -0800)] 
Name correction for test system.

14 years agoStyle cleanup.
Brian Aker [Mon, 11 Jan 2010 03:19:32 +0000 (19:19 -0800)] 
Style cleanup.

14 years agodon't convert between 16 and 32 bit when you don't need to
Stewart Smith [Sun, 10 Jan 2010 23:41:12 +0000 (10:41 +1100)] 
don't convert between 16 and 32 bit when you don't need to

14 years agobe strict about port numbers being in in_port_t not uint32_t
Stewart Smith [Sun, 10 Jan 2010 23:40:33 +0000 (10:40 +1100)] 
be strict about port numbers being in in_port_t not uint32_t

14 years agobe strict about port numbers being in in_port_t not uint32_t
Stewart Smith [Sun, 10 Jan 2010 23:40:22 +0000 (10:40 +1100)] 
be strict about port numbers being in in_port_t not uint32_t