Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ORC: critical bugfix for mixing acyclic refs with cyclic refs [backport:1.4] ↵ | Andreas Rumpf | 2021-05-11 | 2 | -8/+12 |
| | | | | (#17991) | ||||
* | fix #17467 1st call to rand is now non-skewed; allow seed == 0 (#17468) | Timothee Cour | 2021-05-11 | 4 | -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 Cour | 2021-05-11 | 4 | -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 Rumpf | 2021-05-10 | 3 | -2/+7 |
| | | | | | (#17988) [backport:1.2] * implements #17855 | ||||
* | since we have now so many virtual registers, reduce memory consumption for ↵ | Andreas Rumpf | 2021-05-10 | 3 | -50/+48 |
| | | | | the register allocator (#17985) | ||||
* | Revert "Fix parseUri to sanitize urls containing ASCII newline or tab ↵ | Andreas Rumpf | 2021-05-09 | 3 | -42/+3 |
| | | | | | (#17967)" (#17984) This reverts commit f4dd95f3bee14b69caec63c3be984c4a75f43c8a. | ||||
* | close #9039: compiler does not hang anymore in 1 case involving static ↵ | Timothee Cour | 2021-05-09 | 1 | -0/+24 |
| | | | | params and arrays (#17983) | ||||
* | Fix parseUri to sanitize urls containing ASCII newline or tab (#17967) | Beshr Kayali | 2021-05-09 | 3 | -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 Rumpf | 2021-05-09 | 1 | -1/+1 |
| | |||||
* | fix #17960: honor `matrix` also for `action: compile, action: reject` (#17980) | Timothee Cour | 2021-05-09 | 2 | -8/+9 |
| | | | | * fix #17960: honor `matrix` for all action | ||||
* | treetab: tiny cleanup (#17929) | Clyybber | 2021-05-09 | 1 | -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 Cour | 2021-05-08 | 21 | -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 Cour | 2021-05-08 | 1 | -30/+11 |
| | | | | | | | * deprecate `uri.initUri` and improve uri examples * remove `func initUri*()` and make isIpv6 optional * fixup | ||||
* | ORC: cursor inference bugfix (#17973) | Andreas Rumpf | 2021-05-08 | 3 | -5/+50 |
| | | | | | * fixed a .cursor inference bug * added a test case | ||||
* | fix #17941: UnusedImport works for var/let/const/type invoked inside a ↵ | Timothee Cour | 2021-05-08 | 4 | -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 Cour | 2021-05-08 | 9 | -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 Cour | 2021-05-07 | 1 | -3/+3 |
| | | | | `sortoutput` (#17969) | ||||
* | improve tbase64.nim (#17964) | Timothee Cour | 2021-05-07 | 1 | -12/+6 |
| | |||||
* | fix tests/vm/tcastint.nim which used non-sensical `when defined nimVM` (and ↵ | Timothee Cour | 2021-05-08 | 1 | -11/+21 |
| | | | | contained wrong tests) (#17954) | ||||
* | fix #17952: fix both false positives and false negatives for reInvalidSpec ↵ | Timothee Cour | 2021-05-08 | 6 | -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 Cour | 2021-05-07 | 1 | -5/+6 |
| | |||||
* | fix #14873 properly by skipping `abi` field in importc type (#17944) | Timothee Cour | 2021-05-07 | 3 | -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 Rumpf | 2021-05-07 | 6 | -2/+34 |
| | |||||
* | tiny cleanup (#17957) | Andreas Rumpf | 2021-05-07 | 2 | -13/+11 |
| | | | | | * tiny cleanup * I'm not British | ||||
* | remove unsused OsPlatform.nimVM (#17953) | Timothee Cour | 2021-05-07 | 1 | -2/+1 |
| | |||||
* | Export sslHandle in `net` and `asyncnet`. (#17573) | Ardek Romak | 2021-05-06 | 3 | -0/+12 |
| | |||||
* | Fix C++ compilation error in excpt.nim (#17951) | Danil Yarantsev | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | disable tmacro_highlight on i386, refs #17945 (#17949) | Timothee Cour | 2021-05-06 | 1 | -0/+4 |
| | |||||
* | minor cleanups (#17948) | Andreas Rumpf | 2021-05-06 | 3 | -5/+1 |
| | |||||
* | follow-up #17837: add `Console` for interactive sessions (#17930) | Andrey Makarov | 2021-05-06 | 14 | -155/+252 |
| | | | | | * follow-up #17837: add `Console` for interactive sessions * fix Latex | ||||
* | docgen: get rid of ropes (#17939) | Andrey Makarov | 2021-05-05 | 1 | -190/+146 |
| | |||||
* | fix https://github.com/timotheecour/Nim/issues/718: CompileTime is not ↵ | Timothee Cour | 2021-05-05 | 1 | -2/+5 |
| | | | | cached apparently (#17940) | ||||
* | Add copyWithin for JavaScript (#17937) | Juan Carlos | 2021-05-05 | 2 | -0/+15 |
| | | | | * Add jscore.copyWithin for seq and array * Shallow copy mention docs | ||||
* | small improvements for tut1.rst (#17935) | Miran | 2021-05-05 | 2 | -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 Cour | 2021-05-04 | 1 | -1/+1 |
| | |||||
* | parsecsv fix style (#17933) | Juan Carlos | 2021-05-04 | 1 | -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 Cour | 2021-05-04 | 1 | -1/+1 |
| | |||||
* | IC: codegen: fix (#17931) | Andreas Rumpf | 2021-05-04 | 1 | -1/+3 |
| | |||||
* | mention -d:nimLegacyConvEnumEnum in error msg (#17928) | Timothee Cour | 2021-05-03 | 1 | -0/+2 |
| | |||||
* | treetab: minor code cleanups (#17927) | Andreas Rumpf | 2021-05-03 | 1 | -6/+6 |
| | |||||
* | fix #17913 build_all.sh on M1 mac (#17917); temporary workaround | Timothee Cour | 2021-05-03 | 1 | -0/+2 |
| | |||||
* | highlite: fix #17890 - tokenize Nim escape seq-s (#17919) | Andrey Makarov | 2021-05-03 | 2 | -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 Cour | 2021-05-03 | 1 | -5/+13 |
| | | | | | * close #16123 std/sets with closures in cpp * fixup | ||||
* | CI Update (#17923) | Juan Carlos | 2021-05-02 | 2 | -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 Cour | 2021-05-02 | 16 | -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 Cour | 2021-05-01 | 2 | -2/+2 |
| | |||||
* | fix #17911 rawProc for cpp (#17912) | Timothee Cour | 2021-05-01 | 4 | -14/+93 |
| | |||||
* | system.nim cleanup some exported constants which should never have be… ↵ | Andreas Rumpf | 2021-05-01 | 10 | -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ópulos | 2021-05-01 | 1 | -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) | flywind | 2021-05-01 | 1 | -32/+30 |
| | | | | | | * [std/base64] uses runnableExamples * Update lib/pure/base64.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> |