| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Needed for #21842.
|
|
|
|
|
|
|
|
|
|
| |
This implements Pandoc Markdown-style footnotes,
that are compatible with Pandoc referencing syntax:
Ref. [^ftn].
[^ftn]: Block.
See https://pandoc.org/MANUAL.html#footnotes for more examples.
|
|
|
|
|
|
|
|
|
|
|
| |
instead (#22576)
* deprecate `std/threadpool`; use `malebolgia` instead
* Apply suggestions from code review
* Apply suggestions from code review
* change the URL of inim
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes newStringUninitialized; implement `newStringUninitialized`
* add a simple test case
* adds a changelog
* Update lib/system.nim
* Apply suggestions from code review
rename to newStringUninit
|
|
|
|
|
| |
ref https://github.com/nim-lang/nightlies/actions/runs/5970369118/job/16197865657
> /home/runner/work/nightlies/nightlies/nim/lib/pure/os.nim(678, 30) Error: getApplOpenBsd() can raise an unlisted exception: ref OSError
|
|
|
| |
fixes #22543
|
|
|
| |
newStringOfCap nows won't initialize all elements anymore
|
|
|
| |
* followup #21507
|
|
|
|
|
|
|
|
|
| |
* Fix `getAppFilename` exception handling
avoid platform-dependendent error handling strategies
* more fixes
* space
|
|
|
| |
The `mopProc` is a recursive function.
|
|
|
| |
fixes #21208
|
| |
|
|
|
|
|
| |
* Markdown code blocks migration part 9
* fix [skip ci]
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* fixes `card` undefined misalignment behavior
* Update lib/system/sets.nim
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
|
| |
|
|
|
|
|
| |
Revert "fixes bareExcept warnings; catch specific exceptions (#21119)"
This reverts commit 9207d77848d6f5db3635ae64f3cd4972cdbe3296.
|
| |
|
|
|
|
|
| |
* fixes bareExcept warnings; catch specific exceptions
* Update lib/pure/coro.nim
|
|
|
|
| |
strictdefs (#22458)
|
|
|
|
|
| |
* clean up gc:arc/orc in docs
* in error messages
|
|
|
|
|
|
|
| |
* fixes #22387; Undefined behavior when with hash(...)
* fixes vm
* fixes nimscript
|
|
|
|
|
|
|
|
|
| |
* selectors.nim: Add define to select event loop implementation
* rename to nimIoselector
---------
Co-authored-by: Jan Pobrislo <ccx@webprojekty.cz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* wip; use strictdefs for compiler
* checkpoint
* complete the chores
* more fixes
* first phase cleanup
* Update compiler/bitsets.nim
* cleanup
|
|
|
|
|
| |
heap-use-after-free (#22386)
Prevent destruction of gFuns before callClosures
|
|
|
|
|
|
|
| |
(#22328)
* Use `int` in `digitsutils`, `dragonbox`, `schubfach`
* Fix error message
|
|
|
|
|
|
|
| |
* Fix searchExtPos so that it returns -1 when the path is not a file ext
* fix comparision expression
* Remove splitDrive from searchExtPos
|
|
|
|
|
| |
10 (#22380)
fixes AddressSanitizer: global-buffer-overflow
|
|
|
| |
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
|
|
|
|
|
| |
* fixes #22360; compare with the half of randMax
* add a test
|
|
|
| |
Update the position of "Grey"
|
| |
|
|
|
|
|
|
|
| |
on` (#22355)
* fixes #22262; -d:useMalloc broken with --mm:none and threads on
* fixes
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* implement `ensureMove`
* use an additional flag
* improve some logics
* progress: fixes discard ensureMove
* forbids nested expressions
* improve error messages
* checkpoint
* fixes cursor
* ADD MORE TESTS
* fixes cursorinference again
* tiny cleanup
* improve error messages
* fixes docs
* implement comments add more tests
* fixes js
|
|
|
|
| |
When compiling code that uses PackedSet with warnings enabled, `var ret`
in `bitincl` emits a "XDeclaredButNotUsed" warning.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* wip; fixes #22210; transform return future in try/finally properly
* add a test case for #22210
* minor
* inserts a needsCompletion flag
* uses copyNimNode
|
| |
|
| |
|
| |
|
|
|
| |
* Fix #22273
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't throw errors on RST tables in Markdown and RstMarkdown modes
Additions to RST simple tables (#19859) made their parsing more
restrictive, which can introduce problems with of some old
nimforum posts, which have tables with sloppily aligned columns
(like this one:
https://github.com/nim-lang/nimforum/issues/330#issuecomment-1376039966).
Also this strictness contradicts to Markdown style of not getting
in the way (ignoring errors).
So this PR proposes a new strategy of dealing with errors:
* In Markdown and legacy (old default) RstMarkdown we try to
continue parsing, emitting only warnings
* And only in pure RST mode we throw a error
I expect that this strategy will be applied to more parts of markup code
in the future.
* Don't return anything in `checkColumns`
|