Commit graph

20500 commits

Author SHA1 Message Date
Sean Kelly
39d7c7fd9c Added zlib objects to OBJS var. This was mistakenly removed in the last edit. 2008-10-13 20:39:04 +00:00
Sean Kelly
bc10c6c99c Fixed use of GC.malloc to obtain a slice of the returned memory. 2008-10-13 20:05:21 +00:00
Walter Bright
cad4405897 remove minit, add druntime.lib 2008-10-12 19:07:59 +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
Walter Bright
8d41338d26 fix for bugzilla 2373 2008-10-02 09:10:50 +00:00
Walter Bright
aca463ddbe added aa balancing 2008-10-02 03:54:44 +00:00
Andrei Alexandrescu
15f4458850 Fixed documentation. Made dirname generic. 2008-10-01 02:05:25 +00:00
Bartosz Milewski
b54b0b5046 Unique template: will work when the language catches up 2008-09-12 03:10:14 +00:00
Bartosz Milewski
8739df3b80 Refactored Windows and Linux code 2008-09-12 03:08:10 +00:00
Andrei Alexandrescu
f2fa28e033 Fixed fix in unpredictableSeed. 2008-09-11 03:46:11 +00:00
Andrei Alexandrescu
c433c36658 Fixed predictability in unpredictableSeed. 2008-09-11 03:30:45 +00:00
Walter Bright
20414a44bd update 2008-08-31 07:43:07 +00:00
Bartosz Milewski
25d0ef1dd2 Fixed bug 2322: Paths on Windows sometimes must include the trailing separator 2008-08-30 19:33:22 +00:00
Walter Bright
3ac4dbb828 fixed std.uni for -debug compile 2008-08-29 05:19:34 +00:00
Bartosz Milewski
efbbe0fb21 Refactoring Thread into system independent and dependent parts. Phase 1. 2008-08-28 19:22:31 +00:00
Andrei Alexandrescu
738b977bbe bugfix 2289 (fix to the fix) 2008-08-17 23:29:39 +00:00
Andrei Alexandrescu
813696b21b bugfix 2289 2008-08-17 19:58:06 +00:00
Andrei Alexandrescu
ef85a16a14 Changed to support structs that define toString 2008-08-17 03:45:53 +00:00
Walter Bright
3feceddc7b update docs for 2.018 2008-08-08 20:28:35 +00:00
Walter Bright
f1f98b13e9 bugzilla 2242 2008-08-07 21:36:12 +00:00
Walter Bright
b1042a219e bugzilla 2269 2008-08-07 20:25:08 +00:00
Walter Bright
dfe4ed52c7 foo 2008-08-07 17:37:56 +00:00
Bartosz Milewski
c578f57a2d Added atomics to linux build 2008-08-03 19:33:11 +00:00
Bartosz Milewski
5e36a00eef Started atomics for the x86 2008-08-03 19:26:00 +00:00
Andrei Alexandrescu
66cc12d14a Issue 2264: typo in documentation regarding atof 2008-08-03 14:54:02 +00:00
Walter Bright
efa7d6191e added array implementations 2008-07-28 18:08:42 +00:00
Walter Bright
6352d7dc0d improved unit tests, added T[]+=T[]*T 2008-07-26 08:15:05 +00:00
Walter Bright
18e0aa5ae0 fixed warnings 2008-07-25 21:18:32 +00:00
Walter Bright
75ec4a3c93 updated array op unit tests 2008-07-25 08:28:19 +00:00
Walter Bright
1560bce42f fix build break 2008-07-22 22:15:27 +00:00
Walter Bright
a86648ade5 extensive addition to array op support 2008-07-21 08:24:04 +00:00
Bartosz Milewski
2501f38327 Preparing for thin lock 2008-07-20 17:59:38 +00:00
Don Clugston
cde7bc6e6c Fixed subtle out-by-1 bug in asm add/sub. (Note that this function is still inaccessible to user code). 2008-07-14 07:14:11 +00:00
Walter Bright
734819923f now runs unittests with warnings on 2008-07-10 09:46:14 +00:00
Bartosz Milewski
fcaf660bbe Works on Windows too 2008-07-09 02:38:49 +00:00
Bartosz Milewski
259063690a Fixed double deletion on Linux 2008-07-09 02:33:56 +00:00
Andrei Alexandrescu
28da94506d Changed optChar to optionChar 2008-07-08 17:01:15 +00:00
Bartosz Milewski
2db80dccb7 temporary fix for double deletion 2008-07-08 04:15:04 +00:00
Andrei Alexandrescu
29479554e6 2008-07-08 04:07:34 +00:00
Andrei Alexandrescu
8c70d53831 Put some invariants for good taste 2008-07-08 03:36:20 +00:00
Andrei Alexandrescu
7191f388ba Fixed line endings 2008-07-08 03:35:41 +00:00
Andrei Alexandrescu
5f2e901c50 $(LI Fixed documentation in $(B std.typecons)) 2008-07-08 03:30:02 +00:00
Andrei Alexandrescu
de7024b233 $(LI Improved $(B std.stdio.chunks) to take an iteration tally in addition to the chunk) 2008-07-08 03:29:02 +00:00
Andrei Alexandrescu
15357568a0 $(LI In $(B std.numeric), added Don Clugston as author and operated minor documentation fixes) 2008-07-08 03:26:44 +00:00
Bartosz Milewski
a323eb19dd fixed synchro unit test 2008-07-08 03:26:38 +00:00
Andrei Alexandrescu
fe4af2bd9f $(LI In $(B std.math), replaced a bunch of $(B const)s with $(B enum)s) 2008-07-08 03:24:51 +00:00
Andrei Alexandrescu
16c4447ca1 $(LI In $(B std.getopt), added $(B optChar), $(B assignChar), and $(B endOfOptions), per popular demand :o|) 2008-07-08 03:23:25 +00:00
Andrei Alexandrescu
316654e3ed $(LI Changed $(B std.functional.binaryFun) to work with strings and function aliases alike) 2008-07-08 03:20:13 +00:00
Andrei Alexandrescu
8c2c18666d $(LI Fixed bugs in $(B std.file.rename) and $(B std.file.remove) on Linux) 2008-07-08 03:18:51 +00:00
Andrei Alexandrescu
e83f6d488c $(Changed the $(B enforce)'s implementation to generate smaller code per call.) 2008-07-08 03:14:33 +00:00