awesomized/libmemcached
13 years agoMove cached errno such that it now lives behind the API.
Brian Aker [Mon, 28 Mar 2011 01:31:30 +0000 (18:31 -0700)] 
Move cached errno such that it now lives behind the API.

13 years agoOrganize ketama a bit more (ie lets keep it in its own little basket).
Brian Aker [Mon, 28 Mar 2011 01:06:41 +0000 (18:06 -0700)] 
Organize ketama a bit more (ie lets keep it in its own little basket).

13 years agoMerge in new protocol interface bits.
Brian Aker [Sun, 27 Mar 2011 23:50:09 +0000 (16:50 -0700)] 
Merge in new protocol interface bits.

13 years agoMove the logic out for building the parser.
Brian Aker [Sun, 27 Mar 2011 21:50:57 +0000 (14:50 -0700)] 
Move the logic out for building the parser.

13 years agoChecking in the parser/scanner files.
Brian Aker [Sun, 27 Mar 2011 21:32:32 +0000 (14:32 -0700)] 
Checking in the parser/scanner files.

13 years agoMerge in fixes for test which leaked memory.
Brian Aker [Sun, 27 Mar 2011 15:48:46 +0000 (08:48 -0700)] 
Merge in fixes for test which leaked memory.

13 years agoMerge in parser adjustment so that = now belongs to the actual parser.
Brian Aker [Sun, 27 Mar 2011 03:03:19 +0000 (20:03 -0700)] 
Merge in parser adjustment so that = now belongs to the actual parser.

13 years agoShift = over being done by scanner, ie faster match.
Brian Aker [Sun, 27 Mar 2011 00:40:48 +0000 (17:40 -0700)] 
Shift = over being done by scanner, ie faster match.

13 years agoMerge in change such that we now use "config_" as the prepend on the
Brian Aker [Sun, 27 Mar 2011 00:29:14 +0000 (17:29 -0700)] 
Merge in change such that we now use "config_" as the prepend on the
parser/scanner.

13 years agoMerge in additional tests/remove any usages of STL from main library.
Brian Aker [Sat, 26 Mar 2011 23:56:28 +0000 (16:56 -0700)] 
Merge in additional tests/remove any usages of STL from main library.

13 years agoMerge in additional changes so that we remove a usage of std::string in the
Brian Aker [Sat, 26 Mar 2011 04:48:33 +0000 (21:48 -0700)] 
Merge in additional changes so that we remove a usage of std::string in the
core.

13 years agoClean up header files a bit.
Brian Aker [Sat, 26 Mar 2011 00:03:31 +0000 (17:03 -0700)] 
Clean up header files a bit.

13 years agoMerge in code changes for all of the new parser.
Brian Aker [Fri, 25 Mar 2011 05:22:45 +0000 (22:22 -0700)] 
Merge in code changes for all of the new parser.

13 years agoMerge fixes from build.
Brian Aker [Fri, 25 Mar 2011 00:48:22 +0000 (17:48 -0700)] 
Merge fixes from build.

13 years agoFix a few spots where when I did the update for EXIT_ I made more
Brian Aker [Fri, 25 Mar 2011 00:42:33 +0000 (17:42 -0700)] 
Fix a few spots where when I did the update for EXIT_ I made more
replacements then what I should have.

13 years agoFix strlen vs sizeof usage in a few spots.
Brian Aker [Fri, 25 Mar 2011 00:29:31 +0000 (17:29 -0700)] 
Fix strlen vs sizeof usage in a few spots.

13 years agoUpdates for strncpy.
Brian Aker [Fri, 25 Mar 2011 00:13:54 +0000 (17:13 -0700)] 
Updates for strncpy.

13 years agoAdd option to use UDS with server list.
Brian Aker [Thu, 24 Mar 2011 23:06:37 +0000 (16:06 -0700)] 
Add option to use UDS with server list.

13 years agoAdditional fixes for RPM.
Brian Aker [Thu, 24 Mar 2011 22:31:14 +0000 (15:31 -0700)] 
Additional fixes for RPM.

