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
Kaushal Modi
da7a6f4875
Fail quickly if re or nre module is attempted to be compiled with js [backport] ( #14341 )
...
Fixes https://github.com/nim-lang/Nim/issues/14338 .
(cherry picked from commit a2a3fa1039 )
2020-05-14 07:33:03 +02:00
Andreas Rumpf
ff9d59747d
fixes #13104 [backport]
...
(cherry picked from commit f3e17e7c77 )
2020-05-14 07:32:58 +02:00
slangmgh
6d5761d488
Fix #14289 ( #14304 ) [backport]
...
(cherry picked from commit 76f7e95814 )
2020-05-14 07:31:31 +02:00
Timothee Cour
931a70b123
fix a critical bug in windows.osproc leading to resource leaks and blocking IO [backport] ( #14296 )
...
(cherry picked from commit d11cb9d495 )
2020-05-13 08:17:52 +02:00
alaviss
0c6c11f2aa
net: remove more erroneous set constructions ( #14252 ) [backport]
...
Refs #13764
(cherry picked from commit 1a1e9986a3 )
2020-05-13 08:17:47 +02:00
slangmgh
d15cbb229a
Fix #14151 ( #14205 ) [backport]
...
(cherry picked from commit d5c014e59b )
2020-05-06 17:27:09 +02:00
Kaushal Modi
c90bbe3201
Document that proc named fooTask is created for every foo task [backport] ( #14187 )
...
Ref: https://irclogs.nim-lang.org/01-05-2020.html#15:18:03
(cherry picked from commit 0880f118d3 )
2020-05-06 17:26:57 +02:00
narimiran
45b53ee36f
fix the expected result of a test
2020-04-26 08:45:28 +02:00
Jae Yang
20e5173cca
Fixes #14110 ( #14111 )
...
Fixes jsffi usage example in doc
(cherry picked from commit 362c8964bf )
2020-04-26 07:28:03 +02:00
narimiran
46d785aa40
correctly backport 613ea6e
2020-04-25 15:44:38 +02:00
narimiran
71027936e8
disable failing packages
2020-04-25 15:32:27 +02:00
Timothee Cour
f89db4915f
[ci skip] changelog conflicts are a thing of the past ( #14098 )
...
(cherry picked from commit f07f07eef9 )
2020-04-25 15:19:51 +02:00
alaviss
d4f961b08a
tools/finish: don't quote path with space ( #14058 ) [backport]
...
Path with spaces should be added as is, quoting them makes utilities
treat the quotes as part of the path. This makes `nim` unable to be used
from the command line even if it appears to be added to user's Path
environment variable.
Even more confusing, Windows 10's PATH editor shows the path without any
quotes, you only see them when you use "Edit text". Took me a good 15
minutes to figure out why couldn't I run `nim` despite it being in Path.
(cherry picked from commit 22418ce8fb )
2020-04-23 18:55:28 +02:00
alaviss
8cf8879941
asyncdispatch: export Callback ( #14042 ) [backport]
...
This let us see the definition of `Callback` in docs, which is required
to even make use of asyncdispatch.
Ref #13539 .
(cherry picked from commit 7beed44fc9 )
2020-04-23 18:55:19 +02:00
cooldome
5a1ed8f4d4
fix #14007 ( #14012 ) [backport]
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
(cherry picked from commit d839eb9352 )
2020-04-23 18:55:08 +02:00
narimiran
fec5d04afc
increase timeout for 'tslow_tables' even more
2020-04-23 18:53:36 +02:00
narimiran
3dd84b36fd
fix/disable failing packages
...
- "telebot" changed its directory structure
- Status' libraries now require Nim >= 1.2.0
2020-04-22 15:44:10 +02:00
alaviss
490bf10a6c
azure-pipelines: walkaround issues with triggers ( #13657 )
...
See https://status.dev.azure.com/_event/179641421
(cherry picked from commit ae5094e143 )
2020-04-21 14:40:17 +02:00
narimiran
50de7732ed
increase timeout for 'tslow_tables'
2020-04-21 11:16:28 +02:00
narimiran
df6fbf6521
correctly backport #13896
2020-04-21 08:51:44 +02:00
narimiran
5cae61ce21
correctly backport #13667
2020-04-21 07:44:53 +02:00
narimiran
122ac6775a
fix undeclared identifier in 'tables'
2020-04-21 07:02:17 +02:00
narimiran
73c83905af
fix undeclared identifier in 'setimpl'
2020-04-20 19:01:07 +02:00
narimiran
22d60a53f7
package 'inim' now has dependencies
2020-04-20 18:55:17 +02:00
Timothee Cour
265f565be3
backport: prefixdir ( #13117 ) and nimExe ( #13876 ) ( #14022 )
2020-04-20 13:39:37 +02:00
Dominik Picheta
6673934482
Fixes issues with dynamic loading OpenSSL. Fixes #13903 . ( #13919 ) [backport]
...
This fixes at least a couple of issues:
* Procs loaded from the DLL being used even when the pointer is nil.
* The actual issue (#13903 ) which appeared to cause stack corruption on
Android 7.1.1 with OpenSSL 1.1.1f. The change that fixed this was the
move to loading the procs in `sslSym`.
(cherry picked from commit 350ee0308a )
2020-04-14 07:15:46 +02:00
Clyybber
8a8fddcc40
Fix #13889 with testcase ( #13896 ) [backport]
...
* Fix https://github.com/nim-lang/Nim/issues/13889
* Add testcase
* Reduce test time
Co-authored-by: Elie Zedeck RANDRIAMIANDRIRAY <elie.zedeck@gmail.com >
(cherry picked from commit 92c4aad205 )
2020-04-14 07:15:19 +02:00
Timothee Cour
99e6d328ec
openDefaultBrowser now works on OSX ( #13892 ) [backport]
...
(cherry picked from commit e6d870896b )
2020-04-14 07:14:22 +02:00
Andreas Rumpf
2dcf32f5c8
fixes #13671 [backport] ( #13678 )
...
(cherry picked from commit 5f6997794e )
2020-04-14 07:13:43 +02:00
Jasper Jenkins
6f79408576
fix when statements in inheritable generic objects ( #13667 ) [backport]
...
(cherry picked from commit 51bd442b88 )
2020-04-14 07:13:00 +02:00
Andreas Rumpf
17ae3016c7
fixes #13661 ( #13664 ) [backport]
...
(cherry picked from commit 5ba5b5202a )
2020-04-14 07:12:31 +02:00
cooldome
02d7a181f6
fixes #12747 [backport] ( #13651 )
...
* fixes #12747
* fix tests
* improve code style
Co-authored-by: cooldome <ariabushenko@bk.ru >
(cherry picked from commit 613ea6e85e )
2020-04-14 07:12:07 +02:00
Kaushal Modi
349039678a
unicode.split: Fix the splitting when a Rune separator is used [backport] ( #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
(cherry picked from commit 64995db4fd )
2020-04-14 07:10:13 +02:00
cooldome
b64e109fdc
make it possible to pass linker options for vcc ( #13535 ) [backport]
...
(cherry picked from commit 0f1a4ac96c )
2020-04-14 07:10:01 +02:00
Timothee Cour
26681769e8
tables/sharedtables/intsets/etc: fix #13496 , #13504 , #13505 ; add lots of tests ( #13498 ) [backport]
...
* fix #13496 handle tombstones
* add test
* more tests
* fix #13504 ; add SharedTable tests
* fix #https://github.com/nim-lang/Nim/issues/13505 intsets.missingOrExcl silently gave wrong results sometimes
* add test for tintsets
(cherry picked from commit 42dad3a836 )
2020-04-14 07:09:36 +02:00
Kaushal Modi
c160b2161e
[backport] tut1: Update the proc overloading examples ( #13497 ) [skip ci]
...
(cherry picked from commit e4ed19c12f )
2020-04-14 07:07:20 +02:00
Andrey Makarov
fbf28d1ce7
fix 3 minor bugs in joinPath (see #13455 ) ( #13462 ) [backport]
...
(cherry picked from commit 3dad130034 )
2020-04-14 07:06:57 +02:00
narimiran
b6924383df
Revert "fixes #13378 [backport] ( #13392 )"
...
This reverts commit 14e1f82f42 .
2020-02-21 09:46:37 +01:00