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
Zahary Karadjov
f6f5c9e9e6
propagate semExpr flags in macro/template expansion
2014-04-06 16:55:28 +03: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
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
Araq
fc814b87dc
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-05 21:05:20 +02:00
Araq
4835199125
new VM: proper shield against endless recursions
2014-04-05 21:05:07 +02:00
Dominik Picheta
d02af5cc4c
Merge pull request #1066 from ithkuil/devel
...
Transaction support for redis
2014-04-05 14:08:39 +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
Araq
033f2bbbf2
new VM: fixes for exception handling
2014-04-04 09:06:29 +02:00
Araq
6a055990f9
minor VM bugfix
2014-04-04 08:19:02 +02:00
Araq
160933f9de
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-03 22:40:34 +02:00
Araq
325dd44e81
gensym'ed symbols work with lambda-lifting; closures produce objects instead of tuples for easier debugging
2014-04-03 22:35:10 +02: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
Araq
62a10df765
fixes yet another option type
2014-04-03 07:54:58 +02:00
Dominik Picheta
e4e87f1cb2
Refactored createCb in asyncdispatch.
2014-04-02 21:28:45 +01:00
Araq
5dc28cc9a7
added tmissingnilcheck test
2014-04-02 22:18:53 +02:00
Araq
29fdc7a5be
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-02 22:05:05 +02:00
Araq
3e9ebd24f2
todo.txt updated
2014-04-02 21:49:58 +02:00
Andreas Rumpf
e810c760fd
Merge pull request #1060 from EXetoC/vm-arithmetic-overflow
...
Arithmetic underflow/overflow checking for the VM
2014-04-02 19:59:26 +02:00
Andreas Rumpf
207874aa2d
Merge pull request #1061 from EXetoC/fix-tests
...
Fix some tests.
2014-04-02 19:57:37 +02:00
Andreas Rumpf
843693d676
Merge pull request #1048 from gradha/pr_adds_convenience_uncompress_to_zlib
...
Adds convenience uncompress and inflate procs to zlib.
2014-04-02 19:57:05 +02:00
Andreas Rumpf
cc9230824a
Merge pull request #1052 from rleisti/devel
...
Remove exception from TEventEmitter.emit
2014-04-02 19:55:31 +02:00
Araq
ac02aecb04
make tstaticprintseq green
2014-04-01 20:40:01 +02:00
Araq
b579ca44eb
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-01 19:41:51 +02:00
Araq
befdce51b4
fixed another vm bug
2014-04-01 16:35:50 +02:00
Araq
dc2b21e9b2
tsymchoicefield compiles
2014-04-01 08:21:08 +02:00
Araq
6a94ca3187
fixes #880
2014-04-01 08:17:23 +02:00
EXetoC
e69899fb49
Fix some tests.
2014-03-31 21:38:35 +02:00
EXetoC
c75b247a90
Remove executable.
2014-03-31 14:52:16 +02:00
EXetoC
52c6956d1a
Add underflow/overflow tests.
2014-03-31 14:50:44 +02:00
EXetoC
b919ab790b
Implement overflow/underflow checking for the VM.
2014-03-31 14:11:21 +02:00
Araq
44ee8aecfd
disable extern name checking as it breaks building of nimrtl.dll
2014-03-30 22:40:09 +02:00
Ron Leisti
f3d7c452d2
events.TEventEmitter.emit no longer throws an exception if the named event does not exist
2014-03-29 19:51:56 -04:00
Dominik Picheta
aae774a279
Fix docgen.
2014-03-29 22:01:20 +00:00
Dominik Picheta
227c54c786
Replaced idents with genSym in asyncdispatch.
2014-03-29 21:28:01 +00:00
Araq
3afb42496b
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-03-29 14:47:43 +01:00
Araq
f50575d147
fixes #932
2014-03-29 14:47:01 +01:00
Araq
b6d5f18c93
iterators check seqs/strings are not resized during iteration
2014-03-29 13:50:07 +01:00
Grzegorz Adam Hankiewicz
20e55fc5d4
Uses finally as statement to release zlib memory. Refs #1048 .
2014-03-29 12:29:17 +01:00
Grzegorz Adam Hankiewicz
a6f8bae69f
Uses swap() to avoid variable copies. Refs #1048 .
2014-03-29 12:27:18 +01:00
Grzegorz Adam Hankiewicz
d41988d8b2
Modifies inflate() to return a discardable bool. Refs #1048 .
2014-03-29 12:24:54 +01:00
Grzegorz Adam Hankiewicz
cc718435b3
Adds convenience uncompress and inflate procs to zlib.
...
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.
2014-03-29 01:14:33 +01:00
Andreas Rumpf
05421cf84b
Merge pull request #1045 from barcharcraz/lowerBound
...
fixed doc comment
2014-03-28 23:13:41 +01:00
Araq
2958adc47f
tester outputs full test path
2014-03-28 18:15:51 +01:00
Araq
12e3c11eb6
fixes #911
2014-03-28 08:40:15 +01:00