Clyybber
e67593d317
Remove unmaintained dir ( #17833 )
2021-04-24 18:34:23 +01:00
flywind
6e8f0f8cfc
add colon ( #17834 )
2021-04-24 18:33:29 +01:00
Timothee Cour
b667e288e2
move travis, appveyor, ci.yml.disabled to unmaintained/ ( #17828 )
...
* move travis, appveyor, ci.yml.disabled to unmaintained
* update some mentions of travis, appevyor
* fix test
2021-04-24 07:54:31 +02:00
Timothee Cour
80df21d9a3
--declaredlocs now shows location for T instead of static in proc fn(a: static T) (#17795 )
2021-04-23 23:22:04 +02:00
Timothee Cour
2abc936d51
typeof(voidStmt) now works (#17807 )
...
* `typeof(voidStmt)` now works
* remove typeOrVoid
* add condsyms, and reference cligen https://github.com/c-blake/cligen/pull/193
* fixup
* changelog [skip ci]
* fixup
2021-04-23 14:36:38 +02:00
Timothee Cour
3516f57e17
manual: fix rendering of Identifiers & Keywords [skip ci] ( #17811 )
2021-04-23 13:51:24 +02:00
Andreas Rumpf
511b6d2449
typos ( #17824 )
2021-04-23 13:50:27 +02:00
Timothee Cour
dce0b3b002
refactor all code that builds csources ( #17815 )
...
* 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
2021-04-23 11:28:42 +02:00
Timothee Cour
dbb053492a
followup #17561 , skipping ci now implies green ( #17813 )
...
* 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]
2021-04-23 10:05:23 +02:00
Timothee Cour
e4a3feeb92
add --processing:dots|filenames|off to customize hintProcessing ( #17817 )
2021-04-23 08:07:22 +02:00
Andreas Rumpf
56859fe851
Windows: separate DLLs are not required anymore
2021-04-22 12:04:13 +02:00
flywind
53c898de41
fix #17812 (repr fails to compile with ARC/ORC) ( #17816 )
2021-04-22 08:08:56 +02:00
Sivchari
fb32fff8dc
js generates spurious >>> on shr ( #17767 )
...
* js generates spurious >>> on shr
* Add shr arithmetic test
* fix variables from const to let during testing
2021-04-21 19:47:01 +02:00
flywind
4471141a1d
fix #7535(Poor error message for spawn when a procedure (without calling it)) ( #17774 )
2021-04-21 17:53:31 +02:00
Andrey Makarov
8f79bc5f3d
add RST highlighting for command line / shells (also fixes #16858 ) ( #17789 )
2021-04-21 16:57:54 +02:00
Clyybber
80389b8053
Revert localErrorNode param order changes ( #17809 )
...
* Revert localErrorNode param order changes
* Remove unused globalError overload
* heh
2021-04-21 16:03:30 +02:00
Clyybber
7c64e49d45
getCustomPragmaVal priority/override fixes ( #17725 )
...
* 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
2021-04-21 15:28:42 +02:00
Timothee Cour
da1c1a7117
--filenames:abs|canonical|legacyRelProj for filenames in compiler msgs (replaces --listfullpaths:on|off) (#17746 )
...
* use canonicalImport for filename_magicSauce
* --filenames:abs|canonical|magic
* rename: magic => legacyRelProj
2021-04-21 15:26:27 +02:00
flywind
c631648cb3
close #9372 add std/tempfiles ( #17361 )
...
* close #9372 add std/tempfile
2021-04-21 15:07:36 +02:00
Timothee Cour
2951f89374
improve errmsg refs #17793 object ctor with generics ( #17806 )
2021-04-21 10:52:17 +02:00
Joey
f1ce173283
Fix Httpclient headers from being modified accidentally ( #17808 )
2021-04-21 07:42:04 +02:00
Andreas Rumpf
a9b62de895
CIs: attempt to use csources_v1 ( #16282 )
...
* 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
2021-04-21 07:41:33 +02:00
Timothee Cour
7bce1f8578
close #13373 document (ref Foo)(a: 1) ( #17804 )
2021-04-21 07:33:56 +02:00
Timothee Cour
8de053d870
fix hintMsgOrigin regression + simplify msgs code ( #17805 )
2021-04-21 07:00:45 +02:00
flywind
603af22b7c
[std/tasks]add gcsafe pragmas ( #17799 )
...
* [std/tasks]add gcsafe pragmas
* Update tasks.nim
2021-04-21 11:05:16 +08:00
flywind
eb221dcc27
[std/deques] move data instead of copy + destroy ( #17800 )
2021-04-20 19:00:44 +02:00
Andreas Rumpf
0b116310bf
unit separator ( #17730 )
...
* use the ASCII Unit Separator so that error messages can be handled precisely by the tooling
* updated testament
2021-04-20 16:30:17 +02:00
flywind
c776498170
close #9691 and close #10913('spawn'ed function cannot have a 'typed' or 'untyped' parameter) ( #17775 )
2021-04-20 15:39:58 +02:00
Andreas Rumpf
54fe44135e
updated the documentation ( #17796 )
2021-04-20 15:24:20 +02:00
Timothee Cour
4742e6e1fd
followup #16714 : add -d:nimLegacyUnarySlice + changelog ( #17794 )
2021-04-20 00:25:28 -07:00
Timothee Cour
68e7ed9c57
important_packages: allowed_failures batch ( #17757 )
...
* important_packages: reserve batch 0 for allowed failures
* custom batch name: allowed_failures
2021-04-20 09:02:35 +02:00
Timothee Cour
fb02b56957
support skip ci in azure pipelines, and support it properly in github 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
2021-04-20 09:01:53 +02:00
Timothee Cour
6852d091b3
changelog: document hash changes ( #17792 )
...
* changelog: document hash changes
* fixup
2021-04-20 06:54:25 +02:00
Timothee Cour
ad67bcf379
fix https://github.com/nim-lang/RFCs/issues/311 remove unary slice ( #16714 )
2021-04-19 19:02:52 -07:00
Andreas Rumpf
3b80f0dc8e
IC navigator: added support for include files ( #17784 )
...
* 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 >
2021-04-19 22:37:09 +02:00
Clyybber
24abe10aa8
Small privateAccess improvement ( #17786 )
2021-04-19 17:51:00 +02:00
Clyybber
438afb4db9
Introduce localErrorNode ( #17785 )
2021-04-19 17:19:21 +02:00
Clyybber
6de5aa1971
Rename = to =copy in stdlib ( #17781 )
2021-04-19 13:16:10 +02:00
flywind
bae7b5b779
fix #17732(forward args... to megatest) ( #17780 )
2021-04-19 11:48:26 +02:00
Andreas Rumpf
4b0b536419
ic refactoring ( #17778 )
...
* minor IC documentation update
* IC: refactoring: removed the 'shared' type and fields, these were a leftover from an earlier design
2021-04-19 11:48:06 +02:00
flywind
83fa0fc843
fix #12521(type alias for openArray) ( #17593 )
...
* fix nim js cmp fails at CT
* fix #12521
* address comments
2021-04-19 11:21:35 +02:00
flywind
dc89b21257
[std/locks]close #7998(complete condition variables) ( #17711 )
...
* close #7998
* workaround genode
* Update lib/system/syslocks.nim
2021-04-19 10:51:13 +02:00
flywind
cedbc7035d
[std/locks]remove workaround for withLock ( #17772 )
...
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.
2021-04-19 10:33:56 +02:00
Juan Carlos
f8038af5ec
Documentation only, dom ( #17770 )
...
* 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 >
2021-04-19 07:42:38 +02:00
flywind
172a5ab7f8
[std/rlocks]add inline pragma ( #17773 )
...
so that it can be used as the base of new locks module with destructors.
2021-04-19 07:41:50 +02:00
Saem Ghani
5042cb956b
[ci skip] document compiler/ic/rodfiles.nim ( #17771 )
...
* [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 >
2021-04-19 07:40:08 +02:00
Timothee Cour
0a10af5a2c
privateAccess now works with ref | ptr ( #17760 )
2021-04-19 00:15:58 +02:00
Timothee Cour
d6c8efa5d4
declaredlocs followup: handle cannot instantiate errors ( #17745 )
2021-04-19 00:03:24 +02:00
Dankr4d
6916faf83c
Fix #17755 ( #17766 )
...
Signed-off-by: Dankr4d <dude569@freenet.de >
2021-04-18 23:39:05 +02:00
Andreas Rumpf
c7b77829fe
IC: fixes a long standing bug about DCE set computations ( #17763 )
2021-04-18 23:38:07 +02:00