summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* [minor] nimVMDebug: fix codeListing formatting for jump-to-file to work (#15711)Timothee Cour2020-10-251-1/+1
|
* Try to fix CI failures (#15701)Clyybber2020-10-242-130/+120
| | | | | | | | | | | | | | | | | | | | | | * Use cligens release version * Rework important_packages main loop * Fix * Fix * Create pkgs dir * Don't use nimble develop since it doesn't work for binary only packages, and always install head * Use git to get the latest release/tag instead * Tackle the root cause * Reduce diff * Cleanup
* Revert "fixes #15280 [backport:1.2] (#15281)" (#15700)Clyybber2020-10-244-49/+5
| | | This reverts commit 3f00a738dbc8319b4dd2b86bf5529c096f2dd243.
* close #8007 (#15695)Timothee Cour2020-10-231-0/+51
|
* fix #15662 (#15678)cooldome2020-10-232-17/+20
| | | | | | | * fix #15662 * alternative fix * fix spacing
* make cgen header consistent with jsgen header (#15682)Timothee Cour2020-10-231-16/+9
|
* Fix #12410 (#15685)Clyybber2020-10-232-1/+14
| | | | | * Fix #12410, big thanks to @pmetras for this fix * Add testcase
* followup #15642: make source + edit also work with stdlib (which uses ↵Timothee Cour2020-10-221-1/+2
| | | | -d:boot) (#15684)
* fixes view types for sizeof() and --gc:orc (#15680)Andreas Rumpf2020-10-223-5/+5
|
* fixes #15652 [backport:1.4] (#15679)Andreas Rumpf2020-10-221-1/+1
|
* Add testcase for #14601 (#15677)Clyybber2020-10-221-1/+45
|
* Add testcase for #12252 (#15676)Clyybber2020-10-221-0/+7
|
* [backport: 1.4] Better linebreaks (#15658)Miran2020-10-226-74/+67
|
* expect valgrind test failure on memory leak (#15669)n5m2020-10-222-0/+19
| | | | | * expect valgrind test failure on memory leak * alloc 1 instead of 0
* small changelog cleanup [ci skip]narimiran2020-10-221-2/+3
|
* CleanupClyybber2020-10-221-2/+0
|
* add Source+Edit links on top of every docgend file (#15642)Timothee Cour2020-10-227-23/+32
|
* Fix #13609 (#15567)Gampol T2020-10-211-0/+11
| | | | | | | | | | | | | * add documentation that discardable pragma cannot use on template * Update doc/manual.rst Co-authored-by: Euan <euantorano@users.noreply.github.com> * Update doc/manual.rst Co-authored-by: Euan <euantorano@users.noreply.github.com> Co-authored-by: Euan <euantorano@users.noreply.github.com>
* reuse existing toHumanStr (#15674)Timothee Cour2020-10-212-2/+2
|
* --declaredlocs => --declaredLocs (#15672)Timothee Cour2020-10-211-1/+1
|
* add --declaredlocs (#15666)Timothee Cour2020-10-217-11/+21
|
* fix cgen header copyright (#15649)Timothee Cour2020-10-211-3/+1
| | | | * remove copyright Andreas Rumpf from cgen files
* fixes bootstrapping for any machine that has a Nim already installed ↵Andreas Rumpf2020-10-203-18/+24
| | | | [backport:1.4] (#15660)
* make patchFile more discoverable (#15659)Timothee Cour2020-10-201-0/+1
|
* Fixes compilation for --os:any + --exception:setjmp (#15626)Dominik Picheta2020-10-201-1/+1
|