Commit graph

350 commits

Author SHA1 Message Date
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
Walter Bright
ed3992d9db bugzilla 1749 2007-12-28 10:27:07 +00:00
Brad Roberts
09916d399a Initial merge of candidate to trunk for r459:513 2007-11-27 20:28:40 +00:00
Brad Roberts
a9bc53273c merge r387:397 from candidate to trunk
-- new module std.contracts
  -- migrate callers to it where appropriate
2007-10-14 23:04:19 +00:00
Brad Roberts
eec6be69ed Merge r297:387 from candidate to trunk.
-- add std.getopt
  -- add std.variant
  -- switch strings over to be invariant rather than const
  -- hopefully the last big linux makefile overhaul
  -- fix for bug 1579: write[ln] fails for obj.toString()
  -- fix negative precision handling in std.format
  -- add some file and directory iterator helpers
  -- among other little changes here and there...
2007-10-14 09:22:50 +00:00
Brad Roberts
8f79f3ec35 phobos 2.003 2007-09-10 07:28:23 +00:00
Brad Roberts
de971890b0 phobos 2.000 2007-09-10 06:45:08 +00:00
Brad Roberts
5611689b5d phobos 0.151 2007-09-10 05:16:25 +00:00
Brad Roberts
70e2b57a46 phobos 0.150 2007-09-10 05:12:31 +00:00
Brad Roberts
b029d8c452 phobos 0.147 2007-09-10 05:03:22 +00:00
Brad Roberts
96892ebf9e phobos 0.143 2007-09-10 04:58:30 +00:00
Brad Roberts
bc412e7c3f phobos 0.113 2007-09-10 04:30:47 +00:00
Brad Roberts
383b51702e phobos 0.106 2007-09-10 04:22:07 +00:00
Brad Roberts
2fd7d60c13 phobos 0.96 2007-09-10 04:05:01 +00:00
Brad Roberts
35a12fec2f phobos 0.76 2007-09-10 03:11:55 +00:00