Dominik Picheta
3612aca5fe
Implemented buffering for asynchronous sockets.
2014-04-13 14:18:47 +01:00
Andreas Rumpf
2e9950afe8
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-13 00:40:17 +02:00
Andreas Rumpf
fe387888bd
fixes for asynchttpserver
2014-04-13 00:39:15 +02:00
Andreas Rumpf
455c3c19ca
added mget for TSet
2014-04-13 00:33:06 +02:00
Andreas Rumpf
f862e80be9
added 'hash' for set[T]'
2014-04-13 00:32:10 +02:00
Andreas Rumpf
3ee25170c3
fixes '==' for TTTable
2014-04-13 00:22:07 +02:00
Andreas Rumpf
587f0bd086
fixes '==' for TTTable
2014-04-13 00:20:25 +02:00
Dominik Picheta
7cddb39969
Adds split proc for strings with a string separator.
2014-04-11 21:42:44 +01:00
Dominik Picheta
96c97d4103
JS: Fixes math and streams module and implements json.
2014-04-11 21:41:45 +01:00
Dominik Picheta
b0a16fb619
Fixes problems with JS code gen.
...
--out for JS backend now works. setLen now works, this also fixes the base64
module. getCurrentExceptionMsg now also works with exceptions thrown by
JS. log() supports a variable number of args now. Fixed some case
sensitivity issues with arrayConstr and other functions.
2014-04-11 21:36:02 +01:00
Andreas Rumpf
a690e7b267
Merge pull request #1075 from flaviut/inlinedocs
...
Add some documentations and code examples in system
2014-04-09 22:56:18 +02:00
Araq
54935e2e70
fixes bootstrapping
2014-04-09 01:11:52 +02:00
flaviut
a157985e01
Fix typos in system.nim
2014-04-08 18:36:03 -04:00
flaviut
0dffbd66bb
Concatenates was misspelled
2014-04-08 18:29:02 -04:00
Andreas Rumpf
36869b3aed
Merge pull request #901 from reactormonk/seq_toString
...
Added `$` for seq
2014-04-09 00:06:38 +02:00
Andreas Rumpf
bb8b9da391
Merge pull request #902 from reactormonk/float_toString
...
use `.f` instead of `.16e` for floats
2014-04-09 00:06:18 +02:00
flaviut
fde53bffd7
Code example for clamp
2014-04-08 18:00:44 -04:00
flaviut
2a470c4217
Document inplace string appending
2014-04-08 17:56:11 -04:00
flaviut
6e70d8afb4
Code examples for string concatination
2014-04-08 17:51:21 -04:00
flaviut
fb547ef76b
Code docs for contains, in, is, and of
2014-04-08 17:44:53 -04:00
flaviut
af4c0851c1
Inline docs for sequence appending
2014-04-08 17:05:32 -04:00
Araq
3e25d5f247
merged better html links #850
2014-04-08 01:19:15 +02:00
Araq
831a8c8db4
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-08 00:34:35 +02:00
Andreas Rumpf
230af70be4
Merge pull request #1069 from flaviut/devel
...
Add renderRstToJson in docutils
2014-04-08 00:09:37 +02:00
Araq
42a8ab34f1
preparations for easier debugging
2014-04-07 23:28:29 +02:00
Dominik Picheta
369d8c57ae
Disable async macro code output. Added some WSA error codes to winlean.
2014-04-07 20:46:47 +01:00
Dominik Picheta
61c9c429d4
Fixes selectors module on Mac OS X.
2014-04-06 23:20:55 +01:00
Dominik Picheta
d2593e1d62
setLen now used on asyncdispatch.recv's return value on Linux.
...
This fixes issues with the async httpclient.
2014-04-06 22:06:25 +01:00
Dominik Picheta
d98b0d9f79
Selectors module now uses select on operating systems other than Linux.
2014-04-06 21:43:51 +01:00
Dominik Picheta
b2fd562983
Updates docs and news.
2014-04-06 20:46:31 +01:00
Dominik Picheta
5eaec84785
Select implementation in selectors module compiles again.
2014-04-06 19:27:47 +01:00
Dominik Picheta
439569cfa3
Documentation for async httpclient. Notes for url modules.
2014-04-06 19:27:16 +01:00
Dominik Picheta
b23dce03a1
Get rid of incorrect assert in asyncdispatch.
2014-04-06 19:26:21 +01:00
Dominik Picheta
291aa2eb30
Fixes docgen.
2014-04-06 19:25:46 +01:00
Andreas Rumpf
b988f75a35
Merge pull request #1071 from ReneSac/devel
...
Zero is not a power of two. Fixes #1047
2014-04-06 20:12:46 +02:00
ReneSac
8095fbf982
Removed trailing ';'.
2014-04-06 15:07:20 -03:00
Araq
a4ccd7b865
doc generation for asyncdispatch works
2014-04-06 19:36:29 +02:00
ReneSac
83661492e7
Fix typo in previous commit.
2014-04-06 14:20:51 -03:00
ReneSac
a4559ab17e
Zero is not a power of two. Fix #1047
...
Also, fixed some docstrings and added {.noSideEffect.} pragma to nextPowerOfTwo().
2014-04-06 14:18:16 -03:00
flaviut
99ebcaec3a
Modify renderRstToJson to use the json library
2014-04-05 23:53:19 -04:00
Dominik Picheta
4d2f1396cb
Revent pruneSocketSet to efficient version.
2014-04-05 23:30:16 +01:00
Dominik Picheta
51c203bab0
Modified behaviour of checkBuffer to match new select behaviour. Refs #822 .
2014-04-05 23:10:51 +01:00
flaviut
335de0c49a
Add renderRstToJson in docutils
2014-04-05 15:58:16 -04:00
Dominik Picheta
cd70bba332
Added asynchttpserver module.
2014-04-05 20:30:32 +01:00
Dominik Picheta
d0478a5637
Asyncdispatch fixes.
...
``return`` is now transformed into a ``return nil`` in the async iterator
to work around the no-yield in ``try .. except ..`` closure iterator
limitation.
2014-04-05 20:27:42 +01:00
Dominik Picheta
694fc87b1d
Merge branch 'devel' of github.com:Araq/Nimrod into devel
2014-04-05 20:26:54 +01:00
Jason Livesay
e6d2490b9c
Support transactions
2014-04-04 23:29:50 -07:00
Jason Livesay
8d1c4a23de
Allow multi/exec replies so transactions work.
2014-04-04 16:11:43 -07:00
Dominik Picheta
5a4afbef84
Proper handling of disconnections during reading in httpclient.
2014-04-03 20:06:59 +01:00
Dominik Picheta
4399895d2e
Async httpclient should now work. Changed recv behaviour.
...
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.
2014-04-03 20:02:42 +01:00