Commit Graph

62 Commits

Author SHA1 Message Date
Andreas Rumpf
3308d26581 breaking change: arrays of char do not convert to cstring; ptr to array of char does 2017-10-10 00:17:20 +02:00
Arne Döring
c9a2acefc1 fix 2017-07-24 23:21:51 +02:00
Arne Döring
ddea990a70 removed newString proc again, reverted some unnecesary changes 2017-07-24 23:21:51 +02:00
Arne Döring
0852be2dec remove $ for ptr/ref, prefer using string over array of char 2017-07-24 23:21:51 +02:00
Arne Döring
1f7fc7f279 arrays can now be printed 2017-07-24 23:21:51 +02:00
Markus F.X.J. Oberhumer
a0f39e0ab4 Ascii character code 127 (DEL) is not printable and must be quoted. (#5984)
This is a follow-up to #5823.
2017-06-15 20:42:23 +02:00
Andreas Rumpf
cb6c975d3a fixes repr regression 2017-01-27 07:06:22 +01:00
Andreas Rumpf
8d3d9ce5cc repr.nim: minor improvement when outputting addresses of cstrings 2017-01-26 23:50:19 +01:00
Jeff Ciesielski
7f30d04d6a Fix compilation for 16 bit targets (#5286) 2017-01-26 07:05:03 +01:00
Brandon Pickering
c98a8f3701 Handle different enum sizes in reprAux (#5207) 2017-01-11 05:54:04 +01:00
Andreas Rumpf
0834cd63d9 prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
Rostyslav Dzinko
e94c0ea4c8 Fixed reprEnum function on 32-bit systems 2016-07-05 19:05:31 +03:00
gmpreussner
91d152c0f5 Rewrote enum sign extension with branchless bit operations (also fixes travis) 2016-03-15 00:07:18 -04:00
gmpreussner
e8ff987cef Fixed negative enum values not getting stringified. 2016-03-14 21:58:28 -04:00
cheatfate
f6c456b792 Fix for #3939 issue 2016-03-06 00:55:29 +02:00
cheatfate
a27e4b5193 bug fix: repr() of sized enums presentation Issue #3864 2016-02-18 15:40:55 +02:00
Michał Zieliński
26f2bb0eab add support for uint32 and uint64 in repr 2016-01-16 17:06:03 +01:00
Yuriy Glukhov
6ac2ba1223 Uint64 to string in pure nim. array[char] to string fixed in vm. 2015-09-14 20:32:09 +03:00
Araq
f9750781c0 fixes #3080 2015-08-02 02:56:02 +02:00
Araq
6de5c1e86d fixes #2992 2015-06-25 13:13:33 +02:00
Andreas Rumpf
e2bcf22a84 Merge pull request #2768 from gokr/fix-repr
Fixes #2749, traverse full inheritance for reprRecord
2015-06-16 20:48:51 +02:00
Stefan Talpalaru
bdac85f2cf Merge branch 'devel' into gogc 2015-06-15 08:44:02 +02:00
pdw
2ca90a20a1 lib/system/g-w - Dropped 'T' from types 2015-06-04 13:18:37 +02:00
Stefan Talpalaru
50e96ad939 the Go GC - initial implementation 2015-05-31 19:07:44 +02:00
Göran Krampe
0fc53151ba Tweaked to do commas properly 2015-05-20 12:48:38 +02:00
Göran Krampe
2cceaff88a Fixes #2749, traverse full inheritance for reprRecord 2015-05-20 11:59:02 +02:00
Araq
c90a13bb41 fixes #2124 2015-02-20 12:25:58 +01:00
Araq
10335fd726 fixed minor bugs; cleaned up tests 2015-02-12 14:56:56 +01:00
Araq
fc0fda14ae system files use new identifiers 2014-08-23 00:58:04 +02:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Araq
af0de9090e fixes #1475 2014-08-13 12:58:49 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
katlogic
cea2a9087d More human readable $(float)
The output matches that of Python (eg 1e100, not 1.0e100), but also
reflects locale (assuming it was set using setlocale() before).
2014-06-15 01:49:14 +02:00
Araq
c80d563afb actors compile again 2014-04-20 12:10:23 +02:00
Araq
a431207e52 bugfix: reprEnum for enums with negative values 2014-03-22 02:49:51 +01:00
Araq
1101a40f91 improvements for 'pretty' 2013-12-28 23:30:53 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Araq
827dc054fb bugfix: --gc:none -d:useMalloc works again 2013-09-06 00:25:48 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
b20663ce19 fixes #232 2012-10-19 13:24:42 +02:00
Araq
4fbba0a65a changed integer promotion rules; breaks bootstrapping and lots of code 2012-07-08 21:03:47 +02:00
Araq
36247e0947 added devel/logging; weakrefs test; next steps for proper unsigned support 2012-07-05 00:03:33 +02:00
Araq
b2c255c739 bugfix: DLLs should compile again 2012-03-31 01:16:44 +02:00
Araq
142e849b91 implemented support for the AVR CPU and standalone OS 2012-03-31 01:03:14 +02:00
Araq
3af91064e5 bugfix: reprEnum 2012-02-02 02:40:21 +01:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
c8d270268a bugfixes for .rod files and visual C++ 2011-12-03 17:21:35 +01:00
Araq
bd2d146c77 got rid of tyPureObject; broke bootstrapping; use generated C code 2011-09-24 09:35:00 +02:00
Araq
99bcc233cd bugfix: 'set' overloadable; further steps for multi threading support 2011-07-08 01:29:15 +02:00