konradmb
ad8ea06931
Fix issue #10726 - HTTP response without Content-Length is not accessible ( #11904 )
...
* Add patch by @xenogenesi
* Async test for HTTP/1.1 without Content-Length
* Apply suggestions from code review
Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com >
(cherry picked from commit addd7b5e20 )
2019-08-13 16:59:49 +02:00
Andreas Rumpf
b0d2052a3f
Incremental compilation (IC): Improvements ( #11881 )
...
* IC: C codegen is aware of IC
* manual: minor change to make VSCode's RST plugin render it properly
* IC: minor refactoring
* testament: code refactorings
* rodutils: removed dead code
* IC: always build the compiler with the IC feature
* IC: C codegen improvements
* IC: implement the undocumented -d:nimMustCache option for testing purposes
* IC: added first basic tests
* IC: extensive testing of the deserialization feature
* testament: refactoring; better IC tests
* IC: removes 'nimMustCache' flag; readonly does the same
* testament: minor refactoring
* update Nimble version
* testament: removed dead code and imports; IC: added simple test
* IC: progress
(cherry picked from commit c8cffaf420 )
2019-08-13 16:59:49 +02:00
Andreas Rumpf
31afbd2379
fixes #11807 ( #11900 )
...
* fixes #11807
* make tests green again
(cherry picked from commit c0d240b8cd )
2019-08-13 16:59:49 +02:00
amzak
c95f12699b
Fixed handling of empty strings for encodings conversions ( #11897 )
...
(cherry picked from commit f34ae81971 )
2019-08-13 16:59:49 +02:00
awr1
deb8d2f81a
Typeclass/Variant clarification in Manual ( #11901 )
...
* [Docs] clarified what type classes do in manual
* [Docs] fixed 'dynamism', added to object variant section
(cherry picked from commit 9321b33cd2 )
2019-08-13 16:59:49 +02:00
amzak
7689d51ec7
Fixed utf8<->utf16 conversions on windows ( #11888 )
...
(cherry picked from commit 3d7d5cf121 )
2019-08-13 16:59:49 +02:00
Andreas Rumpf
a5d28e686f
fixes #11817 ( #11889 )
...
(cherry picked from commit 42e83ac24c )
2019-08-13 16:59:49 +02:00
Araq
c558efdb5c
newruntime: make system.delete and friends work with owned ref (bugfix); reported on the forum
...
(cherry picked from commit 61c66abbfe )
2019-08-13 16:59:49 +02:00
Araq
b1cba3528b
fixes #11844
...
(cherry picked from commit 7024bb800c )
2019-08-13 16:59:49 +02:00
Arne Döring
38893a34ee
fixes #9829 ( #11849 )
...
(cherry picked from commit b73d097d36 )
2019-08-13 16:59:49 +02:00
narimiran
035427186c
fix #8305 #7808 #10285 #11061 + other bugs with type mismatch error msgs
...
(cherry picked from commit a6526695f0 )
(cherry picked from commit b80d70b0f3 )
(cherry picked from commit 6375df4c53 )
(cherry picked from commit 5fce81edfd )
(cherry picked from commit 5ddea6a98f )
(cherry picked from commit 063ae96a66 )
2019-08-13 16:59:44 +02:00
Chris Heller
47c965f85f
Skip db_postgres.setRow if getRow returns 0 rows ( #11859 )
...
Fixes nim-lang/Nim#11821
(cherry picked from commit 343ace8194 )
2019-08-12 12:11:25 +02:00
Leorize
f26124fac2
tgetaddrinfo: disable ICMP tests for Haiku
...
They're not supported by Haiku's getaddrinfo()
(cherry picked from commit 51d998390c )
2019-08-12 12:11:25 +02:00
Leorize
8a007cf4ca
tgetaddrinfo: use sizeof() instead of hardcoding
...
OS like Haiku have a bigger sockaddr_in struct for legacy(?) reasons.
Using sizeof() should account for the different struct sizes.
(cherry picked from commit df32c45757 )
2019-08-12 12:11:25 +02:00
Oscar Nihlgård
ccc611e06d
Allow typeof(nil) as generic parameter ( #11869 )
...
(cherry picked from commit bcfb540e57 )
2019-08-12 12:11:25 +02:00
Oscar Nihlgård
64d1159054
VM exception fixes ( #11868 )
...
(cherry picked from commit 50e921bb94 )
2019-08-12 12:11:25 +02:00
Jjp137
78f4b72d9b
random: minor documentation updates ( #11831 )
...
Add docs for the sample procs that take in sets, and clean up a
few other minor things.
(cherry picked from commit a906b3952b )
2019-08-12 12:11:25 +02:00
Oscar Nihlgård
ad623d138d
Fix VM conversion to var type [bugfix] ( #11866 )
...
(cherry picked from commit 829f719670 )
2019-08-12 11:22:26 +02:00
Arne Döring
52bdb1adc7
fix #11854 ( #11857 )
...
(cherry picked from commit 803406d07c )
2019-08-12 11:22:14 +02:00
Dominik Picheta
58772dce2e
Fixes subtle SSL recvInto bug.
...
This resulted in a "value out of range: -1" exception inside `recvInto`
(on the `copyMem` line). Basically readIntoBuf was returning `-1`.
(cherry picked from commit bb949a75db )
2019-08-12 11:10:26 +02:00
Andreas Rumpf
86f2d0adcc
IR: minor refactoring
...
(cherry picked from commit ceb1a1b688 )
2019-08-12 11:10:26 +02:00
Andreas Rumpf
3b8241c163
IC: some progress
...
(cherry picked from commit f58d87cb43 )
2019-08-12 11:09:42 +02:00
Andreas Rumpf
6a0e541336
destructors spec: be more precise about temporaries
...
(cherry picked from commit c9c8fa99cc )
2019-08-12 11:08:57 +02:00
Andreas Rumpf
09570f20cc
nimgrep: introduce the --rex option
...
(cherry picked from commit b9c15371a3 )
2019-08-12 11:08:57 +02:00
Andreas Rumpf
d9fd01af88
nimgrep: fixes the -w option
...
(cherry picked from commit f7c99838e2 )
2019-08-12 11:08:57 +02:00
Andreas Rumpf
69c2341663
makes the -d:nimIncremental compiler mode compile again
...
(cherry picked from commit 25e6c53bb5 )
2019-08-12 11:08:38 +02:00
Arne Döring
08f094c487
fix #11812 ( #11829 )
...
* fixes #11812
* fixes #10899
* fixes #11367
(cherry picked from commit 1a77040278 )
2019-08-12 11:07:48 +02:00
Giovanni Petrantoni
6fdfdf48de
Use proper types according to MSDN and fix clang build of windows dynlib ( #11828 )
...
(cherry picked from commit 2fdba334da )
2019-08-12 11:02:43 +02:00
Miran
1ee78916db
fix #11772 , JS random seed was too large ( #11820 )
...
(cherry picked from commit 3bb6d1916e )
2019-08-12 10:52:05 +02:00
narimiran
100d6a1960
close #11166 by adding a test
...
(cherry picked from commit 3ccda773d6 )
2019-08-12 10:52:05 +02:00
narimiran
a7683f8b86
close #9891 by adding a test
...
(cherry picked from commit 13190435a6 )
2019-08-12 10:52:05 +02:00
genotrance
8deb9cf14c
Fix #10630 - fix broken separators in nim doc ( #11814 )
...
(cherry picked from commit 44aadd50cf )
2019-08-12 10:52:05 +02:00
narimiran
a952f4f35d
fix asyncftpclient examples [ci skip]
...
(cherry picked from commit 5484352d26 )
2019-08-12 10:52:05 +02:00
narimiran
a84e943e5b
fix failing JS tests
...
(cherry picked from commit 30f2cec671 )
2019-08-12 10:50:36 +02:00
Benjamin Summerton
7d9f176f00
Add opacity to JS Style
...
I noticed this was missing. It has cross browser support: https://developer.mozilla.org/en-US/docs/Web/CSS/opacity#Browser_compatibility
(cherry picked from commit 46f2271968 )
2019-08-12 10:50:36 +02:00
cooldome
28664cf7b8
fixes #11792 ( #11793 )
...
(cherry picked from commit d563efb719 )
2019-08-12 10:50:36 +02:00
Araq
043702776b
fixes #11745
...
(cherry picked from commit 67a6effb7b )
2019-08-12 10:50:04 +02:00
Araq
9e634919d9
style improvements; fixes #11774
...
(cherry picked from commit 5a020d641d )
2019-08-12 10:22:31 +02:00
Araq
b0ad20404a
installer: ship nimpretty.exe on Windows
...
(cherry picked from commit de69e1856f )
2019-08-12 10:13:35 +02:00
Andreas Rumpf
becb55cf8d
async macro: general stability improvements [bugfix] ( #11787 )
...
(cherry picked from commit 70e8551e37 )
2019-08-12 10:13:35 +02:00
Jörg Wollenschläger
c87236c61f
Fix the range of destroyed elements when shrinking a seq ( #11785 )
...
(cherry picked from commit 903d06bab8 )
2019-08-12 10:13:04 +02:00
narimiran
864f1094ef
Revert "[refactoring] don't use 'defer'"
...
This reverts commit 1bc3f44f1a .
2019-07-22 11:35:45 +02:00
Araq
4b0de0ca6f
nimpretty: fixes #11616
...
(cherry picked from commit 6d8913ee14 )
2019-07-19 16:47:36 +02:00
Araq
ace3b341a3
nimpretty: fixes #11699
...
(cherry picked from commit 7deb49e992 )
2019-07-19 16:47:36 +02:00
Araq
ce7a0e3ffb
[refactoring] nimpretty
...
(cherry picked from commit 5b7273b4f8 )
2019-07-19 16:47:28 +02:00
Araq
ddc02649a6
[refactoring] remove unused imports in the compiler and in some stdlib modules
...
(cherry picked from commit 07d465ca42 )
2019-07-19 16:46:51 +02:00
narimiran
3c6d442ce5
update changelogs [ci skip]
...
(cherry picked from commit f50e4500c2 )
2019-07-19 16:46:32 +02:00
Kaushal Modi
469e3a5f59
[bugfix] Make std/unicode compile with --styleCheck:error ( #11763 )
...
(cherry picked from commit d40872bf9b )
2019-07-19 16:46:08 +02:00
Kaushal Modi
d8d0aad906
[bugfix] Make std/unittest compile with --styleCheck:error ( #11762 )
...
(cherry picked from commit 404b224945 )
2019-07-19 16:46:08 +02:00
Andreas Rumpf
1bc3f44f1a
[refactoring] don't use 'defer'
...
(cherry picked from commit 210988c532 )
2019-07-19 16:44:31 +02:00