| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
This reverts commit 0d0c249074d6a1041de16108dc247396efef5513.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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++
|
|
|
|
| |
hidden type field for objects with enabled inheritance; fixes #19205 [backport:1.6] (#19232)
|
|
|
| |
`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
it has been broken since 0.18.0
* rephrase the changelog entry
|
|
|
|
|
|
|
| |
* Add support for LoongArch
* Update compiler/installer.ini
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
| |
into client modules; fixes #19213; [backport:1.6] (#19229)
|
| |
|
|
|
|
|
| |
* fix #16326
* removing comments
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
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.
|
| |
|
|
|
| |
fixes #19188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 #19198 [backport:1.6]
* added a test case
|
| |
|
| |
|
|
|
| |
Co-authored-by: Iced Quinn <icedquinn@iceworks.cc>
|
|
|
| |
Co-authored-by: Jaremy Creechley <jaremy.creechley@panthalassa.com>
|
| |
|
| |
|
|
|
|
| |
* renamed 'gc' switch to 'mm'; [backport:1.6]
* better docs
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* `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
* compile with nim 1.0
* Fix indentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
|
|
| |
(#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>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
| |
* implement urandom for Zephyr
* add monotime on zephyr
Co-authored-by: Jaremy Creechley <jaremy.creechley@panthalassa.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* refactoring: orc can use getThreadId()
* progress
|
| |
|