Commit Graph

15098 Commits

Author SHA1 Message Date
Araq
fab75fbaf1 added nimAsgnStrV2 compilerproc 2019-04-06 17:32:53 +02:00
Araq
1a202b9754 render lent types properly 2019-04-06 17:32:53 +02:00
Andreas Rumpf
bc681a328f fixes unowned->owned conversion rule 2019-04-06 09:53:59 +02:00
Alexander Ivanov
f101f09256 Fix astdef typ deref (#10245) 2019-04-05 16:43:36 +02:00
Arne Döring
3a5a0f6d46 Strformat symbol binding (#10927) 2019-04-05 15:27:04 +02:00
Araq
f2f9386101 make sets.nim useful for selective 'from import's 2019-04-05 14:57:59 +02:00
cooldome
e749fc08e7 fixes #10943 (#10947) 2019-04-05 14:50:57 +02:00
Andreas Rumpf
efeee326f8 destructors: progress 2019-04-05 12:38:30 +02:00
Andreas Rumpf
3e3a8bd4cd newruntime: codegen fix 2019-04-05 12:38:30 +02:00
Miran
f309e4ff54 relax warning about inconsistent spacing (#10968)
Now the warning is raised only in the cases when there is an
inconsistency in the style (spacing vs no spacing):
* if a> b      --> warning
* if a >   b   --> no warning
2019-04-05 12:37:33 +02:00
cooldome
795de374fb fixes destructor tuple regression #10940 (#10941)
* fixes #10940

* bug fixes

* fix spacing
2019-04-04 20:46:02 +01:00
Araq
d5f2a5c204 add back what was required 2019-04-04 16:35:15 +02:00
Araq
228d53006a refactoring: move threadlocalstorage into its own file 2019-04-04 16:35:15 +02:00
Araq
c9c6741cde newruntime: fixes codegen for closures 2019-04-04 16:35:15 +02:00
tofu
94a21134e9 fixes #9811 (#10961)
* fixed wrong default indent value (nimpretty)

* fixed help message of nimpretty
2019-04-04 15:09:01 +02:00
tofu
a990afcedc fixes #10200 (#10950)
* fixes #10200

* add rule for other comparison operators

* add rule for '!='

* add test

* fixed to pass the test
2019-04-04 14:58:54 +02:00
cooldome
8546393ddb Merge pull request #10954 from cooldome/atomicInc_regression
fixes regression #10953
2019-04-04 11:42:08 +01:00
Arne Döring
65ee80e50c Pure ref object; fixes #10721 (#10955) 2019-04-04 09:06:12 +02:00
Arne Döring
e5cdd7f773 add alias for --debugger:native (#10957) 2019-04-04 08:59:26 +02:00
MrZoraman
c6327e229a Fix dead sequtils link (#10960) [ci skip] 2019-04-04 07:03:15 +02:00
Andrii Riabushenko
ad1c6fe8b9 fixes #10953 2019-04-03 15:06:26 +01:00
cooldome
dc2986789b fixes #10942. Lent T bug (#10946)
* fixes #10942

* add test

* bug build
2019-04-03 15:55:53 +02:00
cooldome
734da9544d fixes #10948 (#10949) 2019-04-03 10:42:41 +02:00
Andreas Rumpf
eaca62f331 make tests green again 2019-04-02 14:55:45 +02:00
Miran
d337e4a932 md5: add missing .gcsafe. to the forward declarations (#10944) 2019-04-02 14:44:19 +02:00
Araq
f2691fdc7e try to make travis green 2019-04-02 12:24:58 +02:00
Araq
9029257a99 attempt to make the CIs green again 2019-04-02 11:01:38 +02:00
Araq
0b96b135f8 simple program works with --newruntime 2019-04-02 10:43:11 +02:00
Miran
b707790519 do not display stacktrace twice, fixes #10922 (#10939) 2019-04-02 09:10:03 +02:00
Araq
f5a7a3bee9 make megatest work again 2019-04-02 08:23:13 +02:00
Araq
b77a2037f8 newruntime: progress 2019-04-02 00:46:38 +02:00
Araq
3b14f0ed10 see what appveyor thinks about this 2019-04-01 17:50:03 +02:00
Araq
0f0cc9e6eb see what appveyor thinks about this 2019-04-01 17:45:23 +02:00
Araq
204ecfc817 os.nim: proper indentation 2019-04-01 17:45:08 +02:00
Araq
c3067e36bb newruntime: progress 2019-04-01 16:51:18 +02:00
Araq
fda1352ccf json.nim: tiny refactoring 2019-04-01 16:24:04 +02:00
Araq
cce8d3da27 fixes #10934 2019-03-31 19:59:17 +02:00
Miran
aeb30a72c0 update unicode.nim (#10921)
* update unicode.nim

* create a script to create the needed unicode data
* make unicode.nim compatible with Unicode v12.0.0
* slightly improve unicode.nim documentation (fixes #4795)

* more documentation
2019-03-31 08:36:04 +02:00
Andreas Rumpf
aa072b9525 fixes #10930 2019-03-30 23:45:40 +01:00
Araq
caf0552573 make Boehm GC work on Windows 2019-03-30 00:56:21 +01:00
Arne Döring
00f419bcd6 remove check for better error message (#10926) 2019-03-29 20:21:28 +01:00
Andreas Rumpf
f8e720fda9 fixes json.nim regression 2019-03-29 08:01:59 +01:00
Miran
dafd995402 change the order of appveyor tests (#10920)
Testing packages sometimes randomly fails because of some
reason not connected to Nim (e.g. github is down).
Currently, that would prevent "regular" appveyor tests
from running.

Changing the order will allow "regular tests" to run
regardless of the outside problems with packages.
2019-03-28 17:18:42 +01:00
Arne Döring
e904b3f952 code cleanup (#10874) 2019-03-28 12:32:02 +01:00
Andreas Rumpf
fcd3b0c4d8 manual: prefer 'typeof(x)' over 'type(x)' 2019-03-27 15:08:32 +01:00
Andreas Rumpf
3cb645ab50 move more stuff into manual_experimental 2019-03-27 15:08:32 +01:00
Andreas Rumpf
4d0f05a98a manual.rst: move experimental features to manual_experimental 2019-03-27 15:08:32 +01:00
Miran
d74179dde3 use atomicInc/atomicDec (#10906) 2019-03-27 11:17:44 +01:00
genotrance
0378bfa402 Fix #10907 - remove unused typedef string (#10908) 2019-03-26 16:20:26 -05:00
narimiran
d9913593c1 proper fix 2019-03-26 20:26:23 +01:00