Roman Isaikin
bf12914846
Merge pull request #23 from mtstickney/stream_partial_reads
...
Handle partial reads correctly.
2017-02-16 22:59:24 +03:00
Matthew Stickney
4ff4ba8448
Handle partial reads correctly.
...
QIODevice::read() can read any number of bytes less than the amount
requested if there wasn't that much data available. If the result is >= 0,
we haven't actually hit EOF yet and should continue trying to read data.
Since QIODevice::read() doesn't block, we use QIODevice::waitForReadyRead()
to avoid spinning waiting for input to arrive.
If we encounter EOF or another error during a read, we set the ReadPastEnd
status and walk away as normal.
2017-02-08 18:46:31 -05:00
Roman Isaikin
4691007c84
Merge pull request #22 from enochc/master
...
changed QMetaType::Type T to int to allow registration of custom QMet…
2016-05-31 11:44:56 +03:00
Enoch Carter
35b0e9108c
changed QMetaType::Type T to int to allow registration of custom QMetaTypes
2016-05-26 08:51:54 -06:00
Roman Isaikin
098655e14e
Update README.md
2016-05-03 10:31:39 +03:00
Roman Isaikin
363e20d2c6
Merge pull request #21 from romixlab/static-build
...
Static build, tests for QMap, missing export & includes for Windows build
2016-04-26 23:45:30 +03:00
Roman Isaikin
b3ee428ee6
Merge pull request #19 from pixraider/master
...
Add test for QMap to tests/unpack
2016-04-26 23:13:02 +03:00
Roman Isaikin
565224e797
Update README.md
2016-04-26 22:49:13 +03:00
Roman Isaikin
7cbc3c3138
Fix 64bit integers pack, issue #20 .
2016-04-26 22:26:46 +03:00
pixraider
4354e25e6c
Merge remote-tracking branch 'upstream/static-build'
2016-04-22 15:03:45 +03:00
pixraider
5278792441
Add test for QMap;
...
!BUG pack-unpack some 64-bit integers;
2016-04-21 20:59:26 +03:00
Roman Isaikin
49b6c10986
Merge branch 'master' into static-build
2016-04-09 22:37:40 +03:00
Roman Isaikin
66c8a7cf33
Merge remote-tracking branch 'pixraider-remote/master' into static-build
2016-04-09 22:30:20 +03:00
Roman Isaikin
46f6184f22
Merge pull request #18 from lugia-kun/master
...
MSVC build fix
2016-04-09 22:06:13 +03:00
Роман Исайкин
6e023af9e0
Fix MsgPackStream export.
2016-04-06 11:33:23 +03:00
Hajime Yoshimori
af0e130c58
Merge branch 'master' of https://github.com/romixlab/qmsgpack
2016-01-09 21:16:48 +09:00
Hajime Yoshimori
530ff27c0b
Remove invalid symlink
2016-01-09 21:15:37 +09:00
Roman Isaikin
b23c76ddf0
Nil packing and unpacking fix
2015-12-31 10:36:25 +03:00
Roman Isaikin
349c5051d6
Disabled Qt4 Travis build.
2015-12-03 23:31:09 +03:00
Roman Isaikin
ecd9111c07
Little doc fix.
2015-12-03 23:28:04 +03:00
pixraider
17e7b9f6f9
! MAKE_LIB define for proper resolve Q_DECL_EXPORT in win32
2015-11-28 20:39:09 +03:00
pixraider
a0a1956aec
+ qmsgpack.pri for static linking to any project
2015-11-27 21:52:10 +03:00
Hajime Yoshimori
527fb32676
Fix build under MSVC18.0 (2012)
...
- stdint.h (which defines uint16_t and uint32_t) is bundled with the
versions starting from MSVC14.0 (2010)
2015-10-05 10:42:03 +09:00
Isaikin Roman
f000efd79d
Merge branch 'master' of https://github.com/jiangcaiyang/qmsgpack-patched
2015-09-12 17:09:12 +03:00
Isaikin Roman
65598cffd7
Another Qt4 build fix.
2015-09-12 17:05:08 +03:00
Isaikin Roman
02b8cb0260
Qt4 build fix.
2015-09-12 16:59:01 +03:00
Isaikin Roman
5761f66683
Qt types stream operators, documentation updated, custom types support improved, bug fixes and new tests.
2015-09-12 16:48:21 +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 Isaikin
5be342038a
.pro make install now working.
2015-08-07 22:56:51 +03:00
Roman Isaikin
db576fce6e
Merge branch 'master' of https://github.com/romixlab/qmsgpack
2015-08-07 22:40:50 +03:00
Roman Isaikin
169c2bb59d
.pro files added
2015-08-07 22:40:18 +03:00
Roman
760b52c0d5
Update README.md
2015-07-12 22:54:09 +03:00
Roman
14dfdb50e2
Update msgpack.org.md
2015-07-12 22:53:25 +03:00
Roman
b2eb1bfa92
Update README.md
2015-07-12 22:48:42 +03:00
Roman Isaikin
d868f78621
Doc work
2015-07-12 22:35:34 +03:00
Roman
4258811d95
msgpack_common.h define fix
2015-06-30 15:56:10 +03:00
Roman
4973aa88f2
qt_types test fixed
...
Sphinx doc added
2015-06-29 20:47:24 +03:00
Roman
a175a79fda
Merge pull request #12 from anton-dutov/nil-pack
...
Nil pack
2015-06-29 20:36:29 +03:00
Roman
f5d084e772
Merge pull request #13 from romixlab/qt_types
...
Qt types, MsgPackStream
2015-06-29 20:35:45 +03:00
Roman
dfdeb25b09
Travis Qt5 build fix
2015-06-29 19:58:14 +03:00
Roman
697204926c
Merge branch 'qt_types' of https://github.com/romixlab/qmsgpack into qt_types
2015-06-29 19:54:04 +03:00
Roman
63c15f9ead
Qt4 user type fixes
...
QDate, QTime, QDateTime, QPoint, QSize, QRect isNull() checks
2015-06-29 19:52:59 +03:00
Roman
564e57a0cb
Update .travis.yml
2015-06-29 14:58:59 +03:00
Roman
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
Anton Dutov
deac492817
Nil packer and unittests pack/unpack for nil
2015-06-29 01:33:48 +05:00
Anton Dutov
c8b826c6a0
Unpack nil fix
2015-06-29 01:19:10 +05:00
Roman
0faf4a0a27
Update README.md
2015-06-27 14:50:28 +03:00
Roman
23157d8eb1
Create msgpack.org.md
2015-06-27 14:48:41 +03:00
Roman
f45abecbb1
Update README.md
2015-06-27 14:48:00 +03:00