summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "swap port to correct port order (#19177)" (#19234)Jaremy Creechley2021-12-101-2/+2
| | | This reverts commit 0d0c249074d6a1041de16108dc247396efef5513.
* nimRawSetjmp: support Windows (#19197)Ștefan Talpalaru2021-12-105-10/+199
| | | | | | | | | | | | * nimRawSetjmp: support Windows Using `_setjmp()` directly is required to avoid some rare (but very annoying) exception-related stack corruption leading to segfaults on Windows, with Mingw-w64 and SEH. More details: https://github.com/status-im/nimbus-eth2/issues/3121 Also add "nimBuiltinSetjmp" - mostly for benchmarking. * fix for Apple's Clang++
* fixes an old ARC bug: the produced copy/sink operations don't copy the ↵Andreas Rumpf2021-12-096-2/+38
| | | | hidden type field for objects with enabled inheritance; fixes #19205 [backport:1.6] (#19232)
* add comments to spawn and pinnedSpawn (#19230)flywind2021-12-091-2/+4
| | | `spawn` uses `nimSpawn3` internally and `pinnedSpawn` uses `nimSpawn4` internally. I comment it in order to help contributors get the gist of its functionality.
* remove `std/sharedstrings` (#19228)flywind2021-12-093-155/+2
| | | | | | | * remove std/sharedstrings it has been broken since 0.18.0 * rephrase the changelog entry
* Add support for LoongArch (#19223)wenghongquan2021-12-096-4/+13
| | | | | | | * Add support for LoongArch * Update compiler/installer.ini Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fixes a converter handling regression that caused private converters to leak ↵Andreas Rumpf2021-12-093-2/+17
| | | | into client modules; fixes #19213; [backport:1.6] (#19229)
* Atomic inc/dec should use ATOMIC_SEQ_CST (#19212)flywind2021-12-081-3/+3
|
* Making TCC work again on Windows --cpu:amd64 - fix #16326 (#19221)rockcavera2021-12-081-2/+16
| | | | | * fix #16326 * removing comments
* fix #19193 (#19195) [backport:1.2]Tanguy2021-12-071-2/+8
|
* re-enable chronos testing once again [backport:1.2] (#19222)Andreas Rumpf2021-12-071-1/+1
|
* remove `sysspawn` which is dead code (#19218)flywind2021-12-061-187/+0
|
* allow `HSlice` bounded by constants of distinct types (#19219) [backport:1.2]Etan Kissling2021-12-062-8/+10
| | | | | | | | | When creating heterogenous slices of distinct types, the compiler does not initialize the internal type's `size` before accessing it. This then leads to this crash message: ``` compiler/int128.nim(594, 11) `false` masking only implemented for 1, 2, 4 and 8 bytes [AssertionError] ``` This patch initializes the `size` properly, fixing the problem.
* [format minor] remove unnecessary spaces (#19216)flywind2021-12-061-5/+5
|
* the title of PR should contain a brief description (#19211)flywind2021-12-061-0/+3
| | | In addition to an issue number, the title of a PR should contain a brief description; then users can follow the progress more easily from the title.
* feature_request should be labelled automatically (#19215)flywind2021-12-051-1/+1
|
* treat do with pragmas but no parens as proc (#19191)hlaaftana2021-12-053-9/+30
| | | fixes #19188
* Improve documentation around func and method (#19207)PMunch2021-12-041-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve documentation around func and method * Update doc/tut1.rst Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> * Update doc/tut1.rst Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> * Update doc/tut1.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/tut1.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/tut1.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/tut1.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/tut1.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/tut1.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/tut1.rst Co-authored-by: Zoom <ZoomRmc@users.noreply.github.com> * Update doc/tut1.rst Co-authored-by: Zoom <ZoomRmc@users.noreply.github.com> * Update doc/tut1.rst Co-authored-by: Zoom <ZoomRmc@users.noreply.github.com> * Update doc/tut1.rst Co-authored-by: Zoom <ZoomRmc@users.noreply.github.com> * Rewrite of Zooms suggestion * Update doc/tut1.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Zoom <ZoomRmc@users.noreply.github.com>
* fixes #19159 [backport:1.6] (#19210)Andreas Rumpf2021-12-042-3/+16
|
* fixes #19198 [backport:1.6] (#19209)Andreas Rumpf2021-12-043-16/+41
| | | | | * fixes #19198 [backport:1.6] * added a test case
* fixes #19015 [backport:1.6] (#19204)Andreas Rumpf2021-12-044-2/+10
|
* misc bugfixes [backport:1.2] (#19203)Andreas Rumpf2021-12-042-17/+12
|
* feat: TLS-ALPN wrappers for OpenSSL (#19202)Iced Quinn2021-12-041-0/+14
| | | Co-authored-by: Iced Quinn <icedquinn@iceworks.cc>
* swap port to correct port order (#19177)Jaremy Creechley2021-11-241-2/+2
| | | Co-authored-by: Jaremy Creechley <jaremy.creechley@panthalassa.com>
* 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
|