summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fix mistake in times.nim docsnarimiran2020-07-071-1/+1
|
* Add testcase for #14864 (#14928)Clyybber2020-07-073-0/+13
| | | | | * Add testcase for #14864 * :D
* Revert commit 3e843ab3358. Closes #14930.Dominik Picheta2020-07-071-1/+1
|
* injectdestructors: refactoring, added more cases explicitly (#14929)Andreas Rumpf2020-07-071-7/+68
|
* speed up Nim's lexer by using cstring instead of string. C optimizers are ↵Araq2020-07-071-9/+15
| | | | fragile.
* weaken tosproc test for my Windows machine which doesn't have 'ls'Araq2020-07-071-1/+2
|
* Minor improvements to typecast section of manual (#14896)awr12020-07-071-7/+18
| | | | | | | * Minor improvements to typecast section of manual * Clarification to casting w/ concrete types * Added less ambiguous language
* Limit number of error messages from gcc/clang backend (#14852)Tomohiro2020-07-072-7/+14
| | | | | | | * Limit number of error messages from backend * Avoid duplication of -fmax-errors * make tests/misc/trunner.nim success
* Fix #14911 (#14922) [backport]Clyybber2020-07-072-2/+9
| | | | | | | * Fix #14911 * Add testcase * Fix test
* Add testcase for #14472 (#14921)Clyybber2020-07-061-0/+23
|
* tables.nim: Add named fields in `smallest` and `largest` (#14919)ee72020-07-062-2/+16
| | | | | | | | | | The `smallest` and `largest` procs for `CountTable` returned a tuple with named fields, but the same procs for `CountTableRef` returned an anonymous tuple. This commit makes those `CountTableRef` procs more consistent, and adds a test. Fixes: #14918
* added security.md; refs #14882Araq2020-07-061-0/+17
|
* fixes #14830Araq2020-07-061-1/+1
|
* Fix style inconsistencies due to the previous commitnarimiran2020-07-0610-85/+85
|
* revert 0944b0f4narimiran2020-07-0610-85/+85
|
* Update btrees.nim (#14916)Dean Eigenmann2020-07-061-0/+3
|
* Fix logging tiny bug (#14910)Juan Carlos2020-07-062-3/+11
| | | | | | | | | | | | | | | | | | | * Fix logging tiny bug * Update changelog.md Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> * Update changelog.md Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> * Update changelog.md Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> * https://github.com/nim-lang/Nim/pull/14910#discussion_r450012032 Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
* Fix #14396 (#14793)Clyybber2020-07-044-71/+198
| | | | | | | | | | | | | | | | | | | | | | * Correct Left-To-Right evaluation of proc args * Fix CPP backend * Add testcase * closes #14396 * closes #14345 * Improve test and optimize * Improve testcase and optimize literals * Fix bug * Expand testcase and use DFA to optimize * Turn genParams into proc * Turn withTmpIfNeeded into a proc * Cleanup * Fix crash * Better analysis * Cleanup * Trailing newline.. * Fix build * Tiny cleanup Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* scoped memory management (#14790)Andreas Rumpf2020-07-0417-475/+609
| | | | | | | * fixes the regressions * closes #13936 * scope based memory management implemented * enabled tcontrolflow.nim test case * final cleanups
* deprecate existsDir; use dirExists instead (#14884)Timothee Cour2020-07-0314-39/+32
|
* Add jsre (#14870)Juan Carlos2020-07-035-4/+53
|
* typetraits.$: $((int, float), int)` is now `"((int, float), int)"` instead ↵Timothee Cour2020-07-026-12/+11
| | | | | of `"(tuple of (int, float), int)" (#14812) Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-0231-67/+66
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* Fix #12745 (#14879)Tomohiro2020-07-022-11/+6
|
* Clean out sharedlists (#14857)Juan Carlos2020-07-022-6/+3
|
* Clean out strutils (#14859)Juan Carlos2020-07-012-5/+1
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* cleanup comment now that #14434 was fixed (#14874)Timothee Cour2020-07-011-2/+0
|
* allow packed union (#14868)Clyybber2020-07-012-9/+17
| | | Co-authored-by: Arne Döring <arne.doering@gmx.net>
* fix #14401, trailing comma confuses nimpretty (#14867)Miran2020-07-013-1/+46
|
* fix #14846; add macros.extractDocCommentsAndRunnables (#14849)Timothee Cour2020-07-017-3/+98
| | | | | | | | | * fix #14846; add macros.extractDocCommentsAndRunnables * fixup * update tests * address comment
* Clean out sharedtables (#14858)Juan Carlos2020-06-302-10/+1
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Removed asyncdispatch.newAsyncNativeSocket, was deprecated since 0.18 (#14854)Juan Carlos2020-06-302-10/+1
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* typetraits: features and fixes (#14791)alaviss2020-06-302-3/+56
| | | | | | | | | | | | | * typetraits: add support for nnkTypeOfExpr * typetraits: don't wrap typedesc symbols in StaticParam * typetraits: add nested generics support to genericParams * typetraits: make genericParams understand array[I, T] whackiness Also moved tests to ttypetraits * typetraits: clarify comment on genericParams
* Fix asyncdispatch drain behavior (#14820) (#14838)Ray Imber2020-06-302-4/+34
| | | | | | | | | | | * Fix asyncdispatch drain behavior (#14820) * Changed test to use asyncCheck instead of discard after code review (#14820) * Added some debug statements to help understand what is happening in Azure. * Removed debug statements and increased timeouts by 1 order of magnitude to account for slow Azure VMs Co-authored-by: Ray Imber <ray@crankuptheamps.com>
* add debug fmt string like python's (#14808)flywind2020-06-303-2/+119
| | | | | | | * add debug format string * remove try except * add changelog
* CI openbsd: 3x batching via NIM_TESTAMENT_BATCH ; overall CI finishes in 21m ↵Timothee Cour2020-06-306-0/+138
| | | | | | | | | instead of 34m (#14851) * CI openbsd: 2x batching via NIM_TESTAMENT_BATCH * auto-generate .builds/openbsd_x.yml to avoid code duplication * 3x batching
* Clean out dom (#14855)Juan Carlos2020-06-302-5/+1
| | | | | * Clean out dom * Clean out dom
* Clean out oldast (#14837)Juan Carlos2020-06-307-25/+14
| | | | * Clean out old Deprecated CLI switch * Update to remove --oldast CLI option
* New freebsd platforms (#14801)lbartoletti2020-06-292-2/+2
| | | | | * add riscv as riscv64 * add all platforms supported by FreeBSD
* fix #13432 typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] (#14799)Timothee Cour2020-06-294-22/+34
| | | | | * typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] * changelog
* Clean out Deprecated proc (#14797)Juan Carlos2020-06-293-25/+8
| | | | * Remove and/or clean out Deprecated 'add' proc for floats * Update a test
* SSL_CTX_load_verify_locations parameters are reversed (#14815) [backport]aguspiza2020-06-291-1/+1
|
* Make unreachable code a warning instead of an error (#14816)Clyybber2020-06-293-9/+9
| | | | | | | * Make unreachable code a warning * Adapt test * Trigger CI
* fix `./koch tests` following #14823 (#14845)Timothee Cour2020-06-281-1/+2
|
* DFA and injectdestructors cleanup (#14824)Clyybber2020-06-282-157/+118
| | | | | | | | | | | | | | | * DFA and injectdestructors cleanup * More precise write analysis * Cleanup obsoleted path * Unify defInstrTargets and useInstrTargets * Misc cleanups * Nicer CFG printing * Misc cleanups 2
* Fix some typos (#14843)Danil Yarantsev2020-06-2812-42/+42
|
* Fix typoClyybber2020-06-281-1/+1
|
* Remove double entry for thiscall (#14842)Danil Yarantsev2020-06-281-3/+1
|
* get rid of $READLINK variable (#14841)Andrey Makarov2020-06-281-2/+2
|
* Fix #14647 (#14776)Clyybber2020-06-283-9/+12
| | | | | | | | | * Fix #14647 * Correct fix * Typo and add test * For real now :p