awesomized/libmemcached
14 years agoMerge from trunk.
Padraig O'Sullivan [Sun, 27 Sep 2009 17:21:58 +0000 (13:21 -0400)] 
Merge from trunk.

14 years agoMerge Trond
Brian Aker [Sat, 26 Sep 2009 08:02:13 +0000 (01:02 -0700)] 
Merge Trond

14 years agoRFE: It should be possible to set behavior flags on a pool
Trond Norbye [Sat, 26 Sep 2009 07:47:01 +0000 (09:47 +0200)] 
RFE: It should be possible to set behavior flags on a pool

14 years agoUpdating for version .33
Brian Aker [Wed, 23 Sep 2009 20:41:27 +0000 (13:41 -0700)] 
Updating for version .33

14 years agoMerge Trond
Brian Aker [Tue, 22 Sep 2009 17:12:31 +0000 (10:12 -0700)] 
Merge Trond

14 years agoMerge fix for binary mget
Brian Aker [Tue, 22 Sep 2009 08:36:13 +0000 (01:36 -0700)] 
Merge fix for binary mget

14 years agoBug #434484: Binary protocol maps NOT_STORED to wrong error code
Trond Norbye [Tue, 22 Sep 2009 08:26:38 +0000 (10:26 +0200)] 
Bug #434484: Binary protocol maps NOT_STORED to wrong error code

14 years agoMerge Patrick
Brian Aker [Tue, 22 Sep 2009 08:09:29 +0000 (01:09 -0700)] 
Merge Patrick

14 years agoBug: #434495: Ignore SERVER/CLIENT_ERROR from stats cachedump
Trond Norbye [Tue, 22 Sep 2009 07:58:59 +0000 (09:58 +0200)] 
Bug: #434495: Ignore SERVER/CLIENT_ERROR from stats cachedump

14 years agoMerge Trond
Brian Aker [Mon, 21 Sep 2009 01:37:08 +0000 (18:37 -0700)] 
Merge Trond

14 years agoInclude config.h before any system header to avoid problems with FILE_OFFSET_BITS...
Trond Norbye [Sun, 20 Sep 2009 19:34:27 +0000 (21:34 +0200)] 
Include config.h before any system header to avoid problems with FILE_OFFSET_BITS macro being redefined

14 years agoUpdates on C++ interface
Brian Aker [Sun, 20 Sep 2009 00:32:43 +0000 (17:32 -0700)] 
Updates on C++ interface

14 years agoUpdated changelog with some small comments on C++ interface updates.
Padraig O'Sullivan [Sat, 19 Sep 2009 23:59:36 +0000 (19:59 -0400)] 
Updated changelog with some small comments on C++ interface updates.

14 years agoForgot to include the std:: namespace prefix before string.
Padraig O'Sullivan [Sat, 19 Sep 2009 23:53:48 +0000 (19:53 -0400)] 
Forgot to include the std:: namespace prefix before string.

14 years agoUpdating Patrick's C++ exceptions to build without warnings on solaris.
Padraig O'Sullivan [Sat, 19 Sep 2009 23:52:02 +0000 (19:52 -0400)] 
Updating Patrick's C++ exceptions to build without warnings on solaris.

14 years agoUpdating the C++ exceptions file to build correctly.
Padraig O'Sullivan [Sat, 19 Sep 2009 23:49:22 +0000 (19:49 -0400)] 
Updating the C++ exceptions file to build correctly.

14 years agoUsed std::string instead of char and sprintf for constructing an error
Padraig O'Sullivan [Sat, 19 Sep 2009 23:36:57 +0000 (19:36 -0400)] 
Used std::string instead of char and sprintf for constructing an error
message.

14 years agoUpdated the getCache() method to actually pick a random client from the
Padraig O'Sullivan [Sat, 19 Sep 2009 17:04:38 +0000 (13:04 -0400)] 
Updated the getCache() method to actually pick a random client from the
vector of clients.

14 years agoUpdated the destructor for the C++ example to correctly release memory.
Padraig O'Sullivan [Sat, 19 Sep 2009 16:59:14 +0000 (12:59 -0400)] 
Updated the destructor for the C++ example to correctly release memory.

14 years agoUpdated the C++ header file to correctly add memcached servers in the
Padraig O'Sullivan [Sat, 19 Sep 2009 16:52:40 +0000 (12:52 -0400)] 
Updated the C++ header file to correctly add memcached servers in the
constructor.

