Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #9629 every binary cmd line option allows on/off/empty=on (#10353) | Timothee Cour | 2019-01-18 | 1 | -1/+4 |
| | | | | | | * fix #9629 every binary cmd line option allows on/off/empty=on * workaround refs #10359 | ||||
* | parseopt2.cmdLineRest is now correct too (#10304) | Timothee Cour | 2019-01-15 | 1 | -16/+19 |
| | |||||
* | fix test | Timothee Cour | 2019-01-14 | 1 | -2/+13 |
| | |||||
* | fix #9842 #9951: `nim -r` and parseopt.cmdLineRest are now correct | Timothee Cour | 2019-01-14 | 1 | -44/+92 |
| | |||||
* | Fix for sizeof bitsize combination (#10227) | Arne Döring | 2019-01-07 | 1 | -0/+12 |
| | | | | | | | | * fix #10082 * added test | ||||
* | fixes #10082 | Andreas Rumpf | 2018-12-30 | 1 | -0/+11 |
| | |||||
* | use anon structs and unions for a much better debug experience (#10055) | Andreas Rumpf | 2018-12-20 | 1 | -23/+20 |
| | |||||
* | Merge pull request #9881 from timotheecour/pr_ref_9880 | Andreas Rumpf | 2018-12-11 | 2 | -9/+32 |
|\ | | | | | refs #9880 show index and bound in lots of `index out of bounds` errors | ||||
| * | refs #9880 show index and bound in lots of `index out of bounds` errors | Timothee Cour | 2018-12-09 | 2 | -9/+32 |
| | | |||||
* | | testament: joinable is now an explicit concept of a test spec | Andreas Rumpf | 2018-12-11 | 2 | -0/+2 |
| | | |||||
* | | Testament: refactoring; makes the test joiner green | Araq | 2018-12-11 | 2 | -0/+2 |
| | | |||||
* | | lots of small changes | Arne Döring | 2018-12-11 | 3 | -5/+7 |
| | | |||||
* | | megatest checks output and nimout | Arne Döring | 2018-12-11 | 1 | -4/+3 |
| | | |||||
* | | megatest can be executed | Arne Döring | 2018-12-11 | 1 | -98/+2 |
| | | |||||
* | | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 23 | -79/+24 |
| | | |||||
* | | fixes #9868 | Araq | 2018-12-11 | 1 | -0/+2 |
|/ | |||||
* | fixes #9868 | Araq | 2018-12-05 | 1 | -0/+4 |
| | |||||
* | cleanup tests; don't use non-working 'msg' spec field | Araq | 2018-11-23 | 1 | -1/+1 |
| | |||||
* | remove problem test | Arne Döring | 2018-11-23 | 1 | -12/+0 |
| | |||||
* | eyewash | Arne Döring | 2018-11-23 | 1 | -1/+7 |
| | |||||
* | hopefully this time the tests will compile on the server | Arne Döring | 2018-11-23 | 1 | -5/+1 |
| | |||||
* | updated tests to be executed | Arne Döring | 2018-11-23 | 16 | -20/+130 |
| | |||||
* | delete old cruft | Arne Döring | 2018-11-23 | 3 | -82/+0 |
| | |||||
* | make run the default action of a test in tester | Arne Döring | 2018-11-23 | 3 | -7/+7 |
| | |||||
* | bitsize respected in size calculation. (#9756) | Arne Döring | 2018-11-19 | 1 | -4/+32 |
| | |||||
* | make tsizeof run on C++ backend (#9734) | Arne Döring | 2018-11-18 | 1 | -31/+35 |
| | |||||
* | removes deprecated T/P types | Araq | 2018-11-16 | 1 | -1/+1 |
| | |||||
* | fixes #9619 | Andreas Rumpf | 2018-11-09 | 1 | -35/+42 |
| | |||||
* | Add test for #6836 (#9602) | Neelesh Chandola | 2018-11-02 | 1 | -1/+1 |
| | |||||
* | Added "typeof" and "restrict" to special words. (#9226) | Alexandros Naskos | 2018-11-01 | 1 | -0/+39 |
| | | | | | * Added "typeof" and "restrict" to special words. * Added C and C++ reserved keyword as object field identifier test | ||||
* | Sizeof alignof fixes (#9568) | Arne Döring | 2018-10-30 | 1 | -0/+14 |
| | | | | | fixes #9545 | ||||
* | Remove install.txt and readme.txt (#9521) | Utwo | 2018-10-28 | 1 | -1/+1 |
| | | | | | | | | * Remove install.txt and readme.txt * Refactor tests that use readme.txt * Tests open own source code | ||||
* | correct tnoop test case | Araq | 2018-10-25 | 1 | -2/+3 |
| | |||||
* | fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to ↵ | Timothee Cour | 2018-10-14 | 2 | -4/+5 |
| | | | | call undeclared routine' error (#8786) | ||||
* | implement sizeof and alignof operator (manually squashed #5664) (#9356) | Timothee Cour | 2018-10-14 | 2 | -11/+348 |
| | |||||
* | Fix locals() interaction with generic types | LemonBoy | 2018-09-21 | 1 | -0/+19 |
| | | | | | | | Follow the same logic as semTupleFieldsConstr and only skip skVar since we're gonna add a nkDefer anyway. Fixes #8985 | ||||
* | transformed {.reorder: on.} into {.experimental: codeReordering.}, added tests | awr | 2018-09-04 | 1 | -1/+2 |
| | |||||
* | Fix abs & unary sub in semfold (#8724) | Oscar Nihlgård | 2018-08-22 | 1 | -0/+4 |
| | |||||
* | Add sizeof for arrays of integral types (#8445) | cooldome | 2018-07-30 | 1 | -2/+20 |
| | |||||
* | Bugfix for modules with multi byte characters in the name (#8319) | Oscar Nihlgård | 2018-07-14 | 1 | -1/+4 |
| | |||||
* | Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178) | Vindaar | 2018-07-03 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | * deprecate `0c`, `0C` prefix for octal literals Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for octal literals to bring the literals in line with the behavior of `parseOct` from parseutils. * add `msgKind` arg to `lexMessageLitNum` for deprecation messages * change literal tests to check all valid integer literals Also adds the `tinvaligintegerlit3` test to test for the (still) invalid `0O` prefix. | ||||
* | allow referencing other parameters in default parameter values | Zahary Karadjov | 2018-06-16 | 1 | -0/+114 |
| | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046 | ||||
* | Support multi byte characters in module names (#7916) | Oscar Nihlgård | 2018-05-31 | 1 | -0/+8 |
| | |||||
* | make tests green again | Araq | 2018-05-14 | 1 | -1/+1 |
| | |||||
* | make tests green | Andreas Rumpf | 2018-05-05 | 1 | -5/+5 |
| | |||||
* | Don't hide overflow/underflow/divbyzero in semfold (#7732) | Oscar Nihlgård | 2018-05-02 | 1 | -0/+23 |
| | | | | | * firstOrd/lastOrd bugfix * Don't hide overflow/underflow/divbyzero in semfold | ||||
* | make memoization test compile again | Andreas Rumpf | 2018-04-29 | 1 | -1/+1 |
| | |||||
* | Static[T] fixes (#7333) | zah | 2018-03-24 | 1 | -0/+32 |
| | | | | | | | | | | | * 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 | ||||
* | 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. | ||||
* | fixes #3985 | Araq | 2018-02-10 | 1 | -0/+10 |
| |