summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Fix #12595 (#16874)konsumlamm2021-01-312-2/+12
|
* refactor hash in JS backend (#16863)flywind2021-01-302-29/+39
|
* BigInt runnableExamples: octal, binary, hex constructor (#16868)Juan Carlos2021-01-291-11/+19
| | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Add StorageEvent and correct Storage object (#16865)Antonis Geralis2021-01-291-8/+18
| | | There is no `LocalStorage` type, it's `Storage`
* nimsuggest prioritize non-deprecated suggestions (#16816)Saem Ghani2021-01-293-25/+39
| | | | | | | | | | | * penalizes the quality score of deprecated symbols * uses quality more pervasively in order to reflect deprecation impact * impacts both sug and con additional notes: * linux i386 CI was failing * this is because the suggested results differ slightly in their sort * 64 bit tables.getOrDefault:441 was returned, while 32 bit returned 422 * for now simply removing the last line is good enough
* add lost functions (#16843)flywind2021-01-292-0/+10
|
* close #16844 (#16852)flywind2021-01-291-0/+14
| | | | | | * close #16844 * better * comment * Update compiler/renderer.nim
* remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861)Timothee Cour2021-01-2913-93/+29
| | | | | | | | | * cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors * simplify nimNoNilSeqs2 * simplify nimNoNilSeqs * fixup
* 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