summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Add an example to the `dynlib` module docEuan T2018-03-211-0/+43
| | | Following a quesiton on Gitter about loading libraries dynamically based upon some runtime parameter, I noticed there's no documentation on the `dynlib` module for something that's quite common.
* libssl.so.44 fix (#7358)Solitude2018-03-201-1/+1
|
* Fixes #7363 (#7371)cooldome2018-03-202-2/+17
|
* Merge pull request #7368 from GULPF/patch-2Dominik Picheta2018-03-191-6/+0
|\ | | | | Remove basic2d & 3d from module list
| * Remove basic2d & 3d from module listOscar Nihlgård2018-03-191-6/+0
| | | | | | `basic2d` and `basic3d` has been moved to nimble packages
* | better error messages for illegal capturesAraq2018-03-191-2/+6
| |
* | disable flaky fragmenation test for AppVeyorAraq2018-03-191-0/+1
| |
* | fixes #7364Araq2018-03-191-1/+1
|/
* Remove bugfixes heading from changelogDominik Picheta2018-03-191-8/+5
| | | This heading is for the automatically generated list of issues fixed.
* fixes #7331Araq2018-03-182-1/+17
|
* Merge pull request #7326 from trustable-code/patch-6Dominik Picheta2018-03-181-1/+1
|\ | | | | Fix background-color in nimdoc.cfg
| * Fix background-color in nimdoc.cfgSimon Krauter2018-03-111-1/+1
| | | | | | | | | | | | Don't assume, that the default background-color is white. My default background-color is dark, which makes the documentation hardly readable: https://i.imgur.com/xN0UjWz.png The reason is the transparency of the existing color (rgba(252, 248, 244, 0.45);) Fixed by removing the transparency.
* | Merge pull request #7356 from GULPF/parseXml-stringDominik Picheta2018-03-181-10/+15
|\ \ | | | | | | Add string overload for parseXml
| * | Add string overload for parseXmlOscar Nihlgård2018-03-181-10/+15
| | |
* | | fixes #7335Araq2018-03-181-3/+3
| | |
* | | better error messagesAraq2018-03-183-3/+17
| | |
* | | raise the max instruction count for the VM to one billionAraq2018-03-183-2/+8
| | |
* | | fix allocator corruption for large sizes (#7338)jcosborn2018-03-175-41/+92
| | | | | | | | | | | | | | | | | | * fix allocator corruption for large sizes * allow large chunks to coalesce and added test case * use correct constants in MaxBigChunkSize
* | | Fix #7304 by clarifying integer width in manual (#7319)twetzel592018-03-171-2/+4
| | | | | | | | | | | | | | | | | | * Fix #7304 by clarifying integer width in manual * Update lexing.txt
* | | fixes #7347, asyncfile.getFileSize (#7354)andri lim2018-03-173-0/+16
|/ / | | | | | | | | | | * fixes #7347 * fixes #7347
* | More flexible lowerBound interface (#7344)Yuriy Glukhov2018-03-161-1/+1
| |
* | Codegen: use type forward declarations more aggresively. Fixes #7339 (#7340)cooldome2018-03-164-1/+32
| | | | | | Do not emit object definition it if used only by ref or ptr
* | Add CommentStmt to astGenRepr (#7313)PMunch2018-03-162-6/+26
| | | | | | | | | | | | * Added codeRepr and dumpCode to the macros module. This allows those writing macros to write examples, get the code to generate the AST for that example, and then modify that code to be dynamic with the macro function.
* | [Documentation] free -> dealloc (#7334)WhiteDuke2018-03-161-3/+3
| |
* | make 'memset' calls more robust; refs #7341Andreas Rumpf2018-03-161-1/+1
| |
* | Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-03-162-1/+32
|\ \
| * | fixes #7332 (#7341)andri lim2018-03-162-1/+32
| | |
* | | make 'memset' calls more robust; refs #7341Andreas Rumpf2018-03-161-1/+2
| | |
* | | Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-03-161-1/+1
|\| |
| * | reuse default ident in opcNNewNimNode (performance regression) (#7330)jcosborn2018-03-141-1/+1
| | | | | | | | | | | | | | | | | | * reuse default ident in opcNNewNimNode (performance regression) * use emptyIdent as default
* | | json.nim: documentation copy&paste issueAndreas Rumpf2018-03-161-1/+1
|/ /
* | prevent yet another compiler crash from happeningAndreas Rumpf2018-03-141-1/+2
| |
* | improves the stability of 'nim check'Andreas Rumpf2018-03-132-2/+3
| |
* | Fix casing in rule 'typeDesc' (#7324)Robert Hencke2018-03-122-2/+5
| | | | | | Also, leave a note in grammar.txt that it is generated.
* | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2018-03-1215-103/+257
|\|
| * Renamed jsondoc2 to jsondoc, similar to doc2 (#7279)PMunch2018-03-086-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)zah2018-03-084-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)cooldome2018-03-082-44/+44
| |
| * FIXUP: Removed +1 causing substr slicing to skip chars on first iteration of ↵ryanc-signiq2018-03-081-1/+6
| | | | | | | | while loop (#7312)
| * Add ability for users to elide ':' or '=' when CLI authors pass a (#7297)c-blake2018-03-082-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)alaviss2018-03-071-3/+3
| |
* | fixes httpclient documentation commentAraq2018-03-121-1/+1
|/
* yet another documentation fixAraq2018-03-061-1/+1
|
* make the 'canimport' template workAndreas Rumpf2018-03-062-1/+27
|
* Fixes #7212, now with better code (#7302)Simon Krauter2018-03-061-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 fixesAraq2018-03-054-12/+10
|
* strutils.strip: improve the documentation; fixes #7159Andreas Rumpf2018-03-051-1/+3
|
* make re.split consistent with strutils.split and other programming ↵Andreas Rumpf2018-03-052-14/+34
| | | | languages; refs #7278
* fixes #7293Andreas Rumpf2018-03-051-3/+3
|
* fixes #5293Andreas Rumpf2018-03-051-1/+1
|