2010-07-16  Iain Buclaw  <ibuclaw@ubuntu.com>

	Merge with DMD 2.019

	* d-decls.cc: Merge changes from dmd2/tocsym.c

	* phobos/Makefile.am, phobos/Makefile.in, phobos2/Makefile.am,
	phobos2/Makefile.in: Fix build for check-target-libphobos tests.

2010-07-14  Iain Buclaw  <ibuclaw@ubuntu.com>

	Merge with DMD 2.018

	* d-lang.cc: Added support for AsyncRead in D1.

	* dmd/constfold.c, dmd2/constfold.c: Fixed lost precision when casting
	from large floats to integral types.

	* dmd/todt.c, dmd2/todt.c: Fixed initialiased pointer array values
	being reset to null during compilation.

	* Make-lang.in, d-backendfunctions.c, dmd/template.c: Removed
	backendfunctions.c from Makefile.

2010-07-11  Iain Buclaw  <ibuclaw@ubuntu.com>

	* d-asm-i386.h: AMD Opcodes Supported.

	* Make-lang.in, dmd/mtype.c, dmd/struct.c, target-ver-syms.sh:
	struct ABI fixes.

	* phobos/std/math.d, phobos2/std/math.d: Fix wrong return value in
	expi() function.

2010-07-07  michaelp  <baseball.mjp@gmail.com>

	* dmd/arrayop.c: Fix problem with float array operations.
	- Added linear search for the array op library functions.

2010-07-05  Iain Buclaw  <ibuclaw@ubuntu.com>

	* dmd2/..., phobos2/...: Resolved issues for DMD 2.017.

	* phobos2/configure, phobos2/configure.in: Re-add GNU_Need_execvpe for
	D2 libphobos.

	* dmd/mtype.h, phobos2/internal/object.d, phobos2/std/cpuid.d:
	Quick updates to previous revisions.

2010-07-05  michaelp  <baseball.mjp@gmail.com>

	Merge DMD 2.017

2010-07-04  Iain Buclaw  <ibuclaw@ubuntu.com>

	Merge DMD 1.052

	* d-glue.cc: Fix ICE when using type tuple as function argument.

	* phobos/..., phobos2/...: libphobos cleanup and updates.

	* d-codegen.cc, d-decls.cc: Fix problem when building with
	--enable-checking.

2010-06-28  michaelp  <baseball.mjp@gmail.com>

	* setup-gcc.sh: D1 is default in setup-gcc.sh now.

2010-06-27  Iain Buclaw  <ibuclaw@ubuntu.com>

	Merge with DMD 1.050

	* Make-lang.in: Update for files added in DMD 1.050.

	* phobos/etc/c/zlib.d, phobos/std/zlib.d, phobos2/etc/c/zlib.d:
	Updated Zlib to 1.2.3.

2010-06-22  michaelp  <baseball.mjp@gmail.com>

	* phobos/configure, phobos/configure.in, phobos/std/process.d,
	phobos2/configure, phobos2/configure.in, phobos2/std/process.d:
	Fix problem when building with a version of GNU C that has execvpe()
	implemented (staring with glibc-2.11).

	* phobos/configure, phobos/configure.in, phobos/std/c/freebsd/freebsd.d:
	Fix problem when linking on FreeBSD targets.

2010-06-19  Iain Buclaw  <ibuclaw@ubuntu.com>

	Merge with DMD 1.049

	* d-lang.cc: Merge changes from dmd/mars.c.

	* d-codegen.cc, d-decls.cc: Fix ICEs in const array assignments.

	* d-lang.cc, dmd-script, lang.opt: Added -fdeps option to gdc and
	-deps to gdmd.

	* dmd/mem.c, dmd/mem.h, dmd/port.c, dmd/rmem.h, dt.cc, dt.h,
	phobos/internal/qsortg.d: Remove executable bit on source files.
	
2010-06-12  Iain Buclaw  <ibuclaw@ubuntu.com>

	Merge with DMD 1.047

	* d-codegen.cc: Look for reference initializations in foreach
	statement assignments.
	
	* dmd/..., dmd2/..., phobos/..., phobos2/...: Converted CR, CRLF line
	endings to LF (thanks to venix1).

2010-06-04  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	* d-asm-i386.h: Apply patch to compile tango (thanks to venix1).

2010-04-05  michaelp  <baseball.mjp@gmail.com>

	Merge with DMD 1.046

	* d-decls.cc: Fix problem with struct declarations in GCC-4.3.x.

	* dmd-script: Added -pipe option to gdmd

	* d-lang.cc, phobos/...: Fix FreeBSD and Windows version issues.

	* dmd/root.c: Fix Windows template instantiating error.

	* dmd/func.c: Fix segfault on wrong arg type.

2010-02-17  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	* d-glue.cc: Make d1 classinfo like d2 ones.
	
	* dmd/expression.c, phobos/std/process.d: Apply feep (downs) patch.

2010-02-07  michaelp  <baseball.mjp@gmail.com>

	Merge with 1.045

	* phobos/linux.mak, phobos/win32.mak: Removed Phobos .mak files for
	D 1.045 update.

	* samples/hello.d, samples/samples.sh: Added 1 file to samples
	directory.

2010-01-15  opticron  <nyphbl8d@gmail.com>

	* phobos/std/string.d: Fix a set of bugs in std.string.split which
	made delemiters of length > 1 segfault.

2009-12-28  michaelp  <baseball.mjp@gmail.com>

	Merge with DMD 1.043

	* phobos/configure.in: Changed part of phobos configure.
	
	* samples/README, samples/samples.sh: Uploading the start of the some
	small tests to help in the testing of GDC/D components.

	* Make-lang.in,	d-lang.cc, dmd/machobj.c, phobos/config/unix.x3,
	phobos/std/file.d, phobos/std/moduleinit.d, phobos/std/socket.d: Fixed
	problem when building on Mac OS X.

2009-12-05  michaelp  <baseball.mjp@gmail.com>

	Merge with DMD 1.042

	* Make-lang.in: Added async.dmd.o

	* d-asm-i386.h, d-codegen.h: Merge changes from	dmd/constfold.c.

	* d-codegen.h, phobos2/aclocal.m4, phobos2/configure.in: Fixed
	problems with D2.

2009-11-22  michaelp  <baseball.mjp@gmail.com>

	Merge with DMD 1.041

	* Make-lang.in: Update for files added in DMD 1.041.

	* d-backendfunctions.c: Added stubs for functions in the backend that
	cannot be included in the front end source.

	* dmd-script: Added Bitbucket page to display for gdmd wrapper script.

2009-11-07  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	Changes to GCC-4.4.x branch:
	
	* tools/makewebstatistics.d: Added d tool to generate webstats about
	dstress in D2.

2009-10-25  michaelp  <baseball.mjp@gmail.com>

	Merge with DMD 1.040
	
	* dmd/..., phobos/...: Now working for D1 (Not on GCC 4.3.4?)

	* asmstmt.cc: Merge from dmd/statement.c

	* phobos/acinclude.m4, phobos/configure.in, phobos/phobos-ver-syms.in:
	Posix is now defined.

2009-10-24  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	* dmd/attrib.c, dmd/cast.c, dmd/class.c, dmd/constfold.c,
	dmd/declaration.c, dmd/dsymbol.c, dmd/expression.c, dmd/toobj.c: Fixes
	some errors in the DMD v1 frontend. Trying to fix DMD 1.039, but still
	no fix. The problem may be in phobos then.

	Changes to GCC-4.4.x branch:
	
	* d-lang.cc, d-lang.h setup-gcc.sh, patches/patch-gcc-4.4.x,
	patches/patch-toplev-4.4.x: Applied Eldar patches for gcc 4.4.0

2009-10-07  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	* dmd2/attrib.c, dmd2/class.c, dmd2/declaration.c, dmd2/doc.c,
	dmd2/dsymbol.h, dmd2/func.c, dmd2/parse.c, dmd2/statement.c,
	dmd2/template.c, dmd2/toir.c: 2.015 WORKING ;)
	
	* dmd2/parse.c: Fixed problem with static if.

	* dmd2/template.c: Fixed problem with tuples.

	* Makefile-lang.in: Update for files added in DMD 2.015.

2009-10-01  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	Changes to 2.032 branch:

	* dmd2/..., phobos2/...: Force merge with 2.032 - NOT WORKING AT ALL.
	- Adding new files.

2009-10-04  michaelp  <baseball.mjp@gmail.com>

	Merge with DMD 1.039

	* d/d-decls.cc: Merge changes from dmd/mtype.h.
	
	* phobos/internal/aaA.d, phobos/std/stdio.d: Small Phobos fix.
	
2009-09-30  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	* phobos2/internal/aaA.d, phobos2/linux.mak, phobos2/std/algorithm.d,
	phobos2/std/functional.d, phobos2/std/math.d, phobos2/std/thread.d:
	DMD 2.015 Phobos changes.

	* Make-lang.in: Fixed a problem introduced by Michael modifying a
	common file between D1 and D2.


2009-09-29  michaelp  <baseball.mjp@gmail.com>

	Merge with DMD 1.036

2009-09-28  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	Merge with DMD 2.015

	* dmd2/mtype.h, dmd2/parse.c: Fixed parser in D2.

	* dmd2/template.c, dmd2/toobj.c: Other fixes.

2009-09-28  michaelp  <baseball.mjp@gmail.com>

	Merge with DMD 1.035

	* d-objfile.cc: Merge changes from dmd/attrib.c.
	
	* phobos/Makefile.in, phobos/internal/arraydouble.d,
	phobos/internal/arrayfloat.d: Included arraydouble, arrayfloat, and
	arrayreal in libphobos Makefile.
	
	* asmstmt.cc, dmd/statement.c, dmd/statement.h, phobos/std/math.d: Fixed
	Phobos std.math bug.

2009-09-25  michaelp  <baseball.mjp@gmail.com>

	Merge with DMD 1.033

2009-09-17  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	* dmd2.032/...: Initial import of version 2.032.

	* setup-gcc.sh, dmd/.svn/...: Removed .svn directory.

2009-09-13  michaelp  <baseball.mjp@gmail.com>

	* phobos/std/boxer.d phobos/std/dateparse.d: Fixed phobos build and
	possible implicit conversion errors in boxer.d.
	
	* d-objfile.cc: Removed assert(0) line 926.

2009-09-13  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	* History gdc-version: Changed version.

	* phobos2/config/x3, setup-gcc.sh: Added support for DMD 2.

	* phobos2/std/c/string.d, phobos2/std/contracts.d: Fixed a std.string
	bug following these guidelines:
	http://www.digitalmars.com/d/archives/D/gnu/strerror_r_3403.html

	* phobos2/std/contracts.d, phobos2/std/date.d, phobos2/std/dateparse.d,
	phobos2/std/file.d, phobos2/std/md5.d, phobos2/std/path.d,
	phobos2/std/random.d, phobos2/std/stdio.d: Fix DMD 2 for GCC-4.3.4

2009-09-11  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	Switching to Mercurial branch system.

	* d/...: Setting up default branch with GCC-4.3.x support.

	* branches/gcc-4.1/...: Starting gcc-4.1.x stable branch.

	* setup-gcc.sh, target-ver-syms.sh: Fixed permission problems in
	bash scripts.

2009-09-10  Vincenzo Ampolo  <vincenzo.ampolo@gmail.com>

	* trunk/...: Import of gdc 0.24 stable into bitbucket.

2009-01-31  Arthur Loiret  <arthur.loiret@u-psud.fr>

	* d-glue.cc, d-objfile.cc, d-codegen.cc, d-lang.h, d-builtins2.cc,
	d-convert.cc, d-codegen.h: Replace calls to build macro by appropriate
	buildN function (build is removed in GCC > 4.1).

2008-12-12  Arthur Loiret  <arthur.loiret@u-psud.fr>

	Bugzilla 929:

	* dmd/mtype.c: Provide isZeroInit() overload in TypeAArray that
	returns TRUE.
	* dmd/mtyoe.h: Add prototype for TypeAArray::isZeroInit().

	* dmd2/mtype.c, dmd2/mtype.h: Ditto.

2008-07-21  David Friedman  <David Friedman>

	* dmd/root.c, dmd2/root.c: Fix earlier patching error.
	
	* phobos/config/x3.c, phobos2/config/x3.c: Fix problem when
	building under MSYS.

	* config-lang.in: Remove lang_requires.

2008-07-20  David Friedman  <David Friedman>

	* dmd/expression.c, dmd2/expression.c: Make integer conversion 
	fix work for other hosts/targets.

2008-07-20  Arthur Loiret  <arthur.loiret@u-psud.fr>

	* dmd/expression.c: Fix integer conversion routines on x86_64.
	Patch from downs <default_357-line@yahoo.de>, thanks!
	* dmd2/expression.c: Likewise.

	* config-lang.in: Add lang_requires="c c++".

2008-07-19  David Friedman  <David Friedman>

	* patches/patch-gcc-4.0.x, patches/patch-gcc-4.1.x: Fix infinite
	loop bug in patch.
	* patches/patch-apple-gcc-4.0.x: Ditto.

	* d-lang.cc: Do not assume D_OS_VERSYM is defined.
	Handle TARGET_xxx_CPP_BUILTINS macros for more targets.

2008-07-17  David Friedman  <dvdfrdmn@users.sf.net>

        * dmd-script: Append an exe suffix to executables when the
        target is Windows.

	* phobos/gcc/deh.d, phobos2/gcc/deh.d: Fix for sjlj exceptions.

2008-06-16  David Friedman  <dvdfrdmn@users.sf.net>

	* d-decls.cc: Correct logic for output constanting vars for V1.

2008-06-01  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD.1.30 and 2.014

	* dmd-script: Implement -man, -lib and single-object features.

	* phobos2/Makefile.am: add bigint

	* phobos2/config/{ldfuncs,ldfuncs-darwin,ldfuncs-ppclinux,noldfuncs},
	Merge nanl change from std/c/math.d
	
	* phobos2/gcc/support.d: Merge std/c/math.d changes.

	* d-objfile.cc (obj_append): Implement.
	* phobos2/std/c/unix/unix.d: Merge linux.d and socket.d changes

	* d-glue.cc, d-irstate.cc, d-lang.cc: Update

	* dmd/..., dmd2/..., phbobos/..., phobos2/...: Merge

