m6w6/libmemcached
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 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

13 years agoFixed unittests and vc-changelog.
Monty Taylor [Mon, 10 Jan 2011 19:46:18 +0000 (11:46 -0800)] 
Fixed unittests and vc-changelog.

13 years agoUpdated pandora-build files to version 0.171
Monty Taylor [Mon, 10 Jan 2011 06:08:40 +0000 (22:08 -0800)] 
Updated pandora-build files to version 0.171

13 years agoUpdated pandora-build files to version 0.167
Monty Taylor [Thu, 23 Dec 2010 19:33:20 +0000 (11:33 -0800)] 
Updated pandora-build files to version 0.167

13 years agoFixed systemtap issues (I hope) and a test case compile.
Monty Taylor [Thu, 23 Dec 2010 17:52:04 +0000 (17:52 +0000)] 
Fixed systemtap issues (I hope) and a test case compile.

14 years agoMerging Trond
Brian Aker [Thu, 28 Oct 2010 22:21:05 +0000 (15:21 -0700)] 
Merging Trond

14 years agoUpdate docs.
Brian Aker [Thu, 28 Oct 2010 21:44:15 +0000 (14:44 -0700)] 
Update docs.

14 years agoThe mget test in memcapable shouldn't care about the order items arrive
Trond Norbye [Tue, 28 Sep 2010 09:59:05 +0000 (11:59 +0200)] 
The mget test in memcapable shouldn't care about the order items arrive

14 years agoUpdates for 0.44 release 0.44
Brian Aker [Thu, 23 Sep 2010 05:00:27 +0000 (22:00 -0700)] 
Updates for 0.44 release

14 years agoFix for rpm build
Brian Aker [Wed, 15 Sep 2010 18:38:26 +0000 (11:38 -0700)] 
Fix for rpm build

14 years agoMerge Trond
Brian Aker [Wed, 15 Sep 2010 00:44:32 +0000 (17:44 -0700)] 
Merge Trond

14 years agoFixed dtrace enabled compilations
Trond Norbye [Tue, 14 Sep 2010 07:55:39 +0000 (09:55 +0200)] 
Fixed dtrace enabled compilations

14 years agoUpdate libmemcached version number due to change of struct size
Trond Norbye [Mon, 13 Sep 2010 19:51:40 +0000 (21:51 +0200)] 
Update libmemcached version number due to change of struct size

14 years agoBug fix by Trond
Brian Aker [Mon, 13 Sep 2010 15:39:05 +0000 (08:39 -0700)] 
Bug fix by Trond

14 years agoRefactor: Renamed internal stack dump function
Trond Norbye [Mon, 13 Sep 2010 12:31:19 +0000 (14:31 +0200)] 
Refactor: Renamed internal stack dump function

Some compilers generate a warning for symbols starting with double
underscores causing a build break. Renamed the function to
libmemcached_stack_dump instead, and added an implementation for
Solaris while I'm touching the code

14 years agoDon't include system headers within an extern C block
Trond Norbye [Mon, 13 Sep 2010 12:27:18 +0000 (14:27 +0200)] 
Don't include system headers within an extern C block

14 years agoRefactor: rename __write_vector_st
Trond Norbye [Mon, 13 Sep 2010 12:26:17 +0000 (14:26 +0200)] 
Refactor: rename __write_vector_st

Symbol names with double underscores generate a compile warning on
some platforms causing a build break. Renamed to
libmemcached_io_vector_st.

14 years agoFixed SASL authentication bits
Trond Norbye [Mon, 13 Sep 2010 06:05:34 +0000 (08:05 +0200)] 
Fixed SASL authentication bits

14 years agoFixed test in memcached_set_sasl_auth_data
Trond Norbye [Sat, 11 Sep 2010 10:56:27 +0000 (12:56 +0200)] 
Fixed test in memcached_set_sasl_auth_data

14 years agoBug 628650: prefix ntohll/htonll with memcached_
Trond Norbye [Thu, 2 Sep 2010 08:23:44 +0000 (10:23 +0200)] 
Bug 628650: prefix ntohll/htonll with memcached_

14 years agoCheck the return code from fgets in memcapable
Trond Norbye [Tue, 24 Aug 2010 17:28:46 +0000 (19:28 +0200)] 
Check the return code from fgets in memcapable

14 years agoUpdate memcapable quiet command test to work with servers that cork
Trond Norbye [Fri, 13 Aug 2010 13:01:34 +0000 (15:01 +0200)] 
Update memcapable quiet command test to work with servers that cork

