Commit Graph

5556 Commits

Author SHA1 Message Date
Varriount
72f4620b2a Update nsis.tmpl 2014-11-02 17:47:02 -05: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
Flaviu Tamas
771e3db869 Remove extra trailing zero from oid
`$` would return a string of length 25, including the trailing null
String length changed to 24, avoiding an extra null byte in the output
2014-11-02 17:08:35 -05:00
Erwan Ameil
c3a4cc87ca Forgot to keep extern pragma for execProcesses 2014-11-02 16:11:17 +01:00
Erwan Ameil
49e9332661 Use defaut nil callback for execProcesses 2014-11-02 16:06:01 +01:00
Erwan Ameil
2f3add99bb Change empty callback into nil 2014-11-02 15:55:33 +01:00
Reimer Behrends
bce2d57d95 Added test case for recursive methods. 2014-11-02 15:37:16 +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
Simon Krauter
f3d7158d5d Fix terminate() and add kill() 2014-11-02 03:00:47 +01:00
Varriount
598b43eecd Merge pull request #1619 from Araq/revert-1618-patch-3
Revert "Remove extra trailing zero"
2014-11-01 17:52:21 -04:00
Varriount
cbe733afa2 Revert "Remove extra trailing zero" 2014-11-01 17:52:00 -04:00
Varriount
2e53e6354c Merge pull request #1618 from flaviut/patch-3
Remove extra trailing zero
2014-11-01 17:42:05 -04:00
Flaviu Tamas
a77dc8e46c Remove extra trailing zero 2014-11-01 17:12:45 -04: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
Andreas Rumpf
eaa5a2599f Merge pull request #1608 from rbehrends/fix-atomics
Various atomics fixes for gcc/clang.
2014-11-01 02:28:24 +01:00
Araq
dac43e0fdd minor changes to the threading docs 2014-11-01 01:14:51 +01:00
Araq
2e26734ea7 Nimrod -> Nim 2014-10-31 23:09:19 +01:00
Araq
bbb16713c1 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-10-31 21:13:07 +01:00
Araq
590461d88a updated the test 2014-10-31 21:13:02 +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
Andreas Rumpf
e4260dd9db Merge pull request #1605 from flaviut/patch-1
Make re module return nil for unmatched captures instead of empty string
2014-10-30 09:54:44 +01:00
Reimer Behrends
6e3720155a Various atomics fixes for gcc/clang.
Make atomicInc/atomicDec work with clang, too; also, actually import
the memory model constants from C rather than relying on the enum
matching the C constants by happenstance.
2014-10-30 03:42:50 +01:00
Varriount
a8a9dd6699 Fix #1561 2014-10-29 18:57:03 -04:00
Flaviu Tamas
218cb7587a re module returns nil on failed captures
- tests included
- news.txt updated
2014-10-29 17:54:43 -04:00
Flaviu Tamas
bc3464ede7 Modify pegs.nim such that no match will return nil
An empty match will return ""
A zero-length match will return nil

Add test cases

Add news information
2014-10-29 17:54:43 -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
73ff0432dc docgen works on linux 2014-10-27 00:12:36 +01: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
Varriount
d5b94390dc Update nsis.tmpl
Fix adding the mingw binary to the path variable
2014-10-25 13:38:14 -04:00
Araq
2dba3acfa9 Merge branch 'devel' into bigbreak 2014-10-25 12:43:27 +02:00
Varriount
d482051710 Merge pull request #1497 from milosn/devel
Preserve nil <-> NULL between Nimrod and database.
2014-10-24 21:07:54 -04:00
Araq
134311c7e0 '.emit' pragma produces a trailing newline 2014-10-25 01:51:33 +02:00
Varriount
4046e40ee4 Merge pull request #1587 from Varriount/fix-1583
Fixes #1583
2014-10-24 02:06:02 -04:00
Clay Sweetser
8a53732910 Fixes #1583 2014-10-24 02:03:35 -04:00
Varriount
b4b7572e78 Merge pull request #1586 from boydgreenfield/bigbreak
Add nimblepath so Nim can find Nimble-installed packages out-of-the-box
2014-10-23 21:49:38 -04:00
Nick Greenfield
9025e89fb9 Add nimblepath so Nim can find Nimble-installed packages out-of-the-box 2014-10-23 18:01:39 -07:00
Araq
201d3c9ed0 Merge branch 'devel' into bigbreak
Conflicts:
	web/news.txt
2014-10-23 23:13:49 +02:00
Araq
d72818e3a3 updated news.txt 2014-10-22 13:42:31 +02:00
Araq
2c5743db3e fixes #1029 2014-10-22 12:50:04 +02:00
Araq
0f26040074 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-10-22 01:54:53 +02:00
Araq
fa77547310 fixes 'import x as y' regression 2014-10-22 01:54:27 +02:00
Varriount
b0d9dc4235 Update nsis.tmpl
React appropriately when the user cancels the downloading of a component.
2014-10-21 17:02:32 -04:00
Araq
ca4d7b1ea8 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-10-21 22:41:32 +02:00