Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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] ``` | ||||
* | Add `walkPattern` to return both files and directories | Joey Payne | 2016-06-17 | 1 | -10/+46 |
| | | | | | Also added `walkDirs` to walk only directories based on the pattern specified. | ||||
* | Fix #4280: os.walkFiles yields directories on Unix systems | Joey Payne | 2016-06-16 | 1 | -1/+4 |
| | | | | Files were not properly checked to actually be files after globbing. | ||||
* | remove fauly fix for windows error being overwritten | Jacek Sieka | 2016-06-12 | 1 | -3/+2 |
| | |||||
* | fix errno in os.nim | Jacek Sieka | 2016-06-08 | 1 | -2/+5 |
| | |||||
* | remove system/ansi_c include from os | Jacek Sieka | 2016-06-05 | 1 | -1/+15 |
| | |||||
* | fix types of ansi_c/sysio to more closely match C ABI | Jacek Sieka | 2016-06-05 | 1 | -2/+2 |
| | | | | | also fixes some instances of using C library functions when there are nim alternatives available | ||||
* | Deprecate timeToTimeInfo, add str->time procs | coffeepots | 2016-04-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | * depreciate timeToTimeInfo, add str->time procs initTime allows creating times from strings. initTimeFromStr offers a default format string compatible with $Time. timeToTimeInterval changed to work properly. * Spell {.deprecated.} correctly * deprecated timeToTimeInfo, removed initTime procs Is it even worth depreciating timeToTimeInfo rather than just removing it, considering it's just wrong and we have getLocalTime and getGMTime that actually work? Also, if I'm renaming timeToTimeInfo -> toTimeInfo etc, isn't the deprecated tag kind of redundant? * Updated names for toTime and toTimeInterval procs * Added type to toTime template This should allow compilation of os.nim now that toTime is defined in times.nim. * Updated toTime template to use {.gensym.} Local templates default to 'bind' semantics, not 'gensym'. This was causing a failure to 'see' the local toTime template. | ||||
* | Better additionalInfo OSError message, ref #2650. | Dominik Picheta | 2016-04-04 | 1 | -1/+1 |
| | |||||
* | Use /proc/self/exe on NetBSD | def | 2016-03-07 | 1 | -1/+1 |
| |