Commit Graph
21 Commits
Author SHA1 Message Date
Manuel Weichselbaumer 8cdf333e5b Fix unpack for uint values 127 < x < 65536 2020-04-09 13:01:53 +02:00
Nils Fenner 166fd5acad interim fix for the "const QByteArray&" casts
Did not dive much into the address logic here, but I think we would
be better of with index counting instead of addresses.
2019-02-20 14:01:32 +01:00
Nils Fenner 538f28dc24 fix pointer comparison warning 2019-02-20 13:57:13 +01:00
Nils Fenner fc8f9d7c66 fix msgpack private type casts 2019-02-20 13:51:15 +01:00
Roman Isaikin 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
Roman Isaikin b23c76ddf0 Nil packing and unpacking fix 2015-12-31 10:36:25 +03:00
jiangcaiyang 45c485476a To work with Windows Phone
Changed some code to cater to MSVC compiler, it potentially support
Windows Runtime ( i.e. Windows Metro Applications ).
2015-09-10 10:18:10 +08:00
Isaikin Roman 4da435044d MsgPackStream missing dev() added. Some little improvements. 2015-08-28 21:12:09 +03:00
Roman a175a79fda Merge pull request #12 from anton-dutov/nil-pack
Nil pack
2015-06-29 20:36:29 +03:00
Anton Dutov c8b826c6a0 Unpack nil fix 2015-06-29 01:19:10 +05:00
Isaikin Roman 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
Isaikin Roman 32b04745ee MsgPackStream work 2015-05-16 12:07:10 +03:00
Roman 6d04bc66c6 ExtHelpers added 2015-04-15 22:59:59 +03:00
Roman cb0ed45ea1 typo 2015-04-14 23:52:52 +03:00
Roman 906c48b9b6 QReadLocker / QWriteLocker instead manual lock() unlock() for safety (e.g. exception before unlock())
master ahead manual fix
2015-04-14 23:03:04 +03:00
Roman e7c6afcd49 Thread safety implemented for registerPacker and registerUnpacker 2015-04-14 22:50:20 +03:00
Elvis Stansvik 8d03b48b10 Some header inclusion clean-ups.
o Include what is directly used, nothing more.
 o Don't rely on transitive inclusion.
 o Order inclusions as: 1) own, 2) Qt, 3) others.
 o Order inclusions alphabetically.
 o Use forward declarations where possible.
 o Blank line between include guard and #include directives.

Tested on Qt 4.8.6 and Qt 5.4.1.

This incidentally fixes "invalid use of incomplete type ‘class
QStringList’" which I got in pack_p.cpp with Qt 4.8.6.
2015-04-11 15:48:55 +02:00
romixlab c07318c325 some bugs fixed, test written, version() added 2014-09-26 22:03:24 +04:00
Roman 93f45f9b0b some bug fixes (++ optimized out) 2014-09-24 22:18:37 +04:00
romixlab 1ee73e8cf8 bug with map unpacking fixed 2014-09-24 21:00:13 +04:00
romixlab fd58047192 cmake files added, folder tree reorganized, pack test partially written 2014-09-22 20:03:00 +04:00