Miran
4bea8dd674
better docs for lists and deques ( #10390 )
...
* better docs: lists
* better docs: deques
2019-01-21 15:22:53 +01:00
Timothee Cour
32a90f7406
fix json bug []= misplaced ( #10397 )
2019-01-21 08:24:06 +01:00
Kobi
28b3c8d74d
prevent index out of bounds error in oserr.nim
2019-01-19 10:56:36 -08:00
Federico Ceratto
095eaacf21
Fix spelling errors ( #10379 )
2019-01-19 16:01:27 +01:00
Thomas T. Jarløv
bfeade9791
better docs: uri ( #10373 )
2019-01-19 15:31:14 +01:00
Thomas T. Jarløv
15aea78405
better docs: base64 ( #10371 )
2019-01-19 15:21:07 +01:00
Oscar Nihlgård
86a91c1a4a
Fix parseutils.parseBiggestInt regression ( #10348 )
2019-01-18 19:15:29 +01:00
Neelesh Chandola
3cc39c2eb9
Show filename in exception raised by expandFilename on windows ( #10365 )
2019-01-18 18:46:35 +01:00
Thomas T. Jarløv
6fb618da4b
better docs: parseutils
2019-01-18 14:17:25 +01:00
Miran
214f48eae9
Remove long deprecated stuff ( #10332 )
2019-01-18 07:18:32 +01:00
Miran
cceb28b5eb
remove queues ( #10347 )
...
This module was deprecated and superseded by deques 2 years ago.
2019-01-17 20:37:39 +01:00
narimiran
52a54f5f04
documentation: remove author field [ci skip]
2019-01-17 07:15:40 +01:00
Oscar Nihlgård
5df411bd6e
Revert export of times.CTime; add std/time_t instead. ( #10319 )
...
* Revert export of times.CTime
* Add std/time_t
2019-01-16 21:08:32 +01:00
Araq
1cb5e20620
parseutils.nim: help the codegen produce better code
2019-01-16 17:59:24 +01:00
narimiran
2e8bf88614
sequtils doc: another quickfix [ci skip]
2019-01-16 12:32:00 +01:00
narimiran
3abe6e9e14
quickfix for sequtils docs [ci skip]
2019-01-16 11:58:51 +01:00
Miran
b48364694d
Merge pull request #10318 (Better docs for four modules)
2019-01-16 11:48:37 +01:00
Timothee Cour
b8454327c5
json: support tuple ( #10010 )
2019-01-16 10:16:14 +01:00
narimiran
387f481e86
better docs: math
2019-01-16 09:46:01 +01:00
narimiran
b40a637fac
better docs: tables
2019-01-16 09:45:57 +01:00
narimiran
be6456f0f4
better docs: strutils
2019-01-16 09:45:51 +01:00
narimiran
b097081f10
better docs: sequtils
2019-01-16 09:45:27 +01:00
Oscar Nihlgård
1d7e3a84fd
Improve exception usage in parseutils ( #10284 )
2019-01-15 23:48:19 +01:00
Araq
27e366eaec
fixes #8294 [backport]
2019-01-15 22:47:21 +01:00
Timothee Cour
795e5e11ef
parseopt2.cmdLineRest is now correct too ( #10304 )
2019-01-15 21:51:02 +01:00
Timothee Cour
0a8762eb7b
fix #9842 #9951 : nim -r and parseopt.cmdLineRest are now correct
2019-01-14 17:00:54 -08:00
genotrance
dd1f23f6fc
Expose CTime ( #10301 )
2019-01-14 22:16:11 +01:00
Arne Döring
b78af990b8
Fixes #10065 ( #10260 )
...
CountTable now returns 0 instead of 'key not found' for get requests.
2019-01-14 17:16:17 +01:00
narimiran
29e0a792ff
[backport] fix documentation leak to os.nim[ci skip]
2019-01-14 09:24:12 +01:00
Arne Döring
2b37bf5d5b
added proc rand for typedesc ( #10259 )
2019-01-14 09:20:31 +01:00
Dominik Picheta
d740a5b79a
Implements BackwardsIndex [] for deque. ( #10105 )
2019-01-13 14:06:16 +01:00
Timothee Cour
9af85fb69f
fixes #10273 execShellCmd now returns nonzero when child killed with signal + other fixes ( #10274 )
...
* s/exitStatus(...)/exitStatusLikeShell(...)/
* fix #10273 execShellCmd now returns nonzero when child exits with signal
* test case for #10249 and explanation for the bug
* fix test failure
* add tests/nim.cfg
2019-01-13 09:00:39 +01:00
Araq
647066e378
make the stdlib work with the changed docgen
2019-01-11 22:17:43 +01:00
Jörg Wollenschläger
ceabbeadd7
Fixes new atomics for C + vcc ( #10267 )
2019-01-11 12:07:46 +01:00
narimiran
0a2f711b9e
revert moving oids and smtp to graveyard
2019-01-11 08:51:19 +01:00
Timothee Cour
540d102d87
fix #10261 unittest now returns 1 on error instead of buggy behavior ( #10264 )
2019-01-11 07:59:20 +01:00
Jörg Wollenschläger
ab425d793a
[RFC] Better atomics ( #8620 )
...
* Initial version of C++11 style atomics
* Make Atomic[T] always concrete
2019-01-10 19:18:00 +01:00
Miran
6389271d1c
Merge pull request #10248 from narimiran/graveyard
...
Move four modules to graveyard
2019-01-10 11:17:06 +01:00
Oscar Nihlgård
b3435d22dc
Times cosmetic changes ( #10237 )
...
* Add more Date wrappers to jscore
* Times cosmetic changes
- Improved docs
- Code wrapped at 80 chars
- Formatting fixes using nimpretty
- Remove some old deprecated procs
2019-01-10 10:56:12 +01:00
narimiran
be958d60c9
remove oids
2019-01-10 09:17:12 +01:00
narimiran
1a3763fe13
remove smtp
2019-01-10 09:17:12 +01:00
narimiran
8d9b093440
remove scgi
2019-01-10 09:17:12 +01:00
narimiran
da57c0ab99
remove subexes
2019-01-10 09:17:12 +01:00
Notkea
11050d1104
make Stream.{read,peek} procs public ( #9806 )
...
Those are useful in generic code, and `proc write*[T](s: Stream, x: T)` was already public.
2019-01-09 08:06:40 -06:00
Ico Doornekamp
0229dfd199
epoll selector starts with reasonable fd set size (1024) and increases in powers of two when needed. This prevents the selector to allocate large amounts of memory at startup on systems with a high RLIMIT_NOFILE setting ( #10194 )
2019-01-09 10:46:22 +01:00
Timothee Cour
6ce3949c8a
add isNamedTuple; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) which leaked implementation detail ( #10070 )
...
* add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2)
fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim
* Note: isNamedTuple is useful in other places, eg #10010 (comment)
* move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim
* remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work
2019-01-08 18:37:25 -08:00
alaviss
6737634d88
os.execShellCmd: fixes #10231 ( #10232 )
...
Darwin has long deprecated the wait union, but their macros still assume
it unless you define _POSIX_C_SOURCE. This trips up C++ compilers.
This commit duplicates the behavior of WEXITSTATUS when _POSIX_C_SOURCE
is defined.
2019-01-08 12:41:15 +01:00
alaviss
139fa396e8
os.execShellCmd: use WEXITSTATUS to retrieve exit code ( #10222 )
...
According to POSIX, system() shall returns the termination status in the
format specified by waitpid(), which means WEXITSTATUS should be used to
retrieve the exit code portably.
This fixes execShellCmd on Haiku.
2019-01-07 12:27:07 +01:00
Miran
5345c5b130
remove deprecated modules ( #10215 )
...
* removed from `compiler`:
* lists (deprecated 2 years ago)
* removed from `lib` (all deprecated 3 years ago):
* ssl
* matchers
* httpserver
* removed from `lib/deprecated`:
* unsigned
* actors (and three accompanying tests)
* parseurl
* moved to `lib/deprecated`:
* securehash (the reason for not directly removing - it was deprecated (only) one year ago)
2019-01-07 10:37:49 +01:00
Ico Doornekamp
be9d1280ae
Added examples to strtabs module ( #10160 )
2019-01-07 00:52:19 +01:00