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
Sean Kelly
add34f9f17
Changed a few version blocks from "linux" to "Posix" to enable OSX support.
2009-07-21 18:25:21 +00:00
Andrei Alexandrescu
81b5604c01
bugzilla 2587: std.process.shell doesn't work for win32
2009-07-07 15:51:07 +00:00
Andrei Alexandrescu
2f80b94bec
getenv, setenv only on Posix.
2009-04-06 20:44:17 +00:00
Andrei Alexandrescu
28143701ed
minor
2009-04-06 17:28:29 +00:00
Sean Kelly
e108928d21
* Modified all std modules to use core.sys.posix in place of std.c.linux.
...
* Transformed std.c.linux.* into wrappers around core.sys.posix modules where appropriate.
* Added std.c.osx as the OSX equivalent of std.c.linux.
* Added std.c.osx.socket for OSX-specific socket declarations not covered by the Posix spec.
* Altered all makefiles to zip, etc, the new std.c.osx package.
2009-03-26 03:02:32 +00:00
Sean Kelly
c4a3aab657
The std.c modules now simply wrap the corresponding core.stdc modules to expose standard C declarations. std.c.os remains unchanged thus far, but will likely be altered as well. This unfortunately eliminates the auto doc generation for the std.c modules, since the modules are now largely empty. If the user wants to know what they contain, how the functions work, etc, I suggest for now simply referring to a C library spec--the core.stdc modules conform almost exactly to the C99 library definition.
2009-03-20 18:52:45 +00:00
Walter Bright
d57e203dc9
fold in some OSX changes
2009-02-10 02:21:15 +00:00
Walter Bright
288b76bd82
rollup
2008-12-12 10:45:36 +00:00
Walter Bright
dd1cbd6a05
fix process
2008-05-06 06:35:47 +00:00
Andrei Alexandrescu
1ae5300f52
* std.algorithm: Changed the map() function so that it deduces the return type
...
* std.contracts: Added file and line information to enforce. Added errnoEnforce that reads and formats a message according to errno. Added corresponding ErrnoException class.
* std.encoding: For now commented out std.encoding.to.
* std.file: Fixed bug 2065
* std.format: Fixed bug in raw write for arrays
* std.getopt: Added new option stopOnFirstNonOption. Also automatically expand dubious option groups with embedded in them (useful for shebang scripts)
* std.math: improved integral powers
* std.md5: Improved signature of sum so it takes multiple arrays. Added getDigestString.
* std.path: changed signatures of test functions from bool to int. Implemented rel2abs for Windows. Improved join so that it accepts multiple paths. Got rid of some gotos with the help of scope statements.
* std.process: added getenv and setenv. Improved system() so it returns the exit code correctly on Linux.
* std.random: added the dice function - a handy (possibly biased) dice.
* std.file: added support for opening large files (not yet tested)
* std.utf: added the codeLength function. Got rid of some gotos.
2008-05-06 05:08:52 +00:00
Andrei Alexandrescu
d3ec611fd4
Minor changes: changed const to enum wherever possible in order to minimize object file sizes.
2008-03-06 20:23:54 +00:00
Andrei Alexandrescu
6f7b47230f
Made shell() throw an exception on Windows
2008-02-20 18:36:49 +00:00
Walter Bright
f77d161d0a
no popen on Windows
2008-02-20 11:45:31 +00:00
Andrei Alexandrescu
45a37c231c
added function shell().
2008-02-19 06:22:22 +00:00