summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fix #17836 (typed macro isNil for proc params) (#17841)Saem Ghani2021-04-253-2/+21
| | | thanks @alaviss for the test
* `--usenimcache` (implied by `nim r main`) now caches some compile options to ↵Timothee Cour2021-04-256-53/+92
| | | | | | | | | | | avoid recompiling when project was previously compiled with such options. (#17829) * `--usenimcache` (implied by `nim r main`) now caches some compile options to avoid recompiling when project was previously compiled with such options. * works * add test * changelog * use std/with
* Remove unmaintained dir (#17833)Clyybber2021-04-244-205/+0
|
* add colon (#17834)flywind2021-04-246-6/+6
|
* move travis, appveyor, ci.yml.disabled to `unmaintained/` (#17828)Timothee Cour2021-04-2412-19/+20
| | | | | | | * move travis, appveyor, ci.yml.disabled to unmaintained * update some mentions of travis, appevyor * fix test
* `--declaredlocs` now shows location for `T` instead of `static` in `proc ↵Timothee Cour2021-04-231-1/+4
| | | | fn(a: static T)` (#17795)
* `typeof(voidStmt)` now works (#17807)Timothee Cour2021-04-238-12/+78
| | | | | | | | * `typeof(voidStmt)` now works * remove typeOrVoid * add condsyms, and reference cligen https://github.com/c-blake/cligen/pull/193 * fixup * changelog [skip ci] * fixup
* manual: fix rendering of `Identifiers & Keywords` [skip ci] (#17811)Timothee Cour2021-04-231-1/+2
|
* typos (#17824)Andreas Rumpf2021-04-232-6/+6
|
* refactor all code that builds csources (#17815)Timothee Cour2021-04-2322-340/+137
| | | | | | | | | | | | | | | * refactor all code that builds csources * fixup * nim_csourcesDir_v0 + nim_csourcesDir * remove deprecated, unused scripts from ci/ * reuse nimCsourcesHash in ci * simplify CI pipelines by reusing nimBuildCsourcesIfNeeded * simplify ci_docs.yml by reusing nimBuildCsourcesIfNeeded * cleanup * use csources_v1 as destination dir * fixup * remove pushCsources * address comment: remove build.sh support for now * fixup
* followup #17561, skipping ci now implies green (#17813)Timothee Cour2021-04-234-33/+44
| | | | | | | | | * followup #17561, skip ci now implies green; [skip ci] * fixup [skip ci] * fixup test without skip ci * fixup [skip ci] * fixup2 [skip ci] * github actions now automatically supports [skip ci]
* add `--processing:dots|filenames|off` to customize `hintProcessing` (#17817)Timothee Cour2021-04-2315-30/+50
|
* Windows: separate DLLs are not required anymoreAndreas Rumpf2021-04-221-4/+0
|
* fix #17812 (repr fails to compile with ARC/ORC) (#17816)flywind2021-04-222-1/+30
|
* 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
|