1 2015-07-16 Keith Marshall <keithmarshall@users.sourceforge.net>
3 Incorporate build system updates from w32api package.
5 * Makefile.in (NTDDI_VERSION): Set default to NTDDI_WINNT4.
6 (mkinstalldirs, INSTALL_DATA): Reimplement to support $(call ...)
7 (install-strip, uninstall): New make command goals; implement them.
8 (mingwrt-dist-staged): Use 'install-strip' in this rule; hence...
9 (devdist, dlldist): ...these have no need to strip explicitly.
10 (INSTALL_SUB_HEADERS): New macro; implement it, and use it...
11 (install-mingwrt-headers): ...here.
13 2015-07-14 Keith Marshall <keithmarshall@users.sourceforge.net>
15 Adapt platform feature checks to NTDDI_VERSION conventions.
17 * include/_mingw.h: Assert copyright; include w32api.h
18 (UNICODE, _UNICODE): Factor out consistency checks; relocate them
19 to w32api/include/w32api.h, whence they remain in effect.
20 (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): Likewise.
22 2015-07-14 Keith Marshall <keithmarshall@users.sourceforge.net>
24 Correct mismatched #if/#endif from preceding commit.
26 * include/_mingw.h (#pragma GCC system_header)
27 [__GNUC__ >= 3 && ! defined __PCC__]: Merge these conditions, thus
28 correcting for inadvertent removal of matching #endif introduced by
29 preceding 2015-06-19 commit.
31 2015-06-19 Keith Marshall <keithmarshall@users.sourceforge.net>
33 Define symbolic names for alternative Microsoft runtime DLLs.
35 * include/msvcrtver.h: New file; it assigns a value for...
36 (__MSVCRT_VERSION__): ...this, making its default equivalent to...
37 (__MSVCR60_DLL): ...this new manifest constant, with each of...
38 (__MSVCR61_DLL, __MSVCR70_DLL, __MSVCR71_DLL, __MSVCR80_DLL)
39 (__MSVCR90_DLL, __MSVCR100_DLL, __MSVCR110_DLL, __MSVCR120_DLL):
40 ...these also defined, as user assignable alternatives.
42 * include/_mingw.h (__MSVCRT_VERSION__): Use include/msvcrtver.h
43 to establish its default value.
45 2015-06-18 Keith Marshall <keithmarshall@users.sourceforge.net>
47 Track dependencies on modified system header files.
49 * Makefile.in (DEPFLAGS): Use -MD, rather than -MMD.
51 2015-06-18 Keith Marshall <keithmarshall@users.sourceforge.net>
53 Correct an anomaly in stage 1 only build procedure.
55 * Makefile.in (all-gcc): New goal; it is an alias for...
56 (all-mingwrt-stage-1): ...this, renamed to match configure, as...
57 (all-mingwrt-stage-1-only): ...this; upate all references.
58 (active-goals): Adjusted accordingly; it now reguires...
59 (all-deprecated-mingwrt-stage-1-only): ...this new goal.
60 (install): Adjusted, as directed by...
61 (DEFAULT_MAKECMDGOALS): ...this.
63 2015-06-13 Keith Marshall <keithmarshall@users.sourceforge.net>
65 Prefer our hypot() implementation in complex maths operations.
67 * mingwex/complex/cabs_generic.c: New file; it replaces...
68 * mingwex/complex/cabs.c mingwex/complex/cabsf.c: ...all of...
69 * mingwex/complex/cabsl.c: ...these.
71 * mingwex/complex/catan_generic.c: New file; it replaces...
72 * mingwex/complex/catan.c mingwex/complex/catanf.c: ...all of...
73 * mingwex/complex/catanl.c: ...these.
75 * mingwex/complex/clog_generic.c: New file; it replaces...
76 * mingwex/complex/clog.c mingwex/complex/clogf.c: ...all of...
77 * mingwex/complex/clogl.c: ...these.
79 * mingwex/complex/cpow_generic.c: New file; it replaces...
80 * mingwex/complex/cpow.c mingwex/complex/cpowf.c: ...all of...
81 * mingwex/complex/cpowl.c: ...these.
83 * mingwex/complex/csqrt_generic.c: Do not use...
84 (_hypot): ...this Microsoft form of function reference; use...
85 (hypot): ...this ANSI standard form instead.
87 2015-06-10 Keith Marshall <keithmarshall@users.sourceforge.net>
89 Correct C++ compilation anomaly with hypotf() in cmath header.
91 * include/math.h: Add copyright notice; generally tidy layout.
92 (_BEGIN_C_DECLS, _END_C_DECLS): Use to wrap extern "C" declarations.
93 (hypotf): Delete inline implementation; it did not properly handle
94 range errors, and was uncompilable with optimization when any g++
95 option implying __STRICT_ANSI__ conformity was specified.
96 (_MATH_H_): Rename this multiple inclusion guard...
97 (_MATH_H): ...to this.
99 * mingwex/math/hypot_generic.c: New file; it implements...
100 (hypot, hypotf, hypotl): ...these; use the latter pair in place of...
101 * mingwex/math/hypotf.c mingwex/math/hypotl.c: ...these; delete them.
103 2015-06-08 Keith Marshall <keithmarshall@users.sourceforge.net>
105 Prepare and tag all files for release of mingwrt-3.21.1.
107 * configure.ac (AC_INIT): Adjust package version argument.
108 * include/_mingw.h (__MINGW32_PATCHLEVEL): Increment to 1, and...
109 (__MINGW32_VERSION): ...increment this to match.
111 2015-05-18 Keith Marshall <keithmarshall@users.sourceforge.net>
113 Refactor to avoid possible time_t conflicts across headers.
115 * include/parts/time.h (struct timespec): Make it more descriptive of,
116 and better able to accommodate, potential ambiguity relating to...
117 (time_t, __time32_t, __time64_t): ...these typedefs; define them here,
118 whence they may be identically imported into each of...
119 * include/sys/types.h include/time.h include/wchar.h: these; delete
120 duplicate typedefs, and import accordingly.
122 * include/sys/types.h: Add licence; general comment additions.
123 (_TYPES_H_): Rename multiple inclusion guard macro...
124 (_SYS_TYPES_H): ...to this.
126 * include/time.h: Add licence; general comment/layout adjustments.
127 (_BEGIN_C_DECLS, _END_C_DECLS): Use to wrap extern "C" declarations.
128 (_TIME_T_DEFINED, _TIME32_T_DEFINED, _TIME64_T_DEFINED)
129 (_CLOCK_T_DEFINED): Superfluous guard macros; delete them.
130 (_TIME_H_): Rename multiple inclusion guard macro...
131 (_TIME_H): ...to this.
133 * include/unistd.h (nanosleep): Adjust to accommodate redefinition...
134 (struct timespec): ...of this.
136 * include/wchar.h: Add licence; general comment/layout adjustments.
137 (_BEGIN_C_DECLS, _END_C_DECLS): Use to wrap extern "C" declarations.
138 [GCC] (system_header): Add pragma, identifying header as such.
139 (_WCHAR_H_): Rename multiple inclusion guard macro...
140 (_WCHAR_H): ...to this.
142 2015-05-09 Keith Marshall <keithmarshall@users.sourceforge.net>
144 Remove obsolete varargs.h header file.
146 * include/varargs.h: Delete it; it was a mostly redundant wrapper for
147 a GCC header which is no longer supported, and was always intended for
148 ultimate removal; now is the long overdue time to do so.
150 2015-05-08 Keith Marshall <keithmarshall@users.sourceforge.net>
152 Correct improper unistd.h function attribute declarations.
154 * include/unistd.h (_cdecl): Correct usage throughout; should be...
157 2015-03-12 Keith Marshall <keithmarshall@users.sourceforge.net>
159 Fix GLOB_DOOFFS initialization bug.
161 * mingwex/glob.c (__mingw_glob) [!GLOB_DOOFFS]: Ensure...
162 (gl_data->gl_offs): ...this is properly initialized to zero.
164 2014-12-28 Keith Marshall <keithmarshall@users.sourceforge.net>
166 Tag all files for release of mingwrt-3.21.
168 * include/_mingw.h: Adjust version accordingly.
170 2014-12-28 Keith Marshall <keithmarshall@users.sourceforge.net>
172 Improve usage notes in stdlib.h, for mkstemp() function.
174 * include/stdlib.h (MKSTEMP_SETMODE): Explain usage; this is a copy of
175 an original comment, explaining the need to use _O_TEMPORARY, from...
176 * mingwex/mkstemp.c: ...here; delete trailing white space.
178 2014-12-23 Keith Marshall <keithmarshall@users.sourceforge.net>
180 Eliminate some potential definition inconsistencies.
182 * include/stdio.h: Cosmetic formatting change, relating to...
183 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define them
184 unconditionally; this allows the compiler to check for consistency
185 with their primary definitions in stdio.h
187 2014-12-23 Keith Marshall <keithmarshall@users.sourceforge.net>
189 Suppress expected warning diagnostics in LIBIMPL builds.
191 * Makefile.in (LIBIMPL_CFLAGS): Redefine it; it now incorporates...
192 (LIBIMPL_EXTRA_CFLAGS): ...this new macro; it includes the requisite
193 GCC flag to supress warnings relating to deprecated declarations.
195 2014-12-23 Keith Marshall <keithmarshall@users.sourceforge.net>
197 Provide more POSIX conforming sleep() functions.
199 * include/sys/types.h (useconds_t): Make it explicitly long; int may
200 be okay, but doesn't guarantee enough bits; mark as deprecated, since
201 POSIX has declared it "obsolete", and no longer specifies it.
203 * mingwex/usleep.c: Delete file; it provided an implementation of...
204 (usleep): ...this now obsolete function, claiming POSIX.1 issue 6, but
205 its error handling was hopelessly broken; replace it with...
206 * mingwex/nsleep.c: ...this new file; it implements...
207 (__mingw_sleep): ...this generic helper function; it supports sleep
208 capability with interval specification to nanosecond precision.
210 * include/unistd.h (__mingw_sleep): Declare prototype; use it as the
211 basis for providing __LIBIMPL__ __CRT_INLINE implementations of...
212 (sleep, nanosleep): ...these current POSIX functions, and also...
213 (usleep): ...this obsolete one; mark it as deprecated.
215 * include/parts: New directory; it is intended to host partial header
216 implementations, for content which must be shared among arbitrary sets
217 of multiple standard header files.
219 * include/parts/time.h: New file; nominally declaring time.h content.
220 (struct timespec): Declare it; it is currently used within unistd.h,
221 to facilitate the __CRT_INLINE implementation of nanosleep().
223 * Makefile.in (libmingwex.a): Remove reference to...
224 (usleep.$OBJEXT): ...this; replace it with a reference to...
225 (nsleep.$OBJEXT): ...this alternative.
226 (mingwrt-includedirs): Add prerequisite to create...
227 ($includedir/parts): ...this new directory; it is populated by...
228 (install-mingwrt-headers): ...this rule; add requisite command.
230 2014-12-13 Keith Marshall <keithmarshall@users.sourceforge.net>
232 Delete an unnecessary Unicode wrapper file.
234 * mingwex/wdirent.c: Delete it; Makefile.in knows how to compile the
235 UTF-16LE API from dirent.c, without any need for this wrapper.
237 2014-12-13 Keith Marshall <keithmarshall@users.sourceforge.net>
239 Some further inline function rationalization.
241 * include/io.h (_CRTALIAS): Replace all references...
242 (__CRT_ALIAS): ...using this syntactically preferred form.
243 (lseek64): Specify __JMPSTUB__ semantics for extern implementation.
244 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
246 * include/unistd.h (ftruncate): Specify __JMPSTUB__ semantics.
247 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
249 * mingwex/stdio/lseek64.c: File is now redundant; delete it.
250 * mingwex/ftruncate.c: Likewise.
252 * Makefile.in (libmingwex.a): Delete obsolete dependencies on...
253 (lseek64.$OBJEXT, ftruncate.$OBJEXT): ...these.
255 2014-12-13 Keith Marshall <keithmarshall@users.sourceforge.net>
257 Some POSIX feature test adjustments.
259 * include/stdlib.h (mkstemp): Available since SUSv3, so requires...
260 [_POSIX_C_SOURCE >= 200112L]: ...this minimum level of POSIX support.
261 (mkdtemp): This didn't become available until SUSv4, so requires...
262 [_POSIX_C_SOURCE >= 200809L]: ...this increased feature level.
264 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
266 Another CRT_INLINE function implementation rationalization.
268 * include/inttypes.h (imaxabs): Specify as __LIBIMPL__; declare...
269 (llabs): ...this, to be implemented as its __LIBIMPL__ alias.
270 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
272 * Makefile.in (libimpl_sed_script): Handle ALIAS attribute.
273 (libmingwex.a): Delete obsolete dependency on...
274 (imaxabs.$OBJEXT): ...this.
276 * mingwex/imaxabs.c: File is now redundant; delete it.
278 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
280 More rationalization of CRT_INLINE function implementations.
282 * include/stdio.h (fopen64): Add __JMPSTUP__ specification.
283 (ftello64): Add __LIBIMPL__ specification for extern implementation.
284 [__cplusplus] (_BEGIN_C_DECLS, _END_C_DECLS): Use these.
286 * mingwex/stdio/fopen64.c: File is now redundant; delete it.
287 * mingwex/stdio/ftell064.c: Likewise.
289 * Makefile.in (libmingwex.a): Delete obsolete dependencies on...
290 (fopen64.$OBJEXT, ftello64.$OBJEXT): ...these.
292 2014-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
294 Don't implicitly define _POSIX_C_SOURCE too early.
296 * include/_mingw.h (_POSIX_C_SOURCE): Delay implict definition.
297 (__USE_MINGW_ANSI_STDIO): This must be initialized first, to ensure
298 that it is not accidentally activated by implied _POSIX_C_SOURCE.
300 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
302 Correct complex arcsin computation per issue [#2245].
304 * mingwex/complex/casin_generic.c: New file; it replaces...
305 * mingwex/complex/casin.c: ...this; it is now obsolete; delete it.
306 * mingwex/complex/casinf.c mingwex/complex/casinl: Likewise.
308 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
310 Correct complex square root computation per issue [#2246].
312 * include/math.h (hypotf): Redirect __CRT_INLINE call to...
313 (_hypot): ...this MSVCRT.DLL exported function, so avoiding...
314 (hypot): ...this libmoldname.a indirection.
316 * mingwex/complex/csqrt_generic.c: New file; it replaces...
317 * mingwex/complex/csqrt.c: ...this; it is now obsolete; delete it.
318 * mingwex/complex/csqrtf.c mingwex/complex/csqrtl: Likewise.
320 2014-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
322 Adjust header guards to resolve issue [#2244].
324 * include/_mingw.h (_POSIX_C_SOURCE): Define it implicitly...
325 [_GNU_SOURCE || _BSD_SOURCE || _POSIX_SOURCE || !__STRICT_ANSI__]:
326 ...when any of these prevail, or as appropriate to correspond with...
327 [_XOPEN_SOURCE]: ...this; set conformance level accordingly.
329 * include/math.h [_POSIX_C_SOURCE || defined _USE_MATH_DEFINES]
330 (M_E, M_LOG2E, M_LOG10E, M_LN2, M_LN10, M_PI, M_PI_2, M_PI_4, M_1_PI)
331 (M_2_PI, M_2_SQRTPI, M_SQRT2, M_SQRT1_2): Define them, irrespective...
332 [__STRICT_ANSI__]: ...of this; replace guard accordingly.
334 2014-12-01 Keith Marshall <keithmarshall@users.sourceforge.net>
336 Add implementation of mkstemp() and mkdtemp() functions.
338 * mingwex/cryptnam.c: New file; it implements...
339 (__mingw_crypto_tmpname): ...this helper function; it generates a
340 cryptographically secure sequence of characters, used as the random
341 component in temporary file and directory names.
343 * mingwex/mkstemp.c: New file; it implements...
344 (__mingw_mkstemp): ...this provider of mkstemp() functionality.
346 * mingwex/mkdtemp.c: New file; it implements...
347 (__mingw_mkdtemp): ...this provider of mkdtemp() functionality.
349 * include/stdlib.h (mkstemp): Declare protototye; provide an inline
350 function implementation, with LIBIMPL extern semantics, in terms of...
351 (__mingw_mkstemp): ...this; also declare prototype, and define...
352 (_MKSTEMP_INVOKE, _MKSTEMP_DEFAULT): ...these supporting constants.
353 (_MKSTEMP_SETMODE): New macro; define it, also providing...
354 (MKSTEMP_SETMODE) [!_NO_OLDNAMES]: ...this alias.
355 (mkdtemp): Declare prototype; provide inline implementation, with
356 JMPSTUB extern semantics, in terms of...
357 (__mingw_mkdtemp): ...this; declare prototype.
359 * Makefile.in (libmingwex.a): Add dependency rule, to include...
360 (mkstemp.$OBJEXT, mkdtemp.$OBJEXT, cryptname.$OBJEXT): ...these.
362 2014-11-30 Keith Marshall <keithmarshall@users.sourceforge.net>
364 More JMPSTUB rationalization of inline functions.
366 * include/stdlib.h (_Exit, atoll, lltoa, ulltoa, wtoll, lltow)
367 (ulltow): Add __JMPSTUB__ declarations; each is REMAPPED to its
368 appropriate MSVCRT.DLL equivalent entry point.
370 * mingwex/_Exit.c: File is now redundant; delete it.
371 * mingwex/atoll.c mingwex/lltoa.c mingwex/ulltoa: Likewise.
372 * mingwex/wtoll.c mingwex/lltow.c mingwex/ulltow: Likewise.
374 * Makefile.in (jmpstub_awk_script): Add support for...
375 [__JMPSTUB__((REMAPPED))]: ...this stub function attribute.
376 (libmingwex.a): Remove dependencies on deleted files, namely...
377 (_Exit.$OBJEXT, atoll.$OBJEXT, lltoa.$OBJEXT, ulltoa.$OBJEXT)
378 (wtoll.$OBJEXT, lltow.$OBJEXT, ulltow.$OBJEXT): ...these.
380 2014-11-29 Keith Marshall <keithmarshall@users.sourceforge.net>
382 Correct omission of complex conjugate functions from libmingwex.a
384 * include/complex.h (conj, conjf, conjl): Add LIBIMPL declarations.
385 (creal, crealf, creall): Likewise, for consistency of implementation.
386 (cimag, cimagf, cimagl, carg, cargf, cargl): Likewise.
388 * Makefile.in (libimpl_sed_script): Add processing for __CRT_INLINE
389 declarations; they should be interpreted analogously to __CRT_ALIAS.
390 (libmingwex.a): Remove object file references for functions which are
391 now declared as LIBIMPL, and sort the remainder in ASCII collating
392 order; deleted function references comprise the set consisting of...
393 (carg.$OBJEXT, cargf.$OBJEXT, cargl.$OBJEXT): ...these...
394 (creal.$OBJEXT, crealf.$OBJEXT, creall.$OBJEXT): ...these, and...
395 (cimag.$OBJEXT, cimagf.$OBJEXT, cimagl.$OBJEXT): ...these.
397 * mingwex/complex/carg.c: Replaced by LIBIMPL; delete it.
398 * mingwex/complex/cargf.c mingwex/complex/cargl.c: Likewise.
399 * mingwex/complex/creal.c mingwex/complex/cimag.c: Likewise.
400 * mingwex/complex/crealf.c mingwex/complex/cimagf.c: Likewise.
401 * mingwex/complex/creall.c mingwex/complex/cimagl.c: Likewise.
403 2014-11-24 Keith Marshall <keithmarshall@users.sourceforge.net>
405 Back-port improved asinh() implementation from 4.0-dev branch.
407 * mingwex/math/asinh_generic.c: New file; it replaces...
408 * mingwex/math/asinh.c mingwex/math/asinhf.c mingwex/math/asinhl.c:
409 ...all of these; delete them.
411 2014-11-18 Keith Marshall <keithmarshall@users.sourceforge.net>
413 Enable remake of lost LIBIMPL object files.
415 * Makefile.in (libimpl_remake): New macro; define it, and...
416 (%.libimpl.$OBJEXT) [%.libimpl exists]: ...use it in build rule.
418 2014-11-17 Keith Marshall <keithmarshall@users.sourceforge.net>
420 Implement more robust _get_output_format fallback handling.
422 * mingwex/ofmt.c: New file; it implements...
423 (__mingw_output_format_flag): ...backing store, used by...
424 (__mingw_get_output_format, __mingw_set_output_format): ...these
425 MSVCRT.DLL version agnostic wrappers/emulators for each of these...
426 (_get_output_format, _set_output_format): ...MSVCR80.DLL and later
427 version specific Microsoft APIs, which are also supported by some
428 later versions of MSVCRT.DLL, (excluding WinXP and earlier).
429 (__mingw_get_output_format_fallback): Implement; it is aliased to...
430 (__mingw_set_output_format_fallback): ...this; together they provide
431 the emulation support for the preceding pair of functions, when they
432 are not available within the run-time platform MSVCRT.DLL
433 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
434 Implement them; they wrap, and if necessary emulate...
435 (_get_printf_count_output, _set_printf_count_output): ...these.
436 (__mingw_get_printf_count_output_fallback): Implement; aliased to...
437 (__mingw_set_printf_count_output_fallback): ...this; together they are
438 required to support emulation of the preceding pair of functions, when
439 they are not available within the run-time platform MSVCRT.DLL
441 * include/stdio.h (_TWO_DIGIT_EXPONENT): Define it unconditionally.
442 (_THREE_DIGIT_EXPONENT): New manifest constant; define it orthogonally.
443 (__mingw_get_output_format, __mingw_set_output_format)
444 (__mingw_get_printf_count_output, __mingw_set_printf_count_output):
445 Unconditionally declare their prototypes, for subsequent inline use.
446 [_MSVCRT_VERSION__ < 0x800] (_get_output_format): Emulate it inline.
447 [_MSVCRT_VERSION__ < 0x800] (_set_output_format): Likewise.
448 [_MSVCRT_VERSION__ < 0x800] (_get_printf_count_output): Likewise.
449 [_MSVCRT_VERSION__ < 0x800] (_set_printf_count_output): Likewise.
450 (__USE_MINGW_PRINTF): New manifest constant; define it. It is a
451 counterpart to __USE_MINGW_ANSI_STDIO, which is guaranteed to always
452 represent a compilable token.
454 * mingwex/stdio/pformat.c (__pformat_exponent_digits): Do not require
455 _get_output_format; consult __mingw_output_format_flag directly.
457 * ofmt_stub.s: No longer required; delete it.
459 * Makefile.in (ofmt_stub.$OBJEXT): Delete reference.
460 (PFORMAT_CFLAGS) [__MSVCRT_VERSION__ = 0x800]: Remove requirement.
461 (varofmt.$OBJEXT, crtofmt.$OBJEXT, getofmt.$OBJEXT, setofmt.$OBJEXT)
462 (crtnfmt.$OBJEXT, getnfmt.$OBJEXT, setnfmt.$OBJEXT): Add build rule;
463 all are compiled from ofmt.c
465 2014-11-16 Keith Marshall <keithmarshall@users.sourceforge.net>
467 Do some more essential build tree clean up.
469 * Makefile.in (mostly-clean-local): Add *.libimpl; matching files get
470 in the way of a successful rebuild from clean.
472 2014-11-11 Keith Marshall <keithmarshall@users.sourceforge.net>
474 Implement wrappers for emulation of POSIX dlfcn API.
476 * include/dlfcn.h: New file; it declares the API.
477 * mingwex/dlfcn.c: New file; implement it, with access via...
478 (__mingw_dlfcn): ...this publicly addressable vector table.
480 * Makefile.in (dlfcn.$OBJEXT): Add build requisite.
481 (dlopen, dlsym, dlclose, dlerror): Build call stubs, using...
482 (__LIBIMPL__): ...this automatic interface generator; implement it.
483 (libstub_refnames): New macro; it is adapted from and replaces...
484 (jmpstub_refs): ...this; when it is then invoked twice to build...
485 (Makefile.stub): ...this, it handles both JMPSTUB and LIBIMPL.
486 (jmpstub_awk_script): Adapt it to work with 'libstub_refnames'.
487 (libimpl_awk_script): New inline script; it handles automated builds
488 of LIBIMPL interfaces, as 'jmpstub_awk_script' does for JMPSTUB.
489 (libimpl_sed_script): New inline script; it prepares intermediate C
490 source code for LIBIMPL interfaces, as required to satisfy these...
491 (%.libimpl, %.libimpl.$OBJEXT): ...new implicit build objectives.
492 (LIBIMPL_CFLAGS): New macro; define it.
494 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
496 Move libgen functions to __mingw_ pseudo-namespace.
498 * mingwex/dirname.c (dirname): Rename function, as implemented...
499 (__mingwex_dirname): ...to this.
501 * mingwex/basename.c (basename): Rename function, as implemented...
502 (__mingwex_basename): ...to this.
504 * include/libgen.h (__mingw_dirname, __mingw_basename): Declare
505 prototypes, matching and augmenting original declarations for...
506 (dirname, basename): ...these; reimplement as inline aliases, with
507 __JMPSTUB__ references to the renamed implementation entry points.
509 2014-11-08 Keith Marshall <keithmarshall@users.sourceforge.net>
511 Implement new command line argument globbing strategy.
513 * include/_mingw.h: Backport feature defines from master...
514 (__CRT_GLOB_USE_MINGW__, __CRT_GLOB_USE_MSVCRT__): New manifest
515 constants; define them. They select the preferred globbing algorithm.
516 [_CRT_glob & __CRT_GLOB_USE_MINGW__] (__CRT_GLOB_USE_SINGLE_QUOTE__)
517 (__CRT_GLOB_BRACKET_GROUPS__, __CRT_GLOB_CASE_SENSITIVE__): New option
518 bit-map constants; define them. When added to __CRT_GLOB_USE_MINGW__,
519 they enable optional additional features supported by this algorithm.
520 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
522 * CRTglob.c (_CRT_glob): Change default to __CRT_GLOB_USE_MINGW__.
524 * Makefile.in (libmingw32.a): Add setargv.$OBJEXT, furnished by...
525 * setargv.c: ...new file; it implements the initialization mechanism
526 for the __CRT_GLOB_USE_MINGW__ globbing algorithm, when invoked by...
527 (_setargv) [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this new function;
528 it invokes the algorithm via an API similar to that described by MSDN,
529 while continuing to support our original _CRT_glob interpretation.
530 (_setargv) [! _CRT_glob & __CRT_GLOB_USE_MINGW__]: Invoke Microsoft
531 algorithm, via the MSDN-alike API, by calling back to...
533 * crt1.c (_mingw32_init_mainargs): ...this original function, now
534 relocated to here, as a publicly addressable function; formerly...
535 (__mingw_CRTStartup): ...called directly from here, we now redirect
536 the call through _setargv(), whence it may be called indirectly.
538 * init.c: Redundant file; delete it. It originally provided...
539 (_mingw32_init_mainargs): ...this, now relocated as noted above, with
540 original static attribute removed, to allow global addressing.
542 2014-11-07 Keith Marshall <keithmarshall@users.sourceforge.net>
544 Backport glob implementation from master to legacy.
546 * include/glob.h: New file; copy it from master branch.
547 (__mingw_glob, __mingw_globfree): Add __JMPSTUB__ aliases for...
548 (glob, globfree): ...each of these, respectively.
550 * mingwex/glob.c: New file; copy it from master:src/libcrt/misc.
551 (CRT_GLOB_HARD_ESCAPE) [ifndef __CRT_GLOB_ESCAPE_CHAR__]: Provide a
552 fallback definition; default value is ASCII DEL, a.k.a. RUBOUT, code.
553 (accept_glob_nocheck_match): New static function; it adds support for
554 avoidance of globbing on patterns with no globbing token, so avoiding
555 the case transliteration effect reported as MinGW-Bug #2106.
556 (glob_match): Use it.
558 * Makefile.in: Build glob.$OBJEXT; add it to libmingwex.a
560 2014-11-05 Keith Marshall <keithmarshall@users.sourceforge.net>
562 Implement conventionally named dirent function trampolines.
564 * mingwex/jmpstub.sx: New file; it implements a generic trampoline,
565 which redirects a conventionally named function call to its __mingw_
566 pseudo-namespace implementation.
568 * aclocal.m4 (MINGW_AC_PROG_COMPILE_SX): New macro; define it.
569 * configure.ac (MINGW_AC_PROG_COMPILE_SX): Use it; it identifies the
570 appropriate protocol for compiling *.sx files, (supported natively by
571 GCC >= v4.3, but older versions require `-x assembler-with-cpp').
573 * Makefile.in (COMPILE.sx): New implicit rule; GNU make does not
574 yet provide it, so we define it ourselves; deploy it for *.sx files.
575 (Makefile.stub): New sinclude file; create it dynamically, using...
576 (jmpstub_awk_script): ...this new inline script, which is based on...
577 (jmpstub_refs, jmpstub_prerequisites): ...these new macros, and...
578 (mingwex/jmpstub.sx): ...this new file; add vpath reference.
579 (mostlyclean-local): Remove Makefile.stub; do likewise...
580 (Makefile): ...when remaking this, to ensure that both will be
583 2014-11-03 Keith Marshall <keithmarshall@users.sourceforge.net>
585 Make dirent implementation namespace and time_t clean.
587 * include/_mingw.h (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): New
588 macros; define them. They facilitate identification of symbols which
589 must be compiled with `extern "C"' binding, when compiling C++ code.
590 (__CRT_ALIAS): New macro; define it. It is intended to replace...
591 (_CRTALIAS): ...this, which is to be considered as deprecated.
592 (__JMPSTUB__, __LIBIMPL__): New macros; define them. They provide
593 __CRT_ALIAS build hints, while remaining transparent to GCC.
594 (UNICODE, _UNICODE) [user defined]: Define consistently.
596 * mingwex/dirent.c: Reimplement; (this is a back-port from the
597 4.0-dev branch, with additional ABI changes to improve stability).
598 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
599 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
600 Add `__mingw_' prefix to all publicly exposed symbol names.
601 (dirent_findfirst, dirent_findnext, dirent_findclose): New locally
602 implemented functions; they replace Microsoft's ambiguously defined
603 _findfirst, _findnext, and _findclose, so avoiding ABI instability
604 resulting from the ambiguous size of Microsoft's time_t.
606 * include/dirent.h (struct dirent, struct _wdirent): Redefine them,
607 removing unnecessary time_t and file size fields; (our replacements
608 for _findfirst, and _findnext do not require them to be present).
609 (DIR, _WDIR): Adjust typedefs; they are now opaque structs.
610 (opendir, readdir, telldir, seekdir, rewinddir, closedir)
611 (_wopendir, _wreaddir, _wtelldir, _wseekdir, _wrewinddir, _wclosedir):
612 Adjust prototypes, making them inline aliases for public symbols which
613 are now qualified by the `__mingw_' prefix; add build hints to support
614 compilation of addressable stubs, with the original symbol names.
615 (DT_REG, DT_DIR, DT_UNKNOWN): New manifest constants; define them.
616 (DT_BLK, DT_CHR, DT_FIFO, DT_LNK, DT_SOCK): Likewise; (these are for
617 BSD compatibility, but are fundamentally unsupported on MS-Windows).
618 (_DIRENT_HAVE_D_TYPE, _DIRENT_HAVE_D_RECLEN, _DIRENT_HAVE_D_NAMLEN):
619 New macros; define them. (These show availability of optional fields
620 within the dirent struct, which client code may wish to access).
622 2014-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
624 Correct improper naming of assembly language source files.
626 * mingwex/math/*.S: Rename all files with this extension...
627 * mingwex/math/*.s: ...to this; (all are simple assembly language, and
628 not extended `assembler-with-cpp' as implied by the former extension);
629 adjust all internal `.file <name>' references accordingly.
631 * Makefile.in (vpath %.S): Adjust reference to locate files....
632 (vpath %.s): ...now renamed thus.
634 2014-10-29 Keith Marshall <keithmarshall@users.sourceforge.net>
636 Streamline the build system infrastructure.
638 * configure.ac: New file; it replaces...
639 * configure.in: ...this; (name is obsolete); delete it.
641 * aclocal.m4 Makefile.in: Substantially rewritten; avoid recursive
642 make invocations, when processing subdirectories, and add automatic
643 dependency tracking for all generated files.
645 * configure: Delete it; as a generated file, it doesn't belong in SCM.
647 * mingwex/Makefile.in: No longer required; delete it.
648 * profile/Makefile.in: Likewise.
650 * mkinstalldirs: Not required; delete it; (make should use `mkdir -p',
651 or fall back on `install-sh -d', per AC_PROG_MKDIR_P).
653 * jamfile: Delete it; it hasn't been updated in ages, is likely no
654 longer relevant, and I have no desire to maintain it.
656 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
658 * include/_mingw.h: Increment version to 3.20.
660 2011-08-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
662 * tlsmthread.c: Update to reflect changes in tlssup.c.
663 * tlssup.c: code clean-up.
665 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
667 * include/_mingw.h: Increment version to 3.19.
669 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
671 * include/float.h: Modify guard to accomodate CLang.
673 Thanks to Ruben Van Boxem for the report.
675 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
677 * tlssup.c: Remove mingwm10.dll fallback.
679 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
681 * include/sys/types.h (ssize_t): Defined as int as opposed to long.
683 Thanks to bvassche for the report.
685 2011-05-31 Keith Marshall <keithmarshall@users.sourceforge.net>
687 Correct checking for short option matches in getopt_long_only().
689 * mingwex/getopt.c (getopt_verify): New static inline function.
690 (getopt_parse) [getopt_mode_long_only]: Use it, to validate as a
691 possible short option match after failing to match, or ambiguously
692 matching as a long option.
694 2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
696 * include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
698 Thanks to cgf for the report.
700 2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
702 * include/time.h (daylight, timezone, tzname): Rework guards to expose when
703 compiles with __STRICT_ANSI__.
705 Thanks to Felipe Contreras for the report.
707 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
709 * include/stdlib.h (strtod): Remove possible static declaration to resolve
712 Thanks to Tobias Burnus for the report.
714 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
716 * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
717 by wrapping the functions in brackets.
719 Thanks to Kai Tietz for the report.
721 2011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>
723 * Makefile.in: Add support for msvcr100.dll.
724 * msvcrt.def.in: Ditto.
726 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
728 * mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is
729 not always available, go the long way and use the explicit named union
730 members, which are also declared in winnt.h.
732 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
734 * mingwex/isblank.c: Fix typo in declaration.
736 2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
738 * include/_mingw.h: Define GCC system_header only if PCC is not defined.
739 * include/stdlib.h: Fix a long-standing typo which prevented correct use of
740 the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
741 is included before <ctype.h>.
743 2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
745 * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
747 Thanks to Jim Bell for the report and Greg Chicares for the fix.
749 2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
751 Correct hexadecimal formatting of double and long double values.
753 * mingwex/stdio/pformat.c (__pformat_xdouble): Delete function.
754 (__pformat) [A format]: Cast double values to long double, and use...
755 (__pformat_xldouble): ...this instead, with corrected adjustment of
756 exponent and alignment of mantissa, when formatting subnormals.
758 2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
760 * include/dirent.h (dd_handle): Define as intptr_t.
762 2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
764 * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
767 2010-08-17 Keith Marshall <keithmarshall@users.sourceforge.net>
769 * include/limits.h (PATH_MAX): Make it agree with Microsoft's
770 semantically identical MAX_PATH; correct value is 260.
772 2010-07-25 Keith Marshall <keithmarshall@users.sourceforge.net>
774 Accept that mingwrt headers are not guaranteed to precede GCC's in the
775 system include search path; (issue reported by Mark Brand).
777 * include/float.h: Add multiple inclusion guard around...
778 [! defined _FLOAT_H___]: ...include_next <float.h> for GCC's version,
779 only when this define does not indicate that it has already been seen;
780 update comments to document rationale; move it within the scope of...
781 [! defined _MINGW_FLOAT_H_]: ...this multiple inclusion guard, so that
782 GCC's float.h, after an appropriate complementary modification, need
783 not perform a further include path search when this implementation
784 specific extension has already been processed.
786 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
788 * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
789 _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
790 _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
791 _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
792 _findnexti64): Correct definition.
794 2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
796 * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.
798 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
800 * include/_mingw.h: Increment version to 3.18.
802 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
804 * include/stdio.h: (_vscprintf, _vscwprintf)
805 * include/tchar.h: (_vsctprintf)
807 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
809 Issue [2134161]: time64 functions and types for msvcrt >= 8.0
810 (initial implementation)
812 * new type: __time32_t
814 * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
815 __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
816 __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
818 * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
819 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
820 _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
821 _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
822 _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
823 _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
824 _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
825 _wstat32i64, _wstat64i32,_wutime32
827 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
828 ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
829 _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
830 _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
831 _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
833 2010-01-25 Kai Tietz <kai.tietz@onevision.com>
835 Implement TLS Callback.
837 * tlsmcrt.c: New file.
838 * tlsmthread.c: Ditto.
841 * Makefile.in: Include new files.
842 * crt1.c: Implement TLS Callback.
844 * mthr_stub.c: Remove.
846 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
848 * include/_mingw.h: Increment version to 3.17.
850 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
852 * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
853 cf. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
855 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
857 * include/io.h (_open_osfhandle): Correct definition.
859 Thanks to Alexander Shaduri for the information.
861 2009-11-02 Charles Wilson <mingw@cwilson.fastmail.fm>
863 Final sync of pseudo-reloc.c with mingw64 and cygwin
864 * lib/pseudo-reloc.c (__report_error) [CYGWIN]: Correct size bug
865 regarding error messages.
867 2009-10-29 Charles Wilson <mingw@cwilson.fastmail.fm>
869 Honor DESTDIR for winsup/mingw and winsup/w32api.
870 Detect and report error if installation paths are win32
871 format, but DESTDIR is non-empty.
873 * Makefile.in (DESTDIR): Honor per convention.
874 (need-DESTDIR-compatibility): New macro; define it and a
876 (fail-DESTDIR-compatibility): New dependency goal.
877 (install-dirs): Require need-DESTDIR-compatibility.
878 * mingwex/Makefile.in (DESTDIR): Honor per convention.
879 (need-DESTDIR-compatibility): New macro; define it and a
881 (fail-DESTDIR-compatibility): New dependency goal.
882 (install): Require need-DESTDIR-compatibility.
883 * profile/Makefile.in: Ditto.
885 2009-10-25 Charles Wilson <mingw@cwilson.fastmail.fm>
887 Sync pseudo-reloc.c with mingw64
888 * psuedo-reloc.c: Remove unnecessary includes.
889 Forward declare _pei386_runtime_relocator.
890 Decorate _image_base__ symbol with macro for
891 mingw64 compatibility. Whitespace changes.
892 (__print_reloc_error): Renamed to...
893 (__report_error): This. "Returns" void, and
894 always aborts. Now used on all platforms.
895 (__write_memory): Remove special case error handling
896 for different platforms - always call __report_error.
897 (do_pseudo_reloc): Remove special case error handling
898 for different platforms - always call __report_error.
899 (_pei386_runtime_relocator): Decorate _image_base__
900 symbol with mingw64 compatibility macro.
902 2009-10-23 Charles Wilson <mingw@cwilson.fastmail.fm>
904 Sync pseudo-reloc.c with cygwin/lib/
905 * pseudo-reloc.c [CYGWIN]: Added comments throughout and various
906 whitespace fixes. Exploit cygwin_internal(CW_EXIT_PROCESS,...)
907 for fatal error handling that is consistent with cygwin process
908 life-cycle. Ensure state variable (in _pei386_runtime_relocator)
909 is unique to each address space, across fork().
910 [CYGWIN] (__print_reloc_error): New function for reporting
911 errors in a manner supported by cygwin at this early stage of
912 the process life-cycle.
913 [CYGWIN] (_pei386_runtime_relocator): Ensure relocations
914 performed only once for each address space, but are repeated
915 after fork() in the new address space.
916 [MINGW] (__write_memory): Ensure that b is always initialized
917 by call to VirtualQuery, even if -DNDEBUG.
919 2009-09-29 Keith Marshall <keithmarshall@users.sourceforge.net>
921 Make MinGW printf() "%p" format compatible with MSVCRT scanf().
922 (Based on MinGW-patch 2844514 by Peter Rosin <peda@lysator.liu.se>)
924 * mingwex/stdio/pformat.c (__printf) [%p]: Do not arbitrarily apply...
925 (PFORMAT_HASHED): ...this formatting attribute; honour only user
926 specified format qualifiers, except in special case...
927 [%p && stream.flags == flags && state == PFORMAT_INIT]: Apply...
928 (PFORMAT_ZEROFILL): ...this default formatting attribute...
929 (stream.precision): ...filled to at least 2 * sizeof( uintptr_t )
932 2009-09-01 Keith Marshall <keithmarshall@users.sourceforge.net>
934 Avoid multiple link time definitions of _printf() for C++;
935 (problem reported by Alexander Shaduri, via MinGW-users ML).
937 * include/stdio.h [__USE_MINGW_ANSI_STDIO]:
938 (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword.
940 2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
942 * include/_mingw.h: Increment version to 3.16.
944 2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
946 * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
947 __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
948 __fp_unordered_compare): Add prototypes.
949 * include/stdio.h (vsnwprintf): Add prototype.
950 * include/wchar.h (vsnwprintf): Add prototype.
951 * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__.
952 * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.
954 2009-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
956 Correct disposition of wchar_t output in printf().
958 * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of...
959 (argval): ...this, in inner scope, with singular type `wchar_t'; use
960 it to pass one wchar to __pformat_wputchars(), for output.
962 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
964 * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
966 2009-07-27 Keith Marshall <keithmarshall@users.sourceforge.net>
968 Convert to monolithic configuration procedure.
970 * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments.
971 (AC_SUBST): Use its 2nd argument to initialise MinGW default settings.
972 (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate.
973 (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'.
974 (CRT0S): Relocate from `profile'; define it as appropriate.
975 (LIBM_A): Define and AC_SUBST it unconditionally.
976 (AC_CONFIG_SUBDIRS): Remove; none to configure.
977 (AC_OUTPUT_FILES): Add `Makefile' for each of...
978 (mingwex, profile): ...these subdirectories.
980 * configure: Regenerated.
982 * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them.
983 (top_srcdir, top_builddir): New macros; let AC_SUBST define them.
984 (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it.
985 (SUBDIRS): Define explicitly, to run recursive `make' in...
986 (mingwex, profile): ...these; simplify build commands...
987 (rootme, rootsrc): ...without these shell variables.
988 (all, subdirs): Delete redundant build commands.
989 (FIXME): Flag various issues for follow up.
991 * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to...
992 (top_srcdir): ...this new macro; let AC_SUBST define it.
993 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
994 (Makefile): Make it depend on...
995 (top_builddir/config.status): ...this, itself depending on...
996 (top_srcdir/configure): ...this.
997 (FIXME): Flag various issues for follow up.
999 * mingwex/aclocal.m4: File no longer required; delete it.
1000 * mingwex/configure mingwex/configure.in: Likewise.
1002 * profile/Makefile.in (INCLUDES): Redefined macro; refer it to...
1003 (top_srcdir): ...this new macro; let AC_SUBST define it.
1004 (top_builddir, datarootdir): New macros; let AC_SUBST define them.
1005 (Makefile): Make it depend on...
1006 (top_builddir/config.status): ...this, itself depending on...
1007 (top_srcdir/configure): ...this.
1008 (FIXME): Flag various issues for follow up.
1010 * profile/aclocal.m4: File no longer required; delete it.
1011 * profile/configure profile/configure.in: Likewise.
1013 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1015 * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
1016 to complaints that it causes issues.
1018 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
1020 * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
1022 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1024 * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
1025 include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
1026 to all inline functions.
1028 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1030 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
1031 * CRT_fp10.c: Ditto.
1033 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1035 * cpu_features.c: replace gcc-specific construct with portable alternative
1036 and match the code a few lines above.
1037 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
1039 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1041 * include/_mingw.h: Changes required for PCC compiler.
1043 2009-07-18 Jeff Lu <jll544@yahoo.com>
1045 * mingwex/usleep.c: round up to next ms
1047 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1049 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
1050 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
1051 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
1052 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
1054 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1056 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
1058 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
1060 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
1061 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
1062 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
1063 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
1064 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
1065 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
1066 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
1067 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
1068 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
1069 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
1070 sources as of Apr. 20, 2009. Update further to match the sources in
1071 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
1072 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
1073 double/ulong union from U to dbl_union for better grepping and white-
1076 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1078 * include/stdlib.h (_wtof): Define.
1080 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
1082 * include/stdint.h (int_fast8_t): Specify as signed char.
1083 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
1084 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
1086 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
1088 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
1090 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1092 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
1093 (Requested by Robert Riebisch)
1095 * mingwex/getopt.c (getopt_parse): Track external increments of...
1096 (optind): ...this global variable.
1098 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1100 * include/_mingw.h: Increment version to 3.15.2.
1102 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
1104 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
1105 Also add tentative support for BSD specific `optreset' feature.
1107 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
1108 (__mingw_optreset): ...this new global variable.
1110 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
1111 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
1114 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1116 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
1117 Correct mishandling of invalid characters in printf() format specs.
1119 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
1120 (backtrack): ...this new automatic variable, at start of each format
1121 conversion specification substring; use it to backtrack, and print the
1122 substring literally, if any invalid character is encountered.
1124 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
1126 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
1127 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
1128 ___unguarded_readlc_active_add_func, __crtCompareStringW,
1129 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
1130 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
1131 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
1132 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
1133 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
1134 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
1135 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
1136 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
1137 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
1138 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
1139 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
1141 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
1143 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
1145 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
1147 Correct some binary distribution packaging defects.
1149 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
1150 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
1151 intermediate goals; they make packages of files, as specified by...
1152 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
1153 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
1155 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
1157 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
1158 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
1160 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
1161 of radix point conditional on precision != 0 or `#' flag specified.
1163 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
1165 Fix MinGW-Bug [2160227]
1166 Eliminate conflicting declarations and implementations of scalb().
1168 * moldname.def.in (scalb): Comment out of EXPORTS list.
1169 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
1170 with GCC's built-in declaration.
1172 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
1174 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
1176 * mingwex/Makefile.in: Ditto.
1177 * profile/Makefile.in: Ditto.
1178 * configure.in: Record mingw front-end for building under Cygwin.
1179 * mingwex/configure.in: Ditto.
1180 * profile/configure.in: Ditto.
1181 * configure: Regenerate.
1182 * mingwex/configure: Ditto.
1183 * profile/configure: Ditto.
1185 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1187 Use de-facto standard Makefile goals to invoke test suite.
1189 * Makefile.in: Some minor formatting adjustments.
1190 (test_headers): Unconventionally named goal renamed to...
1191 (check-headers): ...this; make it a prerequisite of...
1192 (check): ...this new conventionally named goal.
1194 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1196 Make strtod() inline definition C89 compliant.
1197 (Issue reported by Ilya Shestopalov and Ian Puleston)
1198 (Correction identified by Danny Smith)
1200 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
1201 reformat inline function definition.
1203 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1205 * include/_mingw.h: Increment version to 3.15.1 and introduce
1206 __MINGW32_PATCHLEVEL variable.
1208 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
1210 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
1211 (Reported by Christian Franke)
1213 * mingwex/getopt.c (optind): Make global variable value conform to
1214 behaviour specified by POSIX; do not use it for internal state in...
1215 (getopt_parse): ...this static function; use...
1216 (optbase): ...this new static local variable instead.
1217 (getopt_resolved): Update `optind' as required.
1219 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
1221 Improve package identification in configure script.
1223 * configure.ac (AC_INIT): Redefine parameters...
1224 (PACKAGE_NAME): Set to `MinGW Runtime'.
1225 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
1226 (PACKAGE_TARNAME): Set to `mingwrt'.
1227 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
1228 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
1229 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
1231 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
1232 (PACKAGE_TARNAME): ...this.
1234 * configure: Regenerated.
1236 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1238 Fix MinGW-Bug [2125708].
1239 (Reported by Alexandr Zamaraev).
1241 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
1242 not wanted here; remove it; replace it by...
1243 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
1244 (_invalid_parameter_handler): ...this function typedef.
1246 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
1248 * Makefile.in: Don't include host_os as part of snapshot filename.
1250 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
1252 Fix MinGW-Bug [2119504].
1253 (Reported by Peiyuan Song).
1255 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
1256 (*retindex): ...this already correctly assigned return variable...
1257 (opt[index].val): ...with this; this should have been assigned to...
1258 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
1260 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
1262 Fix MinGW-Bug [2117379].
1263 (Reported by Peiyuan Song).
1265 * include/stdio.h (__argv): Replace all references in function
1266 prototype argument lists and inline function local variables, with ...
1267 (__local_argv): ...this, to avoid potential conflict with ...
1268 * include/stdlib (__argv): ...this #defined macro.
1270 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1272 * include/_mingw.h: Increment version to 3.15.
1274 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1276 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
1277 naming standard for Cygwin.
1279 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1281 Reimplement getopt.c to add getopt_long_only() function.
1283 (N.B. this reimplementation removes support for BSD/Mac-OS-X
1284 `optreset' nonsense; user code should set `optind = 0' instead,
1285 to reinitialise option scanning).
1287 * mingwex/getopt.c: Delete all content; reimplement it.
1288 * include/getopt.h: Likewise.
1290 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
1291 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
1293 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
1295 Implement conditional replacement for printf() family functions.
1297 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
1298 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
1299 flag for use in user specified __MINGW_FEATURES__ attribute.
1300 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
1301 currently unused: reserved as components of...
1302 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
1303 a __MINGW_FEATURES__ enhancement to setlocale().
1305 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
1306 (__mingw_fprintf, __mingw_vfprintf): Likewise.
1307 (__mingw_sprintf, __mingw_vsprintf): Likewise.
1308 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
1309 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
1310 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
1311 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
1312 usage; link to DLL import stub, importing from MSVCRT.
1313 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1314 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
1315 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
1316 locally defined static stub implementation.
1317 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1318 __mingw_fprintf and __mingw_sprintf respectively.
1319 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
1320 static inline implementation for C++ and GNU C, or locally defined
1321 static stub otherwise.
1322 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
1323 __mingw_vfprintf and __mingw_vsprintf respectively.
1325 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
1327 Avoid access violations, passing NULL to printf( "...%s..." );
1328 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
1330 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
1331 for argument value, if caller passes a NULL pointer.
1332 (__pformat_wcputs): Likewise, substitute L"(null)".
1334 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
1336 Add missing dependencies for building libmingwex.a.
1338 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
1339 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
1340 (pformat.h): ...this.
1342 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
1344 Add replacements for remaining members of printf() family.
1346 * mingwex/stdio/printf.c: New file.
1347 * mingwex/stdio/fprintf.c: New file.
1348 * mingwex/stdio/sprintf.c: New file.
1349 * mingwex/stdio/vprintf.c: New file.
1350 * mingwex/stdio/vfprintf.c: New file.
1351 * mingwex/stdio/vsprintf.c: New file.
1353 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1354 (STDIO_OBJS): Add their corresponding object files.
1356 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
1358 Replace __mingw_snprintf() with new generic family implementation;
1359 likewise, replace __mingw_vsnprintf().
1361 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
1362 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
1363 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
1364 (GDTOA_DISTFILES): Remove mingw_snprintf.c
1365 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
1366 (GDTOA_OBJS): Remove mingw_snprintf.o
1367 (PFORMAT_CFLAGS): New macro; define it, as required by...
1368 (pformat.o): ...this new explicit build target.
1369 (snprintf.o, vsnprintf.o): Declare prerequisites.
1371 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
1373 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
1375 Lay foundations for new printf() function family implementation.
1377 * ofmt_stub.s: New file; implement forward compatibility stub for...
1378 (_get_output_format): ...this MSVCR80.DLL and later function.
1380 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
1381 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
1382 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
1383 (lib%.a): Include ofmt_stub.o when import library does not already
1384 advertise availability of the _get_output_format() function;
1385 Add alias stubs for MINGW_REPL_FUNCS, such that...
1386 (__msvcrt_printf): ...is an alias for Microsoft's printf().
1387 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
1388 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
1389 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
1390 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
1391 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
1392 (clean): Add msvcr*.def.
1394 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
1395 * configure: Regenerated.
1397 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
1399 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
1400 (_imp____mb_cur_max_dll): Likewise.
1402 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
1404 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
1405 * include/wchar.h (swprintf, vswprintf): Likewise.
1407 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
1409 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
1410 (_get_output_format, _set_output_format): Add references.
1412 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
1413 (_get_output_format, _set_output_format): Declare prototypes.
1414 (_TWO_DIGIT_EXPONENT): Define.
1415 Some other minor formatting adjustments.
1417 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1419 [mingw-Bugs-1801641]
1420 * include/wchar.h (_wfdopen): Const-ify second arg.
1421 * include/stdio.h (_wfdopen): Likewise.
1422 Thanks to <tdragon at users dot sourceforge net>
1424 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
1426 Avoid precision errors in round(), lround() and llround() functions.
1428 * mingwex/math/round_generic.c: New file; it replaces...
1429 * mingwex/math/round.c: ...this; delete it.
1430 * mingwex/math/roundf.c: ...and this; ditto.
1431 * mingwex/math/roundl.c: ...and this; ditto.
1433 * mingwex/math/lround_generic.c: New file; it replaces...
1434 * mingwex/math/lround.c: ...this; delete it.
1435 * mingwex/math/lroundf.c: ...and this; ditto.
1436 * mingwex/math/lroundl.c: ...and this; ditto.
1437 * mingwex/math/llround.c: ...and this; ditto.
1438 * mingwex/math/llroundf.c: ...and this; ditto.
1439 * mingwex/math/llroundl.c: ...and this; ditto.
1441 * mingwex/math/round_internal.h: New file; it provides generic common
1442 code, which is shared by `round_generic.c' and `lround_generic.c'; the
1443 implementation is based on techniques suggested by Danny Smith and
1446 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
1447 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
1448 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
1449 `round_generic.c' and `lround_generic.c'.
1450 (MATH_OBJS): Factor out files listed in...
1451 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
1452 macros; define them; specify dependencies and build rules; add to...
1453 (LIB_OBJS): ...this list.
1455 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
1457 [ mingw-Bugs-1961893 ]
1458 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
1459 mode to 2 for E format.
1461 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
1463 * include/stdlib.h: Fix strtod under C++.
1465 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
1467 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
1468 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
1470 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
1472 * include/sys/types.h (useconds_t): typedef.
1473 * include/unistd.h (usleep): Add prototype.
1474 * mingwex/usleep.c: New file.
1475 * mingwex/makefile.in: Add usleep source and object.
1477 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
1479 Make strtod() conform to C99.
1481 * include/stdlib.h (strtod): Declare this mingwex function, and...
1482 (_strtod): rename this MSVCRT counterpart.
1484 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
1486 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
1488 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
1490 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1492 * include/process.h: Include stdint.h for intptr_t definition.
1493 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
1494 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
1495 _spawnvpe): Return intptr_t.
1496 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
1497 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
1499 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
1501 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
1502 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
1503 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
1504 _wspawnvp, _wspawnvpe): Return intptr_t.
1506 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
1508 * include/wchar.h (fwide): Return success code rather than failure in inline
1510 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
1511 code rather than failure.
1513 2008-03-21 Danny Smith <dannysmith@users.sourceforge.net>
1515 * include/math.h (float_t, double_t): Define.
1517 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1519 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
1520 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
1521 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
1523 2008-02-28 Joseph Myers <joseph@codesourcery.com>
1525 * include/complex.h: Don't condition contents on C99 or not
1528 2008-02-01 Brian Dessent <brian@dessent.net>
1530 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
1531 the different runtime versions.
1533 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
1535 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
1536 (mbsinit): Likewise.
1538 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1540 * include/_mingw.h: Increment version to 3.14.
1542 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1544 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
1545 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
1546 * mingwex/math/log10f.S: Correct issue with comments.
1547 * mingwex/math/log10l.S: Ditto.
1548 * mingwex/math/log1p.S: Ditto.
1549 * mingwex/math/log1pf.S: Ditto.
1550 * mingwex/math/log1pl.S: Ditto.
1551 * mingwex/math/log2.S: Ditto.
1552 * mingwex/math/log2f.S: Ditto.
1553 * mingwex/math/log2l.S: Ditto.
1554 * mingwex/math/logf.S: Ditto.
1555 * mingwex/math/logl.S: Ditto.
1557 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
1559 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
1561 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
1563 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
1564 from '_fsize_t' to '__int64' to be consistent with the other ...64
1565 structures and the value set there is 8 bytes not 4. Add guard for both
1566 as the are only used by functions available from 6.1 on.
1568 * include/malloc.h (_HEAP_MAXREQ): Define.
1569 (_aligned_offset_recalloc): Define.
1570 (_aligned_recalloc()): Define.
1572 * include/math.h: fixed a typo in a comment.
1573 (atanhf): Fixed declaration.
1575 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
1576 to '__int64' to be consistent with the other ...64 structures and the value
1577 set there is 8 bytes not 4. Added guard as this function is only used by
1578 functions available from 6.1 on.
1580 * include/sys/stat.h: some members of 'stat' were declared with types with
1581 a prefixed underscore, while the ones without the underscore should have
1582 been used. Added guard to '__stat64' as it is only used by functions
1583 available from 6.1 on. Added the wide character versions of the
1584 exec()/spawn() family for completion
1585 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
1588 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
1589 from 'long' to 'time_t'
1590 (__timeb64): moved declaration of structure directly before the declaration
1591 of the function '_ftime64()', so it is guarded as well
1593 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
1594 before the declaration of the functions using it, so it is guarded as well
1596 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
1598 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
1599 case. Add missing break in 's'/LEN_S case.
1601 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1603 Make snprintf() and vsnprintf() conform to C99.
1605 * include/stdio.h: Add note about incompatibility between...
1606 (snprintf, vsnprintf): These two mingwex functions, and...
1607 (_snprintf, _vsnprintf): these MSVCRT counterparts.
1609 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
1610 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
1612 * mingwex/stdio/snprintf.c: Delete.
1613 * mingwex/stdio/vsnprintf.c: Delete.
1615 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
1616 (vsnprintf): Alias to __mingw_vsnprintf.
1618 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1620 * include/_mingw.h: Increment version to 3.13.
1621 * Makefile.in: Reset CYGRELEASE to 1
1623 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
1625 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
1626 resulting from incomplete removal of enclosing `for ...; do ...; done'
1627 loop from compound command; (reported by Greg Chicares).
1629 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1631 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
1634 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1636 [mingw-Bugs-1734142]
1637 * include/wchar.h (_wsystem) Declare.
1639 (_wgetenv): Declare.
1640 (_wsearchenv): Declare.
1641 (_wmakepath): Declare.
1642 (_wsplitpath): Declare.
1643 (_wfullpath): Declare.
1644 * include/stdlib.h (_wsystem) Declare.
1645 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
1646 _wfullpath): Move into _WSTDLIB_DEFINED guard.
1647 * include/tchar.h (_tsystem): New UNICODE mapping define.
1649 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1651 * mingwex/gdtoa/mingw_snprintf.c: New file.
1652 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
1653 (GDTOA_OBJS): Add mingw_snprintf.o.
1655 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
1657 * msvcrt.def.in: Update comment.
1658 Exclude _ctype stub if using msvcr71.dll or newer.
1659 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
1660 * include/wctype.h: Likewise.
1662 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1664 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
1665 *include/dirent.h: Likewise.
1667 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1669 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
1670 * include/conio.h: Likewise.
1671 * include/ctype.h: Likewise.
1672 * include/direct.h: Likewise.
1673 * include/dos.h: Likewise.
1674 * include/errno.h: Likewise.
1675 * include/fenv.h: Likewise.
1676 * include/float.h: Likewise.
1677 * include/inttypes.h: Likewise.
1678 * include/io.h: Likewise.
1679 * include/libgen.h: Likewise.
1680 * include/locale.h: Likewise.
1681 * include/malloc.h: Likewise.
1682 * include/mbctype.h: Likewise.
1683 * include/mbstring.h: Likewise.
1684 * include/process.h: Likewise.
1685 * include/search.h: Likewise.
1686 * include/setjmp.h: Likewise.
1687 * include/signal.h: Likewise.
1688 * include/stdio.h: Likewise.
1689 * include/stdlib.h: Likewise.
1690 * include/string.h: Likewise.
1691 * include/time.h: Likewise.
1692 * include/wchar.h: Likewise.
1693 * include/sys/stat.h: Likewise.
1694 * include/sys/time.h: Likewise.
1695 * include/sys/timeb.h: Likewise.
1696 * include/sys/utime.h: Likewise.
1698 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1700 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
1702 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1704 Add POSIX binary tree search API.
1706 * mingwex/tfind.c: New file.
1707 * mingwex/tdelete.c: New file.
1708 * mingwex/tsearch.c: New file.
1709 * mingwex/twalk.c: New file.
1710 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
1711 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
1712 * include/search.h (tfind): Declare.
1719 (node_t): Define, on condition of _SEARCH_PRIVATE.
1721 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
1723 * include/_mingw.h (__MINGW_NOTHROW): Define.
1725 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1727 * include/stdio.h (vsnprintf): Remove inline definition.
1730 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1732 * CRTfmode.c: Nit-pick comment fix.
1734 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1736 * CRTfmode.c: Fix nested comment.
1738 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
1740 * include/string.h (strcasecmp): Fix typo in declaration prototype.
1742 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1744 * include/io.h (lseek64) : Add prototype.
1746 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
1748 * include/string.h (strcasecmp): Add prototype.
1749 (strncasecmp): Add prototype.
1751 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1753 * Makefile.in (CRT0S): Revert last change.
1754 * CRTfmode.c. Correct comment.
1756 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1758 * Makefile.in (CRT0S): Add back CRTfmode.o.
1760 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1762 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
1763 * include/io.h: Likewise.
1765 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1767 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
1769 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1771 * include/stdint.h (intptr_t): Fix typo.
1772 Thanks to Charles Wilson for report.
1774 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
1776 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
1777 Condition on _WIN64.
1778 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
1779 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
1780 (PTRDIFF_MIN): Define as INTPTR_MIN.
1781 (PTRDIFF_MAX): Define as INTPTR_MAX.
1782 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
1783 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
1785 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1787 * Makefile.in: Removed mansuffix variable. Changed mansection to support
1788 Cygwin man page location.
1790 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1792 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
1793 support Cygwin man page location.
1795 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1797 * Include/_mingw.h: Increment version to 3.12.
1799 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
1801 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
1803 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1805 * Makefile.in: Tweak srcdist to fix build issue.
1807 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
1809 Add --enable-mingw-manpage-transform configure option.
1811 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
1812 * configure.in, Makefile.in: Use it.
1813 * configure: Regenerated.
1815 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1817 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
1819 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1821 Add manpages for dirname and basename functions.
1823 * man: New directory.
1824 * man/dirname.man: New file; it sources both manpages.
1825 * Makefile.in: Add provisional rules to distribute them.
1827 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
1829 * mingwex/basename.c: Make it work with path names containing
1830 multibyte character strings.
1831 * mingwex/dirname.c: Likewise.
1833 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1835 * include/io.h (__mingw_access): New static inline wrapper to restore
1836 pre-Vista 'access (fname, X_OK)' behaviour.
1837 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
1839 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1841 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
1843 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
1845 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
1847 * include/stdio.h (_unlink, unlink): Add prototypes.
1849 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
1851 * include/excpt.h: Replace "_try1" in comments with "__try1".
1853 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1855 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1856 (ALL_CXXFLAGS): Likewise.
1857 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1858 (ALL_CXXFLAGS): Likewise.
1859 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
1860 (ALL_CXXFLAGS): Likewise.
1862 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
1864 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
1866 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
1868 Expose some more msvcr80.dll functions.
1869 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
1870 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
1871 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
1872 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
1874 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1876 Expose some msvcr80.dll functions.
1877 * include/stdlib.h (_set_abort_behavior): Add prototype.
1878 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
1879 _set_abort_behavior mask argument.
1880 (_invalid_parameter_handler): Add typedef.
1881 (_set_invalid_parameter_handler): Add prototype.
1882 * include/stdio.h (_get_printf_count_output): Add prototype.
1883 (_set_printf_count_output): Add prototype.
1884 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
1885 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
1887 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
1889 * include/_mingw.h (CRT_INLINE): Correct typo.
1891 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
1893 * include/io.h (X_OK): Define to F_OK.
1895 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
1897 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1898 unconditionally. Change comment.
1899 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
1901 * include/io.h (rename): Declare.
1904 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
1906 * include/libgen.h: New file; required by...
1907 * mingwex/basename.c, mingwex/dirname.c: New files.
1908 * mingwex/Makefile.in (DISTFILES): Add them...
1909 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
1910 (Dependencies): Typo; s/Dependancies/Dependencies/
1912 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
1914 * Makefile.in (VERSION): Let configure define it.
1916 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
1917 * configure.in: Use it.
1918 Correct quoting of autoconf macro arguments throughout.
1919 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
1920 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
1921 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
1922 (AC_CONFIG_FILES): Add, to generate Makefile.
1924 * configure: Regenerated.
1926 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
1928 * Makefile.in: Add aclocal.m4 to source release.
1929 * mingwex/Makefile.in: Ditto.
1930 * profile/Makefile.in: Ditto.
1932 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1934 * Include/_mingw.h: Increment version to 3.11.
1935 * Makefile.in: Ditto.
1937 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
1939 [ mingw-Bugs-1590623 ]
1940 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
1943 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
1945 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
1946 correctly parenthesized.
1948 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1950 * mingwex/mb_wc_common.h (get_codepage): Get it
1953 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
1955 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
1957 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
1959 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
1962 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
1964 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
1967 2006-09-11 Christopher Faylor <cgf@timesys.com>
1969 * Makefile.in: Semi-revert 2006-08-30 change.
1971 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
1973 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
1974 (__MINGW_IMPORT): Ansify.
1975 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
1976 __MINGW_ATTRIB_DEPRECATED.
1978 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
1980 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
1981 Redundant macros; deleted.
1983 * configure.in (LIB_AC_PROG_CC): Replaced by...
1984 (AC_PROG_CC): ...this.
1986 * configure: Regenerated.
1988 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
1990 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
1991 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
1992 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
1994 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
1996 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
1997 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
1998 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
1999 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
2001 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
2002 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
2003 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
2004 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
2005 * mingwex/wcstold.c: Avoid using strtold internals.
2006 * mingwex/wcstof.c: Rewrite.
2007 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
2008 (GDTOA_OBJS): Add to library.
2009 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
2010 (STDLIB_OBJS): Remove.
2011 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
2012 (Q8_OBJS): Add wcstof.o wcstold.o.
2013 * include/stdlib.h (strtof): Remove inline definition.
2015 * include/wchar.h (wcstof): Remove inline definition.
2017 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
2019 * Makefile.in: Add with_cross_host to allow more granular checks.
2020 Set installation directories accordingly. Override CC setting only
2021 if building a Cygwin target.
2022 * aclocal.m4: Regenerate.
2023 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
2024 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
2025 Test AC_ALLOCA only if building on a native system.
2026 * configure: Regenerate.
2028 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
2030 * include/ctype.h: Fix typo.
2032 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
2034 * include/ctype.h: Expose iswblank if __cplusplus.
2035 * include/wctype.h: Expose iswblank if __cplusplus.
2037 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
2039 * include/ctype.h: Remove stray ')';
2041 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
2043 * include/ctype.h (_BLANK): Expand comment.
2044 (isblank): Add prototype and inline definition.
2045 (iswblank): Add prototype and inline definition.
2046 * include/wctype.h (iswblank): Add prototype and inline definition.
2047 * mingwex/isblank.c: New file.
2048 * mingwex/iswblank.c: New file.
2049 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
2051 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
2053 * include/math.h (__INFF,__INFL): Remove '#'.
2055 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
2057 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
2059 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2061 Support SSE float environment in fenv.h functions.
2062 * cpu_features.c: New file.
2063 * cpu_features.h: New file.
2064 * crt1.c: Include "cpu_features.h".
2065 (__mingw_CRTStartup): Call cpu_features_init().
2066 * Makefile.in (MING_OBJS): Add cpu_features.c.
2067 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
2068 * include/fenv,h ( fenv_t;): Append __mxcsr field.
2069 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
2070 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
2071 (__MXCSR_ROUND_FLAG_SHIFT): New define.
2072 * mingwex/feclearexcept.c: Include "cpu_features.h".
2073 Handle SSE environment.
2074 * mingwex/fegetenv.c: Likewise.
2075 * mingwex/feholdexcept.c: Likewise.
2076 * mingwex/fesetenv.c: Likewise.
2077 * mingwex/fesetexceptflag.c: Likewise.
2078 * mingwex/fesetround.c: Likewise.
2079 * mingwex/fetestexcept.c: Likewise.
2080 * mingwex/feupdateenv.c: Likewise.
2081 * mingwex/fegetround.c: Add comment.
2083 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
2085 * Include/_mingw.h: Increment version to 3.10.
2086 * Makefile.in: Ditto.
2088 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
2090 * mingwex/math/tgamma.c (SQTPI): Add braces.
2092 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
2094 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
2095 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
2097 * mingwex/math/sf_erf.c (erff): Initialize z.
2099 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
2101 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
2103 * Include/_mingw.h: Increment version to 3.10.
2104 * Makefile.in: Ditto.
2106 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
2108 * include/sys/time.h (struct timezone): Define.
2109 * include/time.h: Correct comment about timezone.
2111 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
2113 * configure.in (AC_CONFIG_AUX_DIR): Remove.
2114 * configure: Regenerate.
2116 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
2118 * configure: add srcdir as a possible location for install-sh.
2120 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
2122 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
2123 (_topendir): Use it.
2125 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
2127 * include/sys/time.h: Add header guard. Add extern "C" bracketing
2129 (gettimeofday): Add prototype.
2130 * mingwex/gettimeofday.c: New file.
2131 * mingwex/makefile.in: Add gettimeofday source and object.
2133 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
2135 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
2136 else global library variable.
2137 (HUGEVALF): Likewise.
2138 (HUGEVALL): Likewise.
2139 (INFINITY): Likewise.
2142 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
2144 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
2146 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
2148 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
2150 2006-05-24 Christopher Faylor <cgf@timesys.com>
2152 * configure.in: Update to newer autoconf.
2153 (thanks to Steve Ellcey)
2154 * mingwex/configure.in: Ditto.
2155 * profile/configure.in: Ditto.
2156 * configure: Regenerate.
2157 * mingwex/configure: Ditto.
2158 * profile/configure: Ditto.
2159 * aclocal.m4: New file.
2160 * mingwex/aclocal.m4: Ditto.
2161 * profile/aclocal.m4: Ditto.
2163 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
2165 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
2166 Use supplied codepage as arg to WideCharToMultiByte.
2168 2006-02-13 Earnie Boyd <earnie@users.sf.net>
2170 * Makefile.in (libmsvcr80.a): Add import lib.
2171 (libmsvcr80d.a): Ditto.
2173 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
2175 * Makefile.in: Bump cygwin build number.
2177 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
2179 * Include/_mingw.h: Increment version to 3.9.
2180 * Makefile.in: Ditto.
2182 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2184 * include/limits.h (SSIZE_MAX): Define.
2185 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
2187 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
2189 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
2190 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
2192 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
2194 * include/stddef.h: Remove.
2195 * include/stdarg.h: Remove.
2197 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
2199 * mingwex/complex/csqrt.c (csqrt): The sign of real part
2200 of result is positive when real part of arg == 0;
2201 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
2202 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
2204 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
2206 * include/time.h (_time64): Correct prototype.
2208 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
2210 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
2211 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
2212 to non-stop. Use "fnclex" to clear exception flags.
2214 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2216 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
2217 Avoid raising FP exceptions.
2219 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
2221 * include/stdlib.h (strtof): Add prototype. Uglify
2222 parameter names in inline definition.
2224 (_Exit): Uglify parameter names in inline definition.
2225 (llabs): Add prototype.
2226 (_set_error_mode): Add prototype and input defines.
2228 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
2230 * mingwex/fe*.c: Revert previous changes.
2231 * include/fenv.h: Revert previous changes.
2233 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
2235 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
2236 Do not return a value.
2237 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
2238 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
2239 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
2240 * mingwex/fegetenv.c (fegetenv): Likewise.
2241 * mingwex/fesetenv.c (fesetenv): Likewise.
2242 * mingwex/feupdateenv.c (feupdateenv): Likewise.
2243 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
2244 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
2247 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
2249 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
2250 getting filelength for SEEK_END.
2252 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
2254 * Include/_mingw.h: Increment version to 3.8.
2255 * Makefile.in: Ditto.
2257 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
2259 * include/wctype.h (towupper, towlower): Change arg and return value
2261 * include/ctype.h (towupper, towlower): Likewise.
2263 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
2265 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
2266 a diagnostic, guarded by #ifdef DEBUG.
2267 (__mingwthr_remove_key_dtor): Likewise.
2269 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
2271 * moldname.def.in (sleep, beep, seterrormode): Remove.
2273 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
2275 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
2276 (_MCOUNT_DECL): Use it.
2277 (MCOUNT): Save and restore eax, ecx, edx registers.
2278 * profile/mcount.c (_mcount): ANSI-fy.
2280 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
2282 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
2283 guard __MINGW_ATTRIB macro definitions.
2284 * include/math.h (logb[fl]): Don't define inlines for
2285 GCC-4.0+ && __FAST_MATH__.
2286 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
2287 line-continuation backslashes.
2289 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
2291 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
2292 in GNUC version guard.
2294 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
2296 * crt1.c (_gnu_exception_handler): Handle illegal instruction
2297 OS exception as a signal if user has defined a SIGILL handler.
2299 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
2301 * mingwex/math/nexttoward.c: New file.
2302 * mingwex/math/nexttowardf.c: New file.
2303 * mingwex/math/nextafterl.c: Add nexttowardl alias.
2304 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
2306 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
2307 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
2310 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
2312 * mingwex/math/nextafterf.c (nextafterf): Correct
2314 * mingwex/math/nextafterl.c: New file.
2315 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
2316 (MATH_OBJS): Add nextafterl.o.
2317 * include/math.h (nextafterl): Uncomment prototype.
2319 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
2321 * mingwex/math/erfl.c: New file.
2322 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
2323 (MATH_OBJS): Add erfl.o.
2324 * include/math.h (erfl, erfcl): Uncomment prototypes.
2326 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
2328 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
2329 #if (WCHAR_MAX <= WCHAR_MIN) is false.
2330 * include/stdint.h (WCHAR_MAX): Likwise.
2331 (WINT_MAX): Likewise.
2333 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
2335 * mingwex/math/signbit.c (__signbit): Make return value
2336 consistent with GCC's __builtin_signbit.
2337 * mingwex/math/signbitf.c (__signbitf): Likewise.
2338 * mingwex/math/signbitf.c (__signbitl): Likewise.
2339 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
2342 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
2344 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
2346 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
2347 Remove unused MBTOWC_FLAGS define.
2349 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
2351 * mingwex/mbrtowc.c: New file.
2352 * mingwex/wcrtomb.c: New file.
2353 * mingwex/btowc.c: New file.
2354 * mingwex/wctob.c: New file.
2355 * mingwex/mb_wc_common.h: New file.
2356 * mingwex/Makefile.in (DISTFILES): Add new files.
2357 (Q8_OBJS): Add new objects.
2358 * include/wchar.h: Adjust comment about mbrtowc() and related
2359 funcions. Add __restrict__ to pointer params in prototypes.
2360 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
2361 arg names from protototypes.
2363 2005-04-23 Wu Yongwei <adah@sh163.net>
2365 * mingwex/dirent.c: Formatting changes.
2366 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
2369 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
2371 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2373 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
2375 * include/stdio.h (__mingw_fwrite): Change return value to
2377 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2379 2005-03-15 Hans Leidekker <hans@it.vu.nl>
2381 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2383 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2385 * include/wctype.h (wctrans): Remove _CRTIMP.
2386 (towctrans): Likewise.
2389 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2391 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
2393 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2395 * mingwex/wctype.c: New file.
2396 * mingwex/wctrans.c: New file.
2397 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
2398 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2400 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2402 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
2404 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
2406 * include/assert.h: Remove header guard. #undef assert macro.
2407 (_assert): Use __MINGW_ATTRIB_NORETURN define.
2409 2005-02-11 Gregory W. Chicares <chicares@cox.net>
2411 * include/math.h (expm1, expm1f, expm1l): Add prototypes.
2412 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
2414 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
2415 * mingwex/math/expm1.c: New file.
2416 * mingwex/math/expm1f.c: New file.
2417 * mingwex/math/expm1l.c: New file.
2419 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2421 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
2422 * include/wchar.h (struct stat): Likwwise.
2423 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
2425 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2427 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2429 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
2430 string is not valid.
2432 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
2434 * include/malloc.h: Add missing return code defines for
2437 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
2439 * include/sys/stat.h (struct __stat64): Change st_size type to
2441 * include/wchar.h (struct __stat64): Change st_size type to __int64.
2443 2005-01-13 Earnie Boyd <earnie@users.sf.net>
2445 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2447 * include/errno.h (ELOOP): Ditto.
2448 * include/_mingw.h: Increment version to 3.7.
2449 * Makefile.in: Ditto.
2451 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2453 * include/tchar.h (_tfreopen): Add UNICODE mappings.
2455 2005-01-11 Earnie Boyd <earnie@users.sf.net>
2457 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
2458 lstat): Conditionalize defines for __STRICT_ANSI__.
2460 2005-01-10 Earnie Boyd <earnie@users.sf.net>
2462 * include/errno.h (ELOOP): Add definition.
2464 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
2466 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
2467 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
2468 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
2469 ctanl.c ctanhl.c): New files.
2470 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2471 (COMPLEX_OBJS): Adjust.
2472 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
2473 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
2474 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
2477 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2479 * include/_mingw.h (__int16): Define as short.
2480 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
2482 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
2484 * include/stdio.h (P_tmpdir): Add define.
2486 2005-01-03 Earnie Boyd <earnie@users.sf.net>
2488 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
2490 2005-01-02 Earnie Boyd <earnie@users.sf.net>
2492 * include/_mingw.h: Increment version to 3.6
2493 * Makefile.in: Ditto
2495 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
2497 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
2498 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
2499 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
2500 ctanf.c ctanhf.c): New files.
2501 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
2502 (COMPLEX_OBJS): Adjust.
2503 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
2504 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
2505 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
2508 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
2510 * include/wchar.h (wcsdup): Correct prototype.
2511 * include/string.h (wcsdup): Correct prototype.
2513 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
2515 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
2517 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2519 * mingwex/math/fastmath.h: New file.
2520 * mingwex/math/asinh.c: New file.
2521 * mingwex/math/asinhf.c: New file.
2522 * mingwex/math/asinhl.c: New file.
2523 * mingwex/math/acosh.c: New file.
2524 * mingwex/math/acoshf.c: New file.
2525 * mingwex/math/acoshl.c: New file.
2526 * mingwex/math/atanh.c: New file.
2527 * mingwex/math/atanhf.c: New file.
2528 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
2529 atanh, atanhf, atanhl): Add prototypes.
2530 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
2531 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
2532 Specify dependency on fastmath.h for new objects.
2534 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2536 * include/sys/stat.h (_S_IFLNK): Add definition.
2543 2004-09-08 Earnie Boyd <earnie@users.sf.net>
2545 * include/sys/stat.h (_S_ISLNK): Add definition.
2548 2004-09-05 Earnie Boyd <earnie@users.sf.net>
2550 * include/_mingw.h: Increment minor version for 3.5 release.
2551 * Makefile.in: Ditto.
2552 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
2554 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2556 * include/malloc.h (__mingw_aligned_offset_malloc,
2557 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
2558 __mingw_aligned_realloc, __mingw_aligned_free): Add
2560 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
2561 tst-aligned-malloc.c.
2562 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
2564 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
2566 * mingwex/mingw-aligned-malloc.c: New file.
2567 * mingwex/tst-aligned-malloc.c: New file.
2569 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
2571 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
2572 noreturn attribute. Align stack to 16 bytes before passing args
2574 (mainCRTStartup): Change return to void.
2575 (WinMainCRTStartup): Likewise.
2577 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2579 * profile/COPYING: New file.
2580 * profile/CYGWIN_LICENSE: New file.
2581 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
2583 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2585 * mingwex/fopen64.c: Move.
2586 * mingwex/fseeko64.c: Move.
2587 * mingwex/ftello64.c: Move.
2588 * mingwex/lseek64.c: Move.
2589 * mingwex/stdio/fopen64.c: To here.
2590 * mingwex/stdio/fseeko64.c: To here.
2591 * mingwex/stdio/ftello64.c: To here.
2592 * mingwex/stdio/lseek64.c: To here.
2594 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
2596 * profile/gmon.c [__MINGW32__]: Include string.h for
2599 2004-08-08 Christopher Faylor <cgf@timesys.com>
2601 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
2603 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2605 * include/complex.h: Remove __attribute__ ((const)) from
2606 transcendantal and trig functions. Replace __attribute__ ((const))
2607 with __MINGW_ATTRIB_CONST on other declarations.
2609 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2611 * include/wchar.h: Reorganize, avoid including other headers.
2613 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
2615 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
2616 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
2619 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2621 * include/dirent.h (struct _wdirent): Remove obsolete comment.
2623 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
2625 * include/string.h: Revert 2004-07-26 additions of
2628 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
2630 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
2631 (__convert_inf_to_maxnum): New.static inline.
2632 (reducl): Use it to protect against Inf - Inf.
2633 (__fast_ldexpl): New function. Use in lieu of ldexpl.
2635 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
2637 * mingwex/math/expl.c (expl): Move body of code to new static
2638 function __expl, removing tests for +/-Inf. Extern function
2639 expl calls __expl after testing for max, min log thresholds.
2641 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2643 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
2644 * mingwex/stdio/vfscanf.c: Likewise.
2645 * mingwex/stdio/vswscanf.c: Likewise.
2646 * mingwex/stdio/vfwscanf.c: Likewise.
2648 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2650 * include/_mingw.h: Use only two underscores to uglify
2651 __MINGW_ATTRIB_* macros.
2652 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
2653 * include/setjmp.h: Likewise.
2655 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
2657 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2659 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2661 * include/string.h: Group wide string functions together,
2662 and protect with _WSTRING_DEFINED.
2664 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
2666 * include/_mingw.h (__MINGW_ATTR_*): Replace with
2668 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
2669 __MINGW_ATTRIB_NORETURN, throughout.
2670 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
2672 (abs): Declare with __MINGW_ATTRIB_CONST.
2681 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2683 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
2685 * include/_mingw.h: Undefine __attribute__.
2686 (__MINGW_ATTR_NORETURN): New define.
2687 (__MINGW_ATTR_CONST): New define.
2688 (__MINGW_ATTR_MALLOC): New define.
2689 (__MINGW_ATTR_PURE): New define.
2690 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
2693 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
2695 * include/time.h (__time64_t): Add missing ';'.
2697 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
2699 * include/time.h (wcsftime): Move out of !__STRICT_ANSI__ block.
2700 (struct tm): Protect with _TM_DEFINED.
2702 2004-07-17 Christopher Faylor <cgf@timesys.com>
2704 * Makefile.in (CC): Strip inappropriate include file settings from any
2707 2004-07-15 "dgun" <dgun@umpire.com>
2709 * include/complex.h (conj): Correct typo in prototype.
2711 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2713 * include/math.h: Add pragma GCC system_header.
2715 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
2717 * mingwex/complex/carg.c: New file.
2718 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2720 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
2722 * Makefile.in (INCLUDES): Temporarily revert previous change.
2723 * mingwex/Makefile,in (INCLUDES): Ditto.
2724 * profile/Makefile,in (INCLUDES): Ditto.
2725 * mingwex/Makefile,in: Drop carg.o dependency.
2727 2004-07-14 Christopher Faylor <cgf@timesys.com>
2729 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2731 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
2733 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
2735 * mingwex/Makefile,in (INCLUDES): Ditto.
2736 * profile/Makefile,in (INCLUDES): Ditto.
2738 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
2740 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
2742 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
2744 * mingwex/Makefile.in: Ditto.
2745 * profile/Makefile.in: Ditto.
2746 * include/limits.h: Change to new file header preamble.
2747 * include/_mingw.h: Increment minor version for 3.4 release.
2748 * Makefile.in: Ditto.
2750 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
2752 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
2754 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
2756 * include/unistd.h (ftruncate): Add inline definition.
2757 * mingwex/ftruncate.c: New file.
2758 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2760 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
2762 * include/time.h: Do not include sys/types.h.
2764 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
2766 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
2767 (MATH_OBJS): Remove pow,o.
2768 * include/math.h (pow): Declare with _CRTIMP.
2769 Add comment on how to avoid excess precision problems.
2771 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
2773 * include/stdio.h (__mingw_fseeko64): Add prototype.
2774 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
2775 (__mingw_fwrite): Handle huge files.
2777 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
2778 Danny Smith <dannysmith@users.sourceforge.net>
2780 * include/stdio.h (fopen64): Add inline function.
2781 (fseeko64): Add prototype.
2782 (ftello64): Add inline function.
2783 * include/io.h (lseek64): Add inline function.
2784 * include/sys/types (off64_t): Add typedef.
2785 (fpos64_t): Add typedef.
2786 * mingwex/fopen64.c: New file.
2787 * mingwex/fseeko64.c: New file.
2788 * mingwex/ftello64.c: New file.
2789 * mingwex/lseek64.c: New file.
2790 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
2791 fseeko.64.c, ftello64.c, lseek64.c.
2792 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2794 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
2796 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2798 2004-04-22 Earnie Boyd <earnie@users.sf.net>
2800 * DISCLAIMER: Add words about "free to use".
2801 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
2802 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2803 (inst_docdir): New variable.
2805 (FLAGS_TO_PASS): Include inst_docdir.
2806 (install-dirs): Add inst_docdir.
2807 (install): Add loop for INSTDOCS.
2808 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
2809 section to CONTRIBUTORS file. Remove RCS tags.
2811 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
2813 * mingwex/math/lround.c: Rewrite.
2814 * mingwex/math/lroundf.c: Rewrite.
2815 * mingwex/math/lroundl.c: Rewrite.
2816 * mingwex/math/llround.c: Rewrite.
2817 * mingwex/math/llroundf.c: Rewrite.
2818 * mingwex/math/llroundl.c: Rewrite.
2820 2004-04-20 Earnie Boyd <earnie@users.sf.net>
2822 * CONTRIBUTORS: New file.
2823 * DISCLAIMER: Ditto.
2824 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
2825 section to CONTRIBUTORS file. Remove RCS tags.
2826 * CRTFmode.c: Ditto.
2830 * crtdll.dev: Ditto.
2840 * msvcrt.def.in: Ditto.
2841 * strcasecmp.c: Ditto.
2844 * include/assert.h: Ditto.
2845 * include/conio.h: Ditto.
2846 * include/ctype.h: Ditto.
2847 * include/direct.h: Ditto.
2848 * include/dirent.h: Ditto.
2849 * include/dos.h: Ditto.
2850 * include/errno.h: Ditto.
2851 * include/excpt.h: Ditto.
2852 * include/fcntl.h: Ditto.
2853 * include/float.h: Ditto.
2854 * include/io.h: Ditto.
2855 * include/locale.h: Ditto.
2856 * include/malloc.h: Ditto.
2857 * include/math.h: Ditto.
2858 * include/process.h: Ditto.
2859 * include/setjmp.h: Ditto.
2860 * include/share.h: Ditto.
2861 * include/signal.h: Ditto.
2862 * include/stdio.h: Ditto.
2863 * include/stdlib.h: Ditto.
2864 * include/string.h: Ditto.
2865 * include/tchar.h: Ditto.
2866 * include/time.h: Ditto.
2867 * include/wchar.h: Ditto.
2868 * include/sys/locking.h: Ditto.
2869 * include/sys/param.h: Ditto.
2870 * include/sys/stat.h: Ditto.
2871 * include/sys/timeb.h: Ditto.
2872 * include/sys/types.h: Ditto.
2873 * include/sys/utime.h: Ditto.
2874 * mingwex/dirent.c: Ditto.
2876 2004-04-19 Earnie Boyd <earnie@users.sf.net>
2878 * include/_mingw.h: Revert to primary release 3 and increment minor
2880 * Makefile.in (VERSION): Ditto.
2882 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2884 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
2885 _fmode if not __MSVCRT__.
2887 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
2889 * include/io.h: (_findfirst): Correct prototype.
2891 2004-03-30 Hans Leidekker <hans@it.vu.nl>
2893 * include/io.h: (_findnext, _findclose): Correct prototype.
2895 2004-03-28 Hans Leidekker <hans@it.vu.nl>
2897 * include/math.h (FP_*): Add defines.
2899 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
2901 * mingwex/math/round.c: Rewrite.
2902 * mingwex/math/roundf.c: Rewrite.
2903 * mingwex/math/roundl.c: Rewrite.
2905 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2907 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
2908 * include/time.h (__time64_t): Add typedef.
2909 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2910 (_ctime64): Likewise.
2911 (_wctime64): Likewise.
2912 (_gmtime64): Likewise.
2913 (_localtime64): Likewise.
2914 (wcsftime): Move into _WTIME_DEFINED block.
2915 Regroup non-ANSI prototypes.
2916 * include/io.h: Include <stdint.h>.
2917 (__finddata64_t): Add struct definition.
2918 (__wfinddata64_t): Likewise.
2919 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2920 (_findnext64): Likewise.
2921 (_wfindfirst64): Likewise.
2922 (_wfindnext64): Likewise.
2923 * include/sys/timeb.h (__timeb64): Add struct definition.
2924 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2925 * include/sys/utime.h (__utimbuf64): Add struct definition.
2926 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2927 (_futime64): Likewise.
2928 (_wutime64): Likewise.
2929 * include/sys/stat.h (__stat64): Add struct definition.
2930 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2931 (_stat64): Likewise.
2932 (_wstat64): Likwise.
2933 * include/sys/types.h (__time64_t): Add typedef.
2934 * include/wchar.h (__wfinddata64_t): Add structure definition.
2935 (__stat64): Likewise.
2936 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
2937 (_wfindfirst64): Likewise.
2938 (_wfindnext64): Likewise.
2939 (_wutime64): Likewise.
2940 (_wstat64): Likwise.
2941 * include/malloc.h (_aligned_free): Add prototype for
2942 __MSVCRT_VERSION__ >= 0x0700.
2943 (_aligned_malloc): Likewise.
2944 (_aligned_offset_malloc): Likewise.
2945 (_aligned_offset_realloc): Likewise.
2946 (_aligned_realloc): Likewise.
2947 * include/string.h (_wcserror): Add prototype for
2948 __MSVCRT_VERSION__ >= 0x0700.
2949 (__wcserror): Likewise.
2950 * include/math.h (_set_SSE2_enable): Add prototype for
2951 __MSVCRT_VERSION__ >= 0x0701.
2953 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
2955 * include/stdio.h (_fsopen): Add prototype.
2956 * include/tchar.h (_tfsopen): Add defines.
2957 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2959 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
2961 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
2962 msvcr70.dll, and msvcr71.dll.
2963 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
2964 using basename of output def file.
2966 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
2968 * include/malloc.h: Remove __STRICT_ANSI__ guard.
2970 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
2972 * include/process.h: Remove the #endif associated with removal of
2973 __STRICT_ANSI__ guard from non-ANSI header.
2975 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2977 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
2978 * include/direct.h: Ditto.
2979 * include/dirent.h: Ditto.
2980 * include/dos.h: Ditto.
2981 * include/excpt.h: Ditto.
2983 * include/io.h: Ditto.
2984 * inlude/mem.h: Ditto.
2985 * include/memory.h: Ditto.
2986 * include/process.h: Ditto.
2987 * inlude/search.h: Ditto.
2988 * include/share.h: Ditto.
2989 * include/unistd.h: Ditto.
2990 * include/sys/fcntl.h: Ditto.
2991 * include/file.h: Ditto.
2992 * include/sys/locking.h: Ditto.
2993 * include/sys/param.h: Ditto.
2994 * include/sys/stat,h
2995 * include/sys/time.h: Ditto.
2996 * include/sys/timeb.h: Ditto.
2997 * include/sys/types.h: Ditto.
2998 * include/sys/unistd.h: Ditto.
2999 * include/sys/utime.h: Ditto.
3001 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
3003 * include/_mingw.h (__UNUSED_PARAM): Define macro.
3004 * include/wchar.h (fwide): Use it.
3007 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
3009 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
3010 NetBSD getopt_long.c.
3012 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
3014 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
3015 codes and handling of special chars.
3017 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
3019 * include/stdio.h (feof): Add inlined definition.
3022 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
3024 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
3025 directly, rather than via scabnl.
3027 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
3029 * mingwex/math/powl.c (powl): Return infinity if
3030 extended precision multiplication of x by log2(y)
3033 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
3035 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
3036 (__enan_NI16): Fix another one.
3037 (__enan_NBITS): Tidy.
3039 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
3041 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
3042 types. (Thanks to John Maddock for report.)
3044 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
3046 * include/tchar.h (_puttchar): Define.
3048 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
3050 * include/stdio.h:(_fileno): Define macro version after both
3051 fileno and _fileno functions declared.
3053 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
3054 * moldnames.def.in (rmtmp) Add stub.
3056 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
3058 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
3060 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
3062 * include/math.h: Guard ISO C99 additions with __cplusplus
3065 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
3067 * include/_mingw.h: Define __attribute__((x)) to nothing
3070 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
3072 * include/complex.h: New file.
3073 * mingwex/complex: New directory.
3074 * mingwex/complex/cabs.c: New file.
3075 * mingwex/complex/cacos.c: New file.
3076 * mingwex/complex/cacosh.c: New file.
3077 * mingwex/complex/casin.c: New file.
3078 * mingwex/complex/casinh.c: New file.
3079 * mingwex/complex/catan.c: New file.
3080 * mingwex/complex/catanh.c: New file.
3081 * mingwex/complex/ccos.c: New file.
3082 * mingwex/complex/ccosh.c: New file.
3083 * mingwex/complex/cexp.c: New file.
3084 * mingwex/complex/cimag.c: New file.
3085 * mingwex/complex/clog.c: New file.
3086 * mingwex/complex/cpow.c: New file.
3087 * mingwex/complex/cproj.c: New file.
3088 * mingwex/complex/creal.c: New file.
3089 * mingwex/complex/csin.c: New file.
3090 * mingwex/complex/csinh.c: New file.
3091 * mingwex/complex/csqrt.c: New file.
3092 * mingwex/complex/ctan.c: New file.
3093 * mingwex/complex/ctanh.c: New file.
3094 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
3097 (COMPLEX_OBJS): New list of objects.
3098 (LIB_OBJS): Include it in the library.
3100 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
3102 * include/math.h (cabs): Remove non-ISO prototype.
3104 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
3106 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
3107 Use GCC __builtin's if available.
3108 (INFINITY, INFINITYF, INFINITYL): Likewise.
3110 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
3112 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
3113 beyond approximation limit.
3114 * mingwex/math/sf_erf.c (erff): Likewise.
3116 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
3118 * include/stdio.h (getc): Cast result to unsigned char before
3121 (getchar): Likewise.
3122 (putchar): Likewise.
3123 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
3125 2003-10-10 Earnie Boyd <earnie@users.sf.net>
3127 * include/_mingw.h: Increment version to 3.2.
3128 * Makefile.in: Ditto.
3130 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
3132 * include/sys/types.h: Revert last change.
3134 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
3136 * include/sys/types.h (ssize_t): Correct the definition.
3138 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3140 * include/stdio.h (_filbuf): Add prototype.
3141 (_flsbuf): Add prototype.
3142 (getc): Add inline version.
3144 (getchar): Likewise.
3145 (putchar): Likewise.
3147 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3149 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
3152 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
3154 * include/stdlib.h: Guard non-ISO functions with
3155 !__STRICT_ANSI__, throughout.
3157 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
3159 * include/io.h (_fileno): Remove prototype.
3161 (FILENAME_MAX): Define, if needed.
3162 Don't include <stdio.h>.
3163 * include/stdio.h (FILENAME_MAX): Protect against
3165 (_fileno): Define macro implementation.
3168 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
3170 * include/inttypes.h: Include _mingw.h.
3172 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
3174 * include/_mingw.h (__CRT_INLINE): Define.
3175 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
3177 * include/inttypes.h: Likewise.
3178 * include/math.h: Likewise.
3179 * include/stdio.h: Likewise.
3180 * include/stdlib.h: Likewise.
3181 * include/string.h: Likewise.
3182 * include/wchar.h: Likewise.
3183 * include/wctype.h: Likewise.
3185 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
3187 * mingwex/dirent.c (_topendir): Allocate enough memory for
3188 DIR struct in UNICODE case too.
3190 2003-09-15 Earnie Boyd <earnie@users.sf.net>
3192 * include/_mingw.h: Increment version to 3.2.
3193 * Makefile.in: Ditto.
3195 2003-07-03 Earnie Boyd <earnie@users.sf.net>
3197 * config.guess, config.sub: Update with versions from ftp.gnu.org.
3199 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
3201 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
3202 * mingwex/math/truncf.c (truncf): Likewise.
3203 * mingwex/math/truncl.c (truncl): Likewise.
3204 * mingwex/math/modff.c (modff): Likewise.
3205 * mingwex/math/modfl.c (modfl): Likewise.
3207 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
3209 * include/search.h: New file.
3210 * include/stdlib.h: Add comment about qsort, bsearch in
3212 * test_headers.c: Include search.h.
3213 * moldname.def.in (lfind, lsearch): Add.
3215 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
3217 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
3218 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
3219 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
3221 2003-07-01 Earnie Boyd <earnie@users.sf.net>
3223 * include/_mingw.h (small, hyper): Change to __small and __hyper to
3224 avoid user space name conflicts.
3226 2003-07-01 Earnie Boyd <earnie@users.sf.net>
3228 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
3229 Note: Also added to w32api/include/basetyps.h.
3230 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
3231 Rename to Small (case difference).
3233 2003-06-18 Earnie Boyd <earnie@users.sf.net>
3235 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
3236 * mingwex/dirent.c: Modifications througout to fill d_name array.
3237 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
3238 libmsvcr71, including debug versions.
3239 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
3241 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
3243 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
3244 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
3246 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
3248 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
3250 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
3252 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
3254 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
3255 but still protect inline definition with __STRICT_ANSI__.
3257 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
3259 * string_old.c: Remove, splitting into...
3260 * strcasecmp.c: New file.
3261 * strncasecmp.c: New file.
3262 * wscmpi.c : New file.
3263 * ctype_old.c: Remove, splitting into...
3264 * isascii.c: New file.
3265 * iscsym.c: New file.
3266 * iscsymf.c: New file.
3267 * toascii.c: New file.
3268 * Makefile.in (MOLD_OBJS): Adjust.
3269 (SRCDIST_FILES): Adjust.
3271 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
3273 * include/math.h (fabs) : Remove inline definition.
3277 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3279 * include/_mingw.h: Change version to 3.0
3280 * Makefile.in: Ditto.
3282 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3284 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
3285 * mingwex/configure.in (W32API_INCLUDE): Ditto.
3286 * profile/configure.in (W32API_INCLUDE): Ditto.
3288 2003-05-06 Earnie Boyd <earnie@users.sf.net>
3290 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
3291 of multiply defined symbols if the symbols is defined locally. E.G.:
3292 A local definition of malloc causes this problem.
3293 * configure: Regenerate.
3294 * profile/Makefile.in (W32API_INCLUDE): New variable.
3295 (ALL_CFLAGS): Use W32API_INCLUDE value.
3296 (ALL_CXXFLAGS): Ditto.
3297 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
3298 Thanks to Jeff Bonggren <jbon@users.sf.net>.
3299 * profile/configure.in (W32API_INCLUDE): Set default value.
3300 * profile/configure: Regenerate.
3301 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
3302 (ALL_CFLAGS): Use W32API-INCLUDE value.
3303 (ALL_CXXFLAGS): Ditto.
3304 * mingwex/configure.in (W32API_INCLUDE): Set default value.
3305 * mingwex/configure: Regenerate.
3307 2003-05-05 Earnie Boyd <earnie@users.sf.net>
3309 * Makefile.in (W32API_INCLUDE): New variable.
3310 (ALL_CFLAGS): Use W32API_INCLUDE value.
3311 (ALL_CXXFLAGS): Ditto.
3312 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
3313 (W32API_INCLUDE): Set default value.
3314 * configure: Regenerate.
3316 2003-04-11 Earnie Boyd <earnie@users.sf.net>
3318 * configure.in (LIBM_A): Define for cygwin target.
3319 * configure (LIBM_A): Ditto.
3321 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
3323 * include/time.h (strftime): Remove duplicate declaration.
3325 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
3327 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
3329 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3331 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
3332 * mingwex/strtoimax.c (strtoimax): Likewise.
3333 * mingwex/wcstoimax.c (wcstoimax): Likewise.
3334 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
3335 * mingwex/fesentenv.c: Include float.h.
3336 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
3338 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
3340 * mingwex/math/tgammal.c: Likewise.
3342 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3344 * include/utime.h: New file, forwarding to sys/utime.h.
3346 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3348 * include/sys/param.h (MAXPATHLEN): Define.
3350 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3352 * include/tchar.h: Ansi-fy a comment.
3354 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
3356 * profile/profile.h (mcount): Use __builtin_return_address
3357 rather than inline __asm statements.
3358 * profile/Makefile.in: Remove special rule for mcount.o
3359 Specify dependencies for mcount.o profil.o gmon.o.
3361 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
3363 * include/stdlib.h (qsort): Remove const from first parm.
3364 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
3366 2003-03-03 Christopher Faylor <cgf@redhat.com>
3368 * mingwex/getopt.c: Refresh from NetBSD sources.
3370 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
3372 * mingwex/getopt.c: New file, copied from cygwin srcs.
3373 * include/getopt.h: New file, copied from cygwin srcs.
3374 * include/unistd.h: Include getopt.h.
3375 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
3376 (POSIX_OBJS): Add getopt.o.
3378 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
3380 * include/stdio.h (vscanf): Add prototype.
3386 * include/wchar.h (vwscanf): Add prototype.
3389 * mingwex/snprintf.c: Move to mingwex/stdio.
3390 * mingwex/vsnprintf.c: Ditto.
3391 * mingwex/snwprintf.c: Ditto.
3392 * mingwex/vsnwprintf.c: Ditto.
3393 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
3394 (STDIO_DISTFILES): Add.
3395 (DISTFILES): Adjust.
3396 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
3400 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
3402 * mingwex/stdio: New directory
3403 * mingwex/stdio/vfscanf.c: New file.
3404 * mingwex/stdio/vfwscanf.c: New file.
3405 * mingwex/stdio/vscanf.c: New file.
3406 * mingwex/stdio/vsscanf.c: New file.
3407 * mingwex/stdio/vswscanf.c: New file.
3408 * mingwex/stdio/vwscanf.c: New file.
3410 2003-02-25 Earnie Boyd <earnie@users.sf.net>
3412 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
3413 (libmsvcrt40.a): Ditto.
3415 2003-02-21 Earnie Boyd <earnie@users.sf.net>
3417 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
3419 * Makefile.in (libmsvcrtd.a): Add target library.
3420 (libmoldnamed.a): Ditto.
3421 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
3423 ($(srcdir)): Remove explicit reference for depencies of object targets.
3424 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
3425 msvcrt20.def, msvcrt40.def: Remove.
3426 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
3428 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
3430 * Makefile.in: Make sure libmingwex.a from current build tree is used.
3432 2003-02-14 Christopher Faylor <cgf@redhat.com>
3434 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
3435 ensure -mno-cygwin where appropriate. Filter out -O2.
3437 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
3439 * profile/Makefile.in (mcount.o): Use -O1 optimization
3442 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3444 * include/math.h: Remove _CRTIMP from pow() prototype,
3445 unless __NO_ISOCEXT.
3447 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3449 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
3451 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
3453 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
3454 __declspec(dllimport) supported.
3455 (__cdecl): Define if not already defined.
3456 (__stdcall): Likewise.
3457 * include/dirent.h: Qualify fuctions with __cdecl.
3458 * include/fenv.h: Likewise.
3459 * include/inttypes.h: Likewise.
3460 * include/assert.h: Qualify fuctions with __cdecl. Qualify
3461 CRT dll imports with _CRTIMP.
3462 * include/conio.h: Likewise.
3463 * include/ctype.h: Likewise.
3464 * include/direct.h: Likewise.
3465 * include/dos.h: Likewise.
3466 * include/errno.h: Likewise.
3467 * include/float.h: Likewise.
3468 * include/io.h: Likewise.
3469 * include/locale.h: Likewise.
3470 * include/malloc.h: Likewise.
3471 * include/math.h: Likewise.
3472 * include/mbctype.h: Likewise.
3473 * include/mbstring.h: Likewise.
3474 * include/process.h: Likewise.
3475 * include/setjmp.h: Likewise.
3476 * include/signal.h: Likewise.
3477 * include/stdio.h: Likewise.
3478 * include/stdlib.h: Likewise.
3479 * include/string.h: Likewise.
3480 * include/time.h: Likewise.
3481 * include/wchar.h: Likewise.
3482 * include/wctype.h: Likewise.
3483 * include/sys/stat.h: Likewise.
3484 * include/sys/timeb.h: Likewise.
3485 * include/sys/utime.h: Likewise.
3487 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
3488 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
3490 * include/stdio.h (__VALIST): Guard against prior definition.
3492 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3494 * include/_mingw.h: Change version to 3.0
3495 * Makefile.in: Ditto.
3497 2003-02-08 Earnie Boyd <earnie@users.sf.net>
3499 * include/stdlib.h: Make words after #endif a comment.
3501 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
3503 * include/locale.h: Include stddef.h for definition of NULL.
3505 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3507 * include/math.h (tgamma): Correct typo in comment.
3509 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
3511 * mingwex/mingw-fseek.c (INLINE): Remove define.
3512 (__mingw_is_win9x): Remove static inline function.
3513 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
3515 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
3517 * mingwex/math/llround.c: Correct function name and
3518 change return value to long long.
3520 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
3522 * include/ctype.h (__isascii): Don't cast arg to unsigned.
3523 (iswascii): Likewise. Correct mask.
3524 * include/wctype.h (iswascii): Don't cast arg to unsigned.
3527 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
3529 * include/stdlib.h (_osver, _winver, _winmajor,
3530 _winminor): Declare as direct imports from dll if
3531 __DECLSPEC_SUPPORTED.
3533 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
3535 * pseudo-reloc.c (do_pseudo_reloc): Make static.
3536 * pseudo-reloc-list.c: New file.
3537 * crt1.c (_pei386_runtime_relocator): Declare.
3538 (__mingw_CRTStartup): Call it.
3539 * dllcrt1.c (_pei386_runtime_relocator): Declare.
3540 (DllMainCRTStartup): Call it.
3541 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
3544 2003-01-01 Egor Duda <deo@logos-m.ru>
3546 * pseudo-reloc.c: New file.
3548 2002-12-20 Earnie Boyd <earnie@users.sf.net>
3550 * include/_mingw.h: Increment version to 2.4.
3553 2002-12-12 Earnie Boyd <earnie@users.sf.net>
3555 * include/malloc.h (_alloca): Add definition.
3558 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
3560 * mingwex/math/s_erf.c: New file.
3561 * mingwex/math/sf_erf.c: New file.
3562 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3563 (MATH_OBJS): Add new objects.
3564 * include/math.h (erf[f]): Add prototypes.
3565 (erfc[f]): Add prototypes.
3567 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
3569 * include/math.h: Add traditional/XOPEN math constants.
3571 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
3573 * mingwex/math/lgamma.c: New file.
3574 * mingwex/math/lgammaf.c: New file.
3575 * mingwex/math/lgammal.c: New file.
3576 * mingwex/math/tgamma.c: New file.
3577 * mingwex/math/tgammaf.c: New file.
3578 * mingwex/math/tgammal.c: New file.
3579 * mingwex/math/cephes_mconf (polevlf): Add float version.
3581 Define _CEPHES_USE_ERRNO.
3582 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
3583 (MATH_OBJS): Add new objects.
3584 * include/math.h (lgamma[fl]): Add prototypes.
3585 (tgamma[fl]): Add prototypes.
3587 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
3589 * mingwex/strtold.c: New file.
3590 * mingwex/wcstold.c: New file.
3591 * mingwex/ldtoa.c: New file.
3592 * mingwex/math/cephes_emath.h: New file.
3593 * mingwex/math/cephes_emath.c: New file.
3594 * mingwex/Makefile.in (DISTFILES): Add new files.
3595 (MATH_DISTFILES): Ditto.
3596 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
3597 (MATH_OBJS): Add cephes_emath.o.
3598 (LIB_OBJS): Add $(STDLIB_OBJS).
3599 * include/stdlib.h (strtold, wcstold): Add prototypes.
3600 * include/wchar.h (wcstold): Add prototype.
3602 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
3604 * include/math.h (sqrt): Remove inline definition.
3605 (sqrtf): Replace inline definition with prototype.
3607 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
3608 argument less than zero.
3609 * mingwex/math/sqrtf.c (sqrtl): Likewise.
3611 2002-10-30 Guido Serassio <serassio@libero.it>
3613 * include/stdio.h (_getmaxstdio): Add prototype.
3614 (_setmaxstdio): Likewise.
3616 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
3618 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
3620 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3622 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
3624 Define WIN32_MEAN_AND_LEAN before including windows.h
3625 * include/stdlib.h (_fmode): Protect declaration as dllimported
3626 variable with __IN_MINGW_RUNTIME.
3628 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
3630 * crt1.c: Include stdlib.h.
3632 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
3634 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
3635 (MINGW_OBJS): Add txtmode.o.
3636 (SRCDIST_FILES): Add txtmode.c binmode.c.
3637 crt1.c: Don't include fcntrl.h, stdlib.h.
3638 (_fmode): Declare, without dllimport attribute.
3639 (__p__fmode): Declare access function for dll's _fmode.
3640 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
3642 * txtmode.c: New file.
3643 * binmode.c: New file.
3644 * samples/fmode/test2.c: New file.
3645 * samples/fmode/jamfile: Add test2.exe target.
3647 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3649 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
3650 macros work with C89.
3651 (INTMAX_C, UINTMAX_C): Likewise.
3653 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
3655 * include/string.h (strcasecmp): Make extern __inline__.
3656 (strncasecmp): Likewise.
3657 (wcscmpi): Likewise.
3659 2002-10-08 Heiko Gerdau <hg@technosis.de>
3661 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
3662 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
3665 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
3667 * mingwex/math/powil.c: Rename powil to __powil.
3668 * mingwex/math/powl.c: Adjust declaration and call
3669 to __powil. Remove comment on powil.
3670 * mingwex/math/powi.c: New file.
3671 * mingwex/math/powif.c: New file.
3672 * mingwex/math/pow.c: New file.
3673 * mingwex/math/cephes_mconf.h. Add double and float
3674 versions of constants.
3675 (polevl): Add double precision function.
3677 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
3679 (MATH_OBJS): Add pow.o, powi.o, powif.o.
3681 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3683 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
3684 (_imp____mbcur_max_dll): Likewise.
3686 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
3688 * include/fcntl.h (_fmode): Remove declarations and
3689 compatibility defines.
3690 (_setmode, setmode): Remove prototypes.
3691 * include/stdlib (_fmode): Add declarations and
3692 compatibility defines. Change type to int.
3693 * include/io.h (_setmode, setmode): Add prototypes.
3694 * samples/fmode/all.c: Adjust includes.
3695 * samples/fmode/test.c: Likewise.
3696 * crt1.c (_CRT_fmode): Declare as int.
3697 * CRTfmode.c (_CRT_fmode): Likewise.
3699 * include/stdlib: Remove comment about MB_CUR_MAX.
3701 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
3703 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
3704 (_imp____mbcur_max_dll): Likewise.
3706 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3708 * mingwex/math/files.txt: Remove inadvertantly added file.
3710 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
3712 * include/string.h (_strerror): Move into #ifndef
3713 __STRICT_ANSI__ block.
3715 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
3717 * include/time.h (__need_NULL): Define before including
3718 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
3720 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
3722 * include/stdio.h: Correct comment about directory separator.
3724 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
3726 * include/sys/time.h (timeval): Add struct definition and
3727 associated macros (copied from w32api/include/winsock.h).
3729 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3731 * include/_mingw.h: Increment version to 2.3.
3734 2002-09-05 Earnie Boyd <earnie@users.sf.net>
3736 * mingwex/fegetenv.c: Change to \n line endings.
3737 * mingwex/vsnprintf.c: Ditto.
3738 * mingwex/vsnwprintf.c: Ditto.
3740 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
3742 * mingwex/math/hypotl.c: Replace with version based on cephes
3745 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3747 * include/sys/param.h: Add ENDIAN defines.
3748 * test_headers.c: Include sys/param.h.
3750 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
3752 * test_headers.c: Don't include varargs.h.
3753 * Makefile.in (test_headers): Don't use -std=xx
3756 2002-08-21 Earnie Boyd <earnie@users.sf.net>
3758 * include/sys/param.h: New File.
3760 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
3762 * include/math.h (asm): Change to __asm__ throughout.
3763 Expose ISO C99 functions if __GLIPCPP__.
3764 (hypotf): Use hypot, not _hypot in stub.
3766 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3768 * include/tchar.h: Ansi-fy another comment.
3770 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3772 * include/tchar.h: Ansi-fy comment.
3774 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
3776 * test_headers.c : New file.
3777 * Makefile.in (test_headers): New target, using it,
3778 (SRCDIST_FILES): Distribute it.
3780 2002-08-20 Earnie Boyd <earnie@users.sf.net>
3782 * include/_mingw.h: Increment version to 2.2.
3785 2002-08-14 Earnie Boyd <earnie@users.sf.net>
3787 * include/unistd.h: Add include of process.h.
3789 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
3791 * include/stdio.h (_fcloseall): Add prototype.
3793 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3795 * include/tchar.h (_tfdopen): Correct typo.
3797 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
3799 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
3800 nextafter): Add non-underscored stubs.
3801 * moldname-msvcrt.def: Regenerate.
3802 * moldname-crtdll.def: Regenerate.
3803 * mingwex/math: New directory.
3804 * mingwex/rint.c: Move to mingwex/math.
3805 * mingwex/rintf.c: Ditto.
3806 * mingwex/rintl.c: Ditto.
3807 * mingwex/round.c: Ditto.
3808 * mingwex/roundf.c: Ditto.
3809 * mingwex/roundl.c: Ditto.
3810 * mingwex/rint.c: Ditto.
3811 * mingwex/rintf.c: Ditto.
3812 * mingwex/rintl.c: Ditto.
3813 * mingwex/trunc.c: Ditto.
3814 * mingwex/truncf.c: Ditto.
3815 * mingwex/truncl.c: Ditto.
3816 * mingwex/signbit.c: Ditto.
3817 * mingwex/signbitf.c: Ditto.
3818 * mingwex/signbitl.c: Ditto.
3819 * mingwex/copysignl.S: Ditto.
3820 * mingwex/fdim.c: Ditto.
3821 * mingwex/fdimf.c: Ditto.
3822 * mingwex/fdiml.c: Ditto.
3823 * mingwex/fmin.c: Ditto.
3824 * mingwex/fminf.c: Ditto.
3825 * mingwex/fminl.c: Ditto.
3826 * mingwex/fmax.c: Ditto.
3827 * mingwex/fmaxf.c: Ditto.
3828 * mingwex/fmaxl.c: Ditto.
3829 * mingwex/fma.c: Ditto.
3830 * mingwex/fmaf.c: Ditto.
3831 * mingwex/fmal.c: Ditto.
3832 * mingwex/fpclassify.c: Ditto.
3833 * mingwex/fpclassifyl.c: Ditto.
3834 * mingwex/fpclassifyl.c: Ditto.
3835 * mingwex/isnan.c: Ditto.
3836 * mingwex/isnanf.c: Ditto.
3837 * mingwex/isnanl.c: Ditto.
3838 * mingwex/fucom.c: Ditto.
3839 * mingwex/fp_consts.c: Ditto. Split out float and long double
3841 * mingwex/math_stubs.c: Remove.
3842 * mingwex/log2.c: Remove. Replaced by math/log2.S
3843 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
3844 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
3845 * mingwex/math/acosf.c : New file.
3846 * mingwex/math/acosl.c: New file.
3847 * mingwex/math/asinf.c: New file.
3848 * mingwex/math/asinl.c: New file.
3849 * mingwex/math/atan2f.c: New file.
3850 * mingwex/math/atan2l.c: New file.
3851 * mingwex/math/atanf.c: New file.
3852 * mingwex/math/atanl.c: New file.
3853 * mingwex/math/cbrt.c: New file.
3854 * mingwex/math/cbrtf.c: New file.
3855 * mingwex/math/cbrtl.c: New file.
3856 * mingwex/math/ceilf.S: New file.
3857 * mingwex/math/ceill.S: New file.
3858 * mingwex/math/cephes_ld.h: New file.
3859 * mingwex/math/copysign.S: New file.
3860 * mingwex/math/copysignf.S: New file.
3861 * mingwex/math/cosf.S: New file.
3862 * mingwex/math/coshf.c: New file.
3863 * mingwex/math/coshl.c: New file.
3864 * mingwex/math/cosl.S: New file.
3865 * mingwex/math/exp2.S: New file.
3866 * mingwex/math/exp2f.S: New file.
3867 * mingwex/math/exp2l.S: New file.
3868 * mingwex/math/expf.c: New file.
3869 * mingwex/math/expl.c: New file.
3870 * mingwex/math/fabs.c: New file.
3871 * mingwex/math/fabsf.c: New file.
3872 * mingwex/math/fabsl.c: New file.
3873 * mingwex/math/floorf.S: New file.
3874 * mingwex/math/floorl.S: New file.
3875 * mingwex/math/fmodf.c: New file.
3876 * mingwex/math/fmodl.c: New file.
3877 * mingwex/math/fp_consts.h: Ditto.
3878 * mingwex/math/fp_constsf.c: Ditto.
3879 * mingwex/math/fp_constsl.c: Ditto.
3880 * mingwex/math/frexpf.c: New file.
3881 * mingwex/math/frexpl.S: New file.
3882 * mingwex/math/hypotf.c: New file.
3883 * mingwex/math/hypotl.c: New file.
3884 * mingwex/math/ilogb.S: New file.
3885 * mingwex/math/ilogbf.S: New file.
3886 * mingwex/math/ilogbl.S: New file.
3887 * mingwex/math/ldexpf.c: New file.
3888 * mingwex/math/ldexpl.c: New file.
3889 * mingwex/math/llrint.c: New file.
3890 * mingwex/math/llrintf.c: New file.
3891 * mingwex/math/llrintl.c: New file.
3892 * mingwex/math/llround.c: New file.
3893 * mingwex/math/llroundf.c: New file.
3894 * mingwex/math/llroundl.c: New file.
3895 * mingwex/math/log10f.S: New file.
3896 * mingwex/math/log10l.S: New file.
3897 * mingwex/math/log1p.S: New file.
3898 * mingwex/math/log1pf.S: New file.
3899 * mingwex/math/log1pl.S: New file.
3900 * mingwex/math/log2.S: New file.
3901 * mingwex/math/log2f.S: New file.
3902 * mingwex/math/log2l.S: New file.
3903 * mingwex/math/logb.c: New file.
3904 * mingwex/math/logbf.c: New file.
3905 * mingwex/math/logbl.c: New file.
3906 * mingwex/math/logf.S: New file.
3907 * mingwex/math/logl.S: New file.
3908 * mingwex/math/lrint.c: New file.
3909 * mingwex/math/lrintf.c: New file.
3910 * mingwex/math/lrintl.c: New file.
3911 * mingwex/math/lround.c: New file.
3912 * mingwex/math/lroundf.c: New file.
3913 * mingwex/math/lroundl.c: New file.
3914 * mingwex/math/modff.c: New file.
3915 * mingwex/math/modfl.c: New file.
3916 * mingwex/math/nearbyint.S: New file.
3917 * mingwex/math/nearbyintf.S: New file.
3918 * mingwex/math/nearbyintl.S: New file.
3919 * mingwex/math/nextafterf.c: New file.
3920 * mingwex/math/powf.c: New file.
3921 * mingwex/math/powl.c: New file.
3922 * mingwex/math/powil.c: New file.
3923 * mingwex/math/remainder.S: New file.
3924 * mingwex/math/remainderf.S: New file.
3925 * mingwex/math/remainderl.S: New file.
3926 * mingwex/math/remquo.S: New file.
3927 * mingwex/math/remquof.S: New file.
3928 * mingwex/math/remquol.S: New file.
3929 * mingwex/math/scalbn.S: New file.
3930 * mingwex/math/scalbnf.S: New file.
3931 * mingwex/math/scalbnl.S: New file.
3932 * mingwex/math/sinf.S: New file.
3933 * mingwex/math/sinhf.c: New file.
3934 * mingwex/math/sinhl.c: New file.
3935 * mingwex/math/sinl.S: New file.
3936 * mingwex/math/sqrt.c: New file.
3937 * mingwex/math/sqrtf.c: New file.
3938 * mingwex/math/sqrtl.c: New file.
3939 * mingwex/math/tanf.S: New file.
3940 * mingwex/math/tanhf.c: New file.
3941 * mingwex/math/tanhl.c: New file.
3942 * mingwex/math/tanl.S: New file.
3943 * mingwex/Makefile.in: Adjust VPATH for source files in
3946 Add MATH_DISTFILES and use it to build source distro.
3947 * include/math.h: Add protypes for new functions and
3948 reorganise to reflect ANSI,C99 status.
3950 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
3952 * include/tchar.h (_getts): Define as _getws for _UNICODE.
3953 (_putts): Define as _putws for _UNICODE.
3954 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
3956 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
3958 * include/float.h: #include_next<float.h> before header guard.
3960 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
3962 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
3964 * include/excpt.h (): Include windef.h not windows.h.
3965 * include/fcntl.h (_O_SHORT_LIVED): Add define.
3966 (_chmod): Add prototype.
3967 (_creat): Correct prototype.
3968 (SH_DENY*): Rename defines to _SH_DENY*.
3969 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
3970 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
3971 _IOAPPEND): Add defines.
3972 (_wfindfirst): Correct prototype.
3973 (_wfdopen): Add prototype.
3974 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
3976 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
3978 (_wcsdup): Correct prototype.
3979 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
3980 _mbsncat being in string.h.
3981 * include/wchar.h (_wfindfirst): Correct prototype.
3982 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
3984 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3986 * include/_mingw.h: Increment to version 2.1.
3987 * Makefile.in: Ditto.
3989 2002-06-15 Earnie Boyd <earnie@users.sf.net>
3991 * Makefile.in (conf_prefix): New variable.
3992 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
3993 (bindist): Use dist_prefix.
3995 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
3997 * include/_mingw.h: Increment version to 2.0.
3998 * Makefile.in: Ditto.
4000 Merge in mingwex branch.
4002 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
4004 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
4005 * mingwex/fdim.c: New file.
4006 * mingwex/fdimf.c: New file.
4007 * mingwex/fdiml.c: New file.
4008 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
4010 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
4012 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
4014 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
4016 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
4018 * mingwex/isnanl.c: New file.
4020 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
4022 * include/stdint.h: Include stddef.h to get
4024 (WINT_MAX): Define to ((wint_t)-1).
4026 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
4028 * include/wctype.h: Replace 'inline' with '__inline__'.
4029 * include/inttypes.h: Likewise.
4031 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
4033 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
4034 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
4036 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
4038 * mingwex/snprintf.c: Split out vsnprintf to....
4039 * mingwex/vsnprintf.c: New file.
4040 * mingwex/snwprintf.c: Split out vsnwprintf to...
4041 * mingwex/vsnwprintf.c: New file.
4042 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
4044 2002-05-15 Pascal Obry <obry@gnat.com>
4046 * include/dirent.h (DIR): Change dd_stat type to int.
4049 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
4051 * include/stdio.h (vsnprintf): Change inline to __inline__;
4052 (vsnwprintf): Likewise.
4053 * include/wchar.h (vsnwprintf): Likewise.
4056 (mbsinit): Likewise.
4058 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
4060 Change FP default precison from 53 to 64-bit mantissa.
4062 * Makefile.in (CRT0S): Add CRT_fp8.o.
4063 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
4064 * include/float.h: Replace standard float.h defines with
4065 #include_next<float.h> to use GCC's defines. Adjust comments
4068 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
4070 * include/dos.h: Change prefix "__imp_" to "_imp__" for
4071 __GNUC__ without __DECLSPEC_SUPPORTED.
4072 * include/fnctl.h: Likewise.
4073 * include/math.h: Likewise.
4074 * include/stdio.h: Likewise.
4075 * include/stdlib.h: Likewise.
4076 * include/time.h: Likewise.
4077 * include/wctype.h: Likewise.
4078 * include/ctype.h: Likewise.
4080 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
4082 Add atexit support for dlls.
4083 * crt1.c (atexit): Force thunk to _imp__atexit.
4084 (_onexit): Force thunk to _imp___onexit.
4085 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
4086 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
4087 (__dll_exit): New function to run atexit-registered functions
4088 and flush output buffers on DLL_PROCESS_DETACH or failed
4090 (atexit): Force use of private atexit table via _dllonexit,
4091 (_onexit): New function. Force use of private atexit table via
4093 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
4094 _imp_<_symbol> is visible in import lib.
4095 * msvcrt20.def: Likewise.
4096 * msvcrt40.def: Likewise.
4097 * crtdll.def: Likewise.
4099 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
4101 * include/fenv.h: Change header guard macro to _FENV_H_.
4102 (fenv_t, fexcept_t): Move into block protected by
4104 Cleanup some whitespace.
4105 * include/inttypes.h: Change header guard macro to
4108 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
4110 * include/math.h (copysignl): Declare.
4111 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
4112 (MATHOBJS):Add copysignl.o.
4114 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
4116 * include/math.h (__signbitl, __isnanl): Declare.
4118 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
4120 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
4121 roundl, truncl, fmal, log2l): Declare.
4122 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
4123 || !defined __STRICT_ANSI__.
4124 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
4125 * mingwex/fmin.c (fmin): Likewise.
4126 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
4127 * mingwex/fminf.c (fminf): Likewise.
4128 * mingwex/fmaxl.c: New file.
4129 * mingwex/fminl.c: New file.
4130 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
4131 * mingwex/fpclassifyf.c: New file.
4132 * mingwex/fpclassifyl.c: New file.
4133 * mingwex/rint.c (rintf): Split out to...
4134 * mingwex/rintf.c: New file.
4135 * mingwex/rintl.c: New file.
4136 * mingwex/round.c (roundf): Split out to...
4137 * mingwex/roundf.c: New file.
4138 * mingwex/roundl.c: New file.
4139 * mingwex/trunc.c (truncf): Split out to...
4140 * mingwex/truncf.c: New file.
4141 * mingwex/truncl.c: New file.
4142 * mingwex/signbit.c (signbitf): Split out to...
4143 * mingwex/signbitf.c: New file.
4144 * mingwex/signbitl.c: New file.
4145 * mingwex/fmal.c: New file.
4146 * mingwex/copysignl.S: New file.
4147 * mingwex/log2l.c: New file.
4148 * mingwex/fp_consts.c: Add nanl definition.
4149 Comment out unused constants.
4150 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
4151 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
4152 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
4154 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
4155 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
4156 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
4158 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
4160 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
4162 Make wide char versions of opendir and friends.
4164 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
4166 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
4167 _wseekdir): Add prototypes for wide versions of corresponding
4169 * include/tchar.h; Add _UNICODE mappings for dirent.h
4170 structures and functions.
4171 * mingwex/dirent.c: Make _UNICODE neutral.
4172 * mingwex/wdirent.c: New file to define _UNICODE before
4174 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
4175 (POSIX_OBJS): Add wdirent.o.
4176 (wdirent.o): Specify dependency on dirent.c as well as
4178 * samples/dirent/wtest.c: New file, wide version of test.c.
4180 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
4182 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
4183 ensure gcc include dir is searched despite -nostdinc.
4184 * profile/Makefile.in (INCLUDES): Likewise.
4185 * mingwex/Makefile.in (INCLUDES): Likewise.
4186 * include/stdarg.h: Replace with stub that just guards the
4187 real gcc system header with #ifndef RC_INVOKED
4188 * include/varargs.h: Likewise.
4189 * include/stddef.h: Likewise.
4190 * include/stdio.h: Include stdarg.h after defining
4192 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
4193 Replace va_list with __VALIST throughout.
4195 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
4197 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
4198 * msvcrt.def (_fpreset): Mark as DATA so that only
4199 _imp___fpreset is exported.
4200 * msvcrt20.def (_fpreset): Likewise.
4201 * msvcrt40.def (_fpreset): Likewise.
4202 * crtdll.def (_fpreset): Likewise.
4203 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
4205 (fpreset): Add alias.
4206 (__CRT_PC): Delete definition. _fpreset does it now.
4207 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
4208 (fpreset): Add alias.
4209 (__CRT_PC): Delete definition.
4210 * moldname.def.in: Comment out fpreset.
4211 * moldname-msvcrt.def: Regenerate.
4212 * moldname-crtdll.def: Regenerate.
4213 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
4214 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
4215 with the _fpreset determined by startup CRT_fp object.
4217 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
4219 * CRT_fp8.c: New file.
4220 * CRT_fp10.c: New file.
4221 * crt1.c (__CRT_PC) Declare.
4222 (__CRT_fesetenv): New static function, using _CRT_PC.
4223 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
4224 (_gnu_exception_handler): Likewise.
4225 * Makefile.in (CRT0S): Add CRT_fp10.o.
4226 (MINGW_OBJS): Add CRT_fp8.o.
4227 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
4228 Add CRT_fp8.o, CRT_fp10.o dependancies.
4229 * include/float.h (_fpreset): Expand comment.
4230 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
4231 (extended precison) environmemt.
4232 (FE_PC53_ENV): New define for MSVCRT default environmemt.
4233 (FE_DFL_ENV): Define as FE_PC53_ENV.
4234 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
4235 precision control for default environment.
4237 * include/math.h: Fix long comment line.
4238 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
4240 * profile/configure: Regenerate.
4242 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
4244 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
4246 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
4248 * mingwex/mingw-fseek.c: New file, based on 1999-11-07 mingw-local
4249 patch to binutils, by Mumit Khan <khan@nanotech.wisc.edu>; provide...
4250 (__mingw_fseek): New function to work around Win9x f/lseek bug.
4251 (__mingw_fwrite): Likewise.
4252 (__mingw_is_win9x): New helper function.
4254 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
4255 (__mingw_fseek): New prototype and define to replace fseek.
4256 (__mingw_fwrite): New prototype and define to replace fwrite.
4257 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
4258 * moldname-crtdll.def: Remove CR from end of line.
4259 * moldname-msvcrt.def: Ditto.
4261 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
4263 * profile/configure.in (CRT0S): Configure name of gcrt?.o
4264 based on target, building gcrt0.o for cygwin -mno-cygwin.
4265 * profile/configure: Regenerate.
4266 * profile/Makefile.in (CRT0S): Use name from configure.
4267 (gcrt0.o): New rule.
4268 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
4270 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
4272 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
4273 _fpecode): Remove prototypes copied from float.h.
4274 (nan, nanf): Move into block protected against RC_INVOKED
4276 * include/stdlib.h (_Exit): Change from static inline to
4278 * mingwex/_Exit.c : New file.
4279 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
4281 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
4283 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
4284 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
4285 (configdirs): Likewise.
4286 (LIBGMON_A): Define for cygwin target as well.
4287 * configure: Regenerate.
4288 * profile/configure.in (THREAD_DLL): Remove define.
4289 (LIBM_A): Remove define.
4290 (LIBGMON_A): Define for cygwin target as well.
4291 * profile/configure: Regenerate.
4292 * profile/makefile.in (install): Install to inst_libdir and
4294 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
4295 (OPTFLAGS): New define.
4296 (ALL_CFLAGS): Add $(OPTFLAGS).
4297 (ALL_CXXFLAGS): Same.
4298 (.c.o:): Remove ALL_CXXFLAGS.
4300 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
4302 * include/stdint.h: Add missing newline at eof.
4303 * include/stdio.h (snprintf): Add prototype.
4304 (vsnprintf): Add prototype and inline definition.
4305 (snwprintf): Add prototype.
4306 (vsnwprintf): Add prototype and inline definition.
4307 * include/wchar.h (snwprintf): Add prototype.
4308 (vsnwprintf): Add prototype and inline definition.
4309 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
4311 * mingwex/snprintf.c: New file.
4312 * mingwex/snwprintf.c: New file.
4314 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
4316 * configure.in: Add mingwex as SUBDIRS and configdirs.
4317 * configure: Regenerate.
4318 * Makefile.in (MINGW_OBJS): Remove dirent.o.
4319 (SRC_DIST_FILES): Remove dirent.c.
4321 * include/stdlib.h (_Exit): Add static inline
4323 (struct lldiv_t): Define.
4324 (lldiv): Add prototype.
4325 (llabs): Add extern inline function.
4326 (strtoll,strtoull): Add prototypes.
4327 (wcstol, wcstoul, wcstod): Group together.
4328 (strtof, wcstof): Add extern inline definitions.
4329 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
4330 and extern inline definitions.
4331 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
4332 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
4334 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
4335 (wcstof): Add extern inline definition.
4336 * include/math.h (nan, nanf): Add prototypes.
4337 (NAN, INFINITE): Define constants.
4338 (fpclassify, isnan ,signbit): Add macros and supporting float
4339 and double functions.
4340 (isfinite, isinf, isnormal): Add macros.
4341 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
4343 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
4344 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
4345 (copysign, logb, nextafter, scalb): Add prototypes and
4346 inline stubs for underscored versions in msvcrt.dll.
4347 * include/inttypes.h: New file.
4348 * include/fenv.h: New file
4350 Add new mingwex subdir and files.
4351 * mingwex: New directory.
4352 * mingwex/Makefile.in: New file.
4353 * mingwex/configure.in: New file.
4354 * mingwex/configure: Generate.
4355 * mingwex/dirent.c: Moved here from parent dir.
4356 * mingwex/atoll.c: New file.
4357 * mingwex/feclearexcept.c: New file.
4358 * mingwex/fegetenv.c: New file.
4359 * mingwex/fegetexceptflag.c: New file.
4360 * mingwex/fegetround.c: New file.
4361 * mingwex/feholdexcept.c: New file.
4362 * mingwex/feraiseexcept.c: New file.
4363 * mingwex/fesetenv.c: New file.
4364 * mingwex/fesetexceptflag.c: New file.
4365 * mingwex/fesetround.o: New file.
4366 * mingwex/fetestexcept.c: New file.
4367 * mingwex/feupdateenv.c: New file.
4368 * mingwex/fma.S: New file.
4369 * mingwex/fmaf.S: New file.
4370 * mingwex/fmax.c: New file.
4371 * mingwex/fmaxf.c: New file.
4372 * mingwex/fmin.c: New file.
4373 * mingwex/fminf.c: New file.
4374 * mingwex/fp_consts.c: New file.
4375 * mingwex/fpclassify.c: New file.
4376 * mingwex/fucom.c: New file.
4377 * mingwex/fwide.c: New file.
4378 * mingwex/imaxabs.c: New file.
4379 * mingwex/imaxdiv.c: New file.
4380 * mingwex/isnan.c: New file.
4381 * mingwex/isnanf.c: New file.
4382 * mingwex/lltoa.c: New file.
4383 * mingwex/lltow.c: New file.
4384 * mingwex/log2.c: New file.
4385 * mingwex/log2f.c: New file.
4386 * mingwex/math_stubs.c: New file.
4387 * mingwex/mbsinit.c: New file.
4388 * mingwex/rint.c: New file.
4389 * mingwex/round.c: New file.
4390 * mingwex/signbit.c: New file.
4391 * mingwex/sitest.c: New file.
4392 * mingwex/strtof.c: New file.
4393 * mingwex/strtoimax.c: New file.
4394 * mingwex/strtoumax.c: New file.
4395 * mingwex/testwmem.c: New file.
4396 * mingwex/trunc.c: New file.
4397 * mingwex/ulltoa.c: New file.
4398 * mingwex/ulltow.c: New file.
4399 * mingwex/wcstof.c: New file.
4400 * mingwex/wcstoimax.c: New file.
4401 * mingwex/wcstoumax.c: New file.
4402 * mingwex/wmemchr.c: New file.
4403 * mingwex/wmemcmp.c: New file.
4404 * mingwex/wmemcpy.c: New file.
4405 * mingwex/wmemmove.c: New file.
4406 * mingwex/wmemset.c: New file.
4407 * mingwex/wtoll.c: New file.
4409 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4411 * include/mbstring.h: New file.
4412 * include/mbctype.h: New file.
4414 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4416 * include/tchar.h (__TEXT): Make same as define in
4417 w32api/include/winnt.h.
4419 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
4421 * include/tchar.h (_tputenv): Add UNICODE mappings.
4422 (_tsearchenv): Likewise.
4423 (_tmakepath): Likewise.
4424 (_tsplitpath): Likewise.
4425 (_tfullpath): Likewise.
4427 2002-04-18 Pascal Obry <obry@gnat.com>
4429 * dirent.c (opendir): Convert given pathname to
4432 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4434 * include/_mingw.h: Increment version.
4435 * Makefile.in: Ditto.
4437 2002-04-09 Earnie Boyd <earnie@users.sf.net>
4439 * moldname-crtdll.def: Remove CR from end of line.
4440 * moldname-msvcrt.def: Ditto.
4441 * Makefile.in: Use bzip2 compression for Cygwin target.
4443 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
4445 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
4446 TLOSS, PLOSS): Move oldname defines back, following
4447 the underscored names.
4449 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
4451 * include/stdio.h (_snwprintf): Correct spelling.
4452 (_vsnwprintf): Likewise.
4453 * include/wchar.h (_snwprintf): Correct spelling.
4454 (_vsnwprintf): Likewise.
4456 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
4458 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
4459 (wpopen): Add if !(__CRTDLL__).
4460 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
4462 (moldname-crtdll.def rule): Likewise.
4463 * moldname-msvcrt.def: Regenerate.
4464 * moldname-crtdll.def: Regenerate.
4465 * include/stdio.h (wpopen):Use prototype, not a define.
4466 (_swnprintf): Add prototype.
4467 (_vswnprintf): Likewise.
4469 * include/wchar.h (_swnprintf): Add prototype.
4470 (_vswnprintf): Likewise.
4473 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4475 * include/malloc.h (_heapinfo): Correct structure definition.
4476 (_USEDENTRY,_FREEENTRY): Add defines.
4477 Add comment on platform support for _heap* functions.
4478 (_get_sbh_threshold): Add prototype.
4479 (_set_sbh_threshold): Likewise.
4480 (_expand): Likewise.
4482 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4484 * profile/profil.c: Update copyright info.
4485 * profile/profil.h: Likewise.
4486 * profile/gcrt0.c: Likewise.
4488 2002-01-25 Pascal Obry <obry@gnat.com>
4490 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
4492 * profile/gmon.c: Define bzero as memset if mingw32.
4493 (monstartup): Use it.
4495 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4497 * include/tchar.h (_TCHAR): Add missing ;.
4499 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
4501 * include/tchar.h (_TCHAR): Add typedefs.
4503 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
4505 * include/stdlib.h (_onexit_t): Add typedef.
4506 (_onexit): Add prototype.
4508 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
4510 * msvcrt.def: Revert accidental change.
4511 * include/stdlib.h: Ditto.
4513 2001-12-07 Earnie Boyd <earnie@users.sf.net>
4515 * Makefile.in: Increment VERSION.
4516 * include/_mingw.h: Ditto.
4518 2001-12-05 Earnie Boyd <earnie@users.sf.net>
4520 * include/strings.h: New File.
4522 2001-12-02 Mumit Khan <khan@nanotech.wisc.edu>
4524 * include/math.h (_FPCLASS* ): Add defines from float.h.
4525 (IEEE recommended functions): Add declarations from float.h.
4526 * include/float.h (_FPCLASS* ): Protect against redefinition.
4528 2001-11-29 Wu Yongwei <adah@netstd.com>
4530 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
4531 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
4532 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
4533 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
4534 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
4535 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
4536 Correct spelling of "disclaimed" in comments.
4537 * include/excpt.h: Another spelling correction.
4539 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
4541 * include/errno.h: Fix "errno is not a prototype" warning.
4543 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
4545 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
4546 differences between ANSI and non-ANSI versions.
4547 (_ctype[],_pctype): Declare vars.
4548 (__ISCTYPE): New helper macro using _pctype.
4549 (is* ctype functions): Use __ISCTYPE to define inline versions.
4550 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
4552 (isw* ctype functions): Inline definitions.
4553 * include/wctype.h (_ctype[],_pctype): Declare vars.
4554 (isw* ctype functions): Inline definitions.
4557 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4559 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
4560 __fpecode): Use __STDC__ prototypes.
4563 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
4565 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
4566 * mthr_init.c (DllMain) Run dtors if a process terminates.
4567 * mthr.c (__mingwthr_add_key_dtor) Removed.
4568 (___mingwthr_add_key_dtor) New.
4569 (___mingwthr_remove_key_dtor) New.
4570 (__mingwthr_run_key_dtors) Complete rewrite.
4571 (__mingwthr_remove_key_dtor) New.
4573 2001-11-05 Egor Duda <deo@logos-m.ru>
4575 * Makefile.in: Delete unused executable after creating base-files.
4577 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4579 * include/errno.h (_errno): Use __STDC__ prototype.
4580 Thanks to: Jim Barton.
4582 2001-11-04 "stefan" <stefan@lkcc.org>
4584 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
4586 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4588 * include/io.h (_commit): Add declaration.
4589 Thanks to: "stefan" <stefan@lkcc.org>
4591 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
4593 * include/sys/stat.h: Make S_IS* macros safer.
4595 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
4597 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
4599 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
4601 * include/stdlib.h (__p__environ, __p__wenviron): Use
4602 __STDC__ prototypes.
4604 2001-09-19 Earnie Boyd <earnie@SF.net>
4606 * Makefile.in: Remove the /usr from the install target.
4607 (VERSION): Increment.
4608 include/_mingw.h: Ditto.
4610 2001-09-17 Earnie Boyd <earnie@SF.net>
4612 * Makefile.in: Increment version.
4613 * include/_mingw.h: Ditto.
4615 2001-09-10 Earnie Boyd <earnie@SF.net>
4617 * dossh: Remove inadvertantly imported file.
4619 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
4621 * dirent.c (opendir): Use GetFileAttributes rather than stat
4622 to determine if input arg is dir.
4624 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
4626 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
4628 * include/varargs.h (va_list): Ditto.
4629 * include/stdio.h (va_list): Ditto.
4631 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
4633 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
4634 * include/stdio.h (_IORW): Change constant to 0x0080.
4635 (TMP_MAX): Add new define.
4637 (_wP_tmpdir): Ditto.
4638 (L_tmpnam): Change constant to 16.
4640 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
4642 * include/malloc.h: Fix non-ANSI comment after #endif.
4644 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4646 * profile/configure.in: Make msvcrt.dll version default.
4647 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
4648 * provile/configure: Regenerate.
4650 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
4652 * include/stdio.h (swscanf): Make first arugument const.
4653 * include/wchar.h (swscanf): Ditto.
4654 * include/tchar.h (_tfopen): New _UNICODE define.
4656 (_tsetlocale): Ditto.
4658 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4660 * profile/Makefile.in (mkinstalldirs): Correct relative path.
4662 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
4664 * include/_mingw.h: Change version to 1.0.
4667 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
4669 * include/tchar.h: (__TEXT): Remove undef.
4673 2001-02-02 Earnie Boyd <earnie@users.sourceforge.net>
4675 * include/tchar.h: (__TEXT): Add private macro.
4676 (_TEXT): Modify definition to use __TEXT.
4678 This change allows the passing of a MACRO as an argument and have that
4679 MACRO resolved first.
4680 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
4682 2001-01-31 Earnie Boyd <earnie@users.sourceforge.net>
4684 * Makefile.in: Increment version to 0.5
4685 * include/_mingw.h: Increment minor version
4687 2001-01-30 Earnie Boyd <earnie@users.sourceforge.net>
4689 * include/assert.h: (assert): Remove ; from end of definition
4690 Thanks to: AJ Reins <tbisp@qwest.net>
4692 2001-01-30 Earnie Boyd <earnie@users.sourceforge.net>
4694 * include/time.h (CLOCKS_PER_SEC): Type cast the constant.
4695 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
4697 2001-01-29 Earnie Boyd <earnie@users.sourceforge.net>
4699 * include/time.h (CLOCKS_PER_SEC): Change from FP to integer constant.
4701 2001-01-28 Earnie Boyd <earnie@users.sourceforge.net>
4703 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
4704 are actually C functions. These functions are resolved via the
4705 -lmsvcp60 library and comments were placed in the header.
4707 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4709 * include/stdlib.h (__p__pgmptr): add prototype.
4710 (__p__wpgmptr): likewise.
4711 (_pgmptr_dll): move declaration from dos.h.
4712 (_wpgmptr_dll): likewise.
4713 (_pgmptr): conditional define (MSVCT/CRTDLL).
4714 (_wpgmptr): likewise.
4715 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
4716 (_os*_dll variables): likewise.
4717 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
4718 (_wpgmptr_dll): likewise.
4720 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4722 * include/stdint.h: New file.
4724 2001-01-18 Earnie Boyd <earnie@users.sourceforge.net>
4726 * include/wchar.h: Protect prototypes only declared in the C++ STL
4727 from being declared unless __cplusplus is defined.
4729 2001-01-16 Earnie Boyd <earnie@users.sourceforge.net>
4731 * include/stdlib.h: Apply Danny Smith patch 102730
4732 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4733 (_wgetenv) Correction to return type.
4735 2001-01-16 Earnie Boyd <earnie@users.sourceforge.net>
4737 * include/locale.h: Apply Danny Smith patch 101834
4738 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4739 (LC_MIN) Add definition.
4741 (_wsetlocale) Add prototype.
4743 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
4745 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
4746 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
4747 Create a libcoldname.a for the oldname library for CRTDLL.
4748 Restrict libmoldname.a for the oldname library for MSVCRT.
4749 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
4750 Restructure the $target_os case logic.
4751 Always name the MinGW thread dll helper mingwm.
4752 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
4753 * configure: regenerate.
4755 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
4757 * Makefile.in: Fix bindist target to distribute the correct files.
4758 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
4759 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
4761 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
4763 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
4764 Add variables and targets to control binary and source distributions.
4765 Add variables and targets to control snapshot distribution.
4766 * profile/gmon.h: Add missing #endif for #ifndef.
4767 * profile/ChangeLog: Merge entries here and remove.
4768 * profile/Makefile.in: Add variables and targets to control
4772 * config.guess: ditto.
4773 * config.sub: ditto.
4774 * mkinstalldirs: ditto.
4775 * install-sh: ditto.
4776 * configure: regenerate.
4777 * profile/configure: ditto.
4779 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
4781 * Merge in changes from
4782 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
4783 * include/direct.h: add guard around MSVCRT-only prototytpes
4784 * include/io.h: add __int64 struct definitions and function prototypes;
4785 add guard for MSVCRT-only prototypes
4786 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
4787 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
4788 put wchar functions together to make sync with wchar.h easier
4789 * include/stdlib.h: add wide char functions (__MSVCRT__)
4790 * include/string.h: add string collation functions ( __MSVCRT__)
4791 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
4792 * include/tchar.h: add macros and macro function definitions
4793 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
4794 enclose more functions in __MSVCRT__ guard;
4795 some oldname wide char function prototypes #if (0)'d
4796 * profile/gmon.h: add guard around BSD-ish typedefs
4798 2000-11-20 Christopher Faylor <cgf@cygnus.com>
4800 * Makefile.in: Use a different variable name for subdirectory since the
4801 previous one was used by the top level make.
4803 2000-11-19 Christopher Faylor <cgf@cygnus.com>
4805 * Makefile.in: Install mingw stuff in a subdirectory if building under
4808 2000-06-17 Christopher Faylor <cgf@cygnus.com>
4810 * Makefile.in (subdirs): Eliminate for loop.
4812 2000-06-17 Christopher Faylor <cgf@cygnus.com>
4814 * Makefile.in (subdirs): Previous change did not fix problem in
4817 2000-06-17 Christopher Faylor <cgf@cygnus.com>
4819 * Makefile.in: Avoid installing dll if we're cross building and the
4820 cross-host system isn't a Windows system.
4821 * configure.in: Detect cross-hosting situation and set appropriate
4822 variables in Makefile.in.
4823 * configure: Regenerate.
4825 2000-04-19 Christopher Faylor <cgf@cygnus.com>
4827 * configure.in: Change HEADER_SUBDIR to mingw32.
4828 * configure: Regenerate.
4830 2000-04-10 Christopher Faylor <cgf@cygnus.com>
4832 * include/string.h: Use proper prototype for _strerror.
4834 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
4836 * Makefile.in (subdirs): Workaround for broken shells.
4838 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
4840 * Snapshot 2000-02-03.
4842 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
4843 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
4844 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
4845 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
4848 * Makefile.in (all): Build CRT0S first.
4849 (libmingwthrd.a): Remove thread support DLL from dependency.
4851 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
4853 * Snapshot 2000-01-21.
4855 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
4857 Merge in changes from Cygwin:
4858 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
4859 (SUBDIRS): Likewise.
4860 * Makefile.in (HEADER_SUBDIRS): New variable.
4861 (install): Use to install Mingw headers to a subdirectory if building
4863 (DLL_CC_STUFF): Add DLL entry point.
4864 * configure: Regenerate.
4866 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
4868 * include/stdio.h (fsetpos): Fix prototype.
4869 (fpos_t): Fix for MSVCRT.
4870 * include/float.h (fpreset): Add prototype.
4871 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
4873 * include/time.h: Don't define tzname as a macro for CRTDLL, and
4874 export using libmoldname.a.
4875 * crtdll.def: Add DATA tags.
4876 * msvcrt.def: Likewise.
4877 * moldname.def.in: Likewise. Add fpreset. Export tzname for
4878 both MSVCRT and CRTDLL.
4879 * moldname-crtdll.def: Regenerate.
4880 * moldname-msvcrt.def: Regenerate.
4882 1999-12-21 Mumit Khan <khan@xraylith.wisc.edu>
4884 * Snapshot 1999-12-21.
4886 * include/wctype.h: New file.
4887 * include/ctype.h (MB_CUR_MAX): Define.
4889 * include/stdlib.h (MB_CUR_MAX): Define.
4890 * include/wchar.h: Define stat, _stat structures here as well.
4891 * include/float.h: Add invalid subconditions (_SW) and floating
4892 point error (_FPE) macros.
4893 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
4894 (_TIME_T): Rename macro to _TIME_T_DEFINED.
4895 * include/sys/types.h: Likewise.
4897 1999-11-18 Mumit Khan <khan@xraylith.wisc.edu>
4899 * profile/profil.c (profile_on): Set the profiler thread priority to
4900 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
4901 * Snapshot 1999-11-18.
4903 1999-11-07 Mumit Khan <khan@xraylith.wisc.edu>
4905 Released 1999-11-07.
4907 * Makefile.in (CRT0S): Add crtst.o.
4908 (install): Install in subdirs as well.
4909 * dirent.h (struct _stat): Rename from struct stat.
4910 * include/tchar.h: Add some new macros. Thanks to
4911 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
4912 * profile/Makefile.in (install): Fix target.
4914 1999-11-04 Mumit Khan <khan@xraylith.wisc.edu>
4916 * Makefile.in: Add support for profile directory.
4917 * configure.in: Likewise.
4918 * configure: Regenerate.
4920 * profile: Imported profiling sources from winsup-19991026 snapshot.
4921 * profile/Makefile.in: New file.
4922 * profile/configure.in: New file.
4923 * profile/configure: Generate.
4924 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
4925 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
4926 * profile/gmon.c (unistd.h): Include conditionally.
4927 (sys/param.h): Likewise.
4928 * profile/mcount.c (sys/param.h): Likewise.
4929 * profile/profil.c (profile_on): thread id is DWORD, not int.
4932 1999-11-03 Mumit Khan <khan@xraylith.wisc.edu>
4934 * include/stdlib.h: Add wide character version of argv/environ.
4936 * include/wchar.h: More wide character prototypes.
4937 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
4939 * dllcrt1.c (init.c): Don't include.
4940 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
4941 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
4943 1999-10-30 Mumit Khan <khan@xraylith.wisc.edu>
4945 * moldname.def: Remove file.
4946 * moldname.def.in: And add this.
4947 * moldname-msvcrt.def: Generate from moldname.def.in.
4948 * moldname-crtdll.def: Likewise.
4950 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
4951 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
4952 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
4954 * Makefile.in: Update.
4955 * configure.in: Likewise. Also add *cygwin* target for building
4956 under Cygwin winsup.
4957 * configure: Regenerate.
4959 1999-10-01 Mumit Khan <khan@xraylith.wisc.edu>
4961 * include/_mingw.h: Add version macros.
4962 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
4963 Also add wide character versions shared with wchar.h.
4964 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
4965 * include/io.h (sopen, _sopen): Fix prototype.
4966 Add wide character prototypes.
4967 * include/wchar.h: Likewise.
4968 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
4969 underscored versions. Potential incompatibility.
4970 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
4971 Add wide character prototypes.
4972 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
4975 1999-08-18 Mumit Khan <khan@xraylith.wisc.edu>
4977 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
4978 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
4980 * configure: Rengerate.
4981 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
4982 dll name and crt's. CRTDLL and MSVCRT are meant to created
4983 separately, so remove all the *-msvcrt* targets.
4984 (libmingwthr.a): New target. Dummy thread support archive.
4985 (LIBS): Add libmingwthr.a.
4986 (CRT0S): Use CRT_ID. Add crtmt.o.
4987 (MINGW_OBJS): Add crtst.o.
4988 * main.c (WinMain): Fix prototype.
4989 * crtmt.c: New file.
4990 * crtst.c: New file.
4992 * include/process.h (_beginthreadex): Fix prototype.
4993 * include/_mingw.h (__int64): Define for __GNUC__.
4994 * include/tchar.h (_ttol): Add macro.
4995 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
4996 _i64tow, _ui64tow, _wtoi64): Add prototypes.
4998 Reported by Emanuele Aliberti <ea@iol.it>:
4999 * include/tchar.h (_ttoi): Add macro.
5001 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
5002 * include/stdio.h (_snprintf): Add prototype.
5003 (_vsnprintf): Likewise.
5005 1999-08-07 Mumit Khan <khan@xraylith.wisc.edu>
5007 Reported by Tor Lillqvist <tml@iki.fi>:
5008 * include/stdlib.h (__p___argv): Fix return type.
5010 1999-07-30 Mumit Khan <khan@xraylith.wisc.edu>
5013 * include/errno.h (errno): It's linked in from startup, not imported.
5014 * include/stdlib.h (errno): Likewise.
5015 * include/io.h: Guard against conflicting macros and prototypes in
5017 * include/stdlib.h: Likewise.
5018 * include/string.h: Likewise.
5019 * include/time.h: Likewise.
5021 1999-07-30 Mumit Khan <khan@xraylith.wisc.edu>
5023 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
5024 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
5025 * Makefile.in (INCLUDES): Remove old windows32 include directory.
5027 * crt1.c (_gnu_exception_handler): Fix prototype.
5028 (__mingw_CRTStartup): New function based on mainCRTStartup.
5029 (mainCRTStartup): Set the app type for MSVCRT and call
5031 (WinMainCRTStartup): Likewise.
5032 * init.c (_startupinfo): Define.
5033 (_getmainargs): Add 5th parameter.
5034 (_mingw32_init_mainargs): Use.
5036 * ALL *.c files: Reformat according to GNU coding style.
5038 1999-07-16 Mumit Khan <khan@xraylith.wisc.edu>
5040 * Makefile.in (INCLUDES): Add w32api include directory.
5042 * include/_mingw.h: New file.
5043 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
5044 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
5045 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
5046 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
5047 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
5048 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
5050 * include/stdlib.h (atexit): Fix prototype.
5052 1999-06-14 Mumit Khan <khan@xraylith.wisc.edu>
5054 * include/stdio.h (_tempnam): Fix prototype.
5055 (tempnam): Likewise.
5056 * include/stdlib.h: Replace with GCC's version, and guard
5059 From Anders Norlander <anorland@hem2.passagen.se>:
5060 * include/stdlib.h (__argc): Declare.
5063 1999-04-05 Mumit Khan <khan@xraylith.wisc.edu>
5065 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
5067 * Makefile.in (_libm_dummy.o): New target.
5070 1999-03-16 Mumit Khan <khan@xraylith.wisc.edu>
5072 * Released 1999-03-16 along with egcs-1.1.2.
5074 1999-02-17 Mumit Khan <khan@xraylith.wisc.edu>
5076 * Makefile.in (LIBS): Add libm.a.
5077 (libm.a): Dummy libm.a.
5079 * Makefile.in: Update from winsup 1999-02-08 snapshot.
5080 Preserve local changes.
5081 (mkinstalldirs): In ../, not ../../.
5082 (INCLUDES): Point to local windows32api headers and use -nostdinc.
5084 (LIBS): Add libmoldname-msvc.a.
5085 (libmoldname-msvc.a): Add target.
5086 (distclean): Add target.
5088 1999-02-09 Mumit Khan <khan@xraylith.wisc.edu>
5090 * include/dir.h: Reintroduce as an obsolescent header.
5091 * crt1.c (signal.h): Include.
5092 (_gnu_exception_handler): New function to properly handle win32
5093 asynchronous signals.
5094 (mainCRTStartup): Use.
5096 1999-01-03 Mumit Khan <khan@xraylith.wisc.edu>
5098 * include/direct.h: Include io.h instead of dir.h
5099 * include/dirent.h: Likewise.
5100 * include/dos.h: Likewise.
5101 * include/stdio.h: Replace reference to dir.h with io.h.
5103 1998-12-31 Mumit Khan <khan@xraylith.wisc.edu>
5105 * 1999-01-01 release bundled with egcs-1.1.1.
5107 * include/io.h: Incorporate dir.h.
5108 * include/dir.h: Remove.
5109 * include/signal.h: Move RC_INVOKED up a bit.
5111 1998-12-29 Mumit Khan <khan@xraylith.wisc.edu>
5113 * include/signal.h (sig_atomic_t): Define.
5115 * include/malloc.h: Import defs from deprecated alloc.h.
5116 * include/alloc.h: Remove.
5118 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
5119 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
5120 * include/sys/stat.h (struct stat): st_uid is of type short. Use
5121 _off_t instead of long for st_size.
5123 1998-09-10 Mumit Khan <khan@xraylith.wisc.edu>
5125 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
5126 * include/stdlib.h: Here.
5128 * include/netdb.h: Remove.
5129 * include/arpa/inet.h: Remove.
5130 * include/netinet/in.h: Remove.
5131 * include/sys/socket.h: Remove.
5133 1998-09-04 Mumit Khan <khan@xraylith.wisc.edu>
5137 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
5138 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
5140 1998-09-03 Mumit Khan <khan@xraylith.wisc.edu>
5142 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
5143 (jmpbuf): typedef using above.
5144 (setjmp, longjmp): Prototype using jmpbuf.
5146 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
5147 obsolescent imported names, ie., from __imp__ to _imp___.
5149 Also ignored empty include/sys/param.h and incorrect
5150 include/sys/times.h.
5152 * CRTinit.c: New file.
5153 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
5155 * include/io.h (umask): Fix prototype.
5156 * include/stdlib.h (OS constants): Replace with Colin's.
5157 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
5158 * include/sys/state.h: Merge.
5160 1998-09-03 Mumit Khan <khan@xraylith.wisc.edu>
5162 * include/assert.h (assert): Lose the trailing semicolon.
5164 1998-07-30 Mumit Khan <khan@xraylith.wisc.edu>
5166 * include/math.h (matherr): Declare.
5167 * include/stdio.h (fileno, _fileno): Declare.
5168 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
5171 * include/stdio.h (fdopen, _fdopen): Add const.
5172 (getw, putw): Declare.
5173 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
5175 1998-06-13 Mumit Khan <khan@xraylith.wisc.edu>
5177 * include/time.h (_timezone): Undefine.
5178 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
5180 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
5182 * include/stdlib.h (environ): Use DLL version.
5183 * init.c (environ): Undefine it before use.
5185 1998-03-22 Mumit Khan <khan@xraylith.wisc.edu>
5187 * Update to 980309 snapshot from Colin Peters.
5189 * include/utime.h: remove
5190 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
5191 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
5192 patches to define these.
5193 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
5194 (_daylight, _timezone, _tzname, _tzset): Define.
5196 * include/netdb.h: Add from Colin's windows32api changes.
5197 * include/sys/socket.h: Likewise.
5198 * include/arpa/inet.h: Likewise.
5199 * include/netinet/in.h: Likewise.
5201 1998-02-04 Mumit Khan <khan@xraylith.wisc.edu>
5203 * Update to 980128 snapshot from Colin Peters.
5205 1997-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5207 * configure.in (AC_INIT): Use dllmain.c instead of defunct
5209 * configure: Regenerate.
5211 1997-12-05 Mumit Khan <khan@xraylith.wisc.edu>
5213 * Update to 971205 snapshot from Colin Peters. Lots of changes.
5214 Files renamed and include hierarchy loses directories named
5217 * include/dos.h: from Jan-Jaap.
5219 1997-12-04 Mumit Khan <khan@xraylith.wisc.edu>
5221 Changes to conform to FSF tree.
5223 * crt1.c: Renamed from mcrt0.c.
5224 * dllcrt1.c: Renamed from dllcrt0.c.
5225 * Makefile.in: Update above. Also renamed libmoldnames.a to
5228 1997-12-01 Mumit Khan <khan@xraylith.wisc.edu>
5230 * crtdll.def: Export all functions but the ones with funny names.
5231 * moldnames.def: Add fdopen since fileno is already there.
5232 * include/nonansi/dos.h: New file from Jan-Jaap.
5233 * include/errno.h: Add extern decl + various additions from JJ.
5234 * include/stdio.h: Likewise.
5235 * include/stdlib.h: Likewise.
5236 * include/nonansi/io.h: Likewise.
5237 * include/nonansi/process.h: Likewise.
5238 * include/sys/types.h: Likewise.
5240 1997-11-04 Mumit Khan <khan@xraylith.wisc.edu>
5242 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
5244 * include/stdlib.h (free): Fix prototype to return void, not void*.
5245 * include/nonansi/process.h: Add P_* and WAIT_* defs.
5247 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
5248 * mcrt0.c: Likewise.
5250 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
5251 (libmoldnames.a): Add explicit rule to create it.
5253 1997-08-15 Rob Savoye <rob@cygnus.com>
5255 New directory for the minimalist cygwin environment.
5257 * crtglob.c: New file. Turn on file globbing support.
5258 * crt_noglob.c: New file. Turn off file globbing support.
5259 * ctype_old.c: New file. Wrappers for functions that don't
5261 * dirent.c: New file. Directory routines readdir, opendir, closedir.
5262 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
5263 * dllmain.c: New file. A stub DllMain function.
5264 * hugeval.c: New file. A gross hack to define HUGE_VAL.
5265 * init.c: New file. Common code to initialize standard file
5266 handles and command line arguments.
5267 * main.c: New file. A main for programs that only call WinMain.
5268 * mcrt0.c: New file. Default crt0 for mingw32.
5269 * oldnames.c: New File. Wrappers for functions that don't
5271 * string_old.c: New File.
5272 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
5273 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
5274 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
5275 * include/sys/types.h: New header file for mingw.
5276 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
5277 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
5278 utime.h,values.h,varargs.h}: New header files for mingw.
5279 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
5280 timeb.h,unistd.h}: New header files for mingw.
5281 * Makefile.in,configure.in: Build and configure support.
5282 * configure: Generated from autoconf 2.12 with Cygnus patches.