Andreas Rumpf
01b2728ec8
fixes a potential endless loop
2017-03-20 10:56:15 +01:00
Andreas Rumpf
3fafd546d5
nimsuggest: prefixes of abbreviations don't count
2017-03-20 10:56:15 +01:00
jcosborn
3bffb3ba35
fix getTypeImpl for tyEnum ( #5568 )
...
* fixed getTypeImpl for tyEnum
* fixed getType for enum and updated release notes about change
2017-03-19 20:34:27 +01:00
zah
1d6018726e
fix #5296 ( #5565 )
2017-03-19 20:33:21 +01:00
Eugene Kabanov
e20af5cec6
Fix #4972 . ( #5567 )
2017-03-19 07:16:13 +01:00
Araq
156bd29c68
update news.rst about the breaking changes
2017-03-18 21:13:27 +01:00
Ryan Gonzalez
244bf68fb0
Fix #5550 ( #5553 )
2017-03-18 21:05:12 +01:00
Araq
d365f1a81a
resolved unittest conflict
2017-03-18 20:59:10 +01:00
Araq
aa4260ffa8
overloading resolution for getAst; breaking change
2017-03-18 20:57:45 +01:00
Ruslan Mustakov
65422487f3
Add support for custom test report formatters ( #5556 )
...
Implement ConsoleOutputFormatter that is backward compatible
with the previous implementation.
Implement JUnitOutputFormatter which can be added externally.
2017-03-18 20:48:30 +01:00
Andreas Rumpf
242fb3240f
fixes #5228
2017-03-18 13:59:35 +01:00
Andreas Rumpf
9f5492becd
strutils.nim: make removeSuffix robust on empty strings
2017-03-18 10:42:11 +01:00
zah
a20a8e6adb
fixes #4756 ( #5557 )
2017-03-17 17:11:37 +01:00
Eugene Kabanov
d701de5733
Fix osproc.peekExitCode() to handle exitcode properly. ( #5555 )
2017-03-17 10:02:36 +01:00
Andreas Rumpf
7ba565258d
koch: better valgrind support
2017-03-17 08:29:52 +01:00
Eugene Kabanov
336a7c9b3f
Fixes to support Dragonfly BSD. ( #5552 )
...
* Fix kqueue.nim and ansi_c.nim to support dragonfly.
* Fix ioselectors.nim, threads.nim to support dragonfly.
* Fix deprecated dealloc call in tioselectors.nim.
* Fix tfsmonitor.nim test to run only on Linux.
* Fix osproc.nim return wrong exit codes.
* Fix getAppFilename() for dragonfly.
* Fix proper exit code handling.
2017-03-17 08:22:11 +01:00
Dominik Picheta
b938a5b884
Cleaned up nep1 and simplified the style choices offered by it.
2017-03-16 22:34:49 +01:00
Anatoly Galiulin
0874c649e9
Fix console logger issue; fixes #5546 ( #5547 )
2017-03-16 20:25:53 +01:00
Eugene Kabanov
9c99973ff8
Make DragonFlyBSD a first class BSD-like OS ( #5548 )
2017-03-16 14:47:53 +01:00
GrundleTrundle
13ba0b557e
Added clear() function for OrderedSet and HashSet. ( #5545 )
2017-03-16 08:06:24 +01:00
andri lim
e99721a593
fixes #5360 , fixes #5238 ( #5539 ); fixes type alias inequality for types coming from templates/macros
2017-03-16 08:04:36 +01:00
Dominik Picheta
19c436ab20
Update nep1 to show type keyword on its own line
2017-03-15 21:48:46 +01:00
Araq
518696f3a7
hotfix: allocator: don't set origSize to 0
2017-03-15 17:51:26 +01:00
Yuriy Glukhov
27c8efda9d
decTypeSize on growObj ( #5465 )
2017-03-15 10:58:34 +01:00
Silvio
51cd3bd86f
Fixes #5062 ( #5527 ); JS: holes in enums
2017-03-15 10:33:37 +01:00
andri lim
ebb15505dd
fixes #5231 inheriting from partial specialized generic object ( #5538 )
2017-03-15 07:59:34 +01:00
Samantha Marshall
93753926f5
adding support for using llvm ASAN ( #5536 )
2017-03-14 23:33:56 +01:00
andri lim
0ff1190fe7
fixes #5264 ( #5520 ); inheriting from generic object
2017-03-14 21:40:09 +01:00
Parashurama
976095c894
add bitops module for optimized bit manipulation. ( #5201 )
2017-03-14 21:32:54 +01:00
Eugene Kabanov
ac2f1996a8
asyncdispatch.nim recursion test. ( #5534 )
2017-03-14 20:03:13 +01:00
Araq
b1c494a150
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-03-14 15:56:08 +01:00
Araq
142b604c13
fixes #5529 ; don't merge type visibility flags
2017-03-14 15:55:23 +01:00
Araq
98c7bab8ea
make memory tracker work without onThreadCreation
2017-03-14 15:45:35 +01:00
Mark Summerfield
0510c0cece
Mentioned that critbits is sorted... ( #5524 )
...
Having a lexicographically sorted collection is a big benefit (I asked GvR years ago to add one to Python but it was no then and seems to be no now!).
Anyone looking for a such a collection could easily miss the critbits model because very few people have heard of them (according to Wikipedia most people in a ration of approx 750:1 know them as radix trees: https://en.wikipedia.org/wiki/Talk%3ACrit_bit_tree ).
2017-03-14 15:07:45 +01:00
Mark Summerfield
3eff1b7765
Minor doc fix as per issue #5523 ( #5533 )
2017-03-14 15:06:06 +01:00
Andreas Rumpf
5de728a2df
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-03-14 14:02:30 +01:00
Andreas Rumpf
f7d760cb94
nimsuggest: when invoked with a directory, detect the main nim file on its own
2017-03-14 12:28:15 +01:00
Mark Summerfield
a330d967b5
Deleted parenthetical phrase ( #5526 )
...
I deleted it because it came across as arrogant. It is also contentious so IMO has no place in a manual.
2017-03-14 12:17:39 +01:00
Andreas Rumpf
b414806e66
nimsuggest: suggest types in a type section
2017-03-14 11:21:35 +01:00
Andreas Rumpf
f162ff7773
nimsuggest: make tdot1 test case green again
2017-03-14 10:28:50 +01:00
Andreas Rumpf
c149a235e7
nimsuggest: make test green again
2017-03-14 10:23:23 +01:00
Andreas Rumpf
4912300ca7
Merge branch 'devel' into faster-nimsuggest
2017-03-14 10:18:20 +01:00
Andreas Rumpf
e32f08d05b
sequtils: removed outdated note
2017-03-14 08:40:02 +01:00
Andreas Rumpf
65f69d5515
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-03-14 08:37:06 +01:00
Andreas Rumpf
15a8996d57
valgrind support for nim
2017-03-14 08:36:57 +01:00
zah
650b20dc5e
fix varargs forwarding for templates; fixes #5455 ( #5505 )
...
* fix varargs forwarding for templates; fixes #5455
* document the macros' varargs change in the news for 0.16.2
2017-03-13 22:02:11 +01:00
Andreas Rumpf
3d534375c7
nimsuggest: logging enable when compiled with -d:logging
2017-03-13 21:59:23 +01:00
c-blake
d59441340d
Fixes incorrect fd==0 test on Unix; Conserves handles by default. ( #5512 )
...
* Fix 2 problems. First, 0 is a valid fd on Unix (easily gotten if user first
closes all fds and then starts using memfiles). Use -1 instead for an invalid
fd. Second, it is best practice to conserve open fds on Unix and file handles
on Windows. These handles are not needed unless the user wants to remap the
memory with ``mapMem`` (or a hypothetical future ``proc resize``). Adding a
new bool param ``allowRemap=false`` to ``memfiles.open`` solves this cleanly
in a "mostly" backward compatible way. This is only "mostly" because the
default ``false`` case does not keep unneeded resources allocated, but that
most sensible default means that any ``mapMem`` callers need to fix all their
open calls to have allowRemap=true, as this PR also does for tmemfiles2.nim.
* Include backwards compatibility note.
2017-03-12 20:45:10 +01:00
mark-summerfield
9fda97b058
Fixed typo ( #5508 )
2017-03-12 20:01:01 +01:00
mark-summerfield
ef59b1a8eb
Nicer English ( #5513 )
2017-03-12 19:55:14 +01:00