Commit graph

78 commits

Author SHA1 Message Date
k-hara
01df2f60be Remove redundant parenthesis for getters, and use assignment syntax for setters 2012-11-23 15:07:17 +09:00
Brad Roberts
4fdf88e0d2 hack to work around cygwin related oddity 2012-10-22 03:41:21 +01:00
jmdavis
27469366a7 Fix modules which incorrectly use std.string's public imports.
Now, they should be correctly importing for the functions publicly
imported by std.string so that if those public imports are ever removed,
they won't break.
2012-09-30 03:29:37 -07:00
Greg Ward
44aabd8919 std.process: fix markup in doc for exec*().
Use the $(D ...) macro to indicate identifiers and code snippets.
2012-09-26 11:36:03 -04:00
Greg Ward
d15efcd716 std.process: remove an unnecessary word from doc for execv*().
It's unusual, but perfectly valid, to re-exec() the same command as
is currently running.
2012-09-24 08:06:29 -04:00
Greg Ward
1eb50b5b1c std.process: Fix documentation for exec*() functions.
They really are just like POSIX exec*(), i.e. they do not return an
exit status. In fact, they don't return at all on success.
Unfortunately, it looks like all you get on failure is a return value
of -1, no indication of whether the failure was "No such file or
directory", "Permission denied", etc.
2012-09-21 14:24:35 -04:00
djhworld
d194cd96b4 Removed useless comments 2012-09-15 23:21:07 +01:00
djhworld
eff38348a3 Updated the OSX portion of the "browse" method to not use Safari by
default. The "open" command will use the default application for the
arguments provided.
2012-09-15 22:25:32 +01:00
Vladimir Panteleev
96556b54f3 std.process: Fix escapePosixArgumentImpl 2012-08-10 10:15:06 +03:00
dawg
f38bc8c08b remove windows declarations
- now added to druntime
2012-05-24 00:21:11 +02:00
Andrei Alexandrescu
41e6decef9 Merge pull request #460 from quickfur/6926-process
Code cleanup & fix issue 6926
2012-05-20 14:48:10 -07:00
H. S. Teoh
30d712161b - Replace Linux-specific definitions of stopped, signaled, etc., with
portable versions from core.sys.posix.sys.wait.
- Fix system() to return -1 on abnormal termination, not just
  exitstatus(status) which may be 0.
2012-03-28 07:48:07 -07:00
Vladimir Panteleev
0ce3b719c6 std.process: Fix compilation on Linux 2012-03-16 01:40:23 +01:00
Vladimir Panteleev
026444c9c7 std.process: Fix constness and attributes 2012-03-01 18:00:24 +02:00
Vladimir Panteleev
4ccfb65ccc std.process: Optimize allocations in new functions
Optimized functions:
* escapeWindowsArgument
* escapePosixArgument
* escapeWindowsShellCommand
2012-03-01 17:46:59 +02:00
Vladimir Panteleev
c9fa9f1a44 std.process: Code comments
* Remove self-contradiction
* Clarify escapeWindowsArgument implementation
* Remove a redundant if subcondition in a unit test.
2012-02-26 15:26:35 +02:00
Vladimir Panteleev
f59faf724e std.process: More correctness + tests 2012-02-25 19:29:11 +02:00
Vladimir Panteleev
2248a95294 std.process: Generate browse docs on all platforms 2012-02-25 01:15:23 +02:00
Vladimir Panteleev
7718dc6a4f std.process: Use the new command line escaping functions 2012-02-25 01:09:34 +02:00
Vladimir Panteleev
7c5cc95ae4 std.process: Add command line escaping functions 2012-02-25 01:09:21 +02:00
jmdavis
9f9028829c Fixed documentation for std.process.shell so that it shows up.
http://d.puremagic.com/issues/show_bug.cgi?id=7040
2011-12-06 12:39:18 -08:00
David Nadlinger
e312f9898b Strict @property syntax compliance.
This enables the test suite to build with the -property switch enabled.

