29 Commits

Author SHA1 Message Date
8cdf333e5b Fix unpack for uint values 127 < x < 65536 2020-04-09 13:01:53 +02:00
7e1ca5b414 Fix CI build. 2019-06-30 10:14:39 +03:00
024d901605 Fix CI build. 2019-06-30 09:12:01 +03:00
a9e429a30f Pack QMetaType::Nullptr QVariant's as nil. 2019-06-30 09:03:04 +03:00
0b8282d592 Make it possible to disable Qt type pack handlers at build time
usable with either
  qmake DEFINES+=MSGPACK_NO_PACKTYPES
or
  DEFINES += MSGPACK_STATIC MSGPACK_NO_PACKTYPES
  include(path/to/qmsgpack/qmsgpack.pri)
2018-12-02 14:25:14 +03:00
d9f37afe2e Build and run tests with qmake
as of now, running tests is as simple as just typing
  qmake && make check
2018-11-20 21:21:07 +03:00
172c71b027 Consolidate target lib name, path and version across platforms and configs 2018-11-20 21:19:30 +03:00
b7284725e8 Fix bugs in msgpackstream.cpp, add PVS Studio headers and how to, add stream test to Qt project. 2017-07-10 16:02:38 +03:00
4354e25e6c Merge remote-tracking branch 'upstream/static-build' 2016-04-22 15:03:45 +03:00
5278792441 Add test for QMap;
!BUG pack-unpack some 64-bit integers;
2016-04-21 20:59:26 +03:00
b23c76ddf0 Nil packing and unpacking fix 2015-12-31 10:36:25 +03:00
65598cffd7 Another Qt4 build fix. 2015-09-12 17:05:08 +03:00
5761f66683 Qt types stream operators, documentation updated, custom types support improved, bug fixes and new tests. 2015-09-12 16:48:21 +03:00
4da435044d MsgPackStream missing dev() added. Some little improvements. 2015-08-28 21:12:09 +03:00
4973aa88f2 qt_types test fixed
Sphinx doc added
2015-06-29 20:47:24 +03:00
a175a79fda Merge pull request #12 from anton-dutov/nil-pack
Nil pack
2015-06-29 20:36:29 +03:00
63c15f9ead Qt4 user type fixes
QDate, QTime, QDateTime, QPoint, QSize, QRect isNull() checks
2015-06-29 19:52:59 +03:00
ce6ddab5e4 CMake BUILD_TESTS variable added
TRUE and FALSE renamed to MTRUE and MFALSE
stream.h[cpp] renamed to msgpackstream.h[cpp]
QMap and QHash added to MsgPackStream + test
2015-06-29 14:32:35 +03:00
deac492817 Nil packer and unittests pack/unpack for nil 2015-06-29 01:33:48 +05:00
318aa870cd sysdep.h moved to endianhelper.h for MsgPackStream
MsgPackStream integers fixed (unpack_upto_* removed, bad idea)
MsgPackStream::test_array added
2015-06-10 17:42:06 +03:00
7d5d72e814 Some bugs fixed
float support added
float, double, QByteArray, QList<T> to MsgPackStream added
float, double, QByteArrat tests for MsgPackStream added
2015-05-24 22:31:35 +03:00
f978fb0d78 MsgPackStream QString and const char * added
Qt types: QPoint, QSize, QRect implemented using MsgPackStream
MsgPackStream QString tests added
2015-05-19 22:41:22 +03:00
b7fbf6413e MsgPackStream integers pack and unpack
User types packers now called only once, and return QByteArray
2015-05-16 21:45:33 +03:00
1ae96715cf Started work on MsgPackStream 2015-05-02 00:06:35 +03:00
3b0d6e3c31 Work on QTime, QDate, QDateTime, QSize, QPoint, QRect
unpack_upto_<integer> added for user packer / unpacker functions
2015-04-22 23:47:31 +03:00
e7c6afcd49 Thread safety implemented for registerPacker and registerUnpacker 2015-04-14 22:50:20 +03:00
c07318c325 some bugs fixed, test written, version() added 2014-09-26 22:03:24 +04:00
4c905a30e4 pack test is almost done, some fixes in cmake files 2014-09-22 23:01:21 +04:00
fd58047192 cmake files added, folder tree reorganized, pack test partially written 2014-09-22 20:03:00 +04:00