13 years agoFix compile issue for debug.
Brian Aker [Thu, 24 Mar 2011 22:21:44 +0000 (15:21 -0700)] 
Fix compile issue for debug.

13 years agoFix issue with multiple use of "DEBUG"
Brian Aker [Thu, 24 Mar 2011 22:17:09 +0000 (15:17 -0700)] 
Fix issue with multiple use of "DEBUG"

13 years agoFix include file for missing test include file.
Brian Aker [Thu, 24 Mar 2011 01:21:48 +0000 (18:21 -0700)] 
Fix include file for missing test include file.

13 years agoMerge in additional language plus some of the configure language for
Brian Aker [Wed, 23 Mar 2011 22:46:23 +0000 (15:46 -0700)] 
Merge in additional language plus some of the configure language for
END/RESET/etc.

13 years agoFix problem where hostname would end up with trailing . and be accepted as
Brian Aker [Wed, 23 Mar 2011 21:14:03 +0000 (14:14 -0700)] 
Fix problem where hostname would end up with trailing . and be accepted as
legit hostname.

13 years agoAdding additional END, RESET, DEBUG, and INCLUDE options.
Brian Aker [Wed, 23 Mar 2011 20:17:20 +0000 (13:17 -0700)] 
Adding additional END, RESET, DEBUG, and INCLUDE options.

13 years agoCleanup output from error reporting.
Brian Aker [Wed, 23 Mar 2011 18:01:41 +0000 (11:01 -0700)] 
Cleanup output from error reporting.

13 years agoFixes issue where if illegal options caused parsing to fail an incorrect
Brian Aker [Wed, 23 Mar 2011 17:02:56 +0000 (10:02 -0700)] 
Fixes issue where if illegal options caused parsing to fail an incorrect
message would still be returned.

13 years agoBetter error handling.
Brian Aker [Wed, 23 Mar 2011 15:14:41 +0000 (08:14 -0700)] 
Better error handling.

13 years agoImproved on the error messages in the parser.
Brian Aker [Wed, 23 Mar 2011 05:48:45 +0000 (22:48 -0700)] 
Improved on the error messages in the parser.

13 years agoAdditional cleanup on error messages.
Brian Aker [Wed, 23 Mar 2011 02:23:44 +0000 (19:23 -0700)] 
Additional cleanup on error messages.

13 years agoCheck for failures while configuring client.
Brian Aker [Wed, 23 Mar 2011 01:41:12 +0000 (18:41 -0700)] 
Check for failures while configuring client.

13 years agoUpdates to configuration API.
Brian Aker [Tue, 22 Mar 2011 20:08:58 +0000 (13:08 -0700)] 
Updates to configuration API.

13 years agoThis adds a couple of new options for options parsing.
Brian Aker [Mon, 21 Mar 2011 22:07:08 +0000 (15:07 -0700)] 
This adds a couple of new options for options parsing.

13 years agoFix prefix key so that it is not statically built.
Brian Aker [Mon, 21 Mar 2011 20:03:49 +0000 (13:03 -0700)] 
Fix prefix key so that it is not statically built.

13 years agoMerge in all changes related to being able to read configuration files.
Brian Aker [Mon, 21 Mar 2011 16:02:56 +0000 (09:02 -0700)] 
Merge in all changes related to being able to read configuration files.

13 years agoImport parser/etc
Brian Aker [Mon, 21 Mar 2011 07:07:48 +0000 (00:07 -0700)] 
Import parser/etc

13 years agoFinal bits for options in parser for behaviors.
Brian Aker [Sat, 19 Mar 2011 00:57:32 +0000 (17:57 -0700)] 
Final bits for options in parser for behaviors.

13 years agoMerge in additions to the scanner.
Brian Aker [Sat, 19 Mar 2011 00:08:39 +0000 (17:08 -0700)] 
Merge in additions to the scanner.

13 years agoAdditional fixes/test. We will now limit the hostname when adding it into
Brian Aker [Fri, 18 Mar 2011 18:12:06 +0000 (11:12 -0700)] 
Additional fixes/test. We will now limit the hostname when adding it into
memc so that we don't do any sort of overflow by accident.

