summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Update docs and changelogClyybber2020-07-102-3/+6
|
* Move `wasMoved` out of `=destroy`Clyybber2020-07-105-19/+9
|
* CosmeticsClyybber2020-07-101-52/+51
|
* cleanup of PR #14833 (VM profiler)Araq2020-07-091-13/+16
|
* VM profiler (#14833)Ico Doornekamp2020-07-098-15/+86
| | | | | | | | | | | | | | | | | | | | | | | | | * Crude VM profiler * Added --profileVM flag, refactoring * fixed FileLine hash * Use TLineInfo instead of own FileLine, updated formatting * Refactoring, moved PStackFrame to vmdefs for cleaner data structure * Moved vmprofiler to separate file * Simplified TLineInfo hash, use toFileLineCol for output * Hash * Moved profile data into Config, dump only once at end of run * Changed profile output header to show '#instr' instead of 'count' * Do not accumulate instrcount for non-top frames Co-authored-by: Ico Doornekamp <git@zevv.nl>
* fixes #14925 (#14947)Andreas Rumpf2020-07-092-1/+12
|
* add testcase for #4668 (#14946)flywind2020-07-091-0/+16
| | | | | closes #4668 closes #9463
* fix #11009 (#14935)flywind2020-07-093-1/+17
|
* Add missing dom.nim things (#14944)treeform2020-07-091-2/+30
|
* Add testcase for #10465 (#14943)flywind2020-07-091-0/+43
| | | | | | | | | | | | | | | | | | | * add debug format string * remove try except * add changelog * add docs and more tests * Update lib/pure/strformat.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * minor * add testcase Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* add docs and more tests for debug format strings (#14861)flywind2020-07-082-4/+116
| | | | | | | | | | | | | | | | | * add debug format string * remove try except * add changelog * add docs and more tests * Update lib/pure/strformat.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * minor Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* Add testcase for #12129 (#14940)Clyybber2020-07-081-0/+14
| | | | | * Add testcase for #12129 * Fix test
* fixes #14865 (#14937)Andreas Rumpf2020-07-082-0/+2
|
* Make arc compile laser againClyybber2020-07-081-1/+1
|
* remove a condition that table size must be passed as power of 2 (#14926)Miran2020-07-0810-120/+83
| | | | | | | | | | | | | | | * remove a condition that table size must be passed as power of 2 * remove power-of-2 condition from sets and sharedtables * remove power-of-2 condition from deques * use 'correctSize' for both branches * prettify changelog.md and fix typos * add a changelog entry * fix double-call of 'right-size' * fix the same thing in sets.nim * introduce a new internal proc `slotsNeeded` Deprecate the public proc `rightSize`, which is not needed anymore. Now it is an identity function, allowing the old code to work correctly and without extra allocations.
* fixes #14900, this time for real, maybe (#14934)Andreas Rumpf2020-07-082-19/+19
|
* closes #14878Araq2020-07-081-1/+19
|
* fixes #14805Araq2020-07-082-1/+15
|
* fixes #14900Araq2020-07-082-38/+62
|
* fixes #14899Araq2020-07-082-4/+51
|
* progressAraq2020-07-082-18/+34
|
* fixes #14402 (#14908)Andreas Rumpf2020-07-082-1/+27
| | | | | * fixes #14402 * added a test case
* 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>