Commit Graph

15407 Commits

Author SHA1 Message Date
Araq
bcccc7dec8 docgen.nim: avoid compiler warning 2019-05-28 16:31:57 +02:00
Araq
4a9e6361ce fixes #11344 2019-05-28 16:05:33 +02:00
Arne Döring
35593700fa fix doccomment of macros.get{Size,Align,Offset} [ci skip] (#11346) 2019-05-28 15:57:27 +02:00
Andreas Rumpf
9d8b4d6020 fixes #11057 (#11345) 2019-05-28 15:55:11 +02:00
Zed
1f8c9aff1f Fix and reenable thread tests (#11343) 2019-05-28 15:23:09 +02:00
narimiran
379916c737 make tests green 2019-05-28 07:31:25 +02:00
Araq
781108ffe4 better error message for the object case switch transition period 2019-05-27 22:46:52 +02:00
Araq
84ca1f3bf3 hotfix for 32bit unsigned 'range' checking; incomplete, unknown why some operations produce range checks 2019-05-27 22:38:06 +02:00
narimiran
c644bf399f tsendtwice test: make it arch-independent 2019-05-27 21:51:54 +02:00
narimiran
0fc42fc4f7 tableinstatic test: make it arch-independed 2019-05-27 21:41:24 +02:00
narimiran
2b0ea6b2ae xmltree: use code-block for arch-dependent tests 2019-05-27 21:32:12 +02:00
Araq
af6539b0c3 disable parsetoml package until it's fixed upstream 2019-05-27 21:29:02 +02:00
Araq
dfcd82669b update nimsuggest 2019-05-27 21:29:02 +02:00
Araq
795044ed2b make tests green again 2019-05-27 21:29:02 +02:00
Araq
383147f5cb make json.to work with the more restricted case objects 2019-05-27 21:29:02 +02:00
Andreas Rumpf
49e686ab4e fixes #1286; object case transitions are now sound 2019-05-27 21:29:02 +02:00
narimiran
247fa431de hashes: quickfix one test 2019-05-27 20:46:33 +02:00
Jasper Jenkins
1286ba3452 fix bool and range (#11336) 2019-05-27 07:59:22 +02:00
Jasper Jenkins
f774426095 Smarter variant object construction (#11273) 2019-05-26 21:22:02 +02:00
Andreas Rumpf
16aa10dfe1 fixes #10038; deprecate generic methods, they are unreliable 2019-05-25 23:56:16 +02:00
Andreas Rumpf
36a398d96f C codegen: preparations for better code generation 2019-05-25 20:53:11 +02:00
Oscar Nihlgård
3a06022071 Enable range checking for unsigned integers (#11313)
* Enable range checking for unsigned integers

* Make the tests green
2019-05-25 20:48:13 +02:00
Ico Doornekamp
70fb3a93e9 list available options for --cpu, --os and --cc if the passed option is not found (#11328) 2019-05-25 20:22:57 +02:00
Kaushal Modi
2f610d621f Use the correct HTML file reference in "nim doc" generated idx files (#11326)
* Use the correct HTML file reference in "nim doc" generated idx files

Now "nim doc --out:foo.html --index:on bar.nim" generates "foo.html"
and the generated "bar.idx" contains references to "foo.html".

Fixes https://github.com/nim-lang/Nim/issues/11325.

* Refactor the nim doc tester to extend it for more tests

* Reference the HTML files relative to the outDir, not project dir

* Add test for issues #11312 and #11325

- https://github.com/nim-lang/Nim/issues/11312
- https://github.com/nim-lang/Nim/issues/11325
2019-05-25 20:20:25 +02:00
alaviss
6a94599d66 travis: minor opimizations (#11327)
* travis: use homebrew addon

* travis: parallelize csources building
2019-05-25 08:00:39 +02:00
Andreas Rumpf
7e9cda7dba fixes #10299 (#11324) 2019-05-25 07:33:33 +02:00
Andreas Rumpf
7e53c1c5c5 fixes #11188 (#11319) 2019-05-24 22:50:43 +02:00
Andreas Rumpf
ef8ddef47b fixes #10912 (#11317)
* fixes #10912

* update the tutorial examples
2019-05-24 18:33:53 +02:00
Araq
d67a9f024e fixes #11306 2019-05-24 15:25:09 +02:00
Araq
1a8ef6b491 fixes #11312 2019-05-24 10:34:36 +02:00
Araq
96b2233b71 nimgrep: be less annoying 2019-05-24 10:29:26 +02:00
Araq
03e619349f cleanup keineschweine test; removes unused module 2019-05-24 09:43:33 +02:00
Araq
cacd6d1070 fixes #11294 2019-05-24 09:43:04 +02:00
Andreas Rumpf
39a3dbb16b fixes #11187 (#11315) 2019-05-24 08:19:05 +02:00
Araq
c7de1a252e fixes #11257 2019-05-24 00:44:49 +02:00
Araq
b75ad05267 fixes move analyser; refs #11257 2019-05-24 00:12:36 +02:00
Alvydas Vitkauskas
981f95757c Implement generic fromBin|Oct|Hex in strutils (#11107)
* make parsutils.parseBin generic and improve runnableExamples

* reimplement parseBin/Oct/Hex and improve runnableExamples

* update changelog.md file with parseBin/Oct/Hex and fix a typo

* delete template and code parseBin|Oct|Hex separately

* split definitions between int and other SomeInteger

* make parseBin|Oct|Hex generic and remove rtl pragmas

* remove pragma inline from praseBin|Oct|Hex

* implement families of parse(Bin|Oct|Hex)Int[xx]

* fix typo [skip ci]

* implement generic fromBin|Oct|Hex

* make runnableExamples shorter
2019-05-23 21:34:47 +02:00
Andreas Rumpf
aa4cf92ae8 fixes #11309 (#11310) 2019-05-23 19:32:44 +02:00
Miran
44cc5f6360 fix #8329, allow case insensitive xmltree.findAll (#11305) 2019-05-23 00:14:28 +02:00
Andreas Rumpf
fd16875561 fixes #8568 (#11303)
* fixes #8568

* fixes regression
2019-05-22 20:59:54 +02:00
Andy Davidoff
b62f4b1b0c fix spelling [ci skip] (#11307) 2019-05-22 20:50:44 +02:00
narimiran
6ae74f61f3 remove trailing whitespace [ci skip] 2019-05-22 20:38:08 +02:00
Miran
3e0fac7c20 finish #11292: fix addQuoted and add changelog entry (#11301)
* finish #11292: fix `addQuoted` and add changelog entry

* JS is special
2019-05-22 18:57:52 +02:00
Araq
85ac4bfff6 closes #6076 2019-05-22 15:42:34 +02:00
Araq
279df834ba Nim is not a header file generator anymore; closes #4723 2019-05-22 15:13:26 +02:00
Andreas Rumpf
1e97b420bb fixes #7167 (#11300)
* fixes #7167
* spec: distinct types can be ordinal types
* bootstrapping issue
2019-05-22 11:50:05 +02:00
Araq
57bc8d73b4 fixes subtype relation regression 2019-05-22 07:41:16 +02:00
Araq
1f7f0908ef make bootstrapping work with older Nims 2019-05-22 07:41:16 +02:00
Araq
90e882d55b fixes #11239 2019-05-22 07:41:16 +02:00
Araq
11fca968b2 stdlib: more consistent formatting 2019-05-22 07:41:16 +02:00