ReneSac
a88a635847
Added comment explaining 'assert_numbits' error.
2014-03-06 18:18:25 -03:00
Andreas Rumpf
9e989676d8
Merge pull request #975 from zielmicha/zmq-fix
...
zmq: remove unnecessary 'var' decls from high-level procs
2014-03-06 21:07:02 +01:00
EXetoC
d1bc6cf098
Merge branch 'devel' into alloc-overloads
2014-03-06 02:46:31 +01:00
EXetoC
bbd245b47b
Add missing cast.
2014-03-06 02:43:05 +01:00
EXetoC
6a83a5e468
Add type-specific allocation procs.
2014-03-06 01:12:18 +01:00
Araq
c5db5875f7
system.nim makes use of the 'unchecked' pragma
2014-03-05 21:30:02 +01:00
Araq
5506e8491d
implemented 'union' and 'unchecked' pragmas
2014-03-05 20:19:04 +01:00
Michał Zieliński
6e42513acd
zmq: remove unnecessary 'var' decls from high-level procs
2014-03-05 18:31:22 +01:00
Araq
1ce30b9e10
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-03-04 16:41:37 +01:00
Araq
74549c327e
added a warning for htmlgen
2014-03-03 08:17:51 +01:00
Andreas Rumpf
835926e174
Merge pull request #927 from gradha/pr_adds_posix_timegm
...
Adds posix.timegm(), brother of posix.mktime().
2014-03-03 01:00:44 +01:00
Andreas Rumpf
bc8ec5b6b4
Merge pull request #969 from gradha/pr_avoids_crash_on_unknown_rst_directive
...
Avoids crash parsing unknown rst raw directive. Fixes #761 .
2014-03-03 00:30:35 +01:00
Araq
dfeb0e8432
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-03-02 23:46:32 +01:00
Grzegorz Adam Hankiewicz
d8793dcf56
Avoids crash parsing unknown rst raw directive. Fixes #761 .
2014-03-02 23:15:30 +01:00
Araq
c55f5b34ee
better handling of packages, still incomplete
2014-03-02 15:41:53 +01:00
Araq
d4263b1012
bugfix: walkFiles on windows shouldn't yield directories
2014-03-02 11:15:31 +01:00
Dominik Picheta
0d263f155b
Fixes sockets2 on Windows.
2014-02-28 19:31:12 +00:00
Andreas Rumpf
25f6e0c681
Merge pull request #963 from zielmicha/wait-for-exit-doc
...
osproc: add warning about using waitForExit without poParentStreams
2014-02-27 23:39:16 +01:00
Andreas Rumpf
393706498e
Merge pull request #962 from barcharcraz/vstweaks
...
added another version of initGeneralTokenizer
2014-02-27 23:38:53 +01:00
Araq
e1600f209f
nil -> discard
2014-02-27 20:29:02 +01:00
Michał Zieliński
f4371bfef8
osproc: add warning about using waitForExit without poParentStreams
2014-02-27 19:52:04 +01:00
Charlie Barto
a79579da6f
added an overload for highlight.initGeneralTokenizer that accepts a cstring.
...
I use this when calling the highlighter from C#.
2014-02-26 22:25:02 -05:00
Araq
10768904eb
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
...
Conflicts:
lib/system/jssys.nim
2014-02-25 01:06:35 +01:00
Michał Zieliński
7314f11adc
osproc: MacOSX fix - if -> when
2014-02-24 17:45:45 +01:00
Michał Zieliński
30a3098095
osproc: MacOSX workaround for lack of execvpe
2014-02-24 17:01:00 +01:00
Andreas Rumpf
00b69192f2
Merge pull request #953 from zielmicha/vfork
...
osproc: increase stack size from 8k to 64k and disable useClone default
2014-02-23 21:43:00 +01:00
Michał Zieliński
6712aa6e38
osproc: use fork by default on Linux, clone if requested by useClone flag
2014-02-23 21:06:40 +01:00
Michał Zieliński
95eb2b88e6
osproc: increase stack size from 8k to 64k
2014-02-23 21:01:03 +01:00
Andreas Rumpf
46967f921a
Merge pull request #917 from zielmicha/vfork
...
osproc: Raise exception if execv fails in child process
2014-02-23 19:49:19 +01:00
Andreas Rumpf
587f94f85b
Merge pull request #946 from gradha/pr_documents_readall
...
Documents system.readAll() limitations. Refs #298 .
2014-02-23 11:29:46 +01:00
Dominik Picheta
3b5825e9bc
Implemented selector support for asyncio2.
2014-02-22 17:22:19 +00:00
Fabio Cevasco
067c3816ba
Rewrote the changes to findAll using if/else
2014-02-22 10:07:37 +01:00
Fabio Cevasco
6621454dec
pegs.findAll iterator fix
...
Modified the findAll iterator so that it continues looking for a match within the input string (bug?).
2014-02-21 14:14:43 +01:00
Grzegorz Adam Hankiewicz
12c95f31dc
Documents system.readAll() limitations. Refs #298 .
2014-02-20 23:32:03 +01:00
Michał Zieliński
1f376d8594
osproc: use push stacktrace:off instead of nostackframe
2014-02-18 20:22:40 +01:00
Araq
ab72377ce6
renamed noStackFrame to asmNoStackFrame
2014-02-18 09:57:59 +01:00
Zahary Karadjov
f13a836972
Merge branch 'devel' of gh:/Araq/Nimrod into devel
2014-02-18 02:46:49 +02:00
Zahary Karadjov
cda92048ba
fix some trivial errors in the test suite and some more regressions caused by tyTypeDesc[tyNone]
2014-02-18 02:46:14 +02:00
Andreas Rumpf
c41687237d
Merge pull request #897 from micklat/devel
...
dynlib: optionally pass RTLD_GLOBAL to dlopen
2014-02-18 01:00:37 +01:00
Zahary Karadjov
765c682c92
fix #204 ;
2014-02-18 01:19:31 +02:00
Dominik Picheta
5cd9b035b4
Merge branch 'newasync' into devel
2014-02-16 20:03:58 +00:00
Dominik Picheta
17ef758cc3
Fix processing of 'await' with a nnkCall.
...
Specifically, ``discard readMessages(disp, await disp.accept(server))``
works now, i.e. using 'await' as one of the params to a proc call.
2014-02-16 19:56:17 +00:00
Dominik Picheta
7d2ed73a62
Fixes issues with 'discard' in async macro.
2014-02-16 13:55:06 +00:00
Andreas Rumpf
6f9b0fe712
Merge pull request #921 from gradha/pr_improves_times_format
...
Improves times.format parsing, fixes #740
2014-02-16 11:56:51 +01:00
Dominik Picheta
fb7598d25a
Async readLine now works. Fixes recv issues.
...
When using MSG_PEEK and data is retrieved ``lpNumberOfBytesRecvd`` will
not be set to the number of bytes read by WSARecv. The buffer must
therefore be checked to ensure it's empty when determining whether
``recv`` shall return "" to signal disconnection as we want to read as
much data as has been received by the system.
2014-02-15 21:13:23 +00:00
Grzegorz Adam Hankiewicz
c2b50c0e38
Adds posix.timegm(), brother of posix.mktime().
2014-02-15 17:50:40 +01:00
Dominik Picheta
de8d473301
Fixed problems with IOCP procs finishing immediately, added await macro.
2014-02-15 14:15:18 +00:00
Michał Zieliński
4c09fc110f
osproc: make failed execv an exception (when using fork or clone)
...
startProcessAuxFork creates a pipe, which is used by a child to pass
an error code if execv fails.
2014-02-15 15:09:06 +01:00
Grzegorz Adam Hankiewicz
293f356420
Supports parsing format times without separators. Refs #740 .
2014-02-15 11:20:00 +01:00
Grzegorz Adam Hankiewicz
bd9e9acdaa
Splits token parsing case into separate proc. Refs #740 .
2014-02-15 11:02:13 +01:00