summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* js generates spurious >>> on shr (#17767)Sivchari2021-04-212-2/+50
| | | | | * js generates spurious >>> on shr * Add shr arithmetic test * fix variables from const to let during testing
* fix #7535(Poor error message for spawn when a procedure (without calling ↵flywind2021-04-212-2/+16
| | | | it)) (#17774)
* add RST highlighting for command line / shells (also fixes #16858) (#17789)Andrey Makarov2021-04-2110-140/+291
|
* Revert localErrorNode param order changes (#17809)Clyybber2021-04-215-13/+20
| | | | | | | * Revert localErrorNode param order changes * Remove unused globalError overload * heh
* getCustomPragmaVal priority/override fixes (#17725)Clyybber2021-04-212-38/+50
| | | | | | | | | * Adhere left-to-right rule for custom pragma priority * Improve error message for no custom pragmas * custom pragmas on var/let sym take priority over its type ones * Workaround & bug
* `--filenames:abs|canonical|legacyRelProj` for filenames in compiler msgs ↵Timothee Cour2021-04-219-41/+72
| | | | | | | (replaces `--listfullpaths:on|off`) (#17746) * use canonicalImport for filename_magicSauce * --filenames:abs|canonical|magic * rename: magic => legacyRelProj
* close #9372 add std/tempfiles (#17361)flywind2021-04-213-0/+159
| | | | * close #9372 add std/tempfile
* improve errmsg refs #17793 object ctor with generics (#17806)Timothee Cour2021-04-212-2/+5
|
* Fix Httpclient headers from being modified accidentally (#17808)Joey2021-04-211-2/+5
|
* CIs: attempt to use csources_v1 (#16282)Andreas Rumpf2021-04-2158-143/+142
| | | | | | | | * CIs: attempt to use csources_v1 * also updated the BSDs * also updated azure pipelines * std modules should not itself use the 'std/' import dir... * compiler has to be careful with std/ for v1 booting
* close #13373 document `(ref Foo)(a: 1)` (#17804)Timothee Cour2021-04-211-1/+11
|
* fix `hintMsgOrigin` regression + simplify msgs code (#17805)Timothee Cour2021-04-216-33/+23
|
* [std/tasks]add gcsafe pragmas (#17799)flywind2021-04-211-4/+4
| | | | | * [std/tasks]add gcsafe pragmas * Update tasks.nim
* [std/deques] move data instead of copy + destroy (#17800)flywind2021-04-201-4/+2
|
* unit separator (#17730)Andreas Rumpf2021-04-208-39/+55
| | | | | * use the ASCII Unit Separator so that error messages can be handled precisely by the tooling * updated testament
* close #9691 and close #10913('spawn'ed function cannot have a 'typed' or ↵flywind2021-04-203-1/+40
| | | | 'untyped' parameter) (#17775)
* updated the documentation (#17796)Andreas Rumpf2021-04-202-5/+5
|
* followup #16714: add -d:nimLegacyUnarySlice + changelog (#17794)Timothee Cour2021-04-202-0/+13
|
* important_packages: `allowed_failures` batch (#17757)Timothee Cour2021-04-203-12/+27
| | | | | * important_packages: reserve batch 0 for allowed failures * custom batch name: allowed_failures
* support skip ci in azure pipelines, and support it properly in github ↵Timothee Cour2021-04-204-11/+45
| | | | | | | | | | | | | | | actions pipelines (#17561) * support skip ci in azure pipelines * [skip ci] example of a commit that skips CI * example of a commit that does not skip CI * fix github actions logic for ci skip handling * [skip ci] example of a commit that skips CI for all pipelines * example of a commit that does not skip CI for any pipeline
* changelog: document hash changes (#17792)Timothee Cour2021-04-201-3/+3
| | | | | * changelog: document hash changes * fixup
* fix https://github.com/nim-lang/RFCs/issues/311 remove unary slice (#16714)Timothee Cour2021-04-195-16/+9
|
* IC navigator: added support for include files (#17784)Andreas Rumpf2021-04-199-33/+111
| | | | | | | | | | | | | | | | | * ic fixed navigator crash when track wrong/missed Also fixed an issue with getNimcacheDir not observing the outDir. * closer, but not sure how to test[skip ci][ci skip] * IC navigator: added support for include files * update * make posix happy via expandFilename * update Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
* Small privateAccess improvement (#17786)Clyybber2021-04-191-1/+1
|
* Introduce localErrorNode (#17785)Clyybber2021-04-197-24/+27
|
* Rename `=` to `=copy` in stdlib (#17781)Clyybber2021-04-195-4/+5
|
* fix #17732(forward args... to megatest) (#17780)flywind2021-04-191-3/+7
|
* ic refactoring (#17778)Andreas Rumpf2021-04-197-159/+146
| | | | | * minor IC documentation update * IC: refactoring: removed the 'shared' type and fields, these were a leftover from an earlier design
* fix #12521(type alias for openArray) (#17593)flywind2021-04-192-1/+27
| | | | | | | * fix nim js cmp fails at CT * fix #12521 * address comments
* [std/locks]close #7998(complete condition variables) (#17711)flywind2021-04-195-45/+60
| | | | | | * close #7998 * workaround genode * Update lib/system/syslocks.nim
* [std/locks]remove workaround for withLock (#17772)flywind2021-04-191-4/+3
| | | | | | | | | | Ref #6113 and #6049 The workaround for generics instantiation is unnecessary. It seems to be fixed by another PR I guess. The test still works. So the changes should be harmless. https://github.com/nim-lang/Nim/blob/devel/tests/stdlib/tlocks.nim I also add some inline pragmas.
* Documentation only, dom (#17770)Juan Carlos2021-04-191-1/+3
| | | | | | | | | | | | | | * ReSync with Devel * ReSync * https://github.com/timotheecour/Nim/issues/674 * Update lib/js/dom.nim Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: flywind <xzsflywind@gmail.com>
* [std/rlocks]add inline pragma (#17773)flywind2021-04-191-3/+3
| | | so that it can be used as the base of new locks module with destructors.
* [ci skip] document compiler/ic/rodfiles.nim (#17771)Saem Ghani2021-04-191-0/+72
| | | | | | | | | | | | | | | | * [ci skip] document compiler/ic/rodfiles.nim Why? * understand how rodfile module works and a bit of the format * leave notes behind for others * rather than Araq guess what others need, he can fix what other glean * possible model for making the compiler more aproachable Bonus: * might have found a minor bug in `loadSection` * Update compiler/ic/rodfiles.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* privateAccess now works with ref | ptr (#17760)Timothee Cour2021-04-198-15/+149
|
* declaredlocs followup: handle `cannot instantiate` errors (#17745)Timothee Cour2021-04-191-3/+3
|
* Fix #17755 (#17766)Dankr4d2021-04-181-2/+11
| | | Signed-off-by: Dankr4d <dude569@freenet.de>
* IC: fixes a long standing bug about DCE set computations (#17763)Andreas Rumpf2021-04-181-25/+33
|
* fix #17749 ignore SIGPIPE signals, fix nim CI #17748 (#17752)Timothee Cour2021-04-185-17/+57
| | | | | * fix #17749 SIGPIPE * fix for windows
* remove jstin from important packages (#17765)flywind2021-04-181-1/+0
| | | | | Ref https://github.com/nim-lang/Nim/pull/17759 https://github.com/LemonBoy/jstin/blob/master/src/jstin.nim is already archived and cannot pass CI anymore.
* IC exposes typedesc implementation shenanigans (#17759)Andreas Rumpf2021-04-182-1/+16
| | | | | | * IC exposes typedesc implementation shenanigans; so I change system.default's definition to what it should have been to begin with * Update lib/system.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* make cuchar alias uint8 instead of char (#17738)shirleyquirk2021-04-172-1/+3
|
* fix range to unsigned conversion (#17754)Tanguy Cizain2021-04-172-1/+13
|
* -d:nimDebug: calls doAssert false instead of quit (#17739)Timothee Cour2021-04-179-14/+20
|
* replace defer with try ... finally (#17753)flywind2021-04-172-7/+14
|
* cString => cSourceString; tyCString => tyCstring so that error msgs show ↵Timothee Cour2021-04-1732-79/+79
| | | | cstring, not cString (#17744)
* IC: yet another embarrassing omission (#17743)Andreas Rumpf2021-04-174-10/+12
| | | | | * IC: yet another embarrassing omission * VM: fewer hacks that kept IC from working
* fix nim CI following #17455 (same postmortem as #17721) (#17740)Timothee Cour2021-04-161-6/+2
|
* removed nimfind tool, succeeded by 'nim check --defusages' (#17737)Andreas Rumpf2021-04-163-238/+0
|
* refs #17292 fix `repr`: `(discard)` now does't render as `discard` which ↵Timothee Cour2021-04-162-13/+45
| | | | | | | gave illegal code (#17455) * refs #17292 fix `repr` with (discard) * add tests * add more tests