Commit Graph

3961 Commits

Author SHA1 Message Date
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
Andreas Rumpf
7b5448c755 introduce 'core' as an alias for 'compilerproc' 2017-12-27 12:23:12 +01:00
Andreas Rumpf
a74dfcfd00 DFA: code cleanups and some support for consuming operations 2017-12-27 12:22:47 +01:00
cooldome
53cf0b2c24 Allow noreturn procs with void type (#6973) 2017-12-27 10:09:24 +01:00
cooldome
2b3ec0a7c6 Implement language feature #6885 (#6954) 2017-12-24 22:22:03 +01:00
Andreas Rumpf
8e7829ff82 DFA attempt to capture the essence of linear types 2017-12-23 19:50:15 +01:00
Andreas Rumpf
c2d91771bc DFA works for simple examples 2017-12-21 19:05:23 +01:00
Andreas Rumpf
da90657317 make the new --genDeps feature optional since it makes compilations slower 2017-12-21 17:14:31 +01:00
Andreas Rumpf
5516fee1a7 Merge branch 'compile-deps' of https://github.com/pyokagan/Nim into pyokagan-compile-deps 2017-12-21 17:00:54 +01:00
Araq
e0e1241a54 move securehash back into the stdlib 2017-12-21 12:34:38 +01:00
Araq
0181253eea fixes #6949 2017-12-21 12:34:38 +01:00
konqoro
3495c0a46d Fix json generation logic (#6909) 2017-12-21 11:26:02 +01:00
Zahary Karadjov
2ceee884fe fix #6462 2017-12-21 11:08:45 +01:00
Zahary Karadjov
057d5789ba fix #6277 2017-12-21 11:06:36 +01:00
Zahary Karadjov
70380882c5 fix #6108 2017-12-21 11:04:05 +01:00
Araq
77d56aaff6 cleanup times.nim 2017-12-21 10:11:45 +01:00
Araq
218679fc95 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-21 10:03:56 +01:00
Araq
ee67a67ac4 first steps in adding template/macro calls to stack traces 2017-12-21 10:03:33 +01:00
Mathias Stearn
07fe1aa655 Use escape sequences rather than hex in string/char literals (#6941)
This should makes documentation easier to read for people who haven't
committed the ascii table to memory.
2017-12-18 17:49:49 +01:00
Araq
ed616664f7 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-18 13:13:10 +01:00
Araq
2502f86d2f next steps in giving Nim a decent DFA infrastructure 2017-12-18 13:12:10 +01:00
cooldome
3659fec725 Alternative fix for #4910 that covers #6892; fixes #6892 (#6938) 2017-12-17 23:56:21 +01:00