Andreas Rumpf
0fad659bf7
make more tests green
2018-04-30 02:52:58 +02:00
Andreas Rumpf
f0eb3505fa
make asyncnet work again
2018-04-30 02:00:17 +02:00
Andreas Rumpf
83d4a025e2
make logging module compile again
2018-04-30 01:30:23 +02:00
Andreas Rumpf
fb15a265c5
times.nim: don't rely on zero terminator
2018-04-29 08:13:25 +02:00
Andreas Rumpf
aeca422dbe
make httpclient work without zero terminators
2018-04-29 07:59:36 +02:00
Andreas Rumpf
4375dfd9d0
pegs: don't rely on terminating zero
2018-04-29 07:43:11 +02:00
Andreas Rumpf
c8b2e65dbb
critbits: don't rely on terminating zero
2018-04-29 07:42:47 +02:00
Andreas Rumpf
b899713832
make more tests green
2018-04-29 01:48:21 +02:00
Andreas Rumpf
f4c21305a9
uri.nim: don't rely on zero termination
2018-04-29 01:46:40 +02:00
Andreas Rumpf
203d833688
parseopt stdlib module: dont rely on the zero terminator
2018-04-29 01:31:29 +02:00
Andreas Rumpf
39b81c836c
cgi module: don't depent on the terminating zero
2018-04-29 01:18:26 +02:00
Andreas Rumpf
a97684e277
parseutils does not depend on the zero terminator anymore
2018-04-29 01:08:01 +02:00
Andreas Rumpf
37901b50b3
strscans module does not rely on the zero terminator anymore
2018-04-29 01:07:13 +02:00
Andreas Rumpf
9b8603adcd
strutils: code cleanups and do not rely on the terminating binary zero anymore
2018-04-28 21:59:43 +02:00
hlaaf
397e173139
fix #7680 ( #7683 )
...
* fix #7680
* Don't send on every HTTP method
* These should be squashed
* 80 column limit
2018-04-26 18:54:14 +01:00
Dominik Picheta
ce1bd913cf
Merge pull request #7692 from teroz/patch-1
...
tiny typo
2018-04-25 22:57:12 +01:00
Dominik Picheta
aa48a472fd
Improve deprecation messages in json docs.
2018-04-25 22:56:51 +01:00
Dominik Picheta
d01b1558a3
Improve progress reporting example. Refs #7693
2018-04-25 22:49:29 +01:00
David Krause
be8ce30acd
copy pastable progress reporting example
2018-04-25 16:06:53 +02:00
Terence Namusonge
e1cd4bca0e
tiny typo
2018-04-25 14:30:54 +02:00
Oscar Nihlgård
b34580fd5b
Rename Time.nanoseconds to nanosecond ( #7673 )
...
* Rename `Time.nanoseconds` to `nanosecond`
* Fix bug with Duration comparision
2018-04-25 02:43:26 +02:00
cooldome
c385391ffd
Consts in fenv ( #7688 )
...
* Fixes #7574
* better comments
* Changes vars to consts for side effect tracking
* Revert unintended changes
2018-04-25 02:41:16 +02:00
Andreas Rumpf
8ce9e43434
xmltree: remove usage of deprecated callsite()
2018-04-24 09:34:29 +02:00
Oscar Nihlgård
8caf257607
Don't escape multibyte characters ( #7570 )
2018-04-23 11:09:48 +02:00
Jacek Sieka
72dfe176f5
remove dead code elimination option ( #7669 )
2018-04-23 11:02:38 +02:00
Oscar Nihlgård
7d034d7b6a
Add fromWinTime and deprecate unixTimeToWinTime/winTimeToUnixTime ( #7641 )
2018-04-19 22:41:06 +02:00
Andreas Rumpf
0dc4d6dcc2
fixes #7638 ; awaitAny blocks if the flow vars all have been complete already
2018-04-19 08:54:23 +02:00
Andreas Rumpf
17cb2f2d4c
threadpool: minor documentation improvement
2018-04-19 08:54:23 +02:00
Araq
5d13e3f28b
fixes #7507
2018-04-19 00:09:55 +02:00
WhiteDuke
e237428d42
Fix bright option ( #7622 )
...
Setting the option to true, then to false would not turn off bright attribute.
2018-04-18 23:29:10 +02:00
Oscar Nihlgård
fdf1d12380
Change type of Timeval.tv_sec to posix.Time ( #7646 )
2018-04-18 21:24:28 +02:00
skilchen
a708fda733
allow stringification of DurationZero ( #7625 )
2018-04-18 13:22:05 +02:00
Hendrik
b1b517128e
os.setLastModificationTime*(file: string, t: times.Time) ( #7543 )
...
* add proc toFILETIME to winlean
* add proc toWinTime to times
* add proc setFileTime to winlean
* openHandle with write access
* add proc setLastModificationTime to os
* moved epochDiff,rateDiff constants and proc toWinTime
The constants were moved out of the when defined(JS) block so that they
are alsways available in proc toWinTime.
proc toWinTime was moved above the # Deprecated procs comment. Best new
location seemed to be with the toUnix proc.
2018-04-16 22:03:24 +02:00
hlaaf
38b2596ff9
Add none[T]() as alias to none(T) ( #7512 )
...
* Add none[T]() as alias to none(T)
* Add tests for none[T]
* this test shouldn't work anyway
2018-04-16 21:01:37 +02:00
Michał Zieliński
b2060acbc4
osproc: fix double close on POSIX ( #5724 )
...
Calling close() in some cases issued two close() syscalls to one FD, which is incorrect in multithreaded programs.
2018-04-16 20:02:26 +02:00
Dominik Picheta
b750082925
Fix docs in json module after #7537
2018-04-15 23:55:54 +01:00
Federico Ceratto
93fafc8545
Add autovivification example ( #7537 )
...
* Add autovivification example
* Update json.nim
2018-04-16 00:02:02 +02:00
Oscar Nihlgård
02d6dd723d
Timeinterval optimization ( #7608 )
...
* TimeInterval optimization
* Fix typo in `$`(Duration)
2018-04-16 00:01:34 +02:00
Arne Döring
ed5b7cbac0
move eqIdent to vm.nim ( #7585 )
...
* Strutils comment changes.
* fix typo
2018-04-15 23:38:43 +02:00
Arne Döring
efae366857
rename SomeReal to SomeFloat ( #7617 )
...
* rename SomeReal to SomeFloat
* added changelog entry
2018-04-15 19:59:11 +02:00
Andreas Rumpf
7c879d9b0f
explicit effects for existsOrCreateDir
2018-04-14 13:57:27 +02:00
Andreas Rumpf
116e984a6b
remove deprecated timeToTimeInfo; fixes #3678
2018-04-14 00:59:32 +02:00
Andreas Rumpf
50d4224d41
fixes #6205
2018-04-14 00:40:24 +02:00
skilchen
34c1ca1dd0
make nativesockets.Hostent.addrlist readable for ipv4 af_inet addresses (see issue #7314 ) ( #7327 )
2018-04-13 23:49:23 +02:00
Andreas Rumpf
1d1d6f39a3
make tests green again
2018-04-13 17:45:58 +02:00
Zahary Karadjov
10142e4a80
Fix some usages of typedesc in async procs
...
This also fixes a compilation error in modules, based only on the
new async module (i.e. not importing the full asyncdispatch)
2018-04-13 13:31:55 +03:00
Oscar Nihlgård
f6df2d9956
Sub second time resolution ( #6978 )
...
* Add deprecation warnings to recently deprecated procs
* Fix bad usage of the times module
* Introduce sub second resolution
* Fix usage of C's time()
* Switch to nanosecond resolution
* Make Time & Duration opaque again and fix some errors
* Change back to TimeInterval for shorthands
* Fix JS test
* Fix build error for windows
* Undeprecate epochTime
* Documentation and minor changes
* Lots of bugfixes and doc comments
* Attempt to make travis & appveyor green
* Fix edge cases for dealing with the local timezone
* Workaround JS backend overflow/underflow bug
* Use better workaround for not knowing the size of time_t
* Use all available timezones for tests
* Fix indentation
* Add procs for accessing the fractional part of a duration
* Order time units from smallest to largest since it makes more sense
* Include months and years in `TimeUnit`
* Review fix
2018-04-13 07:36:30 +02:00
Xiao-Yong
f543388959
unittest: default no color if stdout is not a tty ( #7424 )
...
We accept a new environment variable, NIMTEST_COLOR,
which override the effect of NIMTEST_NO_COLOR.
The environment variable, NIMTEST_COLOR, can be 'never'
or 'always', which set the color output to false or true,
respectively.
2018-04-12 17:57:34 +02:00
treeform
f3db632b1d
Added count(*) support to sql parser. Fixed warnings in sql parser. ( #7490 )
2018-04-12 17:49:24 +02:00
aguspiza
63160855aa
Move RLimit and getrlimit to posix.nim and add setrlimit to easily limit FD allocation ( #7564 )
2018-04-12 17:42:33 +02:00