13 years agoMove replication tests out to their file.
Brian Aker [Fri, 18 Mar 2011 17:45:16 +0000 (10:45 -0700)] 
Move replication tests out to their file.

13 years agoMerge in new scanner/parser suite with updated test cases.
Brian Aker [Fri, 18 Mar 2011 17:29:45 +0000 (10:29 -0700)] 
Merge in new scanner/parser suite with updated test cases.

13 years agoMerge in all of the new parser work.
Brian Aker [Fri, 18 Mar 2011 10:43:48 +0000 (03:43 -0700)] 
Merge in all of the new parser work.

13 years agoMerge in updates to make sure exit/return is done properly.
Brian Aker [Thu, 17 Mar 2011 21:45:08 +0000 (14:45 -0700)] 
Merge in updates to make sure exit/return is done properly.

13 years agoFix changelog/version.
Brian Aker [Wed, 16 Mar 2011 06:12:28 +0000 (23:12 -0700)] 
Fix changelog/version.

13 years agoMerge in solution for lp:581030.
Brian Aker [Tue, 8 Mar 2011 23:17:05 +0000 (15:17 -0800)] 
Merge in solution for lp:581030.

13 years agoMerge in update for document on prefix key.
Brian Aker [Tue, 8 Mar 2011 22:38:36 +0000 (14:38 -0800)] 
Merge in update for document on prefix key.

13 years agoAdd pragma
Brian Aker [Mon, 7 Mar 2011 23:09:56 +0000 (15:09 -0800)] 
Add pragma

13 years agoMove testing framework out to its own library.
Brian Aker [Sat, 5 Mar 2011 20:39:12 +0000 (12:39 -0800)] 
Move testing framework out to its own library.

13 years agoFix for memory leak when parsing servers.
Brian Aker [Fri, 4 Mar 2011 21:53:26 +0000 (13:53 -0800)] 
Fix for memory leak when parsing servers.

13 years agoMerge Trond
Brian Aker [Tue, 1 Mar 2011 17:57:55 +0000 (09:57 -0800)] 
Merge Trond

13 years agoDetect the availability of MSG_NOSIGNAL/MSG_DONTWAIT
Trond Norbye [Tue, 1 Mar 2011 07:08:00 +0000 (08:08 +0100)] 
Detect the availability of MSG_NOSIGNAL/MSG_DONTWAIT

13 years agoUpdate for 0.47
Brian Aker [Thu, 24 Feb 2011 04:21:36 +0000 (20:21 -0800)] 
Update for 0.47

13 years agoRemove flag enum-compare
Brian Aker [Wed, 23 Feb 2011 00:09:54 +0000 (16:09 -0800)] 
Remove flag enum-compare

13 years agoMerge in trond.
Brian Aker [Tue, 22 Feb 2011 21:58:11 +0000 (13:58 -0800)] 
Merge in trond.

13 years agoLink libmemcached.so with SASL libs if we build with SASL support
Trond Norbye [Tue, 22 Feb 2011 13:52:54 +0000 (14:52 +0100)] 
Link libmemcached.so with SASL libs if we build with SASL support

This allows people to use libmemcached from their application without
SASL support without having to link with the sasl libraries themselves

Patch supplied by Remi Collet <Fedora@FamilleCollet.com>

13 years agoDon't build 64-bit software on 32 bit Solaris
Trond Norbye [Tue, 22 Feb 2011 13:43:58 +0000 (14:43 +0100)] 
Don't build 64-bit software on 32 bit Solaris

13 years agoDon't use __attribute__((unused))
Trond Norbye [Tue, 22 Feb 2011 13:41:58 +0000 (14:41 +0100)] 
Don't use __attribute__((unused))

It's not supported by all compilers, and they will most likely
spit out a warning about an unknown attribute. Since we're
treating warnings as errors this stops the compilation..

13 years agoMerge in patch for additional lib for SASL
Brian Aker [Tue, 22 Feb 2011 04:06:44 +0000 (20:06 -0800)] 
Merge in patch for additional lib for SASL

13 years agoMerge in test case from JC Redoutey .
Brian Aker [Tue, 22 Feb 2011 02:35:52 +0000 (18:35 -0800)] 
Merge in test case from JC Redoutey .

