Skip to content
Browse files

Add the libmemcache HG repository and build it locally.

This should reduce the dependency-hunting nightmare that users experience on
OS X 10.5 and probably a lot of other platforms: Just sync the libmemcached
library and the memcached gem, build and install them together.
  • Loading branch information...
1 parent 9d500b9 commit eebf0e895e5aad16fd54d4b2b222131902d21c64 @antifuchs committed Nov 14, 2008
Showing with 7,770 additions and 1 deletion.
  1. +3 −0 .gitignore
  2. +3 −0 .gitmodules
  3. +148 −0 Manifest
  4. +6 −0 ext/build-libmemcached.sh
  5. +12 −1 ext/extconf.rb
  6. BIN ext/libmemcached-src/.hg/00changelog.i
  7. +1 −0 ext/libmemcached-src/.hg/branch
  8. +7 −0 ext/libmemcached-src/.hg/branch.cache
  9. BIN ext/libmemcached-src/.hg/dirstate
  10. +2 −0 ext/libmemcached-src/.hg/hgrc
  11. +2 −0 ext/libmemcached-src/.hg/requires
  12. BIN ext/libmemcached-src/.hg/store/00changelog.d
  13. BIN ext/libmemcached-src/.hg/store/00changelog.i
  14. BIN ext/libmemcached-src/.hg/store/00manifest.d
  15. BIN ext/libmemcached-src/.hg/store/00manifest.i
  16. BIN ext/libmemcached-src/.hg/store/data/.hgignore.i
  17. BIN ext/libmemcached-src/.hg/store/data/.hgtags.i
  18. BIN ext/libmemcached-src/.hg/store/data/_a_u_t_h_o_r_s.i
  19. BIN ext/libmemcached-src/.hg/store/data/_c_o_p_y_i_n_g.i
  20. BIN ext/libmemcached-src/.hg/store/data/_change_log.i
  21. BIN ext/libmemcached-src/.hg/store/data/_i_n_s_t_a_l_l.i
  22. BIN ext/libmemcached-src/.hg/store/data/_makefile.am.i
  23. BIN ext/libmemcached-src/.hg/store/data/_n_e_w_s.i
  24. BIN ext/libmemcached-src/.hg/store/data/_r_e_a_d_m_e._f_i_r_s_t.i
  25. BIN ext/libmemcached-src/.hg/store/data/_r_e_a_d_m_e.i
  26. BIN ext/libmemcached-src/.hg/store/data/_t_h_a_n_k_s.i
  27. BIN ext/libmemcached-src/.hg/store/data/_t_o_d_o.i
  28. BIN ext/libmemcached-src/.hg/store/data/clients/_makefile.am.i
  29. BIN ext/libmemcached-src/.hg/store/data/clients/client__options.h.i
  30. BIN ext/libmemcached-src/.hg/store/data/clients/execute.c.i
  31. BIN ext/libmemcached-src/.hg/store/data/clients/execute.h.i
  32. BIN ext/libmemcached-src/.hg/store/data/clients/generator.c.i
  33. BIN ext/libmemcached-src/.hg/store/data/clients/generator.h.i
  34. BIN ext/libmemcached-src/.hg/store/data/clients/memcat.c.i
  35. BIN ext/libmemcached-src/.hg/store/data/clients/memcp.c.i
  36. BIN ext/libmemcached-src/.hg/store/data/clients/memerror.c.i
  37. BIN ext/libmemcached-src/.hg/store/data/clients/memflush.c.i
  38. BIN ext/libmemcached-src/.hg/store/data/clients/memrm.c.i
  39. BIN ext/libmemcached-src/.hg/store/data/clients/memslap.c.i
  40. BIN ext/libmemcached-src/.hg/store/data/clients/memstat.c.i
  41. BIN ext/libmemcached-src/.hg/store/data/clients/utilities.c.i
  42. BIN ext/libmemcached-src/.hg/store/data/clients/utilities.h.i
  43. BIN ext/libmemcached-src/.hg/store/data/config/64bit.m4.i
  44. BIN ext/libmemcached-src/.hg/store/data/config/bootstrap.i
  45. BIN ext/libmemcached-src/.hg/store/data/config/byteorder.m4.i
  46. BIN ext/libmemcached-src/.hg/store/data/config/config.guess.i
  47. BIN ext/libmemcached-src/.hg/store/data/config/config.sub.i
  48. BIN ext/libmemcached-src/.hg/store/data/config/debug.m4.i
  49. BIN ext/libmemcached-src/.hg/store/data/config/dtrace.m4.i
  50. BIN ext/libmemcached-src/.hg/store/data/config/install-sh.i
  51. BIN ext/libmemcached-src/.hg/store/data/config/ltmain.sh.i
  52. BIN ext/libmemcached-src/.hg/store/data/config/memcached.m4.i
  53. BIN ext/libmemcached-src/.hg/store/data/config/missing.i
  54. BIN ext/libmemcached-src/.hg/store/data/config/mkinstalldirs.i
  55. BIN ext/libmemcached-src/.hg/store/data/config/pod2man.m4.i
  56. BIN ext/libmemcached-src/.hg/store/data/config/protocol__binary.m4.i
  57. BIN ext/libmemcached-src/.hg/store/data/configure.ac.i
  58. BIN ext/libmemcached-src/.hg/store/data/configure.in.i
  59. BIN ext/libmemcached-src/.hg/store/data/docs/_makefile.am.i
  60. BIN ext/libmemcached-src/.hg/store/data/docs/libmemcached.pod.i
  61. BIN ext/libmemcached-src/.hg/store/data/docs/libmemcached__examples.pod.i
  62. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__auto.pod.i
  63. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__behavior.pod.i
  64. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__callback.pod.i
  65. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__create.pod.i
  66. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__delete.pod.i
  67. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__flush.pod.i
  68. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__get.pod.i
  69. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__quit.pod.i
  70. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__result__st.pod.i
  71. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__server__st.pod.i
  72. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__servers.pod.i
  73. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__set.pod.i
  74. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__stats.pod.i
  75. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__strerror.pod.i
  76. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__verbosity.pod.i
  77. BIN ext/libmemcached-src/.hg/store/data/docs/memcached__version.pod.i
  78. BIN ext/libmemcached-src/.hg/store/data/docs/memcat.pod.i
  79. BIN ext/libmemcached-src/.hg/store/data/docs/memcp.pod.i
  80. BIN ext/libmemcached-src/.hg/store/data/docs/memerror.pod.i
  81. BIN ext/libmemcached-src/.hg/store/data/docs/memflush.pod.i
  82. BIN ext/libmemcached-src/.hg/store/data/docs/memrm.pod.i
  83. BIN ext/libmemcached-src/.hg/store/data/docs/memslap.pod.i
  84. BIN ext/libmemcached-src/.hg/store/data/docs/memstat.pod.i
  85. BIN ext/libmemcached-src/.hg/store/data/include/_makefile.am.i
  86. BIN ext/libmemcached-src/.hg/store/data/include/memcached.h.i
  87. BIN ext/libmemcached-src/.hg/store/data/include/memcached.hh.i
  88. BIN ext/libmemcached-src/.hg/store/data/lib/_makefile.am.i
  89. BIN ext/libmemcached-src/.hg/store/data/lib/common.h.i
  90. BIN ext/libmemcached-src/.hg/store/data/lib/crc.c.i
  91. BIN ext/libmemcached-src/.hg/store/data/lib/hsieh__hash.c.i
  92. BIN ext/libmemcached-src/.hg/store/data/lib/libmemcached__probes.d.i
  93. BIN ext/libmemcached-src/.hg/store/data/lib/libmemcached__probes.h.i
  94. BIN ext/libmemcached-src/.hg/store/data/lib/md5.c.i
  95. BIN ext/libmemcached-src/.hg/store/data/lib/memcached.c.i
  96. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__auto.c.i
  97. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__behavior.c.i
  98. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__callback.c.i
  99. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__connect.c.i
  100. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__delete.c.i
  101. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__do.c.i
  102. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__fetch.c.i
  103. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__fetch__execute.c.i
  104. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__flush.c.i
  105. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__get.c.i
  106. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__hash.c.i
  107. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__hosts.c.i
  108. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__io.c.i
  109. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__io.h.i
  110. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__key.c.i
  111. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__mget.c.i
  112. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__multistorage.c.i
  113. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__parse.c.i
  114. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__quit.c.i
  115. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__response.c.i
  116. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__result.c.i
  117. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__server.c.i
  118. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__stats.c.i
  119. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__storage.c.i
  120. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__strerror.c.i
  121. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__string.c.i
  122. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__verbosity.c.i
  123. BIN ext/libmemcached-src/.hg/store/data/lib/memcached__version.c.i
  124. BIN ext/libmemcached-src/.hg/store/data/lib/memcachedplus.cpp.i
  125. BIN ext/libmemcached-src/.hg/store/data/lib/murmur__hash.c.i
  126. BIN ext/libmemcached-src/.hg/store/data/libmemcached/_makefile.am.i
  127. BIN ext/libmemcached-src/.hg/store/data/libmemcached/byteorder.c.i
  128. BIN ext/libmemcached-src/.hg/store/data/libmemcached/common.h.i
  129. BIN ext/libmemcached-src/.hg/store/data/libmemcached/crc.c.i
  130. BIN ext/libmemcached-src/.hg/store/data/libmemcached/hsieh__hash.c.i
  131. BIN ext/libmemcached-src/.hg/store/data/libmemcached/jenkins__hash.c.i
  132. BIN ext/libmemcached-src/.hg/store/data/libmemcached/libmemcached__probes.d.i
  133. BIN ext/libmemcached-src/.hg/store/data/libmemcached/libmemcached__probes.h.i
  134. BIN ext/libmemcached-src/.hg/store/data/libmemcached/md5.c.i
  135. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached.c.i
  136. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached.h.i
  137. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached.hh.i
  138. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached/_r_e_a_d_m_e.txt.i
  139. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached/protocol__binary.h.i
  140. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__auto.c.i
  141. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__behavior.c.i
  142. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__callback.c.i
  143. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__connect.c.i
  144. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__constants.h.i
  145. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__delete.c.i
  146. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__do.c.i
  147. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__fetch.c.i
  148. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__fetch__execute.c.i
  149. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__flush.c.i
  150. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__get.c.i
  151. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__get.h.i
  152. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__hash.c.i
  153. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__hosts.c.i
  154. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__io.c.i
  155. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__io.h.i
  156. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__key.c.i
  157. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__parse.c.i
  158. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__purge.c.i
  159. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__quit.c.i
  160. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__response.c.i
  161. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__result.c.i
  162. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__result.h.i
  163. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__server.c.i
  164. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__server.h.i
  165. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__stats.c.i
  166. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__storage.c.i
  167. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__storage.h.i
  168. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__strerror.c.i
  169. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__string.c.i
  170. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__string.h.i
  171. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__types.h.i
  172. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__verbosity.c.i
  173. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__version.c.i
  174. BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__watchpoint.h.i
  175. BIN ext/libmemcached-src/.hg/store/data/libmemcached/murmur__hash.c.i
  176. BIN ext/libmemcached-src/.hg/store/data/src/_makefile.am.i
  177. BIN ext/libmemcached-src/.hg/store/data/src/client__options.h.i
  178. BIN ext/libmemcached-src/.hg/store/data/src/execute.c.i
  179. BIN ext/libmemcached-src/.hg/store/data/src/execute.h.i
  180. BIN ext/libmemcached-src/.hg/store/data/src/generator.c.i
  181. BIN ext/libmemcached-src/.hg/store/data/src/generator.h.i
  182. BIN ext/libmemcached-src/.hg/store/data/src/main.c.i
  183. BIN ext/libmemcached-src/.hg/store/data/src/memcat.c.i
  184. BIN ext/libmemcached-src/.hg/store/data/src/memcp.c.i
  185. BIN ext/libmemcached-src/.hg/store/data/src/memerror.c.i
  186. BIN ext/libmemcached-src/.hg/store/data/src/memflush.c.i
  187. BIN ext/libmemcached-src/.hg/store/data/src/memrm.c.i
  188. BIN ext/libmemcached-src/.hg/store/data/src/memslap.c.i
  189. BIN ext/libmemcached-src/.hg/store/data/src/memstat.c.i
  190. BIN ext/libmemcached-src/.hg/store/data/src/utilities.c.i
  191. BIN ext/libmemcached-src/.hg/store/data/src/utilities.h.i
  192. BIN ext/libmemcached-src/.hg/store/data/support/_makefile.am.i
  193. BIN ext/libmemcached-src/.hg/store/data/support/libmemcached.pc.in.i
  194. BIN ext/libmemcached-src/.hg/store/data/support/libmemcached.spec.i
  195. BIN ext/libmemcached-src/.hg/store/data/support/libmemcached.spec.in.i
  196. BIN ext/libmemcached-src/.hg/store/data/support/set__benchmark.sh.i
  197. BIN ext/libmemcached-src/.hg/store/data/tests/_makefile.am.i
  198. BIN ext/libmemcached-src/.hg/store/data/tests/atomsmasher.c.i
  199. BIN ext/libmemcached-src/.hg/store/data/tests/function.c.i
  200. BIN ext/libmemcached-src/.hg/store/data/tests/ketama__test__cases.h.i
  201. BIN ext/libmemcached-src/.hg/store/data/tests/output.res.i
  202. BIN ext/libmemcached-src/.hg/store/data/tests/output2.res.i
  203. BIN ext/libmemcached-src/.hg/store/data/tests/plus.cpp.i
  204. BIN ext/libmemcached-src/.hg/store/data/tests/r/memcat.res.i
  205. BIN ext/libmemcached-src/.hg/store/data/tests/r/memcp.res.i
  206. BIN ext/libmemcached-src/.hg/store/data/tests/r/memrm.res.i
  207. BIN ext/libmemcached-src/.hg/store/data/tests/r/memslap.res.i
  208. BIN ext/libmemcached-src/.hg/store/data/tests/r/memstat.res.i
  209. BIN ext/libmemcached-src/.hg/store/data/tests/server.c.i
  210. BIN ext/libmemcached-src/.hg/store/data/tests/server.h.i
  211. BIN ext/libmemcached-src/.hg/store/data/tests/start.c.i
  212. BIN ext/libmemcached-src/.hg/store/data/tests/t/memcat.test.i
  213. BIN ext/libmemcached-src/.hg/store/data/tests/t/memcp.test.i
  214. BIN ext/libmemcached-src/.hg/store/data/tests/t/memrm.test.i
  215. BIN ext/libmemcached-src/.hg/store/data/tests/t/memslap.test.i
  216. BIN ext/libmemcached-src/.hg/store/data/tests/t/memstat.test.i
  217. BIN ext/libmemcached-src/.hg/store/data/tests/test.c.i
  218. BIN ext/libmemcached-src/.hg/store/data/tests/test.h.i
  219. BIN ext/libmemcached-src/.hg/store/data/tests/udp.c.i
  220. BIN ext/libmemcached-src/.hg/store/undo
  221. +1 −0 ext/libmemcached-src/.hg/undo.branch
  222. 0 ext/libmemcached-src/.hg/undo.dirstate
  223. +74 −0 ext/libmemcached-src/.hgignore
  224. +20 −0 ext/libmemcached-src/.hgtags
  225. +6 −0 ext/libmemcached-src/AUTHORS
  226. +32 −0 ext/libmemcached-src/COPYING
  227. +253 −0 ext/libmemcached-src/ChangeLog
  228. +18 −0 ext/libmemcached-src/Makefile.am
  229. +1 −0 ext/libmemcached-src/NEWS
  230. +34 −0 ext/libmemcached-src/README
  231. +30 −0 ext/libmemcached-src/README.FIRST
  232. +12 −0 ext/libmemcached-src/THANKS
  233. +11 −0 ext/libmemcached-src/TODO
  234. +60 −0 ext/libmemcached-src/clients/Makefile.am
  235. +28 −0 ext/libmemcached-src/clients/client_options.h
  236. +63 −0 ext/libmemcached-src/clients/execute.c
  237. +5 −0 ext/libmemcached-src/clients/execute.h
  238. +71 −0 ext/libmemcached-src/clients/generator.c
  239. +20 −0 ext/libmemcached-src/clients/generator.h
  240. +158 −0 ext/libmemcached-src/clients/memcat.c
  241. +233 −0 ext/libmemcached-src/clients/memcp.c
  242. +79 −0 ext/libmemcached-src/clients/memerror.c
  243. +123 −0 ext/libmemcached-src/clients/memflush.c
  244. +140 −0 ext/libmemcached-src/clients/memrm.c
  245. +389 −0 ext/libmemcached-src/clients/memslap.c
  246. +148 −0 ext/libmemcached-src/clients/memstat.c
  247. +109 −0 ext/libmemcached-src/clients/utilities.c
  248. +30 −0 ext/libmemcached-src/clients/utilities.h
  249. +31 −0 ext/libmemcached-src/config/64bit.m4
  250. +101 −0 ext/libmemcached-src/config/bootstrap
  251. +11 −0 ext/libmemcached-src/config/byteorder.m4
  252. +20 −0 ext/libmemcached-src/config/debug.m4
  253. +20 −0 ext/libmemcached-src/config/dtrace.m4
  254. +5 −0 ext/libmemcached-src/config/pod2man.m4
  255. +17 −0 ext/libmemcached-src/config/protocol_binary.m4
  256. +86 −0 ext/libmemcached-src/configure.ac
  257. +323 −0 ext/libmemcached-src/docs/Makefile.am
  258. +127 −0 ext/libmemcached-src/docs/libmemcached.pod
  259. +115 −0 ext/libmemcached-src/docs/libmemcached_examples.pod
  260. +59 −0 ext/libmemcached-src/docs/memcached_auto.pod
  261. +189 −0 ext/libmemcached-src/docs/memcached_behavior.pod
  262. +132 −0 ext/libmemcached-src/docs/memcached_callback.pod
  263. +59 −0 ext/libmemcached-src/docs/memcached_create.pod
  264. +54 −0 ext/libmemcached-src/docs/memcached_delete.pod
  265. +46 −0 ext/libmemcached-src/docs/memcached_flush.pod
  266. +127 −0 ext/libmemcached-src/docs/memcached_get.pod
  267. +47 −0 ext/libmemcached-src/docs/memcached_quit.pod
  268. +110 −0 ext/libmemcached-src/docs/memcached_result_st.pod
  269. +65 −0 ext/libmemcached-src/docs/memcached_server_st.pod
  270. +89 −0 ext/libmemcached-src/docs/memcached_servers.pod
  271. +169 −0 ext/libmemcached-src/docs/memcached_set.pod
  272. +80 −0 ext/libmemcached-src/docs/memcached_stats.pod
  273. +46 −0 ext/libmemcached-src/docs/memcached_strerror.pod
  274. +41 −0 ext/libmemcached-src/docs/memcached_verbosity.pod
  275. +56 −0 ext/libmemcached-src/docs/memcached_version.pod
  276. +37 −0 ext/libmemcached-src/docs/memcat.pod
  277. +40 −0 ext/libmemcached-src/docs/memcp.pod
  278. +30 −0 ext/libmemcached-src/docs/memerror.pod
  279. +35 −0 ext/libmemcached-src/docs/memflush.pod
  280. +34 −0 ext/libmemcached-src/docs/memrm.pod
  281. +33 −0 ext/libmemcached-src/docs/memslap.pod
  282. +35 −0 ext/libmemcached-src/docs/memstat.pod
  283. +89 −0 ext/libmemcached-src/libmemcached/Makefile.am
  284. +29 −0 ext/libmemcached-src/libmemcached/byteorder.c
  285. +132 −0 ext/libmemcached-src/libmemcached/common.h
  286. +87 −0 ext/libmemcached-src/libmemcached/crc.c
  287. +65 −0 ext/libmemcached-src/libmemcached/hsieh_hash.c
  288. +202 −0 ext/libmemcached-src/libmemcached/jenkins_hash.c
  289. +24 −0 ext/libmemcached-src/libmemcached/libmemcached_probes.d
  290. +206 −0 ext/libmemcached-src/libmemcached/libmemcached_probes.h
  291. +352 −0 ext/libmemcached-src/libmemcached/md5.c
  292. +141 −0 ext/libmemcached-src/libmemcached/memcached.c
  293. +201 −0 ext/libmemcached-src/libmemcached/memcached.h
  294. +183 −0 ext/libmemcached-src/libmemcached/memcached.hh
  295. +7 −0 ext/libmemcached-src/libmemcached/memcached/README.txt
  296. +351 −0 ext/libmemcached-src/libmemcached/memcached/protocol_binary.h
  297. +140 −0 ext/libmemcached-src/libmemcached/memcached_auto.c
  298. +252 −0 ext/libmemcached-src/libmemcached/memcached_behavior.c
  299. +170 −0 ext/libmemcached-src/libmemcached/memcached_callback.c
  300. +338 −0 ext/libmemcached-src/libmemcached/memcached_connect.c
