Commit Graph

5256 Commits

Author SHA1 Message Date
def
b594c332ca Add termios wrapper 2015-02-03 17:27:29 +01:00
def
39839fda8a Rename *.nimrod.cfg to *.nim.cfg 2015-02-03 09:04:24 +01:00
dumndummer
9a1be7a9f3 Update macros.nim
minor doc comment spelling correction
2015-02-02 17:57:31 +00:00
dumndummer
07f42fa612 Changed name 'pred' to 'op' in mapIt template 2015-02-02 14:42:00 +00:00
Simon Hafner
fc5700619b report how to create a compiler stacktrace #1280 2015-02-01 23:39:10 -06:00
def
1ae4d535cd Add nextPermutation and prevPermutation
Fits best into algorithm module I guess. These are the most general
ways, an iterator could easily be implemented from this. Same algorithm
as in Rust: http://web.mit.edu/rust-lang_v0.11/doc/src/collections/var/tmp/alexp/rust/rust-0.11.0/src/libcollections/slice.rs.html#644
2015-02-01 18:29:01 +01:00
Araq
a6082b2a20 slightly better docs for re module 2015-02-01 11:58:40 +01:00
def
11a5a4a9a6 Fix SinglyLinkedRing in lists module
- SinglyLinkedRing's prepend was broken
- needed a tail so that prepend can work properly
- now append works as well, so I added it too
- simple testcase added as well
2015-02-01 03:04:18 +01:00
Andreas Rumpf
3b45ac44e1 Merge pull request #2010 from modk/freebsd-parallel-build
Fix parallel build on FreeBSD
2015-02-01 01:41:26 +01:00
reactormonk
014be3a29c Merge pull request #2020 from def-/mitems
mitems and mpairs
2015-02-01 05:19:47 +05:00
Araq
8f587e2eab fixes #2041 2015-01-31 11:49:19 +01:00
elpres
ab29db58d3 Fixed int to int32 2015-01-30 16:29:28 +01:00
elpres
7bf971fa1d Same types for chars as in zlib.h
zlib sets the return value to -1 to communicate errors, which won't work if the parameter type is 'char'.

Also, one routine was missing.

Source: http://www.zlib.net/manual.html
2015-01-30 09:46:35 +01:00
Araq
fe30ec83e2 nimsuggest improvements 2015-01-30 03:04:45 +01:00
modk
458e3b2f07 FreeBSD-specific code 2015-01-29 12:51:22 +01:00
dumndummer
c19fb7b366 Update sequtils.nim
Renamed param name 'pred' to 'op' in mapIt template to better correspond with map proc in system module
2015-01-28 21:44:52 +00:00
Dominik Picheta
6143393adb Move lib/pure/nodejs to compiler/nodejs. Ref #2017. 2015-01-28 14:58:31 +00:00
Andreas Rumpf
190cc01f24 Merge pull request #2017 from reactormonk/nodejs-binary
Algorithm to find the nodejs binary
2015-01-28 15:14:39 +01:00
Araq
dbe71c715e documented new C++ support 2015-01-28 12:59:04 +01:00
def
8c902ca781 Add items, mitems and mpairs for cstrings 2015-01-28 02:31:26 +01:00
def
fa1e209b63 Typo 2015-01-28 02:31:26 +01:00
def
46cf40c40d Add mitems and mpairs where it makes sense 2015-01-28 02:31:26 +01:00
modk
e37e997868 Set status to something else than 0 2015-01-27 22:39:24 +01:00
Mason McGill
a6ce70bd8d Added a few AST-construction shortcuts. 2015-01-27 11:48:14 -08:00
Simon Hafner
842c7f67ca added suggested fixes 2015-01-27 13:04:27 -06:00
Simon Hafner
2beaa7a2da find the nodejs binary
upstream calls it node, debian calls it nodejs. We gotta look for both
of them.
2015-01-27 13:02:17 -06:00
dumndummer
16254f49a8 Update sets.nim
corrected misspelled word in doc comment
2015-01-27 13:35:50 +00:00
Andreas Rumpf
52c456fee8 Merge pull request #2005 from def-/fix-estp
Make ESTP compile
2015-01-27 14:29:20 +01:00
Dominik Picheta
c7543652e6 Revert "Update sets.nim" 2015-01-27 12:48:48 +00:00
dumndummer
a3441b3db5 Update sets.nim
corrected misspelled word in doc comment
2015-01-27 12:04:07 +00:00
def
2d3db9cd6b Fix type of setControlCHook parameter 2015-01-27 12:00:08 +01:00
def
7894f50a56 Get rid of more deprecation warnings by renaming exceptions 2015-01-27 11:58:15 +01:00
Araq
26b853923c nimsuggest: first version 2015-01-27 01:36:19 +01:00
Araq
b2d1889951 bugfix: don't overwrite the number value in case of a parsing error 2015-01-27 01:33:48 +01:00
modk
71ad822833 Merge with current devel 2015-01-26 09:55:20 +01:00
modk
601b262a8d Fixes parallel build on FreeBSD 2015-01-26 00:06:43 +01:00
Dominik Picheta
defaf5d400 Logging module is now thread-safe. 2015-01-25 17:02:37 +00:00
Dominik Picheta
67e489d4e5 Merge pull request #2009 from gmpreussner/devel
Added complex conjugate
2015-01-25 12:39:55 +00:00
gmpreussner
defbd10c19 Added complex conjugate 2015-01-24 22:57:19 -05:00
Dominik Picheta
88450e76fd Merge pull request #1998 from Varriount/fix-1962
Fixes #1962
2015-01-24 11:34:53 +00:00
Varriount
0e65df4bbf Added documentation for the new http request procedures. 2015-01-23 22:06:57 -05:00
def
dfdd84f2c9 Make ESTP compile 2015-01-23 23:18:20 +01:00
Dominik Picheta
afd8a902a9 Merge pull request #1999 from Varriount/fix-1906
Fix #1906
2015-01-23 13:58:26 +00:00
def
126f9f57cd setControlCHook's parameter is not nil now 2015-01-23 01:51:09 +01:00
Varriount
478da0194b Fix #1546 2015-01-22 18:46:00 -05:00
Varriount
41d11e0def Fix #1906 2015-01-22 18:34:33 -05:00
Varriount
38b7fb94ef Fixes #1962 2015-01-22 16:45:18 -05:00
Elie Zedeck
1845e05a34 Handle EPOLLHUP to avoid chaos/runaways when using certain file descriptors.
A concrete example is pipe file descriptors: they generate EPOLLHUP instead of a EPOLLIN (then 0 bytes read). The loop will run wild if this event is not handled.
2015-01-21 18:15:38 +03:00
Araq
bb3dae3a91 osinfo_win compiles again 2015-01-18 16:04:02 +01:00
Araq
be1441a810 fixes #1964 properly 2015-01-18 15:21:59 +01:00