Andreas Rumpf
8317de7648
complex.nim: reformating [other]
2019-06-09 22:22:50 +02:00
Kaushal Modi
3c62d41468
Make -d:tempDir switch work once again [bugfix] ( #11442 )
...
Fixes https://github.com/nim-lang/Nim/issues/11441 .
2019-06-09 08:54:15 +02:00
nc-x
bce908f6ee
fix koch docs failing at io.nim with import os in config.nims ( #11418 ) [bugfix]
2019-06-08 00:37:08 +02:00
Miran
bf9f1f7b45
[bugfix] hashes: fix regression for nested containers ( #11426 )
...
Move forward declarations earlier.
2019-06-08 00:34:11 +02:00
Araq
5a37224102
develop version is 0.20.99 [feature]
2019-06-07 10:49:56 +02:00
Arne Döring
cfeb9d2c50
Bit operator names 2 ( #11413 )
...
* add bit operator names
* add test for bitop alias
2019-06-06 08:36:20 +02:00
narimiran
be9c38d265
bump version to 0.20.0
2019-06-05 18:38:45 +02:00
Tristano Ajmone
6ebbff0a11
Fix strscans Docs ( #11408 ) [ci skip]
...
Amend two typos in the documentation of strscans library:
- `a ^* b` instead of `a ^+ b`.
- Remove hyphen from `$w` ASCII identifier `[A-Z-a-z_][A-Za-z_0-9]*`
(matching `IdentStartChars` definition in parseutils).
2019-06-05 16:20:13 +02:00
Arne Döring
efbf43d4a9
intVal works now on enum field symbols ( #11403 )
...
* intVal works now on enum field symbols
* disable flakey titerators test
2019-06-05 14:55:47 +02:00
Jasper Jenkins
71388caf2e
remove stdlib case transitions ( #11401 )
2019-06-05 08:04:29 +02:00
Andreas Rumpf
7215341190
make fullpaths the default in error messages and stack traces for mor… ( #11385 )
...
* make fullpaths the default in error messages and stack traces for more convenient development
* split up -d:release into -d:release and -d:danger flags
* workaround a Nim config parser bug
* fixes an old nim config parser bug
* make megatest green again
* make nimpretty tests work again
* make nimsuggest green
2019-06-05 08:02:54 +02:00
Miran
bfa32e8d99
improve 'marshal' documentation, refs #10330 ( #11398 )
2019-06-04 20:54:32 +02:00
narimiran
e3ddc6b83a
revert unintended changes
2019-06-04 14:33:55 +02:00
narimiran
1f883f6d78
better documentation for the new shr
2019-06-04 12:29:52 +02:00
Jasper Jenkins
55af21c662
rename (un)likely ( #11391 )
2019-06-03 20:33:24 +02:00
Dankr4d
9d536b90c1
Fixed "is not GC-safe as it calls 'createThread'" when creating a thread in a thread. ( #11390 )
2019-06-03 17:13:21 +02:00
LemonBoy
7d217a71d3
Render deprecated pragmas ( #8886 )
...
* Render deprecated pragmas
* fix the expected html
* clean up the documentation regarding deprecations
* fix typo
* fix system.nim
* fix random
2019-06-03 10:15:20 +02:00
Araq
64518380a5
undeprecate system.programResult until we have a good solution at hand
2019-06-03 09:35:04 +02:00
Andreas Rumpf
a68fe3d082
fixes #11364 ( #11383 )
2019-06-03 08:46:57 +02:00
John Paul Adrian Glaubitz
5c5df61071
Additional platform definitions for sparc64 ( #11387 )
...
* lib/posix: Define SO_REUSEPORT for sparc64 as 0x0200 from kernel ABI
* lib/system: Add platform support for sparc64
2019-06-03 08:20:00 +02:00
Andreas Rumpf
5eb47f8ed9
fixes #11369 ( #11381 )
2019-06-02 14:24:38 +02:00
Jjp137
9ee2ecf0a6
sets: minor documentation fixes [ci skip] ( #11377 )
...
Mainly replace a backslash, which was supposed to represent set
difference, with the Unicode symbol for set difference (U+2216).
The backslash did not appear in the output since it is used to
escape characters in reST.
Fix a few typos as well.
2019-06-02 08:29:31 +02:00
Smittyvb
40c5509a02
Make net module compile with --taintMode:on ( #11360 )
2019-06-01 10:44:40 +02:00
Jasper Jenkins
6b23b2d7df
parseopt fix ( #11363 ) [backport]
2019-06-01 10:44:08 +02:00
Arne Döring
5b27b263fd
Remove immediate pragma ( #11308 )
...
* remove immediate from tests
* remove immediate from the compiler
2019-05-29 22:21:51 +02:00
Araq
eb471acffb
system.nim: minor fix for the new 'unown' template
2019-05-29 20:49:36 +02:00
Araq
dc5fa90b43
switch should be nimOldShiftRight with the nim prefix
2019-05-29 17:06:39 +02:00
Arne Döring
88b5dd3362
right shift is now by default sign preserving ( #11322 )
...
* right shift is now by default sign preserving
* fix hashString and semfold
* enable arithmetic shift right globally for CI
* fix typo
* remove xxx
* use oldShiftRight as flag
* apply feedback
* add changelog entry
2019-05-29 16:48:00 +02:00
Yuriy Glukhov
6904f323aa
Fixed #9762 ( #11296 )
2019-05-29 12:11:03 +02:00
Araq
8bb1a6b041
fixes #11205
2019-05-28 21:30:41 +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
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
2b0ea6b2ae
xmltree: use code-block for arch-dependent tests
2019-05-27 21:32:12 +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
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
Araq
cacd6d1070
fixes #11294
2019-05-24 09:43:04 +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
Miran
44cc5f6360
fix #8329 , allow case insensitive xmltree.findAll ( #11305 )
2019-05-23 00:14:28 +02:00
Andy Davidoff
b62f4b1b0c
fix spelling [ci skip] ( #11307 )
2019-05-22 20:50:44 +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
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
11fca968b2
stdlib: more consistent formatting
2019-05-22 07:41:16 +02:00
Miran
bab5e30972
fixes #10963 , disallow implicit mixing of strings and ints/floats ( #11292 )
2019-05-21 21:32:37 +02:00
Arne Döring
f94ec363ab
Allow void macro result ( #11286 )
...
* allow void macro result
* add test for void macro result type
2019-05-21 21:31:40 +02:00
Miran
68b5e3e3fe
colors: fix mix, add documentation ( #11295 )
2019-05-21 21:28:29 +02:00