Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added float32 schubfach algorithm; wip (#18155) | Andreas Rumpf | 2021-06-03 | 5 | -1/+478 |
| | | | | | * added float32 schubfach algorithm; wip * fixes #18418 | ||||
* | Ref #17697 improve withValue docs (#18154) | flywind | 2021-06-03 | 1 | -31/+50 |
| | | | | | * Ref #17697 improve withValue docs * address comments | ||||
* | [std/tables] remove unnecessary `do: ` (#18160) | flywind | 2021-06-02 | 1 | -10/+16 |
| | |||||
* | [std/hashcommon]improve docs a bit (#18153) | flywind | 2021-06-02 | 1 | -3/+3 |
| | | | | * reduce duplicated deprecated messages | ||||
* | fix #16993, #18054, #17835 runnableExamples now works with templates and ↵ | Timothee Cour | 2021-06-02 | 8 | -46/+108 |
| | | | | nested templates (#18082) | ||||
* | add string-string tests for find and rfind (#18137) | n5m | 2021-06-02 | 1 | -3/+98 |
| | | | | | | | * add string-string tests for find and rfind * remove duplicate test cases * remove more redundant test cases | ||||
* | refactoring: removed empty withBracketExpr template (#18152) | Andreas Rumpf | 2021-06-02 | 2 | -14/+6 |
| | |||||
* | fixes #18059 (#18140) | Andreas Rumpf | 2021-06-02 | 3 | -3/+80 |
| | | | | * fixes #18059 | ||||
* | use dragonbox algorithm; alternative to #18008 (#18139) | Andreas Rumpf | 2021-06-01 | 5 | -50/+1408 |
| | | | | | * use dragonbox algorithm; alternative to #18008 * removed unsafe code | ||||
* | docs: Latex generation improvements (#18141) | Andrey Makarov | 2021-06-01 | 6 | -128/+252 |
| | | | | | | | * docs: improve Latex generation * make it work on Windows + fix ] escaping * minor fixes with escapes and style | ||||
* | close #18129 Add setCurrentException for JS backend (#18145) | flywind | 2021-06-01 | 3 | -1/+12 |
| | | | | | | | | | | | * [std/re] make interface consistent * tiny * revert * close #18129 add setCurrentException * changelog entry | ||||
* | [std/re] fix findBounds and find procs (#18028) | flywind | 2021-05-31 | 1 | -2/+2 |
| | | | | | | | * [std/re] make interface consistent * tiny * revert | ||||
* | Fixes #5034 illformed AST from getImpl with proc returning value (#17976) | Dylan Modesitt | 2021-05-31 | 2 | -4/+52 |
| | | | | | * Fixes 5034 * address comments | ||||
* | jsonutils.toJson now serializes JsonNode as is by default (#18097) | Timothee Cour | 2021-05-31 | 3 | -5/+41 |
| | | | | | * jsonutils.toJson now serializes JsonNode as is (without deep copy nor treating it as a regular ref object) * JsonNodeMode | ||||
* | add `os.getCacheDir` (#18126) | Timothee Cour | 2021-05-31 | 3 | -7/+43 |
| | | | | | | | * add `os.getCacheDir` * fixup * address comments | ||||
* | close #18092 document elif in case statements (#18105) | Timothee Cour | 2021-05-31 | 1 | -12/+18 |
| | | | | | | | | | * close #18092 [skip ci] document elif in case statements * fixup * clarify spec; mention special rule for string in case statements * address comments | ||||
* | fix #16256: nimout: <empty> should give error (vacuously true); improve a ↵ | Timothee Cour | 2021-05-31 | 7 | -106/+73 |
| | | | | | | | | | | | | | | | | | | | few tests (#18089) * fix #16256: nimout: <empty> should give error (vacuously true); improve some tests * renamed: tests/stdlib/t9710.nim -> tests/misc/t9710.nim * improve tests * fix non-DRY tests * improve $nim_prs_D/tests/stdlib/t9091.nim * renamed: tests/stdlib/t9091.nim -> tests/misc/t9091.nim * fixup * address comment: doAssert => result.parseErrors | ||||
* | fix #18113 (#18124) | Saem Ghani | 2021-05-31 | 3 | -2/+21 |
| | |||||
* | improve fast returns of find and rfind (#18127) | n5m | 2021-05-31 | 2 | -1/+31 |
| | |||||
* | document macros.unpackVarargs (#18106) | Timothee Cour | 2021-05-31 | 3 | -0/+66 |
| | | | | | | | * deprecate macros.unpackVarargs * un-deprecate unpackVarargs and add docs+runnableExamples * update examples + tests with varargs[typed] | ||||
* | dont silence hints in system.nim (#18034) | Timothee Cour | 2021-05-30 | 1 | -2/+2 |
| | |||||
* | hashes for refs should be an opt-in feature (#18098) | Miran | 2021-05-30 | 4 | -5/+16 |
| | |||||
* | fix warnings/hints in nimdoc/tester.nim (#18083) | Timothee Cour | 2021-05-30 | 3 | -13/+16 |
| | | | | | | | * fix warnings/hints in nimdoc/tester.nim * improve err msg for nimdoc/tester.nim and change flag from fixup to nimTestsNimdocFixup * address comment: put back quit instead of doAssert | ||||
* | upgrade ubuntu 16.04 (not supported starting dec 2021) => 18.04; revive ↵ | Timothee Cour | 2021-05-30 | 2 | -8/+10 |
| | | | | Linux_i386 (#18107) | ||||
* | Fixes #17849 (#18055) [backport:1.2] | Yuriy Glukhov | 2021-05-30 | 2 | -1/+21 |
| | | | | | | * Fixes #17849 * Update compiler/closureiters.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | close #16569: deprecated `reversed(a, start, last)` overload, use ↵ | Timothee Cour | 2021-05-30 | 2 | -30/+13 |
| | | | | | | | | | toOpenArray instead (#18047) * close #16569: deprecated reversed overload, use toOpenArray instead * [skip ci] change wording in changelog per review * fixup | ||||
* | Disable tasynchttpserver_transferencoding on FreeBSD (#18122) | vabresto | 2021-05-29 | 1 | -0/+1 |
| | |||||
* | Minor doc fixes; follow up to 17258 and 17259 (#18123) | quantimnot | 2021-05-29 | 3 | -5/+5 |
| | | | Co-authored-by: quantimnot <quantimnot@users.noreply.github.com> | ||||
* | fix #17456 flaky test tasynchttpserver_transferencoding (#18052) | vabresto | 2021-05-28 | 1 | -23/+32 |
| | |||||
* | fix typo in ci/funs.sh (#18115) | Timothee Cour | 2021-05-27 | 1 | -1/+1 |
| | |||||
* | testament: remove deadcode related to realtimeGC, testC, callCCompiler (#18087) | Timothee Cour | 2021-05-26 | 6 | -162/+15 |
| | |||||
* | change `--hint[X] => --hint:X` in nim repo (avoids shell quoting issues) ↵ | Timothee Cour | 2021-05-26 | 15 | -25/+25 |
| | | | | (#18085) | ||||
* | fix #18077 testament now parses `cmd` properly (#18086) | Timothee Cour | 2021-05-26 | 3 | -16/+61 |
| | |||||
* | close #3482 no more cgen error with typed templates (#18094) | Timothee Cour | 2021-05-26 | 1 | -0/+15 |
| | |||||
* | refactor common code in CI pipelines (#18035) | Timothee Cour | 2021-05-26 | 8 | -53/+34 |
| | | | | | | | * refactor CI with nimInternalInstallDepsWindows * refactor CI with nimInternalBuildKochAndRunCI * fixup | ||||
* | remove some custom logic in testament around flags, testExec (#18090) | Timothee Cour | 2021-05-26 | 4 | -48/+30 |
| | | | | | | | * remove some custom logic in testament around flags, testExec * remove testExec, custom logic around flags from testament * fixup | ||||
* | Move async example to asynchronous version of proc (#18078) | xioren | 2021-05-24 | 1 | -7/+14 |
| | | | | | | | | | | * improve runnableExamples in std/httpclient * Add synchronous example. * Update lib/pure/httpclient.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> | ||||
* | close #18009 parseJson JInt vs JFloat; preserve -0.0 as JFloat to ↵ | Timothee Cour | 2021-05-23 | 2 | -2/+17 |
| | | | | distinguish from 0.0 (#18067) | ||||
* | pkg/pixie: use latest (#18069) | Timothee Cour | 2021-05-23 | 1 | -1/+1 |
| | |||||
* | Use gmake for NetBSD as well as FreeBSD/OpenBSD (#18064) | Euan | 2021-05-23 | 1 | -0/+2 |
| | |||||
* | close #5540 generic object with generic field evaluated too early (#18062) | Timothee Cour | 2021-05-23 | 1 | -0/+45 |
| | |||||
* | Error message minor (#18021) | Juan Carlos | 2021-05-22 | 2 | -2/+2 |
| | | | | | | | * Update compiler/semtypes.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | docs: make inline markup more compatible with Markdown (#18053) | Andrey Makarov | 2021-05-21 | 6 | -61/+167 |
| | | | fixes https://github.com/timotheecour/Nim/issues/739 | ||||
* | jsgen improve spacing (#18048) | Juan Carlos | 2021-05-20 | 2 | -32/+32 |
| | | | | * Fix inconsistent spacings in generated JS of jsgen | ||||
* | config system: special case -d:release and -d:danger [backport:1.4] (#18051) | Andreas Rumpf | 2021-05-20 | 6 | -7/+27 |
| | |||||
* | asyncdispatch+stackTraceOverride: fix premature collection (#18039) ↵ | Ștefan Talpalaru | 2021-05-19 | 4 | -17/+36 |
| | | | | | | | | | | | | | | | | | | | | | | [backport:1.2] Copying StackTraceEntry instances when nimStackTraceOverride is defined breaks the link between a cstring field that's supposed to point at another string field in the same object. Sometimes, the original object is garbage collected, that memory region reused for storing other strings, so when the StackTraceEntry copy tries to use its cstring pointer to construct a traceback message, it accesses unrelated strings. This only happens for async tracebacks and this patch prevents that by making sure we only use the string fields when nimStackTraceOverride is defined. Async tracebacks also beautified slightly by getting rid of an extra line that was supposed to be commented out, along with the corresponding debugging output. There's also a micro-optimisation to avoid concatenating two strings just to get their combined length. | ||||
* | make strformat part of the prelude (#18046) | Andreas Rumpf | 2021-05-19 | 2 | -1/+4 |
| | |||||
* | fixes #17943 (#18045) | Andreas Rumpf | 2021-05-19 | 3 | -16/+24 |
| | | | | | | | | | | | * fixes #17943 * IC: test 'nim check --ic:on' for the full Nim compiler * Update testament/testament.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com> | ||||
* | ARC: fixes memory leaks with newSeq used in a loop [backport:1.4] (#18040) | Andreas Rumpf | 2021-05-18 | 3 | -1/+23 |
| | | | | * ARC: fixes memory leaks with newSeq used in a loop [backport:1.4] * Update tests/arc/tnewseq_legacy.nim | ||||
* | disable pkg/fidget refs https://github.com/treeform/fidget/issues/155 (#18043) | Timothee Cour | 2021-05-18 | 1 | -1/+1 |
| |