summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1071 from ReneSac/develAndreas Rumpf2014-04-062-13/+15
|\ | | | | Zero is not a power of two. Fixes #1047
| * Removed trailing ';'.ReneSac2014-04-061-1/+1
| |
| * Fix typo in previous commit.ReneSac2014-04-061-1/+1
| |
| * Zero is not a power of two. Fix #1047ReneSac2014-04-061-12/+14
| | | | | | | | Also, fixed some docstrings and added {.noSideEffect.} pragma to nextPowerOfTwo().
* | doc generation for asyncdispatch worksAraq2014-04-063-29/+32
|/
* Revent pruneSocketSet to efficient version.Dominik Picheta2014-04-051-6/+10
|
* Modified behaviour of checkBuffer to match new select behaviour. Refs #822.Dominik Picheta2014-04-052-15/+14
|
* Added asynchttpserver module.Dominik Picheta2014-04-051-0/+177
|
* Asyncdispatch fixes.Dominik Picheta2014-04-052-7/+20
| | | | | | ``return`` is now transformed into a ``return nil`` in the async iterator to work around the no-yield in ``try .. except ..`` closure iterator limitation.
* Merge branch 'devel' of github.com:Araq/Nimrod into develDominik Picheta2014-04-051-13/+41
|\
| * Support transactionsJason Livesay2014-04-041-15/+32
| |
| * Allow multi/exec replies so transactions work.Jason Livesay2014-04-041-2/+13
| |
* | Proper handling of disconnections during reading in httpclient.Dominik Picheta2014-04-031-1/+3
|/
* Async httpclient should now work. Changed recv behaviour.Dominik Picheta2014-04-033-35/+71
| | | | | | | asyncdispatch.recv no longer guarantees that it will read ALL the data requested. The underlying WinAPI function doesn't guarantee this and it already wasn't guaranteed anyway since the socket could disconnect mid-transmission.
* Refactored createCb in asyncdispatch.Dominik Picheta2014-04-022-35/+14
|
* Merge pull request #1048 from gradha/pr_adds_convenience_uncompress_to_zlibAndreas Rumpf2014-04-021-0/+126
|\ | | | | Adds convenience uncompress and inflate procs to zlib.
| * Uses finally as statement to release zlib memory. Refs #1048.Grzegorz Adam Hankiewicz2014-03-291-2/+3
| |
| * Uses swap() to avoid variable copies. Refs #1048.Grzegorz Adam Hankiewicz2014-03-291-4/+4
| |
| * Modifies inflate() to return a discardable bool. Refs #1048.Grzegorz Adam Hankiewicz2014-03-291-13/+4
| |
| * Adds convenience uncompress and inflate procs to zlib.Grzegorz Adam Hankiewicz2014-03-291-0/+134
| | | | | | | | | | | | The new uncompress() version doesn't require you to know the size of the inflated destination buffer. The inflate() proc wraps it for convenience on a var string type.
* | Merge pull request #1052 from rleisti/develAndreas Rumpf2014-04-021-3/+1
|\ \ | | | | | | Remove exception from TEventEmitter.emit
| * | events.TEventEmitter.emit no longer throws an exception if the named event ↵Ron Leisti2014-03-291-3/+1
| | | | | | | | | | | | does not exist
* | | Fix docgen.Dominik Picheta2014-03-291-0/+3
| | |
* | | Replaced idents with genSym in asyncdispatch.Dominik Picheta2014-03-291-7/+4
|/ /
* | Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-03-291-4/+5
|\|
| * Merge pull request #1045 from barcharcraz/lowerBoundAndreas Rumpf2014-03-281-4/+5
| |\ | | | | | | fixed doc comment
| | * fixed doc commentCharlie Barto2014-03-271-4/+5
| | |
* | | iterators check seqs/strings are not resized during iterationAraq2014-03-291-14/+18
|/ /
* | Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-03-272-1/+32
|\ \
| * | Merge pull request #1032 from barcharcraz/lowerBoundVarriount2014-03-271-0/+29
| |\| | | | | | | Added lowerBound function to the stdlib
| | * added usage example for lower boundCharlie Barto2014-03-271-0/+5
| | |
| | * made the default comparator for lowerBound unqualified, so the user can ↵Charlie Barto2014-03-231-1/+1
| | | | | | | | | | | | customize via two phase lookup
| | * added lowerBound function to algorithm libraryCharlie Barto2014-03-231-0/+24
| | |
| * | Calling randomize() again within 1 second will now provide a different seedJason Livesay2014-03-261-1/+3
| | |
* | | ENDB: got rid of deprecated 'nil' stmtAraq2014-03-271-3/+3
|/ /
* | Implemented async for httpclient.Dominik Picheta2014-03-264-30/+221
| |
* | Move asyncdispatch tests to asyncnet.Dominik Picheta2014-03-263-126/+89
| |
* | mongodb wrapper properly removed from coreAraq2014-03-251-227/+0
| |
* | Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-03-245-125/+156
|\ \
| * | failing test case preventing the use of --gc:v2: tsymchoicefieldZahary Karadjov2014-03-241-3/+3
| |/
| * Moved the global dispatcher to asyncdispatch.Dominik Picheta2014-03-234-122/+153
| |
* | VM: endless loop preventionAraq2014-03-241-1204/+0
|/
* Fixes tasyncawait and the net module on Linux.Dominik Picheta2014-03-231-1/+2
|
* Many renames. Created high level asyncnet module.Dominik Picheta2014-03-224-12/+175
|
* Copied most blocking socket operations to the net module.Dominik Picheta2014-03-223-30/+1006
|
* Clean up IP address code in net module.Dominik Picheta2014-03-221-28/+54
|
* Asyncio2 doc improvements. Changed recvLine's behaviour.Dominik Picheta2014-03-221-11/+9
| | | | | | | recvLine had an edge case where it would return a partial line if the socket were to be disconnected in the middle of a line being read. The behaviour now is that the data is simply lost as it likely will be unparsable by the protocol anyway.
* Merge branch 'devel' of https://github.com/Araq/Nimrod into develAraq2014-03-225-57/+364
|\
| * Merge pull request #999 from zielmicha/zlib_abi_versionAndreas Rumpf2014-03-161-1/+1
| |\ | | | | | | Provide zlib version explicitly on Linux.
| | * Provide zlib version explicit on Linux.Michał Zieliński2014-03-131-1/+1
| | | | | | | | | | | | | | | | | | - workaround for Gentoo (#987), - also, it's a good practice to provide ABI version in calls to dlopen, so if zlib ever changes ABI, wrappers won't break siliently.