14 years agoFixed binary mget so that it will always issue a NOOP after every
Curtis Hawthorne [Sat, 19 Sep 2009 12:24:37 +0000 (08:24 -0400)] 
Fixed binary mget so that it will always issue a NOOP after every
request, including requests for only one key.  This allows users
to check for MEMCACHED_END when they fetch.

14 years agoMerge pod for docs.
Brian Aker [Fri, 18 Sep 2009 19:12:21 +0000 (12:12 -0700)] 
Merge pod for docs.

14 years agoAdd manual page for memcapable
Trond Norbye [Fri, 18 Sep 2009 07:21:11 +0000 (09:21 +0200)] 
Add manual page for memcapable

14 years agoMerge Trond
Brian Aker [Thu, 17 Sep 2009 21:09:19 +0000 (14:09 -0700)] 
Merge Trond

14 years agoMerge from trunk.
Padraig O'Sullivan [Thu, 17 Sep 2009 19:14:25 +0000 (15:14 -0400)] 
Merge from trunk.

14 years agoReverted trond's header file changes for now.
Padraig O'Sullivan [Thu, 17 Sep 2009 19:14:07 +0000 (15:14 -0400)] 
Reverted trond's header file changes for now.

14 years agoAdd memcapable, a tool to test memcached capabilities
Trond Norbye [Thu, 17 Sep 2009 12:57:49 +0000 (14:57 +0200)] 
Add memcapable, a tool to test memcached capabilities

14 years agoRefactor: move ntohll to a separate helper library
Trond Norbye [Thu, 17 Sep 2009 12:39:18 +0000 (14:39 +0200)] 
Refactor: move ntohll to a separate helper library

14 years agoUpdate protocol_binary.h to the latest one from the memcached distribution
Trond Norbye [Thu, 17 Sep 2009 12:38:38 +0000 (14:38 +0200)] 
Update protocol_binary.h to the latest one from the memcached distribution

14 years agoUpdate pandora
Brian Aker [Thu, 17 Sep 2009 00:37:13 +0000 (17:37 -0700)] 
Update pandora

14 years agoUpdating library version number
Brian Aker [Wed, 16 Sep 2009 19:15:50 +0000 (12:15 -0700)] 
Updating library version number

14 years agopandora-build v0.61
Monty Taylor [Wed, 16 Sep 2009 18:36:35 +0000 (11:36 -0700)] 
pandora-build v0.61

14 years agoBumped the so version.
Monty Taylor [Wed, 16 Sep 2009 09:11:29 +0000 (02:11 -0700)] 
Bumped the so version.

14 years agoFixed a spelling warning that lintian complained about.
Monty Taylor [Wed, 16 Sep 2009 09:07:09 +0000 (02:07 -0700)] 
Fixed a spelling warning that lintian complained about.

14 years agoRemoved hardcoded -rpath from client libs. libtool should be handling this appropriat...
Monty Taylor [Wed, 16 Sep 2009 09:03:12 +0000 (02:03 -0700)] 
Removed hardcoded -rpath from client libs. libtool should be handling this appropriately by itself and also not injecting it when it's not needed.

14 years agopandora-build v0.57
Monty Taylor [Wed, 16 Sep 2009 09:02:26 +0000 (02:02 -0700)] 
pandora-build v0.57

14 years agoMerged trunk.
Monty Taylor [Wed, 16 Sep 2009 08:52:26 +0000 (01:52 -0700)] 
Merged trunk.

14 years agoUpdating for version .32 0.32
Brian Aker [Wed, 16 Sep 2009 07:41:38 +0000 (00:41 -0700)] 
Updating for version .32

14 years agoFix for linger behavior
Brian Aker [Tue, 15 Sep 2009 21:09:32 +0000 (14:09 -0700)] 
Fix for linger behavior

14 years agoMerging Trond.
Brian Aker [Tue, 15 Sep 2009 19:29:08 +0000 (12:29 -0700)] 
Merging Trond.

14 years agoMerge Trond.
Brian Aker [Tue, 15 Sep 2009 19:20:33 +0000 (12:20 -0700)] 
Merge Trond.

14 years agoFix compilation issues with gcc 4.4.1 on macosx
Trond Norbye [Thu, 10 Sep 2009 10:57:11 +0000 (12:57 +0200)] 
Fix compilation issues with gcc 4.4.1 on macosx

