summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* IC: compilerprocs are handled correctly (#17265)Andreas Rumpf2021-03-098-39/+120
| | | | | | | * IC: compilerprocs are handled correctly * IC: special logic for .exportC'ed procs * IC: 'hello world' compiles for the first round (2nd round fails) * IC: hello world seems to work
* improve test coverage for isolation (#17297)flywind2021-03-082-16/+115
| | | | | * improve test coverage for isolation * a bit better
* add testcase for #12005 (#17278)flywind2021-03-081-0/+14
| | | | | | | | | | | | | | | | | | | | | * remove unnecessary when statement * remove outdated codes * reuse jsffi * move js json coverage * close #12005 add testcase * Update tests/stdlib/tthreadpool.nim * Update tests/stdlib/tthreadpool.nim * Update tests/stdlib/tthreadpool.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* add setutils.[]= (#17272)Timothee Cour2021-03-083-4/+29
| | | | | * add setutils.[]= * address comments * proc => func (for other symbols too)
* Add Debug breakpoints support (#17295)Juan Carlos2021-03-082-0/+8
| | | | | * Add Debug breakpoints support * Add Debug breakpoints support
* stdlib/os: add isAdmin (#17012)Roman Inflianskas2021-03-074-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | * stdlib/os: add isAdmin * uint8 -> cuchar, assert isAdmin on Azure Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update lib/pure/os.nim docs Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Address comments on #17012 * Raise on errors in #17012 * Check the result of FreeSid in #17012 * Change case in #17012 * Fix memory leak in #17012 * Address comments in #17012 Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* fix #17267 (#17273)flywind2021-03-072-2/+11
| | | | | | | | | | | | | | | | | * remove unnecessary when statement * remove outdated codes * reuse jsffi * move js json coverage * fix #17267 * address comments * Update compiler/main.nim * Update tests/threads/tjsthreads.nim
* use lowercase --define switches (#17283)flywind2021-03-0721-45/+45
|
* Add module jsfetch (#12531)Juan Carlos2021-03-065-1/+351
| | | | | | | | | | | | * Add module jsfetch for fetch support for JavaScript target https://developer.mozilla.org/docs/Web/API/Fetch_API * Update lib/std/jsheaders.nim * Update lib/std/jsformdata.nim * Update lib/std/jsfetch.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: flywind <xzsflywind@gmail.com>
* runnableExamples for walkFiles + friends (#17271)Timothee Cour2021-03-061-0/+12
| | | | | * runnableExamples for walkFiles + friends * address comments
* Fix #16437 (#17277)Clyybber2021-03-065-36/+75
| | | | | | | * Fix #16437 * Fix * Small cleanup
* remove deprecated config (#17269)flywind2021-03-051-2/+0
|
* add warnings to std/isolation (#17270)flywind2021-03-051-0/+3
| | | | | | | | | | | * remove unnecessary when statement * remove outdated codes * reuse jsffi * move js json coverage * add warnings to std/isolation
* Add unsafeIsolate and extract to std/isolation [backport:1.4] (#17263)flywind2021-03-052-0/+10
|
* Fix macros.quote custom op symbol interpolation. (#17256)quantimnot2021-03-054-51/+85
| | | | | | | | | | Provides a workaround/fix for #7589. https://github.com/nim-lang/Nim/issues/7589 Updated docs and tutorial to reflect change. Updated runnableExamples to include an example. Co-authored-by: name <name@example.com>
* fix #17264 [backport:1.4] (#17266)flywind2021-03-055-5/+25
| | | | | * fix #17264 * fix vm * fix js and add tests
* Remove support for named procs with sugar.=> (#17220)konsumlamm2021-03-053-18/+5
| | | | | | * Add docs & tests for named procs with sugar.=> * Remove support for named procs in sugar.=> * Resolve conflict * Fix test
* IC: further progress (#17150)Andreas Rumpf2021-03-053-12/+19
| | | | | | | * IC: respect the -f switch * IC: better rod file inspection * progress
* follow #17245 deprecate refchecks (#17261)flywind2021-03-052-3/+7
| | | | | * follow #17245 deprecate refchecks * changelog * address comments
* follow up #17165 (#17262)flywind2021-03-045-57/+43
|
* Added assertion to clamp (#17248)Jason Beetham2021-03-042-2/+7
| | | Co-authored-by: flywind <xzsflywind@gmail.com>
* reuse jsffi in json module (#17165)flywind2021-03-044-23/+17
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * reuse jsffi * move js json coverage
* deprecate newruntime (#17245)flywind2021-03-0416-15/+17
| | | | | | * deprecate newruntime * tests * Update compiler/commands.nim
* Improve Bigint (#17252)Juan Carlos2021-03-041-0/+2
| | | | | | | | | | | | | * https://github.com/timotheecour/Nim/issues/566#issue-799927295 * Update lib/std/jsbigints.nim Co-authored-by: flywind <xzsflywind@gmail.com> * Update lib/std/jsbigints.nim Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: flywind <xzsflywind@gmail.com>
* followup #16871 asyncjs.then: allow pipelining procs returning futures (#17189)Timothee Cour2021-03-044-21/+80
| | | | | | | | | | * followup #16871 asyncjs.then: allow pipelining procs returning futures * rename test files where they belong * fix tests * tests for then with `onReject` callback * rename test file containing fail to avoid messing with grep * address comments * cleanup * un-disable 1 test
* use .. warning:: (#17226)flywind2021-03-045-16/+13
| | | | | | | * remove unnecessary when statement * remove outdated codes * use warnings
* Added math.clamp for slice clamping (#17246)Jason Beetham2021-03-033-0/+23
| | | | | | | * Added math.clamp for slice clamping * Added inline to math.clamp * Cleaned up math.clamp + test
* followup #17225: simplify code after removing gc2, generational (#17242)Timothee Cour2021-03-038-16/+15
|
* fix #16384 and #17144 (#17126) [backport]flywind2021-03-032-219/+225
|
* https://github.com/nim-lang/Nim/pull/15826/files#r585368355 (#17233)Juan Carlos2021-03-032-3/+8
|
* fix #17177 (#17243)flywind2021-03-032-2/+13
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * fix #17177 * add testcase
* \r now renders as \r, not \c which was not standard (#17244)Timothee Cour2021-03-032-3/+5
|
* Use readable escape sequences (#17241)Clyybber2021-03-035-68/+68
|
* rename prepareStrMutation to prepareMutation (#17235)flywind2021-03-034-10/+10
| | | | | | | * remove unnecessary when statement * remove outdated codes * rename prepareStrMutation to prepareMutation
* Use nicer escape sequences in renderer.nim (#17239)Clyybber2021-03-021-11/+11
|
* RST heading improvements (fix #17091) (#17195)Andrey Makarov2021-03-029-57/+277
|
* fix #16731: using deprecated flags triggers a warning (#17225)Timothee Cour2021-03-022-24/+20
| | | | | | * using deprecated flags triggers a warning * cleanups * fixup * address comments
* document copy on write behavior of string literals in arc/orc (#17224)flywind2021-03-021-0/+70
| | | | | | * Update doc/destructors.rst Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* re-enable disabled tests after #17173 (#17228)Timothee Cour2021-03-021-111/+75
|
* Simple fix to make the linenoise wrapper do the right thing (#17234)PMunch2021-03-021-1/+1
|
* add runnableExamples for prepareStrMutation (#17227)flywind2021-03-022-2/+9
| | | | | * Update lib/system.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* attempt to fix #16374 (#17232)flywind2021-03-022-1/+44
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * attempt to fix #16374 * fix
* fixes #17198, DFA failure on large case stmts (#17210)Saem Ghani2021-03-022-3/+40
| | | | | | This alters the DFA control flow graph generation for case statments. Gotos are now generated as a chained link, this ensures that evaluation of variant branches collapses as early as possible, without hitting the 2k call limit.
* re-enable pkg optionsutils (#17231)Timothee Cour2021-03-021-1/+1
|
* Remove the note about old naming conventions (#17222)Danil Yarantsev2021-03-021-9/+0
|
* close #5342 add testcase (#17230)flywind2021-03-021-0/+23
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * close #5342 add testcase * update the example
* Replace double backticks with single backticks - Part 5 out of ~8 (#17217)Danil Yarantsev2021-03-011-232/+232
| | | Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Replace double backticks with single backticks - Part 4 out of ~7 (#17216)Danil Yarantsev2021-03-016-122/+122
|
* Follow NEP1 in NEP1 (#17221)Danil Yarantsev2021-03-021-1/+1
|
* `--nilseqs` is now a deprecated noop (#17211)Timothee Cour2021-03-0115-53/+37
| | | | | * --nilseqs is now a deprecated noop * fix tests; fix: future => sugar