Commit Graph

3319 Commits

Author SHA1 Message Date
Andreas Rumpf
274fafb2df fixes #6961 2018-02-02 17:35:04 +01:00
Dominik Picheta
fcd4cd82c3 Merge pull request #6796 from nim-lang/async-improvements
Async improvements
2018-01-28 19:11:17 +00:00
Dominik Picheta
86fb8bf723 Revert 3db460f504 as requested by @Araq. 2018-01-28 17:13:08 +00:00
Dominik Picheta
6c035379fe Merge pull request #6597 from pgkos/uri-allow-no-authority
Allow parsing URIs without authority
2018-01-28 17:00:33 +00:00
Dominik Picheta
1a565d7b20 Merge pull request #6517 from FedericoCeratto/hexstr
Add string-to-hex and back conversions
2018-01-26 15:32:28 +00:00
Yuriy Glukhov
ecbbefcc83 Fallback to doNothing if /proc/loadavg cant be opened (#7123) 2018-01-22 13:52:22 +01:00
Andreas Rumpf
fea66497b4 terminal.nim: code cleanup 2018-01-18 19:34:46 +01:00
Dmitry Atamanov
7ce38122e8 Support truecolor for the terminal stdlib module (#6936) 2018-01-18 18:48:59 +01:00
Yuriy Glukhov
1b3f640188 Fixed crash in rand (#7103) 2018-01-18 18:47:58 +01:00
Dominik Picheta
ef19634065 Workaround 'defer' issue in httpclient.downloadFile. Refs #3877. (#7101) 2018-01-18 14:08:35 +01:00
Andreas Rumpf
090d22c715 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-18 11:40:30 +01:00
Andreas Rumpf
ffd8e922a1 stats.nim: add a '$' operator for RunningStat 2018-01-18 10:45:46 +01:00
Dominik Picheta
47d05b3f2e Merge branch 'devel' into async-improvements 2018-01-17 16:28:00 +00:00
Dominik Picheta
b754bfabb6 Merge pull request #7023 from yglukhov/unify-async
Unify async macro and futures for js and native targets
2018-01-17 15:06:32 +00:00
Dominik Picheta
136f1a208a Merge pull request #7066 from nim-lang/net-fixes
Assert on closed sockets
2018-01-16 22:05:49 +00:00
Dominik Picheta
1661062ebf Raise assertion error when attempting to use closed socket. 2018-01-15 17:48:32 +00:00
Araq
9a60eae631 fixes #7078 2018-01-14 23:49:53 +01:00
Andreas Rumpf
38fde80b35 strformat: fixes new 'fmt' template 2018-01-13 10:57:51 +01:00
Dominik Picheta
471ae7e081 Merge pull request #7067 from yglukhov/httpclient-crash
Fixed crash in ssl httpclient
2018-01-12 08:59:29 +00:00
Araq
3647c9c822 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-12 01:27:45 +01:00
Araq
66634fe1a0 strformat: introduce 'fmt' as an alias for '%'; ensure overloading resolution produces a clash between strformat.'%' and json.'%' 2018-01-12 01:27:24 +01:00
Yuriy Glukhov
cfc0a58417 Fixed crash in ssl httpclient 2018-01-11 23:02:42 +02:00
Dominik Picheta
4181e1940d recv with a timeout of -1 shouldn't wait on all data. 2018-01-11 20:46:44 +00:00
Dominik Picheta
082868f1bb Merge pull request #7063 from yglukhov/logging-dont-crash-on-nil
logging: don't crash on nil strings
2018-01-11 18:41:34 +00:00
Araq
425f221440 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-11 18:05:26 +01:00
Araq
fb8def869c rename strformat.fmt to % as it works better with backslash escape sequences; refs #6958 2018-01-11 18:05:14 +01:00
Dominik Picheta
8da96bc72b Remove additionalInfo in OSError in findNextFile 2018-01-11 12:16:34 +00:00
oskca
c9c44a4eb9 correct type for raiseOSError 2018-01-11 19:42:19 +08:00
Yuriy Glukhov
852e1d3da1 logging: don't crash on nil strings 2018-01-11 11:50:13 +02:00
oskca
495331bf20 raiseOSError to indicate the failling of findNextFile in walkDir[Rec] 2018-01-11 13:40:35 +08:00
oskca
e98a2051ce check ERROR_NO_MORE_FILES to prevent walkDir[Rec] to quit prematurely 2018-01-11 13:40:35 +08:00
Dominik Picheta
2c905f5e81 Merge pull request #6962 from nim-lang/fixes/6100
Fixes #6100.
2018-01-10 23:11:26 +00:00
Dominik Picheta
1256f211f5 Merge pull request #6922 from FedericoCeratto/openssl-1.1.0
Add OpenSSL 1.1.0 support
2018-01-10 23:05:42 +00:00
Dominik Picheta
24cae4addb Merge pull request #7033 from GULPF/allow-timezone-closures
Allow timezone procs to be closures
2018-01-10 17:45:29 +00:00
Dominik Picheta
e7e37713dd Merge pull request #7045 from GULPF/fmt-str-fallback
Add additional $ fallback to fmt
2018-01-09 16:22:38 +00:00
Dmitry Atamanov
b6b99da08f Windows: fix a eraseLine bug (#7044) 2018-01-09 15:48:27 +01:00
Oscar Nihlgård
cde3a4f586 Add additional $ fallback to fmt 2018-01-09 00:18:32 +01:00
Andreas Rumpf
b168efd1ab make strformat.fmt take the same signature as strfmt.fmt in order to force an ambiguity error; refs #6958 2018-01-08 13:43:43 +01:00
Andreas Rumpf
e23ea64c41 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-07 12:21:47 +01:00
Andreas Rumpf
08af53032b net.nim: minor documentation update 2018-01-07 12:20:00 +01:00
Araq
06e68feadb strscans: fix the type checking logic; improve the documentation 2018-01-06 17:27:19 +01:00
Mathias Stearn
9bc2638399 Fix typos in scanf docs (#7035) 2018-01-06 15:08:58 +01:00
Dmitry Atamanov
6ca563dd2e Add a more number parsers to the scanf macro (#6985) 2018-01-05 17:36:56 +01:00
Dmitry Atamanov
6cf8a72d49 Windows: fixes getch bug; fixes #6966 (#7031) 2018-01-05 17:32:05 +01:00
Yuriy Glukhov
c93655e8b4 Unify async macro and futures for js and native targets 2018-01-05 16:40:51 +02:00
Oscar Nihlgård
c098ee3c7a Remove nimcall pragma from tz procs 2018-01-05 11:16:58 +01:00
Oscar Nihlgård
c344fb311d Allow timezone procs to be closures 2018-01-05 10:07:46 +01:00
GULPF
30d182e5d6 Unexport epochday procs (#7024) 2018-01-03 23:54:36 +01:00
Araq
9abbd6c880 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-03 13:24:44 +01:00
Araq
e593fef320 memfiles: better error checking for Windows; refs #6361 2018-01-03 13:24:20 +01:00