Permalink
Browse files

rename dynamic runtime modules and resultant library archive

  • Loading branch information...
1 parent 47e1a7f commit ac479a886a36084b37c19c177a6c1b1662d31f3d @wolfwood wolfwood committed Oct 9, 2011
Showing with 268 additions and 268 deletions.
  1. +1 −1 app/d/dynhello/dsss.conf
  2. +0 −148 runtimes/djehuty/object.d
  3. +3 −3 runtimes/{djehuty → dyndrt}/Makefile
  4. +2 −2 runtimes/{djehuty → dyndrt}/apply.d
  5. +2 −2 runtimes/{djehuty → dyndrt}/array.d
  6. +2 −2 runtimes/{djehuty → dyndrt}/assocarray.d
  7. 0 runtimes/{djehuty → dyndrt}/binding/c.d
  8. +1 −1 runtimes/{djehuty → dyndrt}/classinvariant.d
  9. +1 −1 runtimes/{djehuty → dyndrt}/common.d
  10. 0 runtimes/{djehuty → dyndrt}/core/error.d
  11. 0 runtimes/{djehuty → dyndrt}/core/exception.d
  12. 0 runtimes/{djehuty → dyndrt}/core/unicode.d
  13. 0 runtimes/{djehuty → dyndrt}/core/util.d
  14. 0 runtimes/{djehuty → dyndrt}/data/iterable.d
  15. +2 −2 runtimes/{djehuty → dyndrt}/dstatic.d
  16. +1 −1 runtimes/{djehuty → dyndrt}/error.d
  17. +1 −1 runtimes/{djehuty → dyndrt}/exception.d
  18. +1 −1 runtimes/{djehuty → dyndrt}/gc.d
  19. 0 runtimes/{djehuty → dyndrt}/ldc/cstdarg.d
  20. +4 −4 runtimes/{djehuty → dyndrt}/lifetime.d
  21. +3 −3 runtimes/{djehuty → dyndrt}/main.d
  22. +1 −1 runtimes/{djehuty → dyndrt}/moduleinfo.d
  23. +2 −2 runtimes/{djehuty → dyndrt}/monitor.d
  24. +148 −0 runtimes/dyndrt/object.d
  25. +1 −1 runtimes/{djehuty → dyndrt}/precision.d
  26. +1 −1 runtimes/{djehuty → dyndrt}/switchstmt.d
  27. 0 runtimes/{djehuty → dyndrt}/synch/atomic.d
  28. +1 −1 runtimes/{djehuty → dyndrt}/typeinfo.d
  29. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_array.d
  30. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_bool.d
  31. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_byte.d
  32. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_cdouble.d
  33. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_cfloat.d
  34. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_char.d
  35. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_creal.d
  36. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_dchar.d
  37. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_double.d
  38. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_float.d
  39. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_idouble.d
  40. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_ifloat.d
  41. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_int.d
  42. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_ireal.d
  43. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_long.d
  44. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_object.d
  45. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_real.d
  46. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_short.d
  47. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_ubyte.d
  48. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_uint.d
  49. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_ulong.d
  50. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_ushort.d
  51. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_void.d
  52. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_array_wchar.d
  53. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_assocarray.d
  54. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_byte.d
  55. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_cdouble.d
  56. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_cfloat.d
  57. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_char.d
  58. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_creal.d
  59. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_dchar.d
  60. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_delegate.d
  61. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_double.d
  62. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_enum.d
  63. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_float.d
  64. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_function.d
  65. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_idouble.d
  66. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_ifloat.d
  67. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_int.d
  68. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_interface.d
  69. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_ireal.d
  70. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_long.d
  71. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_object.d
  72. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_ptr.d
  73. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_real.d
  74. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_short.d
  75. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_staticarray.d
  76. +2 −2 runtimes/{djehuty → dyndrt}/typeinfos/ti_struct.d
  77. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_tuple.d
  78. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_typedef.d
  79. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_ubyte.d
  80. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_uint.d
  81. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_ulong.d
  82. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_ushort.d
  83. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_void.d
  84. +1 −1 runtimes/{djehuty → dyndrt}/typeinfos/ti_wchar.d
  85. +1 −1 runtimes/{djehuty → dyndrt}/types.d
  86. +2 −2 runtimes/{djehuty → dyndrt}/unwind.d
  87. +2 −2 runtimes/{djehuty → dyndrt}/util.d
  88. +1 −1 runtimes/{djehuty → dyndrt}/vararg.d
