Araq
2846156e13
newruntime: raising an exception works but currently leaks memory because currentException global is not an 'owned' ref
2019-04-10 20:34:00 +02:00
Araq
cb4e04d88e
enable more tests
2019-04-10 20:34:00 +02:00
Miran
1494d88fa2
rst: parse brackets individually, fixes #10475 ( #10997 )
2019-04-10 15:55:57 +02:00
Araq
bc50795d9c
enable most tnewruntime_strutils tests
2019-04-10 15:49:04 +02:00
Araq
a34ce2714a
newruntime: fixes another bug
2019-04-10 13:53:47 +02:00
Araq
6e6a9a721f
destructors: we are cooking now
2019-04-06 17:32:53 +02:00
Alexander Ivanov
f101f09256
Fix astdef typ deref ( #10245 )
2019-04-05 16:43:36 +02:00
Arne Döring
3a5a0f6d46
Strformat symbol binding ( #10927 )
2019-04-05 15:27:04 +02:00
cooldome
e749fc08e7
fixes #10943 ( #10947 )
2019-04-05 14:50:57 +02:00
Andreas Rumpf
efeee326f8
destructors: progress
2019-04-05 12:38:30 +02:00
cooldome
795de374fb
fixes destructor tuple regression #10940 ( #10941 )
...
* fixes #10940
* bug fixes
* fix spacing
2019-04-04 20:46:02 +01:00
Arne Döring
65ee80e50c
Pure ref object; fixes #10721 ( #10955 )
2019-04-04 09:06:12 +02:00
cooldome
dc2986789b
fixes #10942 . Lent T bug ( #10946 )
...
* fixes #10942
* add test
* bug build
2019-04-03 15:55:53 +02:00
cooldome
734da9544d
fixes #10948 ( #10949 )
2019-04-03 10:42:41 +02:00
Araq
0b96b135f8
simple program works with --newruntime
2019-04-02 10:43:11 +02:00
Araq
f5a7a3bee9
make megatest work again
2019-04-02 08:23:13 +02:00
Andreas Rumpf
f8e720fda9
fixes json.nim regression
2019-03-29 08:01:59 +01:00
Andreas Rumpf
8e1c6e2e2d
fixes #10896 ( #10903 )
2019-03-25 19:26:38 +01:00
Andreas Rumpf
0cc6e12425
fixes #8202 ( #10888 )
...
* fixes #8202
* make tests green
2019-03-23 14:49:21 +01:00
Viktor Kirilov
f8146dfd84
improvements on the hot code reloading support ( #10892 )
...
* calling the "_actual" versions of functions when defined within the same module - slowdown for the snappy compression is now down from x6 to x4-x5 when HCR is ON
* dynamically linking to the runtime for VS when HCR is on - binaries are smaller
* compilerProcs are also called using the _actual direct version within the module they are defined (system)!
* updated comments & goals
* handling VS-compatible compilers on Windows in a cleaner way
* now the .dll/.so files end up in the nimcache even when --nimcache isn't explicitly stated
2019-03-23 14:48:47 +01:00
Andreas Rumpf
0b2a3f6f7f
fixes #10886 [backport] ( #10897 )
2019-03-23 14:44:53 +01:00
Andreas Rumpf
bf592c4e94
more destructor based changes ( #10885 )
...
* mark user defined destructors with sfOverriden to simplify the logic
* refactoring in preparation to merge liftings and generic instantiations for destructors
* ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on
* renamed 'patterns' switch to 'trmacros' as it was totally misleading before
* destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking
* test for invalid/too late destructor introductions
* liftdestructors: make code robust for nimsuggest
* --newruntime works for hello world again
* newruntime: code generation for closures
2019-03-23 00:12:05 +01:00
Arne Döring
3794338aba
Lineinfo fix ( #10871 )
2019-03-21 06:54:42 +01:00
cooldome
28a926cb67
fixes #10861 ( #10877 )
2019-03-21 06:48:54 +01:00
Arne Döring
389b140029
add tastspec (and ast_pattern_matching) ( #10863 )
2019-03-19 11:45:29 +01:00
Arne Döring
188870648a
sizeof alignof offsetof macros api ( #10855 )
2019-03-19 08:23:00 +01:00
Arne Döring
97c3b113a5
Size ptr tuple ( #10846 )
...
* fixes #10117
* Add support for recursive tuples
* detect in generics
2019-03-18 11:37:09 +01:00
cooldome
862897dc0f
Support for stmtListExpr in parser after major keywords. Scaled down version. ( #10852 )
...
* Support for stmtListExpr in parser after major keywords
* fixes #4035
2019-03-18 11:09:49 +01:00
cooldome
c19cd14fc9
fixes #10838 ( #10841 )
...
* fixes #10838
* reject func in types instead
* trigger tests
2019-03-18 11:04:01 +01:00
Miran
afeca3d9fe
multi-methods need to be explicitly enabled ( #10856 )
...
* multi-methods need to be explicitly enabled
* update changelog, manual and tutorial
2019-03-18 08:21:37 +01:00
Federico Ceratto
5825dcb0b5
Detect local "primary" IP address
2019-03-17 16:58:27 +00:00
cooldome
5dea7c5ad7
revert discard in destroyer ( #10840 )
...
* revert discard in destroyer
* disable test
2019-03-15 13:49:32 +01:00
Miran
84d3f3d448
move system.dollars in a separate file ( #10829 )
2019-03-13 15:59:09 +01:00
Tomohiro
cd3a58d7b0
bitops: add reverseBits and test ( #10835 )
2019-03-13 15:53:40 +01:00
cooldome
d8c3df2683
fixes #10805 ( #10806 )
2019-03-13 10:23:06 +01:00
cooldome
8ceba8a7f3
fixes #10807 ( #10814 )
...
* fixes #10807
* use nkAddr instead of nkHiddenAddr
2019-03-12 13:45:05 +01:00
Andreas Rumpf
5c201791b3
make tests green again
2019-03-07 17:11:22 +01:00
Miran
2b5e48d807
move assertions and iterators out of system.nim ( #10597 )
...
* move assertions and iterators out of system.nim
* limit nimsuggest tests to the first 3 suggestions
2019-03-07 00:49:39 +01:00
Andreas Rumpf
32c9ca605e
fixes #10795
2019-03-06 10:15:27 +01:00
Arne Döring
2c01f0ad8d
tsizeof test is now correct ( #10788 )
2019-03-06 08:12:16 +01:00
Andreas Rumpf
551d6d00df
make tests green again
2019-03-05 20:05:47 +01:00
Andreas Rumpf
1c64934f46
implement system.default for the JS target
2019-03-05 19:58:54 +01:00
Andreas Rumpf
c86b1fbcac
fixes a critical GC safety inference bug ( #10615 )
...
* fixes a critical GC safety inference bug
* make nimsuggest compile again
* make Nimble compile again
2019-03-05 19:54:44 +01:00
Andreas Rumpf
142a2d3551
added system.default in order to prevent the abstraction inversion that 'template default(T): untyped = (var x: T; x)' causes
2019-03-05 09:54:59 +01:00
Andreas Rumpf
2dc8a32324
make megatest green again
2019-03-05 08:17:30 +01:00
Andreas Rumpf
71fd4acaeb
make test green
2019-03-05 05:53:28 +01:00
Andreas Rumpf
f907354121
make tests green again
2019-03-04 22:44:23 +01:00
Arne Döring
1d9b88f25d
sizealign of union type ( #10780 )
...
* sizealign of union type
* add error message for packed union
2019-03-04 09:19:38 +01:00
Arne Döring
1102b8ac6e
StringStream and parseJson, parseCfg, parseSql et al for the vm ( #10746 )
2019-02-28 22:57:57 +01:00
Andreas Rumpf
728ff1004a
gc:destructors: progress
2019-02-28 22:39:24 +01:00