| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
languages (#13642)
Co-authored-by: narimiran
|
|
|
|
| |
MaxDistinguishedThread; refs #10584
|
|
|
| |
This will improve detection of Ubuntu when running on Ubuntu on WSL. #13703
|
| |
|
|
|
|
| |
* Implement RFC-4648 Section-7
* https://github.com/nim-lang/Nim/pull/13672#issuecomment-600993466
|
| |
|
|
|
|
| |
* cycle breaking as an alternative to cycle detection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* fix #11458 oswalkdir
* changelog
|
|
|
|
| |
(#13692)
|
|
|
|
| |
(#13684)
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
* enable --tlsEmulation:on for --gc:arc
* make -d:useMalloc work with --gc:arc --threads:on
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
| |
(#13677)
* rewritten goto based exception handling; much cleaner implementation; fixes #13668
|
|
|
|
| |
that can result from macros
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
other fixes (#13550)
* fix #13218: avoid some irrelevant warnings for nim doc,rst2html
* suppress warnRedefinitionOfLabel for nim doc
* lots of fixes for UnusedImport warnings
|
|
|
|
|
|
|
|
|
|
| |
* allow defects to be caught even for --exceptions:goto (WIP)
* implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180
* new implementation for integer overflow checking
* produce a warning if a user-defined exception type inherits from Exception directly
* applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic'
* fixes #13627
* don't inherit from Exception directly
|
|
|
|
|
|
|
|
|
|
|
| |
* rename 'lenTuple' to 'tupleLen'
Rationale:
`lenTuple` is a tuple consisting of lengths (e.g. `(1, 5, 0)`),
`tupleLen` is a length of a tuple (e.g. `tupleLen((1, 5, 0) == 3`)
* rename 'lenVarargs' to 'varargsLen'
The same rationale as a previous commit. Consistency.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(#13629)
* unicode.split: Fix the splitting when a Rune separator is used [backport]
- Fixes https://github.com/nim-lang/Nim/issues/13628
- Ref https://irclogs.nim-lang.org/11-03-2020.html#20:01:34
* unicode.split: Remove the sepLen based logic.. resulted in wrong jumps
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add more JS stuff to dom.nim
* Make all links to docs doc comments.
* Fix minor textContent * space.
* Remove Selection object.
* More work on docs.
* Fixing links.
* Made the links be "see <docs>".
|
|
|
|
| |
* fix #13310, Deque misbehaves on VM
* use 'when nimVM'
|
|
|
|
| |
breaking change: do not use `now` to compute result, was undocumented and non-sensical (#13565)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add expectIdent to macros
* apply feedback
* Update lib/core/macros.nim
Co-Authored-By: Clyybber <darkmine956@gmail.com>
* Update texpectIdent2.nim
* Update texpectIdent1.nim
Co-authored-by: Clyybber <darkmine956@gmail.com>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
| |
typo: start → end
|
|
|
|
| |
* fixes #13513
* merge tarithmetics in tarithm
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add os.isValidFilename
* Add os.isValidFilename
* Peer Review Feedbacks https://github.com/nim-lang/Nim/pull/13561#discussion_r388013139
* Peer Review Feedbacks https://github.com/nim-lang/Nim/pull/13561#issuecomment-595259568
* Add since to const
* Update the documentation comment
* Update the changelog
* Update lib/pure/os.nim
Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com>
* Update lib/pure/os.nim
Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com>
* Peer Review Feedbacks, Add more Tests
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add `uploadFile` to POST files by streaming them
* Use constant for \c\L
* Formatting
* Remove uploadFile
* Implement MultipartData file streaming
* Remove unnecessary var annotations
* Call string on TaintedStrings
Fixes #12789
* Move cl constant to httpcore
* Fix `request` inconsistencies
* Update documentaion
* Clean up
* Skip multipart formatting when there's 0 entries
* Remove extraneous `cl` from multipart formatting
* Update MultipartData `$` to match old behaviour
* Update comment
* Address comments
|
|
|
|
|
| |
* Fix https://github.com/nim-lang/Nim/issues/13573 and https://github.com/nim-lang/Nim/issues/13574
* Restored asynchttpserver
|
|
|
|
|
|
|
|
|
|
|
| |
As discussed in #13394, these changes cannot work. Reverted via
```
git revert --no-commit 5bf571f061d53d35aab727f420afd9f415987723
git revert --no-commit abd660c407d00d0c4f2129ff11bfc69badda8ece
git revert --no-commit 955465e5f42b1353f69f3bd884908a7ef91ce13b
git commit
```
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ensure capitalize doesn't take an inferred sink parameter
* sink parameter inference: first version, for now disabled. Changed that sink parameters can be consumed multiple times in order to adhere to our spec.
* sink inference can now be disabled with .nosinks; sometimes for proc type interop this is required
* fixes yet another critical DFA bug
* better implementation that also understands if expressions etc
* document sink parameter inference and allow for global disabling
|
|
|
|
|
|
|
|
| |
* Implement compileSetting() and compileSettingSeq()
* Change from magic to vmop
* better design for querySetting
Co-authored-by: genotrance <dev@genotrance.com>
|
| |
|
| |
|
|
|
|
|
|
| |
* make genericParams support static[T] generic params
* WrapStatic => StaticParam
|
| |
|