14 years agoBug #423114 Programs list the libraries in the wrong order
Trond Norbye [Wed, 2 Sep 2009 11:14:46 +0000 (13:14 +0200)] 
Bug #423114 Programs list the libraries in the wrong order

14 years agoMerge
Brian Aker [Tue, 11 Aug 2009 22:50:26 +0000 (15:50 -0700)] 
Merge

14 years agoFix problems reported by: -Wsign-conversion from gcc 4.4 on Solaris
Trond Norbye [Tue, 11 Aug 2009 18:56:12 +0000 (20:56 +0200)] 
Fix problems reported by: -Wsign-conversion from gcc 4.4 on Solaris

14 years agopandora-build v0.47 - Swapped location of ! for /bin/sh on solaris.
Monty Taylor [Mon, 10 Aug 2009 22:30:29 +0000 (15:30 -0700)] 
pandora-build v0.47 - Swapped location of ! for /bin/sh on solaris.

14 years agoRemoved spurrious old file.
Monty Taylor [Mon, 10 Aug 2009 21:21:46 +0000 (14:21 -0700)] 
Removed spurrious old file.

14 years agopandora-build v0.46 - fixed a plugin system problem when it's not in use.
Monty Taylor [Mon, 10 Aug 2009 21:09:44 +0000 (14:09 -0700)] 
pandora-build v0.46 - fixed a plugin system problem when it's not in use.

14 years agopandora-build v0.45
Monty Taylor [Mon, 10 Aug 2009 21:04:49 +0000 (14:04 -0700)] 
pandora-build v0.45

14 years agoMerge Trond
Brian Aker [Thu, 6 Aug 2009 14:29:25 +0000 (07:29 -0700)] 
Merge Trond

14 years agoAdded files generated by make to .bzrignore, sorted and simplified it to make it...
Trond Norbye [Thu, 6 Aug 2009 08:39:14 +0000 (10:39 +0200)] 
Added files generated by make to .bzrignore, sorted and simplified it to make it easier to read

14 years agoCasting errors, failures on debian jaunty
root [Thu, 6 Aug 2009 01:07:37 +0000 (01:07 +0000)] 
Casting errors, failures on debian jaunty

14 years agoMerged with trond's header file cleanup branch.
Padraig O'Sullivan [Wed, 5 Aug 2009 02:24:40 +0000 (22:24 -0400)] 
Merged with trond's header file cleanup branch.

14 years agoAdded simple exception test to the C++ test case file.
Padraig O'Sullivan [Wed, 5 Aug 2009 02:21:41 +0000 (22:21 -0400)] 
Added simple exception test to the C++ test case file.

14 years agoCorrecting mistake I made in exceptions header file.
Padraig O'Sullivan [Wed, 5 Aug 2009 02:15:44 +0000 (22:15 -0400)] 
Correcting mistake I made in exceptions header file.

14 years agoUpdating the exceptions header file with some slight modifications.
Padraig O'Sullivan [Wed, 5 Aug 2009 02:13:37 +0000 (22:13 -0400)] 
Updating the exceptions header file with some slight modifications.

14 years agoMerge Patrick's exception branch.
Padraig O'Sullivan [Wed, 5 Aug 2009 02:10:34 +0000 (22:10 -0400)] 
Merge Patrick's exception branch.

14 years ago* Added first version of exceptions to the C++ interface
Patrick Galbraith [Tue, 4 Aug 2009 14:30:14 +0000 (10:30 -0400)] 
* Added first version of exceptions to the C++ interface

14 years agoFixed header file layout
Trond Norbye [Tue, 4 Aug 2009 12:59:00 +0000 (14:59 +0200)] 
Fixed header file layout

The user should only include <libmemcached/memcached.h> to use the basic
functionality from libmemcached (even in C++). libmemcached/memcached.h
should include the relevant header files containing the definitions.

14 years agoAdding some new constructors for the C++ api in libmemcached that will prove
Padraig O'Sullivan [Tue, 4 Aug 2009 04:08:55 +0000 (00:08 -0400)] 
Adding some new constructors for the C++ api in libmemcached that will prove
useful to user's of the C++ api. Also, modified the copy constructor and
assignment operator to work correctly. Added a new member to the Memcache
class - a std::string which contains the memcached server list.

