summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "fix #13417 (#13712)" (#13728)Andreas Rumpf2020-03-232-31/+11
| | | This reverts commit a5f02cac85281fc2804e910f330f0c11d3c4f77b.
* introduce getPeerCertificates, fixes #13299 (#13650)Christian Ulrich2020-03-224-22/+82
| | | | | | | | | | | | * make i2d_X509 and d2i_X509 always available i2d_X509 and d2i_X509 have been available in all versions of OpenSSL, so make them available even if nimDisableCertificateValidation is set. * introduce getPeerCertificates, fixes #13299 getPeerCertificates retrieves the verified certificate chain of the peer we are connected to through an SSL-wrapped Socket/AsyncSocket. This introduces the new type Certificate which stores a DER-encoded X509 certificate.
* better error messages for Nim's effect systemAraq2020-03-224-21/+46
|
* Windows API callbacks cannot raise exceptionsAraq2020-03-221-3/+3
|
* fix #13417 (#13712)Arne Döring2020-03-222-11/+31
| | | | | * fix #13417 * add test
* fixes #13715 (#13716)Arne Döring2020-03-223-2/+11
| | | | | * fixes #13715 * fix test
* typoAraq2020-03-221-1/+1
|
* fix #13720 (#13721)Arne Döring2020-03-222-2/+4
|
* Add EPOLLEXCLUSIVE (#13718)Hiroki Noda2020-03-211-0/+1
|
* fixes #13708 (#13711)cooldome2020-03-212-10/+20
| | | | | | * fixes #13708 * differentiate between arc and rest of GC Co-authored-by: cooldome <ariabushenko@bk.ru>
* [ci skip] add back unintentionally removed linenarimiran2020-03-201-0/+1
|
* SSL certificate verify GitHub action (#13697)Federico Ceratto2020-03-2013-12/+872
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement SSL/TLS certificate checking #782 * SSL: Add nimDisableCertificateValidation Remove NIM_SSL_CERT_VALIDATION env var tests/untestable/thttpclient_ssl.nim ran successfully on Linux with libssl 1.1.1d * SSL: update integ test to skip flapping tests * Revert .travis.yml change * nimDisableCertificateValidation disable imports Prevent loading symbols that are not defined on older SSL libs * SSL: disable verification in net.nim ..when nimDisableCertificateValidation is set * Update changelog * Fix peername type * Add define check for windows * Disable test on windows * Add exprimental GitHub action CI for SSL * Test nimDisableCertificateValidation
* [RFC] 'walkDir' now has a new 'checkDir' flag, to mimic behaviour of other ↵Timothee Cour2020-03-206-31/+56
| | | | | languages (#13642) Co-authored-by: narimiran
* threadpool.nim: allow control over MaxThreadPoolSize and ↵Araq2020-03-201-3/+3
| | | | MaxDistinguishedThread; refs #10584
* Revert –#13658 for nim-gdb.bat. Fixes #13705 (#13707)Joey2020-03-201-1/+3
|
* fixes #13698 (#13706)Andreas Rumpf2020-03-202-2/+9
|
* Detect Ubuntu by checking release() and uname() (#13704)Hayden2020-03-201-1/+3
| | | This will improve detection of Ubuntu when running on Ubuntu on WSL. #13703
* fight the code bloat in base64.nimAraq2020-03-201-7/+16
|
* make 'nim check' more robust for illdefined constantsAraq2020-03-201-1/+1
|
* Add Base64 safe (#13672)Juan Carlos2020-03-203-9/+45
| | | | * Implement RFC-4648 Section-7 * https://github.com/nim-lang/Nim/pull/13672#issuecomment-600993466
* fix #13538 sigmatch errors are now sorted (#13701)Timothee Cour2020-03-206-47/+54
| | | | | | | * fix #13538 sigmatch now sorted and has reliable order * re-enable tests that were disabled because of that bug * fix remaining tests and un-disable 2 other tests that were affected by this bug
* Remove 2 old deprecated files (#13702)Juan Carlos2020-03-203-23/+1
|
* fix nimsuggest warning (#13699)Jasper Jenkins2020-03-203-7/+4
|
* fix nimpretty warning (#13700)Jasper Jenkins2020-03-201-2/+1
|
* cycle breaker (#13593)Andreas Rumpf2020-03-1910-41/+298
| | | | * cycle breaking as an alternative to cycle detection
* Clean 1 old deprecated empty file (#13696)Juan Carlos2020-03-191-6/+0
|
* Attempt to finish off araq cpp exceptions (#13695)cooldome2020-03-1912-74/+233
| | | | | | | | | | | | | | | * config update * disable a questionable test * remove c++ exception handling IDs, new impl doesn't require it anymore * C++ based exceptions finally work * fixes bootstrapping problem in C++ mode * teach GCC it's 2020 now * more bugfixes for C++ based exception handling * apply cooldome's patch * another attempt to enable C++11 * bug fix Co-authored-by: Araq <rumpf_a@web.de> Co-authored-by: cooldome <ariabushenko@bk.ru>
* fixes #13691 (#13694)Andreas Rumpf2020-03-192-2/+34
|
* fix #13412 nim now recompiles for stdin input; SuccessX now configurable; ↵Timothee Cour2020-03-192-1/+11
| | | | | | can show whether it recompiled (#13506) * fix #13412 nim now recompiles for stdin input; SuccessX now indicates whether it recompiled
* fix #11458 oswalkdir (#13689)Timothee Cour2020-03-192-27/+5
| | | | | * fix #11458 oswalkdir * changelog
* added a switch -d:nimEmulateOverflowChecks for broken or old GCC versions ↵Andreas Rumpf2020-03-194-5/+13
| | | | (#13692)
* add `move` to `tables` to prevent warnings when compiled with `--gc:arc` ↵Miran2020-03-191-4/+4
| | | | (#13684)
* httpcore: deprecate `==`(string, HttpCode) (#13682)alaviss2020-03-192-1/+11
| | | | | | | | | | According to [RFC7230], the reason phrase attached to the status line is optional and clients should not rely on it. This in turn causes the proc to be practically useless, as clients should only inspect the return code. Ref #13680. [RFC7230]: https://tools.ietf.org/html/rfc7230#section-3.1.2
* gc.rst that doesn't lie (#13686)Andreas Rumpf2020-03-191-54/+34
|
* enable --tlsEmulation:on for --gc:arc (#13685)Andreas Rumpf2020-03-184-8/+5
| | | | * enable --tlsEmulation:on for --gc:arc * make -d:useMalloc work with --gc:arc --threads:on
* Documentation GC (#13109)Juan Carlos2020-03-181-76/+98
| | | | | | | | | | | | | | | | * Update Documentation about GC, add ARC based on code observations and https://forum.nim-lang.org/t/5734#35562 * Rephrase 'Garbage Collector' on documentation, see #13331 * Peer Review Feedbacks * When the body of a documentation section is all for garbage collector details then add 'for garbage collectors' to the title to identify they may not apply for ARC * Change 'GC' for 'garbage collector'. * Move 'Memory Management Strategies' at the top, without changes * Move the info for RefC GC from 'Introduction' to 'RefC' section without changes, make 'Introduction' about Nims 'Multi-paradigm Memory Management Strategies'.
* allow category nimble-packages to test a single package (#13576)Arne Döring2020-03-182-3/+4
|
* arc optimizations (#13325)Andreas Rumpf2020-03-1811-95/+312
| | | | | * scope based destructors * handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim * make this branch mergable, logic is disabled for now
* removed .gitattributes as it only causes trouble for meAraq2020-03-181-2/+0
|
* new feature: --staticBoundChecks:on to enforce static array index checking ↵Andreas Rumpf2020-03-1816-50/+152
| | | | (#10965)
* fix #13524 astToStr now works inside generics (#13681)Timothee Cour2020-03-182-1/+7
|
* fixes #13622 (#13679)Andreas Rumpf2020-03-182-2/+24
|
* fixes hash(HashSet) which was wrong as it didn't respect tombstones; refs #13649Araq2020-03-181-1/+2
|
* fixes #13671 [backport] (#13678)Andreas Rumpf2020-03-182-1/+6
|
* fix when statements in inheritable generic objects (#13667) [backport]Jasper Jenkins2020-03-172-1/+12
|
* add nnkMacroDef to RoutineNodes (#13676)Jasper Jenkins2020-03-171-1/+1
|
* rewritten goto based exception handling; much cleaner implementation;… ↵Andreas Rumpf2020-03-174-26/+79
| | | | | | (#13677) * rewritten goto based exception handling; much cleaner implementation; fixes #13668
* fixes a bug for 'dup' and 'with'; they can now handle nested statement lists ↵Araq2020-03-173-25/+22
| | | | that can result from macros
* Fixes #13659 (#13674)cooldome2020-03-172-3/+27
| | | | | * fixes #13659 Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647)Timothee Cour2020-03-174-14/+18
| | | | | | * docgen: minor refactoring via docOutDir * fix css for `nim doc subdir/foo` without --outdir nor -o * tcompilesetting.nim: keep `git status` clean * re-enable pkg nimgame2 that got fixed upstream