| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* docs: improve Latex generation
* make it work on Windows + fix ] escaping
* minor fixes with escapes and style
|
|
|
|
|
|
|
|
|
|
|
| |
* [std/re] make interface consistent
* tiny
* revert
* close #18129 add setCurrentException
* changelog entry
|
|
|
|
|
|
|
| |
* [std/re] make interface consistent
* tiny
* revert
|
|
|
|
|
| |
* Fixes 5034
* address comments
|
|
|
|
|
| |
* jsonutils.toJson now serializes JsonNode as is (without deep copy nor treating it as a regular ref object)
* JsonNodeMode
|
|
|
|
|
|
|
| |
* add `os.getCacheDir`
* fixup
* address comments
|
|
|
|
|
|
|
|
|
| |
* close #18092 [skip ci] document elif in case statements
* fixup
* clarify spec; mention special rule for string in case statements
* address comments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
| |
* deprecate macros.unpackVarargs
* un-deprecate unpackVarargs and add docs+runnableExamples
* update examples + tests with varargs[typed]
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Linux_i386 (#18107)
|
|
|
|
|
|
| |
* Fixes #17849
* Update compiler/closureiters.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
| |
toOpenArray instead (#18047)
* close #16569: deprecated reversed overload, use toOpenArray instead
* [skip ci] change wording in changelog per review
* fixup
|
| |
|
|
|
| |
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
(#18085)
|
| |
|
| |
|
|
|
|
|
|
|
| |
* refactor CI with nimInternalInstallDepsWindows
* refactor CI with nimInternalBuildKochAndRunCI
* fixup
|
|
|
|
|
|
|
| |
* remove some custom logic in testament around flags, testExec
* remove testExec, custom logic around flags from testament
* fixup
|
|
|
|
|
|
|
|
|
|
| |
* improve runnableExamples in std/httpclient
* Add synchronous example.
* Update lib/pure/httpclient.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
|
|
|
| |
distinguish from 0.0 (#18067)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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>
|
|
|
| |
fixes https://github.com/timotheecour/Nim/issues/739
|
|
|
|
| |
* Fix inconsistent spacings in generated JS of jsgen
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
* Update tests/arc/tnewseq_legacy.nim
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
symbolName; add symbolRank (#18029)
* jsonutils: add customization for toJson via `ToJsonOptions`
* add enumutils.symbolRank
* lookup table implementation for HoleyEnum
* cleanup
* changelog
* fixup
* Update lib/std/jsonutils.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
|
|
|
|
|
| |
* Fix running testament c nimble-packages without batch arg
* Fix
|
| |
|
|
|
| |
This allows the ability to set a checkbox as checked programmatically. It's different from `setAttribute` because once an input has been clicked on by the user, `setAttribute` no longer works programmatically.
|
|
|
|
|
| |
* follow-up #17930 - inline syntax highlighting
* make closure->nimcall
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
invalid json (#18026)
* fix #18007: std/json now serializes nan,inf,-inf as raw strings instead of invalid json
* fix roundtrip
* fix tests
* fix changelog
* simplify
* add runnableExamples
* fix typo [skip ci]
|
| |
|
|
|
|
| |
`a.badfield = expr`) (#17777)
|