Grzegorz Adam Hankiewicz
1320efcf90
Excludes windows platfrom from $PATH tilde expansion. Refs #2358 .
2015-03-17 20:07:20 +01:00
Grzegorz Adam Hankiewicz
79934b9d68
Expands tildes for entries in $PATH when looking for a binary.
2015-03-16 22:01:56 +01:00
Grzegorz Adam Hankiewicz
ff94ce9d0b
Enables use of NSGetEnviron for osx binary compatibility. Refs #965 .
2015-03-14 21:35:33 +01:00
def
d198e397fd
Check that file passed to getFileInfo is not nil
2015-03-10 15:24:20 +01:00
def
5e8eaa5f97
Use faster walkDir on BSDs
2015-02-24 23:39:08 +01:00
def
34d87c105c
Fall back to lstat() calls on unsupported filesystems
2015-02-24 23:31:31 +01:00
def
1adebdc767
Speed up walkDir significantly
...
We only know that this works on Linux and Mac OS X, so other systems use
the POSIX conforming version still. This removed the lstat call, which
is especially expensive on NFS filesystems for me.
2015-02-24 16:37:54 +01:00
Federico Ceratto
657dca5c3b
Fix typos
2015-02-15 16:20:32 +00:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Araq
fde16e6c3e
fixes os.moveFile on Windows
2015-02-13 01:39:20 +01:00
Araq
10335fd726
fixed minor bugs; cleaned up tests
2015-02-12 14:56:56 +01:00
Araq
e84834db79
lots of C++ codegen improvements
2015-02-07 10:48:07 +01:00
Araq
26b853923c
nimsuggest: first version
2015-01-27 01:36:19 +01:00
Guillaume Gelin
3119fe087d
Happy new year!
2015-01-06 15:26:33 +01:00
Araq
4144b2d867
fixes #685
2014-12-26 02:23:11 +01:00
Araq
24e66e04fa
cleaned up os.nim; docgen improvements
2014-12-21 14:28:46 +01:00
Araq
b131439a2a
fixes #1735
2014-12-15 02:21:44 +01:00
Araq
81f013dabb
fixes #642
2014-11-23 16:07:25 +01:00
Araq
fc47c0edc7
Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreak
...
Conflicts:
lib/impure/db_postgres.nim
lib/pure/os.nim
lib/wrappers/postgres.nim
2014-10-04 19:40:23 +02:00
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
Dominik Picheta
6f155af802
Lots of documentation improvements for asyncdispatch.
...
Ref #1487 .
2014-09-12 22:54:02 +01:00
Araq
c53a27f0dc
nimfix supports specialized '.nimfix' modules
2014-09-08 09:18:09 +02:00
Dominik Picheta
fb4e54442b
Fixed issue with os module in non-unicode mode on Windows.
2014-08-30 12:57:42 +01:00
Araq
4523b29d7a
Nimrod renamed to Nim
2014-08-28 09:59:26 +02:00
Araq
d05df2173b
Nimrod renamed to Nim
2014-08-28 09:50:51 +02:00
Araq
dcffbb052a
big rename
2014-08-28 01:17:21 +02:00
Araq
df172806ea
big rename
2014-08-28 00:24:52 +02:00
Araq
11b6958755
big rename
2014-08-27 23:42:51 +02:00
Araq
15a7bcc89f
renamefest
2014-08-23 01:59:59 +02:00
Araq
2f43fdb837
renamefest
2014-08-23 01:43:49 +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