| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* doAssertRaises now correctly handles foreign exceptions; now shows which exception is raised on mismatch
* nimscript now handles `Exception as e`
* remove catch-all doAssertRaises overload from this PR
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
| |
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: b3liever <b3liever@yandex.com>
|
|
|
|
| |
(#15697)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* refactoring: idents don't need inheritance
* refactoring: adding an IdGenerator (part 1)
* refactoring: adding an IdGenerator (part 2)
* refactoring: adding an IdGenerator (part 3)
* refactoring: adding an IdGenerator (part 4)
* refactoring: adding an IdGenerator (part 5)
* refactoring: adding an IdGenerator (part 5)
* IdGenerator must be a ref type; hello world works again
* make bootstrapping work again
* progress: add back the 'exactReplica' ideas
* added back the missing exactReplica hacks
* make tcompilerapi work again
* make important packages green
* attempt to fix the build for 32 bit machines (probably need a better solution here)
|
| |
|
|
|
|
|
| |
* $(uint|uint64) now works with nimscript
* fixup
|
|
|
| |
Co-authored-by: Recruit_main707 <Recruit_main707@users.noreply.github.com>
|
|
|
|
|
| |
* progress
* fix typo
|
|
|
|
|
|
|
|
|
|
|
| |
* change SysLockType_Reentrant
fix edge case where using SysLockType_Reentrant doesn't trigger an #include pthread.h
* syslocktype_reentrant now a var
* remove nodecl to remove empty system_syslocks.c
* let is better than var.
in reality SysLockType = enum, maybe that would be a better fix
|
| |
|
|
|
|
| |
easier stress testing (#15572)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* deinitLock
* minor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* nimStackTraceOverride: enable stack traces in exceptions
This is a two-step stack trace collection scheme, because re-raised
exceptions will collect multiple stack traces but use them rarely, when
printing info about an uncaught exception, so it makes sense to only do
the cheap stack unwinding all the time and the relatively expensive
debugging information collection on-demand.
`asyncfutures` implements its own `$` proc for printing
`seq[StackTraceEntry]`, so we have to add the debugging info there, just
like we do for the private `$` proc in `system/excpt`.
* cleaned up PR #15284
Co-authored-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com>
|
|
|
|
| |
anyway and --newruntime is dead (#15374)
|
| |
|
| |
|
|
|
|
|
|
| |
(#7612) (#11410)
Co-authored-by: drswinghead <drswinghead@gmail.com>
Co-authored-by: Clyybber <darkmine956@gmail.com>
|
|
|
|
|
| |
* introduced --define:nimArcIds
* ORC: bugfixes
|
| |
|
| |
|
| |
|
|
|
|
| |
* update c_malloc's to csize_t
|
|
|
|
|
| |
* fixes #15210 [backport:1.2]
* use patched version of bigints library
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF)
Adding FreeRTOS/LwIP to compiler:
* adding freertos option
* dyncalls for freertos
* add freertos to posix os list
* adding lwip option
Setting up networking FreeRTOS/LwIP Port:
* setting up lwip network for freertos
* fixing posix / networking for freertos
* disable setInheritable for freerots
* using lwip for net control items
* Fix builds by ignoring lib/posix/posix_freertos_consts.nim similar to lib/posix/posix_other_consts.nim
|
|
|
|
|
|
|
|
|
| |
* gc_regions: withRegion nows return the modified MemRegion
* gc_regions: make withScratchRegion dealloc correctly
* tests/gc: add tregionleak test
This test checks if memory within regions are freed properly.
|
|
|
|
| |
code compatibility (#15105)
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* readLine: Unicode support for Windows console
When input is read from the Windows console, input encoding is UTF16. This is translated internally to UTF8.
* readLine: Remove recursive imports
* readLine: Fix issues with --gc:arc
**--gc:arc** defines **nimv2**. This changes the definition of **WideCStringObj**.
Also an empty string should be returned in case of EOF.
|
| |
| |
| |
| | |
**--gc:arc** defines **nimv2**. This changes the definition of **WideCStringObj**.
Also an empty string should be returned in case of EOF.
|
| | |
|
| |
| |
| | |
When input is read from the Windows console, input encoding is UTF16. This is translated internally to UTF8.
|
| |
| |
| |
| |
| |
| |
| | |
* io: fix SetHandleInformation signature to match Windows'
Fixes #14980
* rename Handle -> IoHandle because system.nim is a mess
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* Fix #14994
* Revert misplaced "optimization"
* Typo
|
| |
| |
| |
| |
| |
| |
| | |
* Support proc in arc repr
* Typo
* Improve repr for strings and chars
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* {.deprecated: [existsFile: fileExists].}
* s/existsFile/fileExists/ except under deps
* workaround pending #14819
* fix test
|
|/
|
|
| |
* Remove and/or clean out Deprecated 'add' proc for floats
* Update a test
|