| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
postContent (#18208)
* Fixed missing newline after bound marker in mulipart post (#14794) and a problem where calling postContent with multipart data does not set content-length header.
* Update lib/pure/httpclient.nim
* Added comment outlining the reason for changes to httpclient.nim and added tests to ensure that multipart post has a newline at the end of the body, and that the content-length header is present.
* Fixed typo in comments.
* Removed redundant blank lines in thttpclient_standalone.nim.
Co-authored-by: Mark Pointing <mark@futurepoint.com.au>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
| |
* fix nim js cmp fails at CT
* fix
|
|
|
|
|
|
|
| |
* return false if AccessDeniedError in tryMoveFSObject - fixes #18216
* add moveDir & moveFile tests
* rename `isMoveDir` parameter to `isDir`
|
| |
|
|
|
|
|
|
|
| |
* change mimedb stroe stringtable to orderedtable
* Update lib/pure/mimetypes.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
| |
* macros.treeRepr + friends: collapse SymChoice
* make repr+friends work with invalid symchoice nodes
* address comment
|
|
|
|
|
|
|
| |
* add string-string tests for find and rfind
* remove duplicate test cases
* remove more redundant test cases
|
|
|
|
|
|
|
| |
* docs: improve Latex generation
* make it work on Windows + fix ] escaping
* minor fixes with escapes and style
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
| |
|
| |
|
|
|
|
| |
distinguish from 0.0 (#18067)
|
|
|
| |
fixes https://github.com/timotheecour/Nim/issues/739
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
|
| |
(#17944)" (#17992)
This reverts commit 98c29c01eb91a0c6ce7da09380a272eebe6bca6f.
|
|
|
|
| |
increase timeout for tchannels (#18012)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
* fix #14873 properly by skipping `abi` field in importc type
* add test
* fix test for windows
|
|
|
|
|
| |
* follow-up #17837: add `Console` for interactive sessions
* fix Latex
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* typo: nonexistant => nonexistent
* fix test (ordering differs because of https://github.com/nim-lang/Nim/issues/17910)
|
| |
|
|
|
|
|
| |
* Fix nim-lang/nimforum#285 - punctuation after URL
* keep only one leaf in a rnStandaloneHyperlink
* add more complex URL
|
|
|
|
|
|
|
| |
* revive #16627 now that csources_v1 was merged
* use dedent in rst.nim, refs https://github.com/nim-lang/Nim/pull/17257#discussion_r589025683
* fix test and improve rendering of a rst warning
|
|
|
|
|
| |
* more strict RST inline markup parsing
* add test for unexpected bonus
* introduce `roPreferMarkdown`
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* move travis, appveyor, ci.yml.disabled to unmaintained
* update some mentions of travis, appevyor
* fix test
|
|
|
|
|
| |
* js generates spurious >>> on shr
* Add shr arithmetic test
* fix variables from const to let during testing
|
| |
|
|
|
|
| |
* close #9372 add std/tempfile
|
| |
|
|
|
|
|
| |
* fix #17749 SIGPIPE
* fix for windows
|