Commit Graph

38 Commits

Author SHA1 Message Date
konsumlamm
d5ce648838 Fix an RST issues introduced in #16777 (#16798) 2021-01-22 13:22:52 -08:00
konsumlamm
d2b218b80a Improve the marshal module (#16777)
* Improve marshal

Use runnableExamples
Refactor tests

* Readd {.inheritable.} test

Apply suggestions
2021-01-22 19:52:34 +01:00
Andreas Rumpf
fd31e8ff6f allow old styled RTTI for arc/orc (#15331) 2020-09-16 14:57:01 +02:00
hlaaftana
cd9af6b804 StringStream & more stdlib modules support for JS/NimScript (#14095)
* StringStream & more stdlib modules support for JS/NimScript

* change back pegs test in line with #14134
2020-04-28 19:44:52 +02:00
cooldome
7b582fd6a6 fixes #13863 (#13929)
Co-authored-by: cooldome <ariabushenko@bk.ru>
2020-04-08 19:51:23 +02:00
narimiran
5732bb41ef [backport] run nimpretty on the remaining files 2019-09-30 13:58:17 +02:00
Jasper Jenkins
71388caf2e remove stdlib case transitions (#11401) 2019-06-05 08:04:29 +02:00
Miran
bfa32e8d99 improve 'marshal' documentation, refs #10330 (#11398) 2019-06-04 20:54:32 +02:00
Andreas Rumpf
223e92b83a stdlib: documenation updates, the exception names have been changed 2018-10-25 07:42:45 +02:00
Vindaar
9cdd9be5a5 fixes #8916 by fixing typeinfo and marshal. (#9341)
* fixes #8916 by removing `tyString`, `tySeq`, mod. marshal, typeinfo

Need to check in `typeinfo` for nil of the underlying pointer.
In marshal don't have to check for nil of seq anymore.

* remove reference to string, sequence in `isNil` doc string
2018-10-13 08:47:58 +02:00
Araq
ef771cde1a document usage of marshal.to; fixes #3150 2018-09-03 09:44:44 +02:00
Araq
64517445ea even more strict isNil handling for strings/seqs in order to detect bugs 2018-08-22 12:35:46 +02:00
Federico Ceratto
127556ad63 Update marshal.nim 2018-06-13 23:22:07 +01:00
Federico Ceratto
d1e03c20d2 Add hint on JSON serialization 2018-06-13 23:11:29 +01:00
Araq
bbb0fd4eb7 remove deprecated stuff from the stdlib; introduce better deprecation warnings 2018-05-05 21:45:07 +02:00
Andreas Rumpf
6a3288a60e more replacements for the deprecated '<' 2017-10-29 08:55:30 +01:00
Federico Ceratto
0ce459ac53 Add marshal format warning 2016-11-19 18:52:28 +00:00
Federico Ceratto
80744fe4f7 Add [un]marshalling examples 2016-11-19 16:55:47 +00:00
Ruslan Mustakov
e26f9cb665 Use array encoding for non-UTF-8 strings in marshal. Fixes #4779. 2016-09-16 17:02:34 +07:00
Ruslan Mustakov
6013240f5d marshal now can handle binary data in strings 2016-09-13 22:29:35 +07:00
Araq
8be9e46403 udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
Dominik Picheta
94ad731964 Fixes example code in marshal module. 2015-07-26 18:21:14 +01:00
pdw
6914244f30 lib/pure/e-o - Dropped 'T' from types 2015-06-04 13:18:35 +02:00
Araq
d3fc6e1f28 marshalling can be done at compile-time 2015-04-25 23:17:00 +02:00
Oleh Prypin
32109a7867 Don't run non-test code when defined(testing) 2015-04-21 14:37:29 +03:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
eb69b81859 doc improvements 2014-11-27 09:31:40 +01:00
Araq
42f5a838a3 more modules updated 2014-08-28 02:06:11 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
e599fdd60d bugfix: marshal supports unsigned numbers 2013-06-27 08:39:41 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
0758508895 bugfix: typeinfo.extendSeq 2013-01-27 19:15:13 +01:00
Araq
8a92e95ccf made tests green again 2012-08-24 19:08:34 +02:00
Zahary Karadjov
b11fe5d0b4 more uint related fixes 2012-06-14 17:33:00 +03:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
98e5beb936 got rid of akPureObject 2011-09-24 10:57:35 +02:00
Araq
99bcc233cd bugfix: 'set' overloadable; further steps for multi threading support 2011-07-08 01:29:15 +02:00
Araq
990dc2d715 code gen bugfixes; marshal.nim implemented 2011-06-26 17:21:52 +02:00