Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #12122 (#21096) | Bung | 2022-12-16 | 1 | -5/+5 |
| | |||||
* | fixes ptr to cstring warnings[backport] (#20848) | ringabout | 2022-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix =#13790 ptr char (+friends) should not implicitly convert to cstring * Apply suggestions from code review * first round; compiles on windows * nimPreviewSlimSystem * conversion is unsafe, cast needed * fixes more tests * fixes asyncnet * another try another error * last one * true * one more * why bugs didn't show at once * add `nimPreviewCstringConversion` switch * typo * fixes ptr to cstring warnings[backport] * add fixes Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com> | ||||
* | properly fix #10053 ; `FieldDefect` msg now shows discriminant value + ↵ | Timothee Cour | 2021-08-13 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lineinfo, in all backends (c,vm,js) (#11955) * fix #10053 FieldError for vm * fixup * FieldError now also shows runtime value of discriminant * fix field error reporting in vm * also report culprit line info in err msg * fix errors for newruntime 2 * fix for js * fixup * PRTEMP4 * works * works * works perfect * refactor * std/private/repr_impl * suppport --gc:arc * cleanup * refactor * simplify * simplify * simplify * fixup * move out compiler.vmgen.genCustom * fixup * fixup * add tests * revert compiler/debugutils.nim * simplify reprDiscriminant * fixup * lib/std/private/repr_impl.nim -> lib/system/repr_impl.nim * try to fix D20210812T165220 * honor --declaredlocs * control toFileLineCol via --declaredlocs | ||||
* | cString => cSourceString; tyCString => tyCstring so that error msgs show ↵ | Timothee Cour | 2021-04-17 | 1 | -1/+1 |
| | | | | cstring, not cString (#17744) | ||||
* | remove all uses of condsyms symbols defined prior to bootstrap nim 0.20.0 ↵ | Timothee Cour | 2021-02-17 | 1 | -8/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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 | ||||
* | fix #16025 repr now consistent: does not insert trailing newline (#16034) | Timothee Cour | 2020-11-19 | 1 | -1/+2 |
| | |||||
* | init checks and 'out' parameters (#14521) | Andreas Rumpf | 2020-06-23 | 1 | -0/+1 |
| | | | | | | | | | | | * 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 | ||||
* | forward type alignment information to seqs (#12430) | Arne Döring | 2020-04-19 | 1 | -2/+2 |
| | |||||
* | more fixes for --cpu:avr [backport] (#12748) | Andreas Rumpf | 2019-11-27 | 1 | -1/+1 |
| | |||||
* | --gc:destructors now means Nim uses pure refcounting (#12557) | Andreas Rumpf | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | first implementation of the new --seqsv2 switch | Araq | 2019-10-20 | 1 | -1/+1 |
| | |||||
* | gc:destructors progress | Andreas Rumpf | 2019-09-16 | 1 | -1/+1 |
| | |||||
* | fixes #8405: -d:useNimRtl now works even when {.rtl.} procs are used at ↵ | Timothee Cour | 2019-07-03 | 1 | -12/+13 |
| | | | | compile time; CTFFI now works with {dynlib} (#11635) | ||||
* | Make repr use 'ptr' for ptr types instead of 'ref' (#11626) | Ico Doornekamp | 2019-07-01 | 1 | -1/+2 |
| | |||||
* | [refactoring] refactor the compiler and stdlib to deprecation warnings (#11419) | Arne Döring | 2019-06-11 | 1 | -2/+2 |
| | |||||
* | repr on seq now outputs @[...] (#11224) | Ico Doornekamp | 2019-05-10 | 1 | -1/+1 |
| | |||||
* | code cleanup (#10874) | Arne Döring | 2019-03-28 | 1 | -6/+6 |
| | |||||
* | gc:destructors: make system/repr compile | Andreas Rumpf | 2019-02-21 | 1 | -1/+16 |
| | |||||
* | removes deprecated T/P types | Araq | 2018-11-16 | 1 | -1/+0 |
| | |||||
* | Fix repr() for UncheckedArray (#9385) | LemonBoy | 2018-10-16 | 1 | -0/+2 |
| | |||||
* | make more tests green; system.repr does not produce 'nil' for strings and ↵ | Araq | 2018-08-22 | 1 | -3/+6 |
| | | | | seqs anymore | ||||
* | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 1 | -1/+1 |
| | |||||
* | --gc:destructors: next steps; WIP | Andreas Rumpf | 2018-07-21 | 1 | -18/+0 |
| | |||||
* | Remove more usages of unary lt (fixes #6634) (#6641) | Fabian Keller | 2017-10-31 | 1 | -1/+1 |
| | | | | | | * fixes #6634 * remove more usages of unary < | ||||
* | more replacements for the deprecated '<' | Andreas Rumpf | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | breaking change: arrays of char do not convert to cstring; ptr to array of ↵ | Andreas Rumpf | 2017-10-10 | 1 | -3/+8 |
| | | | | char does | ||||
* | fix | Arne Döring | 2017-07-24 | 1 | -1/+1 |
| | |||||
* | removed newString proc again, reverted some unnecesary changes | Arne Döring | 2017-07-24 | 1 | -3/+3 |
| | |||||
* | remove $ for ptr/ref, prefer using string over array of char | Arne Döring | 2017-07-24 | 1 | -7/+7 |
| | |||||
* | arrays can now be printed | Arne Döring | 2017-07-24 | 1 | -2/+2 |
| | |||||
* | Ascii character code 127 (DEL) is not printable and must be quoted. (#5984) | Markus F.X.J. Oberhumer | 2017-06-15 | 1 | -2/+2 |
| | | | This is a follow-up to #5823. | ||||
* | fixes repr regression | Andreas Rumpf | 2017-01-27 | 1 | -1/+3 |
| | |||||
* | repr.nim: minor improvement when outputting addresses of cstrings | Andreas Rumpf | 2017-01-26 | 1 | -5/+5 |
| | |||||
* | Fix compilation for 16 bit targets (#5286) | Jeff Ciesielski | 2017-01-26 | 1 | -1/+1 |
| | |||||
* | Handle different enum sizes in reprAux (#5207) | Brandon Pickering | 2017-01-11 | 1 | -1/+9 |
| | |||||
* | prepare Nim codebase for upcoming parser changes | Andreas Rumpf | 2016-07-15 | 1 | -2/+2 |
| | |||||
* | Fixed reprEnum function on 32-bit systems | Rostyslav Dzinko | 2016-07-05 | 1 | -12/+9 |
| | |||||
* | Rewrote enum sign extension with branchless bit operations (also fixes travis) | gmpreussner | 2016-03-15 | 1 | -8/+8 |
| | |||||
* | Fixed negative enum values not getting stringified. | gmpreussner | 2016-03-14 | 1 | -3/+3 |
| | |||||
* | Fix for #3939 issue | cheatfate | 2016-03-06 | 1 | -0/+1 |
| | |||||
* | bug fix: repr() of sized enums presentation Issue #3864 | cheatfate | 2016-02-18 | 1 | -0/+1 |
| | |||||
* | add support for uint32 and uint64 in repr | Michał Zieliński | 2016-01-16 | 1 | -2/+4 |
| | |||||
* | Uint64 to string in pure nim. array[char] to string fixed in vm. | Yuriy Glukhov | 2015-09-14 | 1 | -4/+16 |
| | |||||
* | fixes #3080 | Araq | 2015-08-02 | 1 | -1/+4 |
| | |||||
* | fixes #2992 | Araq | 2015-06-25 | 1 | -4/+4 |
| | |||||
* | Merge pull request #2768 from gokr/fix-repr | Andreas Rumpf | 2015-06-16 | 1 | -5/+11 |
|\ | | | | | Fixes #2749, traverse full inheritance for reprRecord | ||||
| * | Tweaked to do commas properly | Göran Krampe | 2015-05-20 | 1 | -3/+3 |
| | | |||||
| * | Fixes #2749, traverse full inheritance for reprRecord | Göran Krampe | 2015-05-20 | 1 | -5/+11 |
| | | |||||
* | | Merge branch 'devel' into gogc | Stefan Talpalaru | 2015-06-15 | 1 | -18/+19 |
|\ \ | |||||
| * | | lib/system/g-w - Dropped 'T' from types | pdw | 2015-06-04 | 1 | -18/+19 |
| |/ |