summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fixes #18320 (#18343)Andreas Rumpf2021-06-242-4/+6
| | | | | * TSymFlag has 47 flags already * fixes #18320
* enable VM tracing in user code via `{.define(nimVmTrace).}` (#18244)Timothee Cour2021-06-246-2/+53
| | | | | | | * enable VM tracing in user code via `{.define(nimVmTrace).}` * add vmutils.vmTrace * add vmTrace
* rst: allow comment to continue on second line (#18338)Andrey Makarov2021-06-242-18/+76
|
* fix #18334: handle path with spaces on windows during bootstrap (#18337)Timothee Cour2021-06-242-13/+16
|
* fix #18332: XDeclaredButNotUsed hints now in deterministic order (#18336)Timothee Cour2021-06-242-15/+19
|
* fixes #18326 (#18335)Andreas Rumpf2021-06-232-4/+9
| | | | | * fixes #18326 * make tests green again
* [std/times]getTime now uses high resolution API on windows (#17901)flywind2021-06-232-2/+6
|
* Add some tests (#18333)Antonis Geralis2021-06-231-2/+70
|
* OS.nim: style changes (#18331)Andreas Rumpf2021-06-231-30/+28
|
* Markdown: allow to end URL with balanced parenthesis (#18321)Andrey Makarov2021-06-232-2/+75
| | | | | | | | | | | | | * Markdown: allow to end URL with balanced parenthesis * Update lib/packages/docutils/rst.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * apply suggestion * remove unnecessary if Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* 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>