Commit Graph

3982 Commits

Author SHA1 Message Date
Andreas Rumpf
274fafb2df fixes #6961 2018-02-02 17:35:04 +01:00
cooldome
5460bd2764 Small performance improvement in sempass2 (#7168) 2018-02-01 18:34:37 +01:00
Yuriy Glukhov
60c7bbc8b7 Jump to definition on import will open the imported module (#7155) 2018-01-31 16:39:01 +01:00
GULPF
94038545be Fixes codegen bug with literal negative zero, fixes #7079 (#7158)
* Fixes #7079

* Fix handling of neg zero during constant folding
2018-01-31 16:29:42 +01:00
Andreas Rumpf
b5538990a2 nimTypeNames feature: show generics properly 2018-01-31 14:29:08 +01:00
Andreas Rumpf
7648eb45b3 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-31 08:01:07 +01:00
Andreas Rumpf
a605fa8ba6 fixes #7129 2018-01-30 19:51:38 +01:00
Yuriy Glukhov
d84ace8a5b Fixes #7140 (#7154) 2018-01-30 15:25:41 +01:00
Yuriy Glukhov
02c1f120eb Fixes nimsuggest#78 (#7151) 2018-01-29 23:41:32 +01:00
cooldome
12b11fd848 Fix compiler crash on try expression with infix as (Fixes #7116) (#7112)
* Fix compiler crash

* make sure type is not lost
2018-01-29 05:59:49 +01:00
Araq
ad222e3015 Merge branch 'devel' into araq-newlines 2018-01-28 11:38:52 +01:00
Araq
7206c692a3 in triple line string literals the newline should be '\n' too 2018-01-28 11:38:25 +01:00
Andreas Rumpf
68dfd1729e fixes #6989 2018-01-27 07:59:40 +01:00
Andreas Rumpf
1d9087245c JS codegen bugfix: don't crash on wrong importcpp patterns 2018-01-25 16:02:13 +01:00
Andreas Rumpf
80caca15bd fixes #7089 2018-01-24 20:08:17 +01:00
Andreas Rumpf
c99f952dfb basic 'lent T' test works 2018-01-21 03:04:22 +01:00
Andreas Rumpf
33b0e73962 fixes most recent iterators-as-expressions regression 2018-01-18 18:57:29 +01:00
Andreas Rumpf
090d22c715 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-18 11:40:30 +01:00
Andreas Rumpf
6a2b57b4aa fixes #7093 2018-01-18 11:40:18 +01:00
cooldome
27aab0be16 Custom pragmas in procs bug fix (#7086) 2018-01-18 10:38:55 +01:00
jcosborn
399c5e38b7 don't make optNilCheck default to on for now (#7058)
* don't make optNilCheck default to on for now

* add conditional symbol nimHasNilChecks
2018-01-17 01:32:40 +01:00
Araq
f71f9f83c2 GC improvements; distinguish between thread local and globals in the marking step 2018-01-14 17:34:27 +01:00
Araq
425f221440 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-11 18:05:26 +01:00
Araq
df73d412ba introduce --symbolFiles:v2 as the next attempt to bring symbol files to Nim 2018-01-11 17:58:26 +01:00
jcosborn
d0a9fac362 avoid creating temporary in genObjConstr if possible (#7032) 2018-01-11 02:01:51 +01:00
sleepyqt
a54430ea2d Fix struct packing for VCC. (#7049)
"#pragma pack(1)" sets current alligment without pushing into stack,
so "#pragma pack(pop)" causing stack underflow.
2018-01-09 23:02:09 +01:00
cooldome
2c9e56a783 Implement custom annotations (#6987) 2018-01-09 15:25:22 +01:00
Andreas Rumpf
437caf4358 Merge branch 'devel' into nimv2 2018-01-08 20:04:25 +01:00
Andreas Rumpf
c924fac5c8 fixes #7019 2018-01-08 18:22:18 +01:00
Andreas Rumpf
ceb8ba4957 fixes #7018 2018-01-08 18:02:38 +01:00
Andreas Rumpf
2015895357 sink type begins to compile 2018-01-08 01:47:54 +01:00
Andreas Rumpf
e4081a7201 preparations for language extensions: 'sink' and 'lent' types 2018-01-07 23:09:26 +01:00
Andreas Rumpf
3af73682e5 Merge branch 'devel' into nimv2 2018-01-07 13:59:29 +01:00
Andreas Rumpf
51c45c7201 symbol files: introduce more switches for debugging 2018-01-07 12:21:42 +01:00
Araq
e316665b7b work in progress: 'sink' and 'lent' types 2018-01-07 10:17:19 +01:00
Andreas Rumpf
3ae434a086 symbol files: do not regenerate method dispatchers for now 2018-01-04 21:08:34 +01:00
Andreas Rumpf
464d037c17 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-04 15:59:10 +01:00
qqquinta
d5f539dc87 jsgen: bool genConv generates boolean values instead of numeric (#7016) 2018-01-03 12:40:19 +01:00
Araq
49a00fe6ff Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-03 02:36:49 +01:00
Araq
720c73e6d5 symbol files: fixes the logic for multi-methods 2018-01-03 02:36:29 +01:00
oltolm
42cff6e0c5 add support for building GUI applications with TCC (#7003) 2017-12-31 14:49:42 +01:00
Andreas Rumpf
64d583d6ca destroyer pass: disable debug output 2017-12-30 12:55:53 +01:00
Parashurama
41472f0e28 add support cast[integer] in VM 2017-12-30 10:30:40 +01:00
Araq
29db57a804 fixes reported 'proc foo(): int = result' codegen problem 2017-12-30 00:29:53 +01:00
Araq
b6eeebd993 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-29 20:02:12 +01:00
Araq
cf259fbd1c fixes #6972 2017-12-29 20:01:49 +01:00
Andreas Rumpf
e695f9d94e make Nim compile with older nim versions 2017-12-28 19:48:21 +01:00
Araq
f3a895f043 fixes #6965 2017-12-28 00:50:45 +01:00
Araq
0b0baece89 fixes #6980 2017-12-27 21:26:37 +01:00
Andreas Rumpf
c19c6b1fae Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-27 12:23:17 +01:00