summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* system/excpt: check if the exception is not nil before pop (#18247)alaviss2021-06-142-2/+10
| | | | | | | | | | In CPS we would consume an exception in the except branch by stashing it into a local then remove the exception from Nim environment so as not to leak it to other code that would be running before the continuation continues However since popCurrentException() assumes that the exception always exist, removing the exception from an except branch will cause a SIGSEGV to happen. This commit fixes that.
* Enable parallel build in build.sh (#18195)Federico Ceratto2021-06-141-0/+24
| | | Add help
* fixes #18235 - proc annotation type macro sym leak (#18249)Saem Ghani2021-06-144-9/+86
| | | | | | | | | | | | | | | | | | | | | * fixes #18235 - proc annotation type macro sym leak - also fixed a typo - proc annotations guard symbol exports with shadow scopes - symbol handling is shadow scope aware * test for exporting an existing unexported sym this one is for my homie alaviss. * Special handling not needed in semProcAnnotation * Testcasing * [skip ci] clean-up and add some more comments * [skip ci] rm trailing whitespace Co-authored-by: Clyybber <darkmine956@gmail.com>
* merge BuildMode into SuccessX, remove code duplication w drnim, add useful ↵Timothee Cour2021-06-1410-66/+64
| | | | | | | | | | | info to successx, add gc to compilesettings (#18252) * merge BuildMode into SuccessX, add more info * refactor duplicated with drnim * fixup * address comment
* followup #17777: declaredloc field error msgs now work with generics (#18259)Timothee Cour2021-06-143-17/+33
| | | | | | | * followup #17777: declaredloc field error msgs now work with generics * fix tests * cleanup
* Improve httpClient docs on SSL cert verification (#15201)Federico Ceratto2021-06-131-3/+16
| | | | | | | | | * Improve httpClient docs on SSL cert verification Cert verification is enabled by default after CVE-2021-29495 * Update httpclient.nim Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* fix #7717 roundtrip float to string; fix `parseFloat` for js (#18248)Timothee Cour2021-06-133-76/+125
| | | | | | | * refs #7717 roundtrip float to string * make parseFloat more correct * improve float tests * improve float tests * cleanup
* getType now works with tyInferred (arising from concepts); refs #18220 (#18241)Timothee Cour2021-06-122-23/+79
| | | | | | | * getType now works with tyInferred (concepts); refs #18220 * avoid cast * add more docs
* added a test case ensuring exception inference continues to workAraq2021-06-111-0/+32
|
* use more meaningful name than "workaround14447" (#18237)Miran2021-06-113-3/+3
|
* handle tyUserTypeClassInst in addDeclaredLoc (#18236)Timothee Cour2021-06-111-1/+1
|
* fix #9437(fix `re.replace` wrong behaviour) (#17546)flywind2021-06-102-5/+24
| | | | | * fix nim js cmp fails at CT * fix
* fixes #15884 (#18230)Andreas Rumpf2021-06-105-3/+18
| | | | | * fixes #15884 * micro optimization
* view types: spec changes (#18226)Andreas Rumpf2021-06-103-24/+21
| | | | | | | | | | | | | * view types: spec changes * Update doc/manual_experimental.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/manual_experimental.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update nims.rst to reflect that -d:release is now allowed in config.nims ↵Kaushal Modi2021-06-101-6/+6
| | | | | (#18221) `-d:release` and `-d:danger` started working in `config.nims` after https://github.com/nim-lang/Nim/commit/df429fa28772e077faa30dd6e3a701abf48c7669 .
* #18216 make moveDir work across partitions on windows (#18223)Fröhlich A2021-06-102-19/+70
| | | | | | | * return false if AccessDeniedError in tryMoveFSObject - fixes #18216 * add moveDir & moveFile tests * rename `isMoveDir` parameter to `isDir`
* update changelog for wrapnils (#18228)Timothee Cour2021-06-101-3/+0
|
* fixes #18220 (#18227)Andreas Rumpf2021-06-101-1/+1
|
* avoid re-exporting options from std/wrapnils (#18222)Timothee Cour2021-06-102-1/+2
|
* update .github/ISSUE_TEMPLATE/bug_report.md, mention PRs, contributing, ↵Timothee Cour2021-06-091-0/+2
| | | | devel branch (#18224)
* make strict funcs analysis smarter (#18219)Andreas Rumpf2021-06-093-36/+95
| | | | | | | * make strict funcs analysis smarter: varParam[i] = v is different from varParam[i][] = v * added a test case * Update compiler/varpartitions.nim Co-authored-by: Clyybber <darkmine956@gmail.com>
* Fix JS error on index page and detect dark mode (#18191)drtheuns2021-06-077-28/+63
| | | | | | | | | | | | | | | | * Fix JS error on index page and detect dark mode The theindex.html page doesn't have a dark mode switch so the main function will error because `toggleSwitch` is not defined. Checks have been added to prevent this from happening. Also add automatic detection of system settings for dark-mode. This could also be done with pure css, but then the dark mode variable declarations would have to be duplicated to work with the switch so I went with this approach. * Fix nimdoc tests * Fix rst2html tests
* fixes #18088 (#18209)Andreas Rumpf2021-06-071-1/+1
|
* alternative to #18185 (#18206)flywind2021-06-071-1/+4
|
* change mimedb stroe stringtable to orderedtable (#18065)Bung2021-06-072-3/+5
| | | | | | | * change mimedb stroe stringtable to orderedtable * Update lib/pure/mimetypes.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* koch: print help if no command is given (#18199)Federico Ceratto2021-06-071-1/+2
|
* fix 18186 with adding importc _umul128 (#18200)slangmgh2021-06-072-1/+3
|
* update docgen documentation (#18192)Andrey Makarov2021-06-063-48/+83
| | | | | | | | | | | | | * update docgen documentation * --fullhelp * Update doc/docgen.rst Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * [skip ci] fix typos Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* make changeDetectedViaJsonBuildInstructions warning less verbose when json ↵Timothee Cour2021-06-061-1/+1
| | | | file invalid (eg due to spec change) (#18197)
* fix #18178, set a CI timeout for github action pipelines instead of the 6 ↵Timothee Cour2021-06-052-0/+2
| | | | hour default (#18179)
* up to 20x faster jsonutils deserialization (#18183)Timothee Cour2021-06-051-6/+6
| | | | | * up to 20x faster jsonutils deserialization * noinline
* rst: remove `roSkipPounds` option (#18175)Andrey Makarov2021-06-051-24/+4
|
* add `dom.scrollIntoView` with options; refs #18093 (#18181)Rainbow Asteroids2021-06-052-0/+8
|
* macros.treeRepr + friends: collapse SymChoice (#18072)Timothee Cour2021-06-054-50/+158
| | | | | | | * macros.treeRepr + friends: collapse SymChoice * make repr+friends work with invalid symchoice nodes * address comment
* Ref #18177 - lbgc.so.5.0 on OpenBSD 6.9 (#18180)Euan2021-06-041-1/+1
|
* fix #7295: use move(result) inside template to avoid copy with --gc:refc ↵Timothee Cour2021-06-041-10/+10
| | | | (#18168)
* workaround bug in sharedtables.withValue to unblock frozen CI on OSX (#18172)flywind2021-06-041-0/+4
|
* real bugfix for #17170 (#18171)Andreas Rumpf2021-06-042-4/+8
| | | | | * real bugfix for #17170 * better fix
* follow-up #18013 - inline syntax highlighting (#18166)Andrey Makarov2021-06-0420-164/+183
|
* simplify extccomp.nim json logic via jsonutils; fix #18084 (#18100)Timothee Cour2021-06-034-190/+99
| | | | | | * simplify extccomp.nim json logic via jsonutils * fix #18084 * simplify further * workaround for bootstrap that can be removed after updating csources_v1 >= 1.2
* changelog for --unitsep (#18167)Timothee Cour2021-06-031-3/+3
|
* fixes #18112 (#18165)Andreas Rumpf2021-06-031-2/+4
|
* fixes #18058 (#18162)Andreas Rumpf2021-06-036-12/+13
|
* Revert "add missing import to asynchttpserver's example" (#18164)flywind2021-06-031-1/+1
| | | This reverts commit 7ef364a402d3d827f10c893280f8dc7b9ef056f5.
* clarify what a 'monotonic' timestamp is (#18163)Andreas Rumpf2021-06-031-3/+2
|
* add missing import to asynchttpserver's examplenarimiran2021-06-031-1/+1
|
* Improve db_postgres iterators (#18144)Artem Klevtsov2021-06-031-62/+117
| | | | | | | | | | | | | | | * Fix pqSetSingleRowMode case. Add links to the docs * Add missing PGContextVisibility enum * Remove unused PGContextVisibility enum * Improve db_postgres iterators * Fix instantRows with DbColumns. Cosmetics. * Reduce copy&paste in db_postgres * Move pqclear inside loop
* reuse algorithm.fill while building SkipTable (#18138)n5m2021-06-031-12/+2
| | | | | | | | | * reuse algorithm.fill while building SkipTable * Update lib/pure/strutils.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* added lib/deps.txtAraq2021-06-031-0/+14
|
* added float32 schubfach algorithm; wip (#18155)Andreas Rumpf2021-06-035-1/+478
| | | | | * added float32 schubfach algorithm; wip * fixes #18418