Commit graph

20 commits

Author SHA1 Message Date
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