summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* followup #18318: simplify `dollarImpl` and add a test (#18330)Timothee Cour2021-06-222-7/+23
|
* merge similar procs regarding digits (#18318)flywind2021-06-225-135/+107
|
* fix #18327 (#18328)flywind2021-06-222-1/+6
|
* readAsText supports both Blob and File (fixes #18187) (#18189)mantielero2021-06-211-2/+2
|
* convert code-blocks to runnableExamples in io (#18315)xioren2021-06-211-16/+15
| | | Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* add multi type exception catching to manual (#18258) (#18323)xioren2021-06-211-4/+2
|
* close #13196 now that we have dragonbox (#18316)Timothee Cour2021-06-212-0/+22
|
* fixes #17768 [backport:1.4] (#18317)flywind2021-06-212-7/+12
| | | | | * fixes #17768 [backport:1.4] * tiny
* fix #18310 system.== in vm for NimNode (#18313)Timothee Cour2021-06-212-5/+17
| | | | | | | * fix #18310 == in vm * fixup * fixup
* close #17403; improve docs for tuple (#18312)Timothee Cour2021-06-211-7/+8
|
* followup #17852, disallow all:on for now (#18311)Timothee Cour2021-06-202-1/+4
|
* validate rst field for :number-lines:, :status: (#18304)Andrey Makarov2021-06-205-8/+38
|
* support `--hint:all:off --hint:x` (ditto with `--warnings` + friends) (#17852)Timothee Cour2021-06-205-44/+45
| | | | | * select all hints via `--hint:all:on|off`, etc * simplify code with setutils * address comment
* Raise IndexDefect when deleting element at out of bounds index (#17821)Heiko Nickerl2021-06-205-36/+70
| | | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Heiko Nickerl <mail@hnicke.de> Co-authored-by: Heiko Nickerl <heiko.nickerl@flipapp.de>
* Revert "disable pkg manu (#18292)" (#18307)Antonis Geralis2021-06-201-1/+1
| | | This reverts commit fc76565574b86566e4a642b9aac541e025cf5de3.
* [std/terminal] improve docs a bit (#18296)flywind2021-06-201-70/+45
| | | | | | | | | | | | | | | | | | | | | | | * Revert "add missing import to asynchttpserver's example" This reverts commit 7ef364a402d3d827f10c893280f8dc7b9ef056f5. * alternative to #18185 * add std/mutexes * cvlose #17696 * Revert "add std/mutexes" This reverts commit 69abc8b64954206da6ffe5fc40a1142b39777762. * tiny * test * improve terminal docs * follow advice
* move {.injectStmt.} to experimental; add a test (#18300)Timothee Cour2021-06-206-15/+53
| | | | | * move {.injectStmt.} to experimental; add a test * undocument and deprecat `.injectStmt` but keep its implementation until we have a replacement
* docgen: move to shared RST state (fix #16990) (#18256)Andrey Makarov2021-06-208-193/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docgen: move to shared RST state (fix #16990) * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update compiler/docgen.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update compiler/docgen.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update compiler/docgen.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update lib/packages/docutils/rst.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * rename `cmdDoc2` to `cmdDoc` * fix (P)RstSharedState convention * new style of initialization * misc suggestions * 1 more rename * fix a regression Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* add `typetraits.pointerBase` to return `T` in `ref T|ptr T` (#18293)Timothee Cour2021-06-202-9/+16
| | | | | | | | | * add typetraits.deref to return T in ref T|ptr T * deref => refBase * refBase=>pointerBase * [skip ci] address comment
* testutils.assertAll: show correct location on assert failure (#18299)Timothee Cour2021-06-191-2/+4
|
* make privateAccess work with generic types and generic instantiations; fix a ↵Timothee Cour2021-06-195-15/+118
| | | | | SIGSEGV (#18260) Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* refs #18278: do not gag fatal msgs (#18290)Timothee Cour2021-06-184-12/+21
|
* strformat.fmt now supports non-literal const strings (#18274)Timothee Cour2021-06-183-27/+43
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* add more APIs to compiler/debugutils; re-export it (#18243)Timothee Cour2021-06-184-0/+85
|
* Make the existence of high(type) clearer, especially near subranges (#18286)j-james2021-06-181-4/+7
| | | | | * Make the existence of high(type) clearer, especially around subranges * Use a better example and dry up the wording
* disable pkg manu (#18292)Timothee Cour2021-06-171-1/+1
|
* followup #17876: remove annoying enum name clashes in tests/enum/tenum.nim ↵Timothee Cour2021-06-171-12/+11
| | | | (#18291)
* fix for #18284 int32 should be int (#18285)Adrian Veith2021-06-171-1/+1
| | | the var exp was typed as int32 - it should be int since frep expects an int
* Renamed `-d:nimCompilerStackraceHints` to `-d:nimCompilerStacktraceHints`. ↵Timothee Cour2021-06-174-6/+7
| | | | (#18283)
* tests/exception/tsetexceptions.nim not joinable (#18264)Timothee Cour2021-06-171-0/+3
|
* Revert "system/excpt: check if the exception is not nil before pop (#18247)" ↵Andreas Rumpf2021-06-172-10/+2
| | | | | (#18265) This reverts commit 0adb47aa15e242983c8251d85367c0fe45fc5f12.
* PCRE, nimgrep: add limit for buffer size (#18280)Andrey Makarov2021-06-172-4/+14
|
* increase backoffDuration to avoid timeouts (#18281)Timothee Cour2021-06-161-1/+1
|
* followup #16400; use use -d:nimCompilerStackraceHints in more places (#18282)Timothee Cour2021-06-161-0/+5
|
* Fix doubly typed forward declarations (#18279)Clyybber2021-06-162-2/+27
| | | | | | | | | * Add testcase * Fix testcase * Fix doubly typed forward decls * Better fix
* fixes #17696 (#18276)flywind2021-06-162-13/+47
|
* Don't report unused hints for consumed AST (#18270)Clyybber2021-06-162-1/+18
| | | | | | | | | * Fix #18203 * Add testcase * Fix testcase * Fix test
* link stable and devel docs in nim docs (#18272) [backport:1.2]Timothee Cour2021-06-151-15/+6
|
* add test case for pure enum redefinition error within enum (fixed in recent ↵Timothee Cour2021-06-153-11/+20
| | | | | | | | | | | | | PR) (#18266) * add test case for pure enum redefinition error within enum (fixed in recent PR) * remove code duplication * Revert "remove code duplication" (would require bootstrap >= 1.4) This reverts commit 3f793874c231f847ef015e37a5fd6851f85d9675. * fixup
* httpclient.nim Fixes #14794 and an issue where content-header is not set on ↵Mark Pointing2021-06-142-3/+38
| | | | | | | | | | | | | | | | postContent (#18208) * Fixed missing newline after bound marker in mulipart post (#14794) and a problem where calling postContent with multipart data does not set content-length header. * Update lib/pure/httpclient.nim * Added comment outlining the reason for changes to httpclient.nim and added tests to ensure that multipart post has a newline at the end of the body, and that the content-length header is present. * Fixed typo in comments. * Removed redundant blank lines in thttpclient_standalone.nim. Co-authored-by: Mark Pointing <mark@futurepoint.com.au> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Small scope refactoring (#18263)Clyybber2021-06-144-24/+33
| | | | | | | * Small scope refactoring * Add test for #10251 * Add inline where appropriate
* 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
|