95 Commits

Author SHA1 Message Date
lericson
3dd7ad5fb6 Update cmemcache test to work with newer memcacheds. 1.0-alpha 2009-12-30 14:31:31 +01:00
lericson
fc9c44d05f Update short description. 2009-12-30 14:28:32 +01:00
lericson
45f2c4ceec Streamline README documentation. 2009-12-30 14:26:27 +01:00
lericson
5114dfe786 Prepare 1.0 alpha release. 2009-12-30 13:54:31 +01:00
lericson
59cc691a0d Add support for building statically.
Using --gen-setup, one can create a Setup file which can then be
included in Modules/Setup.local.
2009-12-30 13:54:31 +01:00
lericson
77c2478298 Clean up behaviors and their names.
Among other things, all behaviors are now named with underscores
*always*. Some esoteric behaviors have been removed or masked as well.
2009-12-30 13:54:25 +01:00
lericson
b7d381a160 Make delete_multi return value compatible with python-memcached. 2009-12-13 21:00:39 +01:00
lericson
3e254545a9 Map behavior 'ketama hash' to hasher names. 2009-12-05 21:45:35 +01:00
lericson
02e73a416e Make the more esoteric behaviors be private. 2009-12-05 21:45:03 +01:00
lericson
69f53cb0c1 Remove accidentally left-over debug prints 2009-11-30 10:35:19 +01:00
lericson
1e4930aafe Specify deps via setup.py arguments. 2009-11-30 10:29:51 +01:00
lericson
c5590258fb Implement zlib compression. 2009-11-30 10:29:36 +01:00
lericson
9fec8f59f6 Fix crashes in client allocation and deallocation routines. 2009-11-30 09:15:27 +01:00
lericson
78c3475e96 Prepare release 0.9.2. 2009-11-25 12:03:21 +01:00
lericson
7112d17399 Add notes about 0.9.3 fixes. 2009-11-25 12:02:20 +01:00
lericson
a4e7e2cd75 Fix weird with Client.behaviors.update.
This would manifest itself in pylibmc setting seemingly random (but
consistently so) values for the updated behaviors.

Not sure how or why this works when the previous code didn't.
2009-11-25 12:00:04 +01:00
lericson
0f8c1e442c Correctly check the exception raised on empty server list. 2009-11-22 14:33:00 +01:00
lericson
0c7fcee690 Bump version to 0.9.2. 0.9.2 2009-11-18 20:25:51 +01:00
lericson
f96dbc740c Use thread.get_ident instead of more convoluted way.
This also has the nice side-effect of not making pylibmc unusable on
lte py25.
2009-11-18 20:25:03 +01:00
lericson
43729b93a8 Raise exception when no servers are given. 2009-11-18 20:25:03 +01:00
lericson
7fea129abd Bump version to 0.9.1. 0.9.1 2009-11-18 20:25:03 +01:00
lericson
40dcb628c6 Expose all per-error exception objects. 2009-11-17 17:52:39 +01:00
lericson
0e1c0b8204 Comment out MEMCACHED_E2BIG return code, as it is fairly new. 0.9 2009-11-05 19:54:54 +01:00
lericson
6a9ad740c7 Add note about per-rc exceptions to changelog. 2009-11-05 19:54:19 +01:00
lericson
e61aaac393 Bump version to 0.9. 2009-11-05 19:10:06 +01:00
lericson
1c83ad0de2 Add specialized exception classes.
Useful when you need to catch certain errors like when a key isn't found
during an increment/decrement operation.
2009-11-05 19:09:09 +01:00
lericson
529adbe6bb Add note about empty values as empty strings. 2009-11-05 17:01:30 +01:00
lericson
343286a34b Fix empty memcached value exception bug.
pylibmc would produce non-error exceptions because the memcached value
pointer would be NULL, while the return code would be zero.
2009-10-31 11:22:18 +01:00
lericson
f5b756deb8 Add 0.9 changes. 2009-10-31 11:21:55 +01:00
lericson
0984a270db Added get_stats function.
Thanks to M0shTH8 for inspiration.
2009-10-19 14:09:08 +02:00
lericson
9df4f749fb Prepare release 0.8.2. 0.8.2 2009-09-22 00:31:33 +02:00
lericson
75f3c5d803 Fix tests for pooling helpers. 2009-09-22 00:17:23 +02:00
lericson
213e503ba5 Move cmemcache tests to main test module.
This also adds support for unittests, yay.
2009-09-22 00:16:59 +02:00
lericson
d46bf8760a Add missing `pylibmc-versio.h` to manifest. 2009-09-21 22:46:36 +02:00
lericson
d50c606ec2 Add notes about pooling to the readme. 2009-09-21 17:31:25 +02:00
lericson
8f456cab10 Add notes about the binary protocol to readme. 2009-09-21 17:31:10 +02:00
lericson
c62284ccce Prepare release 0.8.1. 0.8.1 2009-09-21 17:24:53 +02:00
lericson
1a6947828d Add `pooling.rst` to the manifest. 2009-09-21 17:24:19 +02:00
lericson
018a46d80c Add news on the binary support. 2009-09-21 17:22:50 +02:00
lericson
db1aff8129 Add tests for using the binary protocol. 2009-09-21 17:20:53 +02:00
lericson
16e964e571 Add support for the binary protocol.
Also removed two behaviors from public exposure as they're better off
controlled by `_pylibmc`. (USE_UDP and BINARY_PROTOCOL.)
2009-09-21 17:16:43 +02:00
lericson
279544a468 Report pylibmc version in tester. 2009-09-21 16:47:57 +02:00
lericson
a0dcf907c2 Add new behavior names to doctest. 2009-09-21 16:47:42 +02:00
lericson
7b2f9f88dd Simplify behavior setting method. 2009-09-21 16:47:16 +02:00
lericson
7b06340885 Add lots of new behaviors. 2009-09-21 16:43:36 +02:00
lericson
a14a2d7de9 Improve error checking for adding servers. 2009-09-21 16:43:00 +02:00
lericson
aa74c13d84 Improve error checking for increment and decrement. 2009-09-21 16:42:37 +02:00
lericson
91d9e035e9 Bump version to 0.8-dev. 2009-09-21 16:02:07 +02:00
lericson
fb878fe457 Add some URL references. 2009-09-21 15:54:21 +02:00
lericson
eb2ac8744c Increase timeout for timed test a little.
This test could fail on some very slow machines (my server), where
rerunning it would be fine. Hope this brings some predictability to the
test in question.
2009-09-21 15:49:06 +02:00