13 years agoMerge in dist fix from Monty
Brian Aker [Tue, 22 Feb 2011 02:09:08 +0000 (18:09 -0800)] 
Merge in dist fix from Monty

13 years agoMerge in ability for memcapable to handle ascii/binary as flags to the
Brian Aker [Tue, 22 Feb 2011 02:02:11 +0000 (18:02 -0800)] 
Merge in ability for memcapable to handle ascii/binary as flags to the
command.

13 years agoMerge in fix for send() on linux.
Brian Aker [Mon, 21 Feb 2011 10:33:09 +0000 (02:33 -0800)] 
Merge in fix for send() on linux.

13 years agoStore up errno in a couple of spots.
Brian Aker [Mon, 21 Feb 2011 09:57:43 +0000 (01:57 -0800)] 
Store up errno in a couple of spots.

13 years agoMerge in bug fix for 456080.
Brian Aker [Tue, 15 Feb 2011 18:37:39 +0000 (10:37 -0800)] 
Merge in bug fix for 456080.

13 years agoMerge in bug fix for 677609
Brian Aker [Tue, 15 Feb 2011 17:26:17 +0000 (09:26 -0800)] 
Merge in bug fix for 677609

13 years agoFix for Openbsd
Brian Aker [Tue, 15 Feb 2011 16:52:51 +0000 (08:52 -0800)] 
Fix for Openbsd

13 years agoMerge in version bump.
Brian Aker [Mon, 14 Feb 2011 18:35:59 +0000 (10:35 -0800)] 
Merge in version bump.

13 years agoRemove special condition for block and version.
Brian Aker [Sun, 13 Feb 2011 02:45:11 +0000 (18:45 -0800)] 
Remove special condition for block and version.

13 years agoRollup of fixes/error message corrections in mget. This also remove the
Brian Aker [Sat, 12 Feb 2011 10:52:48 +0000 (02:52 -0800)] 
Rollup of fixes/error message corrections in mget. This also remove the
infinite wait on non-block.

13 years agoServers below 1.4.4 may have issues with this test.
Brian Aker [Sat, 12 Feb 2011 10:33:44 +0000 (02:33 -0800)] 
Servers below 1.4.4 may have issues with this test.

13 years agoSee what happens if we skip the tests on the remote servers.
Brian Aker [Sat, 12 Feb 2011 10:01:32 +0000 (02:01 -0800)] 
See what happens if we skip the tests on the remote servers.

13 years agoAdd purge before get.
Brian Aker [Sat, 12 Feb 2011 09:32:21 +0000 (01:32 -0800)] 
Add purge before get.

13 years agoMerge in additional checks on tests.
Brian Aker [Sat, 12 Feb 2011 09:18:53 +0000 (01:18 -0800)] 
Merge in additional checks on tests.

13 years agoBetter reporting on errors from mget.
Brian Aker [Sat, 12 Feb 2011 08:45:44 +0000 (00:45 -0800)] 
Better reporting on errors from mget.

13 years agoMerge in fixes for get.
Brian Aker [Sat, 12 Feb 2011 07:26:48 +0000 (23:26 -0800)] 
Merge in fixes for get.

13 years agoCommit additional test for remote...
Brian Aker [Sat, 12 Feb 2011 07:14:02 +0000 (23:14 -0800)] 
Commit additional test for remote...

13 years agoAdd assert for remote testing.
Brian Aker [Sat, 12 Feb 2011 06:31:12 +0000 (22:31 -0800)] 
Add assert for remote testing.

13 years agoMore tests.
Brian Aker [Sat, 12 Feb 2011 01:06:49 +0000 (17:06 -0800)] 
More tests.

13 years agoRemote debug ubuntu
Brian Aker [Fri, 11 Feb 2011 23:50:41 +0000 (15:50 -0800)] 
Remote debug ubuntu

13 years agoMerge in removal of setting infinite no_block
Brian Aker [Fri, 11 Feb 2011 22:13:03 +0000 (14:13 -0800)] 
Merge in removal of setting infinite no_block

