Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove dead code elimination option (#7669) | Jacek Sieka | 2018-04-23 | 7 | -14/+12 |
| | |||||
* | Change type of `Timeval.tv_sec` to `posix.Time` (#7646) | Oscar Nihlgård | 2018-04-18 | 2 | -4/+4 |
| | |||||
* | Move RLimit and getrlimit to posix.nim and add setrlimit to easily limit FD ↵ | aguspiza | 2018-04-12 | 2 | -1/+17 |
| | | | | allocation (#7564) | ||||
* | RLIMIT_NOFILE as posix const | Jacek Sieka | 2018-04-01 | 2 | -0/+6 |
| | |||||
* | Fixes `times` module compilation on cpp backend. (#7004) | Dominik Picheta | 2018-01-03 | 1 | -1/+1 |
| | |||||
* | Better times module (#6552) | GULPF | 2017-12-18 | 3 | -22/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First work on better timezones * Update tests to new api. Removed tests for checking that `isDst` was included when formatting, since `isDst` no longer affects utc offset (the entire utc offset is stored directly in `utcOffset` instead). * Deprecate getLocaltime & getGmTime * Add `now()` as a shorthand for GetTIme().inZone(Local) * Add FedericoCeratto's timezone tests (#6548) * Run more tests in all timezones * Make month enum start at 1 instead of 0 * Deprecate getDayOfWeekJulian * Fix issues with gc safety * Rename TimeInfo => DateTime * Fixes #6465 * Improve isLeapYear * FIx handling negative adjTime * Cleanup: - deprecated toSeconds and fromSeconds, added fromUnix and toUnix instead (that returns int64 instead of float) - added missing doc comments - removed some unnecessary JS specific implementations * Fix misstake in JS `-` for Time * Update usage of TimeEffect * Removed unecessary use of `difftime` * JS fix for local tz * Fix subtraction of months * Fix `days` field in `toTimeInterval` * Style and docs * Fix getDayOfYear for real this time... * Fix handling of adding/subtracting time across dst transitions * Fix some bad usage of the times module in the stdlib * Revert to use proper time resoultion for seeding in random.nim * Move deprecated procs to bottom of file * Always use `epochTime` in `randomize` * Remove TimeInterval normalization * Fixes #6905 * Fix getDayOfWeek for year < 1 * Export toEpochDay/fromEpochDay and change year/month/monthday order * Add asserts for checking that the monthday is valid * Fix some remaining ambiguous references to `Time` * Fix ambiguous reference to Time | ||||
* | Async upcoming (#6585) | Dominik Picheta | 2017-11-22 | 1 | -12/+7 |
| | | | | | | | | | | | | | * Merge upcoming async with current. * Various improvements to selectors (mostly docs). Two changes to highlight: * Renamed ``setEvent`` to ``trigger`` * Reused setBlocking from nativesockets. * Various changes/fixes to asyncdispatch after upcoming merge. * Make some attempts to be compatible with older selectors. * Reuse epoll module in ioselectors_epoll. | ||||
* | Fix #6553 (#6580) | Stefan Rakel | 2017-10-24 | 1 | -0/+2 |
| | |||||
* | fixes #6496 | Andreas Rumpf | 2017-10-15 | 1 | -1/+1 |
| | |||||
* | Android support: put Termux specific dependencies behind a -d:termux switch | Andreas Rumpf | 2017-08-30 | 1 | -2/+2 |
| | |||||
* | Introduce first class support for Android (#5772) | Fredrik Høisæther Rasch | 2017-08-06 | 2 | -2/+2 |
| | |||||
* | Add mips64 and mips64el CPU platforms (#5866) | James Cowgill | 2017-08-03 | 1 | -1/+2 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 1 | -1/+1 |
| | |||||
* | Genode readdir fix (#6080) | Emery Hemingway | 2017-07-14 | 1 | -1/+1 |
| | | | The Genode readdir is inherited from then FreeBSD libc. | ||||
* | add back SIG_IGN, SIG_DFL and friends to posix.nim (#5820) | Jacek Sieka | 2017-05-16 | 4 | -1/+17 |
| | | | | | | | | * add back SIG_IGN, SIG_DFL and friends to posix.nim accidentally wiped by ce86b4ad78aae11f62c50e4f46e8ab2a124356b4 * move deprecated sig_hold after consts include | ||||
* | WIFSIGNALED means process has exited too (with a bang!) (#5678) | Jacek Sieka | 2017-04-27 | 3 | -9/+24 |
| | |||||
* | Posix from detect (#5697) | Jacek Sieka | 2017-04-12 | 5 | -1760/+2661 |
| | | | | | | | | | | * refactor posix.nim * types move to separate files for platform-specifc and generic ("other') * consts move to separate files that get autogenerated by detect.nim * proc's stay where they are for now, though in a second stage might move as well * fix missing when | ||||
* | Linux abi take 3 (#5692) | Jacek Sieka | 2017-04-12 | 2 | -9/+23 |
| | | | | | * avoid generating object fields for imported types * fix some abi/type issues for linux_amd64 | ||||
* | Proper fix for osproc.nim on Android (#5646) | Eugene Kabanov | 2017-04-02 | 1 | -3/+7 |
| | |||||
* | Fix wrong value range of ntohs ... (#5390) | wt | 2017-03-31 | 1 | -4/+4 |
| | |||||
* | Fix posix.nim `dirent` structure to be more compatible with OSes. (#5623) | Eugene Kabanov | 2017-03-29 | 1 | -2/+7 |
| | |||||
* | Fix #5550 (#5553) | Ryan Gonzalez | 2017-03-18 | 1 | -1/+1 |
| | |||||
* | Fixes to support Dragonfly BSD. (#5552) | Eugene Kabanov | 2017-03-17 | 1 | -3/+9 |
| | | | | | | | | | * Fix kqueue.nim and ansi_c.nim to support dragonfly. * Fix ioselectors.nim, threads.nim to support dragonfly. * Fix deprecated dealloc call in tioselectors.nim. * Fix tfsmonitor.nim test to run only on Linux. * Fix osproc.nim return wrong exit codes. * Fix getAppFilename() for dragonfly. * Fix proper exit code handling. | ||||
* | Use old approach for Mac OSX which, as of 2016, does not yet support POSIX | Charles Blake | 2017-02-07 | 1 | -12/+18 |
| | | | | high-resolution file times. | ||||
* | Move Timespec up, use in Stat for st_?tim and define accessors for the seconds | Charles Blake | 2017-02-07 | 1 | -7/+18 |
| | | | | portion of the Timespec. | ||||
* | posix.nim: make new sigaction wrapper compatible with C++ | Andreas Rumpf | 2017-01-20 | 1 | -1/+1 |
| | |||||
* | posix.nim add 'sigaction' with 3rd nil parameter | Andreas Rumpf | 2017-01-19 | 1 | -0/+4 |
| | |||||
* | Use imported symbols & remove non-POSIX stuff | John Novak | 2016-12-01 | 1 | -160/+111 |
| | | | | | | | * All symbols were hardcoded using Linux specific values, using imports now (because of this, the module was broken on OS X, for example) * There were many non-POSIX (Linux specific) symbols and functions included, these have been removed | ||||
* | Fix few typos | Federico Ceratto | 2016-10-17 | 1 | -1/+1 |
| | |||||
* | posix: add INADDR_LOOPBACK | Simon Ruderich | 2016-09-17 | 1 | -0/+2 |
| | |||||
* | posix: add mkstemp | Simon Ruderich | 2016-09-17 | 1 | -0/+6 |
| | |||||
* | Evidently Travis build termios.h does not pull in sys/ioctl.h | Charles Blake | 2016-09-01 | 1 | -1/+1 |
| | | | | but my initial test system did. | ||||
* | Change type name to be more NEP-1-ish as per Araq request. | Charles Blake | 2016-09-01 | 1 | -2/+2 |
| | |||||
* | Add terminal.terminalWidth and supporting types/calls. | Charles Blake | 2016-09-01 | 1 | -0/+10 |
| | |||||
* | expr and stmt are now deprecated | Andreas Rumpf | 2016-07-30 | 1 | -1/+1 |
| | |||||
* | prepare Nim codebase for upcoming parser changes | Andreas Rumpf | 2016-07-15 | 1 | -6/+6 |
| | |||||
* | Added 'android4' define support that declares a different gethostbyaddr. ↵ | Ruslan Mustakov | 2016-06-22 | 1 | -2/+6 |
| | | | | Fixes #4376 | ||||
* | Fix android compile time error | tormund | 2016-06-07 | 1 | -1/+7 |
| | |||||
* | Merge branch 'unix-sockets' of https://github.com/girvo/Nim into ↵ | Dominik Picheta | 2016-05-30 | 1 | -0/+13 |
|\ | | | | | | | girvo-unix-sockets | ||||
| * | net.nim: add support for Unix sockets | Michał Zieliński | 2015-10-28 | 1 | -0/+13 |
| | | |||||
* | | make SO_REUSEPORT independent of Linux header | Andreas Rumpf | 2016-05-29 | 1 | -14/+22 |
| | | |||||
* | | Merge pull request #4235 from cheatfate/nosignal | Andreas Rumpf | 2016-05-29 | 1 | -0/+4 |
|\ \ | | | | | | | Solaris dont have MSG_NOSIGNAL | ||||
| * | | Solaris dont have MSG_NOSIGNAL | cheatfate | 2016-05-29 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #3648 from FedericoCeratto/reuse_port | Andreas Rumpf | 2016-05-29 | 1 | -0/+2 |
|\ \ \ | |/ / |/| | | Add SO_REUSEPORT support | ||||
| * | | Add SO_REUSEPORT support | Federico Ceratto | 2015-12-16 | 1 | -0/+2 |
| |/ | |||||
* | | Update posix.nim | Federico Ceratto | 2016-04-11 | 1 | -2/+2 |
| | | |||||
* | | Add signal handler | Federico Ceratto | 2016-04-10 | 1 | -0/+14 |
| | | | | | | A signal handler to run some code when Unix signals are received | ||||
* | | Add missed library dependencies on Linux and Solaris. | cheatfate | 2016-04-03 | 1 | -0/+9 |
| | | |||||
* | | Patch timer_create and timer_delete to have proper declaration. | cheatfate | 2016-04-02 | 1 | -2/+2 |
| | | |||||
* | | Define ports as uint16s to fix #3484 | Josep Sanjuas | 2016-03-27 | 1 | -3/+3 |
| | |