xref: /netbsd/external/gpl3/gcc/dist/gcc/d/ChangeLog-2006 (revision 81418a27)
12006-12-27  DF  <dvdfrdmn@users.sf.net>
2
3	* phobos/internal/fpmath.d: Support x86_64
4
5	* phobos/configure.in: x86_64 can use fpmath.d
6	* phobos/configure: update
7
8	* target-ver-syms.sh: Add some CPU architectures
9
102006-12-26  DF  <dvdfrdmn@users.sf.net>
11
12	* phobos/configure.in: actually use value of
13	--enable-phobos-config-dir
14
152006-12-26  David Friedman  <dvdfrdmn@users.sf.net>
16
17	Rest of 0.178 changes:
18
19	* phobos/std/bitarray.d: revert previous changes
20
21	* d-decls.cc (toSymbolX): update
22
23	* d-glue.cc (TypeFunction::retStyle): implement
24
25	* phobos/std/format.d: update for Mangle.Tenum
26
27	-------------
28
29	Initial merge of 0.178:
30
31	* dmd/class.c, dmd/declaration.c, dmd/declaration.h, dmd/doc.c,
32	dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/init.c,
33	dmd/lexer.c, dmd/mangle.c, dmd/mars.c, dmd/mars.h, dmd/mtype.c,
34	dmd/optimize.c, dmd/parse.c, dmd/statement.c, dmd/statement.h,
35	dmd/template.c, dmd/tocsym.c, dmd/toobj.c: Merge 0.178
36
37	* phobos/internal/gc/win32.d, phobos/internal/object.d,
38	phobos/std/c/linux/linux.d, phobos/std/date.d,
39	phobos/std/dateparse.d, phobos/std/format.d, phobos/std/gc.d,
40	phobos/std/regexp.d, phobos/std/socket.d, phobos/std.ddoc: Merge
41	0.178
42
43	---------------
44
45	* dmd/constfold.c (CastExp::constFold): Fix Bugzilla 738.
46
47	* dmd/todt.c (StructDeclaration::toDt): Fix Bugzilla 736.
48
49	* d-decls.cc (VarDeclaration::toSymbol): Fix Bugzilla 737.
50
51	* d-glue.cc (make_assign_math_op): Fix Bugzilla 739.
52
53	* d-codegen.cc, d-decls.cc, d-glue.cc, symbol.cc, symbol.h:
54	Use toParent2.  Handle nested template instance functions.
55	(Bugzilla 742, 743)
56
572006-12-25  David Friedman  <dvdfrdmn@users.sf.net>
58
59	* dmd/mtype.c: Don't use '@' in mangled names
60
61	* d-glue.cc (TypeFunction::toCtype): Handle recursive type
62	reference (Bugzilla 745)
63
64	* d-codegen.cc, d-codegen.h, d-glue.cc, d-objfile.cc, d-objfile.h,
65	dmd/aggregate.h, dmd/attrib.c, dmd/class.c, dmd/declaration.c,
66	dmd/declaration.h, dmd/enum.c, dmd/enum.h, dmd/func.c,
67	dmd/idgen.c, dmd/scope.c, dmd/scope.h, dmd/struct.c: Implement
68	GCC attributes.
69
70	* dmd/mtype.c (TypeDelegate::dotExp): Fix regression caused by
71	last fix.
72
732006-12-24  David Friedman  <dvdfrdmn@users.sf.net>
74
75	* dmd/parse.h, dmd/parse.c(parseStatement, parseExtAsm),
76	dmd/statement.h, asmstmt.cc: Implement GCC extended assembler.
77
782006-12-20  David Friedman  <dvdfrdmn@users.sf.net>
79
80	* dmd/mars.h: format issues are due to newlib, not Cygwin
81
82	* setup-gcc.sh: Fix sed patterns and options.
83
84	* dmd/mtype.c (TypeDelegate::dotExp): Handle .ptr so that
85	it can be an lvalue. (Bugzilla 696)
86
87	* d-irstate.cc (getLoopForLabel): Handle labels pointing to
88	ScopeStatements. (Bugzilla 695)
89
902006-12-16  David Friedman  <dvdfrdmn@users.sf.net>
91
92	Release GDC 0.20
93
94	* setup-gcc.sh: account for modified version strings
95
96	* dmd/mtype.c (TypeTuple::toDecoBuffer): workaround newlib bug
97
98	* dmd/mars.h: fix printf formats for Cygwin
99
100	* d-builtins.c (d_init_builtins): Handle va_list type when it is
101	an array.
102
103	* gcc-mars.cc, gdc-version: update
104
105	* d-decls.cc: warnings cleanup
106
107	* dmd/expression.c (realToMangleBuffer): filter out 'x'
108
1092006-12-13  David Friedman  <dvdfrdmn@users.sf.net>
110
111	* package/simple.sh: use MAKE environment variable
112
1132006-12-11  David Friedman  <dvdfrdmn@users.sf.net>
114
115	* patch-build_gcc-4.0: don't disable Objective C
116
1172006-12-09  David Friedman  <dvdfrdmn@users.sf.net>
118
119	* phobos/std/bitarray.d (unittest): workaround 0.177 breakage
120
121	* phobos/std/format.d,
122	* phobos/std/string.d,
123	* phobos/std/loader.d: update
124
125	* phobos/std/file.d: fix merge. update.
126
127	* dmd/root.[ch] (writestring): make arg const
128
129	* dmd/expression.c (toMangleBuffer): update
130
131	Initial 0.177 merges
132
133	* dmd/constfold.c, dmd/declaration.c, dmd/expression.[ch],
134	dmd/func.c, dmd/idgen.c, dmd/manlge.c, dmd/mars.c, dmd/mtype.[ch],
135	dmd/opover.c, dmd/tocsym.c, dmd/toobj.c, dmd/typinf.c: Merge 0.177
136
137	* etc/c/zlib.d, phobos/internal/aaA.d, phobos/internal/adi.d,
138	phobos/internal/arraycat.d, phobos/internal/gc/gc.d,
139	phobos/internal/gc/testgc.d, phobos/internal/object.d,
140	phobos/internal/qsort.d, phobos/internal/switch.d,
141	phobos/internal/trace.d, phobos/object.d, phobos/std/array.d,
142	phobos/std/boxer.d, phobos/std/conv.d, phobos/std/cover.d,
143	phobos/std/cpuid.d, phobos/std/date.d, phobos/std/file.d,
144	phobos/std/format.d, phobos/std/loader.d, phobos/std/math2.d,
145	phobos/std/md5.d, phobos/std/mmfile.d, phobos/std/outbuffer.d,
146	phobos/std/path.d, phobos/std/regexp.d, phobos/std/socket.d,
147	phobos/std/stream.d, phobos/std/string.d, phobos/std/switcherr.d,
148	phobos/std/syserror.d, phobos/std/typeinfo/ti_Acdouble.d,
149	phobos/std/typeinfo/ti_Acfloat.d, phobos/std/typeinfo/ti_Acreal.d,
150	phobos/std/typeinfo/ti_Adchar.d, phobos/std/typeinfo/ti_Adouble.d,
151	phobos/std/typeinfo/ti_Afloat.d, phobos/std/typeinfo/ti_Ag.d,
152	phobos/std/typeinfo/ti_Aint.d, phobos/std/typeinfo/ti_Along.d,
153	phobos/std/typeinfo/ti_Areal.d, phobos/std/typeinfo/ti_Ashort.d,
154	phobos/std/typeinfo/ti_Aubyte.d, phobos/std/typeinfo/ti_Auint.d,
155	phobos/std/typeinfo/ti_Aulong.d, phobos/std/typeinfo/ti_Aushort.d,
156	phobos/std/typeinfo/ti_Awchar.d, phobos/std/uri.d,
157	phobos/std/utf.d, phobos/std/windows/charset.d,
158	phobos/std/windows/registry.d, phobos/std/zlib.d: Merge 0.177
159
160	--------------
161
162	* patch-apple-gcc-4.0.x, patch-build_gcc-4.0: Support
163	building the Apple way on PowerPC machines.
164
1652006-12-06  David Friedman  <dvdfrdmn@users.sf.net>
166
167	* d-codegen.cc (call): Fix for calling delegate literal.
168
169	* setup-gcc.sh: fail if patching build_gcc fails
170
171	* d-glue.cc (NewExp::toElem): expand stack vars
172	for GCC 3.x
173
174	* phobos/std/cpuid.d: fix for cpuid kludge
175
1762006-12-05  David Friedman  <dvdfrdmn@users.sf.net>
177
178	* dmd/mars.h: Handle msvcrt C99 printf incompatibility.
179
180	* dmd/template.c, dmd/declaration.c, dmd/expression.c, dmd/func.c,
181	dmd/init.c, dmd/lexer.c, dmd/mangle.c, dmd/mtype.c,
182	dmd/optimize.c, dmd/root.c: ditto
183
184	* phobos/config/unix-mid: fix compile error
185
1862006-12-04  David Friedman  <dvdfrdmn@users.sf.net>
187
188	More 0.176 merges
189
190	* phobos/config/unix-mid: add reentrant funcs
191
192	* d-glue.cc (DeleteExp::toElem): handle on-stack vars
193
194	* d-glue.cc (FuncDeclaration::toObjFile): emit _arguments
195
196	* dmd/declaration.h, dmd/func.c: save _arguments local var for
197	backend
198
1992006-12-03  David Friedman  <dvdfrdmn@users.sf.net>
200
201	* d-glue.cc: New _arguments ABI.
202
203	* gcc-mars.cc: Update for verror.
204
205	* d-decls.cc, d-objfile.cc,
206	* d-glue.cc (Module::genobjfile, d_gcc_aggregate_dtors): Update
207	for new toSymbolX.
208
209	* d-glue.cc (TypeAArray::toCtype): Implement new AA ABI.
210
211	* d-codegen.cc (convertTo): Don't allow conversion of dynamic
212	array to associated array and vice versa.
213
214	* d-codegen.cc (getLibCallDecl, rawArray, convertForCondition),
215	d-glue.cc (NullExp::toElem): change AA type
216
217	* gcc-mars.cc : printf corrections
218
219	* phobos/Makefile.in (MAIN_OBJS): add bind.o
220
221	Initial merge of DMD 0.176
222
223	* attrib.c, dmd/cast.c, dmd/class.c, dmd/cond.c, dmd/constfold.c,
224	dmd/declaration.c, dmd/doc.c, dmd/dsymbol.h, dmd/dump.c,
225	dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/idgen.c,
226	dmd/init.c, dmd/init.h, dmd/lexer.c, dmd/link.c, dmd/mangle.c,
227	dmd/mars.c, dmd/mars.h, dmd/module.c, dmd/mtype.c, dmd/optimize.c,
228	dmd/parse.c, dmd/root.c, dmd/statement.c, dmd/template.c,
229	dmd/tocsym.c, dmd/todt.c, dmd/toobj.c: Merge 0.176
230
231	* internal/aaA.d, phobos/internal/cmath2.d, phobos/internal/deh.c,
232	phobos/internal/object.d, phobos/linux.mak,
233	phobos/std/c/linux/linux.d, phobos/std/c/linux/socket.d,
234	phobos/std/compiler.d, phobos/std/math.d, phobos/std/socket.d,
235	phobos/std/string.d, phobos/std/traits.d,
236	phobos/std/typeinfo/ti_Aubyte.d, phobos/std/typeinfo/ti_ubyte.d,
237	phobos/std.ddoc, phobos/win32.mak: Merge 0.176
238
239	* phobos/std/bind.d: New file in 0.176
240
241	* dmd/toir.[ch]: New files (from DMD 0.175)
242
243	* phobos/phobos.d: New file (from DMD 0.160)
244
245	--------------
246
247	* phobos/std/boxer.d (unbox(T : void*).unbox): fix
248
249	* d-glue.cc (NewExp::toElem): Support allocation on stack
250
251	Initial merge of DMD 0.175
252
253	* cast.c, dmd/class.c, dmd/dchar.c, dmd/dchar.h,
254	dmd/declaration.c, dmd/declaration.h, dmd/delegatize.c,
255	dmd/dsymbol.c, dmd/dump.c, dmd/enum.c, dmd/expression.c,
256	dmd/expression.h, dmd/func.c, dmd/identifier.c, dmd/identifier.h,
257	dmd/inifile.c, dmd/init.c, dmd/lexer.c, dmd/lstring.h,
258	dmd/mangle.c, dmd/mars.c, dmd/mtype.c, dmd/mtype.h,
259	dmd/optimize.c, dmd/parse.c, dmd/root.c, dmd/root.h, dmd/scope.c,
260	dmd/scope.h, dmd/statement.c, dmd/statement.h, dmd/stringtable.c,
261	dmd/todt.c, dmd/typinf.c: Merge 0.175
262
263	dmd/html.c: not merged
264
265	* phobos/internal/object.d, phobos/std/demangle.d,
266	phobos/std/format.d, phobos/std/socket.d, phobos/std/stdio.d,
267	phobos/std/traits.d, phobos/std/uni.d, phobos/std.ddoc:
268	Merge 0.175
269
270	------------
271
272	* config/darwin8, config/mingw: update config fragments
273
2742006-11-26  David Friedman  <dvdfrdmn@users.sf.net>
275
276	* d-codegen.cc, d-glue.cc: Fix missing continue label
277	expansion for GCC < 4.0
278
279	* d-glue.cc (make_math_op): Convert non-complex to complex
280	in all version of GCC. (Buzilla 575)
281
282	* d-codegen.cc: for tree code class for GCC < 4.0
283
284	* phobos/Makefile.in: make test programs dependendent on
285	libgphobos.a as gdc will still try to find it
286
287	* phobos/configure.in: conditionally build std/boxer.o
288
289	* phobos/Makefile.in (MAIN_OBJS): remove std/boxer.o
290
291	* phobos/internal/arraycat.d (_d_array_literal): disable
292
293	* phobos/std/format.d: fix for PowerPC Linux
294
2952006-11-25  David Friedman  <dvdfrdmn@users.sf.net>
296
297	* d-gcc-real.h: cleanup for warnings
298
2992006-11-24  David Friedman  <dvdfrdmn@users.sf.net>
300
301	* d-glue.cc (DotVarExp::toElem): Handle const members.
302
303	* d-codegen.cc (needs_temp): Return false for constants.
304	(isFreeOfSideEffects): New function.
305
306	* d-glue.cc (do_array_set): Evaluate the rvalue only once
307	(Bugzilla 578).
308
3092006-11-18  David Friedman  <dvdfrdmn@users.sf.net>
310
311	Rest of DMD 0.174 merge:
312
313	* dmd/mtype.c (TypeDelegate::dotExp): Use cast-to-pointer
314	for .ptr property
315
316	* d-decls.cc (VarDeclaration::toSymbol): Build CONST_DECLs
317	* d-codegen.cc (IRState::emitLocalVar): Do nothing if CONST_DECL
318
319	* d-codegen.cc (ArrayScope::setArrayExp): Handle tuple/constant
320	lengths.
321
322	* dmd/toobj.c (Dsymbol::toObjFile): emit local variables for
323	tuples
324
325	* svn: move traits.d and typetuple.d to the correct directory
326
327	* gcc-mars.cc (error): add va_list form
328
329	* dmd/mars.h (error): use va_list for 'error'
330
331	* dmd/expression.c, dmd/lexer.c: fix compile errors
332
333	* phobos/Makefile.in (MAIN_OBJS): add traits.o and typetuple.o
334
335	* dmd-script: add -v1 option
336
337	* dmd/root.c (FileName::ensurePathExists): fix conditions
338	for non-win32, non-linux.
339
340	* dmd-script (printUsage): add missing options documentation
341
342	* d-codegen.{h, cc}: use size_t
343
344	* phobos/internal/dgccmain2.d: update
345
346	Initial merge of DMD 0.174:
347
348	* dmd/attrib.c, dmd/cast.c, dmd/class.c, dmd/declaration.c,
349	dmd/declaration.h, dmd/doc.c, dmd/dsymbol.c, dmd/dsymbol.h,
350	dmd/expression.c, dmd/expression.h, dmd/func.c, dmd/hdrgen.c,
351	dmd/idgen.c, dmd/inline.c, dmd/lexer.c, dmd/mangle.c, dmd/mars.c,
352	dmd/mars.h, dmd/module.c, dmd/mtype.c, dmd/mtype.h, dmd/parse.c,
353	dmd/statement.c, dmd/template.c, dmd/template.h, dmd/tocsym.c,
354	dmd/todt.c, dmd/toobj.c, dmd/typinf.c, dmd/utf.c, dmd/utf.h: Merge
355	0.174
356
357	* phobos/internal/aApplyR.d, phobos/internal/dmain2.d,
358	phobos/internal/object.d, phobos/linux.mak, phobos/object.d,
359	phobos/std/date.d, phobos/std/openrj.d, phobos/std/signals.d,
360	phobos/win32.mak: Merge 0.174
361
362	* phobos/std/traits.d, phobos/std/typetuple.d: New files in 0.174
363
364
3652006-11-17  David Friedman  <dvdfrdmn@users.sf.net>
366
367	* package/simple.sh: enhancements
368
369	* dmd/attrib.c: fix message
370
3712006-11-16  David Friedman  <dvdfrdmn@users.sf.net>
372
373	* d-codegen.cc (continueHere): fix error
374	* d-glue.cc (d_gcc_aggregate_dtors): "
375
3762006-11-14  David Friedman  <dvdfrdmn@users.sf.net>
377
378	* d-builtins2.cc, d-codegen.{cc, h}, d-decls.cc, d-glue.cc,
379	d-lang.h: remove D_TYPE_IS_NESTED.  Do not pull original
380	TypeFunction from FUNCTION_TYPE.
381
382	* d-codegen.cc: cleanup
383
384	* d-codegen.cc, gdc-alloca.h, phobos/config/gen_unix.c: fixes for
385	older MacOS X builds
386
3872006-11-13  David Friedman  <dvdfrdmn@users.sf.net>
388
389	* phobos/std/cpuid.d: fixes for PIC
390
391	* d-asm-i386.h: Fix for referencing funcs (Bugzilla 307).
392	Correct clobbers for cpuid, but left out EBX as a kludge for
393	std.cpuid.
394
395	* phobos/std/c/linux/linux.d: make imports public (Bugzilla 403)
396
397	* d-decls.cc (uniqueName): Fixed logic error (Bugzilla 375). Then
398	just removed most of the code and comments because the workaround
399	is no longer needed.
400
4012006-11-12  David Friedman  <dvdfrdmn@users.sf.net>
402
403	* dmd/root.c (Object::hashCode): cast to pointer acceptable int type
404
405	Rest of DMD 0.173 merge:
406
407	* d-glue.cc (UnrolledLoopStatement::toIR): implement
408
409	* d-codegen.h (setContinueLabel): add interface for multiple continues
410
411	* d-irstate.h (Flow), d-irstate.cc: add overrideContinueLabel for
412	GCC < 4.0
413
414	* d-builtins2.cc, d-glue.cc, d-codegen.cc: update for
415	TypeFunction::arguments -> parameters and tuples
416
417	* dmd/func.c: update
418
419	* d-gcc-complex_t.h: update
420
421	* phobos/Makefile.in (MAIN_OBJS): add signals.o and cpuid.o
422
423	Initial merge of DMD 0.173:
424
425	* dmd/arraytypes.h, dmd/cast.c, dmd/class.c, dmd/complex_t.h,
426	dmd/constfold.c, dmd/declaration.c, declaration.h,
427	dmd/delegatize.c, dmd/doc.c, dmd/dsymbol.c, dmd/dsymbol.h,
428	expression.c, dmd/expression.h, dmd/func.c, dmd/html.c,
429	dmd/html.h, dmd/inline.c, lexer.c, dmd/lexer.h, dmd/mars.c,
430	dmd/mars.h, dmd/mem.h, dmd/mtype.c, dmd/mtype.h, opover.c,
431	dmd/optimize.c, dmd/parse.c, dmd/parse.h, dmd/statement.c,
432	dmd/statement.h, struct.c, dmd/template.c, dmd/template.h,
433	dmd/tocsym.c, dmd/toobj.c, dmd/typinf.c: Merge 0.173
434
435	* phobos/internal/object.d, phobos/linux.mak, phobos/std/stream.d,
436	phobos/std/string.d, phobos/std/system.d, phobos/std.ddoc,
437	phobos/unittest.d, phobos/win32.mak: Merge 0.173
438
439	* phobos/std/c/locale.d, phobos/std/cpuid.d, phobos/std/signals.d:
440	New files in 0.173
441
442	----
443
444	* dmd/class.c, dmd/mars.c, dmd/opover.c, dmd/statement.c:
445	Merge DMD 0.172
446
447	Merge DMD 0.171:
448
449	* dmd/func.c, dmd/optimize.c: Update comments
450
451	* dmd/aggregate.h, dmd/class.c, dmd/func.c, dmd/mars.c:
452	Merge 0.171
453
454	* phobos/internal/aApplyR.d, phobos/internal/gc/gc/.d: Merge 0.171
455
456	----
457
458	Rest of DMD 0.170 merge:
459
460	* d-glue.cc (ArrayLiteralExp::toElem): Handle the case in which
461	the type of the expression is a pointer.
462
463	* dmd/optimize.c (PtrExp::optimize): Don't change type
464	of expression without cast
465
466	* phobos/internal/aApplyR.d: turn off debug(apply)
467
4682006-11-11  David Friedman  <dvdfrdmn@users.sf.net>
469
470	* d-glue.cc (ForeachStatement::toIR): support foreach_reverse
471
472	* dmd/lexer.c: size_t -> unsigned
473
474	* d-lang.cc (d_handle_option): update
475
476	* phobos/Makefile.in: add aApplyR.o
477
478	* phobos/internal/monitor.c: merged
479
480	Initial merge of DMD 0.170:
481
482	* dmd/attrib.c, dmd/cast.c, dmd/class.c, dmd/delegatize.c,
483	dmd/dsymbol.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
484	dmd/identifier.c, dmd/idgen.c, dmd/import.c, dmd/lexer.c,
485	dmd/lexer.h, dmd/mangle.c, dmd/mars.c, dmd/module.c, dmd/mtype.c,
486	dmd/mtype.h, dmd/opover.c, dmd/parse.c, dmd/statement.c,
487	dmd/statement.h, dmd/template.h, dmd/utf.h: Merge 0.170
488
489	* phobos/internal/aApply, phobos/internal/cast.d,
490	phobos/internal/gc/gc.d, phobos/internal/mars.h,
491	phobos/internal/object.d, phobos/linux.mak, phobos/object.d,
492	phobos/std/gc.d, phobos/std/math.d, phobos/std/outofmemory.d,
493	phobos/std/path.d, phobos/std/zlib.d, phobos/std.ddoc,
494	phobos/unittest.d, phobos/win32.mak: Merge 0.170
495
496	* internal/monitor.c: not changed; merge deferred for now
497
498	* phobos/internal/aApplyR.d: new file in 0.170
499
500	----
501
502	Rest of 0.169 merge:
503
504	* phobos/internal/object.d: fix merge error
505
506	* d-asm-i386.h: update for DMD changes
507
508	* dmd/mtype.c, phobos/internal/adi.d (_adSortChar, _adSortWchar):
509	fix for calling conventions
510
511	* d-gcc-complex_t.h: updated
512
513	Initial merge of DMD 0.169:
514
515	* dmd/aggregate.h, dmd/arraytypes.h, dmd/attrib.h, dmd/class.c,
516	dmd/complex_t.h, dmd/cond.h, dmd/declaration.h, dmd/declaration.c,
517	dmd/doc.h, dmd/dsymbol.c, dmd/dsymbol.h, dmd/enum.h,
518	dmd/expression.c, dmd/expression.h, dmd/hdrgen.h, dmd/html.h,
519	dmd/identifier.h, dmd/idgen.c, dmd/import.c, dmd/import.h,
520	dmd/init.c, dmd/init.h, dmd/lexer.h, dmd/macro.h, dmd/macro.c,
521	dmd/mars.c, dmd/mars.h, dmd/module.c, dmd/module.h, dmd/mtype.c,
522	dmd/mtype.h, dmd/opover.c, dmd/optimize.c, dmd/parse.h,
523	dmd/root.c, dmd/scope.c, dmd/scope.h, dmd/statement.c,
524	dmd/statement.h, dmd/staticassert.h, dmd/struct.c, dmd/template.c,
525	dmd/template.h, dmd/total.h, dmd/typinf.c, dmd/utf.h,
526	dmd/version.h: Merge 0.169
527
528	* phobos/internal/adi.d, phbobos/internal/critical.c,
529	phbobos/internal/mars.h, phbobos/internal/monitor.c,
530	phbobos/internal/object.d, phbobos/object.d, phbobos/std/regexp.d:
531	Merge 0.169
532
533	----
534
535	* dmd-script: Create directories for output files
536
537	Rest of 0.168 changes:
538
539	* d-dmd-gcc.h, d-glue.cc (d_gcc_aggregate_dtors): new function
540	* dmd/toobj.c (ClassDeclaration::toObjFile): use d_gcc_aggregate_dtors
541
542	* d-codegen.cc (convertTo): handle delegate .ptr property
543
544	* lang-specs.h, dmd-script: handle .xhtml extension
545
546	Initial merge of DMD 0.168
547
548	* dmd/aggregate.h, dmd/arraytypes.h, dmd/cast.c, dmd/class.c,
549	dmd/declaration.c, dmd/expression.h, dmd/func.c, dmd/html.[ch],
550	dmd/idgen.c, dmd/init.c, dmd/lexer.c, dmd/lexer.h, dmd/link.c,
551	dmd/mangle.c, dmd/mars.c, dmd/module.c, dmd/mtype.[ch],
552	dmd/statement.c, dmd/toobj.c, dmd/typeinf.c: Merge 0.168
553
554	* phobos/etc/gamma.d, phobos/internal/object.d,
555	phobos/std/c/linux/linux.d.orig-dmd, phobos/std/date.d,
556	phobos/std/math.d, phobos/std/socket.d, phobos/std/socketstream.d,
557	phobos/std/stream.d, phobos/std/uni.d, phobos/win32.mak: Merge 0.168
558
5592006-11-10  David Friedman  <dvdfrdmn@users.sf.net>
560
561	* Make-lang.in (d.install-common): cross install fix for gdmd
562
563	* d-glue.cc (NewExp::toElem): uint -> unsigned
564
565	* package/simple.sh: Don't depend on rsync
566
567	* patch-toplev-3.4.x, patch-toplev-4.0.x: Modify top-level
568	Makefile.in, configure.in, and configure to work with
569	a Canadian cross build.
570
571	* d-glue.cc (SynchronizedStatement::toIR): Remove uneeded
572	startBindings call.  Add missing _d_criticalenter call.
573
5742006-10-12  David Friedman  <dvdfrdmn@users.sf.net>
575
576	* phobos/config/unix-mid: add sysconf
577
5782006-10-11  David Friedman  <dvdfrdmn@users.sf.net>
579
580	* phobos/std/format.d (doFormat): support Mangle.Tstruct for p_args
581
582	* phobos/config/unix-head: import tm from gcc.config
583
584	* phobos/config/gen_unix.c (c_time): Moved out struct tm.
585
586	* phobos/config/gen_config1.c: Support clock_t. Move struct tm here.
587
588	* d-glue.cc (AssignExp::toElem): use _d_arraysetlength3p
589	(FuncDeclaration::toObjFile): Fixed assert of class member if
590	synchronized.
591
592	* d-codegen.{h, cc}: replace libcall _d_arraysetlength2p with
593	_d_arraysetlength3p
594
595	* phobos/internal/gc/gc.d (_d_arraysetlength3p): pointer version
596	of _d_arraysetlength3.  GCC asm jump fix.
597
5982006-10-09  David Friedman  <dvdfrdmn@users.sf.net>
599
600	* d-codegen.{h, cc}: new libcalls: _dnewmp, _d_newarraymip
601
602	* phobos/internal/gc/gc.d (_dnewmp, _d_newarraymip): pointer version
603	of _dnewm, _d_newarraymi
604
605	* phobos/config/unix-mid: add utime
606
607	* phobos/std/file.d: changes for GDC
608
609	* phobos/config/gen_unix.c: support utimbuf
610
6112006-09-23  David Friedman  <dvdfrdmn@users.sf.net>
612
613	Initial merge of 0.167:
614
615	* dmd/array.c, dmd/cast.c, dmd/declaration.c, dmd/delegatize.c,
616	dmd/expression.[ch], dmd/func.c, dmd/idgen.c, dmd/import.c,
617	dmd/init.c, dmd/inline.c, dmd/lexer.[ch], dmd/mars.c,
618	dmd/mtype.[ch], dmd/optimize.c, dmd/parse.c, dmd/statement.c,
619	dmd/template.c, dmd/typinf.c: Merge 0.167
620
621	* phobos/internal/arraycat.d, phobos/internal/gc/gc.d,
622	phobos/internal/gc/testgc.d, phobos/internal/object.d,
623	phobos/linux.mak, phobos/object.d, phobos/std/asserterror.d,
624	phobos/std/c/linux/linux.d.orig-dmd, phobos/std/c/time.d,
625	phobos/std/file.d, phobos/std/format.d, phobos/std/math.d,
626	phobos/std/string.d, phobos/std/thread.d, phobos/unittest.d,
627	phobos/win32.mak: Merge 0.167
628
629	* phobos/std/c/windows/stat.d: New 0.167
630
6312006-09-06  David Friedman  <dvdfrdmn@users.sf.net>
632
633	* d-glue.cc (FuncDelaration::toObjFile):
634	Assert isMember	for synchronized functions.
635	(NewExp::toElem): Correct some cases for nested classes
636
6372006-09-04  David Friedman  <dvdfrdmn@users.sf.net>
638
639	* gdc-version, gcc-mars.cc: update
640
641	* d-codegen.cc (trueDeclarationType): support lazy arguments
642	(trueArgumentType): ditto
643
644	* d-codegen.{h, cc}: comment out convertForInitialization
645
646	* Make-lang.in (D_DMD_OBJS): add delegatize
647
648	* dmd/delegatize.c: new, DMD 0.166
649
650	* dmd/cast.c, dmd/declaration.[ch], dmd/expression.[ch],
651	dmd/func.c, dmd/inline.c, dmd/lexer.c, dmd/lexer.h, dmd/mars.c,
652	dmd/mtype.c, dmd/mtype.h, dmd/opover.c, dmd/parse.c,
653	dmd/statement.c, dmd/struct.c, dmd/template.c, dmd/tocsym.c,
654	dmd/typinf.c: Merge DMD 0.166
655
656	* phobos/etc/c/zlib/...: Merge 0.166
657
658	* phobos/internal/aApply.d, phobos/internal/gc/linux.mak,
659	phobos/linux.mak, phobos/std/cover.d, phobos/std/utf.d,
660	phobos/win32.mak: Merge 0.166
661
662	* phobos/etc/zlib/infblock.[ch], phobos/etc/zlib/infcodes.[ch],
663	phobos/etc/zlib/infutil.[ch], phobos/etc/zlib/maketree.c,
664	phobos/etc/zlib/zlib.html: remove, DMD 0.166
665
666	* gdc-version: update
667
668	* d-glue.cc (FuncDeclaration::toObjFile): update
669
670	* dmd/cast.c, dmd/declaration.[ch], dmd/enum.c,
671	dmd/expression.[ch], dmd/func.c, dmd/init.c, dmd/inline.c,
672	dmd/mars.c, dmd/mtype.c, dmd/statement.c, dmd/template.c,
673	dmd/typeinf.c: Merge DMD 0.165
674
675	* phobos/internal/gc/gcx.d, phobos/std.ddoc: Merge DMD 0.165
676
677	* gdc-version: updated
678
679	* dmd/aggregate.h, dmd/declaration.[ch], dmd/doc.c, dmd/dsymbol.c,
680	dmd/expression.c, dmd/import.c, dmd/inifile.c, dmd/mars.c,
681	dmd/module.[ch], dmd/mtype.c, dmd/parse.c, dmd/statement.c,
682	dmd/template.c: Merge DMD 0.164
683
684	* phobos/std/socket.d: Merge DMD 0.164
685	* phobos/std/thread.d: no change
686
6872006-07-22  David Friedman  <dvdfrdmn@users.sf.net>
688
689	* phobos/internal/gc/testgc.d: add import
690
691	* phobos/std/thread.d (Thread.thread_init, Thread.getESP): make
692	public
693
694	* phobos/std/c/unix/unix.d: use public import
695
696	* dmd/access.c, dmd/aggregate.h, dmd/attrib.c, dmd/class.c,
697	dmd/declaration.[ch], dmd/enum.c, dmd/expression.c, dmd/func.c,
698	dmd/import.[ch], dmd/mars.c, dmd/module.c, dmd/mtype.[ch],
699	dmd/parse.[ch], dmd/scope.[ch], dmd/struct.c, dmd/template.[ch],
700	dmd/todt.c: Merge DMD 0.163
701
702	* phobos/internal/object.d, phobos/std/c/linux/linux.d.orig-dmd,
703	phobos/std/regexp.d, phobos/std/stdio.d, phobos/std/stream.d:
704	Merge DMD 0.163
705
7062006-07-12  David Friedman  <dvdfrdmn@users.sf.net>
707
708	Release GDC 0.19
709
710	* dmd/template.c: don't use ehfilter
711	* gdc-version: update
712
7132006-07-11  David Friedman  <dvdfrdmn@users.sf.net>
714
715	Support for Apple GCC and other fixes
716
717	* setup-gcc.sh: patch build_gcc
718	* patch-build_gcc-4.0: new
719
720	* dmd-script: Support -arch option and apple driver naming.
721	Use absolute path to execute program with -run.
722
7232006-07-10  David Friedman  <dvdfrdmn@users.sf.net>
724
725	* phobos/config/darwin8/{frag-gen,frag-math,frag-unix}: new
726	* phobos/configure.in: support Darwin cross compiling
727	* phobos/configure.in: updated
728
729	* phobos/config/gen_unix.c (c_fcntl): added *_OK enums
730	* phobos/config/skyos/frag-unix: updated
731
7322006-07-03  David Friedman  <dvdfrdmn@users.sf.net>
733
734	* ../../gcc/tree.h, ../../gcc/tree-dump.c: machine readable dump
735
736	Merge DMD 0.162
737
738	* d-glue.cc (AssignExp::toElem): use _d_arraysetlength2p
739
740	* phobos/internal/gc/gc.d: chanage _d_arraysetlength2 to
741	_d_arraysetlength2p
742
7432006-07-02  David Friedman  <dvdfrdmn@users.sf.net>
744
745	* d-codegen.{h, cc}: support _d_arraysetlength2
746
747	* dmd/cast.c, dmd/declaration.c, dmd/doc.c, dmd/expression.c,
748	dmd/func.c, dmd/mars.c, dmd/mtype.c, dmd/parse.c, dmd/struct.c,
749	dmd/template.[ch], dmd/toobj.c: merged
750
751	* phobos/internal/gc/gc.d, phobos/object.d,
752	phobos/std/asserterror.d, phobos/std/moduleinit.d: merged
753
754	---
755
756	* phobos/std/regexp.d (RegExp.Range.setbitmax): fix for
757	big endian
758
7592006-06-28  DF  <dvdfrdmn@users.sf.net>
760
761	* d-glue.cc (TypeStruct::toCtype, TypeEnum::toCtype): Move
762	initTypeDecl call to after size calculation.
763
7642006-06-24  David Friedman  <dvdfrdmn@users.sf.net>
765
766	* phobos/Makefile.in: fix and clean up config.d dependencies
767
768	* d-gcc-real.cc (real_t): fix assumptions about HOST_WIDE_INT
769
7702006-06-23  David Friedman  <dvdfrdmn@users.sf.net>
771
772	* Make-lang.in, asmstmt.cc, d-convert.cc, d-gcc-includes.h,
773	  d-lang.cc, setup-gcc.sh: update to support building with Apple
774	  GCC
775	* d-apple-gcc.cc, patch-apple-gcc-4.0.x: new
776
777	Misc fixes
778
779	* Make-lang.in: Add dependencies for DMD header files.
780
781	* phobos/config/gen_unix.c (c_time): fix array bounds bug
782
7832006-06-22  David Friedman  <dvdfrdmn@users.sf.net>
784
785	* Make-lang.in: use BUILD_LDFLAGS for generator progs
786
7872006-06-21  David Friedman  <dvdfrdmn@users.sf.net>
788
789	* d-asm-i386.h: implement offset/offsetof
790
7912006-06-20  David Friedman  <dvdfrdmn@users.sf.net>
792
793	Merge DMD 0.161
794
795	* gcc-mars.cc, gdc-version: updated
796
797	* dmd/cast.c, dmd/class.c, dmd/declaration.[ch], dmd/dsymbol.c,
798	dmd/expression.[ch], dmd/func.c, dmd/idegen.c, dmd/import.h,
799	dmd/inline.c, dmd/lexer.[ch], dmd/mars.[ch], dmd/module.c,
800	dmd/mtype.c, dmd/opover.c, dmd/parse.c, dmd/root.[ch],
801	dmd/statement.c, dmd/struct.c, dmd/template.[ch], dmd/toobj.c:
802	Merge DMD 0.161
803
804	* phobos/internal/adi.d, phobos/internal/cast.d,
805	phobos/internal/trace.d, phobos/linux.mak,
806	phobos/std/asserterror.d, phobos/std/base64.d,
807	phobos/std/bitarray.d, phobos/std/boxer.d,
808	phobos/std/c/linux/socket.d, phobos/std/c/windows/windows.d,
809	phobos/std/c/windows/winsock.d, phobos/std/conv.d,
810	phobos/std/cstream.d, phobos/std/date.d, phobos/std/dateparse.d,
811	phobos/std/demangle.d, phobos/std/file.d, phobos/std/format.d,
812	phobos/std/math.d, phobos/std/math2.d, phobos/std/mmfile.d,
813	phobos/std/random.d, phobos/std/regexp.d, phobos/std/socket.d,
814	phobos/std/socketstream.d, phobos/std/stream.d,
815	phobos/std/string.d, phobos/std/stream.d, phobos/std/thread.d,
816	phobos/std/typeinfo/ti_Along.d, phobos/std/typeinfo/ti_Aulong.d,
817	phobos/std/tyeinfo/ti_void.d, phobos/std/uni.d, phobos/std/uri.d,
818	phobos/std/utf.d, phobos/std/windows/registry.d, phobos/std/zip.d,
819	phobos/std/zlib.d, phobos/std.ddoc, phobos/unittest.d,
820	phobos/win32.mak: Merge DMD 0.161
821
822	* Make-lang.in, d-lang.cc: Possible workaround for MingGW path
823	issues.  Create d-confdefs.h to contain the values of D_PHOBOS_DIR
824	and D_PHOBOS_TARGET_DIR.
825
8262006-06-10  David Friedman  <dvdfrdmn@users.sf.net>
827
828	* History: new file
829	* package/install.sif: ditto
830	* package/simple.sh:
831
832	* phobos/std/zip.d (putUshort): fix for BigEndian case
833
834	* phobos/internal/gc/gcgccextern.d: update for version(freebsd)
835
836	* target-ver-syms.sh: Use "freebsd" for FreeBSD.
837
838	* phobos/configure.in: Enable std.loader for FreeBSD.
839	* phobos/std/loader.d: ditto
840	* phobos/configure: updated
841
842	* Make-lang.in: Support package building. Cleanup.
843
8442006-06-08  David Friedman  <dvdfrdmn@users.sf.net>
845
846	* patch-gcc-4.0.x: updated with...
847	* .../gcc/tree-nested.c: check if static chain is a PARM_DECL
848	(Bugzilla 175)
849
8502006-06-07  David Friedman  <dvdfrdmn@users.sf.net>
851
852	* Make-lang.in: use CXX_FOR_BUILD
853
854	* phobos/std/format.d (unittest): Some C libraries do not support
855	the %A format.
856
8572006-06-06  David Friedman  <dvdfrdmn@users.sf.net>
858
859	* phobos/config/skyos/frag-unix: update for SkyOS beta 10
860
8612006-06-05  David Friedman  <dvdfrdmn@users.sf.net>
862
863	Merge DMD 0.160
864
865	* d-codegen.cc (arrayType): handle zero-length arrays for local
866	variables.
867
868	* gdc-version, gcc-mars.cc: update
869
870	* d-glue.cc (NewExp::toElem): support 'exp. new ...'
871
872	* d-codegen.{h, cc}: support _d_assert_msg
873
874	* dmd/attrib.c, dmd/enum.c, dmd/expression.[ch], dmd/idgen.c,
875	dmd/inifile.c, dmd/inline.c, dmd/mars.c, dmd/module.c,
876	dmd/mtype.c, dmd/opover.c, dmd/parse.[ch], dmd/statement.[ch],
877	dmd/staticassert.[ch], dmd/struct.c: Merge DMD 0.160
878
879	* phobos/std/asserterror.d, phobos/std/regexp.d,
880	phobos/std/zlib.d, phobos/std.ddoc, phobos/win32.mak: Merge DMD
881	0.160
882
8832006-06-04  David Friedman  <dvdfrdmn@users.sf.net>
884
885	Various fixes
886
887	* d-codegen.cc (twoFieldType): cleanup
888
889	* phobos/internal/gc/gc_dyld.c: correct callback signature
890
891	* phobos/std/format.d (unittest): Undo test change.
892	(putreal): Handle the case where real is equivalent to double.
893
894	* d-glue.cc (TypeClass::toCtype): use prepareTypeDecl instead of
895	setting an initial TYPE_NAME (Bugzilla 174)
896	(TypeStruct::toCtype): ditto
897	(TypeEnum::toCtype): ditto
898
899	* d-objfile.{h, cc} (prepareTypeDecl): New: Create type
900	declarations, but do not declare them to back end.
901
902	Merge DMD 0.159 and more
903
904	* d-asm-i386.h (parsePrimaryExp): handle floating point const
905	decls specially (Bugzilla 141)
906
9072006-06-03  David Friedman  <dvdfrdmn@users.sf.net>
908
909	* d-glue.cc (AssertExp::toElem): handle interfaces
910
911	* phobos/std/math.d (poly): fix for darwin x86
912
913	* phobos/std/format.d (unittest): handle some variation in %a
914	formats
915
916	* gdc-version: updated
917
918	* gcc-mars.cc: updated
919
920	* dmd/attrib.c, dmd/attrib.h, dmd/class.c, dmd/declaration.c,
921	dmd/doc.c, dmd/expression.c, dmd/expression.h, dmd/func.c,
922	dmd/link.c, dmd/mars.c, dmd/module.c, dmd/module.h, dmd/parse.c,
923	dmd/parse.h, dmd/statement.c, dmd/staticassert.c, dmd/struct.c,
924	dmd/template.c, dmd/toobj.c: Merge DMD 0.159
925
926	* phobos/std/c/linux/linux.d.orig-dmd,
927	phobos/std/c/linux/linuxextern.d, phobos/std/c/windows/windows.d,
928	phobos/std/regexp.d, phobos/std/string.d, phobos/std/uni.d,
929	phobos/std.ddoc: Merge DMD 0.159
930
931	* dmd-script: use -O3 for GCC if -O is passed
932
933	Fix bugs 157, 162, 164, 171
934
935	* d-asm-i386.h: 'invlpg' instruction takes an operand (Bug 171)
936
937	* patch-gcc-4.0.x: updated with...
938	* .../gcc/tree-nested.c: use a VAR_DECL for custom static chain
939	(Bug 162, Bug 164)
940
941	* gdc-version: updated
942
943	* d-glue.cc (FuncExp::toElem): Handle Tpointer case. (Bug 157)
944
9452006-06-01  David Friedman  <dvdfrdmn@users.sf.net>
946
947	* Start of SourceForge repository
948
949
950Copyright (C) 2006 Free Software Foundation, Inc.
951
952Copying and distribution of this file, with or without modification,
953are permitted in any medium without royalty provided the copyright
954notice and this notice are preserved.
955