Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prevent yet another compiler crash from happening | Andreas Rumpf | 2018-03-14 | 1 | -1/+2 |
| | |||||
* | improves the stability of 'nim check' | Andreas Rumpf | 2018-03-13 | 2 | -2/+3 |
| | |||||
* | Fix casing in rule 'typeDesc' (#7324) | Robert Hencke | 2018-03-12 | 2 | -2/+5 |
| | | | Also, leave a note in grammar.txt that it is generated. | ||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2018-03-12 | 15 | -103/+257 |
|\ | |||||
| * | Renamed jsondoc2 to jsondoc, similar to doc2 (#7279) | PMunch | 2018-03-08 | 6 | -27/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update information about jsondoc/jsondoc2 Manual was missing information about jsondoc2 which made it seem like it didn't exist at all. This commit adds mention of the jsondoc2 command along with an example. * Renamed jsondoc2 similar to doc2 and updated docs doc2 was recently renamed to doc while doc was renamed to doc0. This commits renames jsondoc to jsondoc2 and jsondoc2 to jsondoc0 to behave tha same way. The documentation for doc/jsondoc was also lagging behind this change which has also been fixed. I interpreted this as a soft deprecation of doc and jsondoc and therefore removed them from the auto-complete lists. | ||||
| * | Fix #6415 (#7281) | zah | 2018-03-08 | 4 | -6/+71 |
| | | | | | | | | | | | | | | | | * hangle static generic params when used in the importcpp pragma * importcpp works for generic types with fields; fixes #6415 * revert a too agressive safety check that ended up breaking the tests | ||||
| * | Allow only single infix as in except branches. Fixes #7115 (#7132) | cooldome | 2018-03-08 | 2 | -44/+44 |
| | | |||||
| * | 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 | 2 | -22/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 |
|/ | |||||
* | yet another documentation fix | Araq | 2018-03-06 | 1 | -1/+1 |
| | |||||
* | make the 'canimport' template work | Andreas Rumpf | 2018-03-06 | 2 | -1/+27 |
| | |||||
* | 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 | 4 | -12/+10 |
| | |||||
* | 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 | 2 | -14/+34 |
| | | | | languages; refs #7278 | ||||
* | fixes #7293 | Andreas Rumpf | 2018-03-05 | 1 | -3/+3 |
| | |||||
* | fixes #5293 | Andreas Rumpf | 2018-03-05 | 1 | -1/+1 |
| | |||||
* | Fixes 7283 (#7284) | cooldome | 2018-03-05 | 3 | -1/+14 |
| | |||||
* | development version is 0.18.1 | Araq | 2018-03-05 | 2 | -644/+2 |
| | |||||
* | fixes #7291 | Araq | 2018-03-05 | 2 | -2/+4 |
| | |||||
* | fixes #7294; Nim doc search feature | Araq | 2018-03-05 | 1 | -5/+5 |
| | |||||
* | 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 | 2 | -1/+29 |
|\ | | | | | Stop replacing all pragmas of a function with asyncjs | ||||
| * | Use addPragma | Alexander Ivanov | 2018-03-05 | 2 | -6/+2 |
| | | |||||
| * | Stop replacing all pragmas of a function with asyncjs | Alexander Ivanov | 2018-03-03 | 2 | -1/+33 |
| | | |||||
* | | 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 | 2 | -0/+20 |
|/ | |||||
* | Fixes #6837 (#7271) | cooldome | 2018-03-02 | 2 | -2/+19 |
| | |||||
* | fixes finish.nim download bug | Araq | 2018-03-01 | 1 | -1/+1 |
| | |||||
* | 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 | 3 | -7/+27 |
| | |||||
* | deprecate parseopt2 stdlib module | Andreas Rumpf | 2018-02-28 | 2 | -0/+3 |
| | |||||
* | 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 |
| | | |||||
* | | Add bugfixes list to changelog. | Dominik Picheta | 2018-02-28 | 1 | -0/+327 |
| | | |||||
* | | Sort changelog into appropriate headings. | Dominik Picheta | 2018-02-28 | 1 | -178/+242 |
| | | |||||
* | | make tests green again | Araq | 2018-02-28 | 1 | -1/+0 |
| | | |||||
* | | some progress on #7261; VM does not support the new backwards indexing | Araq | 2018-02-28 | 2 | -4/+16 |
| | | |||||
* | | move `readPasswordFromStdin` from rdstdin to terminal (#7266) | Vindaar | 2018-02-27 | 3 | -45/+54 |
| | | |||||
* | | revert commit 6cf8a72d498f5cb8a532c2ff3259bc7aecf474ef; Windows fixes getch bug | Araq | 2018-02-27 | 1 | -4/+1 |
| | | |||||
* | | merged #6512 manually; fixes #6431 | Araq | 2018-02-27 | 2 | -0/+15 |
| | | |||||
* | | Fix return (#7225) | Alexander Ivanov | 2018-02-27 | 2 | -6/+10 |
| | | |||||
* | | User pragmas hide effect specs bug fix. Fixes #7216 (#7217) | cooldome | 2018-02-27 | 2 | -15/+28 |
| | | |||||
* | | make concept tests green again | Andreas Rumpf | 2018-02-27 | 1 | -1/+1 |
| | | |||||
* | | make the allocator take a special path for allocations bigger than 2GB; ↵ | Araq | 2018-02-27 | 2 | -2/+30 |
| | | | | | | | | fixes #7120 |