summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* ORC: critical bugfix for mixing acyclic refs with cyclic refs [backport:1.4] ↵Andreas Rumpf2021-05-112-8/+12
| | | | (#17991)
* fix #17467 1st call to rand is now non-skewed; allow seed == 0 (#17468)Timothee Cour2021-05-114-67/+75
| | | | | | | | | | | | | | | * fix #17467 1st call to rand is now non-skewed; allow passing 0 as seed * changelog + fallback * document behavior for seed == 0 * address comments * _ * fix tests, disable kdtree * re-enable kdtree with -d:nimLegacyRandomInitRand
* make testament `isSuccess` more robust and allow tests with `--hints:off` to ↵Timothee Cour2021-05-114-11/+35
| | | | | | | | | succeed (#17968) * fix testament isSuccess * show givenSpec in addResult * simplify tstatictypes.nim
* feature: the compiler can warn when you use the implicit 'result' variable ↵Andreas Rumpf2021-05-103-2/+7
| | | | | (#17988) [backport:1.2] * implements #17855
* since we have now so many virtual registers, reduce memory consumption for ↵Andreas Rumpf2021-05-103-50/+48
| | | | the register allocator (#17985)
* Revert "Fix parseUri to sanitize urls containing ASCII newline or tab ↵Andreas Rumpf2021-05-093-42/+3
| | | | | (#17967)" (#17984) This reverts commit f4dd95f3bee14b69caec63c3be984c4a75f43c8a.
* close #9039: compiler does not hang anymore in 1 case involving static ↵Timothee Cour2021-05-091-0/+24
| | | | params and arrays (#17983)
* Fix parseUri to sanitize urls containing ASCII newline or tab (#17967)Beshr Kayali2021-05-093-3/+42
| | | | | | | | | | | | | | | | | | | * Fix parseUri to sanitize urls containing ASCII newline or tab * Fix ups based on review Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Additional fix ups based on review - Avoid unnecessary `removeUnsafeBytesFromUri` call if parseUri is strict - Move some parseUri tests to uri module test file Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> * Update changelog Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* fixes #17675 (#17981)Andreas Rumpf2021-05-091-1/+1
|
* fix #17960: honor `matrix` also for `action: compile, action: reject` (#17980)Timothee Cour2021-05-092-8/+9
| | | | * fix #17960: honor `matrix` for all action
* treetab: tiny cleanup (#17929)Clyybber2021-05-091-6/+4
| | | | | | | | | | | | | * treetab: tiny cleanup * Another tiny thing * Explicitly move n Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Typo Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* testament :show duration also for failed tests; improve `tshould_not_work`; ↵Timothee Cour2021-05-0821-39/+64
| | | | | | | | | | | mitigate #17946 tchannels timeouts (#17947) * refs #17946; refactor testament test summary, show test duration for failures; increase timeout tchannels * revert workarounds from https://github.com/nim-lang/Nim/pull/16698 and add allowPrefixMatch optional param to greedyOrderedSubsetLines * add test * workaround for yet another testament bug
* merge `initUri()` overloads, improve uri examples (#17970)Timothee Cour2021-05-081-30/+11
| | | | | | | * deprecate `uri.initUri` and improve uri examples * remove `func initUri*()` and make isIpv6 optional * fixup
* ORC: cursor inference bugfix (#17973)Andreas Rumpf2021-05-083-5/+50
| | | | | * fixed a .cursor inference bug * added a test case
* fix #17941: UnusedImport works for var/let/const/type invoked inside a ↵Timothee Cour2021-05-084-4/+6
| | | | | | | generic (#17942) * fix #17941: UnusedImport works for var/let/const/type invoked inside a generic * fixup
* add astmsgs; add `declared in` msg for usage lint errors (#17961)Timothee Cour2021-05-089-39/+43
| | | | | | | | | * add astmsgs; add `declared in` msg for usage lint errors * fix test * fix tests/tools/tlinter.nim * std prefix
* fix `tsortoutput` (it was failing for the wrong reasons, irrespective of ↵Timothee Cour2021-05-071-3/+3
| | | | `sortoutput` (#17969)
* improve tbase64.nim (#17964)Timothee Cour2021-05-071-12/+6
|
* fix tests/vm/tcastint.nim which used non-sensical `when defined nimVM` (and ↵Timothee Cour2021-05-081-11/+21
| | | | contained wrong tests) (#17954)
* fix #17952: fix both false positives and false negatives for reInvalidSpec ↵Timothee Cour2021-05-086-43/+69
| | | | | | | | | (#17956) * fix #17952: fix both false positives and false negatives for reInvalidSpec * handle megatest properly * fix for tests/stdlib/tbase64.nim
* refs #17325 disable i386 again until we figure out how to fix it (#17963)Timothee Cour2021-05-071-5/+6
|
* fix #14873 properly by skipping `abi` field in importc type (#17944)Timothee Cour2021-05-073-14/+17
| | | | | | | * fix #14873 properly by skipping `abi` field in importc type * add test * fix test for windows
* fixes #15848 [backport:1.2] (#17959)Andreas Rumpf2021-05-076-2/+34
|
* tiny cleanup (#17957)Andreas Rumpf2021-05-072-13/+11
| | | | | * tiny cleanup * I'm not British
* remove unsused OsPlatform.nimVM (#17953)Timothee Cour2021-05-071-2/+1
|
* Export sslHandle in `net` and `asyncnet`. (#17573)Ardek Romak2021-05-063-0/+12
|
* Fix C++ compilation error in excpt.nim (#17951)Danil Yarantsev2021-05-061-1/+1
|
* disable tmacro_highlight on i386, refs #17945 (#17949)Timothee Cour2021-05-061-0/+4
|
* minor cleanups (#17948)Andreas Rumpf2021-05-063-5/+1
|
* follow-up #17837: add `Console` for interactive sessions (#17930)Andrey Makarov2021-05-0614-155/+252
| | | | | * follow-up #17837: add `Console` for interactive sessions * fix Latex
* docgen: get rid of ropes (#17939)Andrey Makarov2021-05-051-190/+146
|
* fix https://github.com/timotheecour/Nim/issues/718: CompileTime is not ↵Timothee Cour2021-05-051-2/+5
| | | | cached apparently (#17940)
* Add copyWithin for JavaScript (#17937)Juan Carlos2021-05-052-0/+15
| | | | * Add jscore.copyWithin for seq and array * Shallow copy mention docs
* small improvements for tut1.rst (#17935)Miran2021-05-052-79/+101
| | | | | | | * small improvements for tut1.rst * remove unneeded paragraph * Update doc/tut1.rst Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* re-enable nimquery (#17936)Timothee Cour2021-05-041-1/+1
|
* parsecsv fix style (#17933)Juan Carlos2021-05-041-67/+64
| | | | | | | * ReSync with Devel * Fix style in parsecsv * Update lib/pure/parsecsv.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* add logging to help investigate why tests/vm/tconst.nim is flaky (#17934)Timothee Cour2021-05-041-1/+1
|
* IC: codegen: fix (#17931)Andreas Rumpf2021-05-041-1/+3
|
* mention -d:nimLegacyConvEnumEnum in error msg (#17928)Timothee Cour2021-05-031-0/+2
|
* treetab: minor code cleanups (#17927)Andreas Rumpf2021-05-031-6/+6
|
* fix #17913 build_all.sh on M1 mac (#17917); temporary workaroundTimothee Cour2021-05-031-0/+2
|
* highlite: fix #17890 - tokenize Nim escape seq-s (#17919)Andrey Makarov2021-05-032-19/+46
| | | | | | | | | * highlite: fix #17890 - tokenize Nim escape seq-s * Update tests/stdlib/thighlite.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* close #16123 std/sets with closures in cpp (#17921)Timothee Cour2021-05-031-5/+13
| | | | | * close #16123 std/sets with closures in cpp * fixup
* CI Update (#17923)Juan Carlos2021-05-022-3/+3
| | | | | | | | | * ReSync with Devel * ReSync * https://github.com/actions/virtual-environments#available-environments * https://github.com/actions/virtual-environments#available-environments
* typo: nonexistant => nonexistent (#17918)Timothee Cour2021-05-0216-38/+38
| | | | | * typo: nonexistant => nonexistent * fix test (ordering differs because of https://github.com/nim-lang/Nim/issues/17910)
* ref #17913; fix typo in tools/ci_generate.nim generating build_all.sh (#17915)Timothee Cour2021-05-012-2/+2
|
* fix #17911 rawProc for cpp (#17912)Timothee Cour2021-05-014-14/+93
|
* system.nim cleanup some exported constants which should never have be… ↵Andreas Rumpf2021-05-0110-29/+32
| | | | | | (#17909) * system.nim cleanup some exported constants which should never have been exported
* WIP: Added missing functions to jsre module (#17881)Yanis Zafirópulos2021-05-011-0/+30
| | | | | | | * added missing functions: `replace`, `replaceAll`, `split`, `match` * added `startsWith` & `endsWith` * Update lib/js/jsre.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* [std/base64] uses runnableExamples (#17882)flywind2021-05-011-32/+30
| | | | | | * [std/base64] uses runnableExamples * Update lib/pure/base64.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>