Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | help Nim optimize intsets.initIntSet | Andreas Rumpf | 2018-12-30 | 1 | -8/+7 |
| | |||||
* | Dead code elimination for entire modules and their init procs if empty (#10032) | cooldome | 2018-12-30 | 6 | -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 Chandola | 2018-12-30 | 2 | -7/+22 |
| | | | | | | * Show deprecation warning for fields of a deprecated enum * Add test | ||||
* | Deprecated pragma is now supported on enum fields (#10113) | Neelesh Chandola | 2018-12-30 | 5 | -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 Cour | 2018-12-30 | 3 | -2/+8 |
| | | | | | | | (#10131) * fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 * add test | ||||
* | Support undefined in isNil (#9960) | Alexander Ivanov | 2018-12-30 | 3 | -3/+26 |
| | |||||
* | fixes #10082 | Andreas Rumpf | 2018-12-30 | 2 | -25/+22 |
| | |||||
* | refs #10121 (#10124) | Timothee Cour | 2018-12-30 | 1 | -1/+2 |
| | |||||
* | document --profiler:on (#10115) | Timothee Cour | 2018-12-30 | 1 | -0/+3 |
| | |||||
* | {.push raises: [].} is now ignored for vars/lets/consts (#10026) | Neelesh Chandola | 2018-12-30 | 1 | -6/+13 |
| | |||||
* | nim dump: add nimcache entry (#10122) | Timothee Cour | 2018-12-30 | 1 | -0/+1 |
| | |||||
* | `nim c` now allows: when defined(c) (#10130) | Timothee Cour | 2018-12-30 | 1 | -0/+1 |
| | |||||
* | revives: Move typetraits.`$` to system. Fixes #5827 (#10071) | Timothee Cour | 2018-12-30 | 4 | -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 Cour | 2018-12-27 | 1 | -3/+14 |
| | |||||
* | Const tuple unpacking: add tests (#10100) | ee7 | 2018-12-27 | 1 | -0/+16 |
| | |||||
* | fixes #10101 (#10103) | Timothee Cour | 2018-12-27 | 3 | -6/+6 |
| | |||||
* | Pragma syntax is now consistent (#9993) | Neelesh Chandola | 2018-12-27 | 2 | -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 Cour | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | config/nim.cfg: disable tlsEmulation on Haiku (#10092) [backport] | alaviss | 2018-12-27 | 1 | -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 Picheta | 2018-12-27 | 1 | -21/+27 |
| | |||||
* | Revert sub-second randomize(). Fixes randomize for JS backend. (#10000) | Dominik Picheta | 2018-12-27 | 1 | -2/+6 |
| | | | Fixes #9999. | ||||
* | Fix const tuple unpacking not working for variables > 2 (#10099) | Neelesh Chandola | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | fixes nim-lang/nimsuggest#76 (#10093) | alaviss | 2018-12-25 | 3 | -3/+41 |
| | | | | | | | | * nimsuggest: prevent out-of-bound access * fixes nim-lang/nimsuggest#76 * undo tester changes | ||||
* | fix #10049 (#10083) | Timothee Cour | 2018-12-23 | 2 | -2/+2 |
| | |||||
* | Add ability to sample elements from openArray according to a weight array ↵ | c-blake | 2018-12-23 | 2 | -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 #10024 | Araq | 2018-12-22 | 1 | -1/+1 |
| | |||||
* | fixes #10033 [backport] | Araq | 2018-12-22 | 2 | -3/+26 |
| | |||||
* | Don't use parseutils.parseInt in the times module (#10028) | Oscar Nihlgård | 2018-12-22 | 2 | -39/+78 |
| | |||||
* | appveyor: make the build green again | Andreas Rumpf | 2018-12-22 | 1 | -3/+8 |
| | |||||
* | IntSet documentation notes (#10051) | Alexis Hope | 2018-12-21 | 1 | -19/+28 |
| | |||||
* | Stop false positives in distros.detectOs (#10062) | Taylor Hoff | 2018-12-21 | 1 | -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 Cour | 2018-12-21 | 1 | -4/+4 |
| | |||||
* | Fixed insert for nil seq in js (#10068) | Yuriy Glukhov | 2018-12-21 | 2 | -1/+33 |
| | |||||
* | C++ tests: make DLL test green | Araq | 2018-12-21 | 1 | -1/+7 |
| | |||||
* | C++: make async tests green on Windows | Araq | 2018-12-21 | 3 | -6/+7 |
| | |||||
* | Add system.$(HSlice) and fix #7898 (#8670) | hlaaf | 2018-12-21 | 1 | -1/+11 |
| | | | | | | * Add system.$(HSlice) and fix #7898 * Surround system.$(HSlice) with spaces | ||||
* | fixes #10066 | Araq | 2018-12-21 | 1 | -19/+27 |
| | |||||
* | os.walkDir: correctly evaluate paths when relative = true (#10057) [backport] | alaviss | 2018-12-21 | 2 | -4/+13 |
| | |||||
* | fix #9933 (#10067) | Timothee Cour | 2018-12-21 | 1 | -0/+2 |
| | |||||
* | fixes #10058 [backport] | Araq | 2018-12-21 | 1 | -2/+3 |
| | |||||
* | lots of testament bug fixes and improvements: (#10044) | Timothee Cour | 2018-12-20 | 3 | -31/+120 |
| | |||||
* | use anon structs and unions for a much better debug experience (#10055) | Andreas Rumpf | 2018-12-20 | 2 | -39/+29 |
| | |||||
* | Add call to hostnamectl in detectOsImpl (#10048) | Taylor Hoff | 2018-12-20 | 1 | -3/+4 |
| | |||||
* | Make copies for params which are captured in closures. Fixes #7048 (#10050) | rec | 2018-12-20 | 2 | -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 Rumpf | 2018-12-20 | 1 | -9/+9 |
| | |||||
* | [json] document fact that key ordering is preserved (#10020) | Timothee Cour | 2018-12-20 | 1 | -0/+7 |
| | |||||
* | fix test failure | Timothee Cour | 2018-12-19 | 2 | -2/+5 |
| | |||||
* | add to changelog | Timothee Cour | 2018-12-19 | 1 | -0/+2 |
| | |||||
* | fix #8255 numerous issues with splitFile | Timothee Cour | 2018-12-19 | 2 | -4/+28 |
| | |||||
* | make nimrtl.dll compile for the C++ target | Araq | 2018-12-19 | 1 | -1/+1 |
| |