m6w6/libmemcached
13 years agoMerge in scanner code.
Brian Aker [Tue, 5 Apr 2011 01:25:44 +0000 (18:25 -0700)] 
Merge in scanner code.

13 years agoSurpress issue with sign...
Brian Aker [Tue, 5 Apr 2011 01:23:26 +0000 (18:23 -0700)] 
Surpress issue with sign...

13 years agoSee if this fixes issue with 64bit Ubuntu
Brian Aker [Mon, 4 Apr 2011 22:08:51 +0000 (15:08 -0700)] 
See if this fixes issue with 64bit Ubuntu

13 years agoTrying to fix the issue of scanner not compiling on all platforms.
Brian Aker [Mon, 4 Apr 2011 22:05:47 +0000 (15:05 -0700)] 
Trying to fix the issue of scanner not compiling on all platforms.

13 years agoRemove dead bit in state for servers.
Brian Aker [Mon, 4 Apr 2011 20:46:23 +0000 (13:46 -0700)] 
Remove dead bit in state for servers.

13 years agoMerge in changes to allow for weights on hosts.
Brian Aker [Mon, 4 Apr 2011 20:19:33 +0000 (13:19 -0700)] 
Merge in changes to allow for weights on hosts.

13 years agoCrank random string test.
Brian Aker [Mon, 4 Apr 2011 19:21:57 +0000 (12:21 -0700)] 
Crank random string test.

13 years agoMerge in additional work to handle "weight" for servers.
Brian Aker [Mon, 4 Apr 2011 19:03:55 +0000 (12:03 -0700)] 
Merge in additional work to handle "weight" for servers.

13 years agoMerge in behavior change such that if a weight is specified we now turn on
Brian Aker [Sun, 3 Apr 2011 04:19:46 +0000 (21:19 -0700)] 
Merge in behavior change such that if a weight is specified we now turn on
weighting automagically.

13 years agoSet weight correctly.
Brian Aker [Sun, 3 Apr 2011 04:02:40 +0000 (21:02 -0700)] 
Set weight correctly.

13 years agoStyle cleanup.
Brian Aker [Sun, 3 Apr 2011 03:34:39 +0000 (20:34 -0700)] 
Style cleanup.

13 years agoMerge in fixes for deprecated bits in behavior.
Brian Aker [Sun, 3 Apr 2011 03:16:18 +0000 (20:16 -0700)] 
Merge in fixes for deprecated bits in behavior.

13 years agoThis cleans up some accidental linking we were getting with curses.
Brian Aker [Sat, 2 Apr 2011 22:27:03 +0000 (15:27 -0700)] 
This cleans up some accidental linking we were getting with curses.

This also modifies the behavior of DNS caching such that we walk the hosts
and can move to a new host. It also removes any chance of us leaking the DNS
information.

13 years agoFixes all current issues with hashkit tests.
Brian Aker [Fri, 1 Apr 2011 19:38:02 +0000 (12:38 -0700)] 
Fixes all current issues with hashkit tests.

13 years agoFix for key return size.
Brian Aker [Fri, 1 Apr 2011 16:33:42 +0000 (09:33 -0700)] 
Fix for key return size.

13 years agoMerge in all scanner tree + virtual buckets.
Brian Aker [Tue, 29 Mar 2011 16:54:23 +0000 (09:54 -0700)] 
Merge in all scanner tree + virtual buckets.

13 years agoFix compile issues locally.
Brian Aker [Tue, 29 Mar 2011 16:49:39 +0000 (09:49 -0700)] 
Fix compile issues locally.

13 years agoUpdate for OSX/non binary platforms.
Brian Aker [Tue, 29 Mar 2011 14:54:36 +0000 (07:54 -0700)] 
Update for OSX/non binary platforms.

13 years agoUpdate for virtual buckets/wasn't this just originally the wheel?
Brian Aker [Tue, 29 Mar 2011 00:16:54 +0000 (17:16 -0700)] 
Update for virtual buckets/wasn't this just originally the wheel?

13 years agoFix need for permissive.-------------- This line and the following will be ignored...
Brian Aker [Mon, 28 Mar 2011 18:14:29 +0000 (11:14 -0700)] 
Fix need for permissive.-------------- This line and the following will be ignored --------------

modified:
  libmemcached/options/parser.cc
  libmemcached/options/parser.yy
  libmemcached/options/scanner.cc
  libmemcached/options/scanner.h
  libmemcached/options/scanner.l

13 years agoMerge in changes around setting up better syntax for distribution.
Brian Aker [Mon, 28 Mar 2011 06:26:52 +0000 (23:26 -0700)] 
Merge in changes around setting up better syntax for distribution.

13 years agoRemove cork from being optional, just use it as we need it.
Brian Aker [Mon, 28 Mar 2011 04:23:13 +0000 (21:23 -0700)] 
Remove cork from being optional, just use it as we need it.

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.