| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* add resetOutputFormatters
* remove space
* resolve comments
|
| |
|
|
|
|
| |
headers argument instead of hardcoded empty (#13207)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add idxmin() which returns the index of the minimum value
* Add idxmax() which returns the index of the maximum value
* Add tests for idxmin()
* Add tests for idxmax()
* Remove initialization of result = 0
* Adds overloading for arrays (no enums indexed arrays yet)
* Add support for enum index arrays
* Fix tests with enum
* Fix tests for idxmax
* Change names of the procedures to minIndex and maxIndex
* address Araq's comments:
- remove 'array' versions
- add .since pragma
- return 'int' instead of 'Natural'
- add changelog entry
Co-authored-by: Federico A. Corazza <20555025+Imperator26@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
(#13023)
* maybe: allows optional chaining
* fix tools/kochdocs.nim
* improve semantics to distinguish valid from invalid values
* for now, wrapnil, isValid, unwrap are not exported
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* make sink operator optional
* bug fix, add changelog entry
* Trigger build
* fix one regression
* fix test
* Trigger build
* fix typos
|
| |
|
|
|
|
|
|
| |
(#13064)
|
| |
|
| |
|
|
|
|
| |
capture works for more cases than `closureScope`.
|
|
|
|
|
|
| |
* add clear overload, test, changelog
* add since annotation
|
|
|
| |
The `lc` macro is now part of `graveyard` repository.
|
|
|
|
|
|
| |
* add collect macro
* Add to changelog
|
| |
|
|
|
|
| |
code (#12699)
|
|
|
|
|
|
|
|
| |
(#12688) [backport]
* conversions to unsigned numbers are not checked anymore; implements / fixes https://github.com/nim-lang/RFCs/issues/175
* change the spec yet again to be less consistent but to make more sense; updated the changelog
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* fixes and changes the recently introduced 'alignas' to be 'align'
* more improvements
|
|
|
|
|
| |
* Fix HTMLGen enable lang on html tag
|
|
|
|
|
|
|
|
|
|
|
|
| |
* implemented alignas pragma
* fix bootstrap
* generate c++ compatible syntax for alignas
* Make it work.
* Multiple alignof expressions. Implement top level alignof.
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
* JSgen make indent be all spaces, instead of mixed spaces and tabs, for generated JS
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* ungenericise unsigned ops, remove nimNewShiftOps
* fix/remove tests
* update t6448
* fix line info
* disable on 32bit
* fix different line info
* add changelog entry
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
| |
(#12313)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Fixes #10514
(cherry picked from commit f6f789bb4db2a367384ba6ad75706edd503de1f8)
* Add comment
* Add changelog entry
|
| |
|
|
|
|
|
| |
* improvements for httpcore
* further improvements, now stable API but needs extensions later on
|
| |
|
| |
|
|
|
|
|
| |
* importjs symbol
* importjs warning message, minor warning fixes
|
|
|
|
|
|
| |
* fixes #12152
* makes test green
|
|
|
|
|
|
|
| |
* fixes #10578
* add tests
* add changelog
* add {.exportcpp.}
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* hashes: implement murmur3
* refactoring; there is only one murmurHash and it works at compile-time via VM hooks
* fixes JS tests
* makes toOpenArrayByte work with C++
* make it bootstrap in C++ mode for 0.20
|