Andreas Rumpf
27e1fbe7db
implement the --nilseqs switch properly
2018-08-15 16:56:32 +02:00
Andreas Rumpf
0da91aa744
changes how the now illegal 'string == nil' comparison is detected
2018-08-15 16:31:56 +02:00
Andreas Rumpf
94684488d6
make more tests green
2018-08-14 21:15:03 +02:00
Araq
18859cbaa1
make nimweb compile again
2018-08-14 01:36:02 +02:00
Araq
83c89197f3
renames threadpool.await to blockUntil; refs #7853
2018-08-14 01:28:04 +02:00
Araq
f91a181f58
make tests green again
2018-08-13 23:16:03 +02: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
60c7a0a08f
Merge branch 'araq-misc' of github.com:nim-lang/Nim into araq-misc
2018-08-10 16:51:45 +02:00
Araq
4cf1e3eb4b
rename SystemError to CatchableError in order to avoid breaking Nimble and probably lots of other code
2018-08-10 15:31:53 +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
Grant
98225ca207
Update channels.nim ( #8583 )
...
Fix typo in channels.nim
2018-08-09 09:40:21 +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
05121d84b3
fixes a long standing nil bug in substr
2018-08-08 12:05:29 +02:00
Araq
00d718b1db
strutils: minor code cleanup
2018-08-08 12:01:17 +02:00
Araq
de263a43c6
deprecate isNil for strings and seqs
2018-08-08 11:21:56 +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
4d5cce9882
fixes #6255 , add system.ashr arithmetic right shift ( #8547 )
2018-08-07 18:41:30 +02:00
Oscar Nihlgård
9b9cfa7306
Stricter signature for countdown/countup ( #8549 )
2018-08-07 09:24:54 +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
Emery Hemingway
be4816f509
Iterator over heap instances ( #8548 )
...
Provide "dumpHeapInstances" for iterating over type statistics
of heaps. This can be used to present structured heap information
as an alternative to "dumpNumberOfInstances".
2018-08-07 08:48:52 +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
andri lim
6e3d1dced5
fixes #5617 , 'copyLineInfo' addition ( #8523 )
2018-08-05 23:38:21 +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
Andreas Rumpf
c57e320c94
fixes 7833 ( #8533 )
...
* fixes #7833 ; still to-do: fix setLen
* make tests green again
* also fixes setLen and string concats; refs #7833
* change formating to avoid a compiler warning
* emit the write barrier also for addChar
* fixes yet another regression
* make setLengthStr compile for the old version
* make growobjcrash complete earlier
2018-08-05 11:42:38 +02:00
Christopher Dunn
cc1fd50b27
Try to let memTracker compile ( #8502 )
2018-08-05 09:53:10 +02:00
Araq
e6738ba9d9
make 'echo' threadsafe on Windows; fixes #8511
2018-08-04 18:11:03 +02:00
andri lim
78c0ac5407
fixes #7827 , bindSym enhancement ( #8499 )
...
* bindSym power up, working prototype
* update bindSym doc
* add bindSym test
* fix some typo
* fix bindSym doc
* get rid of specialops field from vm
* add experimental: dynamicBindSym
2018-08-02 12:56:44 +02:00
jcosborn
8f4c5a8955
fixed #7894 ( #8496 )
...
make system tests run properly
2018-08-01 10:57:35 +02:00
Timothee Cour
818d9be311
lineInfoObj (and check, expect) now return absolute paths (#8466 )
2018-07-31 23:02:04 +02: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
Yuriy Glukhov
6b40114f21
Added c_abort to ansi_c ( #8449 )
2018-07-30 11:10:51 +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
Timothee Cour
d07d148597
fixes #7492 excessiveStackTrace:on shows non-absolute file in stacktrace ( #8469 )
2018-07-30 07:39:58 +02:00
Hugo Locurcio
3838e2a8d7
Fix links to manual.html in the system module documentation ( #8467 )
...
The HTML anchor IDs were changed, which made those links not link
to the appropriate section anymore.
2018-07-28 12:13:37 -04:00
Yuriy Glukhov
34f398d010
Allow async stdin
2018-07-25 09:07:50 +03:00
Timothee Cour
13df807576
fix issue #8349 FileSystemCaseSensitive should be false on OSX ( #8411 )
2018-07-23 19:26:49 -05:00