summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* remove dead code elimination option (#7669)Jacek Sieka2018-04-239-9/+9
|
* Add `fromWinTime` and deprecate `unixTimeToWinTime`/`winTimeToUnixTime` (#7641)Oscar Nihlgård2018-04-192-21/+32
|
* fixes #7638; awaitAny blocks if the flow vars all have been complete alreadyAndreas Rumpf2018-04-191-7/+17
|
* threadpool: minor documentation improvementAndreas Rumpf2018-04-191-1/+1
|
* fixes #7507Araq2018-04-191-3/+11
|
* Fix bright option (#7622)WhiteDuke2018-04-181-4/+4
| | | Setting the option to true, then to false would not turn off bright attribute.
* Change type of `Timeval.tv_sec` to `posix.Time` (#7646)Oscar Nihlgård2018-04-184-5/+9
|
* allow stringification of DurationZero (#7625)skilchen2018-04-181-1/+3
|
* os.setLastModificationTime*(file: string, t: times.Time) (#7543)Hendrik2018-04-162-6/+24
| | | | | | | | | | | | | * 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.
* Add none[T]() as alias to none(T) (#7512)hlaaf2018-04-161-0/+8
| | | | | | | | * Add none[T]() as alias to none(T) * Add tests for none[T] * this test shouldn't work anyway
* osproc: fix double close on POSIX (#5724)Michał Zieliński2018-04-161-6/+14
| | | Calling close() in some cases issued two close() syscalls to one FD, which is incorrect in multithreaded programs.
* Fix docs in json module after #7537Dominik Picheta2018-04-151-1/+3
|
* Add autovivification example (#7537)Federico Ceratto2018-04-161-0/+5
| | | | | | * Add autovivification example * Update json.nim
* Timeinterval optimization (#7608)Oscar Nihlgård2018-04-161-12/+37
| | | | | | * TimeInterval optimization * Fix typo in `$`(Duration)
* move eqIdent to vm.nim (#7585)Arne Döring2018-04-152-7/+10
| | | | | | * Strutils comment changes. * fix typo
* rename SomeReal to SomeFloat (#7617)Arne Döring2018-04-152-16/+16
| | | | | * rename SomeReal to SomeFloat * added changelog entry
* explicit effects for existsOrCreateDirAndreas Rumpf2018-04-141-1/+2
|
* remove deprecated timeToTimeInfo; fixes #3678Andreas Rumpf2018-04-141-49/+12
|
* fixes #6205Andreas Rumpf2018-04-141-19/+19
|
* make nativesockets.Hostent.addrlist readable for ipv4 af_inet addresses (see ↵skilchen2018-04-131-2/+18
| | | | issue #7314) (#7327)
* make tests green againAndreas Rumpf2018-04-133-8/+8
|
* Fix some usages of typedesc in async procsZahary Karadjov2018-04-131-1/+3
| | | | | This also fixes a compilation error in modules, based only on the new async module (i.e. not importing the full asyncdispatch)
* Sub second time resolution (#6978)Oscar Nihlgård2018-04-134-265/+639
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* unittest: default no color if stdout is not a tty (#7424)Xiao-Yong2018-04-121-4/+19
| | | | | | | 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.
* Added count(*) support to sql parser. Fixed warnings in sql parser. (#7490)treeform2018-04-121-72/+99
|
* Move RLimit and getrlimit to posix.nim and add setrlimit to easily limit FD ↵aguspiza2018-04-122-17/+1
| | | | allocation (#7564)
* fix deprecation warnings in asyncmacro and htmlgen (#7573)Arne Döring2018-04-122-21/+22
| | | | | | * fix deprecation warnings in asyncmacro and htmlgen * removed todo
* option optimization (#6253)Arne Döring2018-04-111-15/+49
|
* Get symbol kind (#7491)Arne Döring2018-04-111-2/+4
|
* Call requestAux not request in httpclient.Dominik Picheta2018-04-071-1/+1
|
* Allow searching for "rename file" in documentationFederico Ceratto2018-04-071-0/+1
|
* renamed future.nim to sugar.nimAraq2018-04-062-198/+202
|
* make parseopt2 use the new better deprecated error messageAraq2018-04-061-1/+1
|
* fix issues #6986 and #7501 (#7513)skilchen2018-04-061-1/+1
|
* Fixes #5281 (#7489)Dmitry Atamanov2018-04-061-0/+2
|
* Merge pull request #7471 from yglukhov/fixed-times-cpp-windows-32Dominik Picheta2018-04-051-3/+6
|\ | | | | Fixed compilation of times.nim with mingw 4.9.2 C++ 32bit
| * Fixed compilation of times.nim with mingw 4.9.2 C++ 32bitYuriy Glukhov2018-04-031-3/+6
| |
* | Merge pull request #7483 from GULPF/cookies-timezonesDominik Picheta2018-04-041-12/+12
|\ \ | | | | | | Don't assume UTC in cookies.setCookie
| * | Don't assume UTC in cookies.setCookieOscar Nihlgård2018-04-031-12/+12
| | |
* | | Merge pull request #7450 from cabhishek/develDominik Picheta2018-04-041-1/+1
|\ \ \ | | | | | | | | Fixes #6902
| * | | Fixes #6902Abhishek Kapatkar2018-03-301-1/+1
| | | |
* | | | Merge pull request #7495 from GULPF/fix-fill-bugDominik Picheta2018-04-041-3/+24
|\ \ \ \ | | | | | | | | | | Fix algorithm.fill for empty input
| * | | | Fix algorithm.fill for empty inputOscar Nihlgård2018-04-041-3/+11
| | | | |
| * | | | Move algorithm tests away from kochOscar Nihlgård2018-04-041-0/+13
| | |/ / | |/| |
* | | | Fix documentation link for set type (#7465)Roman Ovseitsev2018-04-031-1/+1
| | | |
* | | | Fix compiler stuck on waiting C/CPP backends. (#7472)Eugene Kabanov2018-04-021-1/+7
| |_|/ |/| |
* | | Merge pull request #7459 from arnetheduck/posix-rlimit-nofileDominik Picheta2018-04-022-8/+4
|\ \ \ | | | | | | | | RLIMIT_NOFILE as posix const
| * | | RLIMIT_NOFILE as posix constJacek Sieka2018-04-012-8/+4
| | |/ | |/|
* | | Merge pull request #7336 from yglukhov/ipaddr-sockaddr-conversionsDominik Picheta2018-04-022-1/+38
|\ \ \ | | | | | | | | Conversion procs for (IpAddress, Port) <-> (SockAddr, Socklen)
| * | | Comments addressedYuriy Glukhov2018-03-241-1/+1
| | | |