Takatoshi Kondo
643b0c9523
Supported shared library on cmake.
...
Updated the documentation.
2014-06-07 00:13:23 +09:00
Takatoshi Kondo
06930616b2
Added cmake files.
...
https://github.com/msgpack/msgpack-c/pull/20
Removed 'preprocess' from original CMakeLists.txt.
Removed file copy from original CMakeLists.txt.
Removed 'preprocess' from bootstrap.
Removed file copy from bootstrap.
Added erb generated files. Ruby is no longer required.
Moved cases.mpac, cases_compact.mpa, pack_define.h,
pack_template.h, unpack_define.h, unpack_template.h,
and sysdep.h to apropriate location.
If you want to re-generate zone.hpp, define.hpp, and tuple.hpp,
then you execute preprocess.
2014-06-05 20:49:15 +00:00
Nobuyuki Kubota
6e5fc6d396
Merge pull request #83 from redboltz/fixed_readme
...
Fixed https://github.com/msgpack/msgpack-c/issues/82
2014-06-01 19:16:10 +09:00
Takatoshi Kondo
17b0753023
Fixed linking order.
2014-06-01 19:03:51 +00:00
Nobuyuki Kubota
7491348d40
Merge branch 'philix-Wconversion'
2014-06-01 19:09:02 +09:00
Nobuyuki Kubota
eef2036c36
Remove implicit type conversions from (un)pack_template.h
2014-06-01 19:06:40 +09:00
Nobuyuki Kubota
fbec8f4470
Merge pull request #80 from redboltz/fix_enum_member_test
...
Fixed dereferencing type-punned pointer will break strict-aliasing rules warning
2014-06-01 18:22:46 +09:00
Felipe Oliveira Carvalho
8e0137e1d2
Fix to allow projects to compile with -Wconversion
...
Projects that use -Wconversion don't compile due to errors in msgpack header
files. This commit fixes all the errors in msgpack-c for when -Wconversion is
enabled.
Now I can even compile msgpack-c itself with -Wconversion and all my projects:
CFLAGS=-Wconversion ./configure
make
2014-05-19 15:30:14 -03:00
Takatoshi Kondo
1dac3f890a
Fixed https://github.com/msgpack/msgpack-c/issues/82
2014-04-24 22:39:01 +00:00
Nobuyuki Kubota
9f33266f23
Merge pull request #81 from watsonsong/master
...
fix compile error on Linux by gcc 4.7
2014-04-07 10:37:54 +09:00
Frank Watson Song
d8c7fd5161
fix compile error on Linux by gcc 4.7
2014-04-01 17:34:28 +08:00
Nobuyuki Kubota
731bc643d0
Merge pull request #79 from redboltz/add_inline
...
Fixed https://github.com/msgpack/msgpack-c/issues/77
2014-03-31 17:36:06 +09:00
Takatoshi Kondo
12e8615ac5
Fixed dereferencing type-punned pointer will break strict-aliasing rules warning.
2014-03-31 16:37:29 +09:00
Takatoshi Kondo
22703d2cdb
Fixed https://github.com/msgpack/msgpack-c/issues/77
2014-03-30 18:42:15 +00:00
Takatoshi Kondo
cb518f472a
Merge pull request #73 from ovz/master
...
Fixed failing test zone_allocate_constructor.
2014-03-30 18:46:15 +09:00
Takatoshi Kondo
271f1fa319
Merge pull request #75 from mogemimi/fix/typo
...
Fix typo in QUICKSTART-CPP
2014-03-30 18:21:34 +09:00
mogemimi
9ecc4f0a1e
Fix typo in QUICKSTART-CPP
2014-03-24 23:07:10 +09:00
ovz
977eab7c4a
Fixed failing test zone_allocate_constructor.
...
Corrected a typo in definition of myclass constructor with parameters.
2014-03-18 14:25:55 -07:00
Nobuyuki Kubota
126e4d8414
Merge pull request #70 from redboltz/remove_cxx11_features
...
Removed C++11 features
2014-03-02 16:58:16 +09:00
Takatoshi Kondo
14ee1e5827
Removed C++11 features
2014-03-02 14:14:04 +00:00
Nobuyuki Kubota
ecbb9055a2
Merge branch 'vvolodko/improve-define'
2014-02-28 16:15:20 +09:00
Nobuyuki Kubota
862f04104d
Changed the format a little
2014-02-28 16:14:49 +09:00
Vladimir Volodko
d47f72be0c
Refactor define::msgpack_unpack() to use 'switch' instead of several if's.
...
convert.benchmark test show some improvement.
2014-02-28 16:14:33 +09:00
Nobuyuki Kubota
98c5767372
Merge branch 'redboltz/add_integer_to_float_conv'
2014-02-28 15:53:11 +09:00
Nobuyuki Kubota
97a7b7545a
Refactored test cases with type parameterized test
2014-02-28 15:52:36 +09:00
Nobuyuki Kubota
caf5616573
Merge pull request #69 from redboltz/support_libcpp_and_vcxx_unordered
...
Support libcpp and vcxx unordered
2014-02-28 15:22:27 +09:00
Takatoshi Kondo
b8076fa71f
Supported VC++. Fixed testing macro for tr1 containers.
2014-02-27 23:54:48 +00:00
Takatoshi Kondo
2360466aa9
Added unordered containers support for libc++.
2014-02-22 20:43:18 +00:00
Nobuyuki Kubota
28370b36aa
Replaced deprecated functions in example/stream.cc
2014-02-07 20:16:51 +09:00
Nobuyuki Kubota
9d82356ea9
Merge pull request #62 from redboltz/remove_redundant_null_check
...
Removed a redundant null check.
2014-02-07 20:05:49 +09:00
Nobuyuki Kubota
ca24e040c4
Merge pull request #61 from redboltz/fix_delete_free_mismatch
...
Fixed the free and delete mismatch problem.
2014-02-07 20:04:57 +09:00
Takatoshi Kondo
0fd629857d
Removed a redundant null check.
2014-02-03 09:34:48 +00:00
Takatoshi Kondo
8eff14db11
Removed redundant null check.
2014-02-02 16:22:07 +00:00
Takatoshi Kondo
81e26fe9b9
Fixed the free and delete mismatch problem.
...
https://github.com/msgpack/msgpack-c/issues/52
2014-02-02 00:07:45 +00:00
Takatoshi Kondo
9eb4583dd5
Merge pull request #59 from redboltz/add_null_check
...
Added null pointer check.
2014-01-27 17:53:19 -08:00
Takatoshi Kondo
5a23c86dc1
Added null pointer check.
2014-01-28 10:54:57 +09:00
Takatoshi Kondo
ffd0525607
Replaced types of length from unsigned int to size_t.
2014-01-26 11:29:19 +00:00
Drew Crawford
3dc636bf3e
This patch fixes a type conversion warning in clang 5 when compiling for arm64 targets.
...
```
$ clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
In file included from /Users/drew/Dropbox/Code/caffeine-ios/ext/msgpack/src/msgpack/pack.h:120:
/Users/drew/Dropbox/Code/caffeine-ios/ext/msgpack/src/msgpack/pack_template.h:773:57: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32]
msgpack_pack_append_buffer(x, (const unsigned char*)b, l);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /Users/drew/Dropbox/Code/caffeine-ios/ext/msgpack/src/objectc.c:19:
/Users/drew/Dropbox/Code/caffeine-ios/ext/msgpack/src/msgpack/pack.h:118:61: note: expanded from macro 'msgpack_pack_append_buffer'
return (*(user)->callback)((user)->data, (const char*)buf, len)
^
1 warning generated.
```
This patch is provided under the Apache License version 2.
2014-01-24 12:41:13 -06:00
Takatoshi Kondo
260ce4aa1d
Added object that has integer to float and double converter.
2014-01-21 21:12:13 +00:00
Takatoshi Kondo
8bc827ebf5
Merge pull request #51 from xunzhang/master
...
update type.hpp
2014-01-13 18:10:49 -08:00
xunzhang
a97f764088
update type.hpp, support std::tr1::unordered_map and std::tr1::unordered_set
2014-01-13 14:12:17 +08:00
Nobuyuki Kubota
143b90af3e
Merge branch 'claws/readme_overhaul'
2013-12-22 21:12:04 -08:00
Nobuyuki Kubota
4e0a6ae624
Fixed some URL syntaxes
2013-12-22 21:04:53 -08:00
Nobuyuki Kubota
0c60cfc5c0
Merge pull request #47 from nobu-k/version-0.5.8
...
version 0.5.8
cpp-0.5.8
2013-12-22 20:35:16 -08:00
Nobuyuki Kubota
deb6b0e334
version 0.5.8
2013-12-22 20:24:49 -08:00
Nobuyuki Kubota
27777dcd31
Merge pull request #46 from redboltz/fixed_size_type
...
Fixed size types based on snej's pull request.
2013-12-22 11:55:05 -08:00
Nobuyuki Kubota
bdb397e043
Merge pull request #36 from redboltz/support_plain_char
...
Supported 'plain' char.
2013-12-22 11:19:19 -08:00
Takatoshi Kondo
cb4d851761
Fixed size types based on snej's pull request.
...
1784e7a3f3
2013-12-22 15:13:48 +00:00
Chris Laws
17aa517e41
Fix up README, include accurate instructions
2013-12-17 08:53:15 +10:30
Takatoshi Kondo
7ac16f4834
Replaced const [un]signed long long int&
with [un]signed long long int
in sevral function's arguments to unify the interface. No performance issue is observed.
2013-12-16 13:39:12 +09:00