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
Araq
ee9aee6c00
bugfix createDir for solaris
2013-08-07 01:36:15 +02:00
Grzegorz Adam Hankiewicz
c0b78276e8
Adds convenience expandTilde proc around getHomeDir.
2013-07-19 23:20:06 +02:00
Grzegorz Adam Hankiewicz
68cfb25c11
Adds convenience copyFileWithPermissions to os module.
2013-07-19 22:52:11 +02:00
Grzegorz Adam Hankiewicz
2ee228d5d1
Documents copyFile not copying attributes on posix.
2013-07-16 02:56:50 +02:00
Grzegorz Adam Hankiewicz
b5811cc73c
Adds some examples to JoinPath and / procs.
2013-07-16 00:47:49 +02:00
Dominik Picheta
bacb20a379
Deprecated OSError, and modified it to require an explicit OS error code.
...
The deprecated functions include the OSError and OSErrorMsg, the name did not change however the signature of the new functions did. They now require a TOSErrorCode value be passed to them. This value can be retrieved using OSLastError. The reason this was done is because on Windows any win api call can reset the last error code to 0, this change allows the user to immediately grab the error code and worry about the string representation later if needs be.
2013-06-25 20:10:28 +01:00
Dominik Picheta
d23d14897a
Symlinks are now expanded in os.getAppFilename on Mac OS X.
2013-06-22 00:15:07 +01:00
Araq
1100521b6e
no wrapBinary for 'useWinAnsi' target
2013-05-20 09:29:01 +02:00
Araq
baf89e3d66
GC'ed wide strings for windows
2013-05-20 02:17:24 +02:00
Grzegorz Adam Hankiewicz
8d1f7869ae
Adds to docstrings link between removeFile and removeDir.
2013-04-18 01:07:21 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Araq
180ab350dc
applies #322 without FReadDir effect
2013-02-22 01:18:20 +01:00
Dominik Picheta
9aecfcd8c8
Fixed os.sleep not sleeping for long enough with values below 1000ms.
2013-01-21 14:20:54 +00:00
Dominik Picheta
fa198f5be1
Fixes SSL httpclient and problems with hidden path splitting in OS.
...
Added babel's libs dir to Nimrod's path.
2012-12-02 13:21:21 +00:00
Araq
ec9b1f78e1
annotated effects of modules: os, sockets, times
2012-11-18 13:34:48 +01:00
Zahary Karadjov
9c8bc3a244
the is operator now works with type classes and type variables
...
bugfixes:
the DLL tests were failing on Mac OS X, due to an incorrect DynlibFormat
2012-10-03 01:59:49 +03:00
Dominik Picheta
3a4e22de33
os.JoinPath now uses varargs. Some additions to gtk wrappers.
2012-08-19 02:40:21 +01:00
Araq
d962b75c18
attempt to getAppFilename to work on NetBSD
2012-07-28 19:57:43 +02:00
Zahary Karadjov
4105a91c48
fix compilation errors when bootstrapping with C++
2012-06-04 01:56:42 +03:00
Araq
c53ad1b39f
documentation improvements; higher level Mongodb wrapper
2012-04-09 11:18:10 +02:00
Araq
e0e4e38272
yet attempt to fix realpath for BSD
2012-04-07 00:44:00 +02:00
Araq
1123252db5
bugfix: expandFilename for BSD
2012-04-06 23:42:33 +02:00
Araq
039f21ffd6
small fixes for BSD
2012-04-06 22:43:00 +02:00
Zahary Karadjov
72f2a6e275
the test suite is mostly green again
2012-03-16 05:33:21 +02:00
Araq
ff4a69b624
win64 is a supported target; bugfix: nimrod c -r on windows; stdlib uses wide char versions of the WinAPI
2012-03-04 21:44:56 +01:00
dom96
9aeecaa4cf
recvLineAsync for non-blocking sockets implemented, as well as recvLine for asyncio async sockets. Fixed removeDir on windows.
2012-02-18 00:34:44 +00:00
dom96
3b02b33564
Fixed windows os.nim issue that was recently introduced.
2012-01-27 22:02:09 +00:00
Eric Doughty-Papassideris
374a4cdb8a
On Mac OS X 10.5, realpath does not allocate the buffer on its own
2012-01-21 16:49:45 +01:00
Araq
4f1b89c30c
year 2012 for most copyright headers
2012-01-02 23:07:35 +01:00
Araq
76f91b90e2
bugfix: compiler errors for explicit initialization of thread local variables; os.nim does not rely on it anymore
2011-12-23 20:05:08 +01:00
Araq
cc490b35b0
bugfix: environment var caching is now thread safe
2011-12-22 15:36:36 +01:00
Zahary Karadjov
0e609d2101
New implementation for os.sameFile on Windows
...
Hard-links on Windows are now treated just as they are on POSIX.
The new implementation is faster than the previous, but still it's quite
slower than fstat (use with caution).
2011-12-07 00:53:27 +02:00
Araq
e261a88d07
further steps to get rid of deprecated endOfFile and readLine
2011-11-29 01:24:58 +01:00
Zahary Karadjov
c617479c68
New algorithm for locating and loading nimrod config files.
...
Some new options added to the compiler (see news.txt for details)
2011-11-25 17:29:55 +02:00
Dominik Picheta
9e06495261
Fixed test suite on windows
2011-11-19 22:44:02 +00:00