14 years agoMerge from trunk.
Padraig O'Sullivan [Tue, 4 Aug 2009 03:22:07 +0000 (23:22 -0400)] 
Merge from trunk.

14 years agoMore C++ updates
Brian Aker [Thu, 30 Jul 2009 06:20:56 +0000 (23:20 -0700)] 
More C++ updates

14 years agoMerge Monty
Brian Aker [Thu, 30 Jul 2009 06:04:28 +0000 (23:04 -0700)] 
Merge Monty

14 years agoForgot to update Makefile.am after renaming the memcached C++ api header
Padraig O'Sullivan [Mon, 27 Jul 2009 02:51:32 +0000 (22:51 -0400)] 
Forgot to update Makefile.am after renaming the memcached C++ api header
file.

14 years agoForgot to add doxygen comments for one function.
Padraig O'Sullivan [Mon, 27 Jul 2009 02:39:31 +0000 (22:39 -0400)] 
Forgot to add doxygen comments for one function.

14 years agoAdded doxygen comments to all methods in the C++ libmemcached API.
Padraig O'Sullivan [Mon, 27 Jul 2009 02:29:44 +0000 (22:29 -0400)] 
Added doxygen comments to all methods in the C++ libmemcached API.

14 years agoAdding some doxygen comments to the C++ api.
Padraig O'Sullivan [Mon, 27 Jul 2009 00:05:32 +0000 (20:05 -0400)] 
Adding some doxygen comments to the C++ api.

14 years agoCorrected setAll methods to take std::map parameter by reference instead of by
Padraig O'Sullivan [Mon, 27 Jul 2009 00:00:50 +0000 (20:00 -0400)] 
Corrected setAll methods to take std::map parameter by reference instead of by
value.

14 years agoUpdated the fetch method in the C++ interface and added doxygen comments to
Padraig O'Sullivan [Sun, 26 Jul 2009 23:54:50 +0000 (19:54 -0400)] 
Updated the fetch method in the C++ interface and added doxygen comments to
it.

14 years agoThis commit contains the following changes:
Padraig O'Sullivan [Sun, 26 Jul 2009 23:46:39 +0000 (19:46 -0400)] 
This commit contains the following changes:

 * added a memcache namespace
 * renamed C++ API header file to *.hpp extension
 * modified the C++ API test cases

14 years agoWhoops...fixed method that was returning an incorrect return type.
Padraig O'Sullivan [Fri, 24 Jul 2009 20:28:04 +0000 (16:28 -0400)] 
Whoops...fixed method that was returning an incorrect return type.

14 years agoAdded some extra error checking to the C++ interface. Basically, just added
Padraig O'Sullivan [Fri, 24 Jul 2009 20:22:00 +0000 (16:22 -0400)] 
Added some extra error checking to the C++ interface. Basically, just added
checks to make sure that keys are not empty strings and that values are not
empty either.

14 years agoMerge Padraig
Brian Aker [Thu, 23 Jul 2009 00:41:42 +0000 (17:41 -0700)] 
Merge Padraig

14 years agoAdding some comments to the C++ interface. Added few small utility functions
Padraig O'Sullivan [Sat, 18 Jul 2009 20:56:38 +0000 (16:56 -0400)] 
Adding some comments to the C++ interface. Added few small utility functions
to the C++ interface also.

14 years agoConverted remaining functions in the C++ interface to take values as
Padraig O'Sullivan [Sat, 18 Jul 2009 20:40:59 +0000 (16:40 -0400)] 
Converted remaining functions in the C++ interface to take values as
std::vector<char> instead of std::string.

14 years agoUpdated the C++ interface to return values as std::vector<char> instead of
Padraig O'Sullivan [Sat, 18 Jul 2009 20:35:03 +0000 (16:35 -0400)] 
Updated the C++ interface to return values as std::vector<char> instead of
std::string. Also updated functions that take values as parameters to take
std::vector<char> instead. Removed the need for an explicit value_length
since we can determine this from the size of the vector.

14 years agoMerged in warning fixes from Padraig from lp:~posulliv/libmemcached/build-fixes
Monty Taylor [Sat, 18 Jul 2009 18:13:03 +0000 (11:13 -0700)] 
Merged in warning fixes from Padraig from lp:~posulliv/libmemcached/build-fixes

