Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | properly deprecate parseopt2 (#10452) | Miran | 2019-01-25 | 1 | -2/+2 |
| | |||||
* | add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵ | Timothee Cour | 2019-01-08 | 1 | -0/+11 |
| | | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work | ||||
* | fix bug in doAssertRaises when exception==Exception (#10172) | Timothee Cour | 2019-01-04 | 1 | -0/+12 |
| | | | | | * fix bug in doAssertRaises when exception==Exception * add testcase for doAssertRaises | ||||
* | revives: Move typetraits.`$` to system. Fixes #5827 (#10071) | Timothee Cour | 2018-12-30 | 1 | -0/+14 |
| | | | | | | * Move typetraits.`$` to system. Fixes #5827. * revive PR; adjust code to make sure everything works and add tests * fix tests/concepts/tstackconcept.nim * address comments | ||||
* | testament: joinable is now an explicit concept of a test spec | Andreas Rumpf | 2018-12-11 | 4 | -0/+8 |
| | |||||
* | lots of small changes | Arne Döring | 2018-12-11 | 1 | -1/+1 |
| | |||||
* | megatest can be executed | Arne Döring | 2018-12-11 | 1 | -1/+4 |
| | |||||
* | cleanup tests; don't use non-working 'msg' spec field | Araq | 2018-11-23 | 1 | -1/+1 |
| | |||||
* | more eyewash | Arne Döring | 2018-11-23 | 3 | -2/+9 |
| | |||||
* | disable tio.nim, it just causes problems | Arne Döring | 2018-11-23 | 1 | -0/+1 |
| | |||||
* | maybe this time? | Arne Döring | 2018-11-23 | 1 | -9/+17 |
| | |||||
* | hopefully this time the tests will compile on the server | Arne Döring | 2018-11-23 | 1 | -3/+0 |
| | |||||
* | updated tests to be executed | Arne Döring | 2018-11-23 | 1 | -4/+7 |
| | |||||
* | make run the default action of a test in tester | Arne Döring | 2018-11-23 | 1 | -4/+0 |
| | |||||
* | fix segfault when calling shallow() on an empty string (#9782) [backport] | Ștefan Talpalaru | 2018-11-22 | 1 | -0/+7 |
| | | | | | | | | | shallow() casts its string argument to a seq and then tries to access its fields. Guess what happens when that string is nil, which seems to be the representation of an empty string (both the default value and an explicitly assigned ""). Segfault encountered when running "ntags -R ." on a large project. The relevant line: https://bitbucket.org/nimcontrib/ntags/src/a1c62c38e539877c105fbe4e08d06b76232f8017/ntags.nim#lines-125 | ||||
* | Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316) | c-blake | 2018-10-12 | 1 | -0/+5 |
| | | | | | | | | | | | * Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. `ptr array[0,T]` for some unchecked type already works but A) `UncheckedArray` seems to be the intended future way for this kind of access, and B) essentially all use cases will have a `ptr` for that kind of array source and this call signature lets callers drop the trailing `[]` corresponding to that `ptr` deref. This PR relates to issue https://github.com/nim-lang/Nim/issues/9001 . * Add a test for toOpenArray() for UncheckedArray[T]s. | ||||
* | fixes #9281 | Araq | 2018-10-11 | 1 | -0/+15 |
| | |||||
* | fixes #8847 | Araq | 2018-09-03 | 1 | -1/+9 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-08-18 | 1 | -1/+1 |
| | |||||
* | fixes more nil handling regressions | Araq | 2018-08-13 | 1 | -7/+3 |
| | |||||
* | deprecate isNil for strings and seqs | Araq | 2018-08-08 | 1 | -1/+1 |
| | |||||
* | fixed #7894 (#8496) | jcosborn | 2018-08-01 | 6 | -30/+60 |
| | | | make system tests run properly | ||||
* | VM: accessing the string terminator is not allowed anymore; cleanup ↵ | Andreas Rumpf | 2018-07-17 | 1 | -7/+10 |
| | | | | tests/system/tostring.nim | ||||
* | Add proc toOpenArray[byte] for strings (#7820) | Dmitry Atamanov | 2018-07-07 | 1 | -0/+16 |
| | |||||
* | test negative range array | nitely | 2018-06-06 | 1 | -0/+14 |
| | |||||
* | check bounds instead of index | nitely | 2018-06-05 | 1 | -0/+25 |
| | |||||
* | Added $ for openarrays. Fixes #7940. | data-man | 2018-06-01 | 1 | -0/+1 |
| | |||||
* | correct comparisons for nil strings/seqs | Andreas Rumpf | 2018-04-28 | 1 | -0/+56 |
| | |||||
* | nil in string concats does not produce crashes anymore | Andreas Rumpf | 2018-04-27 | 1 | -0/+25 |
| | |||||
* | added toOpenArray builtin for zero-copy slices; syntax sugar yet to come | Araq | 2018-03-24 | 1 | -1/+28 |
| | |||||
* | 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 #7121 (#7148) | pqflx3 | 2018-01-31 | 1 | -1/+24 |
| | | | | | | * Replace ftell and fseek with (windows) _ftelli64, _fseeki64 and (posix) ftello, fseeko * disable large file test | ||||
* | Improved collection-to-string behavior (#6825) | Fabian Keller | 2017-12-14 | 1 | -4/+4 |
| | |||||
* | fixes #6710 | Andreas Rumpf | 2017-11-08 | 1 | -0/+4 |
| | |||||
* | make tests green again | Araq | 2017-11-01 | 1 | -2/+2 |
| | |||||
* | Implementation of high/low for SomeReal (#6570) | Fabian Keller | 2017-10-30 | 1 | -0/+18 |
| | |||||
* | make tests green again; closes #5861 | Andreas Rumpf | 2017-10-10 | 1 | -1/+1 |
| | |||||
* | reverted genEcho | Arne Döring | 2017-08-08 | 1 | -1/+2 |
| | |||||
* | don't filter '\0' characters in string generation | Arne Döring | 2017-08-07 | 1 | -1/+2 |
| | |||||
* | prevent null characters in $ on collections of char | Arne Döring | 2017-07-24 | 1 | -3/+1 |
| | |||||
* | made toString test assert based | Arne Döring | 2017-07-24 | 1 | -33/+21 |
| | |||||
* | removed newString proc again, reverted some unnecesary changes | Arne Döring | 2017-07-24 | 1 | -9/+3 |
| | |||||
* | arrays can now be printed | Arne Döring | 2017-07-24 | 1 | -2/+31 |
| | |||||
* | Handle different enum sizes in reprAux (#5207) | Brandon Pickering | 2017-01-11 | 1 | -0/+25 |
| | |||||
* | fixes #4818 | Araq | 2016-12-18 | 2 | -1/+21 |
| | |||||
* | reverted deepcopy fix for now | Andreas Rumpf | 2016-11-24 | 1 | -0/+1 |
| | |||||
* | disallow recursive module dependencies | Araq | 2016-11-23 | 1 | -0/+0 |
| | |||||
* | added test case for deepcopy | Andreas Rumpf | 2016-11-19 | 1 | -0/+94 |
| | |||||
* | Fixes #2889. Merges *tostring tests in tests/system. | Dominik Picheta | 2015-09-23 | 3 | -31/+34 |
| | |||||
* | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -1/+1 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + |