Commit Graph

154 Commits

Author SHA1 Message Date
Tomas Lindquist Olsen
2eb0babc2e [svn r159] added some code to help diagnose ticket #35 2008-03-25 16:33:19 +01:00
Christian Kamm
3804b99e41 [svn r158] fixed bug with console integer output: buffer was too small 2008-03-24 20:49:21 +01:00
Tomas Lindquist Olsen
cc914ed4b2 [svn r157] Fixed the nasty type==NULL bug :D 2008-03-24 20:48:40 +01:00
Tomas Lindquist Olsen
24392c4903 [svn r156] added a testcase for the most annoying bug ever 2008-03-24 20:05:44 +01:00
Tomas Lindquist Olsen
ecd91a48f2 [svn r155] Fixed a bunch of linkage problems (especially with templates) 2008-03-24 19:43:02 +01:00
Christian Kamm
402ce90e19 [svn r154] renaming enclosingtry to enclosingtryfinally to distinguish it from enclosingtrycatch, which will probably need to be added for exception handling 2008-03-22 12:20:32 +01:00
Christian Kamm
de63966a59 [svn r152] Relates to ticket #34. Always emit class definition if it is a template instance. Linkage still needs to be fixed. 2008-03-13 18:37:52 +01:00
Christian Kamm
1af2b2169a [svn r151] fixed #29: out contracts work now 2008-03-10 19:29:39 +01:00
Christian Kamm
b0a44173dc [svn r150] fixes #16 and #17, implements GotoCaseStatement 2008-03-08 15:22:07 +01:00
Tomas Lindquist Olsen
64537a9478 [svn r149] fixed: a bunch of D-style variadics problems.
fixed: GotoDefaultStatement implemented.
fixed: some other minor bugs.
2008-01-26 17:13:22 +01:00
Tomas Lindquist Olsen
adc75dd377 [svn r147] tango.io.Console is now working. True this time :) Yay! 2008-01-25 01:42:36 +01:00
Tomas Lindquist Olsen
be7828b589 [svn r146] fixed some potential problems with mismatch in order of interfaces in class data layout 2008-01-23 15:48:19 +01:00
Tomas Lindquist Olsen
f9685eab09 [svn r145] fixed some x86 problems 2008-01-23 12:58:51 +01:00
Tomas Lindquist Olsen
0c0bac2766 [svn r144] fixes 2008-01-23 12:56:09 +01:00
Tomas Lindquist Olsen
94c47aa1fa [svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :)
Fixed: tango.io.Console seems to be working now.
2008-01-22 00:01:16 +01:00
Tomas Lindquist Olsen
7825be29ee [svn r142] minor fix to dynamic casts.
added a few missed files.
2008-01-18 20:13:19 +01:00
Tomas Lindquist Olsen
17247d63e7 [svn r141] fixed more problems with classinfo
moved more IR state out of the AST classes
2008-01-18 16:42:16 +01:00
Tomas Lindquist Olsen
5652546986 [svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though 2008-01-17 03:15:12 +01:00
Tomas Lindquist Olsen
4f977e3cec [svn r139] Fixed bug #33, thanks for the report :) 2008-01-14 23:09:55 +01:00
Tomas Lindquist Olsen
1f5760b5af [svn r138] forgot the latest tests 2008-01-14 05:32:24 +01:00
Tomas Lindquist Olsen
4505b9b006 [svn r137] Many fixes towards tango.io.Console working, but not quite there yet...
In particular, assertions has been fixed to include file/line info, and much more!
2008-01-14 05:11:54 +01:00
Tomas Lindquist Olsen
b15b3484c8 [svn r136] MAJOR UNSTABLE UPDATE!!!
Initial commit after moving to Tango instead of Phobos.

Lots of bugfixes...

This build is not suitable for most things.
2008-01-11 17:57:40 +01:00
Tomas Lindquist Olsen
bc08c6fcb1 [svn r135] * Merged DMD 1.025 *
* Fixed a minor linking order mishap *
* Added an command line option -annotate *
* Fixed some problems with running optimizations *
* Added std.stdio and dependencies to lphobos (still not 100% working, but compiles and links) *
* Fixed problems with passing aggregate types to variadic functions *
* Added initial code towards full GC support, currently based on malloc and friends, not all the runtime calls the GC yet for memory *
* Fixed problems with resolving nested function context pointers for some heavily nested cases *
* Redid function argument passing + other minor code cleanups, still lots to do on this end... *
2008-01-04 01:38:42 +01:00
Tomas Lindquist Olsen
4428e47a66 [svn r134] Merged the DMD 1.024 frontend.
Added std.base64.
2007-12-28 23:52:40 +01:00
Tomas Lindquist Olsen
5eb88f9e80 [svn r133] Fixed some problems with inlining not happening :P
Fixed problems with certain cases of deeply nested classes/functions.
2007-12-28 22:55:24 +01:00
Tomas Lindquist Olsen
f420bc1265 [svn r132] Added some tests. some will fail at the moment. 2007-11-30 17:12:08 +01:00
Tomas Lindquist Olsen
0a226c956f [svn r131] Fixed #11
All associative array properties now work as they should.

Fixed problems with some cases of array.length and array.ptr.

Fixed some problems with array properties.

Fixed 'in' contracts.
2007-11-30 12:56:52 +01:00
Tomas Lindquist Olsen
32ebd9617e [svn r130] fixed #28 2007-11-28 05:04:38 +01:00
Tomas Lindquist Olsen
5ab2166b05 [svn r129] Started AA literals.
Fixed #15, passing -O will now invoke the optimizer before writing bitcode.
2007-11-28 04:52:35 +01:00
Tomas Lindquist Olsen
c4d1ae5d54 [svn r128] function local typedefs were not working 2007-11-28 03:34:37 +01:00
Tomas Lindquist Olsen
667b6339f3 [svn r127] Updated the lphobos build scripts a little. Created a new rebuild profile.
Removed some potentially very long logging lines.
Added support for inner classes.
2007-11-28 03:01:51 +01:00
Tomas Lindquist Olsen
0665531549 [svn r126] String switch is now implemented.
A few other fixes.
2007-11-27 09:19:07 +01:00
Tomas Lindquist Olsen
ea362d8402 [svn r125] Renamed/moved a few backend member inside DMD structures for consistency.
Unit tests are now implemented.
2007-11-27 03:09:36 +01:00
Tomas Lindquist Olsen
935dfae9c8 [svn r124] Fixed another D vararg + return in ptr bug.
Fixed some nested function calls failed to resolve the context ptr.
2007-11-26 07:26:21 +01:00
Tomas Lindquist Olsen
282f60e4a0 [svn r123] Fixed some typeinfo module name mismatches.
Fixed D-style varargs returning through pointer.
Fixed converting nested function to delegate.
Added std.string and std.format to Phobos.
2007-11-26 06:45:13 +01:00
Tomas Lindquist Olsen
26beb7f43d [svn r122] Fixed temporary delegates can now alloca their own storage. 2007-11-26 05:50:33 +01:00
Tomas Lindquist Olsen
e0176785c7 [svn r121] Finished ModuleInfo implementation.
Static ctors/dtors now work according to spec.
Changed class vtable types slightly in some cases. Overridden functions now always take the the type of the first class declaring the method as this parameter. This helps when using headers (w. implementation somewhere else)
2007-11-26 04:49:23 +01:00
Tomas Lindquist Olsen
cb37aab93b [svn r120] ModuleInfo implementation is now almost complete.
Fixed some nasty static array-initializer bugs.
Fixed bug in DtoArrayLen and DtoArrayPtr for full slices of static arrays.
2007-11-25 18:55:52 +01:00
Tomas Lindquist Olsen
c08b0918cc [svn r119] Added the monitor data field that comes after the vtable pointer to all classes. Represented as a void* initialized to zero. 2007-11-25 03:58:55 +01:00
Tomas Lindquist Olsen
541a677a54 [svn r118] Fixed dynamic casts.
Fixed a few interface bugs.
2007-11-25 00:19:13 +01:00
Tomas Lindquist Olsen
b43f5729b0 [svn r117] Initial working implementation of interfaces.
Groundwork for all the different types of class/interface casts laid out.
2007-11-24 06:33:00 +01:00
Tomas Lindquist Olsen
0a8ff5931a [svn r116] Implemented the ClassInfo.destructor field. 2007-11-22 22:30:10 +01:00
Tomas Lindquist Olsen
ccaf229830 [svn r115] Implemented the ClassInfo.defaultConstructor member. 2007-11-22 21:17:54 +01:00
Tomas Lindquist Olsen
be1fcd6a24 [svn r114] Implemented the ClassInfo.offTi member. 2007-11-22 21:01:01 +01:00
Tomas Lindquist Olsen
d51e392b8d [svn r113] Added initial support for associative arrays (AAs).
Fixed some problems with the string runtime support functions.
Fixed initialization of array of structs.
Fixed slice assignment where LHS is slice but RHS is dynamic array.
Fixed problems with result of assignment expressions.
Fixed foreach problems with key type mismatches.
2007-11-21 04:13:15 +01:00
Tomas Lindquist Olsen
a807cbfc91 [svn r112] Fixed 'case 1,2,3:' style case statements.
Fixed a bunch of bugs with return/break/continue in loops.
Fixed support for the DMDFE hidden implicit return value variable. This can be needed for some foreach statements where the loop body is converted to a nested delegate, but also possibly returns from the function.
Added std.math to phobos.
Added AA runtime support code, done ground work for implementing AAs.
Several other bugfixes.
2007-11-20 05:29:20 +01:00
Tomas Lindquist Olsen
adab52fad9 [svn r111] Fixed most problems with complex number support and added typeinfo for them.
Added typeinfo ti_C.
Did some changes to the way expressions that have both lvalue and rvalue LLVM values are handled.
2007-11-20 00:02:35 +01:00
Tomas Lindquist Olsen
2af443b045 [svn r110] Fixed typeinfo for classes. 2007-11-19 06:01:48 +01:00
Tomas Lindquist Olsen
b347fd8a50 [svn r109] Fixed support for static array TypeInfo 2007-11-19 03:39:46 +01:00
Tomas Lindquist Olsen
5e9f5034ff [svn r108] Now basic suppport for complex types. =,+,-,*,/ are supported. 2007-11-19 02:58:58 +01:00