summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fix #15702, show enum fields documentation (#15792)Miran2020-10-305-2/+46
|
* Grammar fixesClyybber2020-10-301-4/+4
|
* add testcase for #14227 (#15794)flywind2020-10-301-0/+23
|
* [closes #11625 and closes #2488]add global and threadvar(with ↵flywind2020-10-302-1/+36
| | | | | | | | | | | | | | | `--threads:off` mode ) pragmas supports for JS backend (#15772) * add global pragma support for js backend * globalThis * add support for threadvar * more tests * Update compiler/jsgen.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* canAlias improvement (#15773)cooldome2020-10-301-2/+11
| | | | | * canAlias improvement * fix comment
* promote `collect` macro as a map+filter replacement (#15788)Miran2020-10-302-1/+29
| | | | | * promote `collect` macro as a map+filter replacement * Update lib/pure/collections/sequtils.nim
* fix `toHex` - make it work with int literals (#15770)Miran2020-10-301-0/+12
|
* closes #6036 (#15779)flywind2020-10-301-0/+11
| | | | | | | | | * add testcase for #6036 * try * try again * make it work
* closes #7374 (#15781)flywind2020-10-301-0/+29
| | | | | | | * add testcase for #7374 * minor * fix test
* add testcase for #7416 (#15782)flywind2020-10-301-0/+9
|
* closes #7658 (#15784)flywind2020-10-302-3/+13
| | | | | * fix #7658 * more
* add testcase for #8012 (#15785)flywind2020-10-301-0/+15
|
* add testcase for #9165 (#15787)flywind2020-10-301-0/+11
|
* add approxequal (#15766)Antonis Geralis2020-10-302-1/+26
| | | | | | | | | | | | * add approxequal * Address review comments, tests that pass * more wikipedia links [ci skip] * forgot since Co-authored-by: b3liever <b3liever@yandex.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* add testcase for #9091 (#15791)flywind2020-10-301-0/+36
| | | | | * add testcase for #9091 * more tests
* fix #15638 (#15789)flywind2020-10-302-0/+4
|
* add testcase for #7127 (#15780)flywind2020-10-301-0/+2
|
* add tests for #7686 (#15771)flywind2020-10-291-0/+9
|
* Fix doc comment for sumKbn (#15769)Antonis Geralis2020-10-291-1/+1
| | | Co-authored-by: b3liever <b3liever@yandex.com>
* fixes #15413 (#15768)Andreas Rumpf2020-10-293-21/+71
| | | | | | | * fixes #15413 * better hide it properly * see if this makes our list of important packages happy
* Make default state public (#15763)Antonis Geralis2020-10-292-1/+7
| | | | | | | * Make default state public * Address review comments Co-authored-by: b3liever <b3liever@yandex.com>
* Massive documentation fixes + copy editing (#15747)Yanis Zafirópulos2020-10-2916-411/+401
|
* Spelling and Grammer fixes (#15719)Tim Smith2020-10-281-2/+6
| | | | Co-authored-by: Tim Smith <tim.smith.hdg@gmail.com> Co-authored-by: Miran <narimiran@disroot.org>
* Make newObjUninit proc to adhere to its name (#15764)Antonis Geralis2020-10-281-2/+2
| | | Co-authored-by: b3liever <b3liever@yandex.com>
* fix #15756 (#15761)cooldome2020-10-282-1/+13
| | | | | * fix #15756 * simplify test
* ARC now capable of custom extra alignment. Ref, closure and seq support. ↵cooldome2020-10-2811-77/+273
| | | | (#15697)
* change/remove deprecated stuffnarimiran2020-10-281-23/+5
|
* fix #15750narimiran2020-10-282-0/+8
|
* fix #15752 (#15754)cooldome2020-10-282-4/+13
|
* honor --declaredLocs in more places, including type mismatch errors; also ↵Timothee Cour2020-10-277-24/+40
| | | | | | | show `kind` with --declaredLocs (#15673) * honor --declaredLocs in more places, including type mismatch errors * fix tests * show declaration location also when type mismatch names clash
* fixes #10456,#12928 issues when chaining templates to sortedByIt (#15734)shirleyquirk2020-10-272-1/+19
| | | | | | | | | | | | | | | * update c_malloc's to csize_t fix for broken --os:ios * I'm an idiot sorry * Create talgorithm.nim * workaround for #10456 I don't understand the intricacies of how lambdalifting and template expansions interact with lent, so i don't know how to fix the real problem, but this sidesteps whatever issue that is. * working test, use typeof rather than auto
* Add C function dup and dup2 posix to system/io (#15675)Regis Caillaud2020-10-273-1/+136
| | | | | | | | | | | | | | | | | | | | | | | | | * * Add handle to dup and dup2 posix as duplicate and duplicateTo in std/ioutils. * Added small test & changelog entry * Fixed import in tioutils removed when isMainModule * * Nest test inside block. Rename proc var -> let in captureStdout * Renamed tmpfile to iotuils.txt * Added block: # duplicate, duplicateTo * Improved docstring * Clean non-idiomatic code * Added runnable examples * rm 2 trailing space in expected output * Made syntax prettier * Runnable example: file in getTempDir() * Tmp -> Temp * Fixed runnableExamples on windows
* add tests for Testament "reject" action (#15709)n5m2020-10-273-0/+15
| | | | | | | | | | | * add test for reject action * highlight that a compilation failure is expected * add the converse test for action=reject * add trailing newline * fix wording
* condsyms: add nimHasDeclaredLocs (#15735)Timothee Cour2020-10-271-0/+1
|
* fix #15740 --hint:conf now works more reliably (#15741)Timothee Cour2020-10-271-5/+10
|
* Document implicit return values from procedures (#15738)Xavier Noria2020-10-271-0/+10
|
* [backport] fix #15595 procvar `==` works in VM (#15724)Timothee Cour2020-10-262-2/+28
|
* ensure the Nim compiler works with --experimental:strictFuncs ↵Andreas Rumpf2020-10-263-1/+23
| | | | --experimental:views [backport:1.4] (#15737)
* Documentation only iup (#15732)Juan Carlos2020-10-261-0/+40
| | | | | | | * ReSync with Devel * ReSync * Add Examples for IUP, based from official doc
* Copy editing (#15733)Yanis Zafirópulos2020-10-264-46/+46
| | | | | | | | | * Minor fixes * Minor fixes * Minor fixes * Minor fixes
* add criterion to important packages (#15604)Andy Davidoff2020-10-261-0/+1
| | | | | | | | | * add criterion to important packages * use a special nimscript for criterion tests * fix criterion speed differently Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Fixed iteration limit hit from execproc (#15723) [backport:1.2] [backport:1.4]Jason Beetham2020-10-261-0/+1
| | | When calling procs from Nim in Nimscript you could hit the VM iteration limit even though the code is functioning properly. This resolves that by making the iteration limit reset eachtime you call a proc.
* Add support to the latest LibreSSL version (#15715) [backport:1.2] ↵Danil Yarantsev2020-10-261-2/+2
| | | | [backport:1.4]
* Revert "workaround https://github.com/citycide/glob/issues/49 glob broken ↵Bo Lingen2020-10-261-1/+1
| | | | | (#15647)" (#15728) This reverts commit 4ab1bd7e3301e22f0a5a9c62f9c90636932fde80.
* Fix Prelude (#15714)Juan Carlos2020-10-262-1/+3
| | | | | | | | | * ReSync with Devel * Fix prelude for JS target * ReSync devel * Fix prelude for JS target
* workaround #15725 disable freebsd tblocking_channel.nim (#15726)Timothee Cour2020-10-261-0/+2
|
* fix #15704 #15597 wrong VM register was freed (#15705)Timothee Cour2020-10-262-2/+134
| | | | | | | | | | | | | * fix #15704 #15597 wrong VM register was freed * same treatment for nkCheckedFieldExpr * note concerning HighRegisterPressure * bump NimPatch * Update lib/system.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* workaround #15713 disable freebsd tssl.nim (#15718)Timothee Cour2020-10-261-1/+3
|
* explicit ID generation for easier IC (#15559)Andreas Rumpf2020-10-2567-903/+853
| | | | | | | | | | | | | | | | | * refactoring: idents don't need inheritance * refactoring: adding an IdGenerator (part 1) * refactoring: adding an IdGenerator (part 2) * refactoring: adding an IdGenerator (part 3) * refactoring: adding an IdGenerator (part 4) * refactoring: adding an IdGenerator (part 5) * refactoring: adding an IdGenerator (part 5) * IdGenerator must be a ref type; hello world works again * make bootstrapping work again * progress: add back the 'exactReplica' ideas * added back the missing exactReplica hacks * make tcompilerapi work again * make important packages green * attempt to fix the build for 32 bit machines (probably need a better solution here)
* fix #15698 (#15699)rockcavera2020-10-251-0/+4
| | | | | | | | | | | * fix in the net.`$` to print zeros that are not in the compressed group * Update lib/pure/net.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update net.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>