Timothee Cour
b9994925f5
remove all uses of condsyms symbols defined prior to bootstrap nim 0.20.0 ( #16918 )
...
* nimNoArrayToCstringConversion deadcode
* nimbabel deadcode
* nimHasalignOf deadcode
* nimvarargstyped deadcode
* nimhygiene deadcode
* nimNewTypedesc deadcode
* nimlocks deadcode
* nimHasCppDefine deadcode
* nimHasRunnableExamples deadcode
* nimHasNilChecks deadcode
* nimSymKind deadcode
* minor macros refactoring
* nimVmEqIdent deadcode
* nimNoNil deadcode
* nimNoZeroTerminator deadcode
* nimHasSymOwnerInMacro deadcode
* nimVmExportFixed deadcode
* nimNewRuntime deadcode
* nimAshr deadcode
* nimUncheckedArrayTyp deadcode
* nimHasTypeof deadcode
* nimErrorProcCanHaveBody deadcode
* nimHasHotCodeReloading deadcode
* nimHasSignatureHashInMacro deadcode
* nimHasDefault deadcode
* nimMacrosSizealignof deadcode
2021-02-17 09:32:36 +01:00
Timothee Cour
b3c3557c33
fix #16025 repr now consistent: does not insert trailing newline ( #16034 )
2020-11-19 12:12:51 -08:00
Andreas Rumpf
da29222f86
init checks and 'out' parameters ( #14521 )
...
* I don't care about observable stores
* enforce explicit initializations
* cleaner code for the stdlib
* stdlib: use explicit initializations
* make tests green
* algorithm.nim: set result explicitly
* remove out parameters and bring the PR into a mergable state
* updated the changelog
2020-06-23 10:53:57 +02:00
Arne Döring
4005f0d0e4
forward type alignment information to seqs ( #12430 )
2020-04-19 07:52:01 +02:00
Andreas Rumpf
fd85a5ae05
more fixes for --cpu:avr [backport] ( #12748 )
2019-11-27 16:24:21 +01:00
Andreas Rumpf
1746da2d9e
--gc:destructors now means Nim uses pure refcounting ( #12557 )
2019-10-30 16:15:17 +01:00
Araq
0eae2217b6
first implementation of the new --seqsv2 switch
2019-10-20 08:11:07 +02:00
Andreas Rumpf
62aa1a3cfe
gc:destructors progress
2019-09-16 23:54:31 +02:00
Timothee Cour
64168d4aea
fixes #8405 : -d:useNimRtl now works even when {.rtl.} procs are used at compile time; CTFFI now works with {dynlib} ( #11635 )
2019-07-03 23:57:52 +02:00
Ico Doornekamp
a5686961bd
Make repr use 'ptr' for ptr types instead of 'ref' ( #11626 )
2019-07-01 11:59:27 +02:00
Arne Döring
c7e1c665a1
[refactoring] refactor the compiler and stdlib to deprecation warnings ( #11419 )
2019-06-11 16:49:56 +02:00
Ico Doornekamp
a170719d1a
repr on seq now outputs @[...] ( #11224 )
2019-05-10 16:33:42 +02:00
Arne Döring
e904b3f952
code cleanup ( #10874 )
2019-03-28 12:32:02 +01:00
Andreas Rumpf
43d570c178
gc:destructors: make system/repr compile
2019-02-21 07:57:29 +01:00
Araq
3f6168b337
removes deprecated T/P types
2018-11-16 13:27:56 +01:00
LemonBoy
72cd3b7914
Fix repr() for UncheckedArray ( #9385 )
2018-10-16 14:27:42 +02:00
Araq
27f488e5d9
make more tests green; system.repr does not produce 'nil' for strings and seqs anymore
2018-08-22 15:37:57 +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
Andreas Rumpf
f485ebe162
--gc:destructors: next steps; WIP
2018-07-21 13:16:53 +02:00
Fabian Keller
7c03c882f5
Remove more usages of unary lt ( fixes #6634 ) ( #6641 )
...
* fixes #6634
* remove more usages of unary <
2017-10-31 19:48:01 +01:00
Andreas Rumpf
6a3288a60e
more replacements for the deprecated '<'
2017-10-29 08:55:30 +01:00
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