summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #5281 (#7489)Dmitry Atamanov2018-04-061-6/+5
|
* Merge pull request #7450 from cabhishek/develDominik Picheta2018-04-041-0/+15
|\ | | | | Fixes #6902
| * Fixes #6902Abhishek Kapatkar2018-03-301-0/+15
| |
* | Fixes #7473 (#7475)Arne Döring2018-04-042-11/+10
| | | | | | | | | | * removed code duplication * changelog entry, adopt tests for changes
* | Merge pull request #7495 from GULPF/fix-fill-bugDominik Picheta2018-04-041-11/+0
|\ \ | | | | | | Fix algorithm.fill for empty input
| * | Move algorithm tests away from kochOscar Nihlgård2018-04-041-11/+0
| | |
* | | Merge pull request #7336 from yglukhov/ipaddr-sockaddr-conversionsDominik Picheta2018-04-021-1/+31
|\ \ \ | | | | | | | | Conversion procs for (IpAddress, Port) <-> (SockAddr, Socklen)
| * | | Fixed crash/interface. Added tests.Yuriy Glukhov2018-03-151-1/+31
| | | |
* | | | Comparing datetimesdata-man2018-04-011-1/+9
| |_|/ |/| |
* | | Fixes #7433.Dominik Picheta2018-03-291-0/+15
| | |
* | | fixes #7414 (#7434)cooldome2018-03-291-1/+21
| | |
* | | added toOpenArray builtin for zero-copy slices; syntax sugar yet to comeAraq2018-03-241-1/+28
| | |
* | | Static[T] fixes (#7333)zah2018-03-249-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' checkingAndreas Rumpf2018-03-241-4/+8
| | |
* | | enforce 'var T' produces a view into the first parameter; refs #7373Andreas Rumpf2018-03-241-0/+12
| | |
* | | more checking for 'var T' as return type; refs #7373Andreas Rumpf2018-03-242-1/+13
| | |
* | | fixes #7392 (#7395)cooldome2018-03-232-1/+8
| | |
* | | Fixes #7363 (#7371)cooldome2018-03-201-0/+14
| | |
* | | disable flaky fragmenation test for AppVeyorAraq2018-03-191-0/+1
| | |
* | | fixes #7331Araq2018-03-181-0/+15
| | |
* | | fix allocator corruption for large sizes (#7338)jcosborn2018-03-174-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 lim2018-03-172-0/+12
| |/ |/| | | | | | | | | * fixes #7347 * fixes #7347
* | Codegen: use type forward declarations more aggresively. Fixes #7339 (#7340)cooldome2018-03-162-0/+27
| | | | | | Do not emit object definition it if used only by ref or ptr
* | Add CommentStmt to astGenRepr (#7313)PMunch2018-03-161-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 lim2018-03-161-0/+29
|/
* Fix #6415 (#7281)zah2018-03-081-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)cooldome2018-03-081-0/+8
|
* Add ability for users to elide ':' or '=' when CLI authors pass a (#7297)c-blake2018-03-081-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 workAndreas Rumpf2018-03-061-0/+19
|
* Fixes 7283 (#7284)cooldome2018-03-051-1/+8
|
* fixes #7291Araq2018-03-051-1/+3
|
* Merge pull request #7289 from alehander42/fix-asyncjs-pragmaDominik Picheta2018-03-051-0/+27
|\ | | | | Stop replacing all pragmas of a function with asyncjs
| * Use addPragmaAlexander Ivanov2018-03-051-1/+1
| |
| * Stop replacing all pragmas of a function with asyncjsAlexander Ivanov2018-03-031-0/+27
| |
* | Resolves #5588: adds openFileStream proc that throws on failure (#7282)twetzel592018-03-041-0/+10
|/
* Fixes #6837 (#7271)cooldome2018-03-021-1/+15
|
* make tests green againAraq2018-02-281-1/+0
|
* merged #6512 manually; fixes #6431Araq2018-02-271-0/+1
|
* Fix return (#7225)Alexander Ivanov2018-02-271-0/+2
|
* User pragmas hide effect specs bug fix. Fixes #7216 (#7217)cooldome2018-02-271-0/+11
|
* make the allocator take a special path for allocations bigger than 2GB; ↵Araq2018-02-271-0/+4
| | | | fixes #7120
* fixes #7236Andreas Rumpf2018-02-261-2/+3
|
* fixes #6992Andreas Rumpf2018-02-251-1/+10
|
* Improve semchecking for duplicate cases in case statements (#7176)Oscar Nihlgård2018-02-241-0/+50
| | | | | | | | * Improve semchecking for duplicate cases in case statements * Revert to previous solution * Improve test
* fixes #7247Andreas Rumpf2018-02-231-6/+15
|
* genTryCpp codegen. Fixes #7232. Fixes #7239 (#7240)cooldome2018-02-221-1/+21
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2018-02-202-2/+51
|\
| * Fix date parsing for a bad inputsdata-man2018-02-191-0/+49
| |
| * Merge pull request #7228 from endragor/fix-asyncfile-openDominik Picheta2018-02-171-2/+2
| |\ | | | | | | Fix AsyncFile open flags. Fixes #5531
| | * Fix AsyncFile open flags. Fixes #5531Ruslan Mustakov2018-02-171-2/+2
| | |