Commit graph

469 commits

Author SHA1 Message Date
Araq
ba38b83dd5 refactoring: C codegen with fewer global variables 2016-12-05 12:14:24 +01:00
Araq
42ae2064dd more tests work 2016-12-02 11:44:28 +01:00
Araq
2eee15d7f3 Merge branch 'devel' into sighashes 2016-12-01 10:06:41 +01:00
Yuriy Glukhov
a80a0972b7 Fixed dynlink with OpenSSL >1.1.0. Added loadLibPattern. 2016-11-30 17:16:54 +02:00
Andreas Rumpf
e7cdb1d694 attempt to fix things 2016-11-23 14:24:45 +01:00
Araq
0e1304a3e2 the compiler uses tyAlias internally; tester compiles again 2016-11-16 00:13:45 +01:00
Araq
e6c5622aa7 removed tyArrayConstr completely from the compiler; introduced tyAlias instead in preparation for further bugfixes 2016-11-14 23:18:30 +01:00
Araq
860cbd3107 signature hashing: more progress 2016-11-11 08:58:42 +01:00
Araq
3b43cff0f8 C codegen: first version of signature hashing for better incremental builds 2016-11-08 08:37:11 +01:00
Araq
9e6fb3f696 new dependency tracking for nimsuggest 2016-11-05 01:19:23 +01:00
Araq
29db0d8585 refactoring complete: explicit ident cache 2016-10-31 19:47:20 +01:00
cheatfate
29d31edc0b Generate NimMainModule name for main module. 2016-10-26 14:00:30 +03:00
andri lim
c0470edc4c fixes #4840 2016-10-03 19:14:27 +07:00
Andreas Rumpf
259daf98cf fixes thread vars of non-global visibility 2016-09-12 23:04:19 +02:00
Andreas Rumpf
08a6f3fc67 fixes #4721 2016-09-07 08:29:45 +02:00
Andreas Rumpf
dfa0699e73 C++ backend: use .noInit pragma for non-public default constructors; refs #4687 2016-09-04 22:36:29 +02:00
Andreas Rumpf
3a13706d7d fixes #4673 2016-09-01 13:02:53 +02:00
Araq
884d5518dd Merged 2016-08-27 20:52:26 +02:00
Araq
a13cb26c40 next steps in getting symbol files to work again 2016-08-16 20:04:27 +02:00
Jacek Sieka
3cd4cf4320 remove unused stuff 2016-08-09 22:54:27 +08:00
Jacek Sieka
981a8950c6 remove keepAlive and friends 2016-08-09 22:17:05 +08:00
Andreas Rumpf
7ea318a053 fixes #4505, fixes #4230 2016-08-04 21:44:06 +02:00
Andreas Rumpf
39ebe2175b compiler almost free of deprecated expr/stmt names 2016-07-30 16:34:42 +02:00
Andreas Rumpf
4b0ba5e3f1 C code generation now deterministic; fixes #4364 2016-06-22 02:50:50 +02:00
Andreas Rumpf
af1e941872 fixes #2259, fixes #1389 2016-06-02 18:12:11 +02:00
Andreas Rumpf
3ac6bd8ae1 refactoring: flags instead of bools 2016-05-18 12:40:01 +02:00
Andreas Rumpf
685b8963da fixes #4110 2016-05-11 21:16:26 +02:00
Andreas Rumpf
11d0f3f7ec fixes #4034 2016-05-11 20:50:03 +02:00
Araq
f0c19e9e67 fixes a critical codegen bug that keeps PR #4017 from working 2016-03-31 02:11:22 +02:00
Andreas Rumpf
c1627354d1 first implementation of the new lambda-lifting pass; barely anything works 2015-12-26 00:42:30 +01:00
Araq
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +02:00
Araq
ffe51966b9 fixes a critical codegen bug triggered by .async 2015-09-10 10:50:29 +02:00
Yuriy Glukhov
c42b05adb4 Fixed --debugger:on option. Removed c_line from termios. 2015-08-12 12:04:26 +03:00
Araq
54fdeb4f76 gc:none works again 2015-07-26 22:03:52 +02:00
Araq
6b00160938 fixes #3134 2015-07-18 17:48:01 +02:00
Adam Strzelecki
00366cb8d4 Turn loadDynamicLib msg into hintDependency 2015-07-03 14:05:00 +02:00
Araq
54a374a828 .header pragma now supports preprocessor directives 2015-07-01 02:15:21 +02:00
Adam Strzelecki
3d266433a7 securehash: Keep module name consistent
1. All other modules don't use underscore, why this should be different?

2. Wrap some imports to 80 column
2015-06-09 22:20:05 +02:00
Andreas Rumpf
25a1987517 Merge pull request #2780 from flaviut/cleanup-crc
Use SHA1 instead of CRC
2015-06-09 15:10:21 +02:00
Araq
706080dcbd fixes 'noreturn' regression for Visual C++ 2015-06-06 11:59:34 +02:00
Flaviu Tamas
4873db4c72 Rename crc module to "secure_hash" 2015-05-23 13:17:19 -04:00
def
4a2a0894ae Implicitly assume compilers to know naked and noreturn attributes 2015-05-07 22:31:45 +02:00
def
78c26cbf18 Distinguish only between __declspec and __attribute__ 2015-05-05 20:35:43 +02:00
def
a9fe618756 Pass noReturn pragma to C code.
With GCC and Clang this generates __attribute__((noreturn)) in the
function declaration. (both tested) With VCC __declspec(noreturn) is
used.
2015-05-05 00:02:09 +02:00
Andreas Rumpf
cb1c621a05 Merge pull request #2426 from def-/fix-1460
Fix #1460
2015-04-09 09:36:18 +02:00
def
39049e151f Get rid of deprecation warnings 2015-04-07 15:47:18 +02:00
Jacek Sieka
c40249cd43 compiler_ropes: ropeToStr -> $ 2015-04-01 22:32:15 +08:00
def
07351d5f37 Initialize c compiler variables later ...
... so that symbols such as "cpp" are defined

Fixes #1460
2015-03-28 15:07:55 +01:00
Araq
5641be51c1 codegen doesn't produce line tracing commands anymore; fixes #1344 2015-03-21 20:38:27 +01:00
Araq
910ef7b2d1 'constructor' pragma for C++ support 2015-03-18 11:42:37 +01:00