Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #6939 | Andreas Rumpf | 2018-02-02 | 1 | -5/+10 |
| | |||||
* | Remove additionalInfo in OSError in findNextFile | Dominik Picheta | 2018-01-11 | 1 | -2/+2 |
| | |||||
* | correct type for raiseOSError | oskca | 2018-01-11 | 1 | -3/+3 |
| | |||||
* | raiseOSError to indicate the failling of findNextFile in walkDir[Rec] | oskca | 2018-01-11 | 1 | -2/+8 |
| | |||||
* | check ERROR_NO_MORE_FILES to prevent walkDir[Rec] to quit prematurely | oskca | 2018-01-11 | 1 | -2/+2 |
| | |||||
* | Modified behavior of walkDirRec (#6952) | Dmitry Atamanov | 2017-12-21 | 1 | -11/+19 |
| | |||||
* | Better times module (#6552) | GULPF | 2017-12-18 | 1 | -17/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | os.nim bugfix: system() returns bullshit on Posix-like systems in general | Andreas Rumpf | 2017-12-01 | 1 | -1/+1 |
| | |||||
* | Clarify paramStr / paramCount use and availability (#6727) | Federico Ceratto | 2017-11-14 | 1 | -9/+11 |
| | |||||
* | breaking change: arrays of char do not convert to cstring; ptr to array of ↵ | Andreas Rumpf | 2017-10-10 | 1 | -1/+4 |
| | | | | char does | ||||
* | Merge branch 'stringify-array' of https://github.com/krux02/Nim into ↵ | Andreas Rumpf | 2017-10-09 | 1 | -1/+1 |
|\ | | | | | | | krux02-stringify-array | ||||
| * | removed newString proc again, reverted some unnecesary changes | Arne Döring | 2017-07-24 | 1 | -1/+1 |
| | | |||||
| * | arrays can now be printed | Arne Döring | 2017-07-24 | 1 | -1/+1 |
| | | |||||
* | | os.nim: revert findExe 'improvement' that breaks our builds | Andreas Rumpf | 2017-09-01 | 1 | -6/+1 |
| | | |||||
* | | os.findExe: do not return binaries in the cwd | Araq | 2017-09-01 | 1 | -1/+6 |
| | | |||||
* | | refactor os.nim and ospaths.nim | Andreas Rumpf | 2017-09-01 | 1 | -266/+54 |
| | | |||||
* | | os.nim: do not include and import ospaths | Andreas Rumpf | 2017-09-01 | 1 | -9/+1 |
| | | |||||
* | | allow non-admins to create symlinks on windows (#6287) | Charlie Barto | 2017-08-29 | 1 | -1/+3 |
|/ | |||||
* | Genode readdir fix (#6080) | Emery Hemingway | 2017-07-14 | 1 | -1/+1 |
| | | | The Genode readdir is inherited from then FreeBSD libc. | ||||
* | make os.nim compile on Windows again | Andreas Rumpf | 2017-07-09 | 1 | -1/+1 |
| | |||||
* | minor improvements to os.paramStr | Andreas Rumpf | 2017-07-08 | 1 | -2/+3 |
| | |||||
* | Added moveDir (#6015) | Yuriy Glukhov | 2017-06-27 | 1 | -12/+29 |
| | |||||
* | Posix from detect (#5697) | Jacek Sieka | 2017-04-12 | 1 | -1/+1 |
| | | | | | | | | | | * 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 | ||||
* | support for the Genode OS framework (#5560) | Emery Hemingway | 2017-03-31 | 1 | -6/+10 |
| | |||||
* | Fix posix version of moveFile between different filesystems (#5580) | Anatoly Galiulin | 2017-03-23 | 1 | -21/+45 |
| | |||||
* | Improve os.getFileSize documentation to specify the unit. | Dominik Picheta | 2017-03-23 | 1 | -1/+2 |
| | |||||
* | Fixes to support Dragonfly BSD. (#5552) | Eugene Kabanov | 2017-03-17 | 1 | -3/+7 |
| | | | | | | | | | * 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. | ||||
* | minor documentation improvements | Araq | 2017-02-17 | 1 | -1/+1 |
| | |||||
* | Make walkDirRec docstring more clear (#5377) | Federico Ceratto | 2017-02-12 | 1 | -2/+2 |
| | |||||
* | Import ospaths instead of include (#5233) | Yuriy Glukhov | 2017-01-18 | 1 | -3/+4 |
| | | | | | * Import ospaths instead of include * searchExtPos made public | ||||
* | Disables ``paramCount``, ``paramStr`` when building posix dynlib. Fixes #4775 | Anatoly Galiulin | 2016-12-22 | 1 | -1/+1 |
| | |||||
* | os.nim: posix copyFile showed a weird problem about buffer flushing; worked ↵ | Andreas Rumpf | 2016-11-05 | 1 | -0/+1 |
| | | | | around via flushFile() call | ||||
* | Merge pull request #4924 from nigredo-tori/fix-4917 | Andreas Rumpf | 2016-10-24 | 1 | -9/+47 |
|\ | | | | | Make createDir return discardable bool | ||||
| * | Improve as previously discussed | Dmitry Polienko | 2016-10-22 | 1 | -11/+21 |
| | | | | | | | | Better name for exposed primitive function, checks for pre-existing files | ||||
| * | Make `createDir` more robust | Dmitry Polienko | 2016-10-22 | 1 | -1/+3 |
| | | | | | | | | | | Should now properly work for root directories on Windows (after isAbsolute is fixed) | ||||
| * | Revert createDir signature, expose rawCreateDir | Dmitry Polienko | 2016-10-22 | 1 | -12/+15 |
| | | |||||
| * | Fix for unix and solaris | Dmitry Polienko | 2016-10-22 | 1 | -6/+5 |
| | | |||||
| * | Make createDir return discardable bool | Dmitry Polienko | 2016-10-22 | 1 | -11/+35 |
| | | |||||
* | | Fix for getCurrentDir(). | cheatfate | 2016-10-23 | 1 | -36/+125 |
|/ | | | | | Fix for expandFilename(). Fix for getAppFilename(). | ||||
* | os: always use pcLinkToDir as kind for links to directories | Simon Ruderich | 2016-09-17 | 1 | -10/+29 |
| | | | | | Only the OS-specific case in walkDir() handled that correctly. Adapt the general case and handle it in getFileInfo(). | ||||
* | os: createHardlink: clarify documentation | Simon Ruderich | 2016-09-15 | 1 | -2/+2 |
| | | | | I know no (UNIX-like) system which restricts creation of hardlinks. | ||||
* | os: createSymlink: fix typo in documentation | Simon Ruderich | 2016-09-15 | 1 | -1/+1 |
| | |||||
* | fixes #4764, fixes #4731, fixes #4724 | Araq | 2016-09-14 | 1 | -2/+2 |
| | |||||
* | minor stdlib cleanups | Araq | 2016-09-09 | 1 | -4/+4 |
| | |||||
* | tiny style changes | Andreas Rumpf | 2016-08-09 | 1 | -2/+2 |
| | |||||
* | expr and stmt are now deprecated | Andreas Rumpf | 2016-07-30 | 1 | -2/+2 |
| | |||||
* | stdlib and compiler don't use .immediate anymore | Andreas Rumpf | 2016-07-29 | 1 | -9/+9 |
| | |||||
* | Small changes to the docs to make it easier to find stuff. | Hans Raaf | 2016-07-21 | 1 | -1/+1 |
| | |||||
* | prepare Nim codebase for upcoming parser changes | Andreas Rumpf | 2016-07-15 | 1 | -1/+1 |
| | |||||
* | Remove line breaks in OSError messages (Windows) | Vladislav Vorobiev | 2016-07-01 | 1 | -2/+2 |
| | | | | | | | | | | | Before: ``` Error: unhandled exception: Не удается найти указанный файл. [OSError] ``` After: ``` Error: unhandled exception: Не удается найти указанный файл. [OSError] ``` |