summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* accept object type node from macros (#19179)hlaaftana2021-11-242-1/+17
|
* fix inline syntax highlighting in system.nim (#19184)Andrey Makarov2021-11-241-0/+1
|
* renamed 'gc' switch to 'mm'; [backport:1.6] (#19187)Andreas Rumpf2021-11-2411-143/+157
| | | | * renamed 'gc' switch to 'mm'; [backport:1.6] * better docs
* parseExpr/parseStmt accept filename, fixes #13540 (#19182)hlaaftana2021-11-246-13/+32
|
* make JS trunc polyfill opt-in, closes #16144 (#19183)hlaaftana2021-11-242-4/+10
|
* fix #12274 (#19180)hlaaftana2021-11-242-1/+10
|
* `caseStmtMacros` no longer experimental, experimental manual refactor (#19173)hlaaftana2021-11-237-798/+816
| | | | | | | | | | | * `caseStmtMacros` no longer experimental, experimental manual refactor * Update doc/manual.rst * apply review suggestions * apply review Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* implement RST & Markdown quote blocks (#19147)Andrey Makarov2021-11-237-12/+617
| | | | | | | * implement RST & Markdown quote blocks * compile with nim 1.0 * Fix indentation
* Implement threads on Zephyr (#19156)Jaremy Creechley2021-11-233-9/+36
| | | | | | | | | | | | | | | | | | | * pthreads setup for zephyr - enable tweak stack size - update lib/system/threads.nim - Fix int/uint in casting pointer. * add documentation and tweak flag names * add documentation and tweak flag names * fix configuration flag names * fix configuration flag names * cleanup Co-authored-by: Jaremy Creechley <jaremy.creechley@panthalassa.com>
* Accept nnkTypeSection from typedef macro pragmas (#19168)hlaaftana2021-11-224-6/+110
|
* Testament now checks OS, CPU, endianess, bitsizes 8-64 in discard statements ↵quantimnot2021-11-191-20/+50
| | | | | | | | | (#19137) * Testament checks host/cpu in compiler/platform for discard spec statement * Remove duplicated value checks, add comments, add all cpu bit sizes and endianesses Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* Update dependency (#19151)OxFred2021-11-171-1/+1
|
* fix marshal bugs in VM (#19161) [backport:1.6]flywind2021-11-172-6/+10
|
* Enable customizing PageShift to set PageSize for embedded targets (#19129)Jaremy Creechley2021-11-163-5/+36
| | | | | | | | | | | | | | | | * Enable customizing PageSize (via PageShift). This enables adjusting PageSize for embedded targets without abusing cpu16. * copy nimPageXYZ settings for mmpaptest * add docs for Nim manual * add docs for Nim manual * docs tweaks Co-authored-by: Jaremy Creechley <jaremy.creechley@panthalassa.com>
* fixes .raises inference for newSeq builtin under --gc:orc [backport] (#19158)Andreas Rumpf2021-11-161-1/+1
|
* Implement zephyr urandom and monotime (#19142)Jaremy Creechley2021-11-142-1/+18
| | | | | | | * implement urandom for Zephyr * add monotime on zephyr Co-authored-by: Jaremy Creechley <jaremy.creechley@panthalassa.com>
* wrong spaces (3 => 2) (#19145)flywind2021-11-141-1/+1
|
* Fix undeclared 'SYS_getrandom' on emscripten (#19144)Anuken2021-11-131-1/+1
|
* Fix punycode.decode function (#19136)Christoph Krybus2021-11-122-16/+217
| | | | | | | | | | | | | | * Refactor: rename proc to func * Fix punycode.decode function This function could only properly decode punycodes containing a single encoded unicode character. As soon as there was more than one punycode character group to decode it produced invalid output - the number of characters was correct, but their position was not. * Update tpunycode.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* Merge file size fields correctly on Windows (#19141)Clay Sweetser2021-11-121-1/+5
| | | | | | | | | | * Merge file size fields correctly on Windows Merge file size fields correctly on Windows - Merge the two 32-bit file size fields from `BY_HANDLE_FILE_INFORMATION` correctly in `rawToFormalFileInfo`. - Fixes #19135 * Update os.nim
* fixes #19051 [backport:1.6] (#19133)Andreas Rumpf2021-11-122-3/+25
|
* Fix type mismatch with future logging (#19131)Jake Leahy2021-11-121-1/+1
|
* update manual (#19130) [backport]flywind2021-11-121-2/+2
|
* fixed colorNames sorting mistake (#19125) [backport]orthoplex2021-11-111-1/+1
|
* refactoring: orc can use getThreadId() (#19123)Andreas Rumpf2021-11-114-96/+110
| | | | | * refactoring: orc can use getThreadId() * progress
* correct cookie docs (#19122)flywind2021-11-111-2/+1
|
* Add security tip for setCookie (#19117)Federico Ceratto2021-11-111-0/+3
| | | | | | | | | | | | | | | * Add security tip for setCookie * Update lib/pure/cookies.nim Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> * Update lib/pure/cookies.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Remove tlsEmulation enabled from Windows + GCC config (#19119) [backport:1.6]Ryan Oldenburg2021-11-111-3/+0
| | | This flag has a very significant performance impact on programs compiled with --threads:on. It is also apparently not needed anymore for standard circumstances. Can we remove the config? See https://github.com/nim-lang/Nim/issues/18146#issuecomment-876802676 for discussion and perf impact. [backport:1.6]
* Call {.cursor.} a pragma. (#19116)treeform2021-11-101-8/+8
| | | | | | | | | | * Call {.cursor.} a pragma. Its hard to find .curser annotation while googling because all other things like it are called pragmas. See https://nim-lang.org/docs/manual.html#pragmas Also the . in front of the name makes it hard to find and search for. Can we just call it cursor pragma? * Small fix for comment.
* fixes #14470 [backport:1.2] (#19115)Andreas Rumpf2021-11-091-1/+2
|
* fix nimindexterm in rst2tex/doc2tex [backport] (#19106)Andrey Makarov2021-11-093-2/+18
| | | | | * fix nimindexterm (rst2tex/doc2tex) [backport] * Add support for indexing in rst
* Deprecate `std/sharedlist` and `std/sharedtables` (#19112)konsumlamm2021-11-097-9/+7
|
* Add deprecation pragmas in lib/deprecated/pure (#19113)konsumlamm2021-11-095-7/+13
|
* fixes #19011 [backport:1.6] (#19114)Andreas Rumpf2021-11-091-1/+1
|
* fixes #19013 [backport:1.6] (#19111)Andreas Rumpf2021-11-094-8/+46
| | | | | * fixes #19013 [backport:1.6] * added test case
* Update readme.md: matrix links (#19109)Zoom2021-11-081-0/+4
| | | | Added links to the main #nim-lang room on Matrix and to the Nim matrix space. Added Matrix badge.
* change os.nim doc links to new style (#19102)Andrey Makarov2021-11-088-321/+345
|
* Remove invalid statements about try in async docs. (#19108)Dominik Picheta2021-11-081-13/+13
|
* fixes another effect inference bug [backport:1.6] (#19100)Andreas Rumpf2021-11-077-11/+85
| | | | * fixes another effect inference bug [backport:1.6]
* fix for #19020, credit to @ElegantBeef (#19021)Don-Duong Quach2021-11-031-1/+1
|
* Use testament to check Norm test pass (#19018)Constantine Molchanov2021-11-032-2/+2
| | | | | | | | | | | * Use testament to check Norm test pass This is what I actually use to test Norm, so it's better to use it. This should not currently pass. This is expected because this is exactly the problem I want to highlight with this PR. My tests do indeed not pass at the moment. * Remove clearNimblePath from testament command. Co-authored-by: flywind <xzsflywind@gmail.com>
* Added support for sending "ehlo" and receiving multiline "ehlo" response. ↵David Krause2021-11-032-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (#19077) * Added support for sending "ehlo" and receiving multiline "ehlo" response. Signed-off-by: David Krause <enthus1ast@users.noreply.github.com> * fix typo Signed-off-by: David Krause <enthus1ast@users.noreply.github.com> * send "EHLO" first, if not supported, send "HELO" to smtp server. Signed-off-by: David Krause <enthus1ast@users.noreply.github.com> * fix english Signed-off-by: David Krause <enthus1ast@users.noreply.github.com> * add changelog entry for smtp `ehlo` Signed-off-by: David Krause <enthus1ast@users.noreply.github.com> * recvEhlo must not be exported Signed-off-by: David Krause <enthus1ast@users.noreply.github.com>
* manual: Document that comma propagates the default values of parameters (#19080)Kaushal Modi2021-11-032-1/+29
| | | | | | | | | | | | | * manual: Document that comma propagates the default values of parameters Fixes https://github.com/nim-lang/Nim/issues/15949. * Use the "bug #NNNN" comment syntax for consistency Ref: https://nim-lang.github.io/Nim/contributing.html#writing-tests-stdlib > Always refer to a GitHub issue using the following exact syntax: bug for tooling.
* manual: Document the use of `static` as a proc call (#19084)Kaushal Modi2021-11-033-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | * manual: Document the use of `static` as a proc call Also adds tests. Fixes https://github.com/nim-lang/Nim/issues/16987 . * Update doc/manual.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Use the "bug #NNNN" comment syntax for consistency Ref: https://nim-lang.github.io/Nim/contributing.html#writing-tests-stdlib > Always refer to a GitHub issue using the following exact syntax: bug for tooling. * manual: Undocument usage of foo.static foo.static and foo.static() are not expected to work. Ref: https://github.com/nim-lang/Nim/pull/19084/files#r741203578 Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Add test for issue 15435 (#19079)Kaushal Modi2021-11-031-0/+29
| | | | | | | | | * Add test for issue 15435 Closes https://github.com/nim-lang/Nim/issues/15435. * Specify bug # in comment Addresses https://github.com/nim-lang/Nim/pull/19079#discussion_r740279547
* build testament in package CI (#19092)flywind2021-11-021-1/+2
| | | | | * build testament in package CI * Update testament/important_packages.nim
* fixes #19078 [backport] (#19090)Andreas Rumpf2021-11-024-5/+12
|
* remove the mention of travis from readme (#19093)flywind2021-11-021-2/+1
|
* docstyle.rst: Do not export it to HTML as a standalone doc (#19083)Kaushal Modi2021-11-021-1/+4
| | | | | .. This doc is included in contributing.rst. Fixes https://github.com/nim-lang/Nim/issues/14593.
* libs/impore/re: Add note about the requirement of `matches` to be ↵Kaushal Modi2021-11-021-0/+34
| | | | | | | pre-allocated (#19081) Add few runnableExamples for `findBounds` for clarity. Fixes https://github.com/nim-lang/Nim/issues/18775