Araq
e9d7e21dbe
minor reformating
2020-10-06 06:10:47 +02:00
Andreas Rumpf
4e438f9096
const view types; fixes some cases from https://github.com/nim-lang/Nim/issues/15428 ( #15488 )
2020-10-05 18:31:46 +02:00
Juan Carlos
1e28cea0d1
inline tiny func on httpcore ( #15480 )
2020-10-05 17:08:50 +02:00
David Krause
f25ca0d304
added testament documentation link to tools.rst ( #15481 )
2020-10-05 17:04:47 +02:00
flywind
af9cc2882f
use func in uri module ( #15486 )
2020-10-05 17:04:08 +02:00
Miran
112b11c154
group procs of the same name in TOC ( #15487 )
...
* group procs of the same name in TOC
* correctly show `sink` parameters in TOC
* no need to reinvent the wheel - `mgetorPut` exists
* better setting of text color [ci skip]
* fix CSS for better alignment
2020-10-05 17:03:14 +02:00
Luis Felipe Manfroni
5967b6f60f
doc(sugar): added description and examples to dup ( #15455 )
2020-10-05 12:02:08 +02:00
Euan
cc4c546f8f
Fix #15493 - disable TLS emulation for NetBSD ( #15494 )
...
TLS emulation was already disabled for FreeBSD due to the same issue.
2020-10-05 12:00:06 +02:00
flywind
b760fdc9ca
make testing for prologue more stable ( #15491 )
2020-10-05 09:57:23 +02:00
supakeen
bbe2eb20df
Provide a configurable progressInterval. ( #15477 )
2020-10-04 11:32:07 +01:00
Abhishek Dubey
ccd1f58183
Installation Instruction ( #15485 )
...
The instruction command was missing `install` for Ubuntu.
2020-10-04 10:58:19 +02:00
alaviss
fc973b2c0c
renderer: use the biggest integer type for masking literals ( #15482 )
...
On 32-bit system the mask would have a size of 32-bit, which is smaller
than the BiggestInt (usually 64-bit) it was masked against.
For some reason this only affect 32-bit Windows but not 32-bit Linux.
Might just be a difference in how gcc handle out of bound shifts for
Windows and Linux.
2020-10-04 00:39:56 +02:00
Andreas Rumpf
2288188fe9
fixes https://github.com/nim-lang/RFCs/issues/257 [backport:1.2] ( #15479 )
2020-10-03 17:34:42 +02:00
supakeen
662c508075
Return type of asyncftpclient to fix example. ( #15476 )
...
Related to: #13641
2020-10-03 13:43:43 +02:00
alaviss
dcd0ce1775
niminst: restore ZIP building functionality ( #15472 )
...
This is necessary for building Windows releases, was erroneously removed
by #15451 .
2020-10-02 22:48:35 +02:00
ee7
0a05176057
heapqueue.nim: Add toHeapQueue proc ( #15459 )
...
Similar to:
- `critbits.toCritBitTree`
- `deques.toDeque`
- `sets.toHashSet`
- `tables.toTable`
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-10-02 16:01:03 -04:00
ee7
d48b356e49
intsets.nim: Add toIntSet proc ( #15460 )
...
Similar to:
- `critbits.toCritBitTree`
- `deques.toDeque`
- `sets.toHashSet`
- `tables.toTable`
2020-10-02 21:10:24 +02:00
alaviss
7ef22bf912
koch: remove c2nim from windows release builds ( #15471 )
...
We don't ship this tool with any other OS, and the c2nim bundle is
non-deterministic due to the lack of a pinned commit.
2020-10-02 19:18:44 +02:00
Andreas Rumpf
9828392df3
implements https://github.com/nim-lang/RFCs/issues/257 ( #15466 )
2020-10-02 18:53:22 +02:00
alaviss
e3eae3f7c7
tools/deps: fix git dir check ( #15470 )
...
On Windows, a successful call will have a trailing newline appended, so
strip that away before doing any checks.
2020-10-02 18:52:20 +02:00
Andreas Rumpf
ff70ff529d
remove nim.cfg file change lefover [backport:1.2] ( #15469 )
2020-10-02 18:51:49 +02:00
Andreas Rumpf
7d8c1be8fb
parser hotfix: don't run into endless loops; regression ( #15468 )
2020-10-02 18:26:52 +02:00
Andreas Rumpf
1f4b9cebd4
Added std/effecttraits.nim ( #15462 )
2020-10-02 17:22:31 +02:00
Andreas Rumpf
aa1d7fe1e9
closureiters: fixes #15243 ( #15454 ) [backport:1.2]
...
* fixes #15243 [backport:1.2]
2020-10-02 12:38:16 +02:00
Euan
f785174c60
Ref #14094 - disable hot code reloading tests on NetBSD ( #15458 )
2020-10-02 11:17:31 +02:00
flywind
6e32a9e88c
use func in httpcore ( #15457 )
2020-10-02 08:47:24 +02:00
Juan Carlos
d1eb76184b
Clean out niminst ( #15451 )
2020-10-01 22:19:06 +02:00
Euan
b4fe0c8862
Fix #15452 - ip protocol not defined on NetBSD ( #15453 )
2020-10-01 22:15:34 +02:00
Clyybber
37e0d6f32d
Fix typo
2020-10-01 19:58:53 +02:00
Clyybber
800d6204cd
Fix "arraq" typo :)
2020-10-01 19:58:08 +02:00
shirleyquirk
84d9b1227d
fixes #15430 , pop pragma takes invalid input ( #15449 )
...
* fix #15430 , pop pragma
{.pop, experimental.} should be allowed, but not {.pop experimental.}
2020-10-01 18:07:55 +02:00
c-blake
26d656e73e
Add first draft of new osproc.readLines ( #15429 )
...
* Add first draft of new osproc.readLines
* Add test for new osproc.readLines
* Rename test to start w/t to run; Also add newline to output
* Suppress hint messages.
* Output should match this time.
* Shoulda picked a program with simpler syntax than ..lol
* Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-701890898
and https://github.com/nim-lang/Nim/pull/15429#issuecomment-701985976 by
factoring `readLines` into `iterator lines` and a wrapper `proc`.
* Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-702127289
and also add a `ReadIOEffect` tag to the iterator (called by the wrapper..
so it should need no separate tag, if I understand correctly).
2020-10-01 18:06:38 +02:00
cooldome
531ed2dc36
fix #15405 . deepcopy arc ( #15410 )
...
* fix #15405
* fix tests
* deepcopy for ARC has to be enabled via --deepcopy:on
Co-authored-by: Araq <rumpf_a@web.de >
2020-10-01 17:39:48 +02:00
alaviss
3919f0aa54
koch: unify nimble building scripts [backport:1.4] ( #15443 )
...
This commit gets rid of buildNimble in favor of the simpler
bundleNimbleExe, which does pretty much the same thing.
2020-10-01 17:20:38 +02:00
flywind
0bfa0fcaea
[docs minor] unify generates and Generates ( #15434 )
...
* [docs] unify generates and Generates
* fix typo
2020-10-01 15:17:16 +02:00
Juan Carlos
5e160bff1b
Add critbits.toCritBitTree ( #15444 )
...
* Add critbits.toCritBitTree
* https://github.com/nim-lang/Nim/pull/15444#discussion_r498035342
2020-10-01 15:11:10 +02:00
Juan Carlos
8f90ac6af1
Clean out ( #15448 )
2020-10-01 15:07:57 +02:00
Andreas Rumpf
ab405c936e
views: yet another bugfix ( #15447 )
...
* views: yet another bugfix
* views: extended the spec
* views: take into account potential hidden mutations via proc calls
2020-10-01 15:04:36 +02:00
Juan Carlos
79a92da8ef
Clean out ( #15440 )
2020-10-01 12:39:50 +02:00
Juan Carlos
4e7d383f29
Clean out jssys ( #15442 )
2020-10-01 11:21:27 +02:00
Andreas Rumpf
2b91845f1d
refactoring, fixes yet another strictFuncs regression ( #15446 )
2020-10-01 11:16:04 +02:00
Andreas Rumpf
b703f02ad2
added missing .noalias support for object fields ( #15445 )
2020-10-01 09:46:50 +02:00
Juan Carlos
6b3654c48d
Add 1 overload to apply ( #15439 )
2020-10-01 09:22:22 +02:00
Andreas Rumpf
86d7b63e2a
better support for view types ( #15436 )
...
* you can put borrows into tables
* enforces mutating views only mutate mutable data
2020-09-30 20:44:18 +02:00
flywind
9c86f4867e
fix doc search(escape HTML code) ( #15433 )
...
* use release version
* fix doc search
2020-09-30 10:52:49 +02:00
Miran
eb2a4961c7
various documentation fixes [backport] ( #15422 )
2020-09-29 23:43:12 +02:00
Andreas Rumpf
4058801607
spec for view types ( #15424 )
...
* spec for view types
* spec additions
* refactoring; there are two different kinds of views
* refactorings and spec additions
* enforce that view types are initialized
* enforce borrowing from the first formal parameter
* enforce lifetimes for borrowing of locals
* typo in the manual
* clarify in the implementation what a borrow operation really is
2020-09-29 23:42:38 +02:00
shirleyquirk
f8866598e7
odbc regression from #14357 ( #15417 )
...
#14357 changed from sending 'val', an int, to a pointer to int, which is understandable, but not how SQLSetEnvAttr works.
"Depending on the value of Attribute, ValuePtr will be a 32-bit integer value or point to a null-terminated character string"
2020-09-29 17:08:24 +02:00
Yuriy Glukhov
22d0a39932
Dont assert on setstacksize result in iOS ( #15427 ) [backport:1.2]
2020-09-29 16:55:53 +02:00
Timothee Cour
5f9b366180
document that items no longer works with enum with holes ( #15426 )
2020-09-29 07:54:17 +02:00