summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* help Nim optimize intsets.initIntSetAndreas Rumpf2018-12-301-8/+7
|
* Dead code elimination for entire modules and their init procs if empty (#10032)cooldome2018-12-306-99/+176
| | | | | | * fixes #9798 * Change order of write modules * Move datInit calls ahead of initStackBottom
* Show deprecation warning for fields of a deprecated enum (#10112)Neelesh Chandola2018-12-302-7/+22
| | | | | | * Show deprecation warning for fields of a deprecated enum * Add test
* Deprecated pragma is now supported on enum fields (#10113)Neelesh Chandola2018-12-305-12/+63
| | | | | | * {.deprecated.} pragma is now supported for enum fields * Add tests * Simplify code
* fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 ↵Timothee Cour2018-12-303-2/+8
| | | | | | | (#10131) * fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 * add test
* Support undefined in isNil (#9960)Alexander Ivanov2018-12-303-3/+26
|
* fixes #10082Andreas Rumpf2018-12-302-25/+22
|
* refs #10121 (#10124)Timothee Cour2018-12-301-1/+2
|
* document --profiler:on (#10115)Timothee Cour2018-12-301-0/+3
|
* {.push raises: [].} is now ignored for vars/lets/consts (#10026)Neelesh Chandola2018-12-301-6/+13
|
* nim dump: add nimcache entry (#10122)Timothee Cour2018-12-301-0/+1
|
* `nim c` now allows: when defined(c) (#10130)Timothee Cour2018-12-301-0/+1
|
* revives: Move typetraits.`$` to system. Fixes #5827 (#10071)Timothee Cour2018-12-304-25/+44
| | | | | | * Move typetraits.`$` to system. Fixes #5827. * revive PR; adjust code to make sure everything works and add tests * fix tests/concepts/tstackconcept.nim * address comments
* `checkErr` now shows actual system error msg instead of unknown error (#9987)Timothee Cour2018-12-271-3/+14
|
* Const tuple unpacking: add tests (#10100)ee72018-12-271-0/+16
|
* fixes #10101 (#10103)Timothee Cour2018-12-273-6/+6
|
* Pragma syntax is now consistent (#9993)Neelesh Chandola2018-12-272-3/+40
| | | | | | | | | | * Give deprecation warning when type pragmas do not follow the type name * pragma before generic parameter list in type definition is now deprecated * Update changelog * Fix bug where deprecated warning was being shown even though no generic param list was present * Fix bug * Use errGenerated * Best attempt at writing the grammar
* [ci skip] update docs for build_all.sh (#10086)Timothee Cour2018-12-271-1/+1
|
* config/nim.cfg: disable tlsEmulation on Haiku (#10092) [backport]alaviss2018-12-271-3/+0
| | | | As of hrev52662, TLS support in Haiku is usable again. This has since been backported to R1/Beta1, so we can flip the switch upstream.
* Fixes long-standing asynchttpserver regression. (#10102)Dominik Picheta2018-12-271-21/+27
|
* Revert sub-second randomize(). Fixes randomize for JS backend. (#10000)Dominik Picheta2018-12-271-2/+6
| | | Fixes #9999.
* Fix const tuple unpacking not working for variables > 2 (#10099)Neelesh Chandola2018-12-271-1/+1
|
* fixes nim-lang/nimsuggest#76 (#10093)alaviss2018-12-253-3/+41
| | | | | | | | * nimsuggest: prevent out-of-bound access * fixes nim-lang/nimsuggest#76 * undo tester changes
* fix #10049 (#10083)Timothee Cour2018-12-232-2/+2
|
* Add ability to sample elements from openArray according to a weight array ↵c-blake2018-12-232-3/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (#10072) * Add the ability to sample elements from an openArray according to a parallel array of weights/unnormalized probabilities (any sort of histogram, basically). Also add a non-thread safe version for convenience. * Address Araq comments on https://github.com/nim-lang/Nim/pull/10072 * import at top of file and space after '#'. * Put in a check for non-zero total weight. * Clarify constraint on `w`. * Rename `rand(openArray[T])` to `sample(openArray[T])` to `sample`, deprecating old name and name new (openArray[T], openArray[U]) variants `sample`. * Rename caller-provided state version of rand(openArray[T]) and also clean up doc comments. * Add test for new non-uniform array sampler. 3 sd bound makes it 99% likely that it will still pass in the future if the random number generator changes. We cannot both have a tight bound to check distribution *and* loose check to ensure resilience to RNG changes. (We cannot *guarantee* resilience, anyway. There's always a small chance any test hits a legitimate random fluctuation.)
* fixes #10024Araq2018-12-221-1/+1
|
* fixes #10033 [backport]Araq2018-12-222-3/+26
|
* Don't use parseutils.parseInt in the times module (#10028)Oscar Nihlgård2018-12-222-39/+78
|
* appveyor: make the build green againAndreas Rumpf2018-12-221-3/+8
|
* IntSet documentation notes (#10051)Alexis Hope2018-12-211-19/+28
|
* Stop false positives in distros.detectOs (#10062)Taylor Hoff2018-12-211-3/+3
| | | | | | * Stop false positives in distros.nim * Fix bad string comparison on line 176 of distros.nim
* clarify doc for <= on tuple uses lexicographic order (#10069)Timothee Cour2018-12-211-4/+4
|
* Fixed insert for nil seq in js (#10068)Yuriy Glukhov2018-12-212-1/+33
|
* C++ tests: make DLL test greenAraq2018-12-211-1/+7
|
* C++: make async tests green on WindowsAraq2018-12-213-6/+7
|
* Add system.$(HSlice) and fix #7898 (#8670)hlaaf2018-12-211-1/+11
| | | | | | * Add system.$(HSlice) and fix #7898 * Surround system.$(HSlice) with spaces
* fixes #10066Araq2018-12-211-19/+27
|
* os.walkDir: correctly evaluate paths when relative = true (#10057) [backport]alaviss2018-12-212-4/+13
|
* fix #9933 (#10067)Timothee Cour2018-12-211-0/+2
|
* fixes #10058 [backport]Araq2018-12-211-2/+3
|
* lots of testament bug fixes and improvements: (#10044)Timothee Cour2018-12-203-31/+120
|
* use anon structs and unions for a much better debug experience (#10055)Andreas Rumpf2018-12-202-39/+29
|
* Add call to hostnamectl in detectOsImpl (#10048)Taylor Hoff2018-12-201-3/+4
|
* Make copies for params which are captured in closures. Fixes #7048 (#10050)rec2018-12-202-1/+63
| | | | | * Copy params which are captured in closures. Fixes #7048 * Forgot to emit a newline; minor adjustments to the test
* GC: avoid pathological behaviour; fixes #10040 [backport] (#10052)Andreas Rumpf2018-12-201-9/+9
|
* [json] document fact that key ordering is preserved (#10020)Timothee Cour2018-12-201-0/+7
|
* fix test failureTimothee Cour2018-12-192-2/+5
|
* add to changelogTimothee Cour2018-12-191-0/+2
|
* fix #8255 numerous issues with splitFileTimothee Cour2018-12-192-4/+28
|
* make nimrtl.dll compile for the C++ targetAraq2018-12-191-1/+1
|