Tomas Lindquist Olsen
21e50af2c0
[svn r78] Removed the useless pragmas
2007-10-31 04:05:38 +01:00
Tomas Lindquist Olsen
9804fe0fa3
[svn r77] Fixed foreach on slice.
...
Fixed some nested function problems when accessing outer function parameters.
Major changes to handling of structs.
Initial support for unions.
Probably more...
2007-10-31 03:11:32 +01:00
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
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
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
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
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
5fee3fc8b7
[svn r56] Initial support for TypeInfo.
...
Enums not work.
Several other bugfixes.
2007-10-23 05:55:12 +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
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
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
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
67f3d8ae60
[svn r32] * Fixed problems with arrays members of aggregates
2007-10-04 12:49:37 +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
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
Tomas Lindquist Olsen
0ba16ebb39
[svn r26] * Fixed templates defining a constant value
...
* Fixed problem with slice-slice copy assignment if a side was a temporary slice
2007-10-04 07:35:02 +02:00
Tomas Lindquist Olsen
879d2f10be
[svn r25] * Fixed a lot of problems with string literals
...
* Fixed slice-slice copying assignment
2007-10-04 07:01:15 +02:00
Tomas Lindquist Olsen
8004219a69
[svn r22] * Forgot to add std.stdio
2007-10-04 01:47:53 +02:00
Tomas Lindquist Olsen
b7650a7ae6
[svn r21] * Fixed local instances of imported templates
2007-10-03 06:14:41 +02:00
Tomas Lindquist Olsen
766fc30a30
[svn r19] * Added support for reassigning 'this' inside class constructors.
...
* Added preliminary support for UnrolledLoopStatement. That is foreach on a tuple.
2007-10-03 04:56:32 +02:00
Tomas Lindquist Olsen
50d79d4098
[svn r18] * Initial support for switch statements - No string switches yet.
...
* Moved Statement::toIR definitions into gen/statements.c - toir.c is still too big.
* Removed some BB bloat with ScopeStatements.
2007-10-03 02:15:12 +02:00
Tomas Lindquist Olsen
4eab68b36c
[svn r15] * Fixed a bunch problems with virtual calls. Seems I did some rather poor testing.
...
* Now 50/51 tests compile.
* Added a simple runalltests.d scripts that should be run with 'gdmd -run runalltests.d' - LLVMDC will not compile it yet.
2007-10-02 05:10:18 +02:00
Tomas Lindquist Olsen
e1a8afb028
[svn r14] Forgot something stupid...y
2007-10-01 23:32:29 +02:00
Tomas Lindquist Olsen
e95466cb64
[svn r13] * Updated for LLVM 2.1
...
* Class v-tables are now typesafe
* Code cleanups
2007-10-01 21:19:53 +02:00
Tomas Lindquist Olsen
1609cb80d4
[svn r12] fixed accessing aggregate fields of aggregates
...
removed some useless branches for successive scopes ala {}{}{}
2007-09-27 06:03:06 +02:00
Tomas Lindquist Olsen
329ad7747c
[svn r10] Updated for LLVM rev. 20070913
...
Applied fixes from wilsonk on the forum
Some tweaks to work with gc 7.0
Fixed aggregate members of aggregates
Fixed cyclic/recursive class declarations
Other minor tweaks
2007-09-26 19:05:18 +02:00
Tomas Lindquist Olsen
fcbcd83d8b
[svn r8] changed backend includes to always use the gen/<foo>.h prefix
...
fixed passing string literals as array parameters
few other fixes
moved some array routines into gen/arrays
2007-09-03 17:34:30 +02:00
Tomas Lindquist Olsen
34699bbb07
[svn r5] Initial commit. Most things are very rough.
2007-09-01 21:43:27 +02:00