| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* Implement gorgeous Dracula themed Nim documentation
* Add color for escape sequences
* fixes the test cases
* the big CSS cleanup
|
|
|
|
|
|
| |
* add clear overload, test, changelog
* add since annotation
|
|
|
|
|
|
| |
* Fix #12832
* nimVm -> nimvm in json.nim
* Use suggestSym() instead of markUsed(); Also use styleCheckUse() for finding style violations
|
|
|
|
|
|
|
|
| |
* Fix classify to test for subnormality.
* Minor fix.
* Modified to maintain existing API.
* Minor change.
* Removed 32-bit case since float is always 64-bit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix sticky colors in styledWrite
* nimgrep: context printing, colorthemes and other
* add context printing (lines after and before a match)
* nimgrep: add exclude/include options
* nimgrep: improve error printing & symlink handling
* nimgrep: rename dangerous `-r` argument
* add a `--newLine` style option for starting matching/context
lines from a new line
* add color themes: 3 new themes besides default `simple`
* enable printing of multi-line matches with line numbers
* proper display of replace when there was another match replaced at
the same line / context block
* improve cmdline arguments error reporting
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Ref #12103 - adds FreeBSD CI
* Fix getApplFreebsd - length of the string includes the null terminator byte, so minus 1 for result length
* Show last commit in setup task.
* Remove .git from repository URL
* Don't include noisy details showing last commit.
* Add FreeBSD build status badge
* Fix #12182 - disable tconsole on FreeBSD
* Disable tgetaddrinfo on FreebSD as getaddrinfo doesn't support the ICMP protocol.
* Install boehm-gc-threaded
* Use libgc-threaded.so on FreeBSD rather than libgc.so.
* Simplify build failure handling. Update alt text for CI badge.
* Disable test on FreeBSD
* Simplify build config
- use GNU make to build csources
- set PATH variable using the environment key
- remove modification of config to set CC as this is already set
* Install git which seems to be missing from current freebsd images
* Revert change to how path is set
* Add a comment explaining why the length is truncated
* Fix tconsole.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This fixes some tiny issues with using Nim on 16-bit platforms. Not
entirely sure why the AVR chip I was compiling for with "cpu = avr" was
detected as 16-bit, but that's probably another issue..
|
|
|
|
| |
(#12754)
|
| |
|
|
|
| |
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
|