Zahary Karadjov
95a6e01ea8
Merge branch 'master' of github.com:Araq/Nimrod into upstream
2013-12-09 00:26:04 +02:00
Zahary Karadjov
de3b7cd413
progress towards adding negative type classes
...
[unittest bugfixes]
the block form of check now allows comments
errors when inspecting the arguments of var-accepting procs
2013-12-09 00:09:03 +02:00
Andreas Rumpf
5cdfa4b1af
Merge pull request #702 from zielmicha/master
...
Make quoteIfContainsWhite quote argument, so it can be safely passed to shell.
2013-12-07 13:59:50 -08:00
Michał Zieliński
e7e8c77062
Make quoteIfContainsWhite quote argument, so it can be safely passed to shell.
...
On Windows put it in double quotes and escape double quotes using backslash.
On Posix put it in single quotes and escape single quotes using '"'"'.
This commit changes what quoteIfContainsWhite does, but before that change it
was used incorrectly all over standard library, which caused security issues.
2013-12-07 22:56:02 +01:00
Zahary Karadjov
1e26047c3b
adding some provisions for writing lower-level unit tests targeting specific sub-systems of the compiler
...
see sigmatch as an example.
tests are compiled only when the compiler is compiled with -d:selftest
to execute them, just run the resulting binary without arguments
2013-12-07 20:30:44 +02:00
Grzegorz Adam Hankiewicz
6e451d4f33
Merge pull request #695 from gradha/pr_adds_htmlparser_example
...
Adds an example to htmlparser showing how to save changes.
2013-12-02 15:13:40 -08:00
Grzegorz Adam Hankiewicz
dc9e17503e
Makes htmlparser handle whitespace. Refs #694 .
...
Without the flag, htmlparser will ignore some significant whitespace in
HTML files. A more correct fix would be to not reuse the xml parser
since the rules for HTML are slightly different, but this will do for
the moment.
2013-12-02 20:55:55 +01:00
Grzegorz Adam Hankiewicz
f91a34c9e6
Adds an example to htmlparser showing how to save changes.
2013-11-30 21:03:41 +01:00
Araq
0d193a446b
updated fsmonitor module
2013-11-30 03:28:31 +01:00
Araq
98cf1c412a
garbage-in-garbage-out principle for unicode errors; fixes #674
2013-11-19 14:39:27 +01:00
Araq
619356dd08
bugfix: '$' for TPort
2013-11-19 14:06:39 +01:00
Andreas Rumpf
a3163aa2cf
Merge pull request #677 from gradha/pr_fixes_times_calculation
...
Fixes times.toSeconds to handle hours and minutes correctly.
2013-11-19 02:31:58 -08:00
Grzegorz Adam Hankiewicz
d037aec415
Fixes times.toSeconds to handle hours and minutes correctly.
2013-11-17 21:31:05 +01:00
Erik O'Leary
1a6742e651
Fixed http header parsing issue
...
If second half of http header line was empty, server would crash with
EInvalidIndex
https://gist.github.com/onionhammer/7487452
2013-11-15 10:47:25 -06:00
Erik O'Leary
b5965d05a2
Added timestamp to TIRCEvent
2013-11-13 13:20:45 -06:00
Araq
993cdb82b6
Merge branch 'master' of github.com:Araq/Nimrod
2013-10-31 22:34:15 +01:00
Araq
eb72857ea2
added $ for oids
2013-10-31 22:30:59 +01:00
Andreas Rumpf
528f972d17
Merge pull request #631 from mflamer/master
...
LockFree Hash Table 0.1
2013-10-31 13:43:19 -07:00
Andreas Rumpf
2a1f8baac4
Merge pull request #646 from onionhammer/patch-1
...
Added base64 encode overload for arrays of integers/bytes
2013-10-30 10:10:11 -07:00
Dominik Picheta
78123520a9
Implemented boolean socket options.
...
Added reuseAddr for httpserver and scgi.
2013-10-30 16:40:03 +00:00
Dominik Picheta
0663c883e5
TPort is now uint16 and other small sockets fixes.
2013-10-30 14:35:30 +00:00
onionhammer
6901a8cb13
Added base64 encode overload for arrays of integers/bytes
2013-10-30 09:08:05 -05:00
Andreas Rumpf
4013fc56a3
Merge pull request #625 from Varriount/sequences/add-ranged-insertions-deletions
...
Added insertion and deletion functions that accept a range.
2013-10-27 11:17:55 -07:00
Grzegorz Adam Hankiewicz
0eb0a887d8
Fixes execProcesses wait order. Refs #379 .
...
Closing the stream of the process might terminate it too early for
waitForExit to gather any useful results.
2013-10-27 18:15:42 +01:00
Varriount
ea92682b98
Apply changes suggested by Araq
...
Added documentation examples, added defaults
2013-10-27 03:44:55 -04:00
Dominik Picheta
53752ccaab
Fixed breaking changes introduced by the last commit.
2013-10-24 19:17:45 +01:00
Dominik Picheta
09b6b94509
Fixed asyncio crash when sending buffered data after connection was terminated.
2013-10-24 19:02:13 +01:00
Dominik Picheta
f695bb0b6f
Fixed socket compilation problems on Windows.
2013-10-23 18:30:03 +01:00
Dominik Picheta
8231deffd0
Made TSocketHandle distinct and fixed problems it caused for SSL.
2013-10-23 18:07:00 +01:00
Mark Flamer
7832f25abf
Mersenne twister random number generator
2013-10-22 15:02:58 -07:00
Mark Flamer
6fbc96fec4
LockFree Hash Table 0.1
2013-10-22 14:24:38 -07:00
Clay Sweetser
314e526f75
Added an insertion function that inserts elements of an openarray.
...
Added a deletion function that allows elements between two positions in a sequence to be deleted
2013-10-20 13:06:07 -04:00
Andreas Rumpf
acd285e00f
Merge pull request #622 from rbehrends/master
...
Exposed process file handles in osproc module.
2013-10-15 13:13:39 -07:00
Clay Sweetser
229d83f6c6
Added a TSocketHandle type to winlean.nim and posix.nim
...
Edited sockets.nim and asyncio.nim to use the new TSocketHandle type.
2013-10-15 13:53:44 -04:00
Reimer Behrends
f103cb4538
Exposed process file handles in osproc module.
...
The file handles of a PProcess instance can now be accessed through
the inputHandle(), outputHandle(), and errorHandle() methods.
Also tidied up documentation for stream accessor procs a bit.
2013-10-12 14:03:29 +02:00
Dominik Picheta
2555e500b6
Fixed async send in ftpclient module.
2013-10-11 19:20:45 +01:00
Araq
67e9f2861e
some fixes for win64
2013-10-10 00:39:10 +02:00
Dominik Picheta
3d8b883c15
Fixes problems parsing XML docs with multiple PIs.
2013-10-07 17:17:52 +01:00
Robert Persson
ace919a0cd
Fixed small typobug in basic 3d
2013-10-02 10:24:22 +02:00
Araq
1a792d46d0
first version of the debug GC; doesn't work yet
2013-10-01 08:44:09 +02:00
Araq
c11398ea0d
bugfix: typos in os.nim
2013-09-24 09:27:00 +02:00
Araq
05d12897a2
changed parentDir to return the empty string on error
2013-09-24 09:22:29 +02:00
Araq
c6d428d47d
Merge pull request #548 from ventor3000/master
...
Added basic2d module
2013-09-10 14:21:01 -07:00
Araq
40b379859c
resolved the conflict
2013-09-03 23:46:41 +02:00
Araq
891f871ba7
better support for GNU's assembler
2013-09-03 23:44:31 +02:00
Mark Flamer
73aba23a49
Add arity typetrait
2013-09-02 18:20:00 -07:00
Araq
39da6979ad
use realpath in a posix compliant way
2013-09-01 22:53:02 +02:00
Araq
0464a1071e
Merge branch 'master' of github.com:Araq/Nimrod
2013-08-31 20:45:47 +02:00
Araq
023bd63d39
fixes #398
2013-08-31 20:45:34 +02:00
Araq
84bd794588
Merge pull request #579 from gradha/pr_fixes_xmltree_macro_docstring
...
Fixes xmltree <> macro docstring.
2013-08-31 07:33:30 -07:00