Commit Graph

16371 Commits

Author SHA1 Message Date
Timothee Cour
52ad63bc22 fix #15704 #15597 wrong VM register was freed (#15705)
(cherry picked from commit d4c2e2c53f)
2020-10-26 10:30:46 +01:00
narimiran
98073624f7 update koch so the nightlies will be able to bundle Nimble
- Previously, `winrelease` called `bundleNimbleExe`, which tries to clone
  nimble to `dist/nimble` unconditionally.
- Since nightlies source tarball bundles nimble, git couldn't clone
  because `dist/nimble` was already there.
  This leads to 1.0.x couldn't be built with nimble bundled.
- The fix backports the logic from Nim >= 1.2.8 which can check if
  `dist/nimble` was bundled by the source archive.
  With this fix we can re-enable bundling of nimble to the source
  archive for 1.0.x.
2020-10-22 20:14:44 +02:00
Igor Ribeiro de Assis
c32e002e63 Fix crash in parsexml (#15582) (#15583)
Co-authored-by: Igor Ribeiro de Assis <igor.ribeiro_de_assis@zeiss.com>
(cherry picked from commit 42c180c665)
2020-10-15 13:33:06 +02:00
genotrance
5b920dc01f Bump nimble (#15573)
(cherry picked from commit a4c28394be)
2020-10-15 09:45:17 +02:00
narimiran
4234a6373a bump NimVersion to 1.0.10 2020-10-14 11:01:35 +02:00
Andreas Rumpf
f6ada8874a sigmatch: hotfix [backport] (#15565)
(cherry picked from commit c664fb2843)
2020-10-14 11:01:24 +02:00
alaviss
4088d7f2ae terminal: fix fgColor/bgColor commands [backport] (#15554)
Since #8296, fgSetColor is no longer a global. These commands were
probably left out from the change as an oversight, so some tests have
been added to make sure this won't happen again.

(cherry picked from commit d1af9587b8)
2020-10-13 21:22:03 +02:00
Christopher Dunn
ad29fe8946 Fix doc for CountTable (#15561) [backport]
(cherry picked from commit f1d81dc6e6)
2020-10-13 08:44:48 +02:00
Christian Ulrich
52a3d38bda close socket in getPrimaryIPAddr (#15538) [backport]
(cherry picked from commit c7ccbfac39)
2020-10-13 08:44:36 +02:00
narimiran
1b530b5897 backport tasyncclosestall changes to make it more robust 2020-10-09 11:31:45 +02:00
cooldome
9193c85b61 fix #15516 (#15518)
(cherry picked from commit fe187719ab)
2020-10-09 10:15:20 +02:00
alaviss
758a54ce23 Small optimization for the CI pipeline. (#15088)
* azure-pipelines: cache csources to speed up build

Building csources takes about 2-4 mins, and since it hasn't changed for
a long time, employ some caching to cut the time spent.

* azure-pipelines: remove ppa avoidance configs

Testing shows that there aren't any difference between having this and
not having it, so removing this to simplify the code.

(cherry picked from commit c292c57e48)
2020-09-14 10:25:28 +02:00
narimiran
cc49902fa2 disable package 'ws' 2020-09-12 08:46:47 +02:00
narimiran
8ec5dc1969 Revert "[backport] fix #15064, strscans.scanf edge case for '$+' (#15223)"
This reverts commit f713c54166.
2020-09-12 08:42:43 +02:00
shirleyquirk
dc5e8fc39d Fix c_malloc inside syslocks.nim to take size_t (#15268) [backport]
* update c_malloc's to csize_t

(cherry picked from commit 57f98dae9a)
2020-09-11 15:01:14 +02:00
PMunch
37c3465081 Fix sets for architectures with default integers smaller than 32 bits (#15258) [backport]
(cherry picked from commit 244760197c)
2020-09-11 15:00:59 +02:00
Miran
f713c54166 [backport] fix #15064, strscans.scanf edge case for '$+' (#15223)
(cherry picked from commit 15ff89cec1)
2020-09-11 14:59:52 +02:00
alaviss
dc519a539b asyncnet: don't try to close the socket again [backport] (#15174)
The closed flag isn't a good design by any means, but let's have this
working first before I get rid of the flag and potentially create a
non-backportable commit.

(cherry picked from commit 957bf15a08)
2020-09-11 14:59:38 +02:00
Andreas Rumpf
acfd1b272d fixes #15101 [backport] (#15171)
(cherry picked from commit 2a8bf470af)
2020-09-11 14:58:48 +02:00
Andreas Rumpf
53fc3924a0 fixes #15071 [backport] (#15131)
(cherry picked from commit d23ae49535)
2020-09-11 14:54:44 +02:00
narimiran
95d4961612 bump NimVersion to 1.0.9 2020-09-11 14:41:47 +02:00
narimiran
b5ec602763 disable packages depending on 'chroma' v1.0.8 2020-07-29 12:54:34 +02:00
narimiran
9a649d91ad disable 'chroma' package 2020-07-29 11:16:39 +02:00
narimiran
e6cdbad6a5 fix flaky t7758 test 2020-07-29 11:15:50 +02:00
Bung
e79e0616b1 fixes #14189 (#15080) [backport]
(cherry picked from commit 191c388792)
2020-07-29 10:51:26 +02:00
Jjp137
6b555e78b7 parsecsv: fix '\0' being displayed as '0' in docs (#15086) [backport]
(cherry picked from commit a62bc55955)
2020-07-29 10:49:30 +02:00
Bung
36619e3569 fix #14534 (#15060) [backport]
(cherry picked from commit 9746868832)
2020-07-29 10:49:00 +02:00
Araq
f4ae3ab729 fixes #15056 [backport]
(cherry picked from commit 12a9fe017e)
2020-07-29 10:48:45 +02:00
narimiran
289e35166b bump NimVersion to 1.0.8 2020-07-29 09:55:47 +02:00
narimiran
338f25b56f 'chronos' has Nim v.12 dependency 2020-07-23 13:02:13 +02:00
Andreas Rumpf
872795e18a enforce browsers.nim only handles URLs [backport] (#15045)
(cherry picked from commit 925dd92e07)
2020-07-23 11:51:55 +02:00
narimiran
58515f6042 'norm' has Nim v1.2 dependency 2020-07-23 11:49:45 +02:00
narimiran
59a35563cf asyncftpclient fixes 2020-07-23 09:22:57 +02:00
Miran
66c21b9e95 asyncftpclient.nim - don't assume a sufficiend line length (#14973)
(cherry picked from commit f4f21c89e5)
2020-07-22 15:53:07 +02:00
Miran
94a855893e fix several newline problems (#15028) [backend]
* prevent newlines where they shouldn't be
* 'contentLength' shouldn't be negative

(cherry picked from commit 5fafa2fd5c)
2020-07-22 15:49:22 +02:00
narimiran
46c9eb5904 remove the test that cannot be run because 'capture' is not available on 1.0.x 2020-07-21 21:15:35 +02:00
Dominik Picheta
9cc5927a99 [Backport] Fixes callbacks being dropped on Linux/macOS/BSD. (#15012)
Fixes #15003.

This is a serious bug which occurs when data cannot be read/sent
immediately and there are a bunch of other read/write events
pending. What happens is that the new events are dropped which
results in the case of the reported bug resulted in some data not
being sent (!).

(cherry picked from commit 1e3a0ef1e1)
2020-07-21 15:55:23 +02:00
cooldome
85fb709020 fix odbc regressions (#15009) [backport]
* fix odbc regressions

* make only necessary changes

(cherry picked from commit edbbbdf1a8)
2020-07-21 15:55:08 +02:00
Bung
3483fdd43c fix #9771 (#14357)
* fix #9771
* map SQLLEN SQLULEN
* fix proc params take TSqlLen

Co-authored-by: bung87 <crc32@qq.com>
(cherry picked from commit ce0552c100)
2020-07-21 15:55:05 +02:00
Miran
507d7a9daa fix #14082, don't crash on incorrectly formatted input (#14977) [backport]
(cherry picked from commit c62513049c)
2020-07-21 15:53:44 +02:00
Clyybber
75f427a57b Fix #14911 (#14922) [backport]
* Fix #14911

* Add testcase

* Fix test

(cherry picked from commit 5bd2da3f64)
2020-07-21 15:52:53 +02:00
Miran
b0f71b051f [backport] fix #14748, move gdb files to other section of installer.ini (#14772)
(cherry picked from commit 6bf2990f66)
2020-06-24 07:02:31 +02:00
alaviss
b036c57dd3 posix_other: add define to force time_t to 64 bit [backport] (#14753)
This is a temporary remedy for time_t transition to 64 bit on newer
Linux libc (musl >= 1.2.0, glibc >= 2.32).

In the future we might want to move away from libc, or figure out a way
to reliably detect the real size of C types at compile time, both of
which are difficult.

(cherry picked from commit c8554ebc0c)
2020-06-24 07:02:22 +02:00
ee7
339c08ce5b [backport] Docs: Fix broken code-block (#14749)
This commit indents the contents of a `code-block` in `httpclient.nim`
so that it displays correctly. The bug was introduced by 42a64245f8.

I did a quick search for other `code-block`s that are broken in the same
way, but the only other one I found (in `pegs.nim`) is not included in
the generated documentation.

(cherry picked from commit 1e484ed62b)
2020-06-24 07:01:50 +02:00
Araq
5c266cdf05 fixes #14718 [backport]
(cherry picked from commit 65c7884a3c)
2020-06-24 07:01:10 +02:00
Danil Yarantsev
234f4a27e1 Change severity of template instantiation message [backport] (#14526)
* Change severity of template instatiation msg

* Add a test

* Trailing newline argh

(cherry picked from commit 3698f197f1)
2020-06-08 14:14:24 +02:00
Danil Yarantsev
c7cf5d4e73 Fix compiles for nimsuggest [backport] (#14527)
* Handle nimsuggest in tryExpr
* Added test

(cherry picked from commit 00ec43305e)
2020-06-08 14:14:13 +02:00
Andreas Rumpf
561092003d manual.rst: updates [backport] (#14445)
(cherry picked from commit 79e85cb0b5)
2020-06-08 14:13:50 +02:00
Danil Yarantsev
5b168d3f9b Fix some typos in the manual [backport] (#14399)
(cherry picked from commit 1450924b1e)
2020-05-20 15:35:05 +02:00
narimiran
965f7ebf54 disable the new fragile test in 'tosproc.nim' 2020-05-14 09:57:10 +02:00