summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* PFuture[void] now works.Dominik Picheta2014-03-151-29/+53
| | | | | Return types can also be completely ommitted. PFuture[void] will then be implicitly deduced.
* Merge pull request #972 from Matthias247/ipaddressDominik Picheta2014-03-141-2/+259
|\ | | | | Added a IpAddress structure to the net module
| * Make the IP address exceptions more detailedMatthias Einwag2014-03-141-19/+24
| |
| * raise exceptions through newExceptionMatthias Einwag2014-03-091-18/+18
| |
| * $ for TIpAddress now prints in the recommended formatMatthias Einwag2014-03-041-2/+13
| |
| * Use character ranges from strutils.Matthias Einwag2014-03-041-6/+17
| |
| * Added a IpAddress structure to the net moduleMatthias Einwag2014-03-041-1/+231
| |
* | Fixes compilation of asyncio2 on Windows.Dominik Picheta2014-03-141-1/+5
| | | | | | | | | | Added a close(PDispatcher, TSocketHandle) implementation which unregisters the handle.
* | File descriptors are now removed from fds list explicitly in close().Dominik Picheta2014-03-142-20/+22
| | | | | | | | Fixes tasyncawait on linux.
* | fixes #993Araq2014-03-131-1/+1
| |
* | Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-03-133-65/+122
|\ \
| * | Fix compilation on linux.Dominik Picheta2014-03-121-17/+20
| | |
| * | Fixed tasyncawait on Windows.Dominik Picheta2014-03-121-9/+31
| | | | | | | | | | | | | | | | | | Implicit registration of an fd now only occurs when a new socket is created (in socket() or accept()). This makes the implementation much simpler, changes to the linux version will follow.
| * | EOS exception now contains the error code.Dominik Picheta2014-03-111-5/+6
| | |
| * | tasyncawait now works on Linux.Dominik Picheta2014-03-112-37/+68
| | | | | | | | | | | | | | | | | | Reworked detection of a file descriptor being closed with epoll (in the case of sockets it is when the remote host disconnects). Ensured that events are only updated when they change.
* | | should fix the nkExprColonExpr bug in the vmAraq2014-03-131-1/+1
|/ /
* | Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-03-103-22/+54
|\ \
| * | Fixes to asyncio2 on Linux.Dominik Picheta2014-03-093-22/+54
| | |
* | | osproc compiles again for haikuAraq2014-03-101-46/+49
|/ /
* / added a warning for htmlgenAraq2014-03-031-3/+8
|/
* Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-03-022-1/+13
|\
| * Fixes sockets2 on Windows.Dominik Picheta2014-02-281-1/+10
| |
| * osproc: add warning about using waitForExit without poParentStreamsMichał Zieliński2014-02-271-0/+3
| |
* | bugfix: walkFiles on windows shouldn't yield directoriesAraq2014-03-021-1/+2
|/
* osproc: MacOSX fix - if -> whenMichał Zieliński2014-02-241-1/+1
|
* osproc: MacOSX workaround for lack of execvpeMichał Zieliński2014-02-241-1/+10
|
* Merge pull request #953 from zielmicha/vforkAndreas Rumpf2014-02-231-4/+2
|\ | | | | osproc: increase stack size from 8k to 64k and disable useClone default
| * osproc: use fork by default on Linux, clone if requested by useClone flagMichał Zieliński2014-02-231-3/+1
| |
| * osproc: increase stack size from 8k to 64kMichał Zieliński2014-02-231-1/+1
| |
* | Merge pull request #917 from zielmicha/vforkAndreas Rumpf2014-02-231-87/+179
|\| | | | | osproc: Raise exception if execv fails in child process
| * osproc: use push stacktrace:off instead of nostackframeMichał Zieliński2014-02-181-3/+6
| |
| * osproc: make failed execv an exception (when using fork or clone)Michał Zieliński2014-02-151-23/+63
| | | | | | | | | | startProcessAuxFork creates a pipe, which is used by a child to pass an error code if execv fails.
| * osproc: use clone with CLONE_VM on Linux for faster process spawningMichał Zieliński2014-02-141-73/+122
| |
| * Merge branch 'devel' of https://github.com/Araq/Nimrod into develMichał Zieliński2014-02-104-0/+976
| |\
| * \ Merge branch 'devel' of https://github.com/Araq/Nimrod into develMichał Zieliński2014-02-0920-37/+490
| |\ \
| * | | osproc: fix naming inconsistiencesMichał Zieliński2014-01-261-21/+21
| | | |
* | | | Implemented selector support for asyncio2.Dominik Picheta2014-02-224-204/+407
| | | |
* | | | Rewrote the changes to findAll using if/elseFabio Cevasco2014-02-221-3/+3
| | | |
* | | | pegs.findAll iterator fixFabio Cevasco2014-02-211-1/+3
| | | | | | | | | | | | Modified the findAll iterator so that it continues looking for a match within the input string (bug?).
* | | | Merge branch 'devel' of gh:/Araq/Nimrod into develZahary Karadjov2014-02-181-3/+7
|\ \ \ \
| * \ \ \ Merge pull request #897 from micklat/develAndreas Rumpf2014-02-181-3/+7
| |\ \ \ \ | | | | | | | | | | | | dynlib: optionally pass RTLD_GLOBAL to dlopen
| | * | | | dynlib: optionally pass RTLD_GLOBAL to dlopenMicky Latowicki2014-02-101-3/+7
| | | |_|/ | | |/| |
* | / | | fix #204;Zahary Karadjov2014-02-181-4/+4
|/ / / /
* | | | Merge branch 'newasync' into develDominik Picheta2014-02-161-77/+329
|\ \ \ \
| * | | | Fix processing of 'await' with a nnkCall.Dominik Picheta2014-02-161-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Specifically, ``discard readMessages(disp, await disp.accept(server))`` works now, i.e. using 'await' as one of the params to a proc call.
| * | | | Fixes issues with 'discard' in async macro.Dominik Picheta2014-02-161-8/+15
| | | | |
| * | | | Async readLine now works. Fixes recv issues.Dominik Picheta2014-02-151-24/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Fixed problems with IOCP procs finishing immediately, added await macro.Dominik Picheta2014-02-151-50/+270
| | | | |
| * | | | Merge branch 'devel' into newasyncDominik Picheta2014-02-144-9/+15
| |\ \ \ \
| * | | | | Rename PFutureVoid to PFutureBase.Dominik Picheta2014-02-121-19/+14
| | | | | |