| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix pqSetSingleRowMode case. Add links to the docs
* Add missing PGContextVisibility enum
* Remove unused PGContextVisibility enum
* Improve db_postgres iterators
* Fix instantRows with DbColumns. Cosmetics.
* Reduce copy&paste in db_postgres
* Move pqclear inside loop
|
|
|
|
|
|
|
|
|
| |
* reuse algorithm.fill while building SkipTable
* Update lib/pure/strutils.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
| |
|
|
|
|
|
| |
* added float32 schubfach algorithm; wip
* fixes #18418
|
|
|
|
|
| |
* Ref #17697 improve withValue docs
* address comments
|
| |
|
|
|
|
| |
* reduce duplicated deprecated messages
|
|
|
|
| |
nested templates (#18082)
|
|
|
|
|
| |
* use dragonbox algorithm; alternative to #18008
* removed unsafe code
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
* deprecate macros.unpackVarargs
* un-deprecate unpackVarargs and add docs+runnableExamples
* update examples + tests with varargs[typed]
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
toOpenArray instead (#18047)
* close #16569: deprecated reversed overload, use toOpenArray instead
* [skip ci] change wording in changelog per review
* 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)
|
|
|
| |
fixes https://github.com/timotheecour/Nim/issues/739
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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.
|
| |
|
|
|
|
| |
* 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>
|
| |
|
|
|
| |
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]
|
|
|
| |
This reverts commit c218f2ba0b8e27110087ea754c11cff123806a94.
|
| |
|
|
|
| |
Fix https://github.com/nim-lang/Nim/issues/17925
|
| |
|
|
|
|
|
| |
(#17944)" (#17992)
This reverts commit 98c29c01eb91a0c6ce7da09380a272eebe6bca6f.
|
|
|
|
| |
increase timeout for tchannels (#18012)
|
|
|
|
|
| |
* `doc2tex`: generate docs to Latex
* address some comments
|
|
|
|
|
|
|
|
|
| |
* ORC: progress
* ORC: bugfix; don't follow acyclic data even if only at runtime the subtype is marked as acyclic
* progress
* minor style changes
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* improve std/tempfiles
* fixup
* fix windows
* improve test
* improve runnableExamples and tests
* address comment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
(#17967)" (#17984)
This reverts commit f4dd95f3bee14b69caec63c3be984c4a75f43c8a.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* deprecate `uri.initUri` and improve uri examples
* remove `func initUri*()` and make isIpv6 optional
* fixup
|
|
|
|
|
| |
* fixed a .cursor inference bug
* added a test case
|
|
|
|
|
|
|
| |
generic (#17942)
* fix #17941: UnusedImport works for var/let/const/type invoked inside a generic
* fixup
|
|
|
|
|
|
|
| |
* fix #14873 properly by skipping `abi` field in importc type
* add test
* fix test for windows
|
| |
|