summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* [ci skip] clean-up CI badgesnarimiran2020-04-301-7/+1
|
* [ci skip] prevent fail-fast on packages CInarimiran2020-04-301-0/+1
|
* fixes #14054 [backport:1.2] (#14061)Andreas Rumpf2020-04-305-8/+40
| | | | | | | | | * fixes #14054 * make tests green again * more tests are green * maybe now
* Fix #14160 (#14161)Clyybber2020-04-302-1/+22
| | | | | * Fix #14160 * Add testcase
* fixes another silly arc/orc bug [backport:1.2]Araq2020-04-291-0/+1
|
* fixes #14079 [backport:1.2] (#14163)Andreas Rumpf2020-04-296-7/+36
|
* many bugfixes for js (#14158)hlaaftana2020-04-2910-65/+240
| | | | | | | | | | | | | * many bugfixes for js fixes #12672, fixes #14153, closes #14123, closes #11331, fixes #11783, fixes #13966, fixes #14087, fixes #14117, closes #12256. mostly fixes the fact that it was allowed to assign to newly created temp variables. additionally attempts to get rid of null initialized seqs/strings (though they might pop up here and there); this simplifies a lot of things and makes code size smaller. even if null seqs/strings pop up here and there it's still better than all those bugs existing. * formatting fixes * CI fixes * more CI fixes
* Remove travis ci badge (#14062)Tristram Oaten2020-04-291-2/+0
|
* Fix negative indexed arrays for JS, refs #13966 (#14152)hlaaftana2020-04-292-4/+10
| | | | | * Fix negative arrays for JS, refs #13966 * small extra fix: no need to .slice() cstring in JS
* parseEnum_regression (#14150)cooldome2020-04-283-3/+5
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-2892-300/+323
| | | | | | | | | | | | | | * 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 (#14095)hlaaftana2020-04-2822-359/+855
| | | | | * StringStream & more stdlib modules support for JS/NimScript * change back pegs test in line with #14134
* test packages with Github workflowsnarimiran2020-04-282-8/+82
|
* bug fix (#14149) [backport:1.2]cooldome2020-04-281-1/+4
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix tdistros test which was failing on Nightliesnarimiran2020-04-281-3/+3
|
* Update grammar.txt with `func` and `as` (#14147) [backport]hlaaftana2020-04-281-1/+2
|
* add 14 more packages to 'important_packages' (#14141)Miran2020-04-281-2/+14
|
* fixes a critical =trace generation bug (see test case) (#14140)Andreas Rumpf2020-04-273-2/+22
|
* Add RSA key reading and encrypt/decrypt to openssl (#14137)PMunch2020-04-271-0/+23
| | | | This adds the procedures to read RSA keys and encrypt/decrypt messages with both public and private keys.
* Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860)Neelesh Chandola2020-04-275-14/+25
| | | | | | | * 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>
* `$` now works for unsigned intergers with `nim js` (#14122)Timothee Cour2020-04-274-4/+96
| | | | * $(unsigned) now works for js * move NimMajor+friends closer to NimVersion according as per reviewer feedback
* Fix #14066 issue with stringifying incomplete types (#14135)PMunch2020-04-271-13/+27
|
* `$(a: float)` now works consistently in nim js, avoiding printing floats as ↵Timothee Cour2020-04-274-11/+90
| | | | | | | | | 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
* Remove some deprecated procs from std/times (#14129)Oscar Nihlgård2020-04-272-144/+32
|
* fix #14132 dsymutil should not be called on static libraries (#14133) ↵Timothee Cour2020-04-271-6/+6
| | | | [backport:1.2]
* new implementations for --gc:orc (#14121)Andreas Rumpf2020-04-2713-21/+428
| | | | | | | | | * 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 Web API to js dom (#14105)cooldome2020-04-271-9/+59
| | | | | * add FileReader to js dom * minor improvement Co-authored-by: cooldome <ariabushenko@bk.ru>
* since now takes an optional patch, eg: `since: (1, 3, 1)` (#14124)Timothee Cour2020-04-263-3/+51
| | | add tests for tinclrtl
* added high level sendTo and recvFrom to std/asyncnet (UDP functionality) ↵rockcavera2020-04-263-0/+228
| | | | | | | | | (#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
* fixes #14112, tests for #12892, #12671, #11697 (#14125)hlaaftana2020-04-266-1/+27
|
* small docs fix in typetraits (#14108)hlaaftana2020-04-251-1/+1
|
* Make await a template (#12085)Alexander Ivanov2020-04-255-134/+69
| | | | | * Make await a template * Generate await inside async/multisync
* Faster readStr() (#14099)Christopher Dunn2020-04-252-6/+25
| | | | | | | | | * Faster readStr() * https://github.com/nim-lang/Nim/issues/13857 * Add .since annotation and add to changelog * Private, un-sinced proc for csource bootstrapping
* HCR: properly handling complex const objects in the codegen - fixes #13915 ↵Viktor Kirilov2020-04-254-6/+32
| | | | (#14115)
* Fixes #14110 (#14111)Jae Yang2020-04-251-1/+1
| | | Fixes jsffi usage example in doc
* implement (#14114)cooldome2020-04-252-8/+9
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* Fix #14088 and #14089 on NetBSD (#14104)Euan2020-04-242-1/+2
| | | | | * Set path to libSDL for NetBSD. * Disable SFML test on NetBSD
* add CI badges for CI github actions ssl+docsTimothee Cour2020-04-241-1/+8
|
* fix nim CI; fix local testament (#14102)Timothee Cour2020-04-243-7/+12
|
* Add critbits.commonPrefixLen (#14072)Phil Krylov2020-04-242-0/+17
| | | | | | | * Add critbits.commonPrefixLen * add inline and since annotations, as well as a changelog entry Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* changed type() to typeof() in docs and error messages (#14084)hlaaftana2020-04-249-13/+13
|
* testament: don't try to test nimgrep if it's not there [backport:1.2] (#14085)alaviss2020-04-241-3/+4
| | | One more compiler source-specific tackled
* Make JS not mangle to snake_case (#14086)hlaaftana2020-04-241-5/+1
|
* Fix #14091 and #14093 - test failures on NetBSD (#14096)Euan2020-04-243-1/+4
|
* [ci skip] changelog conflicts are a thing of the past (#14098)Timothee Cour2020-04-241-0/+6
|
* add CI badges for azure-pipelines for devel, 1.0, 1.2 branches (#14101)Timothee Cour2020-04-241-1/+3
|
* Add tests for #8481, #6490 and #4061 (#14083)Clyybber2020-04-233-0/+45
|
* CT sizeof(+friends) for {.importc, completeStruct.} types, enable ABI static ↵Timothee Cour2020-04-2314-39/+221
| | | | | | | | | | | 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.})
* new cmd: `nim r main [args...]` to compile & run, saving binary under ↵Timothee Cour2020-04-235-16/+39
| | | | | | $nimcache/main (#13382) * implement `nim r main` to compile and run, saving binary to $nimcache * remove outFileAbs for now
* testament: don't rely on Nim source structure [backport:1.2] (#14077)alaviss2020-04-231-1/+1
| | | | It's also just faster to get the current file name instead of scanning the PATH.