std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
Andrei Alexandrescu
703f612973 Fixed wrong C library lookups 2011-11-12 21:55:22 -06:00
Walter Bright
27925dd666 Merge branch 'master' of github.com:D-Programming-Language/phobos 2011-10-07 23:32:49 -07:00
Brad Roberts
e7961aa9b2 fix the osx std.process changes, environ shouldn't have been extern c 2011-10-04 10:58:44 -07:00
jmdavis
6f9e0b98ed Fix circular dependency on Mac OS X. 2011-10-03 21:13:34 -07:00
Brad Roberts
157af2ffef add import of core.thread to std.process 2011-10-02 13:44:24 -07:00
Brad Roberts
a8a6337ffa move getpid from phobos std.process to druntime core.thread and use in std.random 2011-10-02 00:27:01 -07:00
Walter Bright
70164202c3 change browser command 2011-09-09 12:51:53 -07:00
Andrei Alexandrescu
3817bf6131 Merge pull request #154 from jmdavis/browser
Function for opening default browser with a given URL
2011-08-14 11:01:48 -07:00
Daniel Green
dcbfae3364 Merge GDC Win64 changes. 2011-08-14 00:52:10 -04:00
jmdavis
03f67f27b7 Added function to std.process for opening default browser with a given URL. 2011-07-22 08:59:36 -07:00
David Nadlinger
a560526e5c Documented getpid(), removed duplicated authors section.
The getpid() example is not really brilliant, but as we don't have a better way of documenting the signature of aliased functions.
2011-06-13 09:28:40 +02:00
David Nadlinger
5be94656b5 Replace selective import with alias to make getpid() publicly available.
The code currently works because of Bug 314.
2011-06-13 09:02:45 +02:00
Andrei Alexandrescu
5a0134dd10 Fixed 672 broken links 2011-06-09 09:48:53 -05:00
dansanduleac
cc829b4648 Fixed the OSX bug fix. Explicitly qualify "static this()" instead of putting it under "static:" 2011-06-05 00:43:15 +01:00
dansanduleac
5896fcac5e Fixed obtaining environment variables for Mac OSX > 10.4.
https://www.gnu.org/software/gnulib/manual/html_node/environ.html
2011-06-04 04:09:47 +01:00
Walter Bright
046e1b36db add source links 2011-02-06 15:46:50 -08:00
Don Clugston
84477a5d3e Move Boost copyright declaration from ddoc to normal comment. Fixes ugly ddoc output. 2010-11-24 19:34:47 +00:00
Lars T. Kyllingstad
255421a7af Fixed std.process.environment unittest to account for yet another Wine bug. 2010-09-17 08:48:44 +00:00
Walter Bright
b8ce58ccd1 detab sources 2010-08-23 02:14:45 +00:00
Lars T. Kyllingstad
6090abc2c7 Just shuffling some code around 2010-08-15 11:26:18 +00:00
Lars T. Kyllingstad
1834ad9f47 std.process.Environment should be an abstract final class, so it can't be instantiated or subclassed 2010-08-15 11:12:29 +00:00
Lars T. Kyllingstad
d2650cd4a1 Added std.process.environment, an AA-like interface for environment variables. 2010-08-15 10:59:23 +00:00
Lars T. Kyllingstad
7d4421cdf1 Bug 3348: Documentation for many std.process functions has disappeared 2010-08-13 11:30:26 +00:00
Andrei Alexandrescu
536cb93d9c Fixed issue in Appender 2010-07-06 05:34:59 +00:00
Andrei Alexandrescu
432e3fdfc8 Replaced std.contracts with std.exception throughout 2010-07-04 22:09:03 +00:00
Walter Bright
53a3eec534 invariant => immutable 2010-05-05 22:19:49 +00:00
Sean Kelly
747f3cf1e4 Changed Phobos to use the Boost license. Currently, all public domain modules and all licensed modules by Walter, Andrei, Bartosz, and Don have been changed to use this license (excepting std.c, for the moment). Ideally, all Phobos modules will eventually be distributed under this license, which means obtaining permission from a few more authors, deleting, or rewriting some modules.
Removed std.openrj.
2009-09-16 18:19:51 +00:00
Andrei Alexandrescu
0c142994d9 See changelog - bunch of bug fixes and a couple additions for release 2.032 2009-08-31 19:46:33 +00:00