Commit Graph

6751 Commits

Author SHA1 Message Date
Andreas Rumpf
fc99ddc648 Merge pull request #10513 from LemonBoy/uri-encq
Add `encodeQuery` and `?` to Uri module
2019-01-31 18:19:37 +01:00
Araq
0ecec8362a distros.nim: brew usually requires 'sudo' 2019-01-31 15:12:36 +01:00
LemonBoy
ec26bc472d Add encodeQuery and ? to Uri module 2019-01-31 13:47:51 +01:00
LemonBoy
81e5a35d56 Show correct address for ipv6 sockets, fixes #7634 (#10505) 2019-01-31 07:34:26 +01:00
Timothee Cour
abcd9fd2e8 fixup #10466 to use runnableExamples (#10510) 2019-01-31 07:19:16 +01:00
alaviss
acac107fe7 times: use clock_gettime() for epochTime() (#10499)
* times: use clock_gettime() for epochTime()

Fixes #10494

* times: remove gettimeofday()

As FreeBSD and OSX support CLOCK_REALTIME, there's no reason to keep
this code around.
2019-01-30 19:52:21 +01:00
Miran
0c2c2dca2a better docs: os (#10492)
* better docs: os
* remove broken test on osx
2019-01-30 17:35:09 +01:00
Miran
9ac0cbdd51 fixes #2796 (#10500) [backport] 2019-01-30 17:31:06 +01:00
Mandeep Singh
7118e1ca01 Example for json.pretty (#10466) 2019-01-30 16:35:45 +01:00
LemonBoy
fa7b757823 Remove unused variable 2019-01-30 10:01:59 +01:00
Timothee Cour
e98bd3aceb fix #10488 GC memory leak regression (#10498)
* fix #10488 GC memory leak regression

* re-enable gch.stack.bottom.repr but only inside when defined(logGC)
2019-01-30 09:26:33 +01:00
c-blake
b2a5195e92 Add a standard Rusage type definition and wait4, getrusage declarations (#10484) 2019-01-29 21:25:08 +01:00
Andreas Rumpf
dee8e6e98a gc: destructors is beginning to work (#10483)
* kochdocs.nim: code cleanup
* docgen: nicer indentation
* parser.nim: code cleanup
* fixes #10458
* make tests green again
* make =destroy mixins
* gc:destructors: produced C code is almost working
* --gc:destructors simple program compiles (but leaks memory)
* gc:destructors make examples compile in C++ mode
* destructors: string implementation bugfixes
* strs.nim: minor code cleanup
* destructors: builtin seqs are beginning to work
* remove debugging helpers
2019-01-29 15:12:16 +01:00
Emery Hemingway
15422a3e5a Genode fixes (#10491)
Readline pasthru, add linker to config, do not pass -lm to linker.
2019-01-29 15:08:43 +01:00
Araq
07a0a61875 fixes #9149 [backport] 2019-01-29 14:31:43 +01:00
Oscar Nihlgård
ac8f6c57a1 Improve exception tracking in the streams module (#10453) 2019-01-28 17:18:07 +01:00
Oscar Nihlgård
9402c82e80 Cleanup heapqueue module (#10476) 2019-01-28 09:58:37 +01:00
LemonBoy
db2a4d230d Add logic to deserialize tyRange fields from json (#10469) 2019-01-28 09:51:54 +01:00
Thomas T. Jarløv
91b39f2219 uri: Update documentation typo (#10471) 2019-01-27 21:59:58 +01:00
Federico Ceratto
7533f3bcbd Add link to nims.html (#10472) [ci skip] 2019-01-27 17:27:54 +01:00
c-blake
322f395f31 Make MemSlice stringification both simpler and faster. (#10464) 2019-01-27 13:52:46 +01:00
Mandeep Singh
a0623a2356 Updated httpClient.nim: added import httpClient statements in examples
Added import httpClient statements in examples, as it was not obvious for a new started from python regarding what to import
2019-01-26 14:45:26 +00:00
Matt Haggard
3c106541fa Increase verbosity of logGC (#10449)
* Increase verbosity of logGC

* Remove & c.repr to avoid re-entering the GC
2019-01-26 12:26:36 +01:00
Federico Ceratto
68dd9be0f5 Handle empty lines in parsecsv; fixes #8365 (#9343) 2019-01-26 10:27:08 +01:00
Miran
268197add8 properly deprecate parseopt2 (#10452) 2019-01-25 13:13:55 +01:00
Araq
70c7348d3e gc:regions: undo the regression introducing changes 2019-01-25 09:49:16 +01:00
narimiran
83caa58c7a docs: fix trailing comma in links 2019-01-25 09:43:47 +01:00
Christian Lyder Jacobsen
8313e5f24e Use hexadecimal in json escaping (#10437) [backport] 2019-01-25 09:29:32 +01:00
jiro
bc31eb301a better docs: parsecsv (#10391) 2019-01-24 17:14:23 +01:00
Miran
e75049d7b6 fixes #10433 (#10444) 2019-01-24 12:22:59 +01:00
Thomas T. Jarløv
f9a0eaf89d better docs: algorithm (#10372) 2019-01-24 10:28:07 +01:00
narimiran
ce5e8b93e2 better docs: xmltree 2019-01-24 00:35:37 +01:00
Araq
c4d2cb9ea6 excpt.nim: code cleanup, don't produce nimFrame in -d:release mode 2019-01-23 22:03:15 +01:00
Araq
40d1c7d43a OutOfMemError is never raised so there is no need to check for it (produce less code) 2019-01-23 22:03:15 +01:00
Ico Doornekamp
0d480bfe22 Added basic bit manipulation procs to bitops (#10338) 2019-01-23 09:16:14 +01:00
pgkos
a0c07ef863 Fix wrong integer types in odbcsql and db_odbc (#10419)
* Fix wrong parameter type in SQLErr
* Fix wrong types of integers passed to SQLGetData
2019-01-22 22:39:53 +01:00
Miran
0ebfcd4c0f Remove deprecated modules (asyncio, sockets, ftpclient) (#10401) 2019-01-22 16:06:44 +01:00
Jjp137
a6a014a859 better docs: parseopt (#10398) 2019-01-22 14:52:43 +01:00
Araq
458c827077 make --define:noSignalHandler compile again 2019-01-22 11:45:45 +01:00
LemonBoy
6825430831 Restrict ptr/ref to ptr/ref implicit conversion (#10411)
* Restrict ptr/ref to ptr/ref implicit conversion

Fixes #10409

* Make the ptr conversions explicit in db_odbc
2019-01-22 11:17:20 +01:00
Miran
39e1cd2bf6 Better docs for sets and intsets (#10362)
* better docs: sets

* better docs: intsets
2019-01-22 10:18:12 +01:00
LemonBoy
792dbed57e Restore the docstring during the .async. transform (#10404) [backport]
Fixes #9816
2019-01-22 09:41:11 +01:00
LemonBoy
7a3f382517 Fix corner case of checked div/mod on x86 (#10406)
Fixes #10377
2019-01-22 07:33:27 +01:00
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
4a04470450 better docs: sha1 (#10374) 2019-01-19 15:24:39 +01:00
Thomas T. Jarløv
15aea78405 better docs: base64 (#10371) 2019-01-19 15:21:07 +01:00