Commit graph

135 commits

Author SHA1 Message Date
Walter Bright
288b76bd82 rollup 2008-12-12 10:45:36 +00:00
Sean Kelly
edb5c5003e This commit includes all the changes necessary for Phobos to run against druntime. Here is a sucinct list of the changes made:
* Removed gcstats.  Garbage collector statistics will be avaialable in durintime's 'memory' module.
    * Removed object.d.  This module is replaced by the object.d provided by druntime.
    * Removed std.array.  To trap an array bounds error, import 'exception' from druntime and catch ArrayBoundsException.
    * Removed std.asserterror.  To trap an asertion failure, import 'exception' from druntime and catch AssertException.
    * Removed std.gc.  To interact with the garbage collector, import 'memory' from druntime.
    * Removed std.hiddenfunc.  No equivalent exception is currently exposed by druntime, but if one is exposed it will be called HiddenFuncException and be declared in 'exception'.
    * Removed std.moduleinit.  druntime declares ModuleInfo in object.d, so it is implicitly availble without importing.
    * Removed std.outofmemory.  To trap an out of memory error, import 'exception' from druntime and catch OutOfMemoryException.
    * Removed std.switcherr.  To trap a switch error, import 'exception' from druntime and catch SwitchException.
    * Removed std.synchro.  This functionality will exist within druintime.
    * Removed std.thread.  A Thread class is available within druntime's 'thread' module.  An interface comparison will be provided separately.
    * Removed std.typeinfo.  The classes defined in this package are for runtime use and should not be visible to the user.

The prior version of Phobos has been archived in tags/phobos-2.019 if needed.
2008-10-11 00:56:40 +00:00
Andrei Alexandrescu
f3d5877af6 changed const to enum 2008-07-08 02:31:29 +00:00
Bartosz Milewski
6d8e6f178b Added pthread attributes 2008-06-25 17:05:12 +00:00
Walter Bright
a0d9c0021f added wcharh to makefiles 2008-06-24 02:03:03 +00:00
Bartosz Milewski
35a6d41bea added synchro.d to Windows makefile,
fixed an old build break,
added Mutex and trylock
2008-06-24 00:40:22 +00:00
Bartosz Milewski
53e29ae982 Added CriticalSection 2008-06-21 20:48:09 +00:00
Walter Bright
623849f377 add const 2008-05-10 22:28:39 +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
Walter Bright
fbcc8b5ad8 fix some of the build breaks in last checkin 2008-05-05 05:17:10 +00:00
Walter Bright
b7c9cf6fce Bill Baxter's std.perf update 2008-04-23 06:04:31 +00:00
Gregor Richards
a0a8527408 Automatic newline fixup. 2008-03-07 07:11:35 +00:00
Walter Bright
400aa3191d stuff 2008-03-05 20:29:25 +00:00
Walter Bright
46c83cf355 const to enums 2008-03-04 08:24:16 +00:00
Walter Bright
550cda9058 windows makefile 2008-02-19 09:05:09 +00:00
Gregor Richards
61281f18c4 *: Set svn:eol-style native on everything. 2008-02-17 20:42:37 +00:00
Walter Bright
0ee98ff70e added missing declarations 2008-02-15 11:32:14 +00:00
Walter Bright
752e5d8d4d add missing declarations 2008-02-14 22:27:16 +00:00
Walter Bright
ff68552adc added linux termios 2008-02-12 04:45:32 +00:00
Walter Bright
4d669e57e6 bugzilla 1757 2008-01-03 01:55:35 +00:00
Walter Bright
ed3992d9db bugzilla 1749 2007-12-28 10:27:07 +00:00
Walter Bright
46330e2fe3 manifest => enum 2007-12-28 01:47:21 +00:00
Walter Bright
b2a37b2833 updates for new const regime 2007-12-21 00:01:31 +00:00
Brad Roberts
09916d399a Initial merge of candidate to trunk for r459:513 2007-11-27 20:28:40 +00:00
Brad Roberts
74e5d43355 change symbols to be properly externed so that the file can be made a part of the phobos .a file 2007-11-19 09:13:06 +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
e665d910ca Merge r355:385 from branches/phobos-1.x to trunk
-- fix for bug 1491 -- sigpipe suppression
  -- fix for bug 1478 -- libc network api threadsafety
  -- add std.socket to the standard unittest set
2007-10-14 05:10:52 +00:00
Walter Bright
7be3be74fc fix stupid mistakes 2007-10-03 06:00:32 +00:00
Walter Bright
50322c3bde added struct dirent 2007-10-02 20:43:03 +00:00
Walter Bright
58e8b59b8d remove html from std.math 2007-10-02 06:15:10 +00:00
Brad Roberts
e8f1af3923 Partial fixes for building phobos with -unittest. 2007-10-01 14:32:31 +00:00
Brad Roberts
52f3c4c4dd phobos 2.001 2007-09-10 07:14:17 +00:00
Brad Roberts
de971890b0 phobos 2.000 2007-09-10 06:45:08 +00:00
Brad Roberts
60545694c7 phobos 1.011 2007-09-10 06:03:58 +00:00
Brad Roberts
8d7ec1bb34 phobos 1.010 2007-09-10 06:03:28 +00:00
Brad Roberts
1de7f2e4ba phobos 1.007 2007-09-10 06:02:02 +00:00
Brad Roberts
b85d2c1068 phobos 1.006 2007-09-10 06:01:37 +00:00
Brad Roberts
612a051fd4 phobos 1.005 2007-09-10 06:00:54 +00:00
Brad Roberts
39f9a23631 phobos 1.001 2007-09-10 05:58:55 +00:00
Brad Roberts
1a1d0c4cf3 phobos 1.00 2007-09-10 05:56:35 +00:00
Brad Roberts
7a177fcf41 phobos 0.178 2007-09-10 05:37:36 +00:00
Brad Roberts
76dac5da92 phobos 0.176 2007-09-10 05:36:13 +00:00
Brad Roberts
03f85a89ef phobos 0.173 2007-09-10 05:34:16 +00:00
Brad Roberts
613c86dca9 phobos 0.168 2007-09-10 05:31:04 +00:00
Brad Roberts
c4389822c1 phobos 0.167 2007-09-10 05:30:20 +00:00
Brad Roberts
b7589f2e97 phobos 0.163 2007-09-10 05:26:27 +00:00
Brad Roberts
b76c21ccf9 phobos 0.161 2007-09-10 05:24:49 +00:00
Brad Roberts
02ee34661a phobos 0.158 2007-09-10 05:22:58 +00:00
Brad Roberts
f3114b30a0 phobos 0.155 2007-09-10 05:19:06 +00:00
Brad Roberts
70e2b57a46 phobos 0.150 2007-09-10 05:12:31 +00:00