13 years agoTest location of failure observed on ubuntu hudson
Brian Aker [Fri, 11 Feb 2011 21:14:37 +0000 (13:14 -0800)] 
Test location of failure observed on ubuntu hudson

13 years agoMerge in a number of fixes for OpenBSD.
Brian Aker [Fri, 11 Feb 2011 21:02:58 +0000 (13:02 -0800)] 
Merge in a number of fixes for OpenBSD.

13 years agoMerge in removal of top.h (we don't use it, and it is causing issues on
Brian Aker [Fri, 11 Feb 2011 20:37:05 +0000 (12:37 -0800)] 
Merge in removal of top.h (we don't use it, and it is causing issues on
several platforms).

13 years agoBump up version we test for binary protocol (per advice from Dormando).
Brian Aker [Fri, 11 Feb 2011 20:10:29 +0000 (12:10 -0800)] 
Bump up version we test for binary protocol (per advice from Dormando).

13 years agoAdd warning for OpenBSD builds.
Brian Aker [Fri, 11 Feb 2011 19:15:00 +0000 (11:15 -0800)] 
Add warning for OpenBSD builds.

13 years agoRemove openbsd warnings.
Brian Aker [Fri, 11 Feb 2011 17:57:27 +0000 (09:57 -0800)] 
Remove openbsd warnings.

13 years agoRollup merge.
Brian Aker [Fri, 11 Feb 2011 11:00:07 +0000 (03:00 -0800)] 
Rollup merge.

13 years agoFix if()
Brian Aker [Fri, 11 Feb 2011 09:50:22 +0000 (01:50 -0800)] 
Fix if()

13 years agoMerge in enabling of if to correctly only dump servers during failure.
Brian Aker [Fri, 11 Feb 2011 09:33:25 +0000 (01:33 -0800)] 
Merge in enabling of if to correctly only dump servers during failure.

13 years agoRemove icc warnings (some of).
Brian Aker [Fri, 11 Feb 2011 00:30:08 +0000 (16:30 -0800)] 
Remove icc warnings (some of).

13 years agoCleanup test failures.
Brian Aker [Fri, 11 Feb 2011 00:10:23 +0000 (16:10 -0800)] 
Cleanup test failures.

13 years agoCheck for invalid value when determinng min/max on server compatibility.
Brian Aker [Thu, 10 Feb 2011 23:20:54 +0000 (15:20 -0800)] 
Check for invalid value when determinng min/max on server compatibility.

13 years agoVersion will now have a default we can use to look for invalid versions.
Brian Aker [Thu, 10 Feb 2011 23:17:29 +0000 (15:17 -0800)] 
Version will now have a default we can use to look for invalid versions.
Also fixed regression test so that we check for invalid argment return.

13 years agoUpdating test case such that we output version information and correctly set
Brian Aker [Thu, 10 Feb 2011 22:05:26 +0000 (14:05 -0800)] 
Updating test case such that we output version information and correctly set
it to zero in cases where we fail at retrieving it.

13 years agoPrint out server stuff during test.
Brian Aker [Thu, 10 Feb 2011 21:26:34 +0000 (13:26 -0800)] 
Print out server stuff during test.

13 years agoFix/debug for FreeBSD failures.
Brian Aker [Thu, 10 Feb 2011 19:51:59 +0000 (11:51 -0800)] 
Fix/debug for FreeBSD failures.

13 years agoFix for ancient solaris platforms. ie bug 695726
Brian Aker [Thu, 10 Feb 2011 19:14:07 +0000 (11:14 -0800)] 
Fix for ancient solaris platforms. ie bug 695726

13 years agoFix for bug 633247
Brian Aker [Thu, 10 Feb 2011 18:43:18 +0000 (10:43 -0800)] 
Fix for bug 633247

13 years agoRevisions .45
Brian Aker [Wed, 9 Feb 2011 00:50:23 +0000 (16:50 -0800)] 
Revisions .45

13 years agoMerge in changes from Monty
Brian Aker [Tue, 11 Jan 2011 19:55:33 +0000 (11:55 -0800)] 
Merge in changes from Monty