Commit Graph
18 Commits
Author SHA1 Message Date
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
Roman 63c15f9ead Qt4 user type fixes
QDate, QTime, QDateTime, QPoint, QSize, QRect isNull() checks
2015-06-29 19:52:59 +03:00
Anton Dutov deac492817 Nil packer and unittests pack/unpack for nil 2015-06-29 01:33:48 +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
Roman 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
Isaikin Roman 1277a0c204 MsgPackStream: float, double 2015-05-23 20:00:40 +03:00
Roman 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
Roman b7fbf6413e MsgPackStream integers pack and unpack
User types packers now called only once, and return QByteArray
2015-05-16 21:45:33 +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
Roman 1d3c06bb70 bin wrong first byte 2015-03-31 00:16:40 +03:00
Roman 5f4f72dac8 Compatibility mode implemented 2014-11-02 23:28:21 +03: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
Roman 4c905a30e4 pack test is almost done, some fixes in cmake files 2014-09-22 23:01:21 +04:00
romixlab fd58047192 cmake files added, folder tree reorganized, pack test partially written 2014-09-22 20:03:00 +04:00