Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convertion procs for (IpAddress, Port) <-> (SockAddr, Socklen) | Yuriy Glukhov | 2018-03-14 | 1 | -0/+33 |
| | |||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2018-03-12 | 3 | -26/+72 |
|\ | |||||
| * | FIXUP: Removed +1 causing substr slicing to skip chars on first iteration of ↵ | ryanc-signiq | 2018-03-08 | 1 | -1/+6 |
| | | | | | | | | while loop (#7312) | ||||
| * | Add ability for users to elide ':' or '=' when CLI authors pass a (#7297) | c-blake | 2018-03-08 | 1 | -22/+63 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ability for users to elide ':' or '=' when CLI authors pass a non-empty partial symbol table. Behavior should be identical to the old behavior if empty partial symbol tables are passed. "Partialness" of the symbol table refers to the fact that one need only specify option keys that are toggles/booleans/do not take arguments, hence the "NoArg" suffixes in shortNoArg and longNoArg. commandLineParams() returns seq[TaintedString], so use that consistently in getopt() and initOptParser(seq[TaintedString]) dropping the taint at the quoting stage just as with the paramStr() logic. Fix capitalization inconsistency of cmdLongOption. Export OptParser.cmd and OptParser.pos so that, at least *in principle*, users of this API can handle "--" option processing termination or some "git-like" sub-command stop word with a separate option sub-syntax. { Eg., ``case p.key of "": echo "trailing non-option args: ", p.cmd[p.pos..^1]`` or ``case p.kind of cmdArgument: if p.key == "mysubcmd": ...``. } Really, searching for the last delimiter before p.pos is probably needed to frame the trailing text..Not the nicest API, but still possible with effort. * Make requested changes from string to seq[char] (see https://github.com/nim-lang/Nim/pull/7297) * Document new behavior and elaborate on some special cases. * NoArg => NoVal to be less ambiguous/more clear. * Add more documentation and an example snippet. * Tweak language. Clarify still using ':'/'=' is ok. * Add a test case for new NoVal behavior. | ||||
| * | lib/system: Fix programResult documentation (#7307) | alaviss | 2018-03-07 | 1 | -3/+3 |
| | | |||||
* | | fixes httpclient documentation comment | Araq | 2018-03-12 | 1 | -1/+1 |
|/ | |||||
* | Fixes #7212, now with better code (#7302) | Simon Krauter | 2018-03-06 | 1 | -0/+7 |
| | | | When platform is Windows and app type is GUI, an error about missing DLL file is displayed as message box in addition to the console output, which is usually not visible. | ||||
* | more documentation fixes | Araq | 2018-03-05 | 1 | -5/+7 |
| | |||||
* | strutils.strip: improve the documentation; fixes #7159 | Andreas Rumpf | 2018-03-05 | 1 | -1/+3 |
| | |||||
* | make re.split consistent with strutils.split and other programming ↵ | Andreas Rumpf | 2018-03-05 | 1 | -14/+28 |
| | | | | languages; refs #7278 | ||||
* | fixes #7293 | Andreas Rumpf | 2018-03-05 | 1 | -3/+3 |
| | |||||
* | Fixes 7283 (#7284) | cooldome | 2018-03-05 | 1 | -0/+4 |
| | |||||
* | development version is 0.18.1 | Araq | 2018-03-05 | 1 | -1/+1 |
| | |||||
* | fixes #7291 | Araq | 2018-03-05 | 1 | -1/+1 |
| | |||||
* | algorithm.nim: change formatting to Nim's defaults | Araq | 2018-03-05 | 1 | -4/+4 |
| | |||||
* | Cleanup docs about re.nim | Araq | 2018-03-05 | 1 | -5/+1 |
| | |||||
* | Merge pull request #7289 from alehander42/fix-asyncjs-pragma | Dominik Picheta | 2018-03-05 | 1 | -1/+2 |
|\ | | | | | Stop replacing all pragmas of a function with asyncjs | ||||
| * | Use addPragma | Alexander Ivanov | 2018-03-05 | 1 | -5/+1 |
| | | |||||
| * | Stop replacing all pragmas of a function with asyncjs | Alexander Ivanov | 2018-03-03 | 1 | -1/+6 |
| | | |||||
* | | Changes `entityToUtf8` implementation from `htmlparser` and add two procs ↵ | Tim | 2018-03-04 | 1 | -77/+1521 |
| | | | | | | | | | | | | | | | | | | (#7288) `entityToUtf8` now supports every entity name and decimal and hexadecimal values from https://dev.w3.org/html5/html-author/charref. As it finally turned out, the `case` implementation generates even a smaller binary size compared to a `[(name, val)]` implementation. Additionally the procs `entityToRune` and `runeToEntity` are now available. The last one only generates numeric html entities, so it doesn't need a lookup table. | ||||
* | | Resolves #5588: adds openFileStream proc that throws on failure (#7282) | twetzel59 | 2018-03-04 | 1 | -0/+10 |
|/ | |||||
* | bump version to 0.18.0 | Araq | 2018-03-01 | 1 | -2/+2 |
| | |||||
* | Improves documentation for strformat module. | Dominik Picheta | 2018-03-01 | 1 | -149/+192 |
| | | | | | | * Adds description of the difference between ``fmt`` and ``&``. * Moves runnable examples to bottom of file. * Separates examples at the top of module better. | ||||
* | make travis green again | Andreas Rumpf | 2018-03-01 | 1 | -18/+18 |
| | |||||
* | added -d:nimNoArrayToString define to allow easier porting to 0.18 | Araq | 2018-03-01 | 2 | -5/+23 |
| | |||||
* | deprecate parseopt2 stdlib module | Andreas Rumpf | 2018-02-28 | 1 | -0/+1 |
| | |||||
* | Merge pull request #7251 from zevv/issue-6270-sleepAsync-timer-resolution | Dominik Picheta | 2018-02-28 | 1 | -1/+1 |
|\ | | | | | Allow float argument to sleepAsync() to allow sub-millisecond resolution | ||||
| * | Allow float argument to sleepAsync() to allow sub-millisecond resolution | Ico Doornekamp | 2018-02-23 | 1 | -1/+1 |
| | | |||||
* | | move `readPasswordFromStdin` from rdstdin to terminal (#7266) | Vindaar | 2018-02-27 | 2 | -44/+50 |
| | | |||||
* | | revert commit 6cf8a72d498f5cb8a532c2ff3259bc7aecf474ef; Windows fixes getch bug | Araq | 2018-02-27 | 1 | -4/+1 |
| | | |||||
* | | merged #6512 manually; fixes #6431 | Araq | 2018-02-27 | 1 | -0/+14 |
| | | |||||
* | | Fix return (#7225) | Alexander Ivanov | 2018-02-27 | 1 | -6/+8 |
| | | |||||
* | | make the allocator take a special path for allocations bigger than 2GB; ↵ | Araq | 2018-02-27 | 1 | -2/+26 |
| | | | | | | | | fixes #7120 | ||||
* | | system.nim: fix harmless typo | Andreas Rumpf | 2018-02-26 | 1 | -1/+1 |
| | | |||||
* | | make osproc.execProcesses more robust | Andreas Rumpf | 2018-02-25 | 1 | -2/+2 |
| | | |||||
* | | Detect openssl related to outdated openssl and help user solve issue. | Dominik Picheta | 2018-02-25 | 1 | -2/+8 |
| | | |||||
* | | Parsecsv mutability (#7253) | Misha Kotwica | 2018-02-24 | 1 | -11/+11 |
|/ | | | | | | | | * parsecsv: immutable vars into lets improving readability * parsecsv.rowEntry: add mutable access | ||||
* | Improve SSL error message in httpclient. | Dominik Picheta | 2018-02-22 | 1 | -5/+6 |
| | |||||
* | Fix style string formatting for cursorBackward and cursorForward (#7243) | antizealot1337 | 2018-02-22 | 1 | -2/+2 |
| | |||||
* | Fix toCountTable and newCountTable | konqoro | 2018-02-21 | 1 | -21/+20 |
| | |||||
* | Remove repetitive index checks in b30b9207510a62b. | Dominik Picheta | 2018-02-19 | 1 | -139/+67 |
| | |||||
* | Fix date parsing for a bad inputs | data-man | 2018-02-19 | 1 | -59/+139 |
| | |||||
* | Merges #7226 manually. | Dominik Picheta | 2018-02-19 | 1 | -0/+25 |
| | |||||
* | Revert "Fixes #4265." | Dominik Picheta | 2018-02-17 | 1 | -1/+1 |
| | | | | This reverts commit fe6fddb9d83c099ee407bced8d59e11e351ecd58. | ||||
* | Fixes #4265. | Dominik Picheta | 2018-02-17 | 1 | -1/+1 |
| | |||||
* | Fixes #7227. | Dominik Picheta | 2018-02-17 | 1 | -0/+5 |
| | |||||
* | Move joyent_http_parser out of stdlib. | Dominik Picheta | 2018-02-17 | 1 | -93/+0 |
| | |||||
* | Fixes #5786. | Dominik Picheta | 2018-02-17 | 1 | -117/+0 |
| | |||||
* | Merge pull request #7228 from endragor/fix-asyncfile-open | Dominik Picheta | 2018-02-17 | 2 | -7/+7 |
|\ | | | | | Fix AsyncFile open flags. Fixes #5531 | ||||
| * | Fix AsyncFile open flags. Fixes #5531 | Ruslan Mustakov | 2018-02-17 | 2 | -7/+7 |
| | |