14 years agoAdd option -P and -T to memcapable
Trond Norbye [Fri, 13 Aug 2010 12:58:56 +0000 (14:58 +0200)] 
Add option -P and -T to memcapable

The two options come in handy if you're trying to debug a failing test case

14 years agoLooking at additional race conditions in test harness.
Brian Aker [Tue, 3 Aug 2010 06:31:32 +0000 (23:31 -0700)] 
Looking at additional race conditions in test harness.

14 years agoRemove use of system(). Not very portable
Brian Aker [Tue, 3 Aug 2010 04:30:04 +0000 (21:30 -0700)] 
Remove use of system(). Not very portable

14 years agoif/def a WATCHPOINT
Brian Aker [Tue, 3 Aug 2010 03:54:30 +0000 (20:54 -0700)] 
if/def a WATCHPOINT

14 years agoRemove impossible assert
Trond Norbye [Mon, 2 Aug 2010 22:08:05 +0000 (00:08 +0200)] 
Remove impossible assert

The Sun Studio compiler generates an error because it's impossible to get
there.

14 years agoMerge Trond
Brian Aker [Mon, 2 Aug 2010 18:33:16 +0000 (11:33 -0700)] 
Merge Trond

14 years agoFix ntohll test.. we need to link, not just compile ;-)
Trond Norbye [Mon, 2 Aug 2010 15:37:31 +0000 (17:37 +0200)] 
Fix ntohll test.. we need to link, not just compile ;-)

14 years agoFix compile problems when cross compiling
Trond Norbye [Sun, 1 Aug 2010 22:25:02 +0000 (00:25 +0200)] 
Fix compile problems when cross compiling

14 years agoIgnore *.exe
Trond Norbye [Sun, 1 Aug 2010 21:13:16 +0000 (23:13 +0200)] 
Ignore *.exe

14 years agoUse PRIu64 instead of %lld
Trond Norbye [Sun, 1 Aug 2010 21:12:16 +0000 (23:12 +0200)] 
Use PRIu64 instead of %lld

14 years agoDisable warning == error for win32
Trond Norbye [Sun, 1 Aug 2010 21:11:54 +0000 (23:11 +0200)] 
Disable warning == error for win32

14 years agoTesting the hudson port changing feature.
Brian Aker [Thu, 29 Jul 2010 19:56:37 +0000 (12:56 -0700)] 
Testing the hudson port changing feature.

14 years agoFixed autoconf macros for cross compile
Trond Norbye [Thu, 29 Jul 2010 00:09:42 +0000 (02:09 +0200)] 
Fixed autoconf macros for cross compile

14 years agoFix everything for release.
Brian Aker [Wed, 28 Jul 2010 23:29:57 +0000 (16:29 -0700)] 
Fix everything for release.

14 years agoUpdate version/etc.
Brian Aker [Wed, 28 Jul 2010 23:14:53 +0000 (16:14 -0700)] 
Update version/etc.

14 years agoUpdate changelog, etc.
Brian Aker [Wed, 28 Jul 2010 22:29:49 +0000 (15:29 -0700)] 
Update changelog, etc.

14 years agoMerge Trond, this is the preliminary support for Windows.
Brian Aker [Wed, 28 Jul 2010 20:59:36 +0000 (13:59 -0700)] 
Merge Trond, this is the preliminary support for Windows.

14 years agoAdded a readme file on how to build on windows
Trond Norbye [Wed, 28 Jul 2010 19:04:33 +0000 (21:04 +0200)] 
Added a readme file on how to build on windows

14 years agoSocket should be memcached_socket_t
Trond Norbye [Wed, 28 Jul 2010 18:48:18 +0000 (20:48 +0200)] 
Socket should be memcached_socket_t

14 years agoFix coding style
Trond Norbye [Wed, 28 Jul 2010 18:48:00 +0000 (20:48 +0200)] 
Fix coding style

14 years agoFixed building of dlls on win32
Trond Norbye [Wed, 28 Jul 2010 17:42:50 +0000 (19:42 +0200)] 
Fixed building of dlls on win32

14 years agoMerge Trond --without-docs
Brian Aker [Wed, 28 Jul 2010 00:27:30 +0000 (17:27 -0700)] 
Merge Trond --without-docs

14 years agoInitial support for Windows
Trond Norbye [Tue, 27 Jul 2010 22:38:51 +0000 (00:38 +0200)] 
Initial support for Windows