View
2 app/d/dynhello/dsss.conf
@@ -26,7 +26,7 @@ postbuild = \
echo ; \
echo Creating Application Executable; \
echo '--> hello';\
-ld -nostdlib -nodefaultlibs -T../../build/elf.ld -o hello `ls dsss_objs/O/*.o` ../../../runtimes/mindrt/drt0.a ../../../runtimes/mindrt/libd.a ../../../runtimes/djehuty/djrt.a;\
+ld -nostdlib -nodefaultlibs -T../../build/elf.ld -o hello `ls dsss_objs/O/*.o` ../../../runtimes/mindrt/drt0.a ../../../runtimes/mindrt/libd.a ../../../runtimes/dyndrt/dyndrt.a;\
\
echo ;\
echo Creating App Symbol File; \
View
148 runtimes/djehuty/object.d
@@ -1,148 +0,0 @@
-/*
- * object.d
- *
- * This module implements the Object class.
- *
- */
-
-module object;
-
-import runtime.util;
-public import runtime.types;
-
-// Description: The base class inherited by all classes.
-class Object {
-
- void dispose() {
- }
-
- // Description: Returns a string representing this object.
- char[] toString() {
- return this.classinfo.name;
- }
-
- // Description: Computes a hash representing this object
- hash_t toHash() {
- // Hash the pointer
- return hash(cast(hash_t)cast(void*)this);
- }
-
- // Description: Will compare two Object classes
- // Returns: 0 if equal, -1 if o is greater, 1 if o is smaller.
- int opCmp(Object o) {
- return 0;
- }
-
- // Description: Will compare two Object classes for equality. Defaults
- // to a comparing references.
- // Returns: 0 if not equal.
- int opEquals(Object o) {
- return cast(int)(this is o);
- }
-}
-
-// Description: This is the information stored for an interface.
-struct Interface {
- ClassInfo classinfo; // .classinfo for this interface (not for containing class)
- void *[] vtbl;
- ptrdiff_t offset; // offset to Interface 'this' from Object 'this'
-}
-
-// Description: The information stored for a class. Retrieved via the .classinfo property.
-// It is stored as the first entry in the class' vtbl[].
-class ClassInfo : Object {
- byte[] init;
-
- string name;
- void*[] vtbl;
-
- Interface[] interfaces;
-
- ClassInfo base;
- void* destructor;
- void* classInvariant;
-
- uint flags;
- void* deallocator;
- OffsetTypeInfo[] offTi;
-
- void* defaultConstructor;
-
- TypeInfo typeinfo;
-
- static ClassInfo find(string classname) {
- // Loop through every module
- // Then loop through every class
- // Trying to find the class
- return null;
- }
-
- Object create() {
- // Class factory
- return null;
- }
-}
-
-public import runtime.typeinfo;
-
-public import runtime.typeinfos.ti_array;
-public import runtime.typeinfos.ti_array_bool;
-public import runtime.typeinfos.ti_array_byte;
-public import runtime.typeinfos.ti_array_cdouble;
-public import runtime.typeinfos.ti_array_cfloat;
-public import runtime.typeinfos.ti_array_char;
-public import runtime.typeinfos.ti_array_creal;
-public import runtime.typeinfos.ti_array_dchar;
-public import runtime.typeinfos.ti_array_double;
-public import runtime.typeinfos.ti_array_float;
-public import runtime.typeinfos.ti_array_idouble;
-public import runtime.typeinfos.ti_array_ifloat;
-public import runtime.typeinfos.ti_array_int;
-public import runtime.typeinfos.ti_array_ireal;
-public import runtime.typeinfos.ti_array_long;
-public import runtime.typeinfos.ti_array_object;
-public import runtime.typeinfos.ti_array_real;
-public import runtime.typeinfos.ti_array_short;
-public import runtime.typeinfos.ti_array_ubyte;
-public import runtime.typeinfos.ti_array_uint;
-public import runtime.typeinfos.ti_array_ulong;
-public import runtime.typeinfos.ti_array_ushort;
-public import runtime.typeinfos.ti_array_void;
-public import runtime.typeinfos.ti_array_wchar;
-public import runtime.typeinfos.ti_assocarray;
-//public import runtime.typeinfos.ti_bool;
-public import runtime.typeinfos.ti_byte;
-public import runtime.typeinfos.ti_cdouble;
-public import runtime.typeinfos.ti_cfloat;
-public import runtime.typeinfos.ti_char;
-public import runtime.typeinfos.ti_creal;
-public import runtime.typeinfos.ti_dchar;
-public import runtime.typeinfos.ti_delegate;
-public import runtime.typeinfos.ti_double;
-public import runtime.typeinfos.ti_enum;
-public import runtime.typeinfos.ti_float;
-public import runtime.typeinfos.ti_function;
-public import runtime.typeinfos.ti_idouble;
-public import runtime.typeinfos.ti_ifloat;
-public import runtime.typeinfos.ti_int;
-public import runtime.typeinfos.ti_interface;
-public import runtime.typeinfos.ti_ireal;
-public import runtime.typeinfos.ti_long;
-public import runtime.typeinfos.ti_object;
-public import runtime.typeinfos.ti_ptr;
-public import runtime.typeinfos.ti_real;
-public import runtime.typeinfos.ti_short;
-public import runtime.typeinfos.ti_staticarray;
-public import runtime.typeinfos.ti_struct;
-public import runtime.typeinfos.ti_tuple;
-public import runtime.typeinfos.ti_typedef;
-public import runtime.typeinfos.ti_ubyte;
-public import runtime.typeinfos.ti_uint;
-public import runtime.typeinfos.ti_ulong;
-public import runtime.typeinfos.ti_ushort;
-public import runtime.typeinfos.ti_void;
-public import runtime.typeinfos.ti_wchar;
-
-public import runtime.moduleinfo;
-
-public import core.exception;
View
6 runtimes/djehuty/Makefile → runtimes/dyndrt/Makefile
@@ -1,12 +1,12 @@
DFLAGS = -I../. -I../../. -O2 -release -od=dsss_objs/O -oq -d-version=PlatformXOmB
-djrt.a: *.d typeinfos/*.d binding/*.d core/*.d data/*.d synch/*.d
+dyndrt.a: *.d typeinfos/*.d binding/*.d core/*.d data/*.d synch/*.d
mkdir -p dsss_objs/G;
mkdir -p dsss_objs/O;
ldc -nodefaultlib ${DFLAGS} -c *.d
ldc -nodefaultlib ${DFLAGS} -c typeinfos/*.d
ldc -nodefaultlib ${DFLAGS} -c binding/*.d core/*.d data/*.d synch/*.d
- ar rcs djrt.a dsss_objs/O/*.o
+ ar rcs $@ dsss_objs/O/*.o
clean:
- rm djrt.a
+ rm dyndrt.a
View
4 runtimes/djehuty/apply.d → runtimes/dyndrt/apply.d
@@ -6,9 +6,9 @@
*
*/
-module runtime.apply;
+module dyndrt.apply;
-import runtime.common;
+import dyndrt.common;
import core.unicode;
View
4 runtimes/djehuty/array.d → runtimes/dyndrt/array.d
@@ -6,13 +6,13 @@
*
*/
-module runtime.array;
+module dyndrt.array;
import core.unicode;
import data.iterable;
-import runtime.common;
+import dyndrt.common;
//import math.random;
//import core.util;
View
4 runtimes/djehuty/assocarray.d → runtimes/dyndrt/assocarray.d
@@ -6,9 +6,9 @@
*
*/
-module runtime.assocarray;
+module dyndrt.assocarray;
-import runtime.gc;
+import dyndrt.gc;
import synch.atomic;
View
0 runtimes/djehuty/binding/c.d → runtimes/dyndrt/binding/c.d
File renamed without changes.
View
2 runtimes/djehuty/classinvariant.d → runtimes/dyndrt/classinvariant.d
@@ -6,7 +6,7 @@
*
*/
-module runtime.classinvariant;
+module dyndrt.classinvariant;
extern(C):
View
2 runtimes/djehuty/common.d → runtimes/dyndrt/common.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.common;
+module dyndrt.common;
extern(C):
View
0 runtimes/djehuty/core/error.d → runtimes/dyndrt/core/error.d
File renamed without changes.
View
0 runtimes/djehuty/core/exception.d → runtimes/dyndrt/core/exception.d
File renamed without changes.
View
0 runtimes/djehuty/core/unicode.d → runtimes/dyndrt/core/unicode.d
File renamed without changes.
View
0 runtimes/djehuty/core/util.d → runtimes/dyndrt/core/util.d
File renamed without changes.
View
0 runtimes/djehuty/data/iterable.d → runtimes/dyndrt/data/iterable.d
File renamed without changes.
View
4 runtimes/djehuty/dstatic.d → runtimes/dyndrt/dstatic.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.dstatic;
+module dyndrt.dstatic;
-import runtime.common;
+import dyndrt.common;
extern(C):
View
2 runtimes/djehuty/error.d → runtimes/dyndrt/error.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.error;
+module dyndrt.error;
//import core.definitions;
import core.exception;
View
2 runtimes/djehuty/exception.d → runtimes/dyndrt/exception.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.exception;
+module dyndrt.exception;
// debug = EH_personality;
View
2 runtimes/djehuty/gc.d → runtimes/dyndrt/gc.d
@@ -6,7 +6,7 @@
*
*/
-module runtime.gc;
+module dyndrt.gc;
import synch.atomic;
View
0 runtimes/djehuty/ldc/cstdarg.d → runtimes/dyndrt/ldc/cstdarg.d
File renamed without changes.
View
8 runtimes/djehuty/lifetime.d → runtimes/dyndrt/lifetime.d
@@ -5,11 +5,11 @@
*
*/
-module runtime.lifetime;
+module dyndrt.lifetime;
-import runtime.exception;
-import runtime.common;
-import runtime.gc;
+import dyndrt.exception;
+import dyndrt.common;
+import dyndrt.gc;
import binding.c;
View
6 runtimes/djehuty/main.d → runtimes/dyndrt/main.d
@@ -5,10 +5,10 @@
*
*/
-module runtime.main;
+module dyndrt.main;
-import runtime.gc;
-import runtime.moduleinfo;
+import dyndrt.gc;
+import dyndrt.moduleinfo;
import core.error;
import user.ipc;
View
2 runtimes/djehuty/moduleinfo.d → runtimes/dyndrt/moduleinfo.d
@@ -1,4 +1,4 @@
-module runtime.moduleinfo;
+module dyndrt.moduleinfo;
// Description: This class describes a D module.
class ModuleInfo : Object {
View
4 runtimes/djehuty/monitor.d → runtimes/dyndrt/monitor.d
@@ -8,9 +8,9 @@
*
*/
-module runtime.monitor;
+module dyndrt.monitor;
-import runtime.gc;
+import dyndrt.gc;
//import synch.semaphore;
//import synch.thread;
View
148 runtimes/dyndrt/object.d
@@ -0,0 +1,148 @@
+/*
+ * object.d
+ *
+ * This module implements the Object class.
+ *
+ */
+
+module object;
+
+import dyndrt.util;
+public import dyndrt.types;
+
+// Description: The base class inherited by all classes.
+class Object {
+
+ void dispose() {
+ }
+
+ // Description: Returns a string representing this object.
+ char[] toString() {
+ return this.classinfo.name;
+ }
+
+ // Description: Computes a hash representing this object
+ hash_t toHash() {
+ // Hash the pointer
+ return hash(cast(hash_t)cast(void*)this);
+ }
+
+ // Description: Will compare two Object classes
+ // Returns: 0 if equal, -1 if o is greater, 1 if o is smaller.
+ int opCmp(Object o) {
+ return 0;
+ }
+
+ // Description: Will compare two Object classes for equality. Defaults
+ // to a comparing references.
+ // Returns: 0 if not equal.
+ int opEquals(Object o) {
+ return cast(int)(this is o);
+ }
+}
+
+// Description: This is the information stored for an interface.
+struct Interface {
+ ClassInfo classinfo; // .classinfo for this interface (not for containing class)
+ void *[] vtbl;
+ ptrdiff_t offset; // offset to Interface 'this' from Object 'this'
+}
+
+// Description: The information stored for a class. Retrieved via the .classinfo property.
+// It is stored as the first entry in the class' vtbl[].
+class ClassInfo : Object {
+ byte[] init;
+
+ string name;
+ void*[] vtbl;
+
+ Interface[] interfaces;
+
+ ClassInfo base;
+ void* destructor;
+ void* classInvariant;
+
+ uint flags;
+ void* deallocator;
+ OffsetTypeInfo[] offTi;
+
+ void* defaultConstructor;
+
+ TypeInfo typeinfo;
+
+ static ClassInfo find(string classname) {
+ // Loop through every module
+ // Then loop through every class
+ // Trying to find the class
+ return null;
+ }
+
+ Object create() {
+ // Class factory
+ return null;
+ }
+}
+
+public import dyndrt.typeinfo;
+
+public import dyndrt.typeinfos.ti_array;
+public import dyndrt.typeinfos.ti_array_bool;
+public import dyndrt.typeinfos.ti_array_byte;
+public import dyndrt.typeinfos.ti_array_cdouble;
+public import dyndrt.typeinfos.ti_array_cfloat;
+public import dyndrt.typeinfos.ti_array_char;
+public import dyndrt.typeinfos.ti_array_creal;
+public import dyndrt.typeinfos.ti_array_dchar;
+public import dyndrt.typeinfos.ti_array_double;
+public import dyndrt.typeinfos.ti_array_float;
+public import dyndrt.typeinfos.ti_array_idouble;
+public import dyndrt.typeinfos.ti_array_ifloat;
+public import dyndrt.typeinfos.ti_array_int;
+public import dyndrt.typeinfos.ti_array_ireal;
+public import dyndrt.typeinfos.ti_array_long;
+public import dyndrt.typeinfos.ti_array_object;
+public import dyndrt.typeinfos.ti_array_real;
+public import dyndrt.typeinfos.ti_array_short;
+public import dyndrt.typeinfos.ti_array_ubyte;
+public import dyndrt.typeinfos.ti_array_uint;
+public import dyndrt.typeinfos.ti_array_ulong;
+public import dyndrt.typeinfos.ti_array_ushort;
+public import dyndrt.typeinfos.ti_array_void;
+public import dyndrt.typeinfos.ti_array_wchar;
+public import dyndrt.typeinfos.ti_assocarray;
+//public import dyndrt.typeinfos.ti_bool;
+public import dyndrt.typeinfos.ti_byte;
+public import dyndrt.typeinfos.ti_cdouble;
+public import dyndrt.typeinfos.ti_cfloat;
+public import dyndrt.typeinfos.ti_char;
+public import dyndrt.typeinfos.ti_creal;
+public import dyndrt.typeinfos.ti_dchar;
+public import dyndrt.typeinfos.ti_delegate;
+public import dyndrt.typeinfos.ti_double;
+public import dyndrt.typeinfos.ti_enum;
+public import dyndrt.typeinfos.ti_float;
+public import dyndrt.typeinfos.ti_function;
+public import dyndrt.typeinfos.ti_idouble;
+public import dyndrt.typeinfos.ti_ifloat;
+public import dyndrt.typeinfos.ti_int;
+public import dyndrt.typeinfos.ti_interface;
+public import dyndrt.typeinfos.ti_ireal;
+public import dyndrt.typeinfos.ti_long;
+public import dyndrt.typeinfos.ti_object;
+public import dyndrt.typeinfos.ti_ptr;
+public import dyndrt.typeinfos.ti_real;
+public import dyndrt.typeinfos.ti_short;
+public import dyndrt.typeinfos.ti_staticarray;
+public import dyndrt.typeinfos.ti_struct;
+public import dyndrt.typeinfos.ti_tuple;
+public import dyndrt.typeinfos.ti_typedef;
+public import dyndrt.typeinfos.ti_ubyte;
+public import dyndrt.typeinfos.ti_uint;
+public import dyndrt.typeinfos.ti_ulong;
+public import dyndrt.typeinfos.ti_ushort;
+public import dyndrt.typeinfos.ti_void;
+public import dyndrt.typeinfos.ti_wchar;
+
+public import dyndrt.moduleinfo;
+
+public import core.exception;
View
2 runtimes/djehuty/precision.d → runtimes/dyndrt/precision.d
@@ -12,7 +12,7 @@
*
*/
-module runtime.precision;
+module dyndrt.precision;
/*-
* Copyright (c) 1992, 1993
View
2 runtimes/djehuty/switchstmt.d → runtimes/dyndrt/switchstmt.d
@@ -6,7 +6,7 @@
*
*/
-module runtime.switchstmt;
+module dyndrt.switchstmt;
private template _switch_string(T) {
int _switch_string(T[][] table, T[] compare) {
View
0 runtimes/djehuty/synch/atomic.d → runtimes/dyndrt/synch/atomic.d
File renamed without changes.
View
2 runtimes/djehuty/typeinfo.d → runtimes/dyndrt/typeinfo.d
@@ -1,4 +1,4 @@
-module runtime.typeinfo;
+module dyndrt.typeinfo;
struct OffsetTypeInfo {
size_t offset;
View
2 runtimes/djehuty/typeinfos/ti_array.d → runtimes/dyndrt/typeinfos/ti_array.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_array;
+module dyndrt.typeinfos.ti_array;
class TypeInfo_Array : TypeInfo {
char[] toString() { return value.toString() ~ "[]"; }
View
4 runtimes/djehuty/typeinfos/ti_array_bool.d → runtimes/dyndrt/typeinfos/ti_array_bool.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_bool;
+module dyndrt.typeinfos.ti_array_bool;
-import runtime.typeinfos.ti_array_ubyte;
+import dyndrt.typeinfos.ti_array_ubyte;
class TypeInfo_Ab : TypeInfo_Ah {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_array_byte.d → runtimes/dyndrt/typeinfos/ti_array_byte.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_byte;
+module dyndrt.typeinfos.ti_array_byte;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_Ag : ArrayInfo!("byte") { }
View
4 ...imes/djehuty/typeinfos/ti_array_cdouble.d → runtimes/dyndrt/typeinfos/ti_array_cdouble.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_cdouble;
+module dyndrt.typeinfos.ti_array_cdouble;
-import runtime.typeinfos.ti_cdouble;
+import dyndrt.typeinfos.ti_cdouble;
class TypeInfo_Ar : TypeInfo {
char[] toString() { return "cdouble[]"; }
View
4 runtimes/djehuty/typeinfos/ti_array_cfloat.d → runtimes/dyndrt/typeinfos/ti_array_cfloat.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_cfloat;
+module dyndrt.typeinfos.ti_array_cfloat;
-import runtime.typeinfos.ti_cfloat;
+import dyndrt.typeinfos.ti_cfloat;
class TypeInfo_Aq : TypeInfo {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_array_char.d → runtimes/dyndrt/typeinfos/ti_array_char.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_char;
+module dyndrt.typeinfos.ti_array_char;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_Aa : ArrayInfo!("char") { }
View
4 runtimes/djehuty/typeinfos/ti_array_creal.d → runtimes/dyndrt/typeinfos/ti_array_creal.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_creal;
+module dyndrt.typeinfos.ti_array_creal;
-import runtime.typeinfos.ti_creal;
+import dyndrt.typeinfos.ti_creal;
class TypeInfo_Ac : TypeInfo {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_array_dchar.d → runtimes/dyndrt/typeinfos/ti_array_dchar.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_dchar;
+module dyndrt.typeinfos.ti_array_dchar;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_Aw : ArrayInfo!("dchar") { }
View
4 runtimes/djehuty/typeinfos/ti_array_double.d → runtimes/dyndrt/typeinfos/ti_array_double.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_double;
+module dyndrt.typeinfos.ti_array_double;
-import runtime.typeinfos.ti_double;
+import dyndrt.typeinfos.ti_double;
class TypeInfo_Ad : TypeInfo {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_array_float.d → runtimes/dyndrt/typeinfos/ti_array_float.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_float;
+module dyndrt.typeinfos.ti_array_float;
-import runtime.typeinfos.ti_float;
+import dyndrt.typeinfos.ti_float;
class TypeInfo_Af : TypeInfo {
char[] toString() {
View
4 ...imes/djehuty/typeinfos/ti_array_idouble.d → runtimes/dyndrt/typeinfos/ti_array_idouble.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_idouble;
+module dyndrt.typeinfos.ti_array_idouble;
-import runtime.typeinfos.ti_array_double;
+import dyndrt.typeinfos.ti_array_double;
class TypeInfo_Ap : TypeInfo_Ad {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_array_ifloat.d → runtimes/dyndrt/typeinfos/ti_array_ifloat.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_ifloat;
+module dyndrt.typeinfos.ti_array_ifloat;
-import runtime.typeinfos.ti_array_float;
+import dyndrt.typeinfos.ti_array_float;
class TypeInfo_Ao : TypeInfo_Af {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_array_int.d → runtimes/dyndrt/typeinfos/ti_array_int.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_int;
+module dyndrt.typeinfos.ti_array_int;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_Ai : ArrayInfo!("int") { }
View
4 runtimes/djehuty/typeinfos/ti_array_ireal.d → runtimes/dyndrt/typeinfos/ti_array_ireal.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_ireal;
+module dyndrt.typeinfos.ti_array_ireal;
-import runtime.typeinfos.ti_array_real;
+import dyndrt.typeinfos.ti_array_real;
class TypeInfo_Aj : TypeInfo_Ae {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_array_long.d → runtimes/dyndrt/typeinfos/ti_array_long.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_long;
+module dyndrt.typeinfos.ti_array_long;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_Al : ArrayInfo!("long") { }
View
2 runtimes/djehuty/typeinfos/ti_array_object.d → runtimes/dyndrt/typeinfos/ti_array_object.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_array_object;
+module dyndrt.typeinfos.ti_array_object;
class TypeInfo_AC : TypeInfo {
hash_t getHash(void *p) {
View
4 runtimes/djehuty/typeinfos/ti_array_real.d → runtimes/dyndrt/typeinfos/ti_array_real.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_real;
+module dyndrt.typeinfos.ti_array_real;
-import runtime.typeinfos.ti_real;
+import dyndrt.typeinfos.ti_real;
class TypeInfo_Ae : TypeInfo {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_array_short.d → runtimes/dyndrt/typeinfos/ti_array_short.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_short;
+module dyndrt.typeinfos.ti_array_short;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_As : ArrayInfo!("short") { }
View
4 runtimes/djehuty/typeinfos/ti_array_ubyte.d → runtimes/dyndrt/typeinfos/ti_array_ubyte.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_ubyte;
+module dyndrt.typeinfos.ti_array_ubyte;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_Ah : ArrayInfo!("ubyte") { }
View
4 runtimes/djehuty/typeinfos/ti_array_uint.d → runtimes/dyndrt/typeinfos/ti_array_uint.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_uint;
+module dyndrt.typeinfos.ti_array_uint;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_Ak : ArrayInfo!("uint") { }
View
4 runtimes/djehuty/typeinfos/ti_array_ulong.d → runtimes/dyndrt/typeinfos/ti_array_ulong.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_ulong;
+module dyndrt.typeinfos.ti_array_ulong;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_Am : ArrayInfo!("ulong") { }
View
4 runtimes/djehuty/typeinfos/ti_array_ushort.d → runtimes/dyndrt/typeinfos/ti_array_ushort.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_ushort;
+module dyndrt.typeinfos.ti_array_ushort;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_At : ArrayInfo!("ushort") { }
View
4 runtimes/djehuty/typeinfos/ti_array_void.d → runtimes/dyndrt/typeinfos/ti_array_void.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_array_void;
+module dyndrt.typeinfos.ti_array_void;
-import runtime.typeinfos.ti_array_ubyte;
+import dyndrt.typeinfos.ti_array_ubyte;
class TypeInfo_Av : TypeInfo_Ah {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_array_wchar.d → runtimes/dyndrt/typeinfos/ti_array_wchar.d
@@ -5,8 +5,8 @@
*
*/
-module runtime.typeinfos.ti_array_wchar;
+module dyndrt.typeinfos.ti_array_wchar;
-import runtime.typeinfos.ti_array;
+import dyndrt.typeinfos.ti_array;
class TypeInfo_Au : ArrayInfo!("wchar") { }
View
2 runtimes/djehuty/typeinfos/ti_assocarray.d → runtimes/dyndrt/typeinfos/ti_assocarray.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_assocarray;
+module dyndrt.typeinfos.ti_assocarray;
class TypeInfo_AssociativeArray : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_byte.d → runtimes/dyndrt/typeinfos/ti_byte.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_byte;
+module dyndrt.typeinfos.ti_byte;
// byte
View
2 runtimes/djehuty/typeinfos/ti_cdouble.d → runtimes/dyndrt/typeinfos/ti_cdouble.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_cdouble;
+module dyndrt.typeinfos.ti_cdouble;
class TypeInfo_r : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_cfloat.d → runtimes/dyndrt/typeinfos/ti_cfloat.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_cfloat;
+module dyndrt.typeinfos.ti_cfloat;
class TypeInfo_q : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_char.d → runtimes/dyndrt/typeinfos/ti_char.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_char;
+module dyndrt.typeinfos.ti_char;
class TypeInfo_a : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_creal.d → runtimes/dyndrt/typeinfos/ti_creal.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_creal;
+module dyndrt.typeinfos.ti_creal;
class TypeInfo_c : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_dchar.d → runtimes/dyndrt/typeinfos/ti_dchar.d
@@ -7,7 +7,7 @@
// dchar
-module runtime.typeinfos.ti_dchar;
+module dyndrt.typeinfos.ti_dchar;
class TypeInfo_w : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_delegate.d → runtimes/dyndrt/typeinfos/ti_delegate.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_delegate;
+module dyndrt.typeinfos.ti_delegate;
class TypeInfo_Delegate : TypeInfo {
hash_t getHash(void *p) {
View
2 runtimes/djehuty/typeinfos/ti_double.d → runtimes/dyndrt/typeinfos/ti_double.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_double;
+module dyndrt.typeinfos.ti_double;
int isnan(real e) {
ushort* pe = cast(ushort *)&e;
View
4 runtimes/djehuty/typeinfos/ti_enum.d → runtimes/dyndrt/typeinfos/ti_enum.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_enum;
+module dyndrt.typeinfos.ti_enum;
-import runtime.typeinfos.ti_typedef;
+import dyndrt.typeinfos.ti_typedef;
class TypeInfo_Enum : TypeInfo_Typedef {
}
View
2 runtimes/djehuty/typeinfos/ti_float.d → runtimes/dyndrt/typeinfos/ti_float.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_float;
+module dyndrt.typeinfos.ti_float;
class TypeInfo_f : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_function.d → runtimes/dyndrt/typeinfos/ti_function.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_function;
+module dyndrt.typeinfos.ti_function;
class TypeInfo_Function : TypeInfo {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_idouble.d → runtimes/dyndrt/typeinfos/ti_idouble.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_idouble;
+module dyndrt.typeinfos.ti_idouble;
-import runtime.typeinfos.ti_double;
+import dyndrt.typeinfos.ti_double;
class TypeInfo_p : TypeInfo_d {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_ifloat.d → runtimes/dyndrt/typeinfos/ti_ifloat.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_ifloat;
+module dyndrt.typeinfos.ti_ifloat;
-import runtime.typeinfos.ti_float;
+import dyndrt.typeinfos.ti_float;
class TypeInfo_o : TypeInfo_f {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_int.d → runtimes/dyndrt/typeinfos/ti_int.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_int;
+module dyndrt.typeinfos.ti_int;
class TypeInfo_i : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_interface.d → runtimes/dyndrt/typeinfos/ti_interface.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_interface;
+module dyndrt.typeinfos.ti_interface;
class TypeInfo_Interface : TypeInfo {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_ireal.d → runtimes/dyndrt/typeinfos/ti_ireal.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_ireal;
+module dyndrt.typeinfos.ti_ireal;
-import runtime.typeinfos.ti_real;
+import dyndrt.typeinfos.ti_real;
class TypeInfo_j : TypeInfo_e {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_long.d → runtimes/dyndrt/typeinfos/ti_long.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_long;
+module dyndrt.typeinfos.ti_long;
class TypeInfo_l : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_object.d → runtimes/dyndrt/typeinfos/ti_object.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_object;
+module dyndrt.typeinfos.ti_object;
class TypeInfo_Class : TypeInfo {
hash_t getHash(void *p) {
View
2 runtimes/djehuty/typeinfos/ti_ptr.d → runtimes/dyndrt/typeinfos/ti_ptr.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_ptr;
+module dyndrt.typeinfos.ti_ptr;
class TypeInfo_Pointer : TypeInfo {
hash_t getHash(void *p) {
View
2 runtimes/djehuty/typeinfos/ti_real.d → runtimes/dyndrt/typeinfos/ti_real.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_real;
+module dyndrt.typeinfos.ti_real;
class TypeInfo_e : TypeInfo {
char[] toString() { return "real"; }
View
2 runtimes/djehuty/typeinfos/ti_short.d → runtimes/dyndrt/typeinfos/ti_short.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_short;
+module dyndrt.typeinfos.ti_short;
class TypeInfo_s : TypeInfo {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_staticarray.d → runtimes/dyndrt/typeinfos/ti_staticarray.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_staticarray;
+module dyndrt.typeinfos.ti_staticarray;
-import runtime.util;
+import dyndrt.util;
class TypeInfo_StaticArray : TypeInfo {
char[] toString() {
View
4 runtimes/djehuty/typeinfos/ti_struct.d → runtimes/dyndrt/typeinfos/ti_struct.d
@@ -5,9 +5,9 @@
*
*/
-module runtime.typeinfos.ti_struct;
+module dyndrt.typeinfos.ti_struct;
-import runtime.util;
+import dyndrt.util;
//import binding.c;
View
2 runtimes/djehuty/typeinfos/ti_tuple.d → runtimes/dyndrt/typeinfos/ti_tuple.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_tuple;
+module dyndrt.typeinfos.ti_tuple;
class TypeInfo_Tuple : TypeInfo {
TypeInfo[] elements;
View
2 runtimes/djehuty/typeinfos/ti_typedef.d → runtimes/dyndrt/typeinfos/ti_typedef.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_typedef;
+module dyndrt.typeinfos.ti_typedef;
class TypeInfo_Typedef : TypeInfo {
char[] toString() { return name; }
View
2 runtimes/djehuty/typeinfos/ti_ubyte.d → runtimes/dyndrt/typeinfos/ti_ubyte.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_ubyte;
+module dyndrt.typeinfos.ti_ubyte;
class TypeInfo_h : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_uint.d → runtimes/dyndrt/typeinfos/ti_uint.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_uint;
+module dyndrt.typeinfos.ti_uint;
class TypeInfo_k : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_ulong.d → runtimes/dyndrt/typeinfos/ti_ulong.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_ulong;
+module dyndrt.typeinfos.ti_ulong;
class TypeInfo_m : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_ushort.d → runtimes/dyndrt/typeinfos/ti_ushort.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_ushort;
+module dyndrt.typeinfos.ti_ushort;
class TypeInfo_t : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_void.d → runtimes/dyndrt/typeinfos/ti_void.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_void;
+module dyndrt.typeinfos.ti_void;
class TypeInfo_v : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/typeinfos/ti_wchar.d → runtimes/dyndrt/typeinfos/ti_wchar.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.typeinfos.ti_wchar;
+module dyndrt.typeinfos.ti_wchar;
class TypeInfo_u : TypeInfo {
char[] toString() {
View
2 runtimes/djehuty/types.d → runtimes/dyndrt/types.d
@@ -5,7 +5,7 @@
*
*/
-module runtime.types;
+module dyndrt.types;
// Figure out the size of a pointer
static if ((ubyte*).sizeof == 8) {
View
4 runtimes/djehuty/unwind.d → runtimes/dyndrt/unwind.d
@@ -6,9 +6,9 @@
*
*/
-module runtime.unwind;
+module dyndrt.unwind;
-import runtime.common;
+import dyndrt.common;
extern(C):
View
4 runtimes/djehuty/util.d → runtimes/dyndrt/util.d
@@ -1,6 +1,6 @@
-module runtime.util;
+module dyndrt.util;
-import runtime.types;
+import dyndrt.types;
int memcmp(void* a, void* b, size_t n) {
ubyte* str_a = cast(ubyte*)a;
View
2 runtimes/djehuty/vararg.d → runtimes/dyndrt/vararg.d
@@ -5,6 +5,6 @@
*
*/
-module runtime.vararg;
+module dyndrt.vararg;

0 comments on commit ac479a8

Please sign in to comment.