Commit Graph

  • 09325ed846 Re-implemented msgpack::unpacker's move operations. I refered to the following article and comments. http://scottmeyers.blogspot.jp/2014/06/the-drawbacks-of-implementing-move.html Takatoshi Kondo 2014-07-24 10:08:24 +09:00
  • bfa428ab13 Added cpp_config.hpp to install files. Takatoshi Kondo 2014-07-24 07:52:20 +09:00
  • ecdeec9948 Fixed the move assign operator implementation. Takatoshi Kondo 2014-07-24 07:41:23 +09:00
  • f11a811114 Added a move constructor and a move assign operator for unpacker and context. https://github.com/msgpack/msgpack-c/issues/96 Takatoshi Kondo 2014-07-23 21:31:42 +09:00
  • c203928fae Fix test failure regarding int->float conversion Daiki Ueno 2014-07-17 18:38:04 +09:00
  • 59b111e026 Removed the contents in 'install from package' section. It is not supported for this branch. Updated the description of the cmake. Takatoshi Kondo 2014-07-16 08:49:27 +09:00
  • 2a694f8c20 Fixed markdown format. Takatoshi Kondo 2014-07-16 08:26:36 +09:00
  • 0380215982 Fixed https://github.com/msgpack/msgpack-c/issues/88 Added examples for the following updated functions: Takatoshi Kondo 2014-07-13 09:35:58 +09:00
  • 0e48f65a4b Fixed https://github.com/msgpack/msgpack-c/issues/94 Added a private copy assign operator to unpacker. Takatoshi Kondo 2014-07-12 00:41:33 +09:00
  • aa79fc2ff4 Updated versions. Takatoshi Kondo 2014-07-12 00:33:06 +09:00
  • cc571b8bb1 Replaced std::auto_ptr with msgpack::unique_ptr. Takatoshi Kondo 2014-07-12 00:21:35 +09:00
  • b0df21295c Untabified. Adjust line break positions. Takatoshi Kondo 2014-07-12 00:17:31 +09:00
  • 0889e6117e Renamed member variables name. Takatoshi Kondo 2014-07-11 23:37:43 +09:00
  • 212f025f00 Supported the C++11's enum class. Takatoshi Kondo 2014-07-08 19:31:02 +09:00
  • f6a5402194 Supported the C++11 tuple. Takatoshi Kondo 2014-07-08 19:18:43 +09:00
  • 6a349d0b28 Fixed zero size string in the array problem. Takatoshi Kondo 2014-06-26 11:30:14 +09:00
  • dac5c60608 Replaced bit shift with memcpy on load. Takatoshi Kondo 2014-03-31 16:02:29 +09:00
  • bc33317b7e Reorganized tree. Takatoshi Kondo 2014-06-04 16:56:43 +09:00
  • 754b1682a5 Replaced C-style casts with C++ style casts. Takatoshi Kondo 2014-03-31 12:44:25 +09:00
  • cb9eed8ccc Renamed from ct to container_type. Takatoshi Kondo 2014-03-31 10:56:36 +09:00
  • 862905742f Renamed z with zone. Takatoshi Kondo 2014-03-31 10:51:01 +09:00
  • ba98315f65 The same fix as follows on C++ code. https://github.com/msgpack/msgpack-c/pull/38 Takatoshi Kondo 2014-03-31 10:34:26 +09:00
  • 124a871923 Removed redundant parameter. Takatoshi Kondo 2014-03-31 10:25:57 +09:00
  • 378f6afccd Mapped std::stirng to STR instead of BIN for benchmark. Takatoshi Kondo 2014-03-26 16:40:32 +09:00
  • 1320863cb3 Replaced function arguments with data members. Takatoshi Kondo 2014-03-24 15:16:37 +09:00
  • a951ea90b8 Fixed delete free mismatch problem in C++11 version. Takatoshi Kondo 2014-03-15 17:37:20 +00:00
  • 3b7a2f8f32 Updated test codes using reference version of unpack functions. Takatoshi Kondo 2014-03-05 11:53:06 +09:00
  • 038c3e3518 Replaced unsigned int to size_t. Takatoshi Kondo 2014-03-05 00:44:15 +00:00
  • c08439ff41 Added STR to std::string conversion. Takatoshi Kondo 2014-03-04 15:14:11 +09:00
  • 59d994ea5f Define nullptr macro only if it is not previously defined. Takatoshi Kondo 2014-03-04 21:28:28 +00:00
  • ed51d23335 Refined tuple implementation. Takatoshi Kondo 2014-03-04 21:27:47 +00:00
  • 2be892bfda Removed a redundant null pointer check. Takatoshi Kondo 2014-02-03 11:07:26 +09:00
  • 723d900098 Added 'template' keyword. Takatoshi Kondo 2014-02-20 23:55:22 +00:00
  • 13404a7444 Supported placement new. Takatoshi Kondo 2014-02-20 23:53:35 +00:00
  • a20594dfdc Added line breaks. Takatoshi Kondo 2014-02-02 17:57:44 +00:00
  • bff4cadeff Added C++ separate version and C++11 description. Takatoshi Kondo 2014-02-02 17:41:48 +00:00
  • 6515577dc3 Added null pointer check for C++ separated code. Takatoshi Kondo 2014-02-02 17:28:33 +00:00
  • beebccd323 Renamed zone::malloc familiy functions. Takatoshi Kondo 2014-01-26 22:18:26 +00:00
  • d70c44b723 Added bin and str families support. Takatoshi Kondo 2014-01-26 15:17:33 +00:00
  • 33d3192ca2 Added static_cast to char. Takatoshi Kondo 2013-12-26 10:55:13 +09:00
  • 0d13931844 Fixed freed memory accessing bug in the C++ code. (Issue #32) Takatoshi Kondo 2013-12-09 21:37:35 +00:00
  • 293c839a22 Supported 'plain' char. msgpack used to only support signed char and unsigned char. Takatoshi Kondo 2013-10-30 16:04:23 +09:00
  • f187ae35d9 Added a nested array example. Takatoshi Kondo 2013-10-04 13:45:06 +09:00
  • 74013e7e7d Added array of array example. Takatoshi Kondo 2013-10-04 13:14:15 +09:00
  • e2026c0507 Renamed the classes named template_*. Removed template_ from them because they are no longer template. Takatoshi Kondo 2013-10-02 17:37:09 +09:00
  • c375e14705 Renamed a member function name from setObj to set_obj. Takatoshi Kondo 2013-10-02 17:28:30 +09:00
  • fade0644c7 Added comments that how to compile and run it. Takatoshi Kondo 2013-09-11 11:44:33 +09:00
  • 5fedaf285b Removed C-style casts. Takatoshi Kondo 2013-09-11 11:37:26 +09:00
  • fe82444db1 Replaced NULL with nullptr. Takatoshi Kondo 2013-09-11 11:21:11 +09:00
  • f7692691ca Removed local variables top, cs, and user and access directly member variables top_, cs_, and user_. The local variable trail is preserved to suppourt register optimization. Other variables don't contribute increasing speed even though they are on registers. Takatoshi Kondo 2013-09-11 11:12:32 +09:00
  • 7fba3484c5 Renamed template callback functions. Moved aggregate unpacking and pushing procedure to the function push_aggregate. Takatoshi Kondo 2013-09-09 12:30:32 +09:00
  • 561b6b583d Modified data members initialize sequence to fix a warning. Takatoshi Kondo 2013-09-09 12:30:32 +09:00
  • 7675c15fa9 Added a comment. Takatoshi Kondo 2013-09-06 18:43:40 +09:00
  • 99971abc9b Cleaned up template_context::execute(). Takatoshi Kondo 2013-09-05 15:57:31 +09:00
  • b7a1ba9ba0 Modified the offset parameter of template_context::execute() from pointer to reference. Takatoshi Kondo 2013-09-05 15:17:10 +09:00
  • 63c26cd58b Modified return type from bool to void in functions that always return true. Takatoshi Kondo 2013-09-05 15:08:09 +09:00
  • f8fc03b482 Modified template functions' return value from int to bool. Takatoshi Kondo 2013-09-05 14:52:45 +09:00
  • b0b1a0e9a7 Removed template_callback_root. Takatoshi Kondo 2013-09-05 14:35:47 +09:00
  • 4d2a9c23af Added inline keyword. Takatoshi Kondo 2013-09-05 13:20:21 +09:00
  • c41154989a Used the reference version of convert instead of pointer version. Takatoshi Kondo 2013-09-05 13:18:51 +09:00
  • 541ece13c0 Added inline for constructors and a destructor. Takatoshi Kondo 2013-09-05 13:09:08 +09:00
  • b6b2ef5e57 Removed the last comma at enum definitions to support C++03 strictly. Takatoshi Kondo 2013-09-05 13:08:05 +09:00
  • 4ef69da25d Restored the test cases using pointer based interfaces. It assures that we can use the same interfaces as the original version(0.5.6). To support both C++03 and C++11, I introduced msgpack::unique_ptr and msgpack::move() in test codes. Takatoshi Kondo 2013-09-05 11:42:32 +09:00
  • 9bd339baf8 Restored pointer based interfaces to maintain compatibility. Takatoshi Kondo 2013-09-05 11:31:03 +09:00
  • 616be1aa60 Modified type classes' interfaces parameters 'object' from passed by value to passed by reference. Takatoshi Kondo 2013-09-05 10:49:34 +09:00
  • 415b14335f Modified the parameter of object::convert() from pointer to reference. Takatoshi Kondo 2013-09-05 10:17:45 +09:00
  • 1fb707f93f Renamed functions from pack_real_* to pack_imp_*. Takatoshi Kondo 2013-09-05 09:47:55 +09:00
  • aa4ed82b66 Replaced TAKE8_* macros with inline function named take8_*. Modified byte stream using char instead of unsigned char. Takatoshi Kondo 2013-09-04 19:20:46 +09:00
  • 7ce8abe5d6 Tabified. Indent adjusted. Takatoshi Kondo 2013-09-04 17:59:16 +09:00
  • 27629a8dd6 Modified 'unpacked' interface using references instead of pointers. Added speed test for 'unpacked' based unpack() function. Takatoshi Kondo 2013-09-04 16:53:47 +09:00
  • 521a4f4190 Modified unpack_user* to unpack_user&. Removed redundant 'static'. Takatoshi Kondo 2013-09-04 16:13:34 +09:00
  • bad3801eae Modified zone* to zone&. Takatoshi Kondo 2013-09-04 16:00:36 +09:00
  • 72b3064a67 Removed redundant try-catch, zone's constructor never throw. In the C++11 version, added noexcept. In the C++03 version, added throw() as comments because actual throw() introduces some overhead. Untabified. Takatoshi Kondo 2013-09-04 14:47:38 +09:00
  • 7593e5ce0e Removed object copy in implicit conversion class. Removed redundant function prototype declaration. Adjusted tab position. Takatoshi Kondo 2013-09-04 14:04:49 +09:00
  • 8a08548f36 Modified passed by value of object to const reference of object. Removed C function call in operator==. Takatoshi Kondo 2013-09-04 13:28:23 +09:00
  • 56b0ad6809 Modified passed by value of object to const reference of object. Modified object pointers to object references. This modification has increased unpack speed. Takatoshi Kondo 2013-09-04 11:21:46 +09:00
  • f8561fbfd5 Added map packing speed test. Takatoshi Kondo 2013-09-03 15:34:22 +09:00
  • e80cbd4437 Tests for msgpack::type::tuple C++11 expansion moved to __cplusplus >= 201103. Takatoshi Kondo 2013-09-02 21:58:10 +09:00
  • da601e4589 Added member fucntion version of msgpack::type::tuple::get(). Added support functions for msgpack::type::tuple as same as std::tuple. Takatoshi Kondo 2013-09-02 18:29:24 +09:00
  • 36a87b6968 Replaced C-style casts with C++ stype casts in C++ codes. Takatoshi Kondo 2013-08-30 14:39:54 +09:00
  • e0b42939ba Cleaned up include guards. Takatoshi Kondo 2013-08-30 13:42:43 +09:00
  • 7d731f83a4 Moved the codes in pack_template.h to pack.hpp. pack_template.h is still needed for the C version of msgpack. Takatoshi Kondo 2013-08-30 09:52:12 +09:00
  • 40ad7da455 Moved gcc atomic functions from source file to header file. Moved ostream operator << from object.cpp to object.hpp Removed object.cpp Modernize configure.in Takatoshi Kondo 2013-08-30 13:15:56 +09:00
  • e0d1e5c722 Modified tuple's get calling from member function to free function. Takatoshi Kondo 2013-08-29 16:16:33 +09:00
  • 5b3a168b86 Supported C++03. Takatoshi Kondo 2013-08-29 13:44:34 +09:00
  • 11afd4820f Modified unpack functions to class member functions. Takatoshi Kondo 2013-08-27 11:24:48 +09:00
  • ec5c1194fc Removed redundant namespace scope resolutions. Takatoshi Kondo 2013-08-26 17:22:02 +09:00
  • 7eccd1029a Modified from ::msgpack to msgpack Takatoshi Kondo 2013-08-26 17:05:30 +09:00
  • c2ca709d68 Added header files that use c++11 variadic templates instead of ruby code generation. When the compiler configured to support C++11 (e.g. CXXFLAG contains -std=c++11 is given), those files are used. Decoupled unpacker and msgpack_unpacker. This modification introduced C++11 dependency such as nullptr and unique_ptr. I will support C++11 and C++03, finally. Takatoshi Kondo 2013-08-22 17:21:47 +09:00
  • 197ed8c983 Merge pull request #92 from nobu-k/version0.5.9 cpp-0.5.9 Nobuyuki Kubota 2014-07-03 11:45:20 +09:00
  • 990860fe65 Change CMAKE_MINIMUM_REQUIRED to 2.8.6 for SET_PROPERTY APPEND_STRING Nobuyuki Kubota 2014-07-03 11:39:43 +09:00
  • dbeb6e61c6 version 0.5.9 Nobuyuki Kubota 2014-07-02 18:44:07 +09:00
  • 2b3f37f9e0 Add fbuffer.h and fbuffer.hpp to CMakeLists.txt and msgpack_vc.postbuild.bat Nobuyuki Kubota 2014-07-02 18:07:07 +09:00
  • f50148a9cc Merge branch 'fbuffer' Nobuyuki Kubota 2014-07-02 17:53:18 +09:00
  • 9fc8ec5b61 Merge branch 'tbeu-fix-bool-and-inline-for-C-compilation-with-MSVC' Takatoshi Kondo 2014-07-02 17:44:18 +09:00
  • 751a6f98fe Moved bool and inline definition from msgpack.h to sysdep.h. Set compile settiong on MSVC. ".c" files are compliled as C, not C++. (msgpack_vc8.vcproj, CMakeLists.txt) Fixed msgpack root object initialization problem on MSVC. {} initialization is not supported on MSVC. Takatoshi Kondo 2014-07-02 17:24:11 +09:00
  • 9d8e6b92fc Add fclose to fbuffer's tests Nobuyuki Kubota 2014-07-02 17:35:15 +09:00
  • c868da2879 Fix Makefile.am to install fbuffer.h and fbuffer.hpp Nobuyuki Kubota 2014-07-02 17:32:41 +09:00
  • e0c40c1c59 fix type bool and inline specifier tbeu 2014-06-23 15:44:31 +02:00
  • f185284776 Merge branch 'mpapierski-cmake' Nobuyuki Kubota 2014-07-02 16:22:33 +09:00