In order to support Windows without adding a lot of #ifdefs all over
the code I decided to move all the inclusions of platform-specific
network headers into a separate include file. Windows use separate
subsystem for sockets (WinSock), and it is almost compatible with how
it works on Unix except from:

* The socket handle is a SOCKET and not a typical filedescriptor.
* It should be closed with closesocket() and not close().
* It does not set the global errno variable, but one should call
  WSAGetLastError() instead.

14 years agoIgnore pandora_vc_revinfo
Trond Norbye [Tue, 27 Jul 2010 06:36:10 +0000 (08:36 +0200)] 
Ignore pandora_vc_revinfo

14 years agoMerge in fixes for OpenBSD.
Brian Aker [Mon, 26 Jul 2010 19:16:36 +0000 (12:16 -0700)] 
Merge in fixes for OpenBSD.

14 years agoSkip "user_supplied_bug17" (Chinese key) becasue OpenBSD's iscntrl() doesn't support...
Piotr Sikora [Fri, 23 Jul 2010 18:20:32 +0000 (18:20 +0000)] 
Skip "user_supplied_bug17" (Chinese key) becasue OpenBSD's iscntrl() doesn't support multi-byte characters.

14 years agoStart memcached with "-u root", because it let us run tests via sudo or from the...
Piotr Sikora [Fri, 23 Jul 2010 18:16:55 +0000 (18:16 +0000)] 
Start memcached with "-u root", because it let us run tests via sudo or from the root account. It doesn't break anything, because this option is simply ignored when memcached is started by unprivileged user.

14 years agoAdded --args to memstat
Brian Aker [Fri, 23 Jul 2010 16:28:48 +0000 (09:28 -0700)] 
Added --args to memstat

14 years agoMerge up OpenBSD fix
Brian Aker [Thu, 22 Jul 2010 15:07:08 +0000 (08:07 -0700)] 
Merge up OpenBSD fix

14 years agoAdded --without-docs to configure
Trond Norbye [Wed, 21 Jul 2010 16:18:14 +0000 (18:18 +0200)] 
Added --without-docs to configure

The purpose of this option is to be able to disable generation of manual
pages from pod2man (to enable compilation of libmemcached on systems
without a working pod2man)

14 years agoFixes a typo/oops that shows up on openbsd.
Monty Taylor [Tue, 20 Jul 2010 20:29:29 +0000 (15:29 -0500)] 
Fixes a typo/oops that shows up on openbsd.

14 years agoFound issue from Fedora builder compiling with --with-debug
Brian Aker [Tue, 20 Jul 2010 04:45:48 +0000 (21:45 -0700)] 
Found issue from Fedora builder compiling with --with-debug

14 years agoMerge in cast fix for H algo
Brian Aker [Tue, 20 Jul 2010 00:31:05 +0000 (17:31 -0700)] 
Merge in cast fix for H algo

14 years agoType on attribute.
Brian Aker [Sat, 17 Jul 2010 17:09:40 +0000 (10:09 -0700)] 
Type on attribute.

14 years agoVerify that servers have started up by reading their pid file.
Brian Aker [Fri, 16 Jul 2010 19:24:58 +0000 (12:24 -0700)] 
Verify that servers have started up by reading their pid file.

14 years agoPossible fix for OSX slow server startup
Brian Aker [Fri, 16 Jul 2010 03:54:57 +0000 (20:54 -0700)] 
Possible fix for OSX slow server startup

14 years agoTiny style fix
Brian Aker [Fri, 16 Jul 2010 03:30:57 +0000 (20:30 -0700)] 
Tiny style fix

14 years agoMerge in usage for execute_stat.
Brian Aker [Fri, 16 Jul 2010 03:19:00 +0000 (20:19 -0700)] 
Merge in usage for execute_stat.

14 years agoMerge in memcached_stat_execute().
Brian Aker [Fri, 16 Jul 2010 02:33:19 +0000 (19:33 -0700)] 
Merge in memcached_stat_execute().

14 years agoFix for versioning information.
Brian Aker [Tue, 6 Jul 2010 20:16:47 +0000 (13:16 -0700)] 
Fix for versioning information.

14 years agoUpdate for version.
Brian Aker [Wed, 30 Jun 2010 20:27:33 +0000 (13:27 -0700)] 
Update for version.

14 years agoUpdates for RPM 0.41
Brian Aker [Wed, 30 Jun 2010 19:44:33 +0000 (12:44 -0700)] 
Updates for RPM