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
@@ -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; \
@@ -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;
@@ -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
@@ -6,9 +6,9 @@
*
*/
-module runtime.apply;
+module dyndrt.apply;
-import runtime.common;
+import dyndrt.common;
import core.unicode;
@@ -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;
@@ -6,9 +6,9 @@
*
*/
-module runtime.assocarray;
+module dyndrt.assocarray;
-import runtime.gc;
+import dyndrt.gc;
import synch.atomic;
File renamed without changes.
@@ -6,7 +6,7 @@
*
*/
-module runtime.classinvariant;
+module dyndrt.classinvariant;
extern(C):
@@ -5,7 +5,7 @@
*
*/
-module runtime.common;
+module dyndrt.common;
extern(C):
File renamed without changes.
File renamed without changes.
@@ -5,9 +5,9 @@
*
*/
-module runtime.dstatic;
+module dyndrt.dstatic;
-import runtime.common;
+import dyndrt.common;
extern(C):
@@ -5,7 +5,7 @@
*
*/
-module runtime.error;
+module dyndrt.error;
//import core.definitions;
import core.exception;
@@ -5,7 +5,7 @@
*
*/
-module runtime.exception;
+module dyndrt.exception;
// debug = EH_personality;
@@ -6,7 +6,7 @@
*
*/
-module runtime.gc;
+module dyndrt.gc;
import synch.atomic;
File renamed without changes.
@@ -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;
@@ -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;
@@ -1,4 +1,4 @@
-module runtime.moduleinfo;
+module dyndrt.moduleinfo;
// Description: This class describes a D module.
class ModuleInfo : Object {
@@ -8,9 +8,9 @@
*
*/
-module runtime.monitor;
+module dyndrt.monitor;
-import runtime.gc;
+import dyndrt.gc;
//import synch.semaphore;
//import synch.thread;
Oops, something went wrong. Retry.

0 comments on commit ac479a8

Please sign in to comment.