Miran
c4e26f7400
[other] prettify collections ( #11695 )
...
(cherry picked from commit 2255d8795b )
2019-07-15 07:58:27 +02:00
Araq
ab98141c75
newruntime: async progress
...
(cherry picked from commit 55e8aefbea )
2019-07-15 07:58:27 +02:00
Araq
12baecb42d
async: more 'owned' annotations
...
(cherry picked from commit 7993d61d00 )
2019-07-15 07:58:26 +02:00
Araq
a144bc96b9
asyncmacro produces 'owned' types
...
(cherry picked from commit 2c2f2de614 )
2019-07-15 07:58:26 +02:00
Jacek Sieka
0646d6a720
dynlib: use posix module ( #11623 )
...
(cherry picked from commit 9e7d885f35 )
2019-07-08 11:33:20 +02:00
Andreas Rumpf
5ecfbb5a4a
ABI fixes for OSX/BSD; fixes #6860 ( #11666 )
...
(cherry picked from commit 02b9af2f75 )
2019-07-08 11:28:42 +02:00
Andreas Rumpf
3e8c4519d4
newruntime for async ( #11650 )
...
* fixes overloading resolution for passing owned(Future[string]) to Future[T]
* WIP: make --newruntime work with .async
* memtracker: make it compile again
* make Nimble compile again
(cherry picked from commit 5f515410af )
2019-07-08 11:28:41 +02:00
Graeme Cross
a9322ed873
Fix the broken link in math.nim ( #11653 ) [ci skip]
...
(cherry picked from commit dad3c40f55 )
2019-07-08 11:27:15 +02:00
Timothee Cour
6a23772e23
fixes #8405 : -d:useNimRtl now works even when {.rtl.} procs are used at compile time; CTFFI now works with {dynlib} ( #11635 )
...
(cherry picked from commit 64168d4aea )
2019-07-08 11:27:15 +02:00
Graeme Cross
bd35d44808
Documentation improvements to the times module ( #11639 )
...
* Typo and grammar fixes for the times module
* Minor typo fixes to the times module
(cherry picked from commit ab6dec6e90 )
2019-07-08 11:26:20 +02:00
Araq
970c7616bc
nimpretty: bugfix [bugfix]
...
(cherry picked from commit 284a8cb58a )
2019-07-02 13:55:37 +02:00
Zestyr
62691c5d73
Fix typo in xmltree docs [ci skip]
...
(cherry picked from commit bab83c4d8b )
2019-07-02 13:54:42 +02:00
narimiran
28708e0b8e
[bugfix] fix #11588 , don't check if SharedTable is initialized
...
(cherry picked from commit 326e3ad09d )
2019-06-27 20:59:46 +02:00
Jasper Jenkins
8396ddb3a4
[bugfix] remove dangling ref ( #11576 )
...
(cherry picked from commit 91f0626dcb )
2019-06-27 20:59:45 +02:00
Gérôme Fournier
8ab0be4530
Fix out of bound access in cgi module ( #11578 )
...
When an HTTP request with a zero CONTENT_LENGTH is made,
attempting to access addr(result[0]) raise an exception as the 0 index
is out of bound
(cherry picked from commit 181350f6c9 )
2019-06-27 20:59:45 +02:00
WhiteDuke
30d7cf02ad
Fix typo ( #11573 )
...
(cherry picked from commit 2a7cf71db3 )
2019-06-27 20:59:45 +02:00
narimiran
a74104eda5
[documentation] fix #4630 , document unsupported functions for JS
...
(cherry picked from commit 436f570651 )
2019-06-27 18:16:54 +02:00
Miran
ceafb7f771
[bugfix] fix OrderedTable iterators ( #11562 )
...
(cherry picked from commit 3d50f7e2a1 )
2019-06-27 18:14:36 +02:00
Miran
10407fefec
[bugfix] fix delete in strutils and sequtils ( #11535 )
...
(cherry picked from commit 23e95dc629 )
2019-06-27 18:14:35 +02:00
Miran
c6ab69b84e
[bugfix] fix OrderedTable default initialization ( #11549 )
...
(cherry picked from commit 45bbf1ef5b )
2019-06-27 18:13:55 +02:00
narimiran
22c515b067
[other] documentation: deprecation comments are now auto-generated
...
(cherry picked from commit cf47c2c60c )
2019-06-20 11:54:46 +02:00
Phạm Ngọc Quang Nam
368e12ed36
[bugfix] Fix smtp.nim unhandled exception ( #11498 )
...
(cherry picked from commit 7c637c2faf )
2019-06-20 11:53:08 +02:00
Benjamin Summerton
c1097ea949
Add cbrt() bindings for the JS Target ( #11528 )
...
`Math.cbrt()` exists:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cbrt
The binding was missing for the JavaScript backend.
(cherry picked from commit a009cbdc2f )
2019-06-20 11:52:37 +02:00
Miran
4144893ba2
[bugfix] fix #11450 , random.initRand crashes in JS backend ( #11522 )
...
(cherry picked from commit ac3449b93b )
2019-06-20 11:49:17 +02:00
Charles Blake
464142683f
[bugfix] fix #11430 , strutils rfind ( #11487 )
2019-06-16 17:44:06 +02:00
Dominik Picheta
4f69f7b62d
[bugfix] Fixes async IO operations stalling even after socket is closed. ( #11232 )
...
(cherry picked from commit 73c44c6e9b )
2019-06-16 17:18:58 +02:00
Arne Döring
4c8a02165e
[refactoring] refactor the compiler and stdlib to deprecation warnings ( #11419 )
...
(cherry picked from commit c7e1c665a1 )
2019-06-16 17:17:41 +02:00
Juan Carlos
7e6c3f3684
[bugfix] Add .nimf to mimetypes ( #11417 )
...
(cherry picked from commit 3d13103443 )
2019-06-16 17:17:41 +02:00
jiro
ced0527ae3
streams: change error message of openFileStream ( #11438 ) [feature]
2019-06-10 21:00:55 +02:00
Kaushal Modi
2334680b3d
Use TMPDIR env var if available to get the temp dir name ( #11443 ) [bugfix]
...
Additionally, use normalizePathEnd to suffix the dir name with "/" or
"\" as appropriate for the current OS.
Fixes https://github.com/nim-lang/Nim/issues/11439 .
2019-06-10 19:59:51 +02:00
Juan Carlos
22a1b12038
[documentation] fix #11281 , httpclient examples ( #11455 )
2019-06-10 09:31:57 +02:00
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
Miran
bf9f1f7b45
[bugfix] hashes: fix regression for nested containers ( #11426 )
...
Move forward declarations earlier.
2019-06-08 00:34:11 +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
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
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
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
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
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
Araq
4a9e6361ce
fixes #11344
2019-05-28 16:05:33 +02:00
Andreas Rumpf
9d8b4d6020
fixes #11057 ( #11345 )
2019-05-28 15:55:11 +02:00
narimiran
2b0ea6b2ae
xmltree: use code-block for arch-dependent tests
2019-05-27 21:32:12 +02:00