Andreas Rumpf
e0f3e8432a
fixes a critical --gc:boehm regression
2019-09-06 18:06:08 +02:00
Araq
ad82e65387
gc:destructors progress
2019-09-01 23:28:26 +02:00
cooldome
2b565aad89
Support iterators returning lent T ( #11938 )
...
* lent iterators
* rebase tests
* update changelog
* fix comments, more tests
2019-08-31 19:23:54 +02:00
Clyybber
f9600b7207
Remove ENDB ( #12095 )
2019-08-31 07:44:53 +02:00
Andreas Rumpf
9203d3a982
fixes 5870 ( #11704 )
...
* fixes #5870
* make tclosure test green again
* this check is correct but breaks some Nimble packages
2019-08-29 07:49:58 +02:00
Ico Doornekamp
84351da9d8
Fixes #12044 ( #12071 )
2019-08-28 12:05:07 +02:00
Jacek Sieka
66a8856152
abort is noreturn ( #12061 )
2019-08-27 14:27:44 +02:00
Andreas Rumpf
b07694cd90
new gensym handling ( #11985 )
...
* new .gensym implementation
* make astspec test green again
* introduce a --useVersion switch to group compatibility switches
* fixes #10180
* fixes #11494
* fixes #11483
* object constructor fields and named parameters are also not gensym'ed
* disabled broken package
2019-08-23 16:15:02 +02:00
Andreas Rumpf
742862b847
more enhancements for #11618 ( #11976 )
...
* finish the Windows IO layer changes; refs #11618
* added system.getOsFileHandle which is less error-prone on Windows
* make tests green again
2019-08-18 22:57:56 +02:00
Andreas Rumpf
7cb31455ee
fixes #11618 ( #11969 )
2019-08-17 21:19:57 +02:00
Andreas Rumpf
db9e27dffd
Fixes #11118 ( #11964 )
...
* fixes #11118
* Reset closure iter exception before rethrowing
2019-08-17 10:37:38 +02:00
Yuriy Glukhov
721ca3e830
Reset closure iter exception before rethrowing
2019-08-16 17:26:00 +02:00
Araq
39f4a3e418
fixes #11801
2019-08-16 15:20:39 +02:00
Araq
bebda3851f
fixes #1188
2019-08-16 13:29:58 +02:00
Andreas Rumpf
ba577c7e1b
better tojsstr ( #11954 )
...
* JS: rewrote toJSStr
* JS: don't raise exceptions in primitives
2019-08-16 12:18:51 +02:00
Yuriy Glukhov
d31404ac27
Merge branch 'cpp_reraise_fix' into yield-in-try-fix
2019-08-16 10:25:09 +02:00
Timothee Cour
511298242d
fixes #10053 ( #11951 )
2019-08-15 15:55:48 +02:00
cooldome
5ef62fcb25
newruntime for vcc ( #11934 ) [bugfix]
2019-08-14 08:10:59 +02:00
Fabian Keller
83397a69fc
Consistent behavior of exec; Improved docs around exec, staticExec, gorgeEx, etc. ( #10967 )
...
* improved docs around exec, staticExec, gorgeEx, etc.
* incorporate review comment; made behavior of exec consistent
2019-08-13 07:41:08 +02:00
Andreas Rumpf
c0d240b8cd
fixes #11807 ( #11900 )
...
* fixes #11807
* make tests green again
2019-08-07 22:40:58 +02:00
Arne Döring
803406d07c
fix #11854 ( #11857 )
2019-07-30 17:24:42 +02:00
Araq
5a020d641d
style improvements; fixes #11774
2019-07-19 17:25:04 +02:00
Araq
bb5ca0772e
atomics.nim: minor improvements
2019-07-12 21:53:45 +02:00
Araq
cb3c3c306c
minor style changes
2019-07-11 00:28:20 +02:00
Araq
c94647aeca
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
2019-07-10 12:42:41 +02:00
Andreas Rumpf
d2684cdfd2
fixes #11447
2019-07-06 21:20:16 +02:00
Andreas Rumpf
5f515410af
newruntime for async ( #11650 )
...
* fixes overloading resolution for passing owned(Future[string]) to Future[T]
* WIP: make --newruntime work with .async
* memtracker: make it compile again
* make Nimble compile again
2019-07-05 01:42:17 +02:00
Timothee Cour
64168d4aea
fixes #8405 : -d:useNimRtl now works even when {.rtl.} procs are used at compile time; CTFFI now works with {dynlib} ( #11635 )
2019-07-03 23:57:52 +02:00
Timothee Cour
0ca71dd92c
[bugfix] fix mach_absolute_time header; refs #11591 ( #11593 )
2019-07-03 14:59:07 +02:00
Andreas Rumpf
9b949855c7
fixes #11618 ( #11631 )
2019-07-01 14:10:08 +02:00
alaviss
2c10b246ec
assertions: fixes #11545 ( #11605 )
...
* assertions: properly fix #11545
* tests/assert: enable excessiveStackTrace
* tests/assert: add test case for #11545
* tfailedassert_stacktrace: disable excessiveStackTrace
* assertions: weird workaround for failing tests
This fixes megatest on *nix, but have no idea why
2019-07-01 13:19:07 +02:00
Ico Doornekamp
a5686961bd
Make repr use 'ptr' for ptr types instead of 'ref' ( #11626 )
2019-07-01 11:59:27 +02:00
alaviss
403fd3ac43
assertions: make assert follow excessiveStackTrace ( #11574 )
2019-06-25 00:23:22 +02:00
Arne Döring
e90d91f0e4
[refactoring] remove zeroExtend and friends from the compiler builtins. ( #11531 )
...
* remove zeroExtend and friends from the compiler builtins.
* fix jssys
2019-06-24 09:19:02 +02:00
Giovanni Petrantoni
b81fd958d1
[feature] Add dynlib (required on windows/cpp) to nimCoroutines related gc_common procs ( #11567 )
2019-06-23 18:05:10 +02:00
alaviss
24ac13f653
[bugfix] gc_common: export foreign thread gc docs ( #11536 )
2019-06-19 12:41:22 +02:00
yatsen1
c8268330be
[feature] Add boehm gc finalizer ( #11446 )
2019-06-17 20:47:18 +02:00
Kaushal Modi
7182922622
[feature] Added os.delEnv; add delEnv support to nimscript too ( #11466 )
...
[feature] Fixes https://github.com/nim-lang/Nim/issues/11452 .
2019-06-15 11:32:26 +02:00
Andreas Rumpf
572b7c37a5
[other] preparations for --styleCheck:error for the Nim compiler ( #11478 )
2019-06-12 08:35:32 +02:00
Arne Döring
c7e1c665a1
[refactoring] refactor the compiler and stdlib to deprecation warnings ( #11419 )
2019-06-11 16:49:56 +02:00
Miran
b3d2cd738a
[other] better error message for IndexError for empty containers ( #11476 )
2019-06-11 14:34:21 +02:00
nc-x
bce908f6ee
fix koch docs failing at io.nim with import os in config.nims ( #11418 ) [bugfix]
2019-06-08 00:37:08 +02:00
Dankr4d
9d536b90c1
Fixed "is not GC-safe as it calls 'createThread'" when creating a thread in a thread. ( #11390 )
2019-06-03 17:13:21 +02:00
John Paul Adrian Glaubitz
5c5df61071
Additional platform definitions for sparc64 ( #11387 )
...
* lib/posix: Define SO_REUSEPORT for sparc64 as 0x0200 from kernel ABI
* lib/system: Add platform support for sparc64
2019-06-03 08:20:00 +02:00
Arne Döring
5b27b263fd
Remove immediate pragma ( #11308 )
...
* remove immediate from tests
* remove immediate from the compiler
2019-05-29 22:21:51 +02:00
Arne Döring
88b5dd3362
right shift is now by default sign preserving ( #11322 )
...
* right shift is now by default sign preserving
* fix hashString and semfold
* enable arithmetic shift right globally for CI
* fix typo
* remove xxx
* use oldShiftRight as flag
* apply feedback
* add changelog entry
2019-05-29 16:48:00 +02:00
Araq
8bb1a6b041
fixes #11205
2019-05-28 21:30:41 +02:00
Araq
781108ffe4
better error message for the object case switch transition period
2019-05-27 22:46:52 +02:00
Araq
84ca1f3bf3
hotfix for 32bit unsigned 'range' checking; incomplete, unknown why some operations produce range checks
2019-05-27 22:38:06 +02:00
Araq
383147f5cb
make json.to work with the more restricted case objects
2019-05-27 21:29:02 +02:00