Commit Graph

5878 Commits

Author SHA1 Message Date
Andreas Rumpf
f40c941580 fixes #18643 [backport:1.0] (#18678)
(cherry picked from commit 018465a234)
2021-08-24 07:24:20 +02:00
hlaaftana
286b94e7de Remove declPragmas from lambdas [backport:1.0] (#16966)
* Remove declPragmas from lambdas [backport:1.0]

* add test for exportc

* fix test

* fix align, nodecl -> noinit

(cherry picked from commit 49b64e8dc7)
2021-02-09 15:50:16 +01:00
narimiran
a13fd00729 Revert "[backport 1.0] add backend support for js bigint (#16606)"
This reverts commit a8c706760c.
2021-02-02 08:38:40 +01:00
Timothee Cour
a8c706760c [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

(cherry picked from commit 025ca660f7)
2021-02-01 15:34:16 +01:00
Timothee Cour
86298e30d9 [backport => 1.0] fix #16428 vmops now works for generic procs (#16429)
* fix #16428 vmops now works for generic procs

* remove duplication

(cherry picked from commit bc84d9c8cb)
2021-02-01 15:33:25 +01:00
narimiran
69322f86de backport devel's compiler/platform.nim 2020-12-08 11:32:38 +01:00
narimiran
f29e7cfdcd add freebsd and openbsd stuff from devel's installer.ini 2020-12-08 10:29:40 +01:00
Andreas Rumpf
bf85f35226 OSX: support for M1 [backport:1.0] (#16279)
(cherry picked from commit 94bb816de3)
2020-12-08 10:25:48 +01:00
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
Andreas Rumpf
f6ada8874a sigmatch: hotfix [backport] (#15565)
(cherry picked from commit c664fb2843)
2020-10-14 11:01:24 +02:00
cooldome
9193c85b61 fix #15516 (#15518)
(cherry picked from commit fe187719ab)
2020-10-09 10:15:20 +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
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
Bung
e79e0616b1 fixes #14189 (#15080) [backport]
(cherry picked from commit 191c388792)
2020-07-29 10:51:26 +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
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
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
ff9d59747d fixes #13104 [backport]
(cherry picked from commit f3e17e7c77)
2020-05-14 07:32:58 +02:00
narimiran
46d785aa40 correctly backport 613ea6e 2020-04-25 15:44:38 +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
5cae61ce21 correctly backport #13667 2020-04-21 07:44:53 +02:00
Timothee Cour
265f565be3 backport: prefixdir (#13117) and nimExe (#13876) (#14022) 2020-04-20 13:39:37 +02:00
Andreas Rumpf
2dcf32f5c8 fixes #13671 [backport] (#13678)
(cherry picked from commit 5f6997794e)
2020-04-14 07:13:43 +02:00
Andreas Rumpf
17ae3016c7 fixes #13661 (#13664) [backport]
(cherry picked from commit 5ba5b5202a)
2020-04-14 07:12:31 +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
narimiran
b6924383df Revert "fixes #13378 [backport] (#13392)"
This reverts commit 14e1f82f42.
2020-02-21 09:46:37 +01:00
Andreas Rumpf
14e1f82f42 fixes #13378 [backport] (#13392)
(cherry picked from commit c446c0f57a)
2020-02-19 19:09:24 +01:00
Timothee Cour
5768dd08cd fix #13374 nim c -r - now generates $nimcache/stdinfile (#13380) [backport]
(cherry picked from commit 1f7c907e7d)
2020-02-19 19:08:36 +01:00
Arne Döring
8cdba8ea29 fix #13255 (#13275) [backport]
(cherry picked from commit 2fee89f7db)
2020-02-19 19:05:55 +01:00
Timothee Cour
a9fa981000 fix #13182: proc fun(a: varargs[Foo, conv]) now can be overloaded (#13345) [backport]
(cherry picked from commit 79ec8c2571)
2020-02-19 18:57:16 +01:00
Timothee Cour
6d3a1fcda6 fix critical bug discovered by #11591 (#13290) [backport]
(cherry picked from commit 81a43791f9)
2020-02-19 18:56:27 +01:00
Andreas Rumpf
2f557f74e5 fixes #9674 [backport] (#13143)
(cherry picked from commit 675ca997fb)
2020-01-16 07:38:25 +01:00
Andreas Rumpf
f1ec998e71 fixes #13104 [backport] (#13142)
(cherry picked from commit 8b00586488)
2020-01-16 07:38:18 +01:00
Andreas Rumpf
a3d5a3ca9b fixes #10665 (#13141) [backport]
(cherry picked from commit fadbd8f70d)
2020-01-16 07:38:12 +01:00
Timothee Cour
74350447ed fixes #13100 nim doc now treats export localSymbol correctly (#13123) [backport]
* fix #13100 nim doc now treats `export localSymbol` correctly
* use owner instead

(cherry picked from commit 49d1822c8f)
2020-01-16 07:37:52 +01:00
Jasper Jenkins
8994e8f2e2 fix rtti sizeof for varargs in global scope (#13125) [backport]
(cherry picked from commit bf2e052e6d)
2020-01-14 06:31:57 +01:00
BinHong Lee
6d2884be9c Allow -o option for buildIndex (#13037) [backport]
Addressing #12771

This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html) but its not respected as reported in the issue.

(cherry picked from commit 2cfa8d8385)
2020-01-14 06:26:14 +01:00
Andy Davidoff
e636b47429 fix crash due to errant symbols in nim.cfg (#13073) [backport]
(cherry picked from commit 56fb909676)
2020-01-14 06:25:45 +01:00
cooldome
4028514eeb fixes #13013, reverts previous changes to readLines() (#13036) [backport]
* Revert "remove default argument for readLines (#12807) [backport]"

This reverts commit c949b81efd.

(cherry picked from commit a3df1b55f3)
2020-01-05 10:40:13 +01:00
cooldome
78f9933b8f remove default argument for readLines (#12807) [backport]
(cherry picked from commit c949b81efd)
2020-01-05 10:39:55 +01:00
Andy Davidoff
46be787fb2 fixes disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport]
(cherry picked from commit 8a63caca07)
2020-01-05 10:39:48 +01:00
genotrance
89b244a2f5 Path substitution for --out and --outdir (#12796)
* Enable pathSubs for --out and --outDir
* Cleanup

(cherry picked from commit eed328856f)
2019-12-30 12:24:39 +01:00
Araq
4c120c1978 fixes a bug that kept sugar.collect from working with for loop macros [backport]
(cherry picked from commit a7b4b2ed54)
2019-12-26 15:42:31 +01:00
Timothee Cour
bc601a62a2 fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport]
(cherry picked from commit 206a4cee77)
2019-12-26 15:42:07 +01:00
Andreas Rumpf
7c4bc63b00 fixes #12885 [backport] (#12895)
(cherry picked from commit 347a04606b)
2019-12-16 09:28:31 +01:00
Andreas Rumpf
f52395f2d8 fixes #12148 [backport] (#12888)
(cherry picked from commit 22b2684608)
2019-12-16 09:28:07 +01:00