Commit graph

3545 commits

Author SHA1 Message Date
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
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
49707be82d [svn r24] * Added a simple std.traits by downs 2007-10-04 04:28:30 +02:00
Tomas Lindquist Olsen
1cb583cbca [svn r23] * Updated to DMD 1.021 2007-10-04 03:42:56 +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
8d542addd9 [svn r20] * Added a simple compiletime std.stdio by downs
* Added a simple lphobos of std.stdio (so far)
* 'tester.sh run' now links to lphobos
2007-10-03 05:41:15 +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
2fbe928ece [svn r17] changed the llvmdc.conf to use dmd.conf style values. hardcoding my home dir is obviously not the best idea... 2007-10-02 21:28:57 +02:00
Tomas Lindquist Olsen
6e85d0f89e [svn r16] * Updated all tests to have a main
* Updated runalltests to both compile and run the tests
2007-10-02 05:27:44 +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
2fe995a0c7 [svn r11] added another struct sample 2007-09-26 19:17:54 +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
5d2e8f1009 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
added readme.txt
added test/g.d - tests passing strings to functions
fixed test/dgs.d and test/funcptr, now all tests except those related to typeinfo should work.
2007-09-05 07:16:31 +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
3912dd6f04 [svn r7] forgot the conf file 2007-09-01 22:26:33 +02:00
Tomas Lindquist Olsen
d8c98056f9 [svn r6] added some missing things 2007-09-01 22:24:46 +02:00
Tomas Lindquist Olsen
34699bbb07 [svn r5] Initial commit. Most things are very rough. 2007-09-01 21:43:27 +02:00
root
1c23dd2cdc [svn r3] initial repository setup 2007-08-02 16:48:02 +02:00