14 years agopandora-build v0.22
Monty Taylor [Sat, 18 Jul 2009 18:11:25 +0000 (11:11 -0700)] 
pandora-build v0.22

14 years agoBuild fixes for libmemcached/memcached_io.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:37:40 +0000 (13:37 -0400)] 
Build fixes for libmemcached/memcached_io.c file.

14 years agoBuild fixes for the memcached_hosts.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:11:59 +0000 (13:11 -0400)] 
Build fixes for the memcached_hosts.c file.

14 years agoBuild fixes for the memcached_hash.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:11:32 +0000 (13:11 -0400)] 
Build fixes for the memcached_hash.c file.

14 years agoBuild fixes for the memcached_get.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:11:19 +0000 (13:11 -0400)] 
Build fixes for the memcached_get.c file.

14 years agoBuild fixes for the memcached_flush.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:10:56 +0000 (13:10 -0400)] 
Build fixes for the memcached_flush.c file.

14 years agoBuild fixes for the memcached_dump.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:10:35 +0000 (13:10 -0400)] 
Build fixes for the memcached_dump.c file.

14 years agoBuild fixes for the libmemcached_do.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:10:13 +0000 (13:10 -0400)] 
Build fixes for the libmemcached_do.c file.

14 years agoBuild fixes for the memcached_delete.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:09:59 +0000 (13:09 -0400)] 
Build fixes for the memcached_delete.c file.

14 years agoBuild fixes for the memcached_connect.c file.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:09:41 +0000 (13:09 -0400)] 
Build fixes for the memcached_connect.c file.

14 years agoSmall build fixes to reduce warnings.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:09:22 +0000 (13:09 -0400)] 
Small build fixes to reduce warnings.

14 years agoVarious small build fixes to reduce warnings.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:09:05 +0000 (13:09 -0400)] 
Various small build fixes to reduce warnings.

14 years agoAdding various small build fixes.
Padraig O'Sullivan [Sat, 18 Jul 2009 17:08:37 +0000 (13:08 -0400)] 
Adding various small build fixes.

14 years agoUpdating the C++ test case file after making changes to the C++ interface.
Padraig O'Sullivan [Sat, 18 Jul 2009 16:02:56 +0000 (12:02 -0400)] 
Updating the C++ test case file after making changes to the C++ interface.

14 years agoUpdated C++ interface to have include guards. Also modified the naming
Padraig O'Sullivan [Sat, 18 Jul 2009 15:54:55 +0000 (11:54 -0400)] 
Updated C++ interface to have include guards. Also modified the naming
convention for the functions in the C++ interface. We should use camel case
for the C++ interface.

14 years agoMerge for bug fix from Trond
Brian Aker [Thu, 16 Jul 2009 16:40:59 +0000 (09:40 -0700)] 
Merge for bug fix from Trond

14 years agoBug fix
Brian Aker [Thu, 16 Jul 2009 16:39:34 +0000 (09:39 -0700)] 
Bug fix

14 years agoBug #400182: Ignore unsupported stats 'conn_yields'
Trond Norbye [Thu, 16 Jul 2009 12:11:04 +0000 (14:11 +0200)] 
Bug #400182: Ignore unsupported stats 'conn_yields'

14 years agoBug #400177: Memory leak in replication_mget_test
Trond Norbye [Thu, 16 Jul 2009 11:28:19 +0000 (13:28 +0200)] 
Bug #400177: Memory leak in replication_mget_test

14 years agoRemove plus test for the moment.
Brian Aker [Thu, 16 Jul 2009 00:17:40 +0000 (17:17 -0700)] 
Remove plus test for the moment.

14 years agoUpdates on C++ interface from Padraig.
Brian Aker [Wed, 15 Jul 2009 22:13:28 +0000 (15:13 -0700)] 
Updates on C++ interface from Padraig.

14 years agoModified test system so that "make test" should no properly error.
Brian Aker [Wed, 15 Jul 2009 20:50:38 +0000 (13:50 -0700)] 
Modified test system so that "make test" should no properly error.

14 years agoUpdated the ChangeLog and the .pod document indicating the changes I made to
Padraig O'Sullivan [Wed, 15 Jul 2009 19:31:14 +0000 (15:31 -0400)] 
Updated the ChangeLog and the .pod document indicating the changes I made to
the memcached_get and memcached_get_by_key API calls.