summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Modified os.removeFile to act correctly when deleting a file that doesn't exist.Clay Sweetser2013-12-171-3/+9
|
* Merge pull request #737 from zielmicha/quote-shellAndreas Rumpf2013-12-163-9/+72
|\ | | | | quoteIfContainsWhite -> quoteShell
| * Use quoteShell in stdlib, where appropriate.Michał Zieliński2013-12-112-6/+6
| |
| * Deprecate quoteIfContainsWhite in favor of osproc.quoteShell.Michał Zieliński2013-12-101-1/+3
| |
| * add quoteShell to osproc.nimMichał Zieliński2013-12-101-2/+63
| |
* | Fixed skipFile proc to not skip files that merely start with '.'Clay Sweetser2013-12-111-83/+100
|/ | | | Modified removeFile to reset the read only attribute on files before trying to delete.
* Merge pull request #730 from zielmicha/fix-parametersAndreas Rumpf2013-12-103-65/+221
|\ | | | | Make parseopt correct (and based on seq[string] as parameters, not string)
| * Merge old parseopt.nim into fix-parametersMichał Zieliński2013-12-101-0/+157
| |\
| | * Make old parseopt as deprecated.Michał Zieliński2013-12-101-1/+4
| | |
| * | rename new parseopt to parseopt2Michał Zieliński2013-12-101-0/+0
| | |
| * | Fix : and = precedence in parseopt.Michał Zieliński2013-12-101-1/+1
| | |
| * | Merge branch 'master' of https://github.com/Araq/Nimrod into fix-parametersMichał Zieliński2013-12-091-4/+10
| |\|
| * | Reimplement parseopt which parses arguments given as a sequence of strings, ↵Michał Zieliński2013-12-091-95/+89
| | | | | | | | | | | | not single string.
| * | Add commandLineParams to os.nim.Michał Zieliński2013-12-091-0/+6
| | | | | | | | | | | | commandLineParams returns seq of arguments given to program on command line.
| * | Normalize whitespace in os.nim.Michał Zieliński2013-12-091-64/+63
| | | | | | | | | | | | | | | I can't edit it - trick with asking git to ignore whitespace doesn't work if I need to change indention level.
| * | Merge branch 'master' of github.com:zielmicha/NimrodMichał Zieliński2013-12-071-8/+43
| |\ \
* | | | Reverts "Make quoteIfContainsWhite quote…". Refs #702.Grzegorz Adam Hankiewicz2013-12-101-43/+8
| |_|/ |/| | | | | | | | | | | This reverts commit e7e8c7706240c4bef17533da63df988d228ba127 to avoid tool breakage. A different approach is being worked on #730.
* | | Merge branch 'master' of github.com:Araq/Nimrod into upstreamZahary Karadjov2013-12-098-38/+102
|\ \ \
| * \ \ Merge pull request #702 from zielmicha/masterAndreas Rumpf2013-12-071-8/+43
| |\ \ \ | | |/ / | |/| / | | |/ Make quoteIfContainsWhite quote argument, so it can be safely passed to shell.
| | * Make quoteIfContainsWhite quote argument, so it can be safely passed to shell.Michał Zieliński2013-12-071-8/+43
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge pull request #695 from gradha/pr_adds_htmlparser_exampleGrzegorz Adam Hankiewicz2013-12-021-1/+27
| |\ \ | | | | | | | | Adds an example to htmlparser showing how to save changes.
| | * | Adds an example to htmlparser showing how to save changes.Grzegorz Adam Hankiewicz2013-11-301-1/+27
| | |/
| * / Makes htmlparser handle whitespace. Refs #694.Grzegorz Adam Hankiewicz2013-12-021-1/+1
| |/ | | | | | | | | | | | | 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.
| * updated fsmonitor moduleAraq2013-11-301-5/+5
| |
| * garbage-in-garbage-out principle for unicode errors; fixes #674Araq2013-11-191-15/+15
| |
| * bugfix: '$' for TPortAraq2013-11-191-2/+1
| |
| * Merge pull request #677 from gradha/pr_fixes_times_calculationAndreas Rumpf2013-11-191-1/+2
| |\ | | | | | | Fixes times.toSeconds to handle hours and minutes correctly.
| | * Fixes times.toSeconds to handle hours and minutes correctly.Grzegorz Adam Hankiewicz2013-11-171-1/+2
| | |
| * | Fixed http header parsing issueErik O'Leary2013-11-151-2/+3
| | | | | | | | | | | | | | | | | | | | | If second half of http header line was empty, server would crash with EInvalidIndex https://gist.github.com/onionhammer/7487452
| * | Added timestamp to TIRCEventErik O'Leary2013-11-131-3/+5
| |/
* | progress towards adding negative type classesZahary Karadjov2013-12-091-2/+4
| | | | | | | | | | | | [unittest bugfixes] the block form of check now allows comments errors when inspecting the arguments of var-accepting procs
* | adding some provisions for writing lower-level unit tests targeting specific ↵Zahary Karadjov2013-12-071-2/+6
|/ | | | | | | | 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
* Merge branch 'master' of github.com:Araq/NimrodAraq2013-10-3110-189/+1019
|\
| * Merge pull request #631 from mflamer/masterAndreas Rumpf2013-10-313-0/+661
| |\ | | | | | | LockFree Hash Table 0.1
| | * Mersenne twister random number generatorMark Flamer2013-10-221-0/+39
| | |
| | * LockFree Hash Table 0.1Mark Flamer2013-10-222-0/+622
| | |
| * | Merge pull request #646 from onionhammer/patch-1Andreas Rumpf2013-10-301-116/+126
| |\ \ | | | | | | | | Added base64 encode overload for arrays of integers/bytes
| | * | Added base64 encode overload for arrays of integers/bytesonionhammer2013-10-301-116/+126
| | | |
| * | | Implemented boolean socket options.Dominik Picheta2013-10-303-4/+47
| | | | | | | | | | | | | | | | Added reuseAddr for httpserver and scgi.
| * | | TPort is now uint16 and other small sockets fixes.Dominik Picheta2013-10-301-12/+19
| |/ /
| * | Merge pull request #625 from Varriount/sequences/add-ranged-insertions-deletionsAndreas Rumpf2013-10-271-0/+69
| |\ \ | | | | | | | | Added insertion and deletion functions that accept a range.
| | * | Apply changes suggested by AraqVarriount2013-10-271-2/+21
| | | | | | | | | | | | Added documentation examples, added defaults
| | * | Added an insertion function that inserts elements of an openarray.Clay Sweetser2013-10-201-0/+50
| | | | | | | | | | | | | | | | Added a deletion function that allows elements between two positions in a sequence to be deleted
| * | | Fixes execProcesses wait order. Refs #379.Grzegorz Adam Hankiewicz2013-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | Closing the stream of the process might terminate it too early for waitForExit to gather any useful results.
| * | | Fixed breaking changes introduced by the last commit.Dominik Picheta2013-10-241-1/+1
| | | |
| * | | Fixed asyncio crash when sending buffered data after connection was terminated.Dominik Picheta2013-10-241-9/+14
| | | |
| * | | Fixed socket compilation problems on Windows.Dominik Picheta2013-10-231-2/+2
| | | |
| * | | Made TSocketHandle distinct and fixed problems it caused for SSL.Dominik Picheta2013-10-231-5/+16
| |/ /
| * | Merge pull request #622 from rbehrends/masterAndreas Rumpf2013-10-151-34/+58
| |\ \ | | | | | | | | Exposed process file handles in osproc module.
| | * | Exposed process file handles in osproc module.Reimer Behrends2013-10-121-34/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.