Alexander Wolfe
124feb2af8
nimpretty support for multiple files ( #14890 )
2020-07-12 16:07:31 +02:00
flywind
9ec9a31f46
Fix #12759 ( #14967 )
...
* add testcase for #5926
* fix #12759
2020-07-12 03:31:03 -04:00
Clyybber
d409694b02
:D
2020-07-11 19:17:40 +02:00
flywind
21772b6419
add testcase for #5926 ( #14965 )
2020-07-11 17:09:41 +02:00
Juan Carlos
6d10baa339
https://github.com/nim-lang/Nim/pull/14948#issuecomment-656498426 ( #14958 )
2020-07-11 06:21:59 -04:00
Clyybber
425972c4e8
Add testcase for some old fixed issues ( #14960 )
...
* Add testcase for #2703
* Add testcase for #2586
* Small fix
2020-07-10 19:21:50 +02:00
Clyybber
1850efbb6c
Add testcase for #14383 ( #14957 )
2020-07-10 18:10:32 +02:00
Clyybber
db6ffeba8e
Add testcase for #13815 ( #14956 )
2020-07-10 17:31:15 +02:00
Clyybber
0db32e9885
Add testcase for #12571 ( #14955 )
2020-07-10 17:13:37 +02:00
Clyybber
b21782a667
Add testcase for #4722 ( #14954 )
2020-07-10 17:02:49 +02:00
kwgchi
229a623849
Update readme.md ( #14953 )
2020-07-10 16:45:26 +02:00
Miran
371b416ac8
fix #14912 , make --useVersion:1.0 work again ( #14945 )
...
* fix #14912 , make `--useVersion:1.0` work again
* a better fix
* add test
2020-07-10 16:44:12 +02:00
Manuel Bojato
04232d92cd
Fix theme switch load from local storage ( #14897 )
...
* fix theme switch load from local storage
* Fix tests
Co-authored-by: Clyybber <darkmine956@gmail.com >
2020-07-10 15:06:07 +02:00
Araq
4603197fe8
fixes a minor regression
2020-07-10 13:36:02 +02:00
Araq
112511084d
fixes the tcontrolflow regression, clen idea of an escaping expression
2020-07-10 13:36:02 +02:00
Araq
b59385f22b
no wasMoved() calls after destructors necessary
2020-07-10 13:36:02 +02:00
Araq
37a98c77f3
optimize sinks even when in a loop
2020-07-10 13:36:02 +02:00
Araq
78513a9204
renderer.nim: more obvious debug output
2020-07-10 13:36:02 +02:00
Clyybber
bf51cee431
Update docs and changelog
2020-07-10 13:36:02 +02:00
Clyybber
4a1128d16c
Move wasMoved out of =destroy
2020-07-10 13:36:02 +02:00
Clyybber
3e52136f26
Cosmetics
2020-07-10 13:36:02 +02:00
Araq
f92d2eaa35
cleanup of PR #14833 (VM profiler)
2020-07-09 19:21:20 +02:00
Ico Doornekamp
d7ccd82eac
VM profiler ( #14833 )
...
* 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 >
2020-07-09 19:18:35 +02:00
Andreas Rumpf
c38a459582
fixes #14925 ( #14947 )
2020-07-09 17:24:23 +02:00
flywind
64815f59b2
add testcase for #4668 ( #14946 )
...
closes #4668
closes #9463
2020-07-09 12:53:12 +02:00
flywind
40b58a0a18
fix #11009 ( #14935 )
2020-07-09 09:57:35 +02:00
treeform
399b2e3134
Add missing dom.nim things ( #14944 )
2020-07-09 09:18:27 +02:00
flywind
00528cbc3c
Add testcase for #10465 ( #14943 )
...
* 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 >
2020-07-09 01:51:18 +02:00
flywind
3db6d9ea0c
add docs and more tests for debug format strings ( #14861 )
...
* 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 >
2020-07-08 22:21:30 +02:00
Clyybber
9016dd96ee
Add testcase for #12129 ( #14940 )
...
* Add testcase for #12129
* Fix test
2020-07-08 22:04:21 +02:00
Andreas Rumpf
bc712c28fc
fixes #14865 ( #14937 )
2020-07-08 18:59:34 +02:00
Clyybber
27579cfd3a
Make arc compile laser again
2020-07-08 16:20:16 +02:00
Miran
3de5296337
remove a condition that table size must be passed as power of 2 ( #14926 )
...
* 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.
2020-07-08 15:01:47 +02:00
Andreas Rumpf
06d776a582
fixes #14900 , this time for real, maybe ( #14934 )
2020-07-08 14:47:14 +02:00
Araq
cb1ecbf956
closes #14878
2020-07-08 12:22:55 +02:00
Araq
e42ce877a6
fixes #14805
2020-07-08 12:22:55 +02:00
Araq
ecf8cbbbe0
fixes #14900
2020-07-08 10:48:12 +02:00
Araq
cdce245a23
fixes #14899
2020-07-08 10:48:12 +02:00
Araq
b17e1efc67
progress
2020-07-08 10:48:12 +02:00
Andreas Rumpf
87f6a9592c
fixes #14402 ( #14908 )
...
* fixes #14402
* added a test case
2020-07-08 08:21:55 +02:00
narimiran
e82a14b273
fix mistake in times.nim docs
2020-07-07 22:57:06 +02:00
Clyybber
8480bef1c4
Add testcase for #14864 ( #14928 )
...
* Add testcase for #14864
* :D
2020-07-07 22:43:36 +02:00
Dominik Picheta
25ceacbe4f
Revert commit 3e843ab335. Closes #14930 .
2020-07-07 19:18:02 +01:00
Andreas Rumpf
a61a7889b8
injectdestructors: refactoring, added more cases explicitly ( #14929 )
2020-07-07 17:47:57 +02:00
Araq
95808c2806
speed up Nim's lexer by using cstring instead of string. C optimizers are fragile.
2020-07-07 15:17:58 +02:00
Araq
49cea86d8b
weaken tosproc test for my Windows machine which doesn't have 'ls'
2020-07-07 15:17:58 +02:00
awr1
37253d660f
Minor improvements to typecast section of manual ( #14896 )
...
* Minor improvements to typecast section of manual
* Clarification to casting w/ concrete types
* Added less ambiguous language
2020-07-07 10:22:55 +02:00
Tomohiro
61a6098f2d
Limit number of error messages from gcc/clang backend ( #14852 )
...
* Limit number of error messages from backend
* Avoid duplication of -fmax-errors
* make tests/misc/trunner.nim success
2020-07-07 10:22:10 +02:00
Clyybber
5bd2da3f64
Fix #14911 ( #14922 ) [backport]
...
* Fix #14911
* Add testcase
* Fix test
2020-07-07 10:21:18 +02:00
Clyybber
ebd97884a0
Add testcase for #14472 ( #14921 )
2020-07-06 20:53:38 +02:00