Tomas Lindquist Olsen
4230f2ef11
[svn r76] Fixed: TypeInfo for structs.
...
Fixed: PostExp was unable to allocate storage for parameters.
Fixed: Many types of functions and delegates were broken.
Misc cleanups.
2007-10-29 03:28:12 +01:00
Tomas Lindquist Olsen
848ecbed0d
[svn r75] Fixed the init member in custom enum typeinfo. I don't see any way this could actually need emmision though :/
2007-10-28 19:48:57 +01:00
Tomas Lindquist Olsen
449db38d75
[svn r74] Fixed passing types with different alignment to D-style variadic functions.
...
Fixed casting integer to pointer.
2007-10-28 19:33:50 +01:00
Tomas Lindquist Olsen
58b6fc972a
[svn r73] Identity expression for dynamic array and null was broken.
2007-10-28 04:23:38 +01:00
Tomas Lindquist Olsen
b5433b6054
[svn r72] Calling a nested function that is not a delegate was not working.
2007-10-28 03:14:29 +01:00
Tomas Lindquist Olsen
feea94424c
[svn r71] Fixed accessing parent function arguments from inside nested delegates.
...
Some cleanups in VarExp::toElem.
2007-10-28 02:46:06 +02:00
Tomas Lindquist Olsen
a5d3910b57
[svn r70] Fixed bug where correct calling convention was not set on calling aggregate methods
2007-10-28 02:03:42 +02:00
Tomas Lindquist Olsen
49deafe227
[svn r69] forgot std.stdarg
2007-10-26 15:14:51 +02:00
Tomas Lindquist Olsen
498c442bc1
[svn r68] Added support for multi-dimensional static arrays.
...
Several bugfixes to array support.
2007-10-25 12:09:13 +02:00
Tomas Lindquist Olsen
1dcad1c62d
[svn r67] Fixed ignore unittests instead of failing to compile
2007-10-25 10:05:21 +02:00
Tomas Lindquist Olsen
1f13dbd766
[svn r66] Added support for imaginary floating point types
2007-10-25 09:48:36 +02:00
Tomas Lindquist Olsen
8e49b3c389
[svn r65] Added typeinfo implementations for float[], double[] and real[]
2007-10-25 09:26:17 +02:00
Tomas Lindquist Olsen
bed0a36018
[svn r64] ...
2007-10-25 09:16:05 +02:00
Tomas Lindquist Olsen
82c6cd6439
[svn r63] Forgot lphobos/typeinfo2
2007-10-25 09:04:00 +02:00
Tomas Lindquist Olsen
be330878c2
[svn r62] Added support for TypeInfo _Array, _Function, _Pointer, _Delegate, _Enum
...
Added initial support for CatExp aka 'a ~ b'
Fixed global constant static arrays initialized with string literals
Fixed casting any dynamic array to void*
Fixed new expression with temporary storage
Fixed alias declarations in function scope
Fixed relational comparisons of pointers
2007-10-25 09:02:55 +02:00
Tomas Lindquist Olsen
5478de7147
[svn r61] Added support for D-style variadic functions :)
2007-10-25 02:39:53 +02:00
Tomas Lindquist Olsen
e92b027299
[svn r60] fixed vararg1 test
2007-10-24 22:26:37 +02:00
Tomas Lindquist Olsen
152e229329
[svn r59] Added support for C-style variadic functions. Currently only works on x86, x86-64 va_arg is broken in LLVM 2.1. PPC and PPC64 unknown.
...
Updates to runtime. Rebuild!
2007-10-24 22:18:06 +02:00
Tomas Lindquist Olsen
039bc0880d
[svn r58] Fixed cond expression resulting in a non-basic type.
...
Fixed identity expression for dynamic arrays.
Revamped the system to keep track of lvalues and rvalues and their relations.
Typedef declaration now generate the custom typeinfo.
Other bugfixes.
2007-10-24 01:37:34 +02:00
Tomas Lindquist Olsen
b72a4fa645
[svn r57] Added most basic TypeInfo (rebuild lphobos).
...
Fixed some SymOffExp bugs.
Added another typeinfo test case.
2007-10-23 07:16:02 +02:00
Tomas Lindquist Olsen
5fee3fc8b7
[svn r56] Initial support for TypeInfo.
...
Enums not work.
Several other bugfixes.
2007-10-23 05:55:12 +02:00
Tomas Lindquist Olsen
2c99df8deb
[svn r55] Foreach was always generating code as if the value variable was 'ref'
...
Other not-so-major improvements
2007-10-22 17:25:44 +02:00
Tomas Lindquist Olsen
a9189bd3a9
[svn r54] Added support for nested delegates referencing parent's stack variables.
...
Replaced tester.sh with a version written in D.
A few bugfixes.
2007-10-22 15:40:56 +02:00
Tomas Lindquist Olsen
f16a0c35b5
[svn r53] added basic support for delegate literals. if you access outer variables you get a broken module
2007-10-19 17:43:46 +02:00
Tomas Lindquist Olsen
6445254a7b
[svn r52] fixed static arrays in struct literals
2007-10-19 17:15:30 +02:00
Tomas Lindquist Olsen
cca32e4efd
[svn r51] dynamic array members in struct literals was broken
2007-10-19 17:00:35 +02:00
Tomas Lindquist Olsen
114f4bd0a5
[svn r50]
2007-10-19 16:37:34 +02:00
Tomas Lindquist Olsen
0248873a79
[svn r49] foreach on dynamic arrays
2007-10-19 16:37:15 +02:00
Tomas Lindquist Olsen
b008e187bb
[svn r48] fixed some storage problems
2007-10-19 16:05:06 +02:00
Tomas Lindquist Olsen
7a9434e3b6
[svn r47] fixed a problem with gdc 4.1
2007-10-19 15:26:09 +02:00
Tomas Lindquist Olsen
817c05be2b
[svn r46] fix for shift operations
...
added a simple opengl binding in demos
2007-10-19 15:16:11 +02:00
Tomas Lindquist Olsen
795b3bfd20
[svn r45] Added a modified version of scrapple.qd (by downs) to the demos dir. It doesn't compile yet though :(
2007-10-19 07:45:35 +02:00
Tomas Lindquist Olsen
10db08076c
[svn r44] Lots of bug fixes.
...
New array literal support
New array ~= operator support (for single element)
New with statement support
More...
2007-10-19 07:43:21 +02:00
Tomas Lindquist Olsen
bc02cdd5cf
[svn r43] Fixed the rebuild profile to be able to build sdldemo1.
2007-10-10 06:21:31 +02:00
Tomas Lindquist Olsen
52a6e71703
[svn r42] Disabled the extensive logging by default. Use the -vv flag to get it back.
...
Fiddled a bit the the testing system.
Added a very simple SDL graphics demo.
2007-10-10 06:16:48 +02:00
Tomas Lindquist Olsen
67a92f5d51
[svn r41] new'd dynamic arrays are now initialized with the element type's default initializer.
...
initial label/goto support.
2007-10-10 03:38:24 +02:00
Tomas Lindquist Olsen
4fdad2c750
[svn r40] Cleaned up some of the array routines to use gep/load/store instead of memcpy/memset.
...
Resizing arrays did not allocate enough memory for types bigger than 1 byte.
2007-10-09 07:51:13 +02:00
Tomas Lindquist Olsen
e251fc42b2
[svn r39] * Updated to DMD 1.022 with the exception of:
...
Bugzilla 278: dmd.conf search path doesn't work
This fix was causing crashes for me :/ So for it's the old behaviour
2007-10-09 06:21:30 +02:00
Tomas Lindquist Olsen
3db5b9bb98
[svn r38] * resizing dynamic arrays support
...
* throw is replaced with assert(0)
* catch is ignored
* better foreach support
* various bugfixes
2007-10-09 02:50:00 +02:00
Tomas Lindquist Olsen
e17f720cce
[svn r37] * Initial support for foreach on static arrays. Not 100% complete
2007-10-04 22:38:53 +02:00
Tomas Lindquist Olsen
e4eaf0455d
[svn r36] * Fixed a bug where passing a regular argument to a ref argument did not allocate storage
2007-10-04 18:24:05 +02:00
Tomas Lindquist Olsen
56d2cff2a2
[svn r35] * Attributes on struct fields/methods now work
...
* Updated object.d to 1.021
* Added -novalidate command line option. this is sometimes useful when debugging as it may let you read the .ll even if it's invalid.
2007-10-04 16:44:07 +02:00
Tomas Lindquist Olsen
c188a544de
[svn r34] * Fixed passing a struct literal as function argument
2007-10-04 14:15:54 +02:00
Tomas Lindquist Olsen
43d59e151b
[svn r33] * Added support for assignment to function arguments
2007-10-04 13:45:22 +02:00
Tomas Lindquist Olsen
67f3d8ae60
[svn r32] * Fixed problems with arrays members of aggregates
2007-10-04 12:49:37 +02:00
Tomas Lindquist Olsen
02cf2ac384
[svn r31] * Fixed returning through hidden pointer was unable to report back the return value
...
* Fixed removed some litter instructions sometimes produced by constructor calls
2007-10-04 11:39:53 +02:00
Tomas Lindquist Olsen
c357c96471
[svn r30] * Fixed static function-local variables.
...
* Fixed CondExp - bool ? true : false
2007-10-04 10:57:26 +02:00
Tomas Lindquist Olsen
9fd43121db
[svn r29] * Fixed structs inside struct literals
2007-10-04 10:22:56 +02:00
Tomas Lindquist Olsen
24c3e2649a
[svn r28] * Fixed accessing aggregate fields. it was still not quite right. hopefully is now :)
2007-10-04 10:13:21 +02:00
Tomas Lindquist Olsen
53038b0f5e
[svn r27] * Fixed bug in aggregate field lookup.
...
* Fixed structs with no fields.
* Added support for NegExp as in -x.
2007-10-04 09:24:15 +02:00