konsumlamm
20993047ce
Sugar improvements ( #16802 )
...
* Use runnableExamples in sugar
Remove unnecessary import
* Add trailing newline
* Address nits
* Remove unneccessary convolution
* Change wording
Co-authored-by: Clyybber <darkmine956@gmail.com >
2021-01-25 14:41:55 +01:00
konsumlamm
8395abab5f
Small changes to std/sums ( #16797 )
2021-01-25 12:15:36 +01:00
Saem Ghani
0961b5b584
regression test for nim-lang/nimsuggest#58 ( #16817 )
...
Already works this is simply to catch any regressions.
2021-01-25 09:52:35 +01:00
flywind
8d3e0c7b9b
make oids module better ( #16704 )
...
* make oids modules better
* Update lib/pure/oids.nim
* fix
2021-01-25 07:39:25 +01:00
Saem Ghani
d99ea00829
fixed nim-lang/nimsuggest#48 type aware sug ( #16814 )
...
* suggesting identifiers accounts context over scope (distance)
* key takeaway: context fit is prioritized over a heuristics like scope
2021-01-25 07:36:47 +01:00
flywind
461a95525e
close #16810 ( #16813 )
2021-01-25 11:02:12 +08:00
flywind
5f5a8aa5c6
remove unused warning ( #16809 )
2021-01-24 17:14:21 -08:00
flywind
97bde218e3
ref #16810 disable fidget ( #16811 )
2021-01-24 17:08:15 -08:00
Clyybber
301e5838ec
Finer analysis for array access ( #16787 )
...
* Refine the analysis for array access
* Cleanup
* Add comments
2021-01-24 21:01:41 +01:00
Andreas Rumpf
8241e55023
IC: next steps ( #16729 )
...
* 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
2021-01-23 08:06:15 +01:00
Timothee Cour
eae3bdf8fe
fix code-block ( #16799 )
2021-01-23 08:01:34 +01:00
konsumlamm
d5ce648838
Fix an RST issues introduced in #16777 ( #16798 )
2021-01-22 13:22:52 -08:00
Timothee Cour
8f62cd512c
fix manual to reflect reality for .nosideeffect ( #16781 )
2021-01-22 20:04:48 +01:00
Timothee Cour
aca97250ea
remove private checkSymlink (redundant with symlinkExists) ( #16785 )
2021-01-22 20:03:33 +01:00
konsumlamm
d2b218b80a
Improve the marshal module ( #16777 )
...
* Improve marshal
Use runnableExamples
Refactor tests
* Readd {.inheritable.} test
Apply suggestions
2021-01-22 19:52:34 +01:00
Timothee Cour
18b983d7e3
addQuitProc => addExitProc ( #16765 )
2021-01-22 19:51:11 +01:00
Timothee Cour
8f1f0bd1da
typetraits: make genericHead docs reflect reality; use runnableExamples ( #16776 ) [backport:1.4]
2021-01-22 15:06:45 +01:00
Daehee
2d0cb18b9f
Fix SIGSEGV in httpclient response body ( #16766 )
...
* 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 >
2021-01-22 15:04:52 +01:00
Clyybber
bebfbaa439
Add testcase for #14880 ( #16795 )
2021-01-22 13:14:28 +01:00
konsumlamm
72bbd07ec1
Add std/setutils to lib.rst ( #16791 )
...
* Add std/setutils to lib.rst
Improve doc comments for setutils
* Adhere to the RST spec
Use no UFCS in toSet
2021-01-22 13:13:18 +01:00
Juan Carlos
f1d165adf2
Testament small fixes ( #16788 )
...
* ReSync with Devel
* ReSync
* Fix Deprecations, Convertion to itself, code style, etc
* Fix Deprecations, Convertion to itself, code style, etc
2021-01-22 07:50:28 +01:00
Clyybber
3df652b90b
Add testcase for #5993 ( #16789 )
2021-01-22 02:11:21 +01:00
Roman Inflianskas
fdf4f74cd1
Fix #16741 ( #16783 )
...
Move `downloadFileEx` out of `downloadFile` (solution, proposed by
@Yardanico).
Tested manually.
2021-01-22 00:29:24 +01:00
flywind
dfe6797023
fix #15628 ( #16387 )
...
* done
* Apply suggestions from code review
* fixup
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
2021-01-21 17:31:47 +01:00
Clyybber
57d5c1465a
Part-to-whole optimization ( #16775 )
2021-01-21 15:25:00 +01:00
Timothee Cour
c17cad0992
close #8015 : const array indexing zeroes data in object variants at runtime ( #16782 )
2021-01-21 11:11:42 +01:00
Timothee Cour
2b5841cd2b
fix testament regression: installed testament works again with testament r path ( #16767 )
...
* fix testament regression: installed testament works again with testament r path
* fixup
2021-01-20 14:04:08 +01:00
Timothee Cour
00d9176e91
some comments for amd64 and nimvm CPU ( #16756 )
2021-01-20 11:10:11 +01:00
Timothee Cour
14730d9d64
fix noDecl => nodecl ( #16760 )
...
* fix noDecl => nodecl
* address comment
* disable flaky tests/stdlib/thttpclient.nim on freebsd
2021-01-20 11:08:42 +01:00
Clyybber
ccb11a63fb
Reboot of #16195 ( #16746 )
...
* 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 >
2021-01-20 11:05:56 +01:00
Timothee Cour
4fc7fcb775
--hintAsError (#16763 )
...
* --hintAsError
* add test, changelog
* condsyms
2021-01-20 10:49:59 +01:00
narimiran
2bedb0fe2c
add link to Nim Basics in tut1.rst [ci skip]
2021-01-20 09:15:20 +01:00
Andreas Rumpf
fbdf3f2ceb
intsets are not deprecated
2021-01-19 19:07:36 +01:00
flywind
a0fddfecd4
perpare for more compact bit operations in JS ( #16728 )
2021-01-19 14:57:16 +01:00
Andreas Rumpf
0300203e81
intsets are here to stay ( #16751 )
2021-01-19 14:17:22 +01:00
konsumlamm
bd5ce5b351
Improve documentation for stats ( #16742 )
...
* Improve documentation for stats
* Address nits
* Update lib/pure/stats.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-01-19 08:40:09 +01:00
Timothee Cour
2e5254ff27
fix config/nim.cfg: @if not bsd or haiku: was buggy ( #16748 )
2021-01-19 08:25:21 +01:00
Clyybber
580b8f744b
Fix bump CI
2021-01-18 23:33:41 +01:00
Timothee Cour
6c07b0a1f8
jsonutils.jsonTo: support opt ( #16739 )
2021-01-17 11:37:06 +01:00
konsumlamm
44ceefa9fe
Improve documentation for packedsets ( #16715 )
...
* Improve documentation for packedsets
Add more runnableExamples
Add deprecated pragma to intsets
Replace intsets with packedsets in lib.rst
* Apply suggested changes
2021-01-16 16:09:53 +01:00
flywind
8939de15d7
minor improvement on math.nim ( #16733 )
2021-01-16 12:37:23 +01:00
Timothee Cour
18e14f5920
js: improve tests + some docs ( #16727 )
...
* js: improve tests
* _
* _
* _
* fixup
2021-01-16 12:08:40 +01:00
flywind
e4a529962e
close #10735 add testcase ( #16690 )
2021-01-15 22:23:49 -08:00
flywind
5ed6a94d8f
promote math.isNaN ( #16734 )
2021-01-15 22:19:17 -08:00
Juan Carlos
78a99587a4
Deprecate TaintedString ( #15423 )
...
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com >
2021-01-15 18:56:38 -08:00
konsumlamm
7b632f9ccb
Improve documentation for the hashes module ( #16720 )
...
* Improve documentation for hashes
* Fix runnableExamples
* Apply suggestions
2021-01-15 22:42:01 +00:00
cooldome
fc9cf2088d
Fix 16722 ( #16730 )
...
* fix #16722
* fix spacing
* spacing
2021-01-15 18:16:24 +00:00
Timothee Cour
52cf728001
followup for #16717 : minimized example + improved comment ( #16721 )
2021-01-15 01:09:58 +01:00
Andrey Makarov
554fe8f88f
conservative approach to fix #15184 ( #16723 )
2021-01-15 00:53:36 +01:00
Juan Carlos
41965880ce
Add js BigInts ( #16409 )
...
* Add BigInts
* Renames tos plurals
* Improve Stringifications
* Update changelog.md
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* RunnableExamplerize
* discard the discardable pragma
* Several improvements from peer reviews, more docs
* More doc, more test
* More doc, more test
* Better error message 'Error: usage of low is an {.error.} defined at jsbigints.nim' instead of just 'type mismatch JsBigInt'
* is an overload, rename
* proc to scare kids away
* Update lib/js/jsbigints.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
* https://github.com/nim-lang/Nim/pull/16409#discussion_r554365041
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
2021-01-14 20:19:41 +01:00