Reimer Behrends
|
d0b292b466
|
Fix permissions for createDir() on Unix systems.
Permissions were set to 0o711 by default; they should be 0o777, with
umask being responsible for restricting permissions further.
|
2014-09-22 23:18:14 +02:00 |
|
Andreas Rumpf
|
3cdc328952
|
Merge pull request #1461 from Varriount/os/add-hiddenFile
Add isHidden procedure to os.nim
|
2014-08-17 01:51:45 +02:00 |
|
Araq
|
dd806cafa0
|
distinguish between 'defined' and 'declared'
|
2014-08-11 20:38:28 +02:00 |
|
Clay Sweetser
|
6dd96abdcc
|
Made the code actually work, updated the docstring to point out that the given file path must exist *and* be accessible from the current working directory of the running program.
|
2014-08-10 18:32:27 -04:00 |
|
Clay Sweetser
|
c4ac8edce9
|
Make device and file ID's public.
Added the isHidden() proc
|
2014-08-06 20:42:43 -04:00 |
|
Dwight Schauer
|
530d210c91
|
Added carriage return and linefeed check to os::parseCmdLine ti delimiting whitespace eating.
|
2014-08-05 18:57:45 -05:00 |
|
Grzegorz Adam Hankiewicz
|
d597767d70
|
Adds hyperlinks to copyFile* docstrings.
|
2014-07-27 20:27:38 +02:00 |
|
Grzegorz Adam Hankiewicz
|
f345b0278b
|
Adds os.copyDirWithPermissions().
|
2014-07-27 20:24:39 +02:00 |
|
def
|
89c2793fb5
|
Stop paramStr from always throwing an exception
|
2014-07-15 21:22:39 +02:00 |
|
Grzegorz Adam Hankiewicz
|
7c51f67e85
|
Improves docstring contents and visibility of paramStr and friends.
|
2014-07-12 10:46:08 +02:00 |
|
def
|
82fc908ebb
|
Export FileInfo object
|
2014-07-11 01:27:01 +02:00 |
|
Araq
|
3851ee209c
|
DLL generation works again
|
2014-04-23 00:29:11 +02:00 |
|
Araq
|
5aa8278f6c
|
Haiku build works again
|
2014-04-23 00:06:56 +02:00 |
|
Araq
|
8d6ed9429a
|
make getAppFilename work when there is no procfs
|
2014-04-22 23:15:29 +02:00 |
|
Andreas Rumpf
|
23621857bb
|
Merge pull request #1099 from Varriount/os/getFileInfo
Added os.getFileInfo procedure.
|
2014-04-20 23:40:29 +02:00 |
|
Araq
|
e6d17e6273
|
made large parts of the stdlib gcsafe
|
2014-04-20 20:01:24 +02:00 |
|
Clay Sweetser
|
73570cbe38
|
Allowed getFileInfo to accept TFile objects.
|
2014-04-16 03:35:08 -04:00 |
|
Clay Sweetser
|
79f0c66b4d
|
Completed Linux/Posix implementation of getFileInfo
Moved parts of getFileInfo into a helper template.
|
2014-04-16 03:35:08 -04:00 |
|
Clay Sweetser
|
8af083c847
|
Added Posix implementation of getFileInfo, organized code.
|
2014-04-16 03:35:07 -04:00 |
|
Clay Sweetser
|
37ac424e9a
|
Added Windows implementation of getFileInfo procedures
|
2014-04-16 03:35:07 -04:00 |
|
Dominik Picheta
|
15919b7c98
|
EOS exception now contains the error code.
|
2014-03-11 23:06:22 +00:00 |
|
Araq
|
d4263b1012
|
bugfix: walkFiles on windows shouldn't yield directories
|
2014-03-02 11:15:31 +01:00 |
|
Araq
|
f95a8df243
|
fixes #811
|
2014-02-14 22:19:40 +01:00 |
|
Araq
|
09c8a51348
|
bugfix: 'system' on windows is sane
|
2014-02-14 15:46:30 +01:00 |
|
Araq
|
8215a32edd
|
case consistency for -d:useWinAnsi
|
2014-02-05 23:46:55 +01:00 |
|
Araq
|
7196c7637e
|
bootstraps again
|
2014-02-02 10:07:29 +01:00 |
|
Clay Sweetser
|
7cd5e79464
|
Added symlink procs
|
2014-02-01 20:56:34 -05:00 |
|
Araq
|
38db937193
|
merged #811 against devel
|
2014-02-02 01:22:31 +01:00 |
|
Araq
|
de538deb7a
|
should compile on netbsd
|
2014-01-23 20:43:56 +01:00 |
|
Araq
|
36afdca87f
|
resolved conflicts with master
|
2014-01-18 01:16:45 +01:00 |
|
Araq
|
286f166304
|
case consistency for linux
|
2013-12-29 03:32:46 +01:00 |
|
Araq
|
b731e6ef1c
|
case consistency: cs:partial bootstraps on windows
|
2013-12-29 03:19:10 +01:00 |
|
Araq
|
438703f59e
|
case consistency: next steps
|
2013-12-29 01:13:51 +01:00 |
|
Araq
|
1101a40f91
|
improvements for 'pretty'
|
2013-12-28 23:30:53 +01:00 |
|
Araq
|
92b8fac94a
|
case consistency part 4
|
2013-12-27 23:10:36 +01:00 |
|
Araq
|
a427648c48
|
case consistency part 2
|
2013-12-27 16:35:21 +01:00 |
|
Araq
|
2df9b442c6
|
case consistency part 1
|
2013-12-27 15:48:53 +01:00 |
|
Araq
|
feb9af48f1
|
NoFakeVars progress
|
2013-12-24 00:21:22 +01:00 |
|
Billingsly Wetherfordshire
|
e1fa19fa7a
|
Update os.nim
added file/dirExists synonyms for existsFile/dir
|
2013-12-23 12:58:22 -06:00 |
|
Araq
|
b76729df1c
|
Merge branch 'master' of https://github.com/Araq/Nimrod into vm2
Conflicts:
web/news.txt
|
2013-12-23 01:23:16 +01:00 |
|
Araq
|
9145bcfbb6
|
new VM: some progress for the FFI support
|
2013-12-23 01:17:48 +01:00 |
|
Clay Sweetser
|
9de92522a6
|
Further fixes (stupid kdiff automerge)
|
2013-12-18 16:04:43 -05:00 |
|
Clay Sweetser
|
c26e787e5d
|
os.nim - Modify removeFile to use native Windows API calls
|
2013-12-18 15:32:26 -05:00 |
|
Clay Sweetser
|
ab2eb884a0
|
Modified os.removeFile to act correctly when deleting a file that doesn't exist.
|
2013-12-17 18:03:08 -05:00 |
|
Clay Sweetser
|
33ffe60864
|
Fixed skipFile proc to not skip files that merely start with '.'
Modified removeFile to reset the read only attribute on files before trying to delete.
|
2013-12-11 16:16:14 -05:00 |
|
Michał Zieliński
|
8dae664159
|
Add commandLineParams to os.nim.
commandLineParams returns seq of arguments given to program on command line.
|
2013-12-09 21:45:42 +01:00 |
|
Michał Zieliński
|
642a0d5563
|
Normalize whitespace in os.nim.
I can't edit it - trick with asking git to ignore whitespace doesn't
work if I need to change indention level.
|
2013-12-09 18:03:36 +01:00 |
|
Araq
|
c11398ea0d
|
bugfix: typos in os.nim
|
2013-09-24 09:27:00 +02:00 |
|
Araq
|
05d12897a2
|
changed parentDir to return the empty string on error
|
2013-09-24 09:22:29 +02:00 |
|
Araq
|
39da6979ad
|
use realpath in a posix compliant way
|
2013-09-01 22:53:02 +02:00 |
|