Andreas Rumpf
418cbbb450
macros.nim: spacing
2019-02-21 12:03:34 +01:00
Andreas Rumpf
43d570c178
gc:destructors: make system/repr compile
2019-02-21 07:57:29 +01:00
Araq
6c10d331db
gc:destructors: slightly more stuff compiles
2019-02-20 14:29:18 +01:00
narimiran
873539b50d
lib.rst: add link to asyncstreams, fixes #6383 [ci skip]
2019-02-20 14:16:38 +01:00
Araq
ffd0f81247
times.nim: avoid some stdlib dependencies
2019-02-20 12:30:51 +01:00
Araq
2990a5ea54
koch.nim: indentation uses 2 spaces
2019-02-20 12:28:43 +01:00
Araq
7b31a81d45
system.nim: avoid 'cannot prove init' warnings for the '..' constructors
2019-02-20 12:28:22 +01:00
Miran
6a5c74722e
add xmltree.clear, fixes #3797 ( #10711 )
...
* add `xmltree.clear`, fixes #3797
* use `setLen`
2019-02-20 08:41:34 +01:00
Andreas Rumpf
c025786b75
gc:destructors: sink parameters need to be destroyed properly
2019-02-20 02:04:58 +01:00
Andreas Rumpf
7e404c670d
gc:destructors: add first test program
2019-02-19 23:32:41 +01:00
Araq
68ce92d4eb
fixes a critical strutils bug [backport]
2019-02-19 19:37:25 +01:00
Oscar Nihlgård
1a771a8248
Replace the duration conversion procs with new improved ones ( #10710 )
2019-02-19 19:12:44 +01:00
Miran
50d1a46537
better docs: osproc ( #10708 )
...
* better docs: osproc
* fix a typo in the docs, deprecate "demon"
2019-02-19 17:25:03 +01:00
Araq
e4a76c6ebf
fixes #6832
2019-02-19 17:17:12 +01:00
Araq
f31d1fa98b
fixes #10195
2019-02-19 16:25:57 +01:00
Miran
51f516e030
better docs: strtabs ( #10704 )
2019-02-19 12:49:47 +01:00
Miran
8cf97908cc
document proper imports, fixes #8164 ( #10698 )
2019-02-19 12:49:09 +01:00
Arne Döring
6b9a139f7f
error message for accidental use of macro ( #10490 )
...
* error message for accidental use of macro
2019-02-19 12:21:42 +01:00
Araq
257965e105
fixes 10697 [backport]
2019-02-19 11:56:14 +01:00
Araq
315d438677
asyncnet.nim: Minor code cleanup
2019-02-19 11:56:14 +01:00
Miran
2fae94cdc5
add more nimble packages to the test ( #10707 )
2019-02-19 11:43:34 +01:00
narimiran
83f5839e2c
manual: fix broken sentence
2019-02-19 09:07:25 +01:00
Andreas Rumpf
7b68da9bf1
manual: typo
2019-02-18 15:24:55 +01:00
Andreas Rumpf
c8cb567938
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2019-02-18 15:23:43 +01:00
Andreas Rumpf
2deb1e354f
fixes #10702 ( #10705 )
...
* --define:nimQuirky exception handling for Nim; in preparation of a blog post
* make it work with latest system.nim
* make code more readable
* fixes #10702
2019-02-18 15:23:05 +01:00
Andreas Rumpf
739dc8094e
make set specification more clear; refs #10524
2019-02-18 15:18:42 +01:00
Timothee Cour
1d66222901
fixes #10659 koch boot fails on windows ( #10660 )
2019-02-18 12:18:52 +01:00
LemonBoy
cf32d61fa5
Prevent crash on pragma templates w/ generics ( #10685 )
...
* Prevent crash on pragma templates w/ generics
* Remove incorrect call to pragma reconversion
`semOverloadedCall` may return a node with more elements than the
original nkCall node had (implicit and/or explicit generics).
2019-02-18 12:17:00 +01:00
Andreas Rumpf
b5eed8ab3f
make code more readable
2019-02-18 10:30:30 +01:00
Andreas Rumpf
c8e33cbb75
fixed merge conflict
2019-02-18 09:56:01 +01:00
LemonBoy
8b39551fca
Small CI improvements ( #10699 )
...
* [appveyor] Cache all the downloaded binaries
* [travis] Enable fast_finish
2019-02-18 08:07:10 +01:00
Federico Ceratto
d8ff25f032
Provide access to getsockname()/getpeername()
...
Port of #3323 with added tests
2019-02-17 17:04:57 +00:00
narimiran
a0fb77dfd5
add links to every document, fixes #5515
2019-02-16 18:26:28 +00:00
Federico Ceratto
51c43218c9
Comment on isSorted complexity. ( #10686 ) [ci skip]
2019-02-16 15:56:26 +01:00
liuxiaodong
2610b16f6e
some dom proc correction and complement ( #10684 )
2019-02-15 17:43:22 +01:00
LemonBoy
bb9fe2046e
Merge pull request #10680 from narimiran/fix-10561
...
allow string insert in nimscript, fixes #10561
2019-02-15 16:20:26 +01:00
narimiran
1eaa18fe84
allow string insert in nimscript, fixes #10561
2019-02-15 11:09:32 +01:00
Juan Carlos
b3ffbac93c
Return result when found instead of keep iterating for no reason the whole mimedb on mimetypes module ( #10675 )
2019-02-15 08:42:13 +01:00
Miran
6d8ce609d7
add more nimble packages for testing ( #10671 )
2019-02-15 08:41:43 +01:00
Arne Döring
80992c7a12
introduce object before tuple in the tutorials ( #10664 )
2019-02-14 22:17:05 +01:00
Araq
b081eb4d6d
fixes #10651
2019-02-14 15:55:38 +01:00
Araq
70f0aab188
osproc: fix minor typo
2019-02-14 15:55:37 +01:00
Arne Döring
d2b3046c70
deprecated leftovers from era of no unsigned integer types ( #10605 )
2019-02-14 10:58:09 +01:00
Timothee Cour
9913cef872
fix typo in codeReordering error msg ( #10667 )
...
* fix typo in codeReordering
* reorder=>codeReordering
2019-02-14 09:52:15 +01:00
alaviss
9e754c3b06
compiler/types: correctly generates signature for non-proc types ( #10658 )
...
This makes signatures generated for nimsuggest correctly distinguish
template/macro/converter from proc.
2019-02-13 23:30:14 +01:00
Arne Döring
1ae61767f8
disable talloc2 on 32 bits ( #10656 )
2019-02-13 23:30:14 +01:00
Arne Döring
28394153ab
32 bit fixes ( #10608 )
2019-02-13 23:30:14 +01:00
Timothee Cour
304b1dd34b
randomize: added doAssert(seed!=0) to avoid invalid (non-random) behavior ( #10635 )
2019-02-13 23:30:14 +01:00
Timothee Cour
e3ba2e24cf
fix travis: add set -e in script ( #10631 )
2019-02-13 23:30:14 +01:00
Arne Döring
f4b2793bdf
reduce debug output ( #10638 )
2019-02-13 23:30:14 +01:00