Commit Graph

2677 Commits

Author SHA1 Message Date
Araq
a64d733029 some bugfixes for 'deepCopy' 2014-08-06 09:54:23 +02:00
def
c0422ae8af Move floating point rounding and exceptions handling to math
(it's C99 as well, not just POSIX)
2014-08-06 02:31:19 +02:00
Dwight Schauer
530d210c91 Added carriage return and linefeed check to os::parseCmdLine ti delimiting whitespace eating. 2014-08-05 18:57:45 -05:00
Araq
cf61072cc9 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Conflicts:
	compiler/ccgexprs.nim
2014-08-05 21:53:26 +02:00
def
2476ee0cd7 Add -lm for fesetround and fegetround 2014-08-05 20:34:07 +02:00
Grzegorz Adam Hankiewicz
f3d785b5cf Factors exception hierarchy into reusable fragment.
The fragment with hyperlinks is included now from the system module.
2014-08-05 18:11:41 +02:00
Grzegorz Adam Hankiewicz
1daa54e5a2 Downgrades public module comments to private level.
This avoids the weird concatenation in the final system.html file which
doesn't make any sense.
2014-08-05 17:07:43 +02:00
Grzegorz Adam Hankiewicz
00f56b20d7 Adds usage example to typetraits.name().
Credit goes to fowl (http://forum.nimrod-lang.org/t/430).
2014-08-05 11:25:54 +02:00
def
c7898a0c81 Extend list comprehension documentation 2014-08-03 19:07:45 +02:00
def
9f99dd0196 Add list comprehensions to future module 2014-08-03 14:11:57 +02:00
Araq
9673e4f2df progress on deepCopy 2014-08-01 23:40:48 +02:00
Andreas Rumpf
ee61a39cff Merge pull request #1430 from def-/xmldom-nil
Add some nil checks for xmldom (and clean up a bit)
2014-08-01 02:28:51 +02:00
def
dc756a7618 replace nil comparisons with calls to isNil 2014-08-01 02:23:13 +02:00
def
7b9e2881d8 Add "struct" to POSIX flock 2014-07-31 11:28:26 +02:00
def
2c6406703c Add some nil checks for xmldom (and clean up a bit) 2014-07-30 23:23:02 +02:00
Dominik Picheta
779f2b37aa Fixes typeinfo after PR #1408 broke it. 2014-07-29 21:29:39 +01:00
def
06bbd6e7d7 flush -> flushFile in doc 2014-07-29 19:52:41 +02:00
Andreas Rumpf
651f5122e4 Merge pull request #1408 from Skrylar/skry-unsigned-any
Add better support for unsigned ints via typeinfo.
2014-07-29 19:39:22 +02:00
Grzegorz Adam Hankiewicz
69949c07b7 Escapes properly code blocks without highlite support. 2014-07-28 23:22:39 +02:00
def
c78b1070a8 overlapping as a parameter for count instead 2014-07-28 16:48:21 +02:00
Varriount
6debe48b23 Merge pull request #1414 from gradha/pr_sets_improvements
Sets improvements
2014-07-27 22:21:38 -04:00
Grzegorz Adam Hankiewicz
d597767d70 Adds hyperlinks to copyFile* docstrings. 2014-07-27 20:27:38 +02:00
Grzegorz Adam Hankiewicz
f345b0278b Adds os.copyDirWithPermissions(). 2014-07-27 20:24:39 +02:00
Grzegorz Adam Hankiewicz
e9417b55cf Adds definition of card term to sets module. 2014-07-27 09:42:49 +02:00
Grzegorz Adam Hankiewicz
48a13a76c8 Adds more docstrings to the sets module. 2014-07-27 00:14:55 +02:00
Grzegorz Adam Hankiewicz
0bfe956c05 Adds TSet.init(), wraps initSet around it. 2014-07-26 22:11:27 +02:00
Grzegorz Adam Hankiewicz
d21b682268 Adds TOrderedSet.init(), wraps initOrderedSet around it. 2014-07-26 22:11:27 +02:00
Grzegorz Adam Hankiewicz
6c3b967de3 Adds test cases for remaining TSet procs. 2014-07-26 22:11:26 +02:00
Grzegorz Adam Hankiewicz
dd47fa9037 Moves TSet procs to their code block. 2014-07-26 22:11:26 +02:00
Grzegorz Adam Hankiewicz
cdecac11c2 Adds TOrderedSet.isValid(). 2014-07-26 22:11:22 +02:00
Grzegorz Adam Hankiewicz
90e3c99bae Adds TSet.isValid(). 2014-07-26 22:11:17 +02:00
Grzegorz Adam Hankiewicz
b287f13d4a Handles :file: option for code blocks to avoid warnings. 2014-07-26 14:39:01 +02:00
Dominik Picheta
f59d76a59e Merge branch 'devel' of github.com:Araq/Nimrod into devel 2014-07-26 02:15:14 +01:00
Dominik Picheta
030c2d6deb Fixes base64 crash. 2014-07-26 02:14:26 +01:00
Varriount
ba394e6d36 Merge pull request #1410 from Varriount/flyx-ptables_fix
Flyx ptables fix
2014-07-24 18:18:41 -04:00
Clay Sweetser
18003ff196 Added stylistic consistancy. 2014-07-24 18:17:20 -04:00
Clay Sweetser
e5acd9d410 Merge branch 'ptables_fix' of git://github.com/flyx/Nimrod into flyx-ptables_fix 2014-07-24 18:13:14 -04:00
Varriount
99aaefeaae Merge pull request #1289 from fowlmouth/patch-5
json.== handles nil now
2014-07-24 18:05:44 -04:00
Joshua Cearley
2577c92ec7 Add better support for unsigned ints via typeinfo. 2014-07-23 21:30:03 -05:00
jfhg
26ba9e6d32 fix build on DragonFly BSD and FreeBSD 2014-07-23 22:47:16 +02:00
Nick Greenfield
a0df72fcdc Only try to import MAP_POPULATE on Linux, define flag as 0 otherwise. 2014-07-23 12:06:13 -07:00
Nick Greenfield
3a57052e57 Revert "Do not automatically use MAP_POPULATE for opening mmap files."
This reverts commit cba75db4e3. The prior
commit yields a compiler error 'error: lvalue required as left operand
of assignment; MAP_POPULATE = ((int) 0);'. So for now this branch
*always* adds MAP_POPULATE when using the open and mapMem procs.
2014-07-23 11:36:35 -07:00
Nick Greenfield
cba75db4e3 Do not automatically use MAP_POPULATE for opening mmap files.
Adds use_map_populate keyword to memfiles.open and memfiles.mapMem
to govern MAP_POPULATE use. This is set to false by default.
2014-07-23 11:31:03 -07:00
Nick Greenfield
272fd42c97 Add automatic MAP_POPULATE flag for opening read_only (MAP_PRIVATE) and shared (MAP_SHARED) mmap files. 2014-07-23 11:25:21 -07:00
def
72dbd12ca4 Add count procedures to strutils 2014-07-23 16:33:40 +02:00
def
5e2614a7d6 Add newSeqWith 2014-07-23 15:47:46 +02:00
Reimer Behrends
15734009ca More robust implementation for finding the beginning of the stack.
This patch inserts an extra stack frame above the function that
calls the actual Nimrod code and ensures that a reference to this
frame is stored as the stack bottom.
2014-07-23 03:20:50 +02:00
Araq
821fe72ff5 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-07-22 20:23:28 +02:00
Araq
725cf0e22d '[]' for crit bit trees doesn't need the 'var' parameter 2014-07-22 20:23:19 +02:00
Andreas Rumpf
479b2c6296 Merge pull request #1381 from gradha/pr_links_echo_variants
Hyperlinks echo variants with noSideEffect pragma. Refs #1379.
2014-07-22 20:20:36 +02:00