Sorry, we could not display the entire diff because too many files (360) changed.
View
3 .gitignore
@@ -0,0 +1,3 @@
+pkg/*
+ext/libmemcache.*
+ext/libmemcache/*
View
3 .gitmodules
@@ -0,0 +1,3 @@
+[submodule "ext/memcache"]
+ path = ext/memcache
+ url = http://consoleninja.net/code/memcached/memcached.git
View
148 Manifest
@@ -1,7 +1,155 @@
BENCHMARKS
CHANGELOG
COMPATIBILITY
+ext/build-libmemcached.sh
ext/extconf.rb
+ext/libmemcached-src
+ext/libmemcached-src/AUTHORS
+ext/libmemcached-src/ChangeLog
+ext/libmemcached-src/clients
+ext/libmemcached-src/clients/client_options.h
+ext/libmemcached-src/clients/execute.c
+ext/libmemcached-src/clients/execute.h
+ext/libmemcached-src/clients/generator.c
+ext/libmemcached-src/clients/generator.h
+ext/libmemcached-src/clients/Makefile.am
+ext/libmemcached-src/clients/memcat.c
+ext/libmemcached-src/clients/memcp.c
+ext/libmemcached-src/clients/memerror.c
+ext/libmemcached-src/clients/memflush.c
+ext/libmemcached-src/clients/memrm.c
+ext/libmemcached-src/clients/memslap.c
+ext/libmemcached-src/clients/memstat.c
+ext/libmemcached-src/clients/utilities.c
+ext/libmemcached-src/clients/utilities.h
+ext/libmemcached-src/config
+ext/libmemcached-src/config/64bit.m4
+ext/libmemcached-src/config/bootstrap
+ext/libmemcached-src/config/byteorder.m4
+ext/libmemcached-src/config/debug.m4
+ext/libmemcached-src/config/dtrace.m4
+ext/libmemcached-src/config/pod2man.m4
+ext/libmemcached-src/config/protocol_binary.m4
+ext/libmemcached-src/configure.ac
+ext/libmemcached-src/COPYING
+ext/libmemcached-src/docs
+ext/libmemcached-src/docs/libmemcached.pod
+ext/libmemcached-src/docs/libmemcached_examples.pod
+ext/libmemcached-src/docs/Makefile.am
+ext/libmemcached-src/docs/memcached_auto.pod
+ext/libmemcached-src/docs/memcached_behavior.pod
+ext/libmemcached-src/docs/memcached_callback.pod
+ext/libmemcached-src/docs/memcached_create.pod
+ext/libmemcached-src/docs/memcached_delete.pod
+ext/libmemcached-src/docs/memcached_flush.pod
+ext/libmemcached-src/docs/memcached_get.pod
+ext/libmemcached-src/docs/memcached_quit.pod
+ext/libmemcached-src/docs/memcached_result_st.pod
+ext/libmemcached-src/docs/memcached_server_st.pod
+ext/libmemcached-src/docs/memcached_servers.pod
+ext/libmemcached-src/docs/memcached_set.pod
+ext/libmemcached-src/docs/memcached_stats.pod
+ext/libmemcached-src/docs/memcached_strerror.pod
+ext/libmemcached-src/docs/memcached_verbosity.pod
+ext/libmemcached-src/docs/memcached_version.pod
+ext/libmemcached-src/docs/memcat.pod
+ext/libmemcached-src/docs/memcp.pod
+ext/libmemcached-src/docs/memerror.pod
+ext/libmemcached-src/docs/memflush.pod
+ext/libmemcached-src/docs/memrm.pod
+ext/libmemcached-src/docs/memslap.pod
+ext/libmemcached-src/docs/memstat.pod
+ext/libmemcached-src/libmemcached
+ext/libmemcached-src/libmemcached/byteorder.c
+ext/libmemcached-src/libmemcached/common.h
+ext/libmemcached-src/libmemcached/crc.c
+ext/libmemcached-src/libmemcached/hsieh_hash.c
+ext/libmemcached-src/libmemcached/jenkins_hash.c
+ext/libmemcached-src/libmemcached/libmemcached_probes.d
+ext/libmemcached-src/libmemcached/libmemcached_probes.h
+ext/libmemcached-src/libmemcached/Makefile.am
+ext/libmemcached-src/libmemcached/md5.c
+ext/libmemcached-src/libmemcached/memcached
+ext/libmemcached-src/libmemcached/memcached/protocol_binary.h
+ext/libmemcached-src/libmemcached/memcached/README.txt
+ext/libmemcached-src/libmemcached/memcached.c
+ext/libmemcached-src/libmemcached/memcached.h
+ext/libmemcached-src/libmemcached/memcached.hh
+ext/libmemcached-src/libmemcached/memcached_auto.c
+ext/libmemcached-src/libmemcached/memcached_behavior.c
+ext/libmemcached-src/libmemcached/memcached_callback.c
+ext/libmemcached-src/libmemcached/memcached_connect.c
+ext/libmemcached-src/libmemcached/memcached_constants.h
+ext/libmemcached-src/libmemcached/memcached_delete.c
+ext/libmemcached-src/libmemcached/memcached_do.c
+ext/libmemcached-src/libmemcached/memcached_fetch.c
+ext/libmemcached-src/libmemcached/memcached_fetch_execute.c
+ext/libmemcached-src/libmemcached/memcached_flush.c
+ext/libmemcached-src/libmemcached/memcached_get.c
+ext/libmemcached-src/libmemcached/memcached_get.h
+ext/libmemcached-src/libmemcached/memcached_hash.c
+ext/libmemcached-src/libmemcached/memcached_hosts.c
+ext/libmemcached-src/libmemcached/memcached_io.c
+ext/libmemcached-src/libmemcached/memcached_io.h
+ext/libmemcached-src/libmemcached/memcached_key.c
+ext/libmemcached-src/libmemcached/memcached_parse.c
+ext/libmemcached-src/libmemcached/memcached_purge.c
+ext/libmemcached-src/libmemcached/memcached_quit.c
+ext/libmemcached-src/libmemcached/memcached_response.c
+ext/libmemcached-src/libmemcached/memcached_result.c
+ext/libmemcached-src/libmemcached/memcached_result.h
+ext/libmemcached-src/libmemcached/memcached_server.c
+ext/libmemcached-src/libmemcached/memcached_server.h
+ext/libmemcached-src/libmemcached/memcached_stats.c
+ext/libmemcached-src/libmemcached/memcached_storage.c
+ext/libmemcached-src/libmemcached/memcached_storage.h
+ext/libmemcached-src/libmemcached/memcached_strerror.c
+ext/libmemcached-src/libmemcached/memcached_string.c
+ext/libmemcached-src/libmemcached/memcached_string.h
+ext/libmemcached-src/libmemcached/memcached_types.h
+ext/libmemcached-src/libmemcached/memcached_verbosity.c
+ext/libmemcached-src/libmemcached/memcached_version.c
+ext/libmemcached-src/libmemcached/memcached_watchpoint.h
+ext/libmemcached-src/libmemcached/murmur_hash.c
+ext/libmemcached-src/Makefile.am
+ext/libmemcached-src/NEWS
+ext/libmemcached-src/README
+ext/libmemcached-src/README.FIRST
+ext/libmemcached-src/support
+ext/libmemcached-src/support/libmemcached.pc.in
+ext/libmemcached-src/support/libmemcached.spec.in
+ext/libmemcached-src/support/Makefile.am
+ext/libmemcached-src/support/set_benchmark.sh
+ext/libmemcached-src/tests
+ext/libmemcached-src/tests/atomsmasher.c
+ext/libmemcached-src/tests/function.c
+ext/libmemcached-src/tests/ketama_test_cases.h
+ext/libmemcached-src/tests/Makefile.am
+ext/libmemcached-src/tests/output.res
+ext/libmemcached-src/tests/output2.res
+ext/libmemcached-src/tests/plus.cpp
+ext/libmemcached-src/tests/r
+ext/libmemcached-src/tests/r/memcat.res
+ext/libmemcached-src/tests/r/memcp.res
+ext/libmemcached-src/tests/r/memrm.res
+ext/libmemcached-src/tests/r/memslap.res
+ext/libmemcached-src/tests/r/memstat.res
+ext/libmemcached-src/tests/server.c
+ext/libmemcached-src/tests/server.h
+ext/libmemcached-src/tests/start.c
+ext/libmemcached-src/tests/t
+ext/libmemcached-src/tests/t/memcat.test
+ext/libmemcached-src/tests/t/memcp.test
+ext/libmemcached-src/tests/t/memrm.test
+ext/libmemcached-src/tests/t/memslap.test
+ext/libmemcached-src/tests/t/memstat.test
+ext/libmemcached-src/tests/test.c
+ext/libmemcached-src/tests/test.h
+ext/libmemcached-src/tests/udp.c
+ext/libmemcached-src/THANKS
+ext/libmemcached-src/TODO
+ext/pkgconfig
+ext/pkgconfig/libmemcached.pc
ext/rlibmemcached.i
ext/rlibmemcached_wrap.c
lib/memcached/behaviors.rb
View
6 ext/build-libmemcached.sh
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+cd libmemcached-src
+./config/bootstrap
+./configure --prefix=`pwd`/unused --libdir=`pwd`/.. --includedir=`pwd`/..
+make && make install
View
13 ext/extconf.rb
@@ -1,9 +1,20 @@
require 'mkmf'
+additional_include=""
+additional_libdir=""
+
+unless ENV['NO_MEMCACHE_BUILD']
+ puts "building memcache"
+ base=File.dirname(__FILE__)
+ $stdout.write `cd #{base} && ./build-libmemcached.sh`
+ additional_include=" -I./libmemcache-include"
+ additional_libdir=" -L./libmemcache-lib"
+end
+
if ENV['SWIG']
puts "running SWIG"
- $stdout.write `swig -I/opt/local/include -ruby -autorename rlibmemcached.i`
+ $stdout.write `swig -I/opt/local/include #{additional_include} #{additional_libdir} -ruby -autorename rlibmemcached.i`
end
if `uname -sp` == "Darwin i386\n"
View
BIN ext/libmemcached-src/.hg/00changelog.i
Binary file not shown.
View
1 ext/libmemcached-src/.hg/branch
@@ -0,0 +1 @@
+default
View
7 ext/libmemcached-src/.hg/branch.cache
@@ -0,0 +1,7 @@
+562ac6bf346adb7357115df127f02cb0284ffdde 568
+062ae7f4824e35cd76479ad6abea25a37b2c795b binary
+831dd42370aa27144b36041b15e3202c5cab3266 multi
+562ac6bf346adb7357115df127f02cb0284ffdde default
+9cbb58b05ba3f9ba7935dd810f32cb108fd9a51d head
+066ab7b9a349b4c2d416760437b370311d8da23a replication
+6169d8d15cd1e616b82dab88c73c20ffdd82bf41 timbunce
View
BIN ext/libmemcached-src/.hg/dirstate
Binary file not shown.
View
2 ext/libmemcached-src/.hg/hgrc
@@ -0,0 +1,2 @@
+[paths]
+default = http://hg.tangent.org/libmemcached/
View
2 ext/libmemcached-src/.hg/requires
@@ -0,0 +1,2 @@
+revlogv1
+store
View
BIN ext/libmemcached-src/.hg/store/00changelog.d
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/00changelog.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/00manifest.d
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/00manifest.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/.hgignore.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/.hgtags.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_a_u_t_h_o_r_s.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_c_o_p_y_i_n_g.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_change_log.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_i_n_s_t_a_l_l.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_makefile.am.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_n_e_w_s.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_r_e_a_d_m_e._f_i_r_s_t.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_r_e_a_d_m_e.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_t_h_a_n_k_s.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/_t_o_d_o.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/_makefile.am.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/client__options.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/execute.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/execute.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/generator.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/generator.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/memcat.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/memcp.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/memerror.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/memflush.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/memrm.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/memslap.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/memstat.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/utilities.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/clients/utilities.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/64bit.m4.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/bootstrap.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/byteorder.m4.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/config.guess.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/config.sub.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/debug.m4.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/dtrace.m4.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/install-sh.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/ltmain.sh.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/memcached.m4.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/missing.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/mkinstalldirs.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/pod2man.m4.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/config/protocol__binary.m4.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/configure.ac.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/configure.in.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/_makefile.am.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/libmemcached.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/libmemcached__examples.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__auto.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__behavior.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__callback.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__create.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__delete.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__flush.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__get.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__quit.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__result__st.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__server__st.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__servers.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__set.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__stats.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__strerror.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__verbosity.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcached__version.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcat.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memcp.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memerror.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memflush.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memrm.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memslap.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/docs/memstat.pod.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/include/_makefile.am.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/include/memcached.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/include/memcached.hh.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/_makefile.am.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/common.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/crc.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/hsieh__hash.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/libmemcached__probes.d.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/libmemcached__probes.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/md5.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__auto.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__behavior.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__callback.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__connect.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__delete.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__do.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__fetch.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__fetch__execute.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__flush.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__get.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__hash.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__hosts.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__io.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__io.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__key.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__mget.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__multistorage.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__parse.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__quit.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__response.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__result.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__server.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__stats.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__storage.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__strerror.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__string.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__verbosity.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcached__version.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/memcachedplus.cpp.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/lib/murmur__hash.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/_makefile.am.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/byteorder.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/common.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/crc.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/hsieh__hash.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/jenkins__hash.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/libmemcached__probes.d.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/libmemcached__probes.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/md5.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached.hh.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached/_r_e_a_d_m_e.txt.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached/protocol__binary.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__auto.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__behavior.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__callback.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__connect.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__constants.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__delete.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__do.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__fetch.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__fetch__execute.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__flush.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__get.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__get.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__hash.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__hosts.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__io.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__io.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__key.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__parse.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__purge.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__quit.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__response.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__result.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__result.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__server.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__server.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__stats.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__storage.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__storage.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__strerror.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__string.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__string.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__types.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__verbosity.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__version.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/memcached__watchpoint.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/libmemcached/murmur__hash.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/_makefile.am.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/client__options.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/execute.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/execute.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/generator.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/generator.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/main.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/memcat.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/memcp.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/memerror.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/memflush.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/memrm.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/memslap.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/memstat.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/utilities.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/src/utilities.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/support/_makefile.am.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/support/libmemcached.pc.in.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/support/libmemcached.spec.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/support/libmemcached.spec.in.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/support/set__benchmark.sh.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/_makefile.am.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/atomsmasher.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/function.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/ketama__test__cases.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/output.res.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/output2.res.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/plus.cpp.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/r/memcat.res.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/r/memcp.res.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/r/memrm.res.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/r/memslap.res.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/r/memstat.res.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/server.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/server.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/start.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/t/memcat.test.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/t/memcp.test.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/t/memrm.test.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/t/memslap.test.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/t/memstat.test.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/test.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/test.h.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/data/tests/udp.c.i
Binary file not shown.
View
BIN ext/libmemcached-src/.hg/store/undo
Binary file not shown.
View
1 ext/libmemcached-src/.hg/undo.branch
@@ -0,0 +1 @@
+default
View
0 ext/libmemcached-src/.hg/undo.dirstate
No changes.
View
74 ext/libmemcached-src/.hgignore
@@ -0,0 +1,74 @@
+# Exact paths to config junk
+^INSTALL$
+^aclocal.m4$
+^configure$
+^config/(config.guess|config.sub|depcomp|install-sh|ltmain.sh|missing)$
+^config.(log|status)$
+^libtool$
+^autom4te.cache$
+^libmemcached/(libmemcached_config.h(.in)?|stamp-h1)$
+^libmemcached/libmemcached_config.h.in$
+^stamp-h1$
+^lib/libmemcachedPlus.la$
+^tests/testplus$
+
+
+# Build artifacts
+^libmemcached/libmemcached.la$
+^clients/mem(cat|cp|flush|rm|slap|stat|error)$
+^tests/testapp$
+.(deps|libs)/*$
+.cmp$
+autom4te.cache/*$
+.(gz|cmp|tar|rpm|srpm)$
+support/libmemcached.pc$
+support/libmemcached.spec$
+docs/pod2htmd.tmp
+docs/pod2htmi.tmp
+libmemcached/memcachedplus.loT
+tests/atomsmasher
+tests/startservers
+tests/stopservers
+tests/udptest
+
+
+
+Makefile(.in)?$
+.(deps|libs)$
+\.l?o$
+
+# Generated man files
+\.1$
+\.3$
+
+# Merged files
+\.orig$
+
+#HTML files
+docs/libmemcached/default.css
+docs/libmemcached/memcached.html
+docs/libmemcached/memcached_auto.html
+docs/libmemcached/memcached_behavior.html
+docs/libmemcached/memcached_callback.html
+docs/libmemcached/memcached_create.html
+docs/libmemcached/memcached_delete.html
+docs/libmemcached/memcached_examples.html
+docs/libmemcached/memcached_flush.html
+docs/libmemcached/memcached_get.html
+docs/libmemcached/memcached_quit.html
+docs/libmemcached/memcached_result_st.html
+docs/libmemcached/memcached_server_st.html
+docs/libmemcached/memcached_servers.html
+docs/libmemcached/memcached_set.html
+docs/libmemcached/memcached_stats.html
+docs/libmemcached/memcached_strerror.html
+docs/libmemcached/memcached_verbosity.html
+docs/libmemcached/memcached_version.html
+docs/libmemcached/memcat.html
+docs/libmemcached/memcp.html
+docs/libmemcached/memerror.html
+docs/libmemcached/memflush.html
+docs/libmemcached/memrm.html
+docs/libmemcached/memslap.html
+docs/libmemcached/memstat.html
+
View
20 ext/libmemcached-src/.hgtags
@@ -0,0 +1,20 @@
+72b98d8bc30ed2f88fa317cdf6880f90b592b00d 0.2
+51d5149b2db0ad224b588db3a73297bb0d4d11d2 0.3
+45bd6abd7821ee9d2ee090788691a21387f69c79 0.4
+76a1ddcb86f3bb3c6ede6057acfa96ac963863b7 0.5
+3a8499f79e65086967fee72676aa4d38e47f0d99 0_7
+0e18bfea2fef5162b42f636afefe81816eb40fde 0.8
+3edd680dcb59aaf45389f3e12de72972ae765df1 0.10
+8d16fe8ee085aef545b779bac27c2e8404ba2771 .11
+e550601786217c5fcb740da61767f8833dede150 0.13
+8763368afb473418e15a16639d937cdf2c21d8c6 0.14
+40f415f71362190581f7d14ebcebe9a010e85d9b 0.15
+d3a0f78ca6124dabff3df4411724fdbfe64c370f 0.16
+bd5bdc38d529706753d843519e9e0dd3d6f58986 0.17
+d7bc34e6a9e0222e3444b95b22591cb40e3a1318 0.18
+ea32e958361ce1889815213d85dcbe1d89131356 0.19
+9f8a8e3976c5987474e2535ef82c6766546fdf3a .20
+fe3c45a3a97f52f070bdd20abd890a38591df035 0.21
+55e4cd5cda1db97871ff9cbe13878b25231f7260 0.22
+58900f15f36b2398aa807dc7a8ae81937b7c73c8 .23
+86b581b9fdb84691a1cd7633d3ad7a2c67b7b402 .23
View
6 ext/libmemcached-src/AUTHORS
@@ -0,0 +1,6 @@
+Brian Aker, brian@tangent.org -- Client Library, Tools
+Mark Atwood, -- Tools, Docs
+Patrick Galbraith, -- C++ Interface
+Tim Bunce, -- Docs
+Trond Norbye, trond.norbye@sun.com -- Binary protocol
+Yin Chen, -- Ketama Work
View
32 ext/libmemcached-src/COPYING
@@ -0,0 +1,32 @@
+Software License Agreement (BSD License)
+
+Copyright (c) 2007, TangentOrg (Brian Aker)
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+
+ * Neither the name of TangentOrg nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
253 ext/libmemcached-src/ChangeLog
@@ -0,0 +1,253 @@
+0.25
+ * Jenkins HASH added.
+ * Update of Murmur hash code
+ * Support explicit weights (Robey Pointer, Evan Weaver)
+ * Bugfix for ketama continuum (Robey Pointer)
+ * New behavior MEMCACHED_BEHAVIOR_HASH_WITH_PREFIX_KEY (Robey Pointer)
+ * Don't ever call stats for weighting servers, because it is unstable.
+
+0.24 Tue Sep 16 02:59:03 PDT 2008 (never released)
+ * Cleanup compile warnings.
+ * Fix issues in partitioning by keys.
+ * Fixed "fail case" to make sure when calling memcached_clone() no
+ memcached_st is over written.
+ * New memcached_server_by_key() method for finding a server from
+ a key.
+ * memcached_server_free() was added for freeing server structures.
+
+
+0.23 Sun Sep 7 08:13:59 PDT 2008
+ * Added strings.h header for Solaris 9
+ * Solaris 64bit fix.
+ * Support for weighted Ketama from Yin Chen.
+ * Fix for Chinese
+ * Fix for 0 length key to trigger bad key.
+ * Added behaviors MEMCACHED_BEHAVIOR_SND_TIMEOUT, MEMCACHED_BEHAVIOR_RCV_TIMEOUT
+ * Support for Binary Protocol added
+
+0.22 Mon Jul 14 09:24:11 PDT 2008
+ * Fix where master key was no being checked for "bad key"
+ * Fixed bugs in stats output (thread output was wrong)
+ * Clarified MEMCACHED_BAD_KEY_PROVIDED is return for bad prefix key.
+ * Found a bug in Flags return (Jacek Ostrowski)
+ * Fixed issue with compiling on Visual Studio
+
+0.21 Fri May 23 18:34:09 PDT 2008
+ * Change of char * to const char * for all key based functions.
+ * New MEMCACHED_CALLBACK_PREFIX_KEY added. You can now create domains for
+ values.
+ * Fixed bug introducd in last version on memcp
+ * Fix for death of file io to call shutdown()
+
+0.20 Mon May 5 08:34:26 PDT 2008
+ * New consistent distribution tests.
+ * Found a memory leak when a server constantly fails.
+ * Fix in watchpoint macro
+ * Changed default timeout to 1 second for poll timeouts
+ * Wheel uses less memory/dynamic allocation for size (no longer limited to
+ 512 hosts by default.
+ * memslap memory leak fix
+ * Added Ketama distribution
+ * Fix assert.h compile problem on CentOS
+
+0.19 Wed Apr 9 09:30:53 PDT 2008
+ * Documentation fix in libmemcached.
+ * Fixed bug where sort was always occuring on hosts
+ * Logic fix in branch prediction (thanks Jay!)
+ * Read through cached support.
+ * Fixed for cas by key operation.
+ * Fix for memcached_server_st list structures to have correct count.
+ * Added callback MEMCACHED_CALLBACK_DELETE_TRIGGER
+ * Removed function call in favor of macro (aka cut out some instructions)
+
+
+0.18 Sun Mar 16 21:57:55 PDT 2008
+ * Fix plus tests for non-zero value objects and flags.
+ * MEMCACHED_HASH_MURMUR added for murmur algorithm provided.
+ * MEMCACHED_BEHAVIOR_RETRY_TIMEOUT added to keep connecting from looping
+ on timeout.
+ * gcc branch prediction optimizations
+ * Refactored entire tree to make include files cleaner
+ * Fixed leaked socket.
+
+0.17 Wed Feb 27 03:33:29 PST 2008
+ * MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT added for connect timeout in
+ non-block mode.
+ * Incompatible change in memcached_behavior_set() api. We now use a
+ uint64_t, instead of a pointer.
+ * Fix for storage of values for zero.
+ * memcached_server_cursor() function added to API for cycling through servers.
+
+0.16 Mon Feb 18 00:30:25 PST 2008
+ * Work on the UDP protocol
+ * Added get_by_key, set_by_key tests for C++ API
+ * Fix for limit_maxbytes to be 64bit in stats
+ * Added Atom Smasher test (scale baby, scale!)
+ * Servers are now sorted, meaning that servers are now ordered so that
+ clients with the same lists, will have same distribution. (Idea from
+ Ross McFarland). MEMCACHED_BEHAVIOR_SORT_HOSTS was added to enable
+ this support.
+ * Added MEMCACHED_BAD_KEY_PROVIDED error for auto, set, and get operations.
+ MEMCACHED_BEHAVIOR_VERIFY_KEY was added to enable this feature.
+ * More error messages on command line tools.
+ * Fixed bugs in memcached_cas() operator.
+ * Fix to loop through interfaces
+
+0.15 Tue Jan 29 14:55:44 PST 2008
+ * More work on the C++ API.
+ * Bug fixes around block corner cases.
+ * Slight performance increase in both read() and write().
+
+0.14 Tue Jan 22 06:21:49 PST 2008
+ * For for bug found by Evan Weaver where increment() was not returning
+ propper error of value was not found.
+ * Fix for bad null pointer on flag by Toru Maesaka.
+ * Refactor of all IO to just pass in the active server
+ * Problem configuring (PKG_CHECK_MODULES) fixed by removal of "rpath" in
+ support/libmemcached.pc.in (Thanks to Ross McFarland).
+ * Added memcached_callback_get()/set()
+ * First prototype of C++ interface
+ * Updated docs for uint16_t changes in previous release
+
+0.13 Sun Jan 13 06:51:50 PST 2008
+ * MEMCACHED_BEHAVIOR_USER_DATA added to store user pointer.
+ * Fix for failure to connect to invalidate socket.
+ * Patch from Marc Rossi to add --hash option for memcp, memrm, and memcat.
+ * Kevin's patch for fixing EOF issues during a read.
+ * Toru Maesaka patch for stats mismatch
+ * Fix for when CRC return 0
+ * Fixed uint16_t issues around flags. Turns out the documentation on the
+ protocol was wrong.
+ * Lingering socket fixes for FreeBSD.
+ * Patches from Kevin Dalley for FreeBSD 4.0
+ * Added multi delete functions.
+ * All get key returns have C style null termination
+ * If memcached_server_list_append is passed NULLs instead of pointers it
+ returns NULL.
+ * Added memcached_fetch_execute() method
+ * Found a bug where memcached_fetch() was not null terminating the result
+ value.
+ * memcached_behavior() now has the ability to set "buffering" so that
+ data is not automatically flushed.
+ * Behavior change, buffered commands now return MEMCACHED_BUFFERED
+
+0.12 Tue Dec 11 15:20:55 PST 2007
+ * Updates for consistent hashing
+ * IPV6 support
+ * Static allocation for hostname (performance)
+ * Fixed bug where in non-block mode all data might not have been sent on
+ close().
+ * Refactor of memcached_get() to use common code.
+ * Change in value fetch, MEMCACHED_END is now returned when keys are no
+ longer in the pipe.
+ * Fixed bug where key could be out of range of characters
+ * Added _by_key() methods to allow partitioning of values to particular
+ servers.
+ * MEMCACHED_DEFAILT_TIMEOUT is now set to a non -1 value.
+ * Performance improvements in get operations.
+
+0.11 Mon Nov 26 01:05:52 PST 2007
+ * Added option to memcache_behavior_set() so that poll() can be timed out.
+ * Fixed memory leak in case of using memcached_fetch_result() where no
+ value was returned.
+ * Bug fixed in memcached_connect() which would cause servers that
+ did not need to be enabled to be enabled (performance issue).
+ * Rewrote bounds checking code for get calls.
+ * "make test" now starts its own memcached servers.
+ * Added Hseih hash (MEMCACHED_HASH_HSIEH), which is showing about 7%
+ performance over standard hash.
+
+0.10 Tue Nov 20 23:22:31 PST 2007
+ * Added append binary test.
+ * Added MEMCACHED_BEHAVIOR_CACHE_LOOKUPS behavior so that you can save on
+ multiple DNS lookups.
+ * Added CAS support, though this is optional and must be enabled during
+ runtime.
+ * Added the utility memerror to create human readable error strings
+ from memcached errors (aka convert ints to strings)
+ * Fixed type in MEMCACHED_HOST_LOOKUP_FAILURE
+ * Fixed bug where hostname might not be null terminated
+ * Moved to using gethostbyname_r() on Linux to solve thread safety issue
+ * Added -rpath support for pkg-config
+ * Documentation fix for hash setting using memcached_behavior_set()
+
+0.9 Thu Nov 15 07:44:00 PST 2007
+ * fix for when no servers are definied.
+ * different buffers are now kept for different connections to
+ speed up async efforts
+ * Modified increment/decrement functions to return uint64_t values
+ * Fixed bug in cases where zero length keys were provided
+ * Thread cleanup issue in memslap
+ * No hostname lookup on reconnect
+ * Fix for flag settings (was doing hex by accident!)
+ * Support for 1.2.4 server additions "prepend" and "append" added.
+ * Added memcached_version()... not sure if I will make this public
+ or not.
+
+0.8 Mon Nov 5 10:40:41 PST 2007
+ * Adding support for CRC hash method
+ * Adding support for UNIX sockets
+ * Added additional HASHing methods of FNV1_64,FNV1A_64, FNV1_32, FNV1A_32
+ * Added pkgconfig support (PKG_CHECK_MODULES)
+ * Fixed conflict with defined type in MySQL
+ * Added memcached_result_st structure and functions to manipulate it.
+
+0.7 Tue Oct 30 09:24:05 PDT 2007
+ * Poved to poll() from select()
+ * Fixes in internal string class for allocation of large numbers of
+ strings.
+ * memcached_mget() function now sends keys as it parses them instead of
+ building strings as it goes.
+ * Propper flush now for making sure we get all IO sent even when in
+ non-block mode.
+ * Added --enable-debug rule for configure
+ * All asserts() removed (hey this is going into production!)
+
+
+0.6 Wed Oct 17 08:41:35 PDT 2007
+ * get value returns are now null terminated (request by Cal Heldenbrand)
+ * Fixed connections for more hosts then two.
+ * Rewrite of the read/write IO systems to handle different sorts of host
+ failures.
+ * Added man pages for all functions and tools
+ * Raised buffer size for readinng/writing to 16K
+ * You can now optionally set the socket size for recv/send via
+ memached_behavior_set/get.
+
+0.5 Tue Oct 9 00:22:25 PDT 2007
+ * Ruby maintainer mentioned TCP_NODELAY patch he had added. Added this to C
+ library as well. (Eric Hodel drbrain@segment7.net)
+ * Added support script for set_benchmark
+ * Updated memslap to allow testing of TCP_NODELAY
+ * Updated memslap to support --flush (aka dump memcache servers before
+ testing)
+ * Fixed bug in multiple hosts not being activated
+ * Added environmental variable MEMCACHED_SERVERS which can be used to
+ set the servers list.
+ * fixed memcached_stat method (and now memstat works)
+ * server connect now happens on demand.
+ * Help for all command line applications
+
+0.4 Wed Oct 3 10:28:50 PDT 2007
+ * Added buffered IO to write calls for keys
+ * Added buffered IO for reads
+ * memstat was broken (bad if/else on connect)
+ * New non-blocking IO (not default yet). Mucho faster
+ * Refactor of test system.
+ * memslap crash solved
+
+0.3 Mon Oct 1 06:37:52 PDT 2007
+ * Jeff Fisher <guppy@techmonkeys.org> provided a spec file
+ * Added "make rpm" around dist file
+ * Added support for Solaris
+ * Added support for DTrace
+ * Fixed read to be recv and write to be send
+ * Bug fix where memstat would core if no server was found
+ * Added memslap tool (load generator)
+ * Numerous bug fixes in library
+ * Added calls to library for creating host lists (see
+ text cases to understand how to use this).
+
+0.2 Thu Sep 27 03:46:57 PDT 2007
+ * First public version
+
View
18 ext/libmemcached-src/Makefile.am
@@ -0,0 +1,18 @@
+INCLUDES =
+SUBDIRS = docs libmemcached tests support clients
+EXTRA_dist = README.FIRST
+
+test: all
+ cd tests; make test; cd ..
+
+test-extended: all
+ cd tests; make test-extended; cd ..
+
+valgrind:
+ cd tests; make valgrind; cd ..
+
+rpm: all dist
+ cp libmemcached-$(VERSION).tar.gz /home/brian/rpm/SOURCES/
+ rpmbuild -ba support/libmemcached.spec
+ cp /home/brian/rpm/RPMS/x86_64/libmemcached-$(VERSION)*.rpm .
+ cp /home/brian/rpm/SRPMS/libmemcached-$(VERSION)*.rpm .
View
1 ext/libmemcached-src/NEWS
@@ -0,0 +1 @@
+See Changelog
View
34 ext/libmemcached-src/README
@@ -0,0 +1,34 @@
+Hi!
+
+So what is this? It is a library in C for connectinng to memcached servers
+(http://danga.com/memcached/). It is also a collection of utilities designed
+to work with memcached.
+
+memcat - Copy the value of a key to standard output
+memflush - Flush the contents of your servers.
+memrm - Remove a key(s) from the server.
+memstat - Dump the stats of your servers to standard output
+memslap - Load generation utility (benchmark!)
+
+The utilities are beta quality at this point. The library is in production
+in many locations (upwards to 600 nodes). For networks of more then 512
+hosts using consistent hashing, you must update the target WHEEL size for
+number of hosts * 4 in libmemcached/memcached_constants.h.
+
+Want to contribute? If you write more then three good patches, then I will
+just ask you to commit directly to the tree. I am happy to have additional
+people work on this project. Please checkout README.FIRST.
+
+You will need a C99 compiler in order to compile this library. Currently we
+actively support Linux, MacOSX, FreeBSD, and Solaris. A Windows port is
+currently not supported.
+
+If you are looking for answers to your questions please check out the
+mailing list at:
+http://lists.tangent.org/
+
+Subscribe to the libmemcached mailing list found there.
+
+Cheers,
+ -Brian Aker
+ Seattle, WA.
View
30 ext/libmemcached-src/README.FIRST
@@ -0,0 +1,30 @@
+Hi!
+
+If you are getting this code from http://hg.tangent.org/libmemcached then
+continue reading. Otherwise these directions are not for you (well maybe...).
+
+To obtain code from http://hg.tangent.org/libmemcached you will need to issue
+the following command:
+
+hg clone http://hg.tangent.org/libmemcached
+
+Once the tree is cloned you will need to build the "configure" script. You
+can do this by running the script:
+
+./config/bootstrap
+
+It will set up all of the files you need to build libmemcached. At that
+point it is just the typical "./configure; make; make test; make install"
+
+For a tarball release do a "make dist" and for an RPM type "make rpm".
+
+For patches either send diffs or make use of hg's ability to do bundles. You
+can read more about this on the hg websites:
+
+http://www.selenic.com/mercurial/wiki/
+
+Thanks and keep hacking!
+
+Cheers,
+ -Brian
+ Seattle, WA.
View
12 ext/libmemcached-src/THANKS
@@ -0,0 +1,12 @@
+Eirik A. Nygaard - IO Patch
+Cal Heldenbrand - Awesome feedback on performance
+Dustin Sallings - Insight into protocol
+Tobias Luetke - Performance Feedback
+Andre Cruz - Help with getting the CRC Hash function to match other connectors
+Brian Pontz - Hsieh hash
+Tim Bunce - Perl Driver work and feedback on API
+Kevin Dalley - Bug Fixes
+Patrick Galbraith - work on C++ interface
+Ross McFarland - Idea for sorting servers.
+Marcelo Fernandez - TCP/IP timeout pieces
+Yin Chen - Ketama support/weighted support
View
11 ext/libmemcached-src/TODO
@@ -0,0 +1,11 @@
+- Write a shell application (?)
+- Fix version in command line tools
+- Write (more) test cases for all command line tools (!!!)
+- Write some sort of "default" options bit for tools
+- More examples using libraries
+- Doxygen?
+- Make a "make deb"... or accept patch...
+- implement more connection/hash algo
+- implement compression
+- Finish UDP protocol
+- Revisit get() code (look for performance enhancements)
View
60 ext/libmemcached-src/clients/Makefile.am
@@ -0,0 +1,60 @@
+INCLUDES = -I$(top_builddir)
+LDADDS = $(top_builddir)/libmemcached/libmemcached.la
+
+bin_PROGRAMS = memcat memcp memstat memrm memflush memslap memerror
+
+noinst_HEADERS = client_options.h \
+ utilities.h \
+ generator.h \
+ execute.h
+
+memcat_SOURCES = memcat.c utilities.c
+memcat_LDADD = $(LDADDS)
+memcat_LDFLAGS = -rpath $(pkglibdir)
+
+memcp_SOURCES = memcp.c utilities.c
+memcp_LDADD = $(LDADDS)
+memcp_LDFLAGS = -rpath $(pkglibdir)
+
+memstat_SOURCES = memstat.c utilities.c
+memstat_LDADD = $(LDADDS)
+memstat_LDFLAGS = -rpath $(pkglibdir)
+
+memrm_SOURCES = memrm.c utilities.c
+memrm_LDADD = $(LDADDS)
+memrm_LDFLAGS = -rpath $(pkglibdir)
+
+memflush_SOURCES = memflush.c utilities.c
+memflush_LDADD = $(LDADDS)
+memflush_LDFLAGS = -rpath $(pkglibdir)
+
+memerror_SOURCES = memerror.c utilities.c
+memerror_LDADD = $(LDADDS)
+memerror_LDFLAGS = -rpath $(pkglibdir)
+
+memslap_SOURCES = memslap.c utilities.c generator.c execute.c
+memslap_LDADD = $(LDADDS) -lpthread
+memslap_LDFLAGS = -rpath $(pkglibdir)
+
+test-start-server:
+ memflush --servers=localhost
+ memcp --servers=localhost /etc/services
+ memcat --servers=localhost /etc/services
+ memrm --servers=localhost /etc/services
+ memstat --servers=localhost
+ memslap --servers=localhost
+ memslap --servers=localhost --concurrency=10
+ memslap --servers=localhost --concurrency=10 --initial-load=1000
+ memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
+ memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
+ memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
+ memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
+
+valgrind:
+ libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost
+ libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10
+ libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000
+ libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10
+ libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=get
+ libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set
+ libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes memslap --servers=localhost --concurrency=10 --initial-load=1000 --execute-number=10 --test=set --non-blocking
View
28 ext/libmemcached-src/clients/client_options.h
@@ -0,0 +1,28 @@
+#ifndef __CLIENT_OPTIONS_H__
+#define __CLIENT_OPTIONS_H__
+
+typedef struct memcached_help_text_st memcached_help_text_st;
+
+typedef enum {
+ OPT_SERVERS= 's',
+ OPT_VERSION= 'V',
+ OPT_HELP= 'h',
+ OPT_VERBOSE= 'v',
+ OPT_DEBUG= 'd',
+ OPT_FLAG= 257,
+ OPT_EXPIRE,
+ OPT_SET,
+ OPT_REPLACE,
+ OPT_ADD,
+ OPT_SLAP_EXECUTE_NUMBER,
+ OPT_SLAP_INITIAL_LOAD,
+ OPT_SLAP_TEST,
+ OPT_SLAP_CONCURRENCY,
+ OPT_SLAP_NON_BLOCK,
+ OPT_SLAP_TCP_NODELAY,
+ OPT_FLUSH,
+ OPT_HASH,
+ OPT_BINARY,
+} memcached_options;
+
+#endif /* CLIENT_OPTIONS */
View
63 ext/libmemcached-src/clients/execute.c
@@ -0,0 +1,63 @@
+/*
+ Execute a memcached_set() a set of pairs.
+ Return the number of rows set.
+*/
+
+#include <stdio.h>
+#include "execute.h"
+
+unsigned int execute_set(memcached_st *memc, pairs_st *pairs, unsigned int number_of)
+{
+ memcached_return rc;
+ unsigned int x;
+ unsigned int pairs_sent;
+
+ for (x= 0, pairs_sent= 0; x < number_of; x++)
+ {
+ rc= memcached_set(memc, pairs[x].key, pairs[x].key_length,
+ pairs[x].value, pairs[x].value_length,
+ 0, 0);
+ if (rc != MEMCACHED_SUCCESS && rc != MEMCACHED_BUFFERED)
+ fprintf(stderr, "Failured on insert of %.*s\n",
+ (unsigned int)pairs[x].key_length, pairs[x].key);
+ else
+ pairs_sent++;
+ }
+
+ return pairs_sent;
+}
+
+/*
+ Execute a memcached_get() on a set of pairs.
+ Return the number of rows retrieved.
+*/
+unsigned int execute_get(memcached_st *memc, pairs_st *pairs, unsigned int number_of)
+{
+ memcached_return rc;
+ unsigned int x;
+ unsigned int retrieved;
+
+
+ for (retrieved= 0,x= 0; x < number_of; x++)
+ {
+ char *value;
+ size_t value_length;
+ uint32_t flags;
+ unsigned int fetch_key;
+
+ fetch_key= random() % number_of;
+
+ value= memcached_get(memc, pairs[fetch_key].key, pairs[fetch_key].key_length,
+ &value_length, &flags, &rc);
+
+ if (rc != MEMCACHED_SUCCESS)
+ fprintf(stderr, "Failured on read of %.*s\n",
+ (unsigned int)pairs[fetch_key].key_length, pairs[fetch_key].key);
+ else
+ retrieved++;
+
+ free(value);
+ }
+
+ return retrieved;
+}
View
5 ext/libmemcached-src/clients/execute.h
@@ -0,0 +1,5 @@
+#include <memcached.h>
+#include "generator.h"
+
+unsigned int execute_set(memcached_st *memc, pairs_st *pairs, unsigned int number_of);
+unsigned int execute_get(memcached_st *memc, pairs_st *pairs, unsigned int number_of);
View
71 ext/libmemcached-src/clients/generator.c
@@ -0,0 +1,71 @@
+#include <stdio.h>