summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* arc allocation method aligned (#15588)cooldome2020-10-191-8/+16
| | | | | * progress * fix typo
* Tables, use sink val arguments more actively (#15625)cooldome2020-10-191-19/+20
|
* Fix #15599 (#15601)Clyybber2020-10-161-1/+1
| | | | | * Fix #15599 * Add test
* renamed '=' to '=copy' [backport:1.2] (#15585)Andreas Rumpf2020-10-154-6/+7
| | | | | | | | | * Assign hook name changed to `=copy` * Adapt destructors.rst * [nobackport] Duplicate tests for =copy hook * Fix tests * added a changelog entry Co-authored-by: Clyybber <darkmine956@gmail.com>
* ORC: critical bugfix for the cycle analyser, introduce -d:nimStressOrc for ↵Andreas Rumpf2020-10-141-1/+1
| | | | easier stress testing (#15572)
* suggest: try to find the implementation of a symbol when def is used (#15555)alaviss2020-10-142-7/+16
| | | | | * suggest: try to find the implementation of a symbol when def is used * suggest: return all declarations of the symbol on `def`
* Make useVersion:1.0 disable the proc arg sym change (#15570)Clyybber2020-10-143-1/+9
| | | | | * Make useVersion:1.0 disable the proc arg sym change * Also do this for useVersion:1.2
* fixes a C code generator regression, no need to backport, only the 1.4 line ↵Andreas Rumpf2020-10-141-1/+1
| | | | is affected (#15569)
* Update the list of GC options when raising an error (closes #15547) (#15553)Benjamin Lee2020-10-141-1/+1
|
* sigmatch: hotfix [backport] (#15565)Andreas Rumpf2020-10-141-2/+2
|
* Fix 15543 (#15544)cooldome2020-10-121-1/+1
| | | | | | | | | * fix #15543 * fix spacing * fix test * simplify test for freebsd platform
* refactoring: moved setOutFile to where it belongsAndreas Rumpf2020-10-112-14/+15
|
* refactoring: removed cmdlinehelper.mainCommand callbackAndreas Rumpf2020-10-112-17/+15
|
* nimpretty: do not produce 'line too long' messages (#15541)Andreas Rumpf2020-10-101-2/+3
|
* fixes #15532 (#15534)Andreas Rumpf2020-10-091-0/+2
|
* fix gitignore for testament cruft (#15530)Timothee Cour2020-10-091-1/+1
| | | | | * fix gitignore for testament cruft * fix rendertree => renderTree
* fix gc:arc in nimscript (#15525)cooldome2020-10-091-2/+5
|
* fixes #15511 (#15524)Andreas Rumpf2020-10-082-1/+10
|
* fixes #15510 (#15523)Andreas Rumpf2020-10-081-1/+4
|
* fixes #15512 (#15521)Andreas Rumpf2020-10-081-1/+13
|
* fixes a regressionAraq2020-10-082-10/+19
|
* fix #15516 (#15518)cooldome2020-10-081-4/+6
|
* docgen: improve alignment of comments (still not perfect) (#15506)Andreas Rumpf2020-10-071-1/+1
| | | | | | | * docgen: improve alignment of comments (still not perfect) * fix error message text in `tunknown_named_parameter` Co-authored-by: narimiran <narimiran@disroot.org>
* fixes #15508 (#15509)Andreas Rumpf2020-10-071-6/+13
|
* disable 'observable stores' warning message for 1.4 (#15507)Andreas Rumpf2020-10-071-1/+1
|
* implements https://github.com/nim-lang/RFCs/issues/260 (#15505)Andreas Rumpf2020-10-074-12/+28
| | | | | * implements https://github.com/nim-lang/RFCs/issues/260 * added a test case
* effects: exclude swap() from "indirect calls" assumption (#15504)Paul Tan2020-10-061-1/+1
| | | | | swap() will never call any procs passed to it, and so it can be safely excluded from the "assume indirect calls are taken" effects tracking rule.
* New hint for unused exceptions in .raises (#15492)IDF2020-10-062-4/+8
| | | | | | | * New hint for unused exceptions in .raises * Fix effects test * Further adapt teffects1.nim
* implements https://github.com/nim-lang/RFCs/issues/258 (#15503)Andreas Rumpf2020-10-0610-46/+147
| | | | | | | | | * implements https://github.com/nim-lang/RFCs/issues/258 * don't be too strict with custom pragma blocks * cast pragmas: documentation * added most missing inference query procs to effecttraits.nim
* minor reformatingAraq2020-10-061-1/+1
|
* const view types; fixes some cases from ↵Andreas Rumpf2020-10-056-47/+68
| | | | https://github.com/nim-lang/Nim/issues/15428 (#15488)
* group procs of the same name in TOC (#15487)Miran2020-10-053-8/+33
| | | | | | | | | | | * group procs of the same name in TOC * correctly show `sink` parameters in TOC * no need to reinvent the wheel - `mgetorPut` exists * better setting of text color [ci skip] * fix CSS for better alignment
* renderer: use the biggest integer type for masking literals (#15482)alaviss2020-10-041-1/+1
| | | | | | | | On 32-bit system the mask would have a size of 32-bit, which is smaller than the BiggestInt (usually 64-bit) it was masked against. For some reason this only affect 32-bit Windows but not 32-bit Linux. Might just be a difference in how gcc handle out of bound shifts for Windows and Linux.
* fixes https://github.com/nim-lang/RFCs/issues/257 [backport:1.2] (#15479)Andreas Rumpf2020-10-031-2/+2
|
* implements https://github.com/nim-lang/RFCs/issues/257 (#15466)Andreas Rumpf2020-10-023-7/+9
|
* remove nim.cfg file change lefover [backport:1.2] (#15469)Andreas Rumpf2020-10-021-6/+0
|
* parser hotfix: don't run into endless loops; regression (#15468)Andreas Rumpf2020-10-021-4/+16
|
* Added std/effecttraits.nim (#15462)Andreas Rumpf2020-10-021-0/+9
|
* closureiters: fixes #15243 (#15454) [backport:1.2]Andreas Rumpf2020-10-023-4/+126
| | | | * fixes #15243 [backport:1.2]
* fixes #15430, pop pragma takes invalid input (#15449)shirleyquirk2020-10-011-1/+3
| | | | | * fix #15430, pop pragma {.pop, experimental.} should be allowed, but not {.pop experimental.}
* fix #15405. deepcopy arc (#15410)cooldome2020-10-014-3/+12
| | | | | | | * fix #15405 * fix tests * deepcopy for ARC has to be enabled via --deepcopy:on Co-authored-by: Araq <rumpf_a@web.de>
* Clean out (#15448)Juan Carlos2020-10-011-11/+0
|
* views: yet another bugfix (#15447)Andreas Rumpf2020-10-013-9/+27
| | | | | | | * views: yet another bugfix * views: extended the spec * views: take into account potential hidden mutations via proc calls
* refactoring, fixes yet another strictFuncs regression (#15446)Andreas Rumpf2020-10-012-8/+17
|
* added missing .noalias support for object fields (#15445)Andreas Rumpf2020-10-011-3/+5
|
* better support for view types (#15436)Andreas Rumpf2020-09-303-11/+51
| | | | | * you can put borrows into tables * enforces mutating views only mutate mutable data
* spec for view types (#15424)Andreas Rumpf2020-09-295-49/+235
| | | | | | | | | | | * spec for view types * spec additions * refactoring; there are two different kinds of views * refactorings and spec additions * enforce that view types are initialized * enforce borrowing from the first formal parameter * enforce lifetimes for borrowing of locals * typo in the manual * clarify in the implementation what a borrow operation really is
* .noalias annotation; frontend support (#15419)Andreas Rumpf2020-09-286-10/+22
| | | | | * .noalias annotation; frontend support * added .noalias support to Nim; implements https://github.com/nim-lang/RFCs/issues/204
* produce runtime type information for reified openArrays (#15415)Andreas Rumpf2020-09-273-19/+34
| | | | | * produce runtime type information for reified openArrays * added a test case
* better support for slices as views (#15414)Andreas Rumpf2020-09-273-44/+63
| | | | | | * moved view tests to tests/views * refactoring * more refactorings * better support for system.toOpenArray for first class view types