Commit Graph

868 Commits

Author SHA1 Message Date
Christian Kamm
80caaf4ea0 Rename test to accepted name. 2008-12-20 09:29:36 +01:00
Christian Kamm
c92946a00a Automated merge with http://hg.dsource.org/projects/ldc 2008-12-20 09:15:46 +01:00
Christian Kamm
9d01659718 Add missing overrides for toConstExp to dmd2/expression.h. Fixes #156. 2008-12-20 09:15:31 +01:00
Christian Kamm
61a5a08135 Adjust error message for missing toConstExp to include 'is not a const exp'. 2008-12-20 09:13:44 +01:00
elrood
4c3d23ddfe modified gen/linker.cpp to only append .exe suffix on windows if not already present 2008-12-18 19:24:33 +01:00
elrood
512437d3e3 temporary fix for runtime buildscript to copy ldc's imports to tango 2008-12-18 19:21:44 +01:00
Christian Kamm
2d573974d7 Add #154 testcase. 2008-12-18 08:09:01 +01:00
Christian Kamm
8f62c080e2 Add more toConstElem stubs to get better error messages. 2008-12-18 07:59:03 +01:00
Christian Kamm
7069073f75 Applied modification of wilsonk's patch for AndAnd and OrOrExp for void rhs funcs. 2008-12-17 21:24:17 +01:00
Christian Kamm
0e1b27db3c Remove some dead code. 2008-12-17 21:03:06 +01:00
Christian Kamm
cb0201960c Apply wilsonk's patch to AddrExp::toConstElem for struct literals. 2008-12-17 20:40:27 +01:00
Christian Kamm
d3de204732 Apply phobos patch by downs. 2008-12-17 18:20:45 +01:00
Christian Kamm
a272b01df6 Apply fix for #151. 2008-12-15 21:09:33 +01:00
elrood
d8a7727942 added a patch to tango's stdio for ldc on win32 2008-12-14 17:53:20 +01:00
Christian Kamm
dff06d0f15 Add Elrood's patch to output LDC and LLVM source revs. 2008-12-14 16:51:36 +01:00
Christian Kamm
44c606c409 Missed line when removing env sanitizing. 2008-12-14 16:39:27 +01:00
Christian Kamm
c12ab60283 Add druntime to hgignore. 2008-12-14 16:31:03 +01:00
Christian Kamm
6600ef0a86 Automated merge with http://hg.dsource.org/projects/ldc 2008-12-14 16:30:20 +01:00
Christian Kamm
dabe5d3efd Remove unportable env-sanitizing code. If it is really needed, it needs to be
rethought. Closes #131.
2008-12-14 16:30:06 +01:00
Tomas Lindquist Olsen
9f2497ef77 Runtime now compiles with D2 again. This does NOT mean it works flawlessly !!! 2008-12-14 04:11:32 +01:00
Tomas Lindquist Olsen
b7bea99dbb Merged DMD 2.021 frontend.
Removed generated files from dmd/dmd2 dirs.
2008-12-13 16:14:37 +01:00
Tomas Lindquist Olsen
6716aecc52 Merged DMD 1.037 frontend 2008-12-13 13:15:31 +01:00
Christian Kamm
cabc236a79 Only emit finalbody if there is one. Fixes #147. 2008-12-13 06:48:00 +01:00
Christian Kamm
7e0c26329a Rename merged runtime to tango-base-ldc, #145. 2008-12-12 17:10:23 +01:00
Christian Kamm
62bb24d1bd Automated merge with http://hg.dsource.org/projects/ldc 2008-12-12 08:18:30 +01:00
Tomas Lindquist Olsen
c14996f39e Removed insufficient fix for DMD bug 1161, it was causing problems with instantiating imported templates, and passing private variables as aliases. I failed to come up with a proper fix! 2008-12-10 13:56:10 +01:00
Tomas Lindquist Olsen
637c59a422 more moreatatime fixes 2008-12-09 18:45:25 +01:00
Tomas Lindquist Olsen
827113a0b2 Fixed another moreatatime (as opposed to oneatatime) issue with indexing unresolved class. 2008-12-09 17:14:52 +01:00
Tomas Lindquist Olsen
99396c2e7a Fixed problem with nested function inside static nested function. see mini/compile_nested2.d. fixes #143 . 2008-12-09 14:57:01 +01:00
Tomas Lindquist Olsen
3c400ff21c Removed error on naked, not fully complete, but I'll be doing more work on it during this Christmas, and some things do work.
Fixed taking delegate of final class method. see mini/delegate3.d.
2008-12-09 14:07:30 +01:00
Tomas Lindquist Olsen
417aa57501 This ''should'' fix #139 , I failed to produce a testcase, but I would imagine this to be correct, and it removes '''that''' error when building Hybrid. 2008-12-09 03:01:19 +01:00
Tomas Lindquist Olsen
a2bf0796ce Added back a bunch of static's to gen/classes.cpp, it's not superfluous, it makes the functions internal to the compilation unit, and we don't call them anywhere else. 2008-12-09 02:07:24 +01:00
Tomas Lindquist Olsen
b6781a8eae Added proper "need 'this' to access member foo" errors instead of "variable foo not resolved" for some cases, added FIXME for the old error!
Added a bit more information to the runtime's cyclic dependency detection exception.
2008-12-09 01:56:39 +01:00
Christian Kamm
eeb4e67ec5 Update tango patch for newest tango. 2008-12-08 17:09:13 +01:00
Christian Kamm
c8fdab1715 Add all base interfaces to interfaceMap, not just direct parents.
Removed some superfluous 'static'.
2008-12-07 16:43:20 +01:00
Christian Kamm
42006b2d9c Add testcase for with(symbol) fix. 2008-12-07 16:06:10 +01:00
Christian Kamm
b83afa9eca Fix with(symbol) statement. 2008-12-07 16:02:43 +01:00
Christian Kamm
fe71199772 Only run unittests contained directly in the module. 2008-12-07 14:12:39 +01:00
elrood
0085c9409c .. and fixed the install target (hopefully) 2008-12-05 22:01:50 +01:00
elrood
5321c34637 added install target and possibility to pre- and suffix ldc's executable name to cmake scripts 2008-12-04 22:09:24 +01:00
Tomas Lindquist Olsen
5ae0f3a934 ... and fixed that test case :P ... 2008-12-04 16:13:40 +01:00
Tomas Lindquist Olsen
a5616feceb Added testcase for fix in rev [825] 2008-12-04 16:12:47 +01:00
Tomas Lindquist Olsen
2532856f1c Commented some logging that could be '''very''' long, cuts -vv output size of a gtkd gl sample down 1.2GB by 3/4.
Fixed wrong pointer type for multidimension "deep" slicing.
2008-12-04 16:11:09 +01:00
Tomas Lindquist Olsen
a012859bae Fixed problem with moduleinfo thinking it imports itself, causing assertion failure, fixes #138 2008-12-04 14:36:11 +01:00
Tomas Lindquist Olsen
3111ff1fc4 Fixed non-static struct initializers. 2008-12-03 01:40:28 +01:00
Tomas Lindquist Olsen
6997919627 Removed PAGESIZE part of Tango patch, it works for me when the check is removed.
Updated Tango patch to latest Tango revision.
2008-12-02 02:45:31 +01:00
Tomas Lindquist Olsen
879bed7df6 Added CMake option to disable generation of ClassInfo.offTi arrays, defaults to OFF. 2008-12-02 01:44:17 +01:00
Tomas Lindquist Olsen
91a2c257b0 Implemented allocating storage for a slice if its address is taken, fixes #115 2008-12-02 01:20:22 +01:00
Tomas Lindquist Olsen
c62b31a357 Fixed taking address of global static array element as constant expression. 2008-12-02 01:07:22 +01:00
Christian Kamm
5657e53c49 Fix fibers in tango patch 2008-12-01 20:26:32 +01:00