| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Error -> Defect for defects
The distinction between Error and Defect is subjective,
context-dependent and somewhat arbitrary, so when looking at an
exception, it's hard to guess what it is - this happens often when
looking at a `raises` list _without_ opening the corresponding
definition and digging through layers of inheritance.
With the help of a little consistency in naming, it's at least possible
to start disentangling the two error types and the standard lib can set
a good example here.
|
|
|
|
|
| |
* StringStream & more stdlib modules support for JS/NimScript
* change back pegs test in line with #14134
|
| |
|
|
|
| |
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This adds the procedures to read RSA keys and encrypt/decrypt messages
with both public and private keys.
|
|
|
|
|
|
|
| |
* Remove `paramStr` and `paramCount` from implicitly imported nimscript.nim
* Update changelog.md
* Update stable nimble commit hash
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
| |
* $(unsigned) now works for js
* move NimMajor+friends closer to NimVersion according as per reviewer feedback
|
| |
|
|
|
|
|
|
|
|
|
| |
ints (#14134)
* fix https://github.com/timotheecour/Nim/issues/133; $(a: float) works in nim js like in other backends
* fix tests
* fix test for windows that prints 1.1e17 differently than other OS
|
| |
|
|
|
|
| |
[backport:1.2]
|
|
|
|
|
|
|
|
|
| |
* cycle collector: new implementation
* cycle collector: make self-adaptive based on its previous effectiveness
* cycle collector: added Lins's jump stack to improve traversal from 3*N to 2*N
* cycle collector: make tests green
* API extensions and bugfixes
* code cleanup and use --gc:orc for tasyncawait
|
|
|
|
|
| |
* add FileReader to js dom
* minor improvement
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
| |
add tests for tinclrtl
|
|
|
|
|
|
|
|
|
| |
(#14109)
* added high level sendTo and recvFrom to std/asyncnet; tests were also added.
* add .since annotation, a changelog entry and fixed to standard library style guide.
* Improved asserts msgs and added notes for use with UDP sockets
|
| |
|
| |
|
|
|
|
|
| |
* Make await a template
* Generate await inside async/multisync
|
|
|
|
|
|
|
|
|
| |
* Faster readStr()
* https://github.com/nim-lang/Nim/issues/13857
* Add .since annotation and add to changelog
* Private, un-sinced proc for csource bootstrapping
|
|
|
|
| |
(#14115)
|
|
|
| |
Fixes jsffi usage example in doc
|
|
|
| |
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
|
|
| |
* Set path to libSDL for NetBSD.
* Disable SFML test on NetBSD
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Add critbits.commonPrefixLen
* add inline and since annotations, as well as a changelog entry
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
|
|
|
| |
One more compiler source-specific tackled
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
checks (#13926)
* -d:checkabi obsolete (ABI check now enforced); add `addTypeHeader` helper
* cleanups
* import sizeof at CT for {.completeType.}
* address comments; revert default enabling of -d:checkAbi for now
* mimportc_size_check.nim => msizeof5.nim; merge mabi_check.nim into msizeof5.nim; refactor
* all pragmas in errmsgs should be written: '.importc' (un-ambiguous and less verbose than {.importc.})
|
|
|
|
|
|
| |
$nimcache/main (#13382)
* implement `nim r main` to compile and run, saving binary to $nimcache
* remove outFileAbs for now
|
|
|
|
| |
It's also just faster to get the current file name instead of scanning
the PATH.
|
|
|
|
| |
FreeBSD. (#14076)
|
|
|
|
|
|
|
|
|
| |
* Added LTO in nim.cfg, added /link in extccomp.nim and other fixes
* Fix line endings
* Fix line endings, for real this time. Almost certainly. Like, 95% certain.
* Removed /MD from extccom.nim VCC comiler
|
|
|
|
| |
These flags were added in Linux 2.6.27, I'm not sure Nim's minimal
support Linux version.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#14070)
* fix #14064 xmltree should allow create text node with raw text(non-escaped) eg. html style element's text
* change xnRawText to VerbatimText,newRawText to newVerbatimText ,add since anotation
* change changelog_1_2_0.md latest date
* move change log
Co-authored-by: bung87 <crc32@qq.com>
|
|
|
|
|
|
|
| |
* Make debugSend/debugRecv procs public. Fixes #12189
* Make checkReply proc public. Part of #12189
* Add doc comments for debugSend,debugRecv and checkReply
|
|
|
|
|
|
|
|
|
| |
* Add the ability to pass title case headers to an HTTP server
* Remove unnecessary type spec of titleCase
* Replace convert member proc by isTitleCase
Co-authored-by: wonderix <wonderix@googlemail.com>
|
|
|
|
| |
* figured out the wrong cycle trace proc problem
* cycle collector/break refactorings and minor improvements
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* base `parseEnum` on a case statement, fixes #14030
* apply simplifactions / clean up, remove `norm` node, use strVal
* export `normalize` in json.nim
* cmp using nimIdentNormalize, error at CT if ambiguous enum found
`nimIdentNormalize` provided by @cooldome.
We track all names of the branches we have created so far and error if
a duplicate is found.
Dummy change to make github react...
* fix docstring of `nimIdentNormalize`
* make `typ` arg `typedesc`, add lineinfo, call norm. only once
|