| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
The `lc` macro is now part of `graveyard` repository.
|
| |
|
|
|
|
|
|
| |
* add collect macro
* Add to changelog
|
|
|
|
|
| |
* fixes #11863
* improved the code; refs #12412
|
|
|
|
|
|
|
|
|
|
|
| |
https://github.com/nim-lang/Nim/pull/12600
and in
https://forum.nim-lang.org/t/5499
indicates that everyone is happy/happier with ``pop``.
This just renames the brand new ``take``s to ``pop`` and installs inline
aliases/wrappers to preserve ``Table.take`` and ``TableRef.take``.
Update apis.rst to try to maintain consistency of remove-and-return procs.
|
|
|
|
|
|
|
|
| |
When trying to evaluate a Nimble file which imports a Nim module
I was getting the following errors for some reason:
```
/Users/dom/projects/nim/lib/pure/parseopt.nim(229, 46) Error: ambiguous call; both system.paramCount() [declared in /Users/dom/projects/nim/lib/system/nimscript.nim(65, 6)] and os.paramCount() [declared in /Users/dom/projects/nim/lib/pure/os.nim(2613, 8)] match for: ()
```
|
|
|
|
|
| |
* Fix HTMLGen enable lang on html tag
|
|
|
|
| |
(cherry picked from commit 39122ecd93854dd696aad2a5a0a5ad04d6dcdbfa)
|
|
|
|
| |
for --gc:arc
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* cursors: first implementation
* added currently failing test
* .cursor works for doubly linked lists
* make -d:useMalloc work again
* added code to nil out refs in a destructor
* it's now called --gc:arc
* renderer.nim: render nkBreakState properly
* make simple closure iterators work without leaking
|
| |
|
|
|
|
|
| |
* implemented sugar.outplace; refs #12550
* Different approach, allows for chaining
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#12600)
* add OrderedTable.take
* add CountTable.del and CountTable.take
* add .since pragma to the introduced public procs
* add changelog entry [ci skip]
|
| |
|
| |
|
|
|
|
| |
proc randomized*() uses time releated function which is not available on
standalone, so disable this function for standalone.
|
| |
|
|\
| |
| | |
Remove unused imports
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
| |
Using `pacman` command in Manjaro Linux
(cherry picked from commit 1ff3494dabd0fa5bf619fc8bd558381ead7c358d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix #8242, fix #12586: fix 'formatFloat' with 'precision = 0'
'formatFloat' with 'precision = 0' now gives the same result
(a number without a decimal point) in all backends.
This is compatible with Python's formatters, too.
* fix failing tests
* add changelog entry
* add version switch
|
|
|
|
|
|
|
|
|
|
| |
* Make sequtils.zip return seq of anonymous tuples
Earlier the tuples had named fields "a" and "b" and that made it
difficult to assign the zip returned seqs to other vars which expected
seqs of tuples with field names other than "a" and "b".
* Make sequtils.zip backwards compatible with Nim 1.0.x
|
|
|
|
|
| |
getCurrentDir and currentSourcePath (#12565)
Fixes https://github.com/nim-lang/Nim/issues/10477.
|
| |
|
| |
|
|
|
|
|
|
| |
default values (#12538)
|
|
|
|
|
| |
* colors: fix the 'mix' template
* colors: make most examples runnable
|
|
|
|
|
|
|
|
| |
* splitPath() behavior synchronized with splitFile() having the expected behavior in all languages
splitPath() docstrings update, tests added for both splitPath() and splitFile()
* Path splitting refined and described
|
|
|
|
|
|
|
|
|
|
| |
of '{}' (#11748)
* [feature]strformat: add 2 'fmt' macros that use specified chars instead of '{}'
* strformat: revert documentation comments of `&` and 'fmt'
* strformat: removed single open/close char variant of fmt
|
|
|
| |
fixes #12479
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix many broken links
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
* Prefer relative links for Nim documentation
This is more friendly to those browsing the documentation without
a network connection. The nim-doc package in Debian allows this,
for example.
Also, the domain name being used was not consistent. It could have
been either nim-lang.org or nim-lang.github.io, and those reading
the stable docs could have found themselves suddenly reading the
devel docs instead.
* koch.rst: remove link to nonexistent section
* manual.rst: remove unintended link
cast[T](0) is interpreted as a link to id 0 with text T, so escape
the opening parentheses to display the intended output.
* asyncstreams: replace unintended link with emphasis
* Fix word wrapping
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
* [backport] Fixes: #12465 - Unittest - Namespace the usage of TestStatus enum to avoid name conflicts.
|
| |
| |
| | |
This reverts commit 00c31e87660d9db813871f5aa23661bf6b9bbdcb.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* closes #12316
* make tjsonmacro work at js target
* closes #12289
* closes #11988
* also fixed gdb related stuff
|