Araq
30597e643f
fixes merge conflict
2018-08-23 11:30:55 +02:00
Tim
55a8649749
Decrease source code size in htmlparser and add one check ( #8690 )
2018-08-23 10:30:16 +02:00
Araq
b9a1816009
make sequtils compile
2018-08-22 22:48:49 +02:00
Oscar Nihlgård
1d93991929
Cleanup ttimes ( #8714 )
...
* Refactor fromWinTime
* Cleanup ttimes
2018-08-22 17:20:41 +02:00
Araq
dbd21d670c
make more things compile without isNil
2018-08-22 15:12:02 +02:00
Araq
64517445ea
even more strict isNil handling for strings/seqs in order to detect bugs
2018-08-22 12:35:46 +02:00
cooldome
d0f4a929e0
fixes 8594 ( #8721 )
2018-08-22 12:16:18 +02:00
Dominik Picheta
3e7aaa7087
Fixes #8716 . ( #8717 )
2018-08-22 00:18:17 +02:00
Araq
f12a5431a1
make tests green again
2018-08-21 20:33:47 +02:00
Dmitry Atamanov
b75808c7d9
Fixes ropes regressions due to the not-nil strings ( #8687 )
2018-08-20 16:55:22 +02:00
Andreas Rumpf
2def616069
exploit nil seqs for performance ( #8688 )
...
* changes $ for seqs to never produce 'nil'
* exploit the fact that empty seqs don't have to allocate in the code generator
2018-08-20 11:54:18 +02:00
Andreas Rumpf
f2263cd129
make tests green again
2018-08-18 18:52:39 +02:00
Oscar Nihlgård
33ed8f7e73
times.Timezone changes ( #8527 )
...
* Use floorDiv in times.nim
* New implementation of times.Timezone
* Tweak doc comments
* Fix typo
2018-08-17 11:12:58 +02:00
Kaushal Modi
d73b19e379
Look for user nim.cfg in "nim/" subdir in usual config dir locations ( #8662 )
...
Fixes https://github.com/nim-lang/Nim/issues/8661 .
2018-08-17 10:52:10 +02:00
Arne Döring
ce4383be3b
fixes #8658 ; addQuoted on Option[T] ( #8659 )
2018-08-17 01:24:28 +02:00
Timothee Cour
af037546b0
fixes #7187 sequtils.toSeq produces the sequence from the iterator twice ( #8586 )
...
* cleanups refs #8584
* fixes #7187
2018-08-16 23:19:36 +02:00
Emery Hemingway
2da0341b4d
Genode fixes ( #8501 )
...
* Genode fixes
- wrap strings in "Genode::Cstring" when logging
- define SIGABRT for Genode
- disable GCC -fstack-protector
- use log RPC for fatal messages
- add --os:genode build to appveyor
- define paramStr and paramCount
* Select fixups for Genode POSIX
2018-08-16 18:12:37 +02:00
Timothee Cour
87b2d2aad6
added a variant of quoteShellCommand that takes an openArray of arguments ( #8272 )
2018-08-16 14:10:16 +02:00
Andreas Rumpf
e4c759fbff
Merge branch 'devel' into araq-misc
2018-08-16 01:22:21 +02:00
Andreas Rumpf
94684488d6
make more tests green
2018-08-14 21:15:03 +02:00
Dominik Picheta
bc957ace2e
Merge pull request #8628 from hlaaftana/patch-1
...
Small documentation typo in math
2018-08-14 11:21:26 +01:00
Timothee Cour
ed9fd2b63c
fixes #8577 , fixes #8580 , other bug fixes ( #8584 )
2018-08-14 10:44:28 +02:00
alaviss
7ef268274f
Haiku support for Nim ( #8542 )
...
* posix_other: Haiku now has spawn.h
This is added per https://dev.haiku-os.org/ticket/13446
* posix_other: Add Haiku specific Dirent members
* cpuinfo: Add an implementation for Haiku
* distros: Add basic Haiku support
* encodings: update Haiku support
* fenv, math: Haiku now provides libm
* times: Add Haiku struct members
* ansi_c, osalloc: Add Haiku constants
* threads: Add Haiku support
* testament: Haiku uses LIBRARY_PATH
* nim.cfg: Update Haiku support
libnetwork should only be linked if network functions are used
* threads: Haiku does not support -pthread switch
* tworkingdir: Haiku's env is in /bin
* posix_other: add SIGKILLTHR for Haiku
* sockets: link with libnetwork on Haiku
* coro: correct ucontext.h location
http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html
* coro: ucontext backend is not available on Haiku
Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX
* coro: fix setjmp backend
The compiler does not allow statements after a noreturn function
* nativesockets: Haiku doesn't support AI_V4MAPPED
* system: hostOS can contains "haiku"
* os: add support for Haiku's packagefs
packagefs is read-only, but there are writable holes to the underlying
file system as well
* os: update constant for Haiku
2018-08-14 09:35:07 +02:00
Araq
83c89197f3
renames threadpool.await to blockUntil; refs #7853
2018-08-14 01:28:04 +02:00
Dominik Picheta
feda366d86
Adds get for Option[T]. ( #8462 )
2018-08-14 01:09:08 +02:00
hlaaf
ed4a267399
Small documentation typo in math
2018-08-14 01:33:56 +03:00
Araq
a0cde8cee6
Merge branch 'devel' into araq-misc
2018-08-13 20:16:18 +02:00
Araq
420ed0596b
fixes more nil handling regressions
2018-08-13 17:27:44 +02:00
Andreas Rumpf
7f49364fd0
make more tests green
2018-08-13 12:29:03 +02:00
Iván Montes
ee29370f60
Fixed 7478: splitLines keepEol option ( #8621 )
2018-08-13 11:42:50 +02:00
Andreas Rumpf
dae5450947
WIP: disallow 'nil' for strings and seqs
2018-08-13 11:41:33 +02:00
Andreas Rumpf
404de2f23e
Merge branch 'devel' into araq-misc
2018-08-10 12:06:16 +02:00
Andreas Rumpf
1d78ba64b4
rework the exception hierarchy; refs #8363
2018-08-10 11:40:01 +02:00
Timothee Cour
43f634db8d
fixes #8519 ; implements T.distinctBase to reverse T = distinct A ( #8531 )
2018-08-10 09:20:14 +02:00
Araq
265003df1a
deprecated regionized pointers
2018-08-10 01:20:14 +02:00
Araq
babd31360a
fixes more nil string bugs
2018-08-08 18:22:48 +02:00
Araq
b07d1f1dc3
make async tests green for Linux
2018-08-08 16:18:30 +02:00
LemonBoy
32b62097a2
Fix regression for mapIt ( #8567 )
...
Don't try to be too smart and limit the use of `evalOnce` where strictly
needed as not every value can be assigned with a `let`.
Fixes #8566
2018-08-08 15:34:21 +02:00
Dominik Picheta
af4f4425e2
Merge pull request #8559 from ehmry/fix_8109
...
AsyncHttpClient: return from requests before body completion
2018-08-08 12:27:20 +01:00
Araq
00d718b1db
strutils: minor code cleanup
2018-08-08 12:01:17 +02:00
Emery Hemingway
817e4bb2fe
AsyncHttpClient: return from requests before body completion
...
Store the body completion future at the client and wait for it to
complete before issuing additional requests. This allows the body
FutureStream reader to drain the stream and read buffers to be freed
asynchronously.
Fix #8109
2018-08-08 07:48:24 +02:00
LemonBoy
ba5e2d6fcb
Make mapIt work on openArray's ( #8543 )
2018-08-07 18:45:27 +02:00
andri lim
c3d5ec8ead
fixes #8421 , fixes #7968 , Nim compiler compiles with MSVC C89 version ( #8556 )
2018-08-07 09:07:18 +02:00
Andreas Rumpf
39b3b94008
OSX: make tioslectors test green
2018-08-06 15:27:17 +02:00
Timothee Cour
8ad59e6857
remove redundant test for nil before add ( #8460 )
2018-08-06 11:50:42 +02:00
Dominik Picheta
6fffadb7fd
Merge pull request #8364 from timotheecour/pr_expandTilde
...
ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSep
2018-08-05 16:30:17 +01:00
Euan T
e11d52a4e8
Update example code for UDP sockets
2018-07-30 13:39:32 +01:00
andri lim
2e6d073be1
fixes #8468 , stdlib.encodings.convert not crash anymore on windows ( #8470 )
2018-07-30 12:04:49 +02:00
Quelklef
a4c244aef0
Add checks for random.rand() ( #8431 )
2018-07-30 10:19:11 +02:00
Yuriy Glukhov
57c3b807d0
Fixed typo introduced in #8428 that leads to InvalidIdent assertion failure ( #8464 )
2018-07-30 08:54:52 +02:00