alaviss
2a426ca8e2
kochdocs: fusion needs the js backend too ( #16644 )
2021-01-08 21:04:17 +01:00
Joey
bfcb7c1621
DELETE requests should always have a content-length header ( #16618 )
...
* DELETE requests should always have a content-length header
Not having DELETE in this list is causing hanging when trying to close webdriver sessions in [halonium](https://github.com/halonium/halonium/issues/10 ) and likely any other implementation of the webdriver protocol. Both at least chromedriver and geckodriver are affected by this issue.
* Change the content length calculation to match the http spec
For reference:
https://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#Entity-Body
2021-01-08 18:48:23 +00:00
flywind
38b8d080f2
close #1550 add testcase ( #16640 )
2021-01-08 14:42:38 +01:00
Andreas Rumpf
add1ccb6cb
compiler: minor refactoring ( #16633 )
2021-01-08 13:36:03 +01:00
Andrew
596da7f9a0
happy new year 2021 again ( #16638 )
2021-01-08 09:29:32 +01:00
konsumlamm
a4257dc3b6
Improve documentation for the md5 module ( #16631 )
2021-01-07 20:57:11 +01:00
Andreas Rumpf
796498525a
IC: next steps ( #16550 )
...
* cleanups
* ast.nim: cleanups
* IC: no more sym.tab field, stored externally in the module graph
* nimble compiles again
* rodfiles: store bitwidth of integers and the endianness in the cookie because we serialize 'int' directly
* rodfiles: added compilerproc and export sections
* rodfiles: added all the missing sections
* rodfiles: track the missing information
* IC: architecture for lazy loading of proc bodies
* make tests green again
* completed the lazy loading of proc bodies
* symbol lookup integration, part 1
* symbol lookup integration, part 2
* symbol lookup integration, part 3
* make tcompilerapi work again
* rodfiles: fixed config change handling
2021-01-07 20:26:40 +01:00
rockcavera
0da4cb93d1
minor fix ( #16624 )
2021-01-07 19:16:26 +01:00
haxscramper
cbf227d949
[FIX] Update fusion master commit hash ( #16630 )
2021-01-07 19:14:50 +01:00
PMunch
0e7902b976
Implements streams for sockets ( #15729 )
2021-01-07 16:09:57 +01:00
flywind
89a21e4ec7
oids: switch from PRNG to random module ( #16203 )
...
* switch from PRNG to random module
* fix the regression
* comments + tests
* runnableExamples
* make oids better
2021-01-07 09:38:31 +01:00
flywind
bab0aa6ecf
add math.signbit ( #16592 )
2021-01-07 08:48:02 +01:00
Dominik Picheta
4754806fb5
Fixes the asynchttpserver example some more ( #16599 )
...
I dislike this example a lot (busy looping for FDs to be closed is a very
poor waste of resources) but at least with these changes it's a little bit
better.
2021-01-07 08:39:56 +01:00
inv2004
04b765c16d
Jsonutils: pass opt for object in object ( #16615 )
...
* jsonutils: fromJson forward opt param fix
* jsonutils: object in object test + fix: opt pass
2021-01-07 03:09:02 +01:00
konsumlamm
d34d023da1
Minor docs/format changes (cpuinfo, volatile) ( #16602 )
2021-01-06 20:29:22 +01:00
Timothee Cour
025ca660f7
[backport 1.0] add backend support for js bigint ( #16606 )
...
* add backend support for js bigint
* cleanup
* add tests
* add -d:nimHasJsBigIntBackend
* cleanup
* more tests
2021-01-06 20:28:24 +01:00
Saem Ghani
21dfa04cbf
fixes nim-lang/nimsuggest#119 outline includes ( #16608 )
...
nimsuggest outline should account for includes, now it does:
- the module prefix will be of the module doing the including
- the filename will be of the module that was included
- adds a test case for it
2021-01-06 20:26:16 +01:00
konsumlamm
8a3b6190c3
Improve documentation for deques ( #16589 )
2021-01-06 20:16:26 +01:00
Timothee Cour
c21360e67a
macros.quote: document hard to use op; add more useful examples ( #16489 )
...
* macros.quote: document hard to use `op`; add more useful examples
* add back doc comment removed in a60305fbf3
* address comment
* fixup
* clarify quoting rules
* Update lib/core/macros.nim
Co-authored-by: Clyybber <darkmine956@gmail.com >
Co-authored-by: Clyybber <darkmine956@gmail.com >
2021-01-06 19:28:17 +01:00
inv2004
0d5cab77f6
jsonutils: fromJson forward opt param fix ( #16612 )
2021-01-06 18:42:49 +01:00
cooldome
58b9191354
fix #16516 method dispatch for sink args ( #16594 )
...
* fix #16516
* fix comment
* Trigger build
2021-01-06 10:47:03 +00:00
n5m
d721f5ceca
fix syntax in macros documentation ( #16604 )
2021-01-06 03:23:59 +01:00
konsumlamm
2c2baa9fad
Link the <fenv.h> header ( #16597 )
2021-01-05 20:51:51 +01:00
flywind
c04f305bf7
make cstrutils work in VM ( #16590 )
...
* make cstrutils work in VM
* more
2021-01-05 17:52:26 +01:00
konsumlamm
0c4bd65e8d
Improve documentation for complex ( #16588 )
...
* Improve documentation for complex
Add missing doc comments
* Add runnableExample
Add links for principal values
Optimize `-`
Change var to let
* Use std prefix for imports
2021-01-05 17:50:15 +01:00
flywind
df9e74b510
fix #9125 ( #16582 )
...
* fix #9125
* Update tests/stdlib/tmath.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
* back
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
2021-01-05 17:47:10 +01:00
Juan Carlos
b24d6d4b6a
Remove old untested undocumented examples ( #16595 )
2021-01-05 17:45:58 +01:00
Timothee Cour
3b2f94810e
remove duplication in asynchttpserver examples ( #16586 )
...
* remove duplication in asynchttpserver examples
* fixup
* add comment showing how to run snippet locally
2021-01-05 17:21:06 +01:00
Clyybber
9f1dd5c00f
Make tmath test more strict ( #16593 )
...
Don't use approximate equality when comparing
numbers that are representable with perfect precision.
2021-01-05 15:52:24 +01:00
Timothee Cour
b2a53795dc
merge tmath_misc.nim into tmath.nim ( #16591 )
2021-01-05 14:29:21 +01:00
Miran
d2f4f25b56
fix #16506 by changing the example ( #16580 )
...
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-01-04 12:46:36 -08:00
flywind
fe20492f05
clean up the docs of some modules under lib/js ( #16579 )
2021-01-04 19:54:33 +01:00
Timothee Cour
00144ee4e9
fix #16576 : honor matrix in testament by making such tests non joinable ( #16577 )
...
* refs #16576 : honor matrix in testament by making such tests non joinable
* add tests + misc fixes
* fix test for i386 with -d:danger
2021-01-04 19:45:46 +01:00
Andreas Rumpf
6317e4004d
make --gc:arc --exceptions:quirky work again [backport:1.4] ( #16583 )
...
* make --gc:arc --exceptions:quirky work again [backport:1.4]
* fixes #16404 [backport:1.4]
2021-01-04 19:44:50 +01:00
Clyybber
80c8f06663
Add test for static proc/lambda params ( #16584 )
2021-01-04 18:41:02 +01:00
flywind
9531afac48
fix #16499 ( #16514 )
2021-01-04 18:27:58 +01:00
Neelesh Chandola
0d67ad0bf3
Add backwards index overload for [] for JsonNode ( #16501 )
...
* Add backwards index overload for `[]` for JsonNode
* Add since
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* Add docs, example, and changelog
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
2021-01-04 17:46:39 +01:00
Juan Carlos
349574d574
Add posix_utils.osReleaseFile ( #16452 )
...
* Add posix_utils.osReleaseFile
* Update lib/posix/posix_utils.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* Update lib/posix/posix_utils.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* Add a basic sanity test
* Add a basic sanity test
* Add a basic sanity test
* Add a basic sanity test
* https://github.com/nim-lang/Nim/pull/16452#issuecomment-753364096
* Update lib/posix/posix_utils.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
* Update lib/posix/posix_utils.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
* Update changelog.md
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-01-04 15:21:36 +01:00
flywind
7c2c1ad072
enable tmath tests for JS backend ( #16562 )
2021-01-04 11:40:56 +01:00
flywind
acf3715ea8
continue #15456 add #pragma directives compiler support ( #16472 )
...
* continue #15456
* follow the advice from juan_carlos
2021-01-04 11:34:13 +01:00
konsumlamm
435f829348
Improve sequtils documentation ( #16559 )
...
* Improve sequtils documentation
Uncomment assertions in tests
* Use present tense
2021-01-04 11:04:30 +01:00
flywind
c80261bc00
fix #12311 ( #16578 )
2021-01-04 10:24:52 +01:00
konsumlamm
763fef59fa
Improve documentation for critbits ( #16568 )
2021-01-03 22:25:05 -08:00
Clyybber
a0134671ee
Make test independent of repo location ( #16571 )
...
* Make test independent of repo location
* Fix differently
2021-01-03 19:15:56 +01:00
Roman Inflianskas
c82c67dc69
fix #12958 ( #16565 )
...
Sync between Linux kernel code (header:
https://github.com/torvalds/linux/blob/master/tools/include/uapi/linux/sched.h )
and the linux module in lib.
`CLONE_STOPPED` was marked as deprecated, as it was removed in the
Linux kernel upstream.
Fixes #12958 .
2021-01-03 14:00:22 +01:00
flywind
76f92265d9
fix #8412 ( #16563 )
...
* Revert "Make config processing order test more robust"
This reverts commit cf714c129f .
* enable tmath tests
* fix #8412
* Revert "enable tmath tests"
This reverts commit 293b63f57e .
* add tests
* fix
2021-01-03 11:05:59 +01:00
hlaaftana
2aed418698
Fix #16554 ( #16564 )
2021-01-03 08:02:12 +01:00
flywind
c71f5650c6
Revert "Make config processing order test more robust" ( #16561 )
...
This reverts commit cf714c129f .
2021-01-03 12:55:08 +08:00
Clyybber
cf714c129f
Make config processing order test more robust
2021-01-02 21:47:26 +01:00
Timothee Cour
471aab86a0
fix #16526 run config.nims before foo.nim.cfg ( #16557 )
...
* fix #16526 run config.nims before foo.nim.cfg
* add test
2021-01-02 21:41:44 +01:00