summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fix floats slice (#16853)flywind2021-01-294-11/+11
| | | | | | | | | | | | | | | | | | | | | | | * see whether it breaks * fix * fix * minor * fix * add enum * use Ordinal types * fix tests * fix * another style * fix remainning cases
* fix #9102 docgen: sidebar now shows proc signatures instead of encoding (#16857)Timothee Cour2021-01-297-37/+981
|
* improve code in categories.nim; add std/private/gitutils; fix flakyness in ↵Timothee Cour2021-01-293-61/+72
| | | | | | nim CI (cloneDependency in deps.nim) (#16856) * improve code in categories.nim; gitutils; fix flakyness in deps.nim * cleanups
* fix #16815 round(x,places) works again in vm (#16825)Timothee Cour2021-01-283-29/+41
| | | | | | | * fix #16815 round+places works again in vm * improve tests; fix for linux 32bit * fix test for windows
* small fix in grammar.txt [ci skip]narimiran2021-01-281-1/+1
|
* A new request should always have a new content-length (#16667)Joey2021-01-281-9/+15
| | | | | | | | | * A new request should always have a new content-length In [my last PR](https://github.com/nim-lang/Nim/pull/16618) I made a mistake by assuming that the client.headers were cleared on every request, like the Python version. So, due to the fact that Nim keeps the client headers, we need to clear the Content-Length header on each request (which makes sense because you almost never want to use the same Content-Length twice, but you may want to reuse other headers) * Move content-length to newHeaders instead of in the global client headers * Use single backticks
* fix #16752: threadvar now works with importcpp types; osx now uses native ↵Timothee Cour2021-01-2713-13/+194
| | | | | | | | | | | TLS (`--tlsEmulation:off`), which can be orders of magnitude faster (#16750) * osx now uses native TLS, which can be orders of magnitude faster * add {.cppNonPod.} * improve test * changelog, docs, disable part of windows test
* Improve documentation for the mersenne module (#16824)konsumlamm2021-01-272-16/+27
| | | | | | | * Improve documentation for mersenne Add tests for mersenne * Add link to Wikipedia article
* Improve documentation for threadpool (#16821)konsumlamm2021-01-271-40/+41
|
* testament: fix #16829, fix partially #16830 (#16831)Timothee Cour2021-01-273-65/+87
| | | | * fix #16829 * address comments
* disble fidget again (#16842)Timothee Cour2021-01-271-1/+1
|
* Moved json enum index test to the proper file (#16826)Jason Beetham2021-01-252-11/+12
|
* added enum indexed array support to json (#16807)Jason Beetham2021-01-262-1/+12
| | | | | | | * added enum indexed array support to json * Added json test * Removed when statement for enum indexed arrays
* IC: final implementation steps (#16801)Andreas Rumpf2021-01-2512-105/+259
| | | | | | | | * removed dead code * we need even more laziness for the generic caches * make it bootstrap on older Nims * wrote more deserialization code * IC: replay required methods information
* Make small text changes in the docs (#16634)Elliot Waite2021-01-255-120/+124
| | | | | | | | | * Fix broken links in docs * Fix rand HSlice links * Make small text changes in the docs * Fix typo in contributing docs
* Sugar improvements (#16802)konsumlamm2021-01-251-66/+63
| | | | | | | | | | | | | | | * Use runnableExamples in sugar Remove unnecessary import * Add trailing newline * Address nits * Remove unneccessary convolution * Change wording Co-authored-by: Clyybber <darkmine956@gmail.com>
* Small changes to std/sums (#16797)konsumlamm2021-01-252-14/+30
|
* regression test for nim-lang/nimsuggest#58 (#16817)Saem Ghani2021-01-251-0/+22
| | | Already works this is simply to catch any regressions.
* make oids module better (#16704)flywind2021-01-252-26/+45
| | | | | | | * make oids modules better * Update lib/pure/oids.nim * fix
* fixed nim-lang/nimsuggest#48 type aware sug (#16814)Saem Ghani2021-01-253-5/+36
| | | | * suggesting identifiers accounts context over scope (distance) * key takeaway: context fit is prioritized over a heuristics like scope
* close #16810 (#16813)flywind2021-01-251-1/+1
|
* remove unused warning (#16809)flywind2021-01-241-2/+2
|
* ref #16810 disable fidget (#16811)flywind2021-01-241-1/+1
|
* Finer analysis for array access (#16787)Clyybber2021-01-243-29/+106
| | | | | * Refine the analysis for array access * Cleanup * Add comments
* IC: next steps (#16729)Andreas Rumpf2021-01-2332-323/+729
| | | | | | | | | | | * IC: dead code elimination pass * preparations for a different codegen strategy * added documentation to the newly written code * IC: backend code * IC: backend adjustments * optimized the compiler a bit * IC: yet another massive refactoring * fixes regressions * cleanups
* fix code-block (#16799)Timothee Cour2021-01-231-1/+1
|
* Fix an RST issues introduced in #16777 (#16798)konsumlamm2021-01-221-3/+3
|
* fix manual to reflect reality for .nosideeffect (#16781)Timothee Cour2021-01-222-6/+49
|
* remove private checkSymlink (redundant with symlinkExists) (#16785)Timothee Cour2021-01-221-16/+12
|
* Improve the marshal module (#16777)konsumlamm2021-01-222-200/+113
| | | | | | | | | | * Improve marshal Use runnableExamples Refactor tests * Readd {.inheritable.} test Apply suggestions
* addQuitProc => addExitProc (#16765)Timothee Cour2021-01-227-12/+21
|
* typetraits: make genericHead docs reflect reality; use runnableExamples ↵Timothee Cour2021-01-222-18/+25
| | | | (#16776) [backport:1.4]
* Fix SIGSEGV in httpclient response body (#16766)Daehee2021-01-222-4/+12
| | | | | | | | | * initialize httpclient response bodyStream; prevent SIGSEGV when getBody is false * Update lib/pure/httpclient.nim * Update lib/pure/httpclient.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Add testcase for #14880 (#16795)Clyybber2021-01-221-0/+10
|
* Add std/setutils to lib.rst (#16791)konsumlamm2021-01-222-14/+19
| | | | | | | | | * Add std/setutils to lib.rst Improve doc comments for setutils * Adhere to the RST spec Use no UFCS in toSet
* Testament small fixes (#16788)Juan Carlos2021-01-226-191/+91
| | | | | | | | | * ReSync with Devel * ReSync * Fix Deprecations, Convertion to itself, code style, etc * Fix Deprecations, Convertion to itself, code style, etc
* Add testcase for #5993 (#16789)Clyybber2021-01-221-0/+16
|
* Fix #16741 (#16783)Roman Inflianskas2021-01-221-22/+22
| | | | | | Move `downloadFileEx` out of `downloadFile` (solution, proposed by @Yardanico). Tested manually.
* fix #15628 (#16387)flywind2021-01-213-33/+53
| | | | | | | | | * done * Apply suggestions from code review * fixup Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Part-to-whole optimization (#16775)Clyybber2021-01-212-16/+62
|
* close #8015: const array indexing zeroes data in object variants at runtime ↵Timothee Cour2021-01-211-0/+57
| | | | (#16782)
* fix testament regression: installed testament works again with testament r ↵Timothee Cour2021-01-203-11/+31
| | | | | | | path (#16767) * fix testament regression: installed testament works again with testament r path * fixup
* some comments for amd64 and nimvm CPU (#16756)Timothee Cour2021-01-201-1/+2
|
* fix noDecl => nodecl (#16760)Timothee Cour2021-01-203-5/+6
| | | | | | | * fix noDecl => nodecl * address comment * disable flaky tests/stdlib/thttpclient.nim on freebsd
* Reboot of #16195 (#16746)Clyybber2021-01-204-61/+252
| | | | | | | | | | | | | | | | | | | | | | | | | * fix #16185 * fix test * fix comment * fix comment * better approach * Add more tests and move sameLocation to injectdestructors * Better and more strict sameLocation * Small cleanup and preliminary spec clarification * Fix * Fix doc * Expand test Co-authored-by: Andrey R (cooldome) <ariabushenko@gmail.com>
* `--hintAsError` (#16763)Timothee Cour2021-01-208-9/+56
| | | | | | | * --hintAsError * add test, changelog * condsyms
* add link to Nim Basics in tut1.rst [ci skip]narimiran2021-01-201-2/+7
|
* intsets are not deprecatedAndreas Rumpf2021-01-191-1/+0
|
* perpare for more compact bit operations in JS (#16728)flywind2021-01-192-7/+20
|
* intsets are here to stay (#16751)Andreas Rumpf2021-01-191-3/+1
|