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
Araq
0b4d5e45b9
tester checks exitcode; osproc additions; DLL fixes; taint mode fixes
2011-11-07 23:25:34 +01:00
Araq
0ce9d49601
better exception behavior for os.removeFile and os.removeDir
2011-11-06 01:59:13 +01:00
Araq
6023e994fb
beginning of a taint mode; type system enhancements
2011-09-24 00:46:41 +02:00
Araq
d560e84fcc
locks now in their own core module
2011-08-20 00:24:02 +02:00
Araq
c7b130b4e2
implemented --nimcache config option; big clean up of magic words
2011-08-19 01:46:24 +02:00
Araq
569c1ce5ec
bugfix: proper cache for generic instantiations
2011-07-21 00:57:39 +02:00
Araq
3e9dcc8be5
deprecated system.copy: use system.substr instead
2011-05-14 01:13:44 +02:00
Araq
1893f4101a
bugfix: don't change OSError()'s behaviour
2011-05-08 09:23:50 +02:00
dom96
0db6f3c00f
select() for processes; copyDir() for os.
2011-05-07 23:17:10 +01:00
Araq
4d5c3ebd46
little repo cleanup
2011-05-02 00:01:50 +02:00
Araq
46c41e4369
p[] instead of p^
2011-04-11 23:28:53 +02:00
Araq
4741e8f9a1
ugh, maybe broke git
2011-04-01 15:07:16 +02:00
Araq
dc669155e3
some little bugfixes
2011-03-27 00:33:20 +01:00
Araq
5b789f2da8
bugfixes; field discriminant checks; linearScanEnd, unroll, shallow pragmas
2011-03-23 01:09:52 +01:00