Commit Graph

35 Commits

Author SHA1 Message Date
Zahary Karadjov 1ac76ba687 Don't trigger the gcsafe effect when accessing zeroBytesRlp 2018-06-17 20:04:47 +03:00
Zahary Karadjov 2363474e5c make the package nimble compliant 2018-06-17 19:54:15 +03:00
alexm-status 97b7dc6b50
Update README.md 2018-05-30 14:39:21 -07:00
alexm-status 9d77a42e56
Update README.md 2018-05-27 14:23:54 -07:00
Zahary Karadjov 790aef0a9d Make 'read' and 'append' easier to override for user-defined types
The 'rlp.inspect' output have been improved.
2018-05-18 14:32:06 +03:00
Yuriy Glukhov 078aa161dd Workaround enum serialization 2018-05-18 12:46:23 +03:00
Yuriy Glukhov e47708b0bd
Merge pull request #11 from status-im/bugfix-read-array
Bugfix: objects with array fields were not deserialized properly
2018-05-17 16:34:35 +03:00
Zahary Karadjov 8d7dd1acb1 Bugfix: objects with array fields were not deserialized properly
fixes #10

The commit also introduces a common base type for all RLP exceptions
2018-05-17 16:11:03 +03:00
Yuriy Glukhov 63af57837d Workaround nim bug, startList made public 2018-05-16 11:46:06 +03:00
Yuriy Glukhov 6dddfdf675 Fixed seq[byte] and seq[char] serialization 2018-05-15 20:11:30 +03:00
Yuriy Glukhov 37b3803fcf Fixed test 2018-05-08 19:17:28 +03:00
Zahary Karadjov a97cb6c32f handle char arrays as blobs just like byte arrays 2018-04-01 05:37:50 +03:00
Zahary Karadjov 8acf725628 rlp.read for openarrays 2018-04-01 05:20:46 +03:00
Zahary Karadjov 09718bb5c3 implement rlp.read for arrays 2018-04-01 05:01:56 +03:00
Zahary Karadjov f903ad8bff add support for reading and writing enums 2018-04-01 04:37:06 +03:00
Yuriy Glukhov e0fa989449
Merge pull request #7 from yglukhov/fix-append-openarray-byte
openarray[byte] is now treated as blob instead of list
2018-03-31 12:57:12 +03:00
Yuriy Glukhov 9ed7e7b37b openarray[byte] is now treated as blob instead of list 2018-03-31 12:47:05 +03:00
Yuriy Glukhov 5861464710 Use new ranges 2018-03-27 10:53:55 +03:00
Yuriy Glukhov c1cc0f58a0 Added toBytes converters for ByteRange 2018-03-22 16:09:18 +02:00
Yuriy Glukhov 069d73df31 Fixed listElem 2018-03-20 17:03:21 +02:00
Zahary Karadjov 61da7236f4 make all tests green again 2018-03-14 14:48:10 +02:00
Yuriy Glukhov 798b1ebaf1 Fixed range bug in slice 2018-03-14 14:47:24 +02:00
Zahary Karadjov 0b516cb2b6 wrap objects and tuples in lists by default 2018-03-13 18:16:53 +02:00
Zahary Karadjov 34f1bee50d Use the standard Nimble name for the Apache v2 license 2018-02-27 19:47:25 +02:00
zah 70e6bf714b
Merge pull request #1 from alehander42/fix-ordinal
Fix ordinal
2018-02-27 18:16:54 +02:00
Alexander Ivanov 8cd02732ad Revert 2018-02-27 16:46:11 +02:00
Alexander Ivanov 99b534f356 Use toInt 2018-02-26 14:27:07 +02:00
Alexander Ivanov 1322b81393 Travis fix next try 2018-02-21 13:40:43 +02:00
Alexander Ivanov 432eccaf3f Fix travis 2018-02-21 13:04:00 +02:00
Alexander Ivanov 955a2afc87 Add support for uint 2018-02-21 12:34:07 +02:00
Alexander Ivanov b082a14a8b Add support for SomeOrdinal 2018-02-21 12:27:34 +02:00
Zahary Karadjov ce79722d43 use the new status-im/ranges library 2018-02-16 17:28:19 +02:00
Zahary Karadjov a0f075865c work-around some compilation issues present in the trie library 2018-01-31 22:55:12 +02:00
Zahary Karadjov 78ec433770 nim-rlp version 1.0 2018-01-30 22:18:58 +02:00
Jarrad 2bfc9e6270
Initial commit 2018-01-04 10:30:18 +00:00