Commit Graph

1771 Commits

Author SHA1 Message Date
Andreas Rumpf
f34ee51154 Merge pull request #1636 from rbehrends/fix-thread-issues
Fix some thread issues
2014-11-08 21:19:42 +01:00
Araq
830e0c0009 the codegen doesn't emit deepCopy for parallel statements 2014-11-08 15:47:00 +01:00
Araq
06e9932e8a fixes exhaustion bug and missing GC_ref code generation 2014-11-07 01:54:47 +01:00
Reimer Behrends
ead00d2328 Properly initialize the stack with emulated thread variables. 2014-11-06 02:09:51 +01:00
Araq
9500dfcc2e fixes #1612 2014-11-06 01:53:57 +01:00
Araq
ee9c70e034 user defined pragmas work for generics instantiated in different modules 2014-11-06 00:21:39 +01:00
Araq
b13c51cc2a compiler bootstraps again 2014-11-05 01:55:33 +01:00
Andreas Rumpf
e7821cc07a Merge pull request #1623 from gradha/pr_bigbreak_adds_code_directive_to_rst
Adds bigbreak code directive to rst with numbered lines
2014-11-05 01:41:12 +01:00
Araq
1f63d1c76e documented nimfix 2014-11-04 08:38:56 +01:00
Araq
8f0b248825 proper development version number 2014-11-04 07:33:09 +01:00
Araq
a53e97fc89 Merge branch 'devel' into bigbreak
Conflicts:
	lib/pure/osproc.nim
2014-11-03 22:50:55 +01:00
Andreas Rumpf
0bfa26c213 Merge pull request #1609 from rbehrends/fix-method-dispatch
Fix method recursion bug.
2014-11-03 16:31:31 +01:00
Grzegorz Adam Hankiewicz
a7aa2de166 Merge branch 'pr_adds_code_directive_to_rst' into pr_bigbreak_adds_code_directive_to_rst
Conflicts:
	doc/tut2.txt
	lib/packages/docutils/rstgen.nim
	lib/system.nim
2014-11-03 15:50:05 +01:00
Araq
8853023fd8 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-11-03 12:01:07 +01:00
Araq
adad2d5f4a Merge branch 'devel' into bigbreak
Conflicts:
	lib/impure/db_postgres.nim
	lib/pure/json.nim
	lib/pure/math.nim
	lib/system/atomics.nim
2014-11-03 11:42:36 +01:00
Andreas Rumpf
01b262d8d1 Merge pull request #1569 from idlewan/prettyCC
Prettify compiler output for verbosity=1
2014-11-03 02:02:20 +01:00
Araq
621ead4110 only produce the link to the docs if they are installed 2014-11-03 00:57:31 +01:00
Reimer Behrends
ce9a57fcfd Fix dispatcher creation for method prototypes.
When method prototypes were involved (e.g. forward declarations
for mutual recursion), calls were sometimes dispatched to the
wrong method implementation. One of the reasons was that method
dispatchers were then not always attached to method ASTs in
the correct place.
2014-11-02 23:35:41 +01:00
Araq
c4d05ca130 better effect inference 2014-11-02 14:35:13 +01:00
Andreas Rumpf
51c875863e Merge pull request #1589 from Varriount/fix-1561
Fixes #1561
2014-11-02 14:16:19 +01:00
Andreas Rumpf
ef47a23b60 Merge pull request #1604 from Varriount/fix-1599
Fix #1599
2014-11-02 14:15:44 +01:00
Reimer Behrends
1fc8bab643 Reset location when creating a method dispatcher
When creating a method dispatcher, the location of the underlying
method was copied. Under some circumstances, the name of the
location (loc.r) was already initialized, in which case the
method dispatcher shared a name with one of the methods, leading
to a C compiler error. By setting loc.r to nil when copying
the dispatcher information from the original method, we ensure
that the dispatcher C function gets its proper name.
2014-11-01 04:07:42 +01:00
Araq
860a28802e fixes #1595 2014-10-31 21:11:36 +01:00
Reimer Behrends
52a3acb066 Fix method recursion bug.
Additional checks for method call transformations.
2014-10-31 07:55:56 +01:00
Araq
4b61592602 minor bugfix for notFoundError 2014-10-30 22:36:23 +01:00
Varriount
a8a9dd6699 Fix #1561 2014-10-29 18:57:03 -04:00
Clay Sweetser
3939e674d0 Fix #1599
Compiler-specific options are now read with the '{compiler}.cpp' prefix in C++ mode.
 GCC C++ mode is fixed.
2014-10-29 14:29:09 -04:00
Araq
0e439ce367 implements #78 2014-10-26 22:48:54 +01:00
Araq
7a48942719 nicer error messages (untested) 2014-10-26 19:54:43 +01:00
Araq
fdf996925b implements #1588 2014-10-26 13:36:42 +01:00
Araq
a639824e5e introduced 'benign' pragma 2014-10-25 22:01:23 +02:00
Araq
2dba3acfa9 Merge branch 'devel' into bigbreak 2014-10-25 12:43:27 +02:00
Araq
134311c7e0 '.emit' pragma produces a trailing newline 2014-10-25 01:51:33 +02:00
Araq
201d3c9ed0 Merge branch 'devel' into bigbreak
Conflicts:
	web/news.txt
2014-10-23 23:13:49 +02:00
Araq
2c5743db3e fixes #1029 2014-10-22 12:50:04 +02:00
Araq
fa77547310 fixes 'import x as y' regression 2014-10-22 01:54:27 +02:00
Araq
ca4d7b1ea8 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-10-21 22:41:32 +02:00
Billingsly Wetherfordshire
50d9db03c6 fix issue #1581 2014-10-20 19:12:10 -05:00
Araq
53a9d6f5cd Merge branch 'devel' into bigbreak
Conflicts:
	compiler/nim.ini
	doc/manual.txt
	doc/tut2.txt
	koch.nim
	lib/system/channels.nim
	readme.txt
	tools/niminst/niminst.nim
	tools/nimweb.nim
	web/download.txt
	web/news.txt
2014-10-20 08:44:00 +02:00
Andreas Rumpf
b29c0da7b5 Merge pull request #1574 from trustable-code/PR3
Do not allow self import
2014-10-20 01:20:39 +02:00
Araq
4aab018bd6 disable 'view source' feature 2014-10-20 01:05:13 +02:00
Araq
1ddc42f570 default to warnGcUnsafe for threads:on 2014-10-19 23:59:29 +02:00
Araq
dc8d8ebb79 website updates for 0.9.6 2014-10-19 16:07:14 +02:00
Araq
a4dcebd3c4 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-10-19 10:50:09 +02:00
Araq
6f1b33e11c readme.txt is not readme.md 2014-10-19 10:49:56 +02:00
Clay Sweetser
d73d752187 Update and clarify the purpose of the nimrod.ini file 2014-10-19 02:14:24 -04:00
Araq
d3e9d0fa3a niminst: 'doc/*.txt' required for bootstrapping 2014-10-18 20:26:51 +02:00
Araq
56f1f3d4bc more improvements for the NSIS installer 2014-10-17 18:18:46 +02:00
Araq
bd54c44239 improvements for niminst 2014-10-17 03:15:28 +02:00
Araq
55d8e71ab1 niminst supports NSIS 2014-10-17 00:53:33 +02:00