| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
| | |
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |
| |
| |
| |
| |
| |
| | |
* lent iterators
* rebase tests
* update changelog
* fix comments, more tests
|
| | |
|
| |
| |
| |
| |
| |
| | |
* fixes #5870
* make tclosure test green again
* this check is correct but breaks some Nimble packages
|
| | |
|
| | |
|
| |
| |
| |
| | |
https://github.com/nim-lang/RFCs/issues/151 (#12072)
|
| |
| |
| |
| |
| | |
* fix to(Biggest)Int
* kill toFloat magics as well
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* fixes #12015 by also checking kind of `typeNode`
If a tuple field is aliased it'll appear the same as a ref type in a
call to `getType` if only for the kind of the resulting `NimNode` is
checked (that is a `nnkBracketExpr`)
* fix test case due to #12017 and add more realistic test case
Adds an additional test case, which includes generics and is closer to
the real failure I encountered
* remove previous fix and fix differently after all
The previous fix was incomplete, because it failed for generics.
Note that the `of "tuple"` is not actually needed, the
`nnkBracketExpr` branch in the `else` branch would catch it too, but I
decided to introduce it for clarity. However, the latter is actually
needed, because it seems for aliases of `seq` we end up in it.
* update comment about global `%` proc in json test
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
through a global function pointer - fixes https://github.com/nim-lang/Nim/issues/11996 (#12007)
- adding forward declarations for reloadable functions within a module - fix compilation errors when 2 such functions reference each other - fixes https://github.com/nim-lang/Nim/issues/11608
- preserve permissions of copied executable binaries
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* new .gensym implementation
* make astspec test green again
* introduce a --useVersion switch to group compatibility switches
* fixes #10180
* fixes #11494
* fixes #11483
* object constructor fields and named parameters are also not gensym'ed
* disabled broken package
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Update OpenSSL example
Fix privkey filename.
Bump up RSA key size.
Add ECDSA example.
|
|/ |
|
|
|
|
|
|
| |
* finish the Windows IO layer changes; refs #11618
* added system.getOsFileHandle which is less error-prone on Windows
* make tests green again
|
|
|
|
| |
hcrRegisterProc'ed (#11971)
|
|
|
|
|
|
|
|
| |
* Implement isExported for macros
* Reimplement isExported using VM callback mechanism
* VM does not support exceptions, use stacktrace() instead.
|
| |
|
|\
| |
| |
| |
| |
| | |
* fixes #11118
* Reset closure iter exception before rethrowing
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| | |
* JS: rewrote toJSStr
* JS: don't raise exceptions in primitives
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
etc. (#10967)
* improved docs around exec, staticExec, gorgeEx, etc.
* incorporate review comment; made behavior of exec consistent
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Update documentation on `xmltree.items`/`mitems`
So far the documentation on `items` and `mitems` wasn't explicit about whether the iteration recurses down the node's children or not. I assumed recursion, which was wrong.
* Improve wording in comment
Use the more common and shorter word "direct".
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix effect error in pure/logging.nim
Currently calling `logging.log` will produce - `Error: can have an unlisted effect: RootEffect`. Add `RootEffect` to list of tags.
* the only tag necessary is RootEffect since all other Effects are descendants of RootEffect
|