| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert "Make config processing order test more robust"
This reverts commit cf714c129f7dd598863d1cc588e685df2438c658.
* enable tmath tests
* fix #8412
* Revert "enable tmath tests"
This reverts commit 293b63f57ef71e6c43b9faf24883c998c40a9484.
* add tests
* fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix #16494
* fix
* fix
* fix
* fix
* fix
* fix performance
* add comments
* improve performance
* Update lib/system.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Update lib/system.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Update tests/stdlib/tmath_misc.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Update tests/stdlib/tmath_misc.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* added cmpMem export
* updates
* fix test
* Tiny changelog change
* Add a dot.
Co-authored-by: Clyybber <darkmine956@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* added ic specific Nim code; WIP
* make the symbol import mechanism lazy; WIP
* ensure that modules can be imported multiple times
* ambiguity checking
* handle converters and TR macros properly
* make 'enum' test category green again
* special logic for semi-pure enums
* makes nimsuggest tests green again
* fixes nimdata
* makes nimpy green again
* makes more important packages work
|
| |
|
|
|
|
|
| |
* Fix broken links in docs
* Fix rand HSlice links
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* add simple writeStackTrace for JS backend
* add testcase for writeStackTrace
* changelog
|
| |
|
|
|
|
|
|
|
|
| |
* make var string return var char w/ BackwardsIndex
fixes #14497
* work around VM bug
* properly workaround again
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
| |
* fix #15405
* fix tests
* deepcopy for ARC has to be enabled via --deepcopy:on
Co-authored-by: Araq <rumpf_a@web.de>
|
| |
|
|
|
|
|
|
|
|
|
| |
* fixes #14983
* allow bootstrapping with 0.20
* added a test case for the new system.add with a sink parameter
* make npeg green again
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
| |
This reverts commit a3e9cc52343a54cadc7b77b783e1c8b6ba2b327f.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* fixes system.add for strict funcs
* fixes #15248
|
|
|
|
|
|
|
|
| |
* Fix #5691
* Cleanup and thoughts
* Use scope approach
* Seperate defined/declared/declaredInScope magics
* Fix declaredInScope
* Update spec accordingly
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
works with -d:nodejs (#14676)
* fix #14475; make unittest work with -d:nodejs
* fixup
* fixup
* disable inim, delaunay which failed after unittest.require got fixed
* re-enable tests that have been fixed
|
|
|
|
|
|
|
|
|
|
|
| |
* I don't care about observable stores
* enforce explicit initializations
* cleaner code for the stdlib
* stdlib: use explicit initializations
* make tests green
* algorithm.nim: set result explicitly
* remove out parameters and bring the PR into a mergable state
* updated the changelog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
some bugs in testament (#14342)
* make addQuitProc great again
* fix bugs in testament
* fix test
* change 2016 => 2020
* addQuitProc => addExitProc + locks
* move to std/exitprocs
|
|
|
|
| |
* runnableExamples "-b:cpp -r:off": code
|
|
|
|
|
|
|
| |
This pragma did nothing.
Ref:
- https://github.com/nim-lang/Nim/issues/2172#issuecomment-383276469
- https://github.com/nim-lang/Nim/issues/12975
|
|
|
|
|
|
|
|
|
|
| |
* Improve nimeval, changes some defaults
This improves nimeval to make it easier to use NimScript as an embedded
scripting languages. It does change some of the defaults, so in case
anything used the old version and depended on the old behaviour these
would have to be changed.
* Remove dependency on nimhcr for nimscript
|
|
|
|
|
|
|
| |
workingDir (#14211)
* `osproc.execCmdEx` now takes an optional `input` for stdin
* execCmdEx now also takes an optional ``workingDir` and `env`
|
|
|
|
|
|
| |
* fixes #13881
* documented changed requirements for system.onThreadDestruction
* destructors.rst: update the documentation
|
|
|
|
| |
`--hint:processing:on`, like all other bool flags (#14271)
|
| |
|
|
|
|
|
| |
* fix #14217
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
|
| |
* move since from inclrtl to std/private/since
* move since import in system below for HCR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Error -> Defect for defects
The distinction between Error and Defect is subjective,
context-dependent and somewhat arbitrary, so when looking at an
exception, it's hard to guess what it is - this happens often when
looking at a `raises` list _without_ opening the corresponding
definition and digging through layers of inheritance.
With the help of a little consistency in naming, it's at least possible
to start disentangling the two error types and the standard lib can set
a good example here.
|
|
|
|
| |
* $(unsigned) now works for js
* move NimMajor+friends closer to NimVersion according as per reviewer feedback
|
|
|
| |
add tests for tinclrtl
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* stacktraces can now show custom runtime msgs
* improve tests/stdlib/tstackframes.nim
* fix test for --gc:arc
* test --stacktraceMsgs:on and --stacktraceMsgs:off
* --stacktracemsgs:off by default
|
|
|
|
|
| |
* scope based destructors
* handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim
* make this branch mergable, logic is disabled for now
|
|
|
|
|
|
|
|
|
|
| |
* allow defects to be caught even for --exceptions:goto (WIP)
* implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180
* new implementation for integer overflow checking
* produce a warning if a user-defined exception type inherits from Exception directly
* applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic'
* fixes #13627
* don't inherit from Exception directly
|