Permalink
Browse files

Initial commit.

- Includes msgpack-0.5.0 source.
- Provides msgpack.pack() function which can pack everything except
  objects (it can handle integers, strings, booleans, null, and arrays).
  • Loading branch information...
0 parents commit f5ba50f3072b85e2d7c4b37af5cd430543f2f2f0 @pgriess pgriess committed May 25, 2010
Showing with 67,625 additions and 0 deletions.
  1. +23 −0 Makefile
  2. +1 −0 deps/msgpack/AUTHORS
  3. +14 −0 deps/msgpack/COPYING
  4. +10 −0 deps/msgpack/ChangeLog
  5. +365 −0 deps/msgpack/INSTALL
  6. +202 −0 deps/msgpack/LICENSE
  7. +93 −0 deps/msgpack/Makefile.am
  8. +1,106 −0 deps/msgpack/Makefile.in
  9. 0 deps/msgpack/NEWS
  10. +4 −0 deps/msgpack/NOTICE
  11. +78 −0 deps/msgpack/README
  12. +78 −0 deps/msgpack/README.md
  13. +143 −0 deps/msgpack/ac/compile
  14. +1,501 −0 deps/msgpack/ac/config.guess
  15. +1,705 −0 deps/msgpack/ac/config.sub
  16. +630 −0 deps/msgpack/ac/depcomp
  17. +520 −0 deps/msgpack/ac/install-sh
  18. +8,406 −0 deps/msgpack/ac/ltmain.sh
  19. +376 −0 deps/msgpack/ac/missing
  20. +8,954 −0 deps/msgpack/aclocal.m4
  21. +71 −0 deps/msgpack/config.h.in
  22. +17,214 −0 deps/msgpack/configure
  23. +43 −0 deps/msgpack/configure.in
  24. +23 −0 deps/msgpack/msgpack.h
  25. +24 −0 deps/msgpack/msgpack.hpp
  26. +90 −0 deps/msgpack/msgpack/object.h
  27. +412 −0 deps/msgpack/msgpack/object.hpp
  28. +116 −0 deps/msgpack/msgpack/pack.h
  29. +262 −0 deps/msgpack/msgpack/pack.hpp
  30. +26 −0 deps/msgpack/msgpack/pack_define.h
  31. +766 −0 deps/msgpack/msgpack/pack_template.h
  32. +86 −0 deps/msgpack/msgpack/sbuffer.h
  33. +103 −0 deps/msgpack/msgpack/sbuffer.hpp
  34. +118 −0 deps/msgpack/msgpack/sysdep.h
  35. +15 −0 deps/msgpack/msgpack/type.hpp
  36. +55 −0 deps/msgpack/msgpack/type/bool.hpp
  37. +3,279 −0 deps/msgpack/msgpack/type/define.hpp
  38. +77 −0 deps/msgpack/msgpack/type/deque.hpp
  39. +82 −0 deps/msgpack/msgpack/type/float.hpp
  40. +211 −0 deps/msgpack/msgpack/type/int.hpp
  41. +77 −0 deps/msgpack/msgpack/type/list.hpp
  42. +205 −0 deps/msgpack/msgpack/type/map.hpp
  43. +57 −0 deps/msgpack/msgpack/type/nil.hpp
  44. +61 −0 deps/msgpack/msgpack/type/pair.hpp
  45. +94 −0 deps/msgpack/msgpack/type/raw.hpp
  46. +122 −0 deps/msgpack/msgpack/type/set.hpp
  47. +62 −0 deps/msgpack/msgpack/type/string.hpp
  48. +129 −0 deps/msgpack/msgpack/type/tr1/unordered_map.hpp
  49. +122 −0 deps/msgpack/msgpack/type/tr1/unordered_set.hpp
  50. +12,901 −0 deps/msgpack/msgpack/type/tuple.hpp
  51. +81 −0 deps/msgpack/msgpack/type/vector.hpp
  52. +123 −0 deps/msgpack/msgpack/unpack.h
  53. +383 −0 deps/msgpack/msgpack/unpack.hpp
  54. +93 −0 deps/msgpack/msgpack/unpack_define.h
  55. +409 −0 deps/msgpack/msgpack/unpack_template.h
  56. +110 −0 deps/msgpack/msgpack/vrefbuffer.h
  57. +92 −0 deps/msgpack/msgpack/vrefbuffer.hpp
  58. +180 −0 deps/msgpack/msgpack/zbuffer.h
  59. +100 −0 deps/msgpack/msgpack/zbuffer.hpp
  60. +131 −0 deps/msgpack/msgpack/zone.h
  61. +448 −0 deps/msgpack/msgpack/zone.hpp
  62. +982 −0 deps/msgpack/msgpack_test.cpp
  63. +43 −0 deps/msgpack/msgpack_vc8.postbuild.bat
  64. +20 −0 deps/msgpack/msgpack_vc8.sln
  65. +279 −0 deps/msgpack/msgpack_vc8.vcproj
  66. +424 −0 deps/msgpack/msgpackc_test.cpp
  67. +87 −0 deps/msgpack/object.cpp
  68. +237 −0 deps/msgpack/objectc.c
  69. +28 −0 deps/msgpack/test/Makefile.am
  70. +615 −0 deps/msgpack/test/Makefile.in
  71. +50 −0 deps/msgpack/test/buffer.cc
  72. +74 −0 deps/msgpack/test/convert.cc
  73. +134 −0 deps/msgpack/test/object.cc
  74. +127 −0 deps/msgpack/test/pack_unpack.cc
  75. +213 −0 deps/msgpack/test/streaming.cc
  76. +78 −0 deps/msgpack/test/zone.cc
  77. +399 −0 deps/msgpack/unpack.c
  78. +201 −0 deps/msgpack/vrefbuffer.c
  79. +220 −0 deps/msgpack/zone.c
  80. +131 −0 src/msgpack.cc
  81. +21 −0 src/wscript
@@ -0,0 +1,23 @@
+CWD = $(shell pwd -P)
+NODE_WAF ?= node-waf
+
+.PHONY: all msgpack
+
+all: msgpack
+
+msgpack: deps/msgpack/dist/lib/libmsgpack.a
+ cd src && \
+ $(NODE_WAF) configure && \
+ $(NODE_WAF) build
+
+# Build the msgpack library
+deps/msgpack/dist/lib/libmsgpack.a:
+ cd deps/msgpack && \
+ mkdir -p dist && \
+ ./configure --enable-static --disable-shared \
+ --prefix=$(PWD)/deps/msgpack/dist && \
+ make && \
+ make install
+
+clean:
+ rm -fr deps/msgpack/dist build
@@ -0,0 +1 @@
+FURUHASHI Sadayuki <frsyuki _at_ users.sourceforge.jp>
@@ -0,0 +1,14 @@
+Copyright (C) 2008-2010 FURUHASHI Sadayuki
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
@@ -0,0 +1,10 @@
+
+2010-04-29 version 0.5.0:
+
+ * msgpack_object_type is changed. MSGPACK_OBJECT_NIL is now 0x00.
+ * New safe streaming deserializer API.
+ * Add object::object(const T&) and object::operator=(const T&)
+ * Add operator==(object, const T&)
+ * MSGPACK_DEFINE macro defines msgpack_object(object* obj, zone* z)
+ * C++ programs doesn't need to link "msgpackc" library.
+
Oops, something went wrong.

0 comments on commit f5ba50f

Please sign in to comment.