162 Commits

Author SHA1 Message Date
9e61498ca2 MsgPackStream: writeBytes() added 2015-05-29 20:15:26 +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
1277a0c204 MsgPackStream: float, double 2015-05-23 20:00:40 +03:00
2acfaf4cc5 Typo 2015-05-19 23:02:13 +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
32b04745ee MsgPackStream work 2015-05-16 12:07:10 +03:00
87bd3dedb1 MsgPackStream work (now working now) 2015-05-15 22:49:39 +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
6d04bc66c6 ExtHelpers added 2015-04-15 22:59:59 +03:00
6cf1e17492 1/2 QPoint 2015-04-15 19:13:54 +03:00
cb0ed45ea1 typo 2015-04-14 23:52:52 +03:00
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
e7c6afcd49 Thread safety implemented for registerPacker and registerUnpacker 2015-04-14 22:50:20 +03:00
dd24abd0b7 QTime, QDate, QDateTime added 2015-04-12 13:43:14 +03:00
8482a8a5c8 Update README.md 2015-04-12 08:53:19 +03:00
842a07bcf0 Update README.md 2015-04-11 22:14:47 +03:00
e7c0ee2387 Started working on Qt types packers/unpackers
QColor implemented
cmake will fail with Qt4 for now
2015-04-11 22:11:44 +03:00
52866234be Build status added 2015-04-11 20:18:49 +03:00
62b1a23165 Merge pull request #10 from estan/fix-travis
Disable clang build on Travis for now.
2015-04-11 19:43:01 +03:00
413e3c7436 Disable clang build on Travis for now.
Travis runs 12.04 (old!), and there are only PPA packages for
Qt 5.0.2, which contains a bug [1] (which has since been fixed in
[2]) that fails the build when using clang.

We have to either

 * wait until Travis CI moves to 14.04 [3], or
 * someone provides more recent Qt packages for 12.04 (unlikely).

Anyway, the two builds on Travis should now pass.

[1] https://bugreports.qt.io/browse/QTBUG-32100
[2] https://codereview.qt-project.org/#/c/60150/
2015-04-11 18:03:18 +02:00
8e3dc57316 Merge pull request #9 from estan/fix-travis
Add CMake 3.x from PPA to Travis.
2015-04-11 18:37:41 +03:00
a414feeed3 Update README.md 2015-04-11 18:37:25 +03:00
76f46f5f9d Merge pull request #6 from estan/include-fixes
Some header inclusion clean-ups.
2015-04-11 18:29:50 +03:00
0824680f85 Don't use apt-get upgrade on Travis. 2015-04-11 16:32:13 +02:00
127045f520 Use CMake 2.8.11.2 from ppa:kalakris/cmake instead.
Seems Travis runs Ubuntu Precise.
2015-04-11 16:27:01 +02:00
dd1be2463f Add CMake 3.x from PPA to Travis. 2015-04-11 16:23:13 +02:00
0408a72aa2 Rename travis.yml to .travis.yml 2015-04-11 17:01:34 +03:00
100c5b903c Merge pull request #7 from estan/enable-travis-ci
Add travis.yml.
2015-04-11 17:00:14 +03:00
4cee7c1a3e Add travis.yml. 2015-04-11 15:56:53 +02:00
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
0055145669 Thread-safety section added 2015-04-11 16:14:13 +03:00
64c7c813ca Update LICENSE 2015-04-11 15:58:42 +03:00
aa0f3d7018 Create LICENSE 2015-04-11 15:55:26 +03:00
1d3c06bb70 bin wrong first byte 2015-03-31 00:16:40 +03:00
e9de67569d Update README.md 2014-12-19 23:13:13 +03:00
544cba7374 Update README.md 2014-12-19 23:00:24 +03:00
1b9d5f4c12 Update README.md 2014-12-19 22:55:21 +03:00
226a9e03b9 Update README.md 2014-12-19 22:54:05 +03:00
5f4f72dac8 Compatibility mode implemented 2014-11-02 23:28:21 +03:00
c07318c325 some bugs fixed, test written, version() added 2014-09-26 22:03:24 +04:00
93f45f9b0b some bug fixes (++ optimized out) 2014-09-24 22:18:37 +04:00
1ee73e8cf8 bug with map unpacking fixed 2014-09-24 21:00:13 +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
39a26510dc user type unpacking implemented, unpack code reorganized 2014-09-19 23:26:24 +04:00
640f6fa155 Delete qmsgpack.pro.user 2014-09-18 23:49:22 +04:00
98cf9ff8ee user type packing implemented 2014-09-18 23:47:58 +04:00
0e5c49f36d packing is done, except for user types 2014-09-18 22:10:51 +04:00