summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
sean [Mon, 9 Mar 2009 22:46:55 +0000]
* Copied stdc and posix changes to D_1.0 branch.
* Updated trunk import files to use "enum" in place of "const" for declarations.
* Removed some old "GNU" version blocks, since GDC support seems unlikely.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@112
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Mon, 5 Jan 2009 20:16:40 +0000]
Added Posix test-dmd scripts to match the Win32 scripts.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@72
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Mon, 5 Jan 2009 20:14:34 +0000]
The "test-dmd" build script now works in a similar manner as Phobos and only tests user-visible modules. Testing implementation-level runtime code isn't terribly easy to do, given how the -unittest flag works in D.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@71
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Thu, 18 Dec 2008 20:02:25 +0000]
* Converted tabs to spaces from prior commit.
* Merged relevant changes from D2 to D1.
* Added doc generation for core modules.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@68
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Fri, 5 Dec 2008 20:27:00 +0000]
* Replaced "rt" package name for DMD runtime modules. Apparently, an import statement can include the package name for a local file, even if the local directory isn't in the import path via the expected package location. ie. it appears that if DMD detects that the package name of an import file matches the package name of the importing modules then it just looks in the current directory. Awesome.
* Changed the Linux build to use DMD's -lib feature as well. Untested, but I'll do that shortly.
* Propagated the -lib build approach to the D 1.0 branch.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@55
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Tue, 25 Nov 2008 23:53:07 +0000]
Added core.vararg for variadic argument handling. This seemed necessary, since varargs are a language feature. There should be no conflict with std.stdarg, etc, anyway.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@52
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Tue, 25 Nov 2008 00:56:46 +0000]
* Small fix to a typo in trunk/cover.d
* Merged changes from trunk/cover to branches/D1.0/cover
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@51
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Fri, 21 Nov 2008 23:08:16 +0000]
* Removed "-debug" from the list of debug build flags. The purpose of debug builds is to test user code, not library code.
* Fixed an edit error that would have broken unit testing of druntime in trunk.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@48
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Thu, 20 Nov 2008 22:49:32 +0000]
* Auto type determination was broken in some unit tests. This has been fixed.
* The following new build options have been added:
- release (default)
- debug
- unittest
* Debug libraries are now generated by the build-dmd scripts and have a "-d" appended to their name. These libraries have both "-g" and "-debug" set to enable asserts and symbol info.
* Added unittest.d to run unit tests.
* Added test-dmd.bat to build and run unit tests on Win32. A problem currently exists with this feature, and once it has been resolved a test-dmd.sh will be added as well.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@47
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Thu, 6 Nov 2008 20:36:50 +0000]
Fixed the static data area range calculation. Previous behavior was causing only 1/4 of the static data area to be scanned by the GC.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@46
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Wed, 5 Nov 2008 00:35:42 +0000]
* Fixed the documentation for sleep().
* Changed the implementation of sleep() on Windows such that a yield will not be forced upon the user if they pass an interval that evaluates to zero. For more information regarding Sleep(0), see the MSDN docs.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@43
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Fri, 31 Oct 2008 23:13:27 +0000]
* Reclassified most runtime-generated errors as Errors rather than Exceptions. This involved both a parent reasignment and a name change. At this point, the only remaining Exception is UnicodeException.
* Renamed ArrayBoundsException to RangeError in an attempt to be more general.
* Renamed onArrayBoundsError callback to onRangeError to make handling of these conditions more general as well. Ideally, this will allow the same callback to be used for other purposes in the future.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@42
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Fri, 31 Oct 2008 22:07:16 +0000]
Changed the package name for bitmanip.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@41
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Wed, 29 Oct 2008 21:22:29 +0000]
Fixed 64-bit prototype for dirent_r routine.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@40
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Wed, 29 Oct 2008 00:15:37 +0000]
Added static data segment support to the new Runtime.loadLibrary() features. This also replaces static data segment scanning for all apps by dropping rt_scanStaticData() in favor of a new initialization step that calls gc_addRange() for each static data segment. The upshot of this is that all GCs must track add/remove Root and Range calls so the info can be passed to a proxy if gc_setProxy() is called. See src/gc/stub/gc.d for a simple implementation of this.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@39
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Mon, 27 Oct 2008 22:15:16 +0000]
First attempt at support for dynamic library loading and unloading. Currently, only Windows is supported, and information on static data ranges still needs to be passed to the application GC (see "TODO" in gc/basic and gc/stub).
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@38
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Sat, 25 Oct 2008 00:15:55 +0000]
* Moved sys into core.sys
* Moved stdc.posix into core.sys.posix
* Moved stdc into core.stdc
* Added initial support for Runtime.loadLibrary() and Runtime.unloadLibrary() in D2. The same functions are exposed in D1, but they are stubbed out for the moment. The basic library loading and unloading should theoretically work, but the GC handle swapping code still needs a look, etc. I left the D1 version stubbed out to make finding GC diffs easier for when I look at the handle swapping code (which is in D2 but not D1). Still not sure about the function naming either... may just switch to load() and unload().
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@36
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Tue, 21 Oct 2008 23:40:18 +0000]
Changed pthread_cleanup to properly account for platform differences. core.thread should now build with freebsd.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@35
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Fri, 17 Oct 2008 03:06:32 +0000]
Fixed a few build script issues on posix, including a bug in looking for some of the core modules in the wrong place, and a hack to eliminate filename collision with the dmd compiler runtime. This latter issue really needs to be addressed in a better way, but at this point my priority is just to get the build working.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@32
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Thu, 16 Oct 2008 20:54:55 +0000]
Changed Thread.sleep() to accept a long with a tick resolution of 100 nanoseconds. This closes #9
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@31
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Thu, 16 Oct 2008 20:46:34 +0000]
No longer default-initializing a buffer which is immediately set via a function call.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@30
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Wed, 15 Oct 2008 21:33:55 +0000]
* Changed top-level exception class name from 'Exception' to 'Throwable'.
* Created a new class 'Exception' which derives from 'Throwable'.
* Created a new class 'Error' which derives from 'Throwable'.
* Moved core modules from the top level into a package named 'core'.
* Added onHiddenFuncError() routine to pass hidden function error handling from the runtime to core.exception.
* Renamed _d_getErrno to getErrno and moved it to src/common/stdc. The idea is that druntime may eventually generate a lib for the stdc modules, and this definition is necessary. The comparable function will have to be removed from Phobos as well.
* Moved the GC code into a package named 'gc', which is in accordance with the spec defined for druntime library integration (as yet unpublished).
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@29
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Mon, 13 Oct 2008 19:55:46 +0000]
Fixed import path override for library build on posix.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@27
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Mon, 13 Oct 2008 19:44:27 +0000]
Fixed a potential issue with building druntime. src/core will now be a part of the import path. This is necessary if any of the core modules import one another--not the case now, but better safe than sorry.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@26
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Mon, 13 Oct 2008 19:38:22 +0000]
Fixed a build error on Linux.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@25
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Fri, 10 Oct 2008 18:59:32 +0000]
Added Error alias for Exception as a placeholder until the exception hierarchy can be finalized. This should facilitate a batch update later on.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@18
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Fri, 10 Oct 2008 18:57:31 +0000]
Merged in changes from Phobos SVN.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@17
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Wed, 8 Oct 2008 05:49:34 +0000]
Fixed eol-style for all source files. This closes #1
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@16
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Mon, 6 Oct 2008 19:39:07 +0000]
Fixed a few mistakes regarding invariance, etc, between D1 and D2.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@14
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Tue, 30 Sep 2008 19:50:33 +0000]
Added "invariant" module to fix link issues because DMD generates references to an extern (D) function it contains. Hopefully, this is only temporary and the routine will be made extern (C), thus allowing the use of "invariant_" instead. The rationale being that it's not a good thing to have modules with the same name as reserved words.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@12
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Tue, 23 Sep 2008 03:26:12 +0000]
Propagated a D2 support change I missed.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@9
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f
sean [Tue, 23 Sep 2008 03:24:05 +0000]
Moved the D1 runtime into a branch, with D2 runtime development continuing in trunk. This does mean a lot of unnecessarily duplicated code, but I think it will simplify long-term maintenance and packaging of specific runtime versions.
git-svn-id: http://svn.dsource.org/projects/druntime/branches/D1.0@8
4a9d5153-6564-4b3f-b5e1-
7e8e9dac548f