Commit graph

53 commits

Author SHA1 Message Date
Dominik Picheta
9686d92bfc Fixed OSError deprecation warnings. 2013-06-26 00:00:07 +01: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
Araq
baf89e3d66 GC'ed wide strings for windows 2013-05-20 02:17:24 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Dominik Picheta
d9d98512e0 Fixed osproc.execCmdEx; tester should now succeed. 2013-01-28 00:32:36 +00:00
Dominik Picheta
0087828e12 Fixes #317 2013-01-27 23:58:38 +00:00
Araq
3af5c99336 fixes #293 2013-01-08 20:03:02 +01:00
Araq
ec9b1f78e1 annotated effects of modules: os, sockets, times 2012-11-18 13:34:48 +01:00
Araq
3c0a6a8962 'assert' hides EAssertionFailsure; stdlib makes use of 'tags' 2012-11-18 01:36:20 +01:00
Dominik Picheta
76c4b0516a Many doc improvements. Changed Threads.joinThreads' param's type to varargs. 2012-11-04 22:30:19 +00:00
Araq
4966212141 more fixes for new integer promotion rules; fixes #152; fixes #157; fixes #156; fixes #155 2012-07-09 21:11:11 +02:00
Araq
4fbba0a65a changed integer promotion rules; breaks bootstrapping and lots of code 2012-07-08 21:03:47 +02:00
Zahary Karadjov
4105a91c48 fix compilation errors when bootstrapping with C++ 2012-06-04 01:56:42 +03: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
b298b07567 Added asyncio module; irc, scgi and the ftpclient modules work with it. Added (de)allocCStringArray. Many async sockets fixes. 2012-01-22 16:21:05 +00:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Amrykid
f0f904ac70 Documentation comments + slight code modifications to zipfiles.nim.
Changes made to osproc.nim so it will compile.
2011-12-27 09:49:47 -06:00
Amrykid
e978272d3c Allowed waitForExit to have a specified timeout. (osproc.nim) 2011-12-27 09:06:06 -06:00
Araq
e261a88d07 further steps to get rid of deprecated endOfFile and readLine 2011-11-29 01:24:58 +01:00
Dominik Picheta
9e06495261 Fixed test suite on windows 2011-11-19 22:44:02 +00:00
Araq
a497b4d1cf bugfix: fixed memory leaks in osproc module 2011-11-18 22:14:32 +01:00
Araq
c9b67f724d new osproc implementation may work with mac os x 2011-11-18 19:08:07 +01:00
Araq
ecd3c80e7e tester compiles in taint mode again 2011-11-18 00:40:30 +01:00
Araq
61792dc7d6 cgen: no type canon for integral types; osproc use posix_spawn instead of fork&exec 2011-11-18 00:29:56 +01:00
Araq
40fa4bb52d better streams implemenation; fixes #63 2011-11-12 02:10:07 +01:00
Araq
8c03d96c6a bugfixes for the testsuite 2011-11-08 01:57:23 +01:00
Araq
25e813b5d0 bugfixes for the tester; the tester now supports running of single tests 2011-11-08 01:29:29 +01:00
Araq
0b4d5e45b9 tester checks exitcode; osproc additions; DLL fixes; taint mode fixes 2011-11-07 23:25:34 +01:00
Araq
0f37d0e1f2 sockets.recv optimizations; stdlib now supports taint mode 2011-09-24 20:22:53 +02:00
dom96
3e660efeb4 Fixed osproc.terminate for posix and improved some other osproc posix functions. 2011-08-03 22:38:21 +01:00
Araq
ef039a1325 doc improvements; added lazarus example 2011-07-24 23:07:40 +02:00
Araq
569c1ce5ec bugfix: proper cache for generic instantiations 2011-07-21 00:57:39 +02:00
Araq
5b96eaa953 preparations for 0.8.12 2011-07-10 15:48:13 +02:00
Araq
99bcc233cd bugfix: 'set' overloadable; further steps for multi threading support 2011-07-08 01:29:15 +02:00
Araq
cfb107f346 implemented write access to s[i] for macros 2011-06-21 00:47:58 +02:00
Araq
849208d779 got rid of unsound co/contravariance in procvars 2011-06-17 01:04:33 +02:00
Araq
d0bfc3665f bugfix second attempt: osproc 2011-05-22 22:05:52 +02:00
Araq
d8c6e0ed92 bugfix stderr osproc 2011-05-22 21:23:43 +02:00
dom96
23da2a0eaa Added a helpful iterator to redis. Fixed some issues with stderr in osproc. Fixed doc generation issues. 2011-05-22 19:25:29 +01: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
8c799da867 bugfix: osproc compiles under windows again 2011-01-07 21:08:10 +01:00
Andreas Rumpf
8098e2a421 inlining of the write barrier for dlls 2010-08-08 22:45:21 +02:00
Andreas Rumpf
d10973adb0 c2nim tool added 2010-07-21 09:44:47 +02:00
PhiLho
286e5958d6 Integrating my changes, mostly minor/cosmetic fixes; plus a big Windows lib update 2010-05-21 16:03:21 +02:00
Andreas Rumpf
40ea1d0330 fixed pango/pangoutils new wrappers 2010-02-26 01:26:16 +01:00
rumpf_a@web.de
40a5d6c3b9 continued work on html/xmlparser 2010-02-14 00:29:35 +01:00
rumpf_a@web.de
55e900bba2 devel of web frontend 2010-01-10 17:53:33 +01:00
rumpf_a@web.de
053309e60a version 0.8.2 2009-10-21 10:20:15 +02:00
Andreas Rumpf
3f3dda5a77 implemented multi methods 2009-09-23 23:38:00 +02:00