2008-05-26  David Friedman  <dvdfrdmn@users.sf.net>

	* asmstmt.cc, d-decls.cc, d-glue.cc, d-misc.c, d-objfile.{cc, h}:
	Fix for -combine compilation.  Remove fileContext global and clean
	up generation of unique symbol names.

	* phobos/internal/object.d: Correct merge error
	
	----

	* dmd-script, lang.opt, d-lang.cc, : support -ignore

	Merge DMD 1.029 and 2.013
	
	* phobos2/std/perf.d: use std.c.unix.unix

2008-05-22  Arthur Loiret  <arthur.loiret@u-psud.fr>

	* target-ver-syms.sh: Add missing CPUs and fix
	d_cpu_versym/d_cpu_versym64 for each.

	* d-lang.cc: Fix build on non biarched 64-bit archs (alpha, ia64, ...)
	and fix 64-bit cpu detection.

	* Move patch-* to patches/
	* setup-gcc.sh: Update.

2008-05-10  David Friedman  <dvdfrdmn@users.sf.net>

	* lang-specs.h: Support a "cc1d" spec. (Bugzilla 2068)

	Merge DMD 1.028 and 2.012

	* d-codegen.{h,cc}: Add postblitting array libcalls.

	* phobos2/internal/arrayassign.d
	(_d_arraysetassign, _d_arraysetctor): Use size_t.

	* d-glue.cc (AssignExp::toElem): Postblit-aware code

	* phobos2/Makefile.am: Add arrayssign.d. Remove math2.d.

	* dmd/..., dmd2/..., phbobos/..., phobos2/...: Merge

2008-05-03  David Friedman  <dvdfrdmn@users.sf.net>

	* d-dmd-gcc.h, d-glue.cc, dmd*/toobj.c: Cleanup: Remove unused
	d_gcc_aggregate_dtors.

2008-05-02  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.027 and 2.011

	* termios.d: Point to std.c.unix.unix.  Leave original
	termios.d as termios.d.orig-dmd

	* asmstsmt.cc: Implement blockExit
	
	* phobos2/config/unix.x3: Add termios stuff

	* phobos2/std/c/unix/unix.d: Merge new funcs from std.c.linux.d

	* d-objfile.cc: Implement stub obj_startaddress

	* d-glue.cc (ForStatement::toIR): condition may be NULL
	(DeleteExp::toIR): Use libcalls for interfaces

	* dmd*/clone.c, dmd*/e2ir.c: New files.

	* Make-lang.in: Add new clone.c

	* d-codegen.{h, cc}, d-glue.cc: Use _d_callinterfacefinalizer.
	Also use _d_delinterface instead of casting.

	* dmd/..., dmd2/..., phbobos/..., phobos2/...: Merge
	
2008-04-27  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.026 and 2.010

	* dmd/..., dmd2/..., phbobos/..., phobos2/...: Merge

	---

	* d-lang.cc (d_write_global_declarations): Make earlier change
	regarding cgraph_optimize only apply to 4.0.x.

	---

	* d-decls.cc (VarDeclartion::toSymbol): Change for
	V2 STCmanifest.  Make more constant vars have
	static storage (instead of making CONST_DECLs) in
	both V1 and V2.

	* dmd2/constfold.c (Cmp): Compare wchar	and dchar
	strings portably.

	* asmstmt.cc (ExtAsmStatement::semantic): Heuristic
	for evaluating operands:  If an input operand, evaluate.

	* d-asm-i386.h: Make previous change apply to V1.

	* d-glue.cc (TypeEnum::toCtype): Update.

	Phobos changes (applies to V2 Phobos as well):
	
	* phobos/Makefile.am, phobos/configure.in:
	Deal with strerror_r portability.

	* phobos/Makefile.in, phobos/configure, phobos/config.h.in:
	Updated.
	
	* phobos/gcc/cbridge_strerror.c: New file.

	* phobos/std/c/string.d: Replace non-portable strerror_r with
	_d_gnu_cbridge_strerror.

	* phobos/std/file.d, phobos/std/loader.d, phobos/std/process.d,
	phobos/std/socket.d, phobos/std/stdio.d: Use
	_d_gnu_cbridge_strerror.

	Merge DMD 2.009:

	* dmd2/..., phobos2/...: Merge.

	Merge DMD 1.025:

	* dmd/..., phobos/...: Merge.

2008-04-25  David Friedman  <dvdfrdmn@users.sf.net>

	* asmstmt.cc, d-asm-i386.h: Handle some other cases
	for constant floating point operands.

2008-04-19  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd/toobj.c, dmd2/toobj.c (EnumDeclaration::toObjFile):
	Output initializer correctly.

	* d-decls.cc (EnumDeclaration::toInitializer): Correctly
	set up initializer symbol. (Bugzilla 1746)

2008-04-17  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd/toobj.c (InterfaceDeclaration::toObjFile): Fix error.
	(Bugzilla 1844)

2008-04-16  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.{h, cc}: Clean up nested function / nested class /
	closure code.

	* phobos/std/c/stdlib.d, phobos2/...: Remove comment that hides
	atof. (Bugzilla 1888)

2008-03-11  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc: cleanup
	
	* dmd/expression.c (DotVarExp::semantic): Apply fix from dmd2/

	* dmd2/expression.c (DotVarExp::semantic): Move fix to
	better location.

2008-03-09  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd2/func.c (FuncDeclaration::needsClosure): Closures fix:
	Change test from isVirtual to isThis.

	* dmd2/expression.c (DotVarExp::semantic): Note change from DMD.

	----

	* patch-build_gcc-5465: Correctly build driver-driver

	* phobos*/Makefile.am (MAIN_OBJS): Add std/cover.o

	* phobos2/std/file.d: use 'mkdir -p' in unittest

	* d-builtins2.cc: Fixes for pointer-to-function types (for V2)

	* d-codegen.cc: Add _d_allocmemory libcall. 
	(emitLocalVar): Rework.
	(var): New function to handle static-frame/closure variables
	(convertTo): Use typesSame instead of typesCompatible
	(assignValue): New function to handle Exp(v=value) vs. Exp(value)
	(getFrameForFunction, getFrameForNestedClass): New interface
	to get frames for nested functions.
	(functionNeedsChain): Return false for nested functions that
	take closures.

	* d-decls.cc: Changes for const/invariant/STCinit

	* d-glue.cc: Use new interface for nested functions.  Use
	IRState::var instead of v->toSymbol()->Stree.  Create
	closures.

	* d-lang.cc: Implement CONVERT_PARM_FOR_INLINING hook

	* d-objfile.cc: Add case for closure-using function when
	setting the link-once attribute.

	* package/simple.sh: install .../include/d2

	* patch-build_gcc-4.0, patch-build_gcc-5465: Support D 2.0
	includes and libraries.

	* phobos2/std/bitmanip.d: Apply previous bitarray.d changes.

	* phobos*/std/typeinfo/ti_ptr.d (getHash): Cast to hash_t.

	* d-decls.cc (VarDeclaration::toSymbol): For D 2.0, use
	isInvariant() and STCinit as criteria for making CONST_DECLs and
	setting TREE_READONLY.

	* phobos2/std/c/linux/linux.d: Do not import std.c.dirent.
	
	* phobos2/std/c/dirent.d: Deprecated std.c.dirent.
	
	* phobos2/std/c/unix/unix.d: Move dirent/DIR routines here.

	* phobos*/std/c/darwin/ldblcompat.d: declare constants as 'string'

	Merge DMD 2.008:

	* dmd2/..., phobos2/...: Merge.

	Merge DMD 1.024:

	* phobos*/config/unix.x3: ensure MSG_NOSIGNAL is defined

	* dmd/..., phobos/...: Merge.

	------

	* patch-apple-gcc-4.0.x, patch-apple-gcc-5465: Include patch
	for SRA pass like the other 4.x patches.

	* d-codegen.cc (convertTo): Ensure pointers are cast to an
	unsigned type.

	* d-objfile.cc (dt2tree_list_of_elems): Always generate a
	CONSTRUCTOR for struct data.
	(ObjectFile::ObjectFile): Use NULL_TREE for file context instead
	of TRANSLATION_UNIT_DECL.

	* d-lang.cc (d_write_global_declarations): Call
	debug_hooks->global_decl before cgraph_optimize so that nested
	class functions do not get passed to dwarf2out before the
	outer class functions.

	* Rename patch-build_gcc-4.0 to patch-build_gcc-4.0.x

2007-12-15  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos*/Makefile.{am,in}, phobos*/aclocal.m4: Automake changes

	* setup-gcc.sh: Support Apple GCC build 5465

	* patch-apple-gcc-5465, patch-build_gcc-5465, patch-toplev-5465:
	new files

2007-12-01  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config/unix.x3, phobos/config/x3.c, phobos/config/x3.h
	phobos/config/x3, phobos/config/x3main.c: better diagnostics
	and behavior
	
2007-11-24  David Friedman  <dvdfrdmn@users.sf.net>

	* setup-gcc.sh: Ignore .svn directories when making symlink trees.

	* d-bi-attrs-34.h, d-bi-attrs-341.h, d-bi-attrs-40,h,
	d-bi-attrs-41.h: Support attributes on declarations in
	other modules.

	* d-codegen.cc (IRState::attributes): Support constant declarations
	as string arguments.

2007-11-08  David Friedman  <dvdfrdmn@users.sf.net>

	* d-cppmngl.cc: Use base-36 in substitutions.  Other fixes.

2007-10-17  David Friedman  <dvdfrdmn@users.sf.net>

	* d-cppmngl.cc: More C++ mangling fixes and cleanups.

2007-10-16  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc (EqualExp::toElem): Convert result to libcall
	to expression type. (Bugzilla 1573)

2007-10-15  David Friedman  <dvdfrdmn@users.sf.net>

	* d-cppmngl.cc: Improve C++ mangling.

2007-10-14  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.022, 2.005

	* dmd/..., dmd2/..., phobos/..., phobos2/...: Merge.

	* Make-lang.in: Add builtin.dmd.o and d-cppmngl.o for V2.

	* d-cppmngl.cc: New file

	* phobos/std/c/dirent.d, phobos/std/c/linux/linux.d: Update
	* phobs2/...: same

	* symbol.h, d-decls.cc: Remove references to Classym

	----

	* d-glue.cc (CatExp::toElem): Null check. (Bugzilla 1581)

	Remove carriage returns from files

2007-10-13  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc (CatExp::toElem): Flatten multiple CatExps into a
	single library call. (Bugzilla 1556)

	* phobos/std/boxer.d (box, boxArray), phobos2/...: Fix for
	promoted types.	(Bugzilla 1543)

	* d-codegen.cc (call): Catch a case in which a member function can
	be called without 'this'. (Bugzilla 1568)

	* dmd/mtype.c (TypeArray::dotExp): Correct return type of
	sort and reverse functions. (SF 1809220 / Bugzilla 1554)

	* dmd2/mtype.c: Ditto.

	* patch-gcc-4.1.x: Add patch for ARM exception handling int nested
	functions.

	* d-objfile.cc: Make DT data TREE_CONSTANT

	* dmd2/optimize.c: Fix for infinite recursion on initializer
	when an error has already occurred.

	-----

	Add support for ARM EABI.  Fix some missing items from
	cross-compilation changes.

	* d-lang.cc: Add "Arm" and "Thumb" version identifiers

	* phobos/unwind.d: Move pointer encoding to deh_pe.d. Move generic
	unwinder interface to unwind_generic.d.  Import either generic or
	ARM interfaces based on config value.
	
	* phobos/unwind_generic.d, phobos/unwind_pe.d: New file; old code.
	
	* phobos/unwind_arm.d: New file.

	* phobos/deh.d: Support ARM exception handling ABI.

	* phobos/configure.in, frag-ac.in: Add config for ARM unwinder

	* phobos/configure.in, phobos/internal.c, phobos/monitor.c: Support
	"no system" targets.

	* phobos/cbridge_math.c: Correct identifier names for earlier
	changes.

	* phobos/Makefile.am, phobos/Makefile.in, phobos/config.h.in,
	phobos/configure : Update.
	
	* phobos2/...: Duplicate phobos/ changes

2007-10-07  David Friedman  <dvdfrdmn@users.sf.net>

	Merge cross-compilation changes to phobos2

	* phobos2/....: Merge

	---

	Enhance cross-compilation support:

	* phobos/Makefile.am, phobos/Makefile.in, phobos/acinclude.m4,
	phobos/aclocal.m4, phobos/configure.in, phobos/configure,
	phobos/config.h.in: Replace "fragment generation" with "X3"
	system.  Remove obsolete tests.

	* phobos/config/{config-head, config-mid, config-tail}: Removed
	* phobos/config/{makestruct.h, unix-head, unix-mid}: Removed
	* phobos/{darwin8, mingw, skyos}: Removed

	* phobos/config/{errno.x3, fpcls.x3, libc.x3, unix.x3},
	phobos/config{x3, x3.c, x3.h, x3main.c}:  New files

	* phobos/frag-ac.in: Now only contains boolean constants.
	* phobos/frag-math.in: New file.  Contains old configured math
	functions.

	* phobos/gcc/configext.d: Removed
	* phobos/gcc/support.d: Move fallback strtold definition here.
	
	* phobos/Makefile.am: Do not compile std/c/stdio.o
	* phobos/std/c/stdio.c: Change function definitions to external
	declarations.

	* phobos/gcc/deh.d, phobos/gcc/fpcls.d, phobos/gcc/fpmath.d,
	phobos/gcc/support.d, phobos/gcc/threadsem.d,
	phobos/internal/dgccmain2.d, phobos/internal/fpmath.d,
	phobos/internal/gc/gcgcc.d, phobos/phobos-ver-syms.in,
	phobos/std/c/dirent.d, phobos/std/c/math.d, phobos/std/c/stddef.d,
	phobos/std/c/stdio.d, phobos/std/c/stdlib.d, phobos/std/c/time.d,
	phobos/std/c/unix/unix.d, phobos/std/date.d, phobos/std/math.d,
	phobos/std/math2.d, phobos/std/mmfile.d, phobos/std/random.d,
	phobos/std/stdio.d, phobos/std/stream.d, phobos/std/system.d,
	phobos/std/thread.d: Update.  Add some support for targets
	withouth an operation system.

2007-09-24  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc (IndeExp::toElem), d-codegen.cc (arrayElemRef):
	Put the BIND_EXPR "inside the brackets". (Bugzilla 1155)

	(StructLiteralExp::toElem): Handle NULL elements (for anonymous
	unions.)

2007-09-23  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.{h,cc}, d-glue.cc: Add type to error_mark_node
	for code that assumes the type of certain expressions.
	(Bugzilla 1051)

	* d-glue.cc (FuncDeclaration::toObjFile): Set DECL_IGNORED_P
	on the frame paramter.  (Bugzilla 1033)

	* d-glue.cc, d-codegen.cc, d-objfile.cc: Set DECL_IGNORED_P
	in most cases where DECL_ARTIFICIAL is set.

	* d-builtins2.cc (d_gcc_magic_builtins_module): Handle type
	declarations after converting functions.

	* d-glue.cc (make_assign_math_op): Special case for division
	when lhs is imaginary. (Bugzilla 739)

	* dmd-script: Apply Ander's patch for implicit -H and -D
	behavior.  (Bugzilla 1502)

	Use of -of argument does not depend on header generation.
	(Bugzilla 1501)

	* d-builtins2.cc,  dmd*/module.c: If the target va_list is a
	struct, add the struct declaration to the object module.
	(Bugzilla 1507)

	* dmd2/parse.c: fix line endings

	----

	Update for D 2.0:

	* Make-lang.in: Support both DMD front end version 1 and 2.
	Replace gcc-mars.cc with  d/mars.c.

	* gcc-mars.cc: Remove file.

	* d-codegen.h, d-codegen.cc: Update for DMD 2.x.
	Add _d_hidden_func libcall.

	* d-decls.cc, d-glue.cc: Update for DMD 2.x.

	* d-dmd-gcc.h: Add rtlsym, etc.

	* d-lange.cc: Include mars.h.  Implement rtlsym.

	* d-objfile.cc (ObjectFile::hasModule): Add checks to allow
	this function to be called earlier.
	
	* dmd*/mars.c: Make changes for GDC.

	* dmd*/attrib.c: Use WANTinterpret for pragma(GNU_asm)

	* dmd2/parse.c (parseDeclarator): Fix aliasing bug.

	* rdmd.d: Update for D 2.0

	* gdc-version: now only contains the GDC version

	* setup-gcc.sh: Support building D version 1 or 2.  Take DMD
	version from dmd*/mars.c.

	* dmd2/, phobos2/: New directories

	* phobos2/Makefile.am (MAIN_OBJS): add std.c.stdio module
	for std{in,out,err} vars

	* phobos*/std/c/stdio.d: Make functions with definitions
	extern(D).

	* phobos2/std/loader.d: Update for D 2.0.

	* phobos2/std/hiddenfunc.d: Use C calling conventions for GDC.
	
2007-09-14  David Friedman  <dvdfrdmn@users.sf.net>


	* d-codegen.cc (convertTo, call): Prevent multiple re-evaluation
	of delgate. (Bugzilla 1492)

2007-09-13  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc, d-codegen.h, d-codegen.cc: Make it an error
	to reference a nested function without a body. (SF 1793594)

2007-09-12  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config/ldfuncs-ppclinux: Declare sqrt.

	* target-ver-syms.sh, phobos/acinclude.m4, phobos/configure.in:
	Support kfreebsd.

	* d-codegen.{h, cc}, d-glue.cc: Change rawArray to toDArray. Do
	not cast result to void[]. (Bugzilla 1490)

2007-09-07  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/c/stdio.d: Define fpos_t correctly for Drawin
	(Bugzilla 1469)

2007-09-05  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.021

	* dmd-script, d-spec.c (lang_specific_driver): Support
	-debuglib= and -defaultlib= options.

	* dmd/cast.c, dmd/constfold.c, dmd/declaration.c, dmd/dsymbol.c,
	dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/identifier.c,
	dmd/idgen.c, dmd/init.c, dmd/init.h, dmd/interpret.c, dmd/lexer.c,
	dmd/lexer.h, dmd/link.c, dmd/mars.c, dmd/mars.h, dmd/parse.c,
	dmd/statement.c, dmd/staticassert.c, dmd/template.c: Merge

	* internal/object.d, phobos/internal/trace.d, phobos/object.d,
	phobos/std/c/windows/windows.d, phobos/std/date.d,
	phobos/std/regexp.d, phobos/std/windows/registry.d: Merge

	---

	* phobos/std/stdio.d (readln): Use the result of getdelim
	correctly. (SF 1788195)

	* d-glue.cc (FuncDeclaration::toObjFile): Do not gimplify if
	there were errors (Bugzilla 1415)

2007-08-31  David Friedman  <dvdfrdmn@users.sf.net>

	* d-objfile.cc (outdata): Do not set TREE_CONSTANT on initializers
	(Bugzilla 1453)

2007-08-29  David Friedman  <dvdfrdmn@users.sf.net>

	* d-decls.cc (uniqueName): Allow multiple static declaration with
	the same name if in a function. (SF 1783085)

2007-08-28  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (call): Use CommaExp correctly. (Bugzilla 1443)

	* dmd/todt.c (createTsarrayDt): Don't take quadratic time to build
	the initializer. (Bugzilla 1440)

2007-08-22  David Friedman  <dvdfrdmn@users.sf.net>

	Release GDC 0.24

	---

	* rdmd.d: Fix for Windows

2007-08-21  David Friedman  <dvdfrdmn@users.sf.net>

	* GDC.html, History, README, gcc-mars.cc, gdc-version:
	Update for 0.24

	* rdmd.d, rdmd.1: New files. (Bugzilla 1152)

	* patch-build_gcc-4.0: Build universal rdmd. (Bugzilla 1152)

	* package/simple.sh: Install rdmd. (Bugzilla 1152)
	Install man pages for MacOS build.

	* dmd-script: Apply Ander's patch to make -op apply
	to interface files. (Bugzilla 1137)

	* d-lang.cc (d_parse_file): In -fall-sources mode,
	only generate an interface file for the -fonly module.

	* phobos/internal/adi.d (_adReverseChar, _adReverseWchar):
	Make sure stride difference is signed.

2007-08-20  David Friedman  <dvdfrdmn@users.sf.net>

	* patch-gcc-4.1.x, patch-gcc-4.0.x: Fix botched patches.

2007-08-05  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (convertForArgument): Recognize
	pointer arithmetic expression as reference.
	(Bugzilla 1400)

	* d-glue.cc (DotVarExp::toElem): Do not NOP_EXPR
	the result. (Bugzilla 1398)

2007-07-27  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/stdio: Fix breakage from last commit.
	(SF 1761989)

2007-07-26  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/c/stdio.d: Change import for gcc.config

	* d-lang.cc: add flag_iso for target macros

	* patch-gcc-4.0.x:  (gcc/tree-sra.c): Do not use SRA
	on structs with aliased fields created for anonymous
	unions.  (Followup to Bugzilla 1034)

2007-07-25  David Friedman  <dvdfrdmn@users.sf.net>

	* d-lang.cc: implement d_gcc_is_target_win32

	* dmd/parse.c (parseLinkage): use d_gcc_is_target_win32

	* d-dmd-gcc.h (d_gcc_is_target_win32): added

2007-07-24  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.019 - 1.020

	* dmd/attrib.c, dmd/cast.c, dmd/constfold.c, dmd/declaration.h,
	dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/idgen.c,
	dmd/inline.c, dmd/interpret.c, dmd/mars.c, dmd/mars.h,
	dmd/mtype.c, dmd/mtype.h, dmd/opover.c, dmd/parse.c,
	dmd/template.c, dmd/template.h, dmd/tocsym.c, dmd/toir.c: Merge

	* phobos/internal/gc/gc.d, phobos/linux.mak,
	phobos/std/demangle.d, phobos/std/format.d, phobos/std/loader.d,
	phobos/std/socket.d, phobos/std/uni.d: Merge

2007-07-22  David Friedman  <dvdfrdmn@users.sf.net>
	
	Merge DMD 1.015 - 1.018:

	* dmd/lexer.c (escapeSequence): Change vendor string.

	* dmd-script: Update documentation link

	* dmd/attrib.c, dmd/cast.c, dmd/class.c, dmd/declaration.c,
	dmd/dsymbol.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
	dmd/hdrgen.h, dmd/idgen.c, dmd/init.c, dmd/init.h, dmd/inline.c,
	dmd/interpret.c, dmd/lexer.c, dmd/mars.c, dmd/mars.h,
	dmd/module.c, dmd/mtype.c, dmd/mtype.h, dmd/optimize.c,
	dmd/parse.c, dmd/scope.c, dmd/scope.h, dmd/statement.c,
	dmd/statement.h, dmd/staticassert.c, dmd/template.c: Merge

	* phobos/internal/dmain2.d, phobos/internal/gc/gcx.d,
	phobos/internal/object.d, phobos/object.d, phobos/std/bind.d,
	phobos/std/compiler.d, phobos/std/date.d, phobos/std/dateparse.d,
	phobos/std/format.d, phobos/std/intrinsic.d, phobos/std/loader.d,
	phobos/std/math2.d, phobos/std/metastrings.d, phobos/std/mmfile.d,
	phobos/std/outbuffer.d, phobos/std/string.d,
	phobos/std/windows/registry.d, phobos/win32.mak: Merge

	----

	* gdc_alloca.h: Support OpenBSD. (Bugzilla 1065)

	* patch-gcc-4.1.x (gcc/tree-sra.c): Do not use SRA
	on structs with aliased fields created for anonymous
	unions.  (Bugzilla 1034)

2007-07-19  David Friedman  <dvdfrdmn@users.sf.net>

	* patch-gcc-4.1.x (gcc/predict.c): Add null-pointer check.
	(Bugzilla 1035)

	---

	* phobos/std/format.d (doFormatPtr): Fix accidental
	reversion from DMD merge.

	* d-codegen.cc (maybeSetUpBuiltin): Add some missing
	instrinsics.

	* phobos/Makefile.am (MAIN_OBJS): Add gcc.builtins
	module to get built-instruct initializers.

	* phobos/Makefile.in: Regenerated

	* d-lang.cc (d_parse_file): Call d_gcc_magic_module
	for each module on the command line.

	* d-builtins2.cc (d_gcc_magic_builtins_module): output
	declaration other than funcs

2007-07-16  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd/todt.c (StructLiteralExp::toDt): Use target_size_t
	as in StructInitializer::toDt.

	Bugzilla 1032:
	
	* dmd/todt.c: Use DT_container for arrays, array elements,
	and structs

	* dt.h, d-objfile.cc: Add DT_container / dtcontainer

2007-07-14  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (ArrayScope::setArrayExp, finish): Handle
	constant lengths.  (Bugzilla 1031)

2007-07-13  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (toElemLvalue): Use toElemLvalue recursively.
	(Bugzilla 1191)

	* d-codegen.cc (twoFieldCtor): Only set TREE_READONLY if
	TREE_CONSTANT

	* d-glue.cc (array_set_expr, AssocArrayLiteralExp::toElem,
	(StructLiteralExp::toElem, NullExp::toElem):
	Do not set TREE_READONLY.

	* d-glue.cc (NewExp::toElem): Do not set TREE_READONLY on
	new array dimensions.

	* d-codegen.cc (darrayVal): Do not set TREE_READONLY.
	(Bugzilla 1329)
	
	(delegateVal): ditto

	* d-codegen.cc (FieldVisitor::visit): Handle classes that
	are forward references. (Bugzilla 1325)

	* dmd-script: Pass -J option correctly.	(SF 1721435)

	* d-glue.cc (DeleteExp::toElem): Handle interfaces.
	(SF 1721496)

	* d-decls.cc (VarDeclaration::toSymbol): Handle void initializer.
	(SF 1749622)

	* d-glue.cc (AndAndExp, OrOrExp): Handle void second expression.
	(SF 1689634)

	* phobos/gcc/cbridge_time.c (_d_gnu_cbridge_tza): Remove
	daylight saving time offset from tm_gmtoff (Bugzilla 1208)

	* phobos/std/format.d (doFormat): Use original signature.  Actual
	work is done by new doFormatPtr. (Bugzilla 1109)
	
	* phobos/std/boxer.d: Use doFormatPtr

2007-07-11  David Friedman  <dvdfrdmn@users.sf.net>

	* d-convert.cc (default_conversion): make public
	(SF 1711324 and 1709602)

	* d-apple-gcc.c (build_function_call): re-enable some code

2007-05-08  David Friedman  <dvdfrdmn@users.sf.net>

	* d-apple-gcc.c: Remove a variable that is now defined in d-lang.c

	* d-lang.cc: Fix for other GCC versions.

	* d-c-stubs.c: New file.

	* Make-lang.in (D_BORROWED_C_OBJS): Always use C_TARGET_OBJS.  Add
	stubs for C compiler to allow linking target-specific preprocessor
	defines.

2007-05-05  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (hwi2toli, getTargetSizeConst): Fix 2x wide int to
	long int conversion.

	* dmd/cast.c (implicitConvTo): Use GCC floating point
	routines instead of native.

	* d-gcc-real.cc (toInt): Correctly convert to long integer
	
	* Make-lang.in (D_DMD_H): Add d/d-gcc-real.h

	* phobos/internal/dgccmain2.d: Print newline after error message

2007-04-29  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.014:

	* dmd/aggregate.h, dmd/constfold.c, dmd/delegatize.c, dmd/enum.c,
	dmd/enum.h, dmd/expression.c, dmd/expression.h, dmd/idgen.c,
	dmd/inline.c, dmd/interpret.c, dmd/lexer.c, dmd/lexer.h,
	dmd/mars.c, dmd/mtype.c, dmd/optimize.c, dmd/struct.c,
	dmd/template.c, dmd/tocsym.c, dmd/todt.c, dmd/toobj.c,
	dmd/typinf.c: Merge.

	* phobos/internal/gc/gc.d, phobos/internal/gc/gcx.d,
	phobos/std/format.d, phobos/std.ddoc: Merge.

	* d-glue.d (StructLiteralExp::toElem): implement
	* d-decls.d (EnumDeclaration::toInitializer): copy from tocsym.c

	------------

	Merge DMD 1.013:
	
	* dmd/cast.c, dmd/constfold.c, dmd/declaration.c,
	dmd/expression.c, dmd/expression.h, dmd/interpret.c, dmd/link.c,
	dmd/mars.c, dmd/mtype.c, dmd/opover.c, dmd/optimize.c,
	dmd/parse.c, dmd/port.h, dmd/statement.c: Merge.
	
	* phobos/internal/aaA.d, phobos/internal/switch.d,
	phobos/std/date.d, phobos/std/file.d, phobos/std/format: Merge.

	* d-codegen.h, d-codegen.cc: add _d_assocarrayliteralTp
	* d-glue.cc (AssocArrayLiteralExp::toElem): Implement.

	* phobos/internal/aaA.d (_d_assocarrayliteralT): modified
	to use pointers to keys, values.
	
	--------------

	Merge DMD 1.012:

	* arraytypes.h, dmd/declaration.c, dmd/delegatize.c,
	dmd/expression.c, dmd/expression.h, dmd/init.c, dmd/init.h,
	dmd/inline.c, dmd/interpret.c, dmd/lexer.c, dmd/lexer.h,
	dmd/mangle.c, dmd/mars.c, dmd/optimize.c, dmd/template.c,
	dmd/template.h: Merge

	* phobos/internal/object.d: Merge
	
	* dmd/template.c (TemplateInstance::mangle): printf portability

	* d-glue.cc (AssocArrayLiteralExp::toElem): non-working implementation

2007-04-28  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.011:

	* dmd/access.c, dmd/aggregate.h, dmd/arraytypes.h, dmd/attrib.c,
	dmd/attrib.h, dmd/bit.c, dmd/cast.c, dmd/class.c, dmd/complex_t.h,
	dmd/cond.c, dmd/cond.h, dmd/constfold.c, dmd/declaration.c,
	dmd/declaration.h, dmd/delegatize.c, dmd/doc.c, dmd/doc.h,
	dmd/dsymbol.c, dmd/dsymbol.h, dmd/dump.c, dmd/entity.c,
	dmd/enum.c, dmd/enum.h, dmd/expression.c, dmd/expression.h,
	dmd/func.c, dmd/hdrgen.c, dmd/hdrgen.h, dmd/html.c, dmd/html.h,
	dmd/identifier.c, dmd/identifier.h, dmd/idgen.c, dmd/impcnvgen.c,
	dmd/import.c, dmd/import.h, dmd/inifile.c, dmd/init.c, dmd/init.h,
	dmd/inline.c, dmd/interpret.c, dmd/lexer.c, dmd/lexer.h,
	dmd/link.c, dmd/macro.c, dmd/macro.h, dmd/mangle.c, dmd/mars.c,
	dmd/mars.h, dmd/module.c, dmd/module.h, dmd/mtype.c, dmd/mtype.h,
	dmd/opover.c, dmd/optimize.c, dmd/parse.c, dmd/parse.h,
	dmd/scope.c, dmd/scope.h, dmd/statement.c, dmd/statement.h,
	dmd/staticassert.c, dmd/staticassert.h, dmd/struct.c,
	dmd/template.c, dmd/template.h, dmd/tocsym.c, dmd/todt.c,
	dmd/toir.c, dmd/toir.h, dmd/toobj.c, dmd/total.h, dmd/typinf.c,
	dmd/unialpha.c, dmd/utf.c, dmd/utf.h, dmd/version.c, dmd/version.h:
	Merge

	* phobos/internal/gc/gc.d, phobos/internal/gc/gcx.d,
	phobos/internal/object.d, phobos/std/c/locale.d,
	phobos/std/stdio.d, phobos/std/windows/registry.d: Merge

	* dmd/expression.c: Comment out some logging code.
	* d-builtins2.cc: Update and fix handling of built-in structs.
	* d-codegen.cc, d-glue.cc: Update

	----------------

	Merge DMD 1.010:

	* dmd/aggregate.h, dmd/class.c, dmd/declaration.c, dmd/doc.c,
	dmd/dsymbol.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
	dmd/interpret.c, dmd/mars.c, dmd/scope.c, dmd/statement.c,
	dmd/template.c, dmd/template.h, dmd/todt.c: Merge.

	* phobos/internal/dmain2.d, phobos/internal/gc/gc.d,
	phobos/internal/gc/gcx.d, phobos/internal/gc/testgc.d,
	phobos/internal/object.d, phobos/object.d,
	phobos/std/c/linux/linux.d, phobos/std/c/stdio.d,
	phobos/std/file.d, phobos/std/gc.d, phobos/std/moduleinit.d,
	phobos/std/regexp.d, phobos/std/stdio.d, phobos/std/string.d,
	phobos/std.ddoc, phobos/win32.mak: Merge

	* dmd/mtype.c, phobos/internal/dgccmain2.d: Update.
	* d-glue.cc (gcc_d_backend_init): Update.

	* phobos/config/unix-mid, phobos/std/c/unix/unix.d: Moved dirent
	and stdio definitions out of configunix to std.c.unix.unix because
	of compilation problems.

	* phobos/internal/gc/gcx.d (GC.realloc, GC.extend, GC.free): Clear
	gcx.p_cache

	* phobos/std/stdio.d, phobos/frag-ac.in, phobos/configure.in:
	  Account for various configurations.

	* phobos/phobos-ver-syms.in: Remove GNU_Have_fwide
	* phobos/configure: Regenerate

2007-04-22  David Friedman  <dvdfrdmn@users.sf.net>

	* d-gcc-includes.h, d-lang.cc: Add target-specific preprocessor
	symbols to the list of D version symbols.

	* d-glue.cc (NewExp::toElem): Use NewExp::newtype (Bugzilla 1038)

2007-04-16  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 1.009 (from 1.007):

	* d-decls.c: Merge changes from dmd/tocsym.c

	* dmd/constfold.c, dmd/declaration.c, dmd/declaration.h,
	dmd/expression.c, dmd/expression.h, dmd/init.c, dmd/interpret.c,
	dmd/mangle.c, dmd/mars.c, dmd/mars.h, dmd/mtype.c,
	dmd/optimize.c, dmd/statement.c, dmd/staticassert.c,
	dmd/tocsym.c, dmd/todt.c: Merge changes.

	* phobos/std/path.d, phobos/std/string.d: Merge changes.

	----

	* d-builtins.c, d-builtins2.cc, d-lang.h: Reworked code to only
	convert built-in functions when the gcc.builtins module is
	imported.  RECORD_TYPE is now converted to a TypeStruct.  Fixed
	problem that caused some functions to not be available.  Support
	targets builtins.

2007-03-11  David Friedman  <dvdfrdmn@users.sf.net>

	* d-decls.cc (ClassDeclaration::toSymbol): Do not set TREE_READONLY.
	(Bugzilla 1037)

2007-03-10  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (call): Handle CommaExp form of a delegate call
	(Bugzilla 1043)

	* d-decls.cc (VarDeclaration::toSymbol): Partial fix for Bugzilla 1044

	* dt.h, d-objfile.cc, dmd/typeinf.c: Only pad 32-bit words in RTTI if
	needed. (Bugzilla 1045, 1046)
	* dmd/toobj.c: update

	* d-glue.cc, d-objfile.cc: Additional GCC 3.3.x cleanup

	----

	* ChangeLog, History, Make-lang.in, asmstmt.cc, d-builtins.c,
	d-codegen.cc, d-convert.cc, d-decls.cc, d-gcc-includes.h,
	d-gcc-real.cc, d-glue.cc, d-gt.c, d-irstate.cc, d-lang.cc,
	d-lang.h, d-misc.c, d-objfile.cc, d-spec.c, phobos/configure.in,
	setup-gcc.sh: Remove support for GCC 3.3.x

	* phobos/configure: Regenerated

	* gcc-3.3.5-framework-headers.patch,
	gcc-3.3.5-framework-linker.patch, patch-gcc-3.3.x,
	patch-gcc-darwin-eh-3.3.x, patch-toplev-3.3.x,
	phobos/config/ldfuncs33, phobos/config/noldfuncs33,
	d-bi-attrs-33.h: Removed.
	
2007-03-05  David Friedman  <dvdfrdmn@users.sf.net>

	Release GDC 0.23

	* phobos/Makefile.am: Add all-local target to build libgphobos.a
	* phobos/Makefile.in: Regenrated

	PowerPC 64 fixes:

	* d-glue.cc (TypeStruct:toCtype): Add words at the end of a struct.

	* phobos/config/darwin8/frag-unix: More accurate struct definitions.
	* phobos/internal/gc/gc_dyld.c: Support Mach-O 64.
	* phobos/internal/gc/gcgcc.d: Correct stack for 64-bit Darwin.
	* phobos/std/thread.d (getESP): Align result.

2007-03-04  David Friedman  <dvdfrdmn@users.sf.net>

	Rest of DMD 1.007 Merge:

	* package/simple.sh: Install GDC.html

	* Make-lang.in (D_DMD_OBJS): add interpret.dmd.o

	* gdc-version: update

	* GDC.html, d-lang.cc, dmd-script, lang-specs.h, lang.opt,
	patch-gcc-4.0.x, patch-gcc-4.1.x, patch-apple-gcc-4.0.x,
	patch-gcc-3.4.x, patch-gcc-3.3.x: Add -J option.

	* dmd/constfold.d, dmd/declaration.h, dmd/func.c: update

	* d-glue.c: update

	Initial merge of DMD 1.007 (from DMD 1.005):

	* dmd/arraytypes.h, dmd/attrib.c, dmd/cond.c, dmd/constfold.c,
	dmd/declaration.c, dmd/declaration.h, dmd/expression.c,
	dmd/expression.h, dmd/func.c, dmd/idgen.c, dmd/init.c,
	dmd/lexer.c, dmd/lexer.h, dmd/mars.c, dmd/mars.h, dmd/module.c,
	dmd/mtype.c, dmd/opover.c, dmd/optimize.c, dmd/parse.c,
	dmd/parse.h, dmd/statement.c, dmd/statement.h, dmd/template.c,
	dmd/typinf.c: Merge

	* phobos/internal/aApply.d, phobos/internal/aApplyR.d,
	phobos/internal/adi.d, phobos/internal/dmain2.d,
	phobos/internal/gc/gc.d, phobos/internal/gc/gcx.d,
	phobos/internal/gc/win32.d, phobos/internal/object.d,
	phobos/std/base64.d, phobos/std/c/string.d, phobos/std/c/time.d,
	phobos/std/c/windows/com.d, phobos/std/c/windows/windows.d,
	phobos/std/dateparse.d, phobos/std/demangle.d, phobos/std/file.d,
	phobos/std/format.d, phobos/std/regexp.d, phobos/std/stdio.d,
	phobos/std/stream.d, phobos/std/string.d, phobos/std/thread.d,
	phobos/std/utf.d: Merge

	* dmd/interpret.c: New file

2007-03-03  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/c/darwin/darwin.d: Remove. (Bugzilla 984)

	* phobos/std/date.d: Cleanup

	* d-lang.cc: Evaluate BYTES_BIG_ENDIAN at runtime.

	* d-codegen.cc: Cleanup.

	* d-glue.cc: Initialize foreach key with zero, not default init.

	* patch-gcc-4.0.x, patch-gcc-4.1.x, patch-apple-gcc-4.0.x:
	Prevent emission of prologue and epilogue code for naked functions.
	(Bugzilla 1013)

2007-03-02  David Friedman  <dvdfrdmn@users.sf.net>

	* d-lang.cc: Test BYTES_BIG_ENDIAN at runtime.

	* d-glue.cc (ForeachStatement::toIR): Initialize key to zero, not
	defaultInit.

	* patch-build_gcc-4.0, phobos/acinclude.m4, phobos/configure.in,
	phobos/Makefile.am: Remove references to libgphobos.spec

	* phobos/Makefile.in, phobos/configure: Regenerate

	* patch-gcc-3.4.x, patch-gcc-3.3.x, patch-gcc-4.0.x,
	patch-gcc-4.1.x, patch-apple-gcc-4.0.x: Support enabling
	-pthread option by default without 'unrecognized option'
	error message.

	* d-spec.c (lang_specific_driver): Enable -pthread option

	* phobos/libgphobos.spec.in: Remove

2007-02-28  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/loader.d: Fix error

2007-02-27  David Friedman  <dvdfrdmn@users.sf.net>

	* setup-gcc.sh: Create directory of links instead of a single
	link.  No longer need to copy support files.

	* target-ver-syms.sh: Support targets with both 32-bit and
	64-bit modes.  Output preprocessor definitions instead of
	command line otions.

	* Make-lang.in: Put target-ver-syms.sh output in d-confdefs.h.

	* package/simple.sh: Handle multilib.
	
	* phobos/configure.in: Use Automake, multilib.
	* phobos/Makefile.am: New file.
	* phobos/acinclude.m4: Fix quoting.

	* phobos/Makefile.in, phobos/configure: regenerated

	* patch-gcc-3.3.x, patch-gcc-3.4.x, patch-gcc-4.0.x,
	  patch-gcc-4.1.x, lang-specs.h: Add %N spec code.

	* patch-build_gcc-4.0: Grab 64-bit libgphobos.a

	* dt.h, d-objfile.cc
	(dt_size): Change return type to target_size_t.  Use target_size_t.
	(dtnzeros, dtdword, dtxoff): Change count to target_size_t
	(dtabytes, dtnbytes, dtawords, dtnwords, dtnbits): Change count to size_t
	(dti32): added

	* d-todt.cc: Cleanup.

	* d-objfile.cc:
	(dt2node): use Type::tsize_t for DT_word and DT_xoff

	* d-glue.cc:
	(PtrExp::toElem): Use target_size_t for offset
	(gcc_d_backend_init): Set CLASSINFO_SIZE and Tindex.
	(AssignExp::toElem): Use tsize_t for _d_arraycopy arg
	(CaseStatement::toIR): (not really a 64-bit change) Use int32 for
	case value to match libcall
	(CatAssignExp::toElem): cleanup (not 64-bit)
	(ForeachStatement::toIR): fix bug in key increment expression

	* d-codegen.{cc,h}
	(AggLayout::addField): use target_size_t for offset

	* d-codegen.cc:
	(...): LIBCALL_ARRAYCAST: Use size_t args (libcall already uses size_t)
	LIBCALL_ARRAYCOPY: ditto
	(convertTo): Use Type::tsize_t for _d_arraycat arguments

	* d-decls.cc
	(ClassDeclaration::toVtblSymbol): Use Type::tindex for array size.
	(FuncDeclaration::toThunkSymbol): Use target_ptrdiff_t

	* lang.opt: add -fmultilib-dir

	* d-lang.cc: Use -fmultilib-dir

	(d_init): Set global.params.isX86_64 if TARGET_64BIT.
	Set CPU version symbol according to TARGET_64BIT.
	Remove BitsPerPointer and BitsPerWord version symbols.

	* d-builtins2.cc
	(d_gcc_magic_builtins_module): Change "abi" integer types
	to "C".  Add "pointer" integer types.
	(gcc_type_to_d_type): Use Type::tindex for array types.  Use whole
	back-end size.

	* symbol.h
	(Thunk): Use target_ptrdiff_t for offset.

	* dmd/mars.h: Define target_size_t and target_ptrdiff_t to allow use of
	32-bit size-tracking variables when generating 32-bit code.

	* dmd/aggregate.h:
	(CLASSINFO_SIZE) change to 'extern int' %%....
	* dmd/cast.d: Use target_ptrdiff_t with isBaseOf.

	* dmd/class.c:
	(ClassDeclaration::semantic): use PTRSIZE
	(InterfaceDeclaration::semantic): Use sc->offset = PTRSIZE * 2 instead of
	8 -- not sure what this is for...

	* dmd/dsymbol.[ch]
	(Dsymbol::size): Change to target_size_t

	* dmd/init.h: ArrayInitializer::dim <- chg to target_size_t

	* dmd/aggregate.h: Use target_ptrdiff_t and target_size_t

	* dmd/typinf.c (TypeInfoStructDeclaration::toDt): Use dti32 for flags.
	* dmd/toobj.c (Module::genmoduleinfo, ClassDeclaration::toObjFile,
	InterfaceDeclaration::toObjFile): ditto

	* dmd/func.c: Use target_ptrdiff_t with isBaseOf.
	(NewDeclaration::semantic): Allow Type::tuns64 if 64-bit.

	* dmd/mtype.c
	(Type::init): set CLASSINFO_SIZE
	(Type::dotExp): use Type::tsize_t for .offsetof property
	(TypeArray::dotExp): use Type::tsize_t for _adReverse args
	(TypeAArray::dotExp): use PTRSIZE to align keysize
	(TypeStruct::dotExp): use Type::tsize_t for offset
	(TypeStruct::alignsize): use target_size_t

	* dmd/mtype.h: Add Tindex global variable.
	(Type): Change tindex to baseic[Tindex].
	(Type::isBaseOf): use target_ptrdiff_t

	* dmd/expression.[ch]:
	(SymOffExp): offset changed to target_size_t
	(NewExp::semantic): use size_t as argument
	(ArrayLiteralExp::toMangleBuffer, SymOffExp::toCBuffer): fix printf

	* dmd/declaration.c
	(VarDeclaration::semantic): use sinteger_t for dim

	* dmd/declaration.h:
	(Declaration::size): Use target_size_t
	(VarDeclaration): Use target_size_t for offset

	* dmd/schope.h:
	(Scope::offset) Use target_size_t.

	* dmd/statement.c:
	(ForeachStatement::semantic): Change return value of _a*Apply* to
	Type::tint32.  Fix logic for allowed index variable types.
	Use PTRSIZE to align keysize.

	* dmd/struct.c
	(AggregateDeclaration::addField): use target_size_t

	* dmd/todt.c
	(StructInitializer::toDt): Use target_size_t for offsets
	(ClassDeclaration::toDt2): Use PTRSIZE

	* phobos/object.d, phobos/internal/object.d:
	(Interface): Use ptrdiff_t for offset.
	(*.toHash): cast pointer to size_t

	* phobos/internal/object.d: Use integer type definitions from
	phobos/object.d.  Split %.*s args.
  
	* phobos/internal/adi.d:
	(_adReverse): Use size_t for szelem.
	* phobos/configure.in: fix multilib dir
	* phobos/configure: updated

	* phobos/config/cb_unix.c: Removed.

	* phobos/config/gen_config1.c: Add ssize_t.

	* phobos/config/config-head: Use __builtin_Clong and __builtin_Culong.
	* phobos/config/config-mid: Support X86_64 and other 64-bit CPUs.
	* phobos/config/unix-mid: Some size_t and ssize_t arg/return type fixes.

	* phobos/config/darwin8/frag-gen, phobos/config/darwin8/frag-unix:
	Support 32- and 64-bit.
	* phobos/config/mingw/frag-unix, phobos/config/skyos/frag-unix:
	Add ssize_t.

	* phobos/gcc/builtins.d: Update documentation

	* phobos/gcc/unwind.d: Use different builtin integer types.

	* phobos/internal/arraycat.d (_d_arraycopy): use size_t arg

	* phobos/std/c/fenv.d: Add field for 64-bit Linux.

	* phobos/std/c/linuxextern.d: Use C long for timezone.

	* phobos/std/c/stdio.d,
	  phobos/std/c/stdlib.d, phobos/std/c/math.d,
	  phobos/std/c/time.d: use C long types

	* phobos/std/stdint.d: Add C long types.
	Use ptrdiff_t and size_t for *intptr_t types.

	* phobos/std/format.d: Formatting structs on X86_64 looses

	* phobos/internal/cast.d (_d_isbaseof2): change offset to size_t

	* phobos/internal/fpmath.d: Support 64-bit CPUs.

	* phobos/std/file.d: Type of stat.st_size may vary; use auto.
	(Unix read): Make sure file's size is within range.

	* phobos/crc32.d, phobos/gcstats.d,
	phobos/internal/qsortg.d: 
	phobos/internal/gc/gc.d (_d_arraycatnT),
	phobos/internal/gc/gcold.d (_d_arraycatn),
	phobos/internal/gc/gcx.d,
	phobos/internal/mars.h,
	phobos/std/base64.d, phobos/std/bitarray.d, phobos/std/math.d,
	phobos/std/math2.d, phobos/std/md5sum.d, phobos/std/outbuffer.d, 
	phobos/std/path.d, phobos/std/string.d, phobos/std/uri.d
	phobos/std/typeinfo/ti_AC.d,
	use size_t, ptrdiff_t/ssize_t

	* phobos/std/loader.d: Add definitions for 64-bit Mach-O objects.
	
	* phobos/std/openrj.d, phobos/std/loader.d, phobos/std/moduleinit.d,
	phobos/std/socket.d, phobos/std/regexp.d, phobos/std/uri.
	d, phobos/std/zip.d: split '%.*s' args

	* phobos/std/typeinfo/ti_A*.d, phobos/std/typeinfo/ti_ptr.d:
	fix compare methods

	* phobos/internal/gc/gc_dyld.c: use uintptr_t

	* phobos/std/c/stdio.d, phobos/internal/gc/gcgcc.d: 
	Don't use old version symbols.

	* phobos/std/c/mach/mach.d (natural_t): always a uint

	* phobos/etc/c/zlib.d: use Culog_t

2007-02-13  David Friedman  <dvdfrdmn@users.sf.net>

	* setup-gcc.sh: Copy the removed files from the top-level
	directory.

2007-02-10  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config.guess, phobos/config.sub, phobos/install-sh:
	Remove files.

	* phobos/std/format.d (putAArray): account for
	alignment of the value

	* phobos/Makefile.in: fix metastrings.o

2007-02-09  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/format.d (doFormat): use aligntsize

	Rest of DMD 1.005 merge:

	* phobos/Makefile.in (MAIN_OBJS): add metastrings.o

2007-02-08  David Friedman  <dvdfrdmn@users.sf.net>

	* d-lang.cc, lang.opt: support -v1 option

	* lang.opt (d_init_options): set global.params.Dversion

	* dmd-script: -v1 -> -fd-version=1

	* phobos/std/format.d (doFormat): Fix for var args differences

	Initial merge of DMD 1.005:

	dmd/attrib.c, dmd/attrib.h, dmd/cast.c, dmd/cond.c,
	dmd/constfold.c, dmd/dsymbol.c, dmd/dsymbol.h, dmd/expression.c,
	dmd/expression.h, dmd/func.c, dmd/idgen.c, dmd/inline.c,
	dmd/lexer.c, dmd/lexer.h, dmd/mars.c, dmd/module.c, dmd/mtype.c,
	dmd/mtype.h, dmd/optimize.c, dmd/parse.c, dmd/parse.h,
	dmd/scope.c, dmd/statement.c, dmd/statement.h, dmd/template.c,
	dmd/template.h, dmd/toobj.c, dmd/typinf.c: Merge.

	phobos/internal/aaA.d, phobos/internal/gc/gc.d,
	phobos/internal/object.d, phobos/linux.mak, phobos/std/c/stdlib.d,
	phobos/std/conv.d, phobos/std/ctype.d, phobos/std/format.d,
	phobos/std/regexp.d, phobos/std/zlib.d, phobos/std.ddoc,
	phobos/win32.mak: Merge.

	phobos/std/metastrings.d: New file

2007-02-05  David Friedman  <dvdfrdmn@users.sf.net>

	Release GDC 0.22

	* d-codegen.cc (twoFieldType): Fix back end -> front end type
	mapping.

	* Make-lang.in: Enable ELFOBJ to put some RTTI in the read-only
	data section.

	* GDC.html: Update

2007-02-04  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/gcc/cbridge_time.c (_d_gnu_cbridge_tza),
	phobos/std/date.d: Fix timezone adjust sign

2007-02-03  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config/unix-mid: Correctly initialize sockaddr*
	(Bugzilla 818)

	* dmd-script: Fix -H* options (Bugzilla 896).
	Support -framework. Fix error message.

	* d-lang.cc (d_write_global_declarations), patch-gcc-4.1.x:
	Fixes for dwarf2out ICEs

	* d-objfile.cc (check_static_sym): Fix setting TREE_CONSTANT.

	Rest of DMD 1.004 merge:

	* gcc-mars.cc, gdc-version: Update

	* phobos/std/regexp.d: update

	* phobos/internal/gc/gcold.d (_d_newarrayip): 

	* phobos/internal/gc/gc.d: Fix argument and result types.

	* phobos/config/unix-head, phobos/config/unix-mid: Update

	* phobos/Makefile.in: Update for files removed in DMD 1.004

	* d-decls.cc (TypedefDeclaration::toInitializer): Copy
	from dmd/tocsym.c.  Create the Sdt here.
	
	* dmd/toobj.c (TypedefDeclaration::toObjFile): Update
	for toInitializer change

	* dmd/mtype.c (TypeArray::dotExp): Fix library call decls

	* d-lang.cc: Update

	* d-codegen.[ch], d-glue.cc: Update memory allocation library
	calls.

	* d-lang.cc (d_write_global_declarations): call
	emit_debug_global_declarations only for GCC 4.0

	* dmd/mtype.c (TypeArray::dotExp): update

	* phobos/config/unix-head, phobos/config/unix-mid: update

	* phobos/internal/gc/gcold.d: Use old GDC modifications.
	
2007-02-02  David Friedman  <dvdfrdmn@users.sf.net>

	Initial merge DMD 1.004:

	* dmd/aggregate.h, dmd/attrib.c, dmd/attrib.h, dmd/declaration.c,
	dmd/declaration.h, dmd/dsymbol.c, dmd/dsymbol.h, dmd/expression.c,
	dmd/import.c, dmd/import.h, dmd/inline.c, dmd/mars.c, dmd/mars.h,
	dmd/module.c, dmd/module.h, dmd/mtype.c, dmd/mtype.h,
	dmd/struct.c, dmd/template.c, dmd/template.h, dmd/tocsym.c,
	dmd/todt.c, dmd/toobj.c, dmd/typinf.c: Merge DMD 1.004

	* phobos/internal/aaA.d, phobos/internal/adi.d,
	phobos/internal/arraycast.d, phobos/internal/arraycat.d,
	phobos/internal/gc/gc.d, phobos/internal/gc/gcx.d,
	phobos/internal/gc/linux.mak, phobos/internal/gc/win32.mak,
	phobos/internal/object.d, phobos/linux.mak, phobos/object.d,
	phobos/std/c/linux/linux.d, phobos/std/compiler.d,
	phobos/std/file.d, phobos/std/gc.d, phobos/std/outbuffer.d,
	phobos/std/random.d, phobos/std/regexp.d,
	phobos/std/typeinfo/ti_AC.d, phobos/std/typeinfo/ti_Acdouble.d,
	phobos/std/typeinfo/ti_Acfloat.d, phobos/std/typeinfo/ti_Acreal.d,
	phobos/std/typeinfo/ti_Adouble.d, phobos/std/typeinfo/ti_Afloat.d,
	phobos/std/typeinfo/ti_Ag.d, phobos/std/typeinfo/ti_Aint.d,
	phobos/std/typeinfo/ti_Along.d, phobos/std/typeinfo/ti_Areal.d,
	phobos/std/typeinfo/ti_Ashort.d, phobos/std/typeinfo/ti_C.d,
	phobos/std/typeinfo/ti_cdouble.d, phobos/std/typeinfo/ti_cfloat.d,
	phobos/std/typeinfo/ti_char.d, phobos/std/typeinfo/ti_creal.d,
	phobos/std/typeinfo/ti_dchar.d, phobos/std/typeinfo/ti_delegate.d,
	phobos/std/typeinfo/ti_double.d, phobos/std/typeinfo/ti_float.d,
	phobos/std/typeinfo/ti_ptr.d, phobos/std/typeinfo/ti_real.d,
	phobos/std/typeinfo/ti_void.d, phobos/std/typeinfo/ti_wchar.d,
	phobos/win32.mak: Merge DMD 1.004

	* phobos/std/typeinfo/ti_Aa.d, phobos/std/typeinfo/ti_Adchar.d,
	phobos/std/typeinfo/ti_Aubyte.d, phobos/std/typeinfo/ti_Auint.d,
	phobos/std/typeinfo/ti_Aulong.d, phobos/std/typeinfo/ti_Aushort.d,
	phobos/std/typeinfo/ti_Awchar.d: Removed in DMD 1.004

	* phobos/internal/gc/gcold.d: New in DMD 1.004

2007-02-01  David Friedman  <dvdfrdmn@users.sf.net>

	* d-lang.cc (d_write_global_declarations): Emit debug info.

	* d-codegen.cc (twoFieldType): Fix debugging information.
	* d-objfile.cc (initTypeDecl): Ditto.

	* d-glue.cc (PtrExp::toElem): Don't wrap the result in
	a NOP_EXPR.

	* Make-lang.in: Add d-tree.def to dependencies

2007-01-30  David Friedman  <dvdfrdmn@users.sf.net>

	GCC 4.1.x changes:

	* GDC.html, INSTALL, INSTALL.html, README: update

	* dmd/idgen.c, dmd/impcnvgen.c, dmd/mtype.h: Change to allow
	compilation as C.

	* patch-gcc-4.1.x, patch-toplev-4.1.x: New files

	* Make-lang.in: Use $(version) instead of $(gcc_version). 
	Add d-bi-attrs-41.h.  Use C for generator programs instead of C++.

	* d-bi-attrs-41.h: New file.

	* d-builtins.c: update

	* d-builtins2.cc: Do not associate d_gcc_builtin_va_list_d_type with
	va_list_type_node.  Do this for GCC 4.0 and 4.1.

	* d-codegen.cc: Use CtorEltMaker.
	(maybeExpandSpecialCall): Cast d_gcc_builtin_va_list_d_type to
	va_list_type_node.
	(hostToTargetString): Update.

	* d-codegen.h: Add CtorEltMaker class for before/after 4.1.x
	compatibility.

	* d-convert.cc: Add special case for pointer/int comparison

	* d-decls.cc: Do not use SET_DECL_ASSEMBLER_NAME for CONST_DECLs

	* d-gcc-includes.h: Include vec.h

	* d-glue.cc: Use CtorEltMaker.
	(gcc_d_backend_init): Call default_init_unwind_resume_libfunc

	* d-lang.cc: Add d_types_compatible_p hook for va_list conversion

	* d-lang.h: Update

	* d-objfile.cc: CtorEltMaker.

	* phobos/std/conv.d: Do not assume signed integer wraparound.

2007-01-28  David Friedman  <dvdfrdmn@users.sf.net>

	* d-asm-i386.h, d-codegen.cc, d-gcc-real.cc,
	d-decls.cc, d-glue.cc, d-lanc.cc: various fixes

	* d-codegen.cc, d-codegen.h, d-glue.cc, d-lang.h:
	Remove bit array code

2007-01-27  David Friedman  <dvdfrdmn@users.sf.net>

	* d-asm-i386.h: fix fistp, lmsw, lldt, mov[sz]x, setCC, smsw, and
	sldt instructions (Bugzilla 836, 837, 838, 839, 841, 843, 844).
	Also r[co][lr].

	* d-glue.cc (StringExp::toElem): Correct termination of wchar
	and dchar (Bugzilla 889)

2007-01-11  David Friedman  <dvdfrdmn@users.sf.net>

	* INSTALL.html: fix corruption

2007-01-03  David Friedman  <dvdfrdmn@users.sf.net>

	Release GDC 0.21

	* GDC.html: New file.

	* README: Update, refer to GDC.html
	
	Rest of DMD 1.00 merge:

	* d-codegen.cc: Patch from Anders Bjrklund for GCC 3.3

	* d-glue.cc (FuncDeclaration::toObjFile): Fix shouldDefer/outputStage
	logic.

	* dmd/attrib.c (PragmaDeclaration::semantic): uint -> unsigned

	* dmd/module.c (load): output to stdmsg

	* dmd/mtype.c: revert '@' mangling changes

	* gdc-version, gcc-mars.cc: update

	* phobos/config/unix-mid: Support more functions

	* phobos/acinclude.m4, phobos/config/gen_unix.c (c_pthread):
	Support more types

	* phobos/configure, phobos/config.h.in: update

	* phobos/config/darwin8/frag-unix: update

	Initial merge of DMD 1.00:

	* dmd/cond.c, dmd/constfold.c, dmd/delegatize.c, dmd/dsymbol.c,
	dmd/enum.c, dmd/expression.c, dmd/expression.h, dmd/init.c,
	dmd/inline.c, dmd/mars.c, dmd/module.c, dmd/module.h, dmd/mtype.c,
	dmd/parse.c, dmd/statement.c, dmd/struct.c, dmd/template.c,
	dmd/todt.c: Merge 1.00

	* internal/gc/gc.d, phobos/linux.mak,
	phobos/std/c/linux/linux.d.orig-dmd, phobos/std/c/stdlib.d,
	phobos/std/conv.d, phobos/win32.mak: Merge 1.00
	
	* phobos/std/c/linux/pthread.d.orig-dmd: New file (originally
	pthread.d DMD)
	
	------------------------

	* dmd/init.c (ArrayInitializer::semantic),
	* dmd/root.c (OutBuffer::write4): 64-bit host cleanup

	* d-asm-i386.h: cleanup, saftey

2007-01-02  DF  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (convertTo): Use 64-bit for Tarray, Tsarray conversion.

	* d-codegen.{h, cc} (darrayVal): use uinteger_t arg

2006-12-27  DF  <dvdfrdmn@users.sf.net>

	* phobos/internal/fpmath.d: Support x86_64

	* phobos/configure.in: x86_64 can use fpmath.d
	* phobos/configure: update

	* target-ver-syms.sh: Add some CPU architectures

2006-12-26  DF  <dvdfrdmn@users.sf.net>

	* phobos/configure.in: actually use value of
	--enable-phobos-config-dir

2006-12-26  David Friedman  <dvdfrdmn@users.sf.net>

	Rest of 0.178 changes:

	* phobos/std/bitarray.d: revert previous changes

	* d-decls.cc (toSymbolX): update

	* d-glue.cc (TypeFunction::retStyle): implement

	* phobos/std/format.d: update for Mangle.Tenum

	-------------

	Initial merge of 0.178:

	* dmd/class.c, dmd/declaration.c, dmd/declaration.h, dmd/doc.c,
	dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/init.c,
	dmd/lexer.c, dmd/mangle.c, dmd/mars.c, dmd/mars.h, dmd/mtype.c,
	dmd/optimize.c, dmd/parse.c, dmd/statement.c, dmd/statement.h,
	dmd/template.c, dmd/tocsym.c, dmd/toobj.c: Merge 0.178

	* phobos/internal/gc/win32.d, phobos/internal/object.d,
	phobos/std/c/linux/linux.d, phobos/std/date.d,
	phobos/std/dateparse.d, phobos/std/format.d, phobos/std/gc.d,
	phobos/std/regexp.d, phobos/std/socket.d, phobos/std.ddoc: Merge
	0.178

	---------------

	* dmd/constfold.c (CastExp::constFold): Fix Bugzilla 738.

	* dmd/todt.c (StructDeclaration::toDt): Fix Bugzilla 736.

	* d-decls.cc (VarDeclaration::toSymbol): Fix Bugzilla 737.

	* d-glue.cc (make_assign_math_op): Fix Bugzilla 739.

	* d-codegen.cc, d-decls.cc, d-glue.cc, symbol.cc, symbol.h:
	Use toParent2.  Handle nested template instance functions.
	(Bugzilla 742, 743)

2006-12-25  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd/mtype.c: Don't use '@' in mangled names

	* d-glue.cc (TypeFunction::toCtype): Handle recursive type
	reference (Bugzilla 745)

	* d-codegen.cc, d-codegen.h, d-glue.cc, d-objfile.cc, d-objfile.h,
	dmd/aggregate.h, dmd/attrib.c, dmd/class.c, dmd/declaration.c,
	dmd/declaration.h, dmd/enum.c, dmd/enum.h, dmd/func.c,
	dmd/idgen.c, dmd/scope.c, dmd/scope.h, dmd/struct.c: Implement
	GCC attributes.
	
	* dmd/mtype.c (TypeDelegate::dotExp): Fix regression caused by
	last fix.

2006-12-24  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd/parse.h, dmd/parse.c(parseStatement, parseExtAsm),
	dmd/statement.h, asmstmt.cc: Implement GCC extended assembler.

2006-12-20  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd/mars.h: format issues are due to newlib, not Cygwin 

	* setup-gcc.sh: Fix sed patterns and options.

	* dmd/mtype.c (TypeDelegate::dotExp): Handle .ptr so that
	it can be an lvalue. (Bugzilla 696)

	* d-irstate.cc (getLoopForLabel): Handle labels pointing to
	ScopeStatements. (Bugzilla 695)

2006-12-16  David Friedman  <dvdfrdmn@users.sf.net>

	Release GDC 0.20

	* setup-gcc.sh: account for modified version strings

	* dmd/mtype.c (TypeTuple::toDecoBuffer): workaround newlib bug

	* dmd/mars.h: fix printf formats for Cygwin

	* d-builtins.c (d_init_builtins): Handle va_list type when it is
	an array.

	* gcc-mars.cc, gdc-version: update

	* d-decls.cc: warnings cleanup 

	* dmd/expression.c (realToMangleBuffer): filter out 'x'

2006-12-13  David Friedman  <dvdfrdmn@users.sf.net>

	* package/simple.sh: use MAKE environment variable

2006-12-11  David Friedman  <dvdfrdmn@users.sf.net>

	* patch-build_gcc-4.0: don't disable Objective C

2006-12-09  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/bitarray.d (unittest): workaround 0.177 breakage

	* phobos/std/format.d,
	* phobos/std/string.d,
	* phobos/std/loader.d: update
	
	* phobos/std/file.d: fix merge. update.

	* dmd/root.[ch] (writestring): make arg const

	* dmd/expression.c (toMangleBuffer): update

	Initial 0.177 merges

	* dmd/constfold.c, dmd/declaration.c, dmd/expression.[ch],
	dmd/func.c, dmd/idgen.c, dmd/manlge.c, dmd/mars.c, dmd/mtype.[ch],
	dmd/opover.c, dmd/tocsym.c, dmd/toobj.c, dmd/typinf.c: Merge 0.177

	* etc/c/zlib.d, phobos/internal/aaA.d, phobos/internal/adi.d,
	phobos/internal/arraycat.d, phobos/internal/gc/gc.d,
	phobos/internal/gc/testgc.d, phobos/internal/object.d,
	phobos/internal/qsort.d, phobos/internal/switch.d,
	phobos/internal/trace.d, phobos/object.d, phobos/std/array.d,
	phobos/std/boxer.d, phobos/std/conv.d, phobos/std/cover.d,
	phobos/std/cpuid.d, phobos/std/date.d, phobos/std/file.d,
	phobos/std/format.d, phobos/std/loader.d, phobos/std/math2.d,
	phobos/std/md5.d, phobos/std/mmfile.d, phobos/std/outbuffer.d,
	phobos/std/path.d, phobos/std/regexp.d, phobos/std/socket.d,
	phobos/std/stream.d, phobos/std/string.d, phobos/std/switcherr.d,
	phobos/std/syserror.d, phobos/std/typeinfo/ti_Acdouble.d,
	phobos/std/typeinfo/ti_Acfloat.d, phobos/std/typeinfo/ti_Acreal.d,
	phobos/std/typeinfo/ti_Adchar.d, phobos/std/typeinfo/ti_Adouble.d,
	phobos/std/typeinfo/ti_Afloat.d, phobos/std/typeinfo/ti_Ag.d,
	phobos/std/typeinfo/ti_Aint.d, phobos/std/typeinfo/ti_Along.d,
	phobos/std/typeinfo/ti_Areal.d, phobos/std/typeinfo/ti_Ashort.d,
	phobos/std/typeinfo/ti_Aubyte.d, phobos/std/typeinfo/ti_Auint.d,
	phobos/std/typeinfo/ti_Aulong.d, phobos/std/typeinfo/ti_Aushort.d,
	phobos/std/typeinfo/ti_Awchar.d, phobos/std/uri.d,
	phobos/std/utf.d, phobos/std/windows/charset.d,
	phobos/std/windows/registry.d, phobos/std/zlib.d: Merge 0.177

	--------------
	
	* patch-apple-gcc-4.0.x, patch-build_gcc-4.0: Support
	building the Apple way on PowerPC machines.

2006-12-06  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (call): Fix for calling delegate literal.

	* setup-gcc.sh: fail if patching build_gcc fails

	* d-glue.cc (NewExp::toElem): expand stack vars
	for GCC 3.x

	* phobos/std/cpuid.d: fix for cpuid kludge

2006-12-05  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd/mars.h: Handle msvcrt C99 printf incompatibility.
	
	* dmd/template.c, dmd/declaration.c, dmd/expression.c, dmd/func.c,
	dmd/init.c, dmd/lexer.c, dmd/mangle.c, dmd/mtype.c,
	dmd/optimize.c, dmd/root.c: ditto

	* phobos/config/unix-mid: fix compile error

2006-12-04  David Friedman  <dvdfrdmn@users.sf.net>

	More 0.176 merges

	* phobos/config/unix-mid: add reentrant funcs

	* d-glue.cc (DeleteExp::toElem): handle on-stack vars

	* d-glue.cc (FuncDeclaration::toObjFile): emit _arguments

	* dmd/declaration.h, dmd/func.c: save _arguments local var for
	backend

2006-12-03  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc: New _arguments ABI.

	* gcc-mars.cc: Update for verror.

	* d-decls.cc, d-objfile.cc,
	* d-glue.cc (Module::genobjfile, d_gcc_aggregate_dtors): Update
	for new toSymbolX.

	* d-glue.cc (TypeAArray::toCtype): Implement new AA ABI.

	* d-codegen.cc (convertTo): Don't allow conversion of dynamic
	array to associated array and vice versa.

	* d-codegen.cc (getLibCallDecl, rawArray, convertForCondition),
	d-glue.cc (NullExp::toElem): change AA type

	* gcc-mars.cc : printf corrections

	* phobos/Makefile.in (MAIN_OBJS): add bind.o

	Initial merge of DMD 0.176

	* attrib.c, dmd/cast.c, dmd/class.c, dmd/cond.c, dmd/constfold.c,
	dmd/declaration.c, dmd/doc.c, dmd/dsymbol.h, dmd/dump.c,
	dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/idgen.c,
	dmd/init.c, dmd/init.h, dmd/lexer.c, dmd/link.c, dmd/mangle.c,
	dmd/mars.c, dmd/mars.h, dmd/module.c, dmd/mtype.c, dmd/optimize.c,
	dmd/parse.c, dmd/root.c, dmd/statement.c, dmd/template.c,
	dmd/tocsym.c, dmd/todt.c, dmd/toobj.c: Merge 0.176

	* internal/aaA.d, phobos/internal/cmath2.d, phobos/internal/deh.c,
	phobos/internal/object.d, phobos/linux.mak,
	phobos/std/c/linux/linux.d, phobos/std/c/linux/socket.d,
	phobos/std/compiler.d, phobos/std/math.d, phobos/std/socket.d,
	phobos/std/string.d, phobos/std/traits.d,
	phobos/std/typeinfo/ti_Aubyte.d, phobos/std/typeinfo/ti_ubyte.d,
	phobos/std.ddoc, phobos/win32.mak: Merge 0.176

	* phobos/std/bind.d: New file in 0.176
	
	* dmd/toir.[ch]: New files (from DMD 0.175)

	* phobos/phobos.d: New file (from DMD 0.160)

	--------------

	* phobos/std/boxer.d (unbox(T : void*).unbox): fix

	* d-glue.cc (NewExp::toElem): Support allocation on stack

	Initial merge of DMD 0.175

	* cast.c, dmd/class.c, dmd/dchar.c, dmd/dchar.h,
	dmd/declaration.c, dmd/declaration.h, dmd/delegatize.c,
	dmd/dsymbol.c, dmd/dump.c, dmd/enum.c, dmd/expression.c,
	dmd/expression.h, dmd/func.c, dmd/identifier.c, dmd/identifier.h,
	dmd/inifile.c, dmd/init.c, dmd/lexer.c, dmd/lstring.h,
	dmd/mangle.c, dmd/mars.c, dmd/mtype.c, dmd/mtype.h,
	dmd/optimize.c, dmd/parse.c, dmd/root.c, dmd/root.h, dmd/scope.c,
	dmd/scope.h, dmd/statement.c, dmd/statement.h, dmd/stringtable.c,
	dmd/todt.c, dmd/typinf.c: Merge 0.175
	
	dmd/html.c: not merged

	* phobos/internal/object.d, phobos/std/demangle.d,
	phobos/std/format.d, phobos/std/socket.d, phobos/std/stdio.d,
	phobos/std/traits.d, phobos/std/uni.d, phobos/std.ddoc:
	Merge 0.175

	------------

	* config/darwin8, config/mingw: update config fragments

2006-11-26  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc, d-glue.cc: Fix missing continue label
	expansion for GCC < 4.0

	* d-glue.cc (make_math_op): Convert non-complex to complex
	in all version of GCC. (Buzilla 575)

	* d-codegen.cc: for tree code class for GCC < 4.0

	* phobos/Makefile.in: make test programs dependendent on
	libgphobos.a as gdc will still try to find it

	* phobos/configure.in: conditionally build std/boxer.o

	* phobos/Makefile.in (MAIN_OBJS): remove std/boxer.o

	* phobos/internal/arraycat.d (_d_array_literal): disable

	* phobos/std/format.d: fix for PowerPC Linux

2006-11-25  David Friedman  <dvdfrdmn@users.sf.net>

	* d-gcc-real.h: cleanup for warnings

2006-11-24  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc (DotVarExp::toElem): Handle const members.

	* d-codegen.cc (needs_temp): Return false for constants.
	(isFreeOfSideEffects): New function.

	* d-glue.cc (do_array_set): Evaluate the rvalue only once
	(Bugzilla 578).

2006-11-18  David Friedman  <dvdfrdmn@users.sf.net>

	Rest of DMD 0.174 merge:

	* dmd/mtype.c (TypeDelegate::dotExp): Use cast-to-pointer
	for .ptr property

	* d-decls.cc (VarDeclaration::toSymbol): Build CONST_DECLs
	* d-codegen.cc (IRState::emitLocalVar): Do nothing if CONST_DECL

	* d-codegen.cc (ArrayScope::setArrayExp): Handle tuple/constant
	lengths.

	* dmd/toobj.c (Dsymbol::toObjFile): emit local variables for
	tuples

	* svn: move traits.d and typetuple.d to the correct directory

	* gcc-mars.cc (error): add va_list form

	* dmd/mars.h (error): use va_list for 'error'

	* dmd/expression.c, dmd/lexer.c: fix compile errors

	* phobos/Makefile.in (MAIN_OBJS): add traits.o and typetuple.o

	* dmd-script: add -v1 option

	* dmd/root.c (FileName::ensurePathExists): fix conditions
	for non-win32, non-linux.

	* dmd-script (printUsage): add missing options documentation

	* d-codegen.{h, cc}: use size_t

	* phobos/internal/dgccmain2.d: update

	Initial merge of DMD 0.174:

	* dmd/attrib.c, dmd/cast.c, dmd/class.c, dmd/declaration.c,
	dmd/declaration.h, dmd/doc.c, dmd/dsymbol.c, dmd/dsymbol.h,
	dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/hdrgen.c,
	dmd/idgen.c, dmd/inline.c, dmd/lexer.c, dmd/mangle.c, dmd/mars.c,
	dmd/mars.h, dmd/module.c, dmd/mtype.c, dmd/mtype.h, dmd/parse.c,
	dmd/statement.c, dmd/template.c, dmd/template.h, dmd/tocsym.c,
	dmd/todt.c, dmd/toobj.c, dmd/typinf.c, dmd/utf.c, dmd/utf.h: Merge
	0.174

	* phobos/internal/aApplyR.d, phobos/internal/dmain2.d,
	phobos/internal/object.d, phobos/linux.mak, phobos/object.d,
	phobos/std/date.d, phobos/std/openrj.d, phobos/std/signals.d,
	phobos/win32.mak: Merge 0.174

	* phobos/std/traits.d, phobos/std/typetuple.d: New files in 0.174


2006-11-17  David Friedman  <dvdfrdmn@users.sf.net>

	* package/simple.sh: enhancements

	* dmd/attrib.c: fix message

2006-11-16  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.cc (continueHere): fix error
	* d-glue.cc (d_gcc_aggregate_dtors): "

2006-11-14  David Friedman  <dvdfrdmn@users.sf.net>

	* d-builtins2.cc, d-codegen.{cc, h}, d-decls.cc, d-glue.cc,
	d-lang.h: remove D_TYPE_IS_NESTED.  Do not pull original
	TypeFunction from FUNCTION_TYPE.

	* d-codegen.cc: cleanup

	* d-codegen.cc, gdc-alloca.h, phobos/config/gen_unix.c: fixes for
	older MacOS X builds

2006-11-13  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/cpuid.d: fixes for PIC

	* d-asm-i386.h: Fix for referencing funcs (Bugzilla 307).	
	Correct clobbers for cpuid, but left out EBX as a kludge for
	std.cpuid.

	* phobos/std/c/linux/linux.d: make imports public (Bugzilla 403)

	* d-decls.cc (uniqueName): Fixed logic error (Bugzilla 375). Then
	just removed most of the code and comments because the workaround
	is no longer needed.

2006-11-12  David Friedman  <dvdfrdmn@users.sf.net>

	* dmd/root.c (Object::hashCode): cast to pointer acceptable int type

	Rest of DMD 0.173 merge:

	* d-glue.cc (UnrolledLoopStatement::toIR): implement

	* d-codegen.h (setContinueLabel): add interface for multiple continues

	* d-irstate.h (Flow), d-irstate.cc: add overrideContinueLabel for
	GCC < 4.0

	* d-builtins2.cc, d-glue.cc, d-codegen.cc: update for
	TypeFunction::arguments -> parameters and tuples

	* dmd/func.c: update

	* d-gcc-complex_t.h: update

	* phobos/Makefile.in (MAIN_OBJS): add signals.o and cpuid.o

	Initial merge of DMD 0.173:

	* dmd/arraytypes.h, dmd/cast.c, dmd/class.c, dmd/complex_t.h,
	dmd/constfold.c, dmd/declaration.c, declaration.h,
	dmd/delegatize.c, dmd/doc.c, dmd/dsymbol.c, dmd/dsymbol.h,
	expression.c, dmd/expression.h, dmd/func.c, dmd/html.c,
	dmd/html.h, dmd/inline.c, lexer.c, dmd/lexer.h, dmd/mars.c,
	dmd/mars.h, dmd/mem.h, dmd/mtype.c, dmd/mtype.h, opover.c,
	dmd/optimize.c, dmd/parse.c, dmd/parse.h, dmd/statement.c,
	dmd/statement.h, struct.c, dmd/template.c, dmd/template.h,
	dmd/tocsym.c, dmd/toobj.c, dmd/typinf.c: Merge 0.173

	* phobos/internal/object.d, phobos/linux.mak, phobos/std/stream.d,
	phobos/std/string.d, phobos/std/system.d, phobos/std.ddoc,
	phobos/unittest.d, phobos/win32.mak: Merge 0.173

	* phobos/std/c/locale.d, phobos/std/cpuid.d, phobos/std/signals.d:
	New files in 0.173
	
	----

	* dmd/class.c, dmd/mars.c, dmd/opover.c, dmd/statement.c:
	Merge DMD 0.172

	Merge DMD 0.171:

	* dmd/func.c, dmd/optimize.c: Update comments

	* dmd/aggregate.h, dmd/class.c, dmd/func.c, dmd/mars.c:
	Merge 0.171

	* phobos/internal/aApplyR.d, phobos/internal/gc/gc/.d: Merge 0.171

	----

	Rest of DMD 0.170 merge:

	* d-glue.cc (ArrayLiteralExp::toElem): Handle the case in which
	the type of the expression is a pointer.

	* dmd/optimize.c (PtrExp::optimize): Don't change type
	of expression without cast

	* phobos/internal/aApplyR.d: turn off debug(apply)

2006-11-11  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc (ForeachStatement::toIR): support foreach_reverse

	* dmd/lexer.c: size_t -> unsigned

	* d-lang.cc (d_handle_option): update

	* phobos/Makefile.in: add aApplyR.o

	* phobos/internal/monitor.c: merged

	Initial merge of DMD 0.170:

	* dmd/attrib.c, dmd/cast.c, dmd/class.c, dmd/delegatize.c,
	dmd/dsymbol.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
	dmd/identifier.c, dmd/idgen.c, dmd/import.c, dmd/lexer.c,
	dmd/lexer.h, dmd/mangle.c, dmd/mars.c, dmd/module.c, dmd/mtype.c,
	dmd/mtype.h, dmd/opover.c, dmd/parse.c, dmd/statement.c,
	dmd/statement.h, dmd/template.h, dmd/utf.h: Merge 0.170

	* phobos/internal/aApply, phobos/internal/cast.d,
	phobos/internal/gc/gc.d, phobos/internal/mars.h,
	phobos/internal/object.d, phobos/linux.mak, phobos/object.d,
	phobos/std/gc.d, phobos/std/math.d, phobos/std/outofmemory.d,
	phobos/std/path.d, phobos/std/zlib.d, phobos/std.ddoc,
	phobos/unittest.d, phobos/win32.mak: Merge 0.170

	* internal/monitor.c: not changed; merge deferred for now

	* phobos/internal/aApplyR.d: new file in 0.170

	----

	Rest of 0.169 merge:

	* phobos/internal/object.d: fix merge error

	* d-asm-i386.h: update for DMD changes

	* dmd/mtype.c, phobos/internal/adi.d (_adSortChar, _adSortWchar):
	fix for calling conventions

	* d-gcc-complex_t.h: updated

	Initial merge of DMD 0.169:

	* dmd/aggregate.h, dmd/arraytypes.h, dmd/attrib.h, dmd/class.c,
	dmd/complex_t.h, dmd/cond.h, dmd/declaration.h, dmd/declaration.c,
	dmd/doc.h, dmd/dsymbol.c, dmd/dsymbol.h, dmd/enum.h,
	dmd/expression.c, dmd/expression.h, dmd/hdrgen.h, dmd/html.h,
	dmd/identifier.h, dmd/idgen.c, dmd/import.c, dmd/import.h,
	dmd/init.c, dmd/init.h, dmd/lexer.h, dmd/macro.h, dmd/macro.c,
	dmd/mars.c, dmd/mars.h, dmd/module.c, dmd/module.h, dmd/mtype.c,
	dmd/mtype.h, dmd/opover.c, dmd/optimize.c, dmd/parse.h,
	dmd/root.c, dmd/scope.c, dmd/scope.h, dmd/statement.c,
	dmd/statement.h, dmd/staticassert.h, dmd/struct.c, dmd/template.c,
	dmd/template.h, dmd/total.h, dmd/typinf.c, dmd/utf.h,
	dmd/version.h: Merge 0.169

	* phobos/internal/adi.d, phbobos/internal/critical.c,
	phbobos/internal/mars.h, phbobos/internal/monitor.c,
	phbobos/internal/object.d, phbobos/object.d, phbobos/std/regexp.d:
	Merge 0.169

	----

	* dmd-script: Create directories for output files 

	Rest of 0.168 changes:

	* d-dmd-gcc.h, d-glue.cc (d_gcc_aggregate_dtors): new function
	* dmd/toobj.c (ClassDeclaration::toObjFile): use d_gcc_aggregate_dtors

	* d-codegen.cc (convertTo): handle delegate .ptr property

	* lang-specs.h, dmd-script: handle .xhtml extension 

	Initial merge of DMD 0.168

	* dmd/aggregate.h, dmd/arraytypes.h, dmd/cast.c, dmd/class.c,
	dmd/declaration.c, dmd/expression.h, dmd/func.c, dmd/html.[ch],
	dmd/idgen.c, dmd/init.c, dmd/lexer.c, dmd/lexer.h, dmd/link.c,
	dmd/mangle.c, dmd/mars.c, dmd/module.c, dmd/mtype.[ch],
	dmd/statement.c, dmd/toobj.c, dmd/typeinf.c: Merge 0.168

	* phobos/etc/gamma.d, phobos/internal/object.d,
	phobos/std/c/linux/linux.d.orig-dmd, phobos/std/date.d,
	phobos/std/math.d, phobos/std/socket.d, phobos/std/socketstream.d,
	phobos/std/stream.d, phobos/std/uni.d, phobos/win32.mak: Merge 0.168

2006-11-10  David Friedman  <dvdfrdmn@users.sf.net>

	* Make-lang.in (d.install-common): cross install fix for gdmd

	* d-glue.cc (NewExp::toElem): uint -> unsigned

	* package/simple.sh: Don't depend on rsync

	* patch-toplev-3.4.x, patch-toplev-4.0.x: Modify top-level
	Makefile.in, configure.in, and configure to work with
	a Canadian cross build.

	* d-glue.cc (SynchronizedStatement::toIR): Remove uneeded
	startBindings call.  Add missing _d_criticalenter call.

2006-10-12  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config/unix-mid: add sysconf

2006-10-11  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/std/format.d (doFormat): support Mangle.Tstruct for p_args

	* phobos/config/unix-head: import tm from gcc.config

	* phobos/config/gen_unix.c (c_time): Moved out struct tm.

	* phobos/config/gen_config1.c: Support clock_t. Move struct tm here.

	* d-glue.cc (AssignExp::toElem): use _d_arraysetlength3p
	(FuncDeclaration::toObjFile): Fixed assert of class member if
	synchronized.

	* d-codegen.{h, cc}: replace libcall _d_arraysetlength2p with
	_d_arraysetlength3p

	* phobos/internal/gc/gc.d (_d_arraysetlength3p): pointer version
	of _d_arraysetlength3.  GCC asm jump fix.

2006-10-09  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.{h, cc}: new libcalls: _dnewmp, _d_newarraymip

	* phobos/internal/gc/gc.d (_dnewmp, _d_newarraymip): pointer version
	of _dnewm, _d_newarraymi

	* phobos/config/unix-mid: add utime

	* phobos/std/file.d: changes for GDC

	* phobos/config/gen_unix.c: support utimbuf

2006-09-23  David Friedman  <dvdfrdmn@users.sf.net>

	Initial merge of 0.167:

	* dmd/array.c, dmd/cast.c, dmd/declaration.c, dmd/delegatize.c,
	dmd/expression.[ch], dmd/func.c, dmd/idgen.c, dmd/import.c,
	dmd/init.c, dmd/inline.c, dmd/lexer.[ch], dmd/mars.c,
	dmd/mtype.[ch], dmd/optimize.c, dmd/parse.c, dmd/statement.c,
	dmd/template.c, dmd/typinf.c: Merge 0.167

	* phobos/internal/arraycat.d, phobos/internal/gc/gc.d,
	phobos/internal/gc/testgc.d, phobos/internal/object.d,
	phobos/linux.mak, phobos/object.d, phobos/std/asserterror.d,
	phobos/std/c/linux/linux.d.orig-dmd, phobos/std/c/time.d,
	phobos/std/file.d, phobos/std/format.d, phobos/std/math.d,
	phobos/std/string.d, phobos/std/thread.d, phobos/unittest.d,
	phobos/win32.mak: Merge 0.167

	* phobos/std/c/windows/stat.d: New 0.167

2006-09-06  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc (FuncDelaration::toObjFile):	
	Assert isMember	for synchronized functions.
	(NewExp::toElem): Correct some cases for nested classes

2006-09-04  David Friedman  <dvdfrdmn@users.sf.net>

	* gdc-version, gcc-mars.cc: update

	* d-codegen.cc (trueDeclarationType): support lazy arguments
	(trueArgumentType): ditto

	* d-codegen.{h, cc}: comment out convertForInitialization

	* Make-lang.in (D_DMD_OBJS): add delegatize

	* dmd/delegatize.c: new, DMD 0.166

	* dmd/cast.c, dmd/declaration.[ch], dmd/expression.[ch],
	dmd/func.c, dmd/inline.c, dmd/lexer.c, dmd/lexer.h, dmd/mars.c,
	dmd/mtype.c, dmd/mtype.h, dmd/opover.c, dmd/parse.c,
	dmd/statement.c, dmd/struct.c, dmd/template.c, dmd/tocsym.c,
	dmd/typinf.c: Merge DMD 0.166

	* phobos/etc/c/zlib/...: Merge 0.166
	
	* phobos/internal/aApply.d, phobos/internal/gc/linux.mak,
	phobos/linux.mak, phobos/std/cover.d, phobos/std/utf.d,
	phobos/win32.mak: Merge 0.166

	* phobos/etc/zlib/infblock.[ch], phobos/etc/zlib/infcodes.[ch],
	phobos/etc/zlib/infutil.[ch], phobos/etc/zlib/maketree.c,
	phobos/etc/zlib/zlib.html: remove, DMD 0.166

	* gdc-version: update

	* d-glue.cc (FuncDeclaration::toObjFile): update

	* dmd/cast.c, dmd/declaration.[ch], dmd/enum.c,
	dmd/expression.[ch], dmd/func.c, dmd/init.c, dmd/inline.c,
	dmd/mars.c, dmd/mtype.c, dmd/statement.c, dmd/template.c,
	dmd/typeinf.c: Merge DMD 0.165

	* phobos/internal/gc/gcx.d, phobos/std.ddoc: Merge DMD 0.165

	* gdc-version: updated

	* dmd/aggregate.h, dmd/declaration.[ch], dmd/doc.c, dmd/dsymbol.c,
	dmd/expression.c, dmd/import.c, dmd/inifile.c, dmd/mars.c,
	dmd/module.[ch], dmd/mtype.c, dmd/parse.c, dmd/statement.c,
	dmd/template.c: Merge DMD 0.164

	* phobos/std/socket.d: Merge DMD 0.164
	* phobos/std/thread.d: no change

2006-07-22  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/internal/gc/testgc.d: add import

	* phobos/std/thread.d (Thread.thread_init, Thread.getESP): make
	public

	* phobos/std/c/unix/unix.d: use public import

	* dmd/access.c, dmd/aggregate.h, dmd/attrib.c, dmd/class.c,
	dmd/declaration.[ch], dmd/enum.c, dmd/expression.c, dmd/func.c,
	dmd/import.[ch], dmd/mars.c, dmd/module.c, dmd/mtype.[ch],
	dmd/parse.[ch], dmd/scope.[ch], dmd/struct.c, dmd/template.[ch],
	dmd/todt.c: Merge DMD 0.163

	* phobos/internal/object.d, phobos/std/c/linux/linux.d.orig-dmd,
	phobos/std/regexp.d, phobos/std/stdio.d, phobos/std/stream.d:
	Merge DMD 0.163

2006-07-12  David Friedman  <dvdfrdmn@users.sf.net>

	Release GDC 0.19

	* dmd/template.c: don't use ehfilter
	* gdc-version: update

2006-07-11  David Friedman  <dvdfrdmn@users.sf.net>

	Support for Apple GCC and other fixes

	* setup-gcc.sh: patch build_gcc
	* patch-build_gcc-4.0: new

	* dmd-script: Support -arch option and apple driver naming.
	Use absolute path to execute program with -run.

2006-07-10  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config/darwin8/{frag-gen,frag-math,frag-unix}: new
	* phobos/configure.in: support Darwin cross compiling
	* phobos/configure.in: updated

	* phobos/config/gen_unix.c (c_fcntl): added *_OK enums
	* phobos/config/skyos/frag-unix: updated

2006-07-03  David Friedman  <dvdfrdmn@users.sf.net>

	* ../../gcc/tree.h, ../../gcc/tree-dump.c: machine readable dump
	
	Merge DMD 0.162

	* d-glue.cc (AssignExp::toElem): use _d_arraysetlength2p

	* phobos/internal/gc/gc.d: chanage _d_arraysetlength2 to
	_d_arraysetlength2p

2006-07-02  David Friedman  <dvdfrdmn@users.sf.net>

	* d-codegen.{h, cc}: support _d_arraysetlength2

	* dmd/cast.c, dmd/declaration.c, dmd/doc.c, dmd/expression.c,
	dmd/func.c, dmd/mars.c, dmd/mtype.c, dmd/parse.c, dmd/struct.c,
	dmd/template.[ch], dmd/toobj.c: merged

	* phobos/internal/gc/gc.d, phobos/object.d,
	phobos/std/asserterror.d, phobos/std/moduleinit.d: merged

	---

	* phobos/std/regexp.d (RegExp.Range.setbitmax): fix for
	big endian

2006-06-28  DF  <dvdfrdmn@users.sf.net>

	* d-glue.cc (TypeStruct::toCtype, TypeEnum::toCtype): Move
	initTypeDecl call to after size calculation.

2006-06-24  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/Makefile.in: fix and clean up config.d dependencies

	* d-gcc-real.cc (real_t): fix assumptions about HOST_WIDE_INT

2006-06-23  David Friedman  <dvdfrdmn@users.sf.net>

	* Make-lang.in, asmstmt.cc, d-convert.cc, d-gcc-includes.h,
	  d-lang.cc, setup-gcc.sh: update to support building with Apple
	  GCC
	* d-apple-gcc.cc, patch-apple-gcc-4.0.x: new

	Misc fixes

	* Make-lang.in: Add dependencies for DMD header files.

	* phobos/config/gen_unix.c (c_time): fix array bounds bug

2006-06-22  David Friedman  <dvdfrdmn@users.sf.net>

	* Make-lang.in: use BUILD_LDFLAGS for generator progs

2006-06-21  David Friedman  <dvdfrdmn@users.sf.net>

	* d-asm-i386.h: implement offset/offsetof

2006-06-20  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 0.161

	* gcc-mars.cc, gdc-version: updated

	* dmd/cast.c, dmd/class.c, dmd/declaration.[ch], dmd/dsymbol.c,
	dmd/expression.[ch], dmd/func.c, dmd/idegen.c, dmd/import.h,
	dmd/inline.c, dmd/lexer.[ch], dmd/mars.[ch], dmd/module.c,
	dmd/mtype.c, dmd/opover.c, dmd/parse.c, dmd/root.[ch],
	dmd/statement.c, dmd/struct.c, dmd/template.[ch], dmd/toobj.c:
	Merge DMD 0.161

	* phobos/internal/adi.d, phobos/internal/cast.d,
	phobos/internal/trace.d, phobos/linux.mak,
	phobos/std/asserterror.d, phobos/std/base64.d,
	phobos/std/bitarray.d, phobos/std/boxer.d,
	phobos/std/c/linux/socket.d, phobos/std/c/windows/windows.d,
	phobos/std/c/windows/winsock.d, phobos/std/conv.d,
	phobos/std/cstream.d, phobos/std/date.d, phobos/std/dateparse.d,
	phobos/std/demangle.d, phobos/std/file.d, phobos/std/format.d,
	phobos/std/math.d, phobos/std/math2.d, phobos/std/mmfile.d,
	phobos/std/random.d, phobos/std/regexp.d, phobos/std/socket.d,
	phobos/std/socketstream.d, phobos/std/stream.d,
	phobos/std/string.d, phobos/std/stream.d, phobos/std/thread.d,
	phobos/std/typeinfo/ti_Along.d, phobos/std/typeinfo/ti_Aulong.d,
	phobos/std/tyeinfo/ti_void.d, phobos/std/uni.d, phobos/std/uri.d,
	phobos/std/utf.d, phobos/std/windows/registry.d, phobos/std/zip.d,
	phobos/std/zlib.d, phobos/std.ddoc, phobos/unittest.d,
	phobos/win32.mak: Merge DMD 0.161

	* Make-lang.in, d-lang.cc: Possible workaround for MingGW path
	issues.  Create d-confdefs.h to contain the values of D_PHOBOS_DIR
	and D_PHOBOS_TARGET_DIR.

2006-06-10  David Friedman  <dvdfrdmn@users.sf.net>

	* History: new file
	* package/install.sif: ditto
	* package/simple.sh: 
	
	* phobos/std/zip.d (putUshort): fix for BigEndian case

	* phobos/internal/gc/gcgccextern.d: update for version(freebsd) 

	* target-ver-syms.sh: Use "freebsd" for FreeBSD.

	* phobos/configure.in: Enable std.loader for FreeBSD.
	* phobos/std/loader.d: ditto
	* phobos/configure: updated

	* Make-lang.in: Support package building. Cleanup.

2006-06-08  David Friedman  <dvdfrdmn@users.sf.net>

	* patch-gcc-4.0.x: updated with...
	* .../gcc/tree-nested.c: check if static chain is a PARM_DECL
	(Bugzilla 175)

2006-06-07  David Friedman  <dvdfrdmn@users.sf.net>

	* Make-lang.in: use CXX_FOR_BUILD

	* phobos/std/format.d (unittest): Some C libraries do not support
	the %A format.

2006-06-06  David Friedman  <dvdfrdmn@users.sf.net>

	* phobos/config/skyos/frag-unix: update for SkyOS beta 10

2006-06-05  David Friedman  <dvdfrdmn@users.sf.net>

	Merge DMD 0.160

	* d-codegen.cc (arrayType): handle zero-length arrays for local
	variables.

	* gdc-version, gcc-mars.cc: update

	* d-glue.cc (NewExp::toElem): support 'exp. new ...'

	* d-codegen.{h, cc}: support _d_assert_msg 

	* dmd/attrib.c, dmd/enum.c, dmd/expression.[ch], dmd/idgen.c,
	dmd/inifile.c, dmd/inline.c, dmd/mars.c, dmd/module.c,
	dmd/mtype.c, dmd/opover.c, dmd/parse.[ch], dmd/statement.[ch],
	dmd/staticassert.[ch], dmd/struct.c: Merge DMD 0.160

	* phobos/std/asserterror.d, phobos/std/regexp.d,
	phobos/std/zlib.d, phobos/std.ddoc, phobos/win32.mak: Merge DMD
	0.160

2006-06-04  David Friedman  <dvdfrdmn@users.sf.net>

	Various fixes

	* d-codegen.cc (twoFieldType): cleanup

	* phobos/internal/gc/gc_dyld.c: correct callback signature

	* phobos/std/format.d (unittest): Undo test change.
	(putreal): Handle the case where real is equivalent to double.

	* d-glue.cc (TypeClass::toCtype): use prepareTypeDecl instead of
	setting an initial TYPE_NAME (Bugzilla 174)
	(TypeStruct::toCtype): ditto
	(TypeEnum::toCtype): ditto

	* d-objfile.{h, cc} (prepareTypeDecl): New: Create type
	declarations, but do not declare them to back end.

	Merge DMD 0.159 and more

	* d-asm-i386.h (parsePrimaryExp): handle floating point const
	decls specially (Bugzilla 141)

2006-06-03  David Friedman  <dvdfrdmn@users.sf.net>

	* d-glue.cc (AssertExp::toElem): handle interfaces

	* phobos/std/math.d (poly): fix for darwin x86

	* phobos/std/format.d (unittest): handle some variation in %a
	formats

	* gdc-version: updated

	* gcc-mars.cc: updated

	* dmd/attrib.c, dmd/attrib.h, dmd/class.c, dmd/declaration.c,
	dmd/doc.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
	dmd/link.c, dmd/mars.c, dmd/module.c, dmd/module.h, dmd/parse.c,
	dmd/parse.h, dmd/statement.c, dmd/staticassert.c, dmd/struct.c,
	dmd/template.c, dmd/toobj.c: Merge DMD 0.159

	* phobos/std/c/linux/linux.d.orig-dmd,
	phobos/std/c/linux/linuxextern.d, phobos/std/c/windows/windows.d,
	phobos/std/regexp.d, phobos/std/string.d, phobos/std/uni.d,
	phobos/std.ddoc: Merge DMD 0.159

	* dmd-script: use -O3 for GCC if -O is passed

	Fix bugs 157, 162, 164, 171

	* d-asm-i386.h: 'invlpg' instruction takes an operand (Bug 171)

	* patch-gcc-4.0.x: updated with...
	* .../gcc/tree-nested.c: use a VAR_DECL for custom static chain
	(Bug 162, Bug 164)

	* gdc-version: updated

	* d-glue.cc (FuncExp::toElem): Handle Tpointer case. (Bug 157)

2006-06-01  David Friedman  <dvdfrdmn@users.sf.net>

	* Start of SourceForge repository

