Andreas Rumpf
c4dd9dc77e
fixes #5269
2017-02-05 08:51:43 +01:00
Andreas Rumpf
abaf5d0bdb
fixes #5285
2017-02-04 21:00:07 +01:00
Dominik Picheta
1c233ba27a
More progress towards a working #3691 .
2017-02-03 19:50:22 +01:00
Andreas Rumpf
76a28d8b83
nimsuggest: bugfix: also output documentation comments
2017-02-03 17:36:39 +01:00
Andreas Rumpf
26fb6cb073
fixes #5327
2017-02-03 17:35:58 +01:00
Andreas Rumpf
848676cec6
name mangling bugfixes; ndi file generation for debugger support
2017-02-03 09:49:36 +01:00
Araq
8af10ae3b9
Merge branch 'devel' into new-name-mangling
2017-02-02 21:56:34 +01:00
Dominik Picheta
656da1f6a9
WIP: as with generics.
2017-02-02 21:36:49 +01:00
Andreas Rumpf
fab69661ad
new name mangling rules for easier debugging
2017-02-02 16:27:48 +01:00
Parashurama
137b5f4302
fixes #4992
2017-02-02 11:33:54 +01:00
Andreas Rumpf
a86966eefd
attempt to make nimble work again
2017-02-02 11:01:26 +01:00
Andreas Rumpf
56aa1ac5bc
new name mangling scheme implemented
2017-02-02 10:30:01 +01:00
Andreas Rumpf
d9cf9b079e
tiny progress on the name mangling
2017-02-01 23:39:40 +01:00
Andreas Rumpf
f04d21f279
refactoring: explict config state instead of globals
2017-02-01 23:39:40 +01:00
Dominik Picheta
814f527175
Fixes based on @Araq's feedback.
2017-02-01 21:51:17 +01:00
Dominik Picheta
3cbfd56e1d
Fixes #3691 .
2017-02-01 21:11:40 +01:00
Andreas Rumpf
3c773c189f
fixes #4973
2017-02-01 12:09:24 +01:00
Parashurama
2aec5b6c49
fixes compiler ignoring passC/passL args when setting --cc:compiler. ( #5310 )
...
This commit change the way passC/passL cmdline arg and setting in config
files are parsed.
They are added to a separate linkOptionsCmd/compileOptionsCmd and are
inserted when compile/linking command list are requested.
2017-02-01 08:51:24 +01:00
Dominik Picheta
e8c46d29cd
WIP implementation of except ExcType as ident syntax. Refs #3691 .
2017-02-01 00:32:56 +01:00
Araq
e88a0af494
fix confusing line information for macros that produce errors
2017-02-01 00:00:41 +01:00
Araq
6050102b76
niminst updates
2017-01-30 09:43:32 +01:00
Michael Jendrusch
d75760f5d3
made nodecl implicit for vars in the js backend. ( #5297 )
2017-01-29 17:34:08 +01:00
Araq
904654b9ec
with dir with space regression again
2017-01-29 00:32:25 +01:00
Araq
0c49ee25a9
fixes serious regression that was introduced in the handling of .compile pragma
2017-01-28 20:37:23 +01:00
Andreas Rumpf
efe65e2255
make tests green again
2017-01-28 08:54:53 +01:00
Araq
03a1c3b077
.compile pragma supports patterns and actions
2017-01-28 08:54:53 +01:00
Araq
68617adb91
fixes #5216
2017-01-27 09:49:45 +01:00
Araq
27bc6c1974
.compile pragma supports wildcards
2017-01-27 09:15:42 +01:00
Andreas Rumpf
0b93db5a7c
fixes nimsuggest issue #44
2017-01-26 23:23:40 +01:00
Andreas Rumpf
1fa3a9dac2
bugfix: inline iterator do not mess up line information anymore
2017-01-25 09:34:51 +01:00
shsnow23
c7e54eba91
fix genderef of jsgen ( #5274 )
2017-01-24 16:59:34 +01:00
Yuriy Glukhov
0ead17bf0e
Fixes #5271 ( #5273 )
2017-01-24 06:19:28 +01:00
Yuriy Glukhov
268c899b98
Fixup #5240 ( #5270 )
2017-01-23 20:09:43 +01:00
Andreas Rumpf
d651012688
template+emit supports volatileRead and volatileWrite ops
2017-01-23 11:22:19 +01:00
Andreas Rumpf
93068f1ba6
avoid some compiler crashes in debug mode
2017-01-23 11:22:19 +01:00
Araq
54bd728c13
some progress on #5228
2017-01-20 13:17:45 +01:00
Michael Jendrusch
953b8cbcc2
fixes #5234 ( #5240 )
2017-01-20 05:16:42 +01:00
Arne Döring
e8a00b805f
fix seq add for nim node in VM ( #5253 )
...
fixes #4821
2017-01-19 20:10:01 +01:00
Arne Döring
130f30ddb2
make quote ast a ref type ( #5246 )
...
* make quote ast a ref type
* recursive set flag isRef for quoted ast
2017-01-19 16:39:18 +01:00
Andreas Rumpf
b85898cd41
fixes #5237
2017-01-19 13:26:22 +01:00
Andreas Rumpf
249a352c6b
fixes #3434
2017-01-19 07:11:17 +01:00
Lolo Iccl
a296f091e4
Fixes #5225 ( #5243 )
...
* Fixes #5225
* Fixes #5225
* Fixes #5225
fix typo
2017-01-18 21:04:03 +01:00
Yuriy Glukhov
05dec08cea
Fixes #5244 ( #5245 )
2017-01-18 20:13:08 +01:00
Andreas Rumpf
2f08fdf623
implements {.gcsafe.} enforcement as a pragma block
2017-01-18 12:55:33 +01:00
Lolo Iccl
b6b5a11be7
Fixes #5112 (Fix error messages raised when multiple modules have the same original name) ( #5220 )
...
Fixes #5112
2017-01-17 16:58:50 +01:00
Michael Jendrusch
454547da8e
Removed mangling of object fields for the js target only. ( #5226 )
...
* removed mangling of object fields for the js target only.
* changed default mangling behaviour for the php target as well.
* Added test for unorthodox field names (reserved words and operators). Adjusted field accessors and object constructors / new to be ECMAScript first edition compatible, when using fieldnames which are reserved words.
2017-01-17 16:43:06 +01:00
Andreas Rumpf
54a6c5b348
fixes #5218
2017-01-16 23:04:53 +01:00
Brandon Pickering
9f95dd8e1d
Create temp var in deepcopy if needed ( #5205 )
2017-01-15 06:26:59 +01:00
Andreas Rumpf
823fbd4e40
default GC can do a sort of heap dump via -d:nimTypeNames and dumpNumberOfInstances()
2017-01-14 04:00:06 +01:00
Andreas Rumpf
9753782f96
memory allocator hotfix: do not allocate tremendous amounts of memory
2017-01-13 12:07:37 +01:00