Commit Graph

4417 Commits

Author SHA1 Message Date
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
Andreas Rumpf
33ce5c282e Merge pull request #1620 from trustable-code/PR6
Fix terminate() and add kill()
2014-11-03 14:18:53 +01:00
Simon Krauter
a7f5d550c1 Added test case 2014-11-03 12:18:45 +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
Araq
59c0a2db84 added threadpool and cpuinfo to the docgen 2014-11-03 10:47:14 +01:00
Araq
26b4761f14 actors module is deprecated 2014-11-03 10:44:30 +01:00
Varriount
6935171b85 Fix math.nim on windows 2014-11-03 02:17:39 -05:00
Varriount
1b4dd6f61e Update buildbat.tmpl
Batch scripts generated by `koch csources` now return proper error codes, and stop when there is an error.
2014-11-03 01:51:54 -05:00
Andreas Rumpf
bd2ba2d73f Merge pull request #1443 from def-/future-listcomprehensions
Add list comprehensions to future module
2014-11-03 02:09:21 +01:00
Andreas Rumpf
db228d3b5c Merge pull request #1553 from gradha/pr_json_module_improvements
json module improvements
2014-11-03 02:03:30 +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
Andreas Rumpf
a0ecfd19be Merge pull request #1448 from def-/posix-math
Add -lm for fesetround and fegetround
2014-11-03 01:58:50 +01:00
Andreas Rumpf
e7edd9e64e Merge pull request #1565 from gradha/pr_supports_nnkPostfix_stringification
Adds stringification support for nnkPostfix nodes.
2014-11-03 01:56:44 +01:00
Andreas Rumpf
65c64fd83a Merge pull request #1621 from flaviut/fix-oid
Remove extra trailing zero from oid
2014-11-03 01:53:18 +01:00
Araq
621ead4110 only produce the link to the docs if they are installed 2014-11-03 00:57:31 +01:00
Varriount
be0fbdea65 Update nsis.tmpl 2014-11-02 18:32:25 -05:00
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