awesomized/libmemcached
15 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.

15 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.

15 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.

15 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.

15 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.

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

15 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.

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

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

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

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

15 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.

15 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.

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

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

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

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

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

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

15 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

15 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

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

15 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

15 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.

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

15 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.

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

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

15 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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

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

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

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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

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

15 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.

15 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.

15 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.

15 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

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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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

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

15 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'

15 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

15 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.

15 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.

15 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.

15 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.

15 years agoFixing the usage of __attribute__(unused) for solaris builds.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:45:15 +0000 (14:45 -0400)] 
Fixing the usage of __attribute__(unused) for solaris builds.

15 years agoSome more updates to the C++ test file to remove solaris warnings.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:40:28 +0000 (14:40 -0400)] 
Some more updates to the C++ test file to remove solaris warnings.

15 years agoUpdating the C++ test file to remove some compiler warnings on Solaris.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:36:27 +0000 (14:36 -0400)] 
Updating the C++ test file to remove some compiler warnings on Solaris.

15 years agoConverted some of the memcached API's to use size_t instead of unsigned int.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:26:30 +0000 (14:26 -0400)] 
Converted some of the memcached API's to use size_t instead of unsigned int.

15 years agoMerge from monty.
Padraig O'Sullivan [Wed, 15 Jul 2009 18:22:50 +0000 (14:22 -0400)] 
Merge from monty.

15 years agoAdded macro files I missed earlier...
Monty Taylor [Thu, 16 Jul 2009 02:58:56 +0000 (19:58 -0700)] 
Added macro files I missed earlier...

15 years agopandora-build v0.20
Monty Taylor [Thu, 16 Jul 2009 02:28:54 +0000 (19:28 -0700)] 
pandora-build v0.20
Turned off inllargeuse warning in sun studio

15 years agoMerge Monty
Brian Aker [Wed, 15 Jul 2009 18:00:22 +0000 (11:00 -0700)] 
Merge Monty

15 years agoFix for gcc 4.4 error.
Brian Aker [Wed, 15 Jul 2009 10:48:15 +0000 (03:48 -0700)] 
Fix for gcc 4.4 error.

15 years agoUpdated with Twitter's memcached_server_error() function.
Brian Aker [Wed, 15 Jul 2009 10:09:06 +0000 (03:09 -0700)] 
Updated with Twitter's memcached_server_error() function.

15 years agoMerged (and removed Malloc for size_t in mget)
Brian Aker [Wed, 15 Jul 2009 09:05:00 +0000 (02:05 -0700)] 
Merged (and removed Malloc for size_t in mget)

15 years agoMerge Monty
Brian Aker [Tue, 14 Jul 2009 20:55:32 +0000 (13:55 -0700)] 
Merge Monty

15 years agoMerge Padraig
Brian Aker [Tue, 14 Jul 2009 19:47:39 +0000 (12:47 -0700)] 
Merge Padraig

15 years agoMerged in a lost patch.
Monty Taylor [Tue, 14 Jul 2009 19:22:55 +0000 (12:22 -0700)] 
Merged in a lost patch.

15 years agoMerged from Padraig.
Monty Taylor [Tue, 14 Jul 2009 19:20:58 +0000 (12:20 -0700)] 
Merged from Padraig.

15 years agoMerged from myself.
Monty Taylor [Tue, 14 Jul 2009 19:18:55 +0000 (12:18 -0700)] 
Merged from myself.

15 years agoFix broken whatis entries.
Monty Taylor [Tue, 14 Jul 2009 19:16:40 +0000 (12:16 -0700)] 
Fix broken whatis entries.

15 years agopandora-build v0.13
Monty Taylor [Tue, 14 Jul 2009 19:12:08 +0000 (12:12 -0700)] 
pandora-build v0.13

15 years agoResolving build issues on Mac OSX. Some variables were shadowing global
Padraig O'Sullivan [Tue, 14 Jul 2009 02:17:13 +0000 (22:17 -0400)] 
Resolving build issues on Mac OSX. Some variables were shadowing global
declarations from included files.

15 years agoMerge trunk.
Padraig O'Sullivan [Sat, 11 Jul 2009 19:11:57 +0000 (15:11 -0400)] 
Merge trunk.

15 years agoModified the fetch() function in the C++ interface to return a bool instead
Padraig O'Sullivan [Sat, 11 Jul 2009 19:10:39 +0000 (15:10 -0400)] 
Modified the fetch() function in the C++ interface to return a bool instead
of a std::string. This makes looping using the fetch() function easier. Also
updated the C++ test cases to test more of the C++ interface's
functionality.

15 years agoAdding the fetch_execute function to the C++ interface.
Padraig O'Sullivan [Sat, 11 Jul 2009 18:41:34 +0000 (14:41 -0400)] 
Adding the fetch_execute function to the C++ interface.

15 years agoUpdating the mget function in the C++ interface to take a std::vector of
Padraig O'Sullivan [Sat, 11 Jul 2009 17:38:57 +0000 (13:38 -0400)] 
Updating the mget function in the C++ interface to take a std::vector of
keys as input instead of an array of char *.