Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes #5281 (#7489) | Dmitry Atamanov | 2018-04-06 | 1 | -6/+5 |
| | |||||
* | Merge pull request #7450 from cabhishek/devel | Dominik Picheta | 2018-04-04 | 1 | -0/+15 |
|\ | | | | | Fixes #6902 | ||||
| * | Fixes #6902 | Abhishek Kapatkar | 2018-03-30 | 1 | -0/+15 |
| | | |||||
* | | Fixes #7473 (#7475) | Arne Döring | 2018-04-04 | 2 | -11/+10 |
| | | | | | | | | | | * removed code duplication * changelog entry, adopt tests for changes | ||||
* | | Merge pull request #7495 from GULPF/fix-fill-bug | Dominik Picheta | 2018-04-04 | 1 | -11/+0 |
|\ \ | | | | | | | Fix algorithm.fill for empty input | ||||
| * | | Move algorithm tests away from koch | Oscar Nihlgård | 2018-04-04 | 1 | -11/+0 |
| | | | |||||
* | | | Merge pull request #7336 from yglukhov/ipaddr-sockaddr-conversions | Dominik Picheta | 2018-04-02 | 1 | -1/+31 |
|\ \ \ | | | | | | | | | Conversion procs for (IpAddress, Port) <-> (SockAddr, Socklen) | ||||
| * | | | Fixed crash/interface. Added tests. | Yuriy Glukhov | 2018-03-15 | 1 | -1/+31 |
| | | | | |||||
* | | | | Comparing datetimes | data-man | 2018-04-01 | 1 | -1/+9 |
| |_|/ |/| | | |||||
* | | | Fixes #7433. | Dominik Picheta | 2018-03-29 | 1 | -0/+15 |
| | | | |||||
* | | | fixes #7414 (#7434) | cooldome | 2018-03-29 | 1 | -1/+21 |
| | | | |||||
* | | | added toOpenArray builtin for zero-copy slices; syntax sugar yet to come | Araq | 2018-03-24 | 1 | -1/+28 |
| | | | |||||
* | | | Static[T] fixes (#7333) | zah | 2018-03-24 | 9 | -13/+176 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests | ||||
* | | | fixes the 'var T' checking | Andreas Rumpf | 2018-03-24 | 1 | -4/+8 |
| | | | |||||
* | | | enforce 'var T' produces a view into the first parameter; refs #7373 | Andreas Rumpf | 2018-03-24 | 1 | -0/+12 |
| | | | |||||
* | | | more checking for 'var T' as return type; refs #7373 | Andreas Rumpf | 2018-03-24 | 2 | -1/+13 |
| | | | |||||
* | | | fixes #7392 (#7395) | cooldome | 2018-03-23 | 2 | -1/+8 |
| | | | |||||
* | | | Fixes #7363 (#7371) | cooldome | 2018-03-20 | 1 | -0/+14 |
| | | | |||||
* | | | disable flaky fragmenation test for AppVeyor | Araq | 2018-03-19 | 1 | -0/+1 |
| | | | |||||
* | | | fixes #7331 | Araq | 2018-03-18 | 1 | -0/+15 |
| | | | |||||
* | | | fix allocator corruption for large sizes (#7338) | jcosborn | 2018-03-17 | 4 | -5/+47 |
| | | | | | | | | | | | | | | | | | | * fix allocator corruption for large sizes * allow large chunks to coalesce and added test case * use correct constants in MaxBigChunkSize | ||||
* | | | fixes #7347, asyncfile.getFileSize (#7354) | andri lim | 2018-03-17 | 2 | -0/+12 |
| |/ |/| | | | | | | | | | * fixes #7347 * fixes #7347 | ||||
* | | Codegen: use type forward declarations more aggresively. Fixes #7339 (#7340) | cooldome | 2018-03-16 | 2 | -0/+27 |
| | | | | | | Do not emit object definition it if used only by ref or ptr | ||||
* | | Add CommentStmt to astGenRepr (#7313) | PMunch | 2018-03-16 | 1 | -4/+24 |
| | | | | | | | | | | | | * 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. | ||||
* | | fixes #7332 (#7341) | andri lim | 2018-03-16 | 1 | -0/+29 |
|/ | |||||
* | Fix #6415 (#7281) | zah | 2018-03-08 | 1 | -0/+53 |
| | | | | | | | | * 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 | 1 | -0/+8 |
| | |||||
* | Add ability for users to elide ':' or '=' when CLI authors pass a (#7297) | c-blake | 2018-03-08 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | make the 'canimport' template work | Andreas Rumpf | 2018-03-06 | 1 | -0/+19 |
| | |||||
* | Fixes 7283 (#7284) | cooldome | 2018-03-05 | 1 | -1/+8 |
| | |||||
* | fixes #7291 | Araq | 2018-03-05 | 1 | -1/+3 |
| | |||||
* | Merge pull request #7289 from alehander42/fix-asyncjs-pragma | Dominik Picheta | 2018-03-05 | 1 | -0/+27 |
|\ | | | | | Stop replacing all pragmas of a function with asyncjs | ||||
| * | Use addPragma | Alexander Ivanov | 2018-03-05 | 1 | -1/+1 |
| | | |||||
| * | Stop replacing all pragmas of a function with asyncjs | Alexander Ivanov | 2018-03-03 | 1 | -0/+27 |
| | | |||||
* | | Resolves #5588: adds openFileStream proc that throws on failure (#7282) | twetzel59 | 2018-03-04 | 1 | -0/+10 |
|/ | |||||
* | Fixes #6837 (#7271) | cooldome | 2018-03-02 | 1 | -1/+15 |
| | |||||
* | make tests green again | Araq | 2018-02-28 | 1 | -1/+0 |
| | |||||
* | merged #6512 manually; fixes #6431 | Araq | 2018-02-27 | 1 | -0/+1 |
| | |||||
* | Fix return (#7225) | Alexander Ivanov | 2018-02-27 | 1 | -0/+2 |
| | |||||
* | User pragmas hide effect specs bug fix. Fixes #7216 (#7217) | cooldome | 2018-02-27 | 1 | -0/+11 |
| | |||||
* | make the allocator take a special path for allocations bigger than 2GB; ↵ | Araq | 2018-02-27 | 1 | -0/+4 |
| | | | | fixes #7120 | ||||
* | fixes #7236 | Andreas Rumpf | 2018-02-26 | 1 | -2/+3 |
| | |||||
* | fixes #6992 | Andreas Rumpf | 2018-02-25 | 1 | -1/+10 |
| | |||||
* | Improve semchecking for duplicate cases in case statements (#7176) | Oscar Nihlgård | 2018-02-24 | 1 | -0/+50 |
| | | | | | | | | * Improve semchecking for duplicate cases in case statements * Revert to previous solution * Improve test | ||||
* | fixes #7247 | Andreas Rumpf | 2018-02-23 | 1 | -6/+15 |
| | |||||
* | genTryCpp codegen. Fixes #7232. Fixes #7239 (#7240) | cooldome | 2018-02-22 | 1 | -1/+21 |
| | |||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2018-02-20 | 2 | -2/+51 |
|\ | |||||
| * | Fix date parsing for a bad inputs | data-man | 2018-02-19 | 1 | -0/+49 |
| | | |||||
| * | Merge pull request #7228 from endragor/fix-asyncfile-open | Dominik Picheta | 2018-02-17 | 1 | -2/+2 |
| |\ | | | | | | | Fix AsyncFile open flags. Fixes #5531 | ||||
| | * | Fix AsyncFile open flags. Fixes #5531 | Ruslan Mustakov | 2018-02-17 | 1 | -2/+2 |
| | | |