Arne Döring
199018ef2e
test can fail because of invalid spec
2018-12-11 21:23:20 +01:00
Andreas Rumpf
3177aee75f
Merge pull request #9910 from nc-x/fix-semicolon
...
Fixes #9907
2018-12-11 12:26:23 +01:00
Neelesh Chandola
5aba5875da
Address Comments
2018-12-11 10:44:43 +05:30
Andreas Rumpf
981dcc6b9a
Merge pull request #9890 from nim-lang/remove-asynccommon
...
Merge async common into asyncdispatch.
2018-12-09 13:00:10 +01:00
Neelesh Chandola
abdfbd07a5
Fixes #9907
2018-12-09 10:35:30 +05:30
Oscar Nihlgård
0a749f1a37
Make options.UnpackError inherit from system.Defect
2018-12-08 10:04:53 +01:00
Dominik Picheta
775bfb3e8d
Merge async common into asyncdispatch.
2018-12-07 22:47:10 +00:00
Andreas Rumpf
160a034643
Merge pull request #9803 from GULPF/walkdirrec-relative
...
Add `relative` parameter to walkDirRec
2018-12-06 09:29:35 +01:00
Timothee Cour
14223c4b7f
Update parseutils.nim
2018-12-05 11:27:22 -08:00
Andreas Rumpf
d215296497
Merge pull request #9846 from timotheecour/pr_getpid
...
add os.getCurrentProcessId()
2018-12-05 08:12:17 +01:00
Araq
633832d0de
times.nim: Minor formatting change in the example code
2018-12-04 22:41:06 +01:00
Timothee Cour
e4850b7f1c
address comments
2018-12-04 02:51:27 -08:00
Timothee Cour
c0a91970f2
fixup
2018-12-04 00:45:58 -08:00
Timothee Cour
53147cc546
fixup
2018-12-03 14:25:04 -08:00
Timothee Cour
af7d758cfc
address comments
2018-12-03 14:03:06 -08:00
Timothee Cour
0caab530fb
fixup
2018-12-03 12:51:28 -08:00
Timothee Cour
e7ab4817e2
fixup
2018-12-03 12:46:32 -08:00
Timothee Cour
b93fbcf09a
add osproc.processID()
2018-12-03 12:04:46 -08:00
Oscar Nihlgård
e5aae93bfe
Add relative parameter to walkDirRec
2018-11-26 22:08:45 +01:00
pgkos
518c72e57a
fixes #9800 ( #9804 ) [backport]
...
* fixes #9800
* add tests for #9800
2018-11-26 18:59:24 +01:00
Emery Hemingway
ed8b4befbf
times: use clock_gettime for cpuTime with POSIX ( #9793 )
...
The POSIX 'clock()' procedure returns process CPU time in an
implementation specific unit, which for historical reasons can be as
large as ~7ms in the case of FreeBSD. Use 'clock_gettime' for higher
accuracy.
2018-11-26 17:00:17 +01:00
Tomohiro
3a3ff76526
Add workingDir parameter to execProcess and test ( #9549 )
...
* Add workingDir parameter to execProcess
* Fix tests/stdlib/tosproc.nim compile error
* Suppress output from tosproc.nim
2018-11-26 10:28:44 +01:00
Yuriy Glukhov
410fd1deae
Fixes 9716 [backport] ( #9790 )
...
* reuse temporary variable
* fixes #9716 [backport]
* Declare local vars in safer place
2018-11-24 10:50:48 +01:00
Dominik Picheta
47d0582ebf
Merge pull request #9548 from tonygparsehub/put-delete
...
fix #8777 add missing http methods in httpClient
2018-11-23 22:45:28 +00:00
Arne Döring
9c2365d5c2
activated more tests, allow input in test spec
2018-11-23 11:58:28 +01:00
Arne Döring
e012eb1001
updated tests to be executed
2018-11-23 11:58:28 +01:00
Timothee Cour
02351d02e7
universal toSeq: works with UFCS; works with inline & closure iterators, and with iterables ( #8711 )
...
* universal toSeq: works with UFCS; works with inline, closure, and proc
iterators, and also non-iterators
* support all iterables with toSeq
* workaround for #9130
2018-11-22 11:47:14 +01:00
Oscar Nihlgård
b4a42386d9
Times module cosmetic changes ( #9770 )
2018-11-20 22:56:25 +01:00
Yuriy Glukhov
d146516008
Fixed wording ( #9761 )
2018-11-20 12:50:08 +01:00
Randy Smith
6c7abe6e5b
Fixes #9671 ( #9750 )
2018-11-19 09:22:21 +01:00
Araq
3f6168b337
removes deprecated T/P types
2018-11-16 13:27:56 +01:00
Araq
4929f74023
fixes #9728
2018-11-16 11:30:34 +01:00
pgkos
4efbde84ee
Make getEnv case insensitive on Windows ( #9722 )
2018-11-16 08:45:50 +01:00
Dominik Picheta
679a52f53c
Merge pull request #9687 from narimiran/fix-7192
...
export `asyncdispatch.callSoon` (fixes #7192 )
2018-11-13 21:12:19 +00:00
narimiran
c2b16b46ec
export asyncdispatch.callSoon ( fixes #7192 )
2018-11-12 15:40:33 +01:00
narimiran
c0b5479e6b
coro: minor documentation fix [backport] [ci skip]
2018-11-11 10:16:32 +01:00
Miran
964b5dac7c
complete future only once in or ( fixes #8982 ) ( #9632 )
...
* complete future only once in `or`
Analogous to `and`.
Credits to @k0zmo for proposing the solution.
* add test
2018-11-09 22:45:17 +00:00
Andreas Rumpf
8d850f7a69
deprecated ospaths ( #9665 )
2018-11-09 16:36:49 +01:00
Andreas Rumpf
130c218ff9
parseopt: remove confusing dead code
2018-11-09 09:03:28 +01:00
Andreas Rumpf
c0fc2f5726
fixes #9619
2018-11-09 09:03:28 +01:00
Araq
84ca9d2903
add new stdlib modules to the changelog
2018-11-08 20:52:22 +01:00
Araq
56f76c5b08
better implementation for wrapWords
2018-11-08 20:52:22 +01:00
Arne Döring
795d7e3217
WIP
2018-11-08 20:52:22 +01:00
narimiran
15c66a06f9
keep the order of the callbacks
2018-11-07 15:22:02 +01:00
Konstantin Molchanov
d5e113c3a6
Add readData proc that accepts a string.
2018-11-07 11:26:51 +01:00
Arne Döring
c2c05f5e72
fix #9639 ( #9640 )
2018-11-07 10:58:48 +01:00
pgkos
b9cdad7497
times - remove unneeded negative sign when parsing formats z and zz ( #9631 )
...
* fix wrong utcoffset sign for formats z and zz
* add tests for the timezone offset formats
2018-11-06 22:29:23 +01:00
Araq
1c7fbad378
make tests green again
2018-11-06 13:55:03 +01:00
Arne Döring
cc5b8c6ad2
Generic Complex type ( #9590 )
...
* remove `**`
* const `im` can now be used with Complex64
* converters from float|int to Complex are replaced by procs
* converters between various Complex types must stay to allow usage
of `im` with Complex64
* limit types for `+`, `-`, `/`, and `*` between Complex and float
* add `pow` for Complex and a number
* complex type changes
* unpublish approximation function
2018-11-05 20:27:46 +01:00
Timothee Cour
e4e19f8288
stripLineEnd aka chomp ( #9623 )
2018-11-05 08:01:31 +01:00