Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make tests green again | Andreas Rumpf | 2018-05-18 | 1 | -1/+1 |
| | |||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -19/+14 |
| | |||||
* | Change type of `Timeval.tv_sec` to `posix.Time` (#7646) | Oscar Nihlgård | 2018-04-18 | 1 | -1/+1 |
| | |||||
* | osproc: fix double close on POSIX (#5724) | Michał Zieliński | 2018-04-16 | 1 | -6/+14 |
| | | | Calling close() in some cases issued two close() syscalls to one FD, which is incorrect in multithreaded programs. | ||||
* | Fix compiler stuck on waiting C/CPP backends. (#7472) | Eugene Kabanov | 2018-04-02 | 1 | -1/+7 |
| | |||||
* | make osproc.execProcesses more robust | Andreas Rumpf | 2018-02-25 | 1 | -2/+2 |
| | |||||
* | Better times module (#6552) | GULPF | 2017-12-18 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix | cheatfate | 2017-12-13 | 1 | -1/+1 |
| | |||||
* | execProcesses optimization. | cheatfate | 2017-12-12 | 1 | -24/+29 |
| | |||||
* | Windows: Fix invalid handle value for `execProcesses`. | cheatfate | 2017-12-12 | 1 | -7/+11 |
| | | | | Windows. Fix named pipes leak. | ||||
* | Remove `-3` as marker of exited process. | cheatfate | 2017-12-11 | 1 | -41/+77 |
| | | | | | | | | Cache exiting process for Windows to omit unnecessary syscalls. Fix closing hThread for Windows. Fix for pause/resume on Windows. Fix process handle leak on Windows. Change behavior for waitForExit on Windows. | ||||
* | merged patch #6876 manually, taking care of poDemon | Andreas Rumpf | 2017-12-11 | 1 | -17/+18 |
| | |||||
* | Merge branch 'nexecProcesses' of https://github.com/cheatfate/Nim into ↵ | Andreas Rumpf | 2017-12-01 | 1 | -56/+82 |
|\ | | | | | | | cheatfate-nexecProcesses | ||||
| * | Explicit array initialization removed. | cheatfate | 2017-11-29 | 1 | -2/+0 |
| | | |||||
| * | Fix nimrtl troubles. | cheatfate | 2017-11-28 | 1 | -2/+1 |
| | | |||||
| * | Refactored version of execProcesses with test. | cheatfate | 2017-11-28 | 1 | -54/+83 |
| | | |||||
* | | osproc improvement: check API consistency in order to prevent bug #6820 | Araq | 2017-11-28 | 1 | -0/+8 |
|/ | |||||
* | Move quoteShell to ospaths (#6794) | Fredrik Høisæther Rasch | 2017-11-24 | 1 | -65/+3 |
| | | | Enables quoteShell on nimscript | ||||
* | Trim remaining expr/stmt from stdlib (#6742) | Lynn C. Rees | 2017-11-15 | 1 | -1/+1 |
| | |||||
* | Fix path for sh on Android (#6661) | Fredrik Høisæther Rasch | 2017-11-03 | 1 | -1/+3 |
| | |||||
* | osproc.execProcesses: enable poParentStreams for posix; should make travis ↵ | Andreas Rumpf | 2017-10-26 | 1 | -1/+1 |
| | | | | green again | ||||
* | osproc on Windows: fix peekExitCode for closed processes | Araq | 2017-10-25 | 1 | -0/+2 |
| | |||||
* | osproc: fixes a memory leak affecting Windows | Araq | 2017-09-30 | 1 | -7/+7 |
| | |||||
* | fixes #1734, fixes #3138, fixes #3759 | araq | 2017-09-01 | 1 | -14/+17 |
| | |||||
* | Introduce first class support for Android (#5772) | Fredrik Høisæther Rasch | 2017-08-06 | 1 | -1/+2 |
| | |||||
* | Fix posix_spawn error handling (#5826) | Ruslan Mustakov | 2017-05-17 | 1 | -4/+1 |
| | | | posix_spawn doesn't set errno - it returns the error code. | ||||
* | Deprecate osproc.select(). Refs #90. | Dominik Picheta | 2017-05-09 | 1 | -1/+5 |
| | |||||
* | WIFSIGNALED means process has exited too (with a bang!) (#5678) | Jacek Sieka | 2017-04-27 | 1 | -9/+33 |
| | |||||
* | Fix osproc.peekExitCode() to handle exitcode properly. (#5555) | Eugene Kabanov | 2017-03-17 | 1 | -14/+12 |
| | |||||
* | Fixes to support Dragonfly BSD. (#5552) | Eugene Kabanov | 2017-03-17 | 1 | -3/+3 |
| | | | | | | | | | * 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. | ||||
* | fixes #5179 | Araq | 2017-01-07 | 1 | -4/+5 |
| | |||||
* | make sure first call to running() after process exit returns false | Johannes Hofmann | 2016-12-03 | 1 | -4/+10 |
| | |||||
* | check waitpid() return value before setting exitStatus | Johannes Hofmann | 2016-12-02 | 1 | -1/+1 |
| | | | | This fixes a race with parallelBuild on DragonFly BSD. | ||||
* | better error handling for osproc.nim | Andreas Rumpf | 2016-11-05 | 1 | -1/+5 |
| | |||||
* | One more attempt to fix #4867 | cheatfate | 2016-10-21 | 1 | -1/+3 |
| | |||||
* | convert exitStatus to exit code | Johannes Hofmann | 2016-09-30 | 1 | -3/+3 |
| | |||||
* | another attempt at properly declaring the status variable | Johannes Hofmann | 2016-09-25 | 1 | -1/+3 |
| | |||||
* | make status variable local | Johannes Hofmann | 2016-09-25 | 1 | -2/+1 |
| | |||||
* | rename exitCode to exitStatus | Johannes Hofmann | 2016-09-24 | 1 | -18/+18 |
| | |||||
* | generally update exitCode only after successful completion of waitpid() | Johannes Hofmann | 2016-09-22 | 1 | -23/+26 |
| | |||||
* | reset p.exitCode in peekExitCode on Posix when process did not exit (#4793) | Johannes Hofmann | 2016-09-17 | 1 | -1/+3 |
| | | | | | | | | * reset p.exitCode in peekExitCode on Posix when process did not exit fixes #4792 * fix indentation | ||||
* | Add warning to `osproc.close` | Dominik Picheta | 2016-07-21 | 1 | -1/+5 |
| | |||||
* | Fix environment handling in startProcess | Dmitry Polienko | 2016-07-19 | 1 | -6/+9 |
| | |||||
* | Revert changes in osproc.nim | Dmitry Polienko | 2016-07-19 | 1 | -43/+6 |
| | |||||
* | Fix passing environment in startProcess (win) | Dmitry Polienko | 2016-07-18 | 1 | -6/+43 |
| | | | | | Previous implementation used newWideCString, which doesn't handle strings with \0 characters. | ||||
* | prepare Nim codebase for upcoming parser changes | Andreas Rumpf | 2016-07-15 | 1 | -1/+1 |
| | |||||
* | installer fixes and improvements | Andreas Rumpf | 2016-06-07 | 1 | -3/+3 |
| | |||||
* | Resolve bugs | cheatfate | 2016-05-24 | 1 | -2/+2 |
| | |||||
* | Resolve #4200 | cheatfate | 2016-05-24 | 1 | -12/+165 |
| | | | | Resolve [Deprecated] warning for raiseOsError at line 878 | ||||
* | Revert raiseOSError change | def | 2016-02-06 | 1 | -2/+1 |
| |