Araq
86e2d6ee90
fixes #3476
2015-10-27 08:37:56 +01:00
Araq
aa36e73ecf
fixes #3431 , fixes #3370 , fixes #3468
2015-10-25 02:22:50 +01:00
Araq
cd7b5ae1eb
fixes #1799 properly
2015-10-25 02:35:18 +02:00
Araq
5206c310e6
fixes #1799
2015-10-25 01:26:08 +02:00
Adam Strzelecki
24731c5360
compiler/commands: Always write usage to stdout
...
Usage is compiler command output, not diagnostics, so we shall output it to
stdout. Also this makes: nim -h | less or nim -h | grep ... working.
2015-10-22 22:14:45 +02:00
Adam Strzelecki
acb6a36656
msgs: One msgWriteln with optional flags
...
Instead of msgWriteln, outWriteln and stdoutWriteln doing essentially the same.
2015-10-22 22:09:15 +02:00
Araq
9cc25f8b77
fixes #3452
2015-10-22 12:14:32 +02:00
Araq
e722770fbb
doc\advopt.txt
...
added --reportConceptFailures switch
2015-10-22 12:14:31 +02:00
Araq
d93507fd2e
fixes #3338
2015-10-22 10:24:46 +02:00
Araq
3f24a7ff3e
mitigates unclear nimsuggest problem
2015-10-22 10:24:19 +02:00
Araq
d1ae1cba87
fixes installation problems on unix by hardcoding the dlls.zip name
2015-10-16 22:02:34 +02:00
Adam Strzelecki
78568859c5
compiler/vm: Use stdout too in VM time echo
...
Now VM time echo outputs to stdout too, same as compile time echo, rather using
same handle as compiler diagnostics (stderr default).
2015-10-16 20:55:17 +02:00
Adam Strzelecki
abb82554b7
compiler/msgs: Default to stderr for diagnostics
...
Previously we were defaulting to stdout for diagnostics, which could interfere
with scripts or `nim c -r' programs outputting their results to stdout,
possibly mixing their output with compiler messages.
This change makes now Nim to be inline with other compilers emitting
diagnostics to stderr. Also now --stdout option has proper meaning making all
diagnostics to be sent to stdout instead.
NOTE: Tester now calls compiler with --stdout.
2015-10-16 20:55:17 +02:00
Yuriy Glukhov
955954a89f
Gen temp name instead of nimVarUnpack
2015-10-15 17:50:06 +03:00
Yuriy Glukhov
2166b7bc46
Fixed ret by var in js
2015-10-15 16:04:53 +03:00
Araq
c97cbe7abd
fixes #3299
2015-10-15 09:31:54 +02:00
Clay Sweetser
804455df53
Added DLL download to installer
2015-10-15 02:34:30 -04:00
Araq
3fef9f08bd
fixes regression: tactiontable
2015-10-14 14:35:44 +02:00
Araq
a40ace648d
fixes regression: tobjconstr2 test works again
2015-10-14 00:41:27 +02:00
Araq
7f4f37eaa2
fixes tunittest crash
2015-10-13 16:31:30 +02:00
Araq
8be9e46403
udpated the compiler and tester to use getOrDefault
2015-10-13 14:10:33 +02:00
Araq
2fda95a4d6
added getOrDefault; bootstrapping works again
2015-10-13 03:03:05 +02:00
Araq
d8b0edc323
Merge branch 'mget' of https://github.com/def-/Nim into def--mget
...
Conflicts:
lib/pure/collections/critbits.nim
lib/pure/collections/tables.nim
lib/pure/xmltree.nim
lib/system/sets.nim
tests/collections/ttables.nim
tests/collections/ttablesref.nim
2015-10-13 00:22:27 +02:00
Araq
ca75985fc1
nimsuggest: added 'dus' command that combines 'def' and 'use'
2015-10-12 16:55:24 +02:00
Araq
3e897a7c71
added setResult that simply takes a node
2015-10-12 16:55:22 +02:00
Araq
48036fa3d9
fixes #635
2015-10-07 10:03:47 +02:00
Araq
8507f95d68
fixes #2637
2015-10-06 15:51:00 +02:00
Araq
a2c040e3bd
added undocumented exportNims pragma for Nimscript support
2015-10-03 23:19:15 +02:00
Dominik Picheta
3fe5731777
Merge pull request #3389 from nanoant/patch/separate-deprecated-modules
...
Patch/separate deprecated modules
2015-10-03 14:51:43 +01:00
Andreas Rumpf
c85fbb6fd4
Merge pull request #3402 from tmm1/exec-processes-after-cb
...
Add afterRunEvent callback to execProcesses()
2015-10-02 13:21:46 +02:00
Aman Gupta
08843c6673
remove echo() from compiler
2015-10-01 13:16:18 -07:00
Andreas Rumpf
a3550d1314
Merge pull request #3384 from tmm1/bitsize-pragma
...
Implement bitsize pragma for bitfields
2015-10-01 09:11:17 +02:00
Aman Gupta
ded5753292
remove "rerun with --parallelBuild:1" message and show error inline
2015-09-30 19:05:37 -07:00
Araq
5a003532d0
fixes #2473 ; cleanup of some tests
2015-09-30 21:13:13 +02:00
Andreas Rumpf
55bc5d15c7
Merge pull request #3385 from nanoant/patch/dont-fail-on-unknown-enum-value-to-string
...
vm: Don't fail on unknown enum position to string
2015-09-30 21:09:17 +02:00
Aman Gupta
87ab263d52
Merge remote-tracking branch 'origin/devel' into bitsize-pragma
2015-09-30 11:43:59 -07:00
Adam Strzelecki
144dc8f8ad
Move deprecated modules into lib/deprecated/
...
This gives clear indication what modules are now deprecated and reduce clutter
in non-deprecated module directories.
2015-09-30 12:26:25 +02:00
Araq
d80f163384
NimScript: --define works as expected
2015-09-30 11:02:42 +02:00
Aman Gupta
e5ba94b1f8
Merge remote-tracking branch 'origin/devel' into bitsize-pragma
2015-09-29 15:38:30 -07:00
Aman Gupta
0679340b52
switch to bitsize:int
2015-09-29 14:39:20 -07:00
Araq
29dac5ed60
Nimscript: the compiler supports a directory wide config.nims file
2015-09-29 21:01:26 +02:00
Araq
1b7d8246c1
NimScript: setCommand takes an optional project filename
2015-09-29 20:44:12 +02:00
Araq
6268bf33a2
fixes #3387
2015-09-29 19:30:46 +02:00
Adam Strzelecki
4be6844756
vm: Don't fail on unknown enum position to string
...
Previously trying to convert constant of enum type, where this enum type has no
entry with given constant position leaded to "internal error: opConv for enum".
Instead of producing error, now we gracefully convert it to "EnumType position".
2015-09-28 23:34:52 +02:00
Aman Gupta
5e9ce88daf
implement bitsize pragma for bitfields
2015-09-28 14:34:36 -07:00
Dominik Picheta
bb7604c06f
Improved "Execution of an external program failed" message.
2015-09-27 14:18:03 +01:00
Andreas Rumpf
683e1e8faf
Merge pull request #3368 from kirbyfan64/set_crash_fix
...
Fix #3367
2015-09-24 15:59:30 +02:00
Araq
10a4bb6f4e
fixes 3354
2015-09-23 23:30:09 +02:00
Araq
2210060965
fixes #3359
2015-09-23 22:47:24 +02:00
Araq
000c413f35
disjoint checker is smarter (and slower)
2015-09-23 21:46:34 +02:00