1 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
3 * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
6 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
8 * cpu_features.c: replace gcc-specific construct with portable alternative
9 and match the code a few lines above.
10 * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
12 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
14 * include/_mingw.h: Changes required for PCC compiler.
16 2009-07-18 Jeff Lu <jll544@yahoo.com>
18 * mingwex/usleep.c: round up to next ms
20 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
22 * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
23 mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
24 mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
25 the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
27 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
29 * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
31 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>
33 * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files.
34 * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c
35 mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c
36 mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h
37 mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h
38 mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c
39 mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c
40 mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c
41 mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c
42 mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org
43 sources as of Apr. 20, 2009. Update further to match the sources in
44 the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX
45 code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the
46 double/ulong union from U to dbl_union for better grepping and white-
49 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
51 * include/stdlib.h (_wtof): Define.
53 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
55 * include/stdint.h (int_fast8_t): Specify as signed char.
56 (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
57 (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
59 2009-03-05 Kai Tietz <kai.tietz@onevision.com>
61 * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.
63 2009-02-08 Keith Marshall <keithmarshall@users.sourceforge.net>
65 MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
66 (Requested by Robert Riebisch)
68 * mingwex/getopt.c (getopt_parse): Track external increments of...
69 (optind): ...this global variable.
71 2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
73 * include/_mingw.h: Increment version to 3.15.2.
75 2009-01-04 Keith Marshall <keithmarshall@users.sourceforge.net>
77 Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
78 Also add tentative support for BSD specific `optreset' feature.
80 * include/getopt.h (optreset) [_BSD_SOURCE]: Define; map it to...
81 (__mingw_optreset): ...this new global variable.
83 * mingwex/getopt.c (__mingw_optreset): Instantiate it...
84 (getopt_parse) [optind < 1]: ...make it true; use it to reset argument
87 2008-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
89 Partial fix for MinGW-Bug [2457778]: (Reported by Sisyphus).
90 Correct mishandling of invalid characters in printf() format specs.
92 * mingwex/stdio/pformat.c (__pformat): Save `fmt' scan position in...
93 (backtrack): ...this new automatic variable, at start of each format
94 conversion specification substring; use it to backtrack, and print the
95 substring literally, if any invalid character is encountered.
97 2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
99 * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
100 ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
101 ___unguarded_readlc_active_add_func, __crtCompareStringW,
102 __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
103 __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
104 __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
105 __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
106 __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
107 _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
108 _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
109 _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
110 _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
111 _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
112 _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
114 2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com>
116 * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
118 2008-10-28 Keith Marshall <keithmarshall@users.sourceforge.net>
120 Correct some binary distribution packaging defects.
122 * Makefile.in (bindist): Remove `make' conditionals; segregate into...
123 (bindist-common, bindist-mingwrt, bindist-mingw-runtime): ...these new
124 intermediate goals; they make packages of files, as specified by...
125 (BINDIST_FILES, DEVDIST_FILES, DLLDIST_FILES): ...these new macros.
126 (dist_prefix) [target_alias !~ cygwin]: Leave it undefined.
128 2008-10-18 Keith Marshall <keithmarshall@users.sourceforge.net>
130 Fix MinGW-Bug [2136252]: (Reported by Roumen Petrov).
131 Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
133 * mingwex/stdio/pformat.c (__pformat_emit_float): Always make output
134 of radix point conditional on precision != 0 or `#' flag specified.
136 2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
138 Fix MinGW-Bug [2160227]
139 Eliminate conflicting declarations and implementations of scalb().
141 * moldname.def.in (scalb): Comment out of EXPORTS list.
142 * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
143 with GCC's built-in declaration.
145 2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
147 * Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
149 * mingwex/Makefile.in: Ditto.
150 * profile/Makefile.in: Ditto.
151 * configure.in: Record mingw front-end for building under Cygwin.
152 * mingwex/configure.in: Ditto.
153 * profile/configure.in: Ditto.
154 * configure: Regenerate.
155 * mingwex/configure: Ditto.
156 * profile/configure: Ditto.
158 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
160 Use de-facto standard Makefile goals to invoke test suite.
162 * Makefile.in: Some minor formatting adjustments.
163 (test_headers): Unconventionally named goal renamed to...
164 (check-headers): ...this; make it a prerequisite of...
165 (check): ...this new conventionally named goal.
167 2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
169 Make strtod() inline definition C89 compliant.
170 (Issue reported by Ilya Shestopalov and Ian Puleston)
171 (Correction identified by Danny Smith)
173 * include/stdlib.h (strtod): Declare as `__inline__', not `inline';
174 reformat inline function definition.
176 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
178 * include/_mingw.h: Increment version to 3.15.1 and introduce
179 __MINGW32_PATCHLEVEL variable.
181 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
183 Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
184 (Reported by Christian Franke)
186 * mingwex/getopt.c (optind): Make global variable value conform to
187 behaviour specified by POSIX; do not use it for internal state in...
188 (getopt_parse): ...this static function; use...
189 (optbase): ...this new static local variable instead.
190 (getopt_resolved): Update `optind' as required.
192 2008-10-03 Keith Marshall <keithmarshall@users.sourceforge.net>
194 Improve package identification in configure script.
196 * configure.ac (AC_INIT): Redefine parameters...
197 (PACKAGE_NAME): Set to `MinGW Runtime'.
198 (PACKAGE_BUGREPORT): Set to `http://mingw.org/reporting_bugs'
199 (PACKAGE_TARNAME): Set to `mingwrt'.
200 (PACKAGE_VERSION): Set generically to `v3.x'; reassigned by...
201 (MINGW_AC_CONFIG_SRCDIR): ...this macro, which extracts...
202 (__MINGW32_VERSION): ...this, from file `include/_mingw.h'.
204 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): Do not redefine...
205 (PACKAGE_TARNAME): ...this.
207 * configure: Regenerated.
209 2008-09-25 Keith Marshall <keithmarshall@users.sourceforge.net>
211 Fix MinGW-Bug [2125708].
212 (Reported by Alexandr Zamaraev).
214 * include/stdlib.h (intptr_t) [!_INTPTR_T_DEFINED]: Unused typedef;
215 not wanted here; remove it; replace it by...
216 (uintptr_t) [!_UINTPTR_T_DEFINED]: ...this typedef; needed by...
217 (_invalid_parameter_handler): ...this function typedef.
219 2008-09-23 Chris Sutcliffe <ir0nh34d@users.sf.net>
221 * Makefile.in: Don't include host_os as part of snapshot filename.
223 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
225 Fix MinGW-Bug [2119504].
226 (Reported by Peiyuan Song).
228 * mingwex/getopt.c (getopt_resolved): Do not overwrite...
229 (*retindex): ...this already correctly assigned return variable...
230 (opt[index].val): ...with this; this should have been assigned to...
231 (*opt[index].flag) [opt[index].flag != NULL]: ...this instead.
233 2008-09-19 Keith Marshall <keithmarshall@users.sourceforge.net>
235 Fix MinGW-Bug [2117379].
236 (Reported by Peiyuan Song).
238 * include/stdio.h (__argv): Replace all references in function
239 prototype argument lists and inline function local variables, with ...
240 (__local_argv): ...this, to avoid potential conflict with ...
241 * include/stdlib (__argv): ...this #defined macro.
243 2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
245 * include/_mingw.h: Increment version to 3.15.
247 2008-09-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
249 * Makefile.in: Adjust to new naming standard for MinGW while maintaining old
250 naming standard for Cygwin.
252 2008-08-31 Keith Marshall <keithmarshall@users.sourceforge.net>
254 Reimplement getopt.c to add getopt_long_only() function.
256 (N.B. this reimplementation removes support for BSD/Mac-OS-X
257 `optreset' nonsense; user code should set `optind = 0' instead,
258 to reinitialise option scanning).
260 * mingwex/getopt.c: Delete all content; reimplement it.
261 * include/getopt.h: Likewise.
263 * include/unistd.h (__UNISTD_H_SOURCED__): New macro; define it.
264 (__UNISTD_GETOPT__): This macro is no longer required; remove it.
266 2008-08-30 Keith Marshall <keithmarshall@users.sourceforge.net>
268 Implement conditional replacement for printf() family functions.
270 * include/_mingw.h (__USE_MINGW_ANSI_STDIO): New macro; define it.
271 (__MINGW_ANSI_STDIO__): New manifest constant; define as bitmapped
272 flag for use in user specified __MINGW_FEATURES__ attribute.
273 (__MINGW_LC_MESSAGES__, __MINGW_LC_ENVVARS__): New manifest constants;
274 currently unused: reserved as components of...
275 (__MINGW_LC_EXTENSIONS__): ...this new manifest constant; earmarked as
276 a __MINGW_FEATURES__ enhancement to setlocale().
278 * include/stdio.h (__mingw_printf, __mingw_vprintf): Prototype them.
279 (__mingw_fprintf, __mingw_vfprintf): Likewise.
280 (__mingw_sprintf, __mingw_vsprintf): Likewise.
281 (__msvcrt_printf, __msvcrt_vprintf): Likewise.
282 (__msvcrt_fprintf, __msvcrt_vfprintf): Likewise.
283 (__msvcrt_sprintf, __msvcrt_vsprintf): Likewise.
284 (printf, vprintf) [!__USE_MINGW_ANSI_STDIO]: Prototype for default
285 usage; link to DLL import stub, importing from MSVCRT.
286 (fprintf, vfprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
287 (sprintf, vsprintf) [!__USE_MINGW_ANSI_STDIO]: Likewise.
288 (printf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_printf; use
289 locally defined static stub implementation.
290 (fprintf, sprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
291 __mingw_fprintf and __mingw_sprintf respectively.
292 (vprintf) [__USE_MINGW_ANSI_STDIO]: Redirect to __mingw_vprintf; use
293 static inline implementation for C++ and GNU C, or locally defined
294 static stub otherwise.
295 (vfprintf, vsprintf) [__USE_MINGW_ANSI_STDIO]: Likewise; redirect to
296 __mingw_vfprintf and __mingw_vsprintf respectively.
298 2008-08-27 Keith Marshall <keithmarshall@users.sourceforge.net>
300 Avoid access violations, passing NULL to printf( "...%s..." );
301 (inconsistencency with MSVCRT and glibc, reported by Colin Harrison).
303 * mingwex/stdio/pformat.c (__pformat_puts): Substitute "(null)"
304 for argument value, if caller passes a NULL pointer.
305 (__pformat_wcputs): Likewise, substitute L"(null)".
307 2008-08-14 Keith Marshall <keithmarshall@users.sourceforge.net>
309 Add missing dependencies for building libmingwex.a.
311 * mingwex/Makefile.in (printf.o, fprintf.o, sprintf.o): Make them...
312 (vprintf.o, vfprintf.o, vsprintf.o): ...and also these, depend on...
313 (pformat.h): ...this.
315 2008-08-11 Keith Marshall <keithmarshall@users.sourceforge.net>
317 Add replacements for remaining members of printf() family.
319 * mingwex/stdio/printf.c: New file.
320 * mingwex/stdio/fprintf.c: New file.
321 * mingwex/stdio/sprintf.c: New file.
322 * mingwex/stdio/vprintf.c: New file.
323 * mingwex/stdio/vfprintf.c: New file.
324 * mingwex/stdio/vsprintf.c: New file.
326 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
327 (STDIO_OBJS): Add their corresponding object files.
329 2008-07-29 Keith Marshall <keithmarshall@users.sourceforge.net>
331 Replace __mingw_snprintf() with new generic family implementation;
332 likewise, replace __mingw_vsnprintf().
334 * mingwex/stdio/pformat.c mingwex/stdio/pformat.h: New files.
335 * mingwex/stdio/snprintf.c mingwex/stdio/vsnprintf.c: New files.
336 * mingwex/Makefile.in (STDIO_DISTFILES): Add them.
337 (GDTOA_DISTFILES): Remove mingw_snprintf.c
338 (STDIO_OBJS): Add pformat.o, snprintf.o and vsnprintf.o
339 (GDTOA_OBJS): Remove mingw_snprintf.o
340 (PFORMAT_CFLAGS): New macro; define it, as required by...
341 (pformat.o): ...this new explicit build target.
342 (snprintf.o, vsnprintf.o): Declare prerequisites.
344 * mingwex/gdtoa/mingw_snprintf.c: Redundant file; delete it.
346 2008-07-28 Keith Marshall <keithmarshall@users.sourceforge.net>
348 Lay foundations for new printf() function family implementation.
350 * ofmt_stub.s: New file; implement forward compatibility stub for...
351 (_get_output_format): ...this MSVCR80.DLL and later function.
353 * Makefile.in (SRCDIST_FILES): Add ofmt_stub.s.
354 (NM, OBJCOPY): New macros; define them with AC_SUBSTed values.
355 (sym_prefix, NM_LOOKUP, MINGW_REPL_FUNCS): New macros; define them.
356 (lib%.a): Include ofmt_stub.o when import library does not already
357 advertise availability of the _get_output_format() function;
358 Add alias stubs for MINGW_REPL_FUNCS, such that...
359 (__msvcrt_printf): ...is an alias for Microsoft's printf().
360 (__msvcrt_fprintf): ...is an alias for Microsoft's fprintf().
361 (__msvcrt_sprintf): ...is an alias for Microsoft's sprintf().
362 (__msvcrt_vprintf): ...is an alias for Microsoft's vprintf().
363 (__msvcrt_vfprintf): ...is an alias for Microsoft's vfprintf().
364 (__msvcrt_vsprintf): ...is an alias for Microsoft's vsprintf().
365 (clean): Add msvcr*.def.
367 * configure.in (NM, OBJCOPY): Use AC_CHECK_TOOL to specify them.
368 * configure: Regenerated.
370 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
372 * include/ctype.h (_imp____mb_cur_max): Correct spelling.
373 (_imp____mb_cur_max_dll): Likewise.
375 2008-07-04 Danny Smith <dannysmith@users,sourceforge.net>
377 * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
378 * include/wchar.h (swprintf, vswprintf): Likewise.
380 2008-07-01 Keith Marshall <keithmarshall@users.sourceforge.net>
382 * msvcrt.def.in [__msvcr80__, __msvcr80d__, __msvcr90__, __msvcr90d__]
383 (_get_output_format, _set_output_format): Add references.
385 * include/stdio.h [__MSVCRT_VERSION__ >= 0x800]
386 (_get_output_format, _set_output_format): Declare prototypes.
387 (_TWO_DIGIT_EXPONENT): Define.
388 Some other minor formatting adjustments.
390 2008-06-14 Danny Smith <dannysmith@users.sourceforge.net>
393 * include/wchar.h (_wfdopen): Const-ify second arg.
394 * include/stdio.h (_wfdopen): Likewise.
395 Thanks to <tdragon at users dot sourceforge net>
397 2008-06-02 Keith Marshall <keithmarshall@users.sourceforge.net>
399 Avoid precision errors in round(), lround() and llround() functions.
401 * mingwex/math/round_generic.c: New file; it replaces...
402 * mingwex/math/round.c: ...this; delete it.
403 * mingwex/math/roundf.c: ...and this; ditto.
404 * mingwex/math/roundl.c: ...and this; ditto.
406 * mingwex/math/lround_generic.c: New file; it replaces...
407 * mingwex/math/lround.c: ...this; delete it.
408 * mingwex/math/lroundf.c: ...and this; ditto.
409 * mingwex/math/lroundl.c: ...and this; ditto.
410 * mingwex/math/llround.c: ...and this; ditto.
411 * mingwex/math/llroundf.c: ...and this; ditto.
412 * mingwex/math/llroundl.c: ...and this; ditto.
414 * mingwex/math/round_internal.h: New file; it provides generic common
415 code, which is shared by `round_generic.c' and `lround_generic.c'; the
416 implementation is based on techniques suggested by Danny Smith and
419 * mingwex/Makefile.in (MATH_DISTFILES): Remove `round.c', `roundf.c',
420 `roundl.c', `lround.c', `lroundf.c', `lroundl.c', `llround.c',
421 `llroundf.c' and `llroundl.c'; replace by `round_internal.h',
422 `round_generic.c' and `lround_generic.c'.
423 (MATH_OBJS): Factor out files listed in...
424 (MATH_ROUND_OBJS, MATH_LROUND_OBJS, MATH_LLROUND_OBJS): ...these new
425 macros; define them; specify dependencies and build rules; add to...
426 (LIB_OBJS): ...this list.
428 2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
430 [ mingw-Bugs-1961893 ]
431 * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
432 mode to 2 for E format.
434 2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
436 * include/stdlib.h: Fix strtod under C++.
438 2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
440 * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
441 * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
443 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
445 * include/sys/types.h (useconds_t): typedef.
446 * include/unistd.h (usleep): Add prototype.
447 * mingwex/usleep.c: New file.
448 * mingwex/makefile.in: Add usleep source and object.
450 2008-05-02 Ramiro Polla <ramiro@lisha.ufsc.br>
452 Make strtod() conform to C99.
454 * include/stdlib.h (strtod): Declare this mingwex function, and...
455 (_strtod): rename this MSVCRT counterpart.
457 * mingwex/gdtoa/strtodnrp.c (strtod): Alias to __strtod.
459 2008-04-26 Chuck Wilson <cwilso11@users.sourceforge.net>
461 * Makefile.in: correct issues with mingw10.dll having multiple relocs.
463 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
465 * include/process.h: Include stdint.h for intptr_t definition.
466 (_execl, _execle, _execlp, _execlpe, _execv, _execve, _execvp, _execvpe,
467 _spawnl, _spawnle, _spawnlp, _spawnlpe, _spawnv, _spawnve, _spawnvp,
468 _spawnvpe): Return intptr_t.
469 (execl, execle, execlp, execlpe, execv, execve, execvp, execvpe, spawnl,
470 spawnle, spawnlp, spawnlpe, spawnv, spawnve, spawnvp, spawnvpe): Return
472 * include/wchar.h: Guard wide process.h functions with !__STRICT_ANSI__.
474 [!_WPROCESS_DEFINED]: Include stdint.h for intptr_t definition.
475 (_wexecl, _wexecle, _wexeclp, _wexeclpe, _wexecv, _wexecve, _wexecvp,
476 _wexecvpe, _wspawnl, _wspawnle, _wspawnlp, _wspawnlpe, _wspawnv, _wspawnve,
477 _wspawnvp, _wspawnvpe): Return intptr_t.
479 2008-04-25 Danny Smith <dannysmith@users.sourceforge.net>
481 * include/wchar.h (fwide): Return success code rather than failure in inline
483 * mingwex/fwide.c (fwide): ANSI-fy. Get rid of Q8 comments. Return success
484 code rather than failure.
486 2008-03-21 Danny Smith
488 * include/math.h (float_t, double_t): Define.
490 2008-02-08 Danny Smith <dannysmith@users.sourceforge.net>
492 * mingwex/gdtoa/gdtoaimp.h (USE_LOCALE): Define.
493 * mingwex/gdtoa/mingw_snprintf.c: [USE_LOCALE] Include locale.h.
494 (x_sprintf): [USE_LOCALE] Use *localeconv()->decimal_point.
496 2008-02-28 Joseph Myers <joseph@codesourcery.com>
498 * include/complex.h: Don't condition contents on C99 or not
501 2008-02-01 Brian Dessent <brian@dessent.net>
503 * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
504 the different runtime versions.
506 2008-01-19 Danny Smith <dannysmithusers.sourceforge.net
508 * inclue/wchar.h (fwide): Add prototype and guard inline definition.
511 2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
513 * include/_mingw.h: Increment version to 3.14.
515 2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
517 * Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
518 * msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
519 * mingwex/math/log10f.S: Correct issue with comments.
520 * mingwex/math/log10l.S: Ditto.
521 * mingwex/math/log1p.S: Ditto.
522 * mingwex/math/log1pf.S: Ditto.
523 * mingwex/math/log1pl.S: Ditto.
524 * mingwex/math/log2.S: Ditto.
525 * mingwex/math/log2f.S: Ditto.
526 * mingwex/math/log2l.S: Ditto.
527 * mingwex/math/logf.S: Ditto.
528 * mingwex/math/logl.S: Ditto.
530 2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
532 * mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
534 2007-10-03 Bernd Becker <hugin@users.sourceforge.net>
536 * include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size'
537 from '_fsize_t' to '__int64' to be consistent with the other ...64
538 structures and the value set there is 8 bytes not 4. Add guard for both
539 as the are only used by functions available from 6.1 on.
541 * include/malloc.h (_HEAP_MAXREQ): Define.
542 (_aligned_offset_recalloc): Define.
543 (_aligned_recalloc()): Define.
545 * include/math.h: fixed a typo in a comment.
546 (atanhf): Fixed declaration.
548 * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t'
549 to '__int64' to be consistent with the other ...64 structures and the value
550 set there is 8 bytes not 4. Added guard as this function is only used by
551 functions available from 6.1 on.
553 * include/sys/stat.h: some members of 'stat' were declared with types with
554 a prefixed underscore, while the ones without the underscore should have
555 been used. Added guard to '__stat64' as it is only used by functions
556 available from 6.1 on. Added the wide character versions of the
557 exec()/spawn() family for completion
558 (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to
561 * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member
562 from 'long' to 'time_t'
563 (__timeb64): moved declaration of structure directly before the declaration
564 of the function '_ftime64()', so it is guarded as well
566 * include/sys/utime.h (__utimbuf64): moved declaration of structure directly
567 before the declaration of the functions using it, so it is guarded as well
569 2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
571 * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
572 case. Add missing break in 's'/LEN_S case.
574 2007-08-25 Keith Marshall <keithmarshall@users.sourceforge.net>
576 Make snprintf() and vsnprintf() conform to C99.
578 * include/stdio.h: Add note about incompatibility between...
579 (snprintf, vsnprintf): These two mingwex functions, and...
580 (_snprintf, _vsnprintf): these MSVCRT counterparts.
582 * mingwex/Makefile.in (STDIO_OBJS): Remove snprintf.o and vsnprintf.o
583 (STDIO_DISTFILES): Remove snprintf.c and vsnprintf.c
585 * mingwex/stdio/snprintf.c: Delete.
586 * mingwex/stdio/vsnprintf.c: Delete.
588 * mingwex/gdtoa/mingw_snprintf.c (snprintf): Alias to __mingw_snprintf
589 (vsnprintf): Alias to __mingw_vsnprintf.
591 2007-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
593 * include/_mingw.h: Increment version to 3.13.
594 * Makefile.in: Reset CYGRELEASE to 1
596 2007-07-23 Keith Marshall <keithmarshall@users.sourceforge.net>
598 * Makefile.in (SUBDIRS): Delete stray line continuation artifact,
599 resulting from incomplete removal of enclosing `for ...; do ...; done'
600 loop from compound command; (reported by Greg Chicares).
602 2007-07-19 Danny Smith <dannysmith@users.sourceforge.net>
604 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
607 2007-07-12 Danny Smith <dannysmith@users.sourceforge.net>
610 * include/wchar.h (_wsystem) Declare.
613 (_wsearchenv): Declare.
614 (_wmakepath): Declare.
615 (_wsplitpath): Declare.
616 (_wfullpath): Declare.
617 * include/stdlib.h (_wsystem) Declare.
618 (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath,
619 _wfullpath): Move into _WSTDLIB_DEFINED guard.
620 * include/tchar.h (_tsystem): New UNICODE mapping define.
622 2007-06-29 Danny Smith <dannysmith@users.sourceforge.net>
624 * mingwex/gdtoa/mingw_snprintf.c: New file.
625 * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
626 (GDTOA_OBJS): Add mingw_snprintf.o.
628 2007-06-28 Danny Smith <dannysmith@users.sourceforge.net>
630 * msvcrt.def.in: Update comment.
631 Exclude _ctype stub if using msvcr71.dll or newer.
632 * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer.
633 * include/wctype.h: Likewise.
635 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
637 *include/wctype.h: Qualify all functions with __MINGW_NOTHROW.
638 *include/dirent.h: Likewise.
640 2007-06-23 Danny Smith <dannysmith@users.sourceforge.net>
642 * include/assert.h: Qualify all functions with __MINGW_NOTHROW.
643 * include/conio.h: Likewise.
644 * include/ctype.h: Likewise.
645 * include/direct.h: Likewise.
646 * include/dos.h: Likewise.
647 * include/errno.h: Likewise.
648 * include/fenv.h: Likewise.
649 * include/float.h: Likewise.
650 * include/inttypes.h: Likewise.
651 * include/io.h: Likewise.
652 * include/libgen.h: Likewise.
653 * include/locale.h: Likewise.
654 * include/malloc.h: Likewise.
655 * include/mbctype.h: Likewise.
656 * include/mbstring.h: Likewise.
657 * include/process.h: Likewise.
658 * include/search.h: Likewise.
659 * include/setjmp.h: Likewise.
660 * include/signal.h: Likewise.
661 * include/stdio.h: Likewise.
662 * include/stdlib.h: Likewise.
663 * include/string.h: Likewise.
664 * include/time.h: Likewise.
665 * include/wchar.h: Likewise.
666 * include/sys/stat.h: Likewise.
667 * include/sys/time.h: Likewise.
668 * include/sys/timeb.h: Likewise.
669 * include/sys/utime.h: Likewise.
671 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
673 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
675 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
677 Add POSIX binary tree search API.
679 * mingwex/tfind.c: New file.
680 * mingwex/tdelete.c: New file.
681 * mingwex/tsearch.c: New file.
682 * mingwex/twalk.c: New file.
683 * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
684 * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
685 * include/search.h (tfind): Declare.
692 (node_t): Define, on condition of _SEARCH_PRIVATE.
694 2007-06-22 Danny Smith <dannysmith@users.sourceforge.net>
696 * include/_mingw.h (__MINGW_NOTHROW): Define.
698 2007-06-18 Danny Smith <dannysmith@users.sourceforge.net>
700 * include/stdio.h (vsnprintf): Remove inline definition.
703 2007-06-16 Danny Smith <dannysmith@users.sourceforge.net>
705 * CRTfmode.c: Nit-pick comment fix.
707 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
709 * CRTfmode.c: Fix nested comment.
711 2007-06-16 Christopher Faylor <me+cygwin@cgf.cx>
713 * include/string.h (strcasecmp): Fix typo in declaration prototype.
715 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
717 * include/io.h (lseek64) : Add prototype.
719 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
721 * include/string.h (strcasecmp): Add prototype.
722 (strncasecmp): Add prototype.
724 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
726 * Makefile.in (CRT0S): Revert last change.
727 * CRTfmode.c. Correct comment.
729 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
731 * Makefile.in (CRT0S): Add back CRTfmode.o.
733 2007-06-13 Danny Smith <dannysmith@users.sourceforge.net>
735 * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.
736 * include/io.h: Likewise.
738 2007-06-11 Danny Smith <dannysmith@users.sourceforge.net>
740 * crt1.c (__mingw_CRTStartup): Add explicit call to gcc's __main.
742 2007-05-08 Danny Smith <dannysmith@users.sourceforge.net>
744 * include/stdint.h (intptr_t): Fix typo.
745 Thanks to Charles Wilson for report.
747 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net>
749 * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED.
751 (uintptr_t): Protect with _UINTPTR_T_DEFINED. Condition on _WIN64.
752 (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Condition on _WIN64.
753 (PTRDIFF_MIN): Define as INTPTR_MIN.
754 (PTRDIFF_MAX): Define as INTPTR_MAX.
755 (SIG_ATOMIC_MIN): Define as INTPTR_MIN.
756 (SIG_ATOMIC_MAX): Define as INTPTR_MAX.
758 2007-04-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
760 * Makefile.in: Removed mansuffix variable. Changed mansection to support
761 Cygwin man page location.
763 2007-04-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
765 * Makefile.in: Added mansection and mansuffix variables. Changed mandir to
766 support Cygwin man page location.
768 2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
770 * Include/_mingw.h: Increment version to 3.12.
772 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
774 * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
776 2007-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
778 * Makefile.in: Tweak srcdist to fix build issue.
780 2007-03-20 Keith Marshall <keithmarshall@users.sourceforge.net>
782 Add --enable-mingw-manpage-transform configure option.
784 * aclocal.m4 (MINGW_AC_MANPAGE_TRANSFORM): New macro.
785 * configure.in, Makefile.in: Use it.
786 * configure: Regenerated.
788 2007-03-18 Danny Smith <dannysmith@users.sourceforge.net>
790 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
792 2007-03-10 Keith Marshall <keithmarshall@users.sourceforge.net>
794 Add manpages for dirname and basename functions.
796 * man: New directory.
797 * man/dirname.man: New file; it sources both manpages.
798 * Makefile.in: Add provisional rules to distribute them.
800 2007-03-08 Keith Marshall <keithmarshall@users.sourceforge.net>
802 * mingwex/basename.c: Make it work with path names containing
803 multibyte character strings.
804 * mingwex/dirname.c: Likewise.
806 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
808 * include/io.h (__mingw_access): New static inline wrapper to restore
809 pre-Vista 'access (fname, X_OK)' behaviour.
810 (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
812 2007-03-05 Danny Smith <dannysmith@users.sourceforge.net>
814 * mingwex/fesetround.c (fesetround): Use unsigned int as operand
816 Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
818 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
820 * include/stdio.h (_unlink, unlink): Add prototypes.
822 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
824 * include/excpt.h: Replace "_try1" in comments with "__try1".
826 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
828 * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
829 (ALL_CXXFLAGS): Likewise.
830 * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
831 (ALL_CXXFLAGS): Likewise.
832 * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
833 (ALL_CXXFLAGS): Likewise.
835 2007-02-08 Danny Smith <dannysmith@users.sourceforge.net>
837 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
839 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net>
841 Expose some more msvcr80.dll functions.
842 * include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
843 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
844 * msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
845 _ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.
847 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
849 Expose some msvcr80.dll functions.
850 * include/stdlib.h (_set_abort_behavior): Add prototype.
851 (_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
852 _set_abort_behavior mask argument.
853 (_invalid_parameter_handler): Add typedef.
854 (_set_invalid_parameter_handler): Add prototype.
855 * include/stdio.h (_get_printf_count_output): Add prototype.
856 (_set_printf_count_output): Add prototype.
857 * msvcrt.def.in (_get_printf_count_output,_set_printf_count_output,
858 _set_abort_behavior, _set_invalid_parameter_handler): Add stubs.
860 2007-01-26 Danny Smith <dannysmith@users.sourceforge.net>
862 * include/_mingw.h (CRT_INLINE): Correct typo.
864 2007-01-24 Danny Smith <dannysmith@users.sourceforge.net>
866 * include/io.h (X_OK): Define to F_OK.
868 2007-01-19 Danny Smith <dannysmith@users.sourceforge.net>
870 * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
871 unconditionally. Change comment.
872 * include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
874 * include/io.h (rename): Declare.
877 2006-12-31 Keith Marshall <keithmarshall@users.sourceforge.net>
879 * include/libgen.h: New file; required by...
880 * mingwex/basename.c, mingwex/dirname.c: New files.
881 * mingwex/Makefile.in (DISTFILES): Add them...
882 (POSIX_OBJS): ...with corresponding basename.o, dirname.o
883 (Dependencies): Typo; s/Dependancies/Dependencies/
885 2006-11-25 Keith Marshall <keithmarshall@users.sourceforge.net>
887 * Makefile.in (VERSION): Let configure define it.
889 * aclocal.m4 (MINGW_AC_CONFIG_SRCDIR): New macro.
890 * configure.in: Use it.
891 Correct quoting of autoconf macro arguments throughout.
892 (AC_INIT, AC_OUTPUT): Update to autoconf 2.5x preferred syntax.
893 (AR, AS, RANLIB, LD, DLLTOOL, DLLWRAP): Don't need AC_SUBST.
894 (AC_ALLOCA): Invalid after GCC_NO_EXECUTABLES; removed.
895 (AC_CONFIG_FILES): Add, to generate Makefile.
897 * configure: Regenerated.
899 2006-11-21 Danny Smith <dannysmith@users.sourceforge.net>
901 * Makefile.in: Add aclocal.m4 to source release.
902 * mingwex/Makefile.in: Ditto.
903 * profile/Makefile.in: Ditto.
905 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
907 * Include/_mingw.h: Increment version to 3.11.
908 * Makefile.in: Ditto.
910 2006-11-09 Danny Smith <dannysmith@users.sourceforge.net>
912 [ mingw-Bugs-1590623 ]
913 * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
916 2006-10-04 Corinna Vinschen <corinna@vinschen.de>
918 * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
919 correctly parenthesized.
921 2006-09-19 Danny Smith <dannysmith@users.sourceforge.net>
923 * mingwex/mb_wc_common.h (get_codepage): Get it
926 2006-09-18 Danny Smith <dannysmith@users.sourceforge.net>
928 * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity.
930 * mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to
932 * mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with
935 2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
937 * mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
940 2006-09-11 Christopher Faylor <cgf@timesys.com>
942 * Makefile.in: Semi-revert 2006-08-30 change.
944 2006-09-10 Danny Smith <dannysmith@users.sourceforge.net>
946 * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
947 (__MINGW_IMPORT): Ansify.
948 * include/stdlib.h (_sleep, _beep, _seterrormode): Add
949 __MINGW_ATTRIB_DEPRECATED.
951 2006-09-10 Keith Marshall <keithmarshall@users.sourceforge.net>
953 * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
954 Redundant macros; deleted.
956 * configure.in (LIB_AC_PROG_CC): Replaced by...
957 (AC_PROG_CC): ...this.
959 * configure: Regenerated.
961 2006-09-06 Danny Smith <dannysmith@users.sourceforge.net>
963 * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
964 * mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
965 * mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
967 2006-09-01 Danny Smith <dannysmith@users.sourceforge.net>
969 * mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
970 g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
971 gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
972 README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
974 * mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
975 * mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
976 * mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
977 * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
978 * mingwex/wcstold.c: Avoid using strtold internals.
979 * mingwex/wcstof.c: Rewrite.
980 * mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
981 (GDTOA_OBJS): Add to library.
982 (DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
983 (STDLIB_OBJS): Remove.
984 (STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
985 (Q8_OBJS): Add wcstof.o wcstold.o.
986 * include/stdlib.h (strtof): Remove inline definition.
988 * include/wchar.h (wcstof): Remove inline definition.
990 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
992 * Makefile.in: Add with_cross_host to allow more granular checks.
993 Set installation directories accordingly. Override CC setting only
994 if building a Cygwin target.
995 * aclocal.m4: Regenerate.
996 * configure.in: Move AC_CANONICAL_SYSTEM check up. Add
997 GCC_NO_EXECUTABLES. Substitute with_cross_host in depending files.
998 Test AC_ALLOCA only if building on a native system.
999 * configure: Regenerate.
1001 2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1003 * include/ctype.h: Fix typo.
1005 2006-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1007 * include/ctype.h: Expose iswblank if __cplusplus.
1008 * include/wctype.h: Expose iswblank if __cplusplus.
1010 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1012 * include/ctype.h: Remove stray ')';
1014 2006-08-03 Danny Smith <dannysmith@users.sourceforge.net>
1016 * include/ctype.h (_BLANK): Expand comment.
1017 (isblank): Add prototype and inline definition.
1018 (iswblank): Add prototype and inline definition.
1019 * include/wctype.h (iswblank): Add prototype and inline definition.
1020 * mingwex/isblank.c: New file.
1021 * mingwex/iswblank.c: New file.
1022 * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
1024 2006-07-06 Danny Smith <dannysmith@users.sourceforge.net>
1026 * include/math.h (__INFF,__INFL): Remove '#'.
1028 2006-07-04 Danny Smith <dannysmith@users.sourceforge.net>
1030 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
1032 2006-07-03 Danny Smith <dannysmith@users.sourceforge.net>
1034 Support SSE float environment in fenv.h functions.
1035 * cpu_features.c: New file.
1036 * cpu_features.h: New file.
1037 * crt1.c: Include "cpu_features.h".
1038 (__mingw_CRTStartup): Call cpu_features_init().
1039 * Makefile.in (MING_OBJS): Add cpu_features.c.
1040 (SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
1041 * include/fenv,h ( fenv_t;): Append __mxcsr field.
1042 (__MXCSR_EXCEPT_FLAG_SHIFT): New define.
1043 (__MXCSR_EXCEPT_MASK_SHIFT): New define.
1044 (__MXCSR_ROUND_FLAG_SHIFT): New define.
1045 * mingwex/feclearexcept.c: Include "cpu_features.h".
1046 Handle SSE environment.
1047 * mingwex/fegetenv.c: Likewise.
1048 * mingwex/feholdexcept.c: Likewise.
1049 * mingwex/fesetenv.c: Likewise.
1050 * mingwex/fesetexceptflag.c: Likewise.
1051 * mingwex/fesetround.c: Likewise.
1052 * mingwex/fetestexcept.c: Likewise.
1053 * mingwex/feupdateenv.c: Likewise.
1054 * mingwex/fegetround.c: Add comment.
1056 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1058 * Include/_mingw.h: Increment version to 3.10.
1059 * Makefile.in: Ditto.
1061 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1063 * mingwex/math/tgamma.c (SQTPI): Add braces.
1065 2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
1067 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
1068 * mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
1070 * mingwex/math/sf_erf.c (erff): Initialize z.
1072 * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
1074 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1076 * Include/_mingw.h: Increment version to 3.10.
1077 * Makefile.in: Ditto.
1079 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1081 * include/sys/time.h (struct timezone): Define.
1082 * include/time.h: Correct comment about timezone.
1084 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1086 * configure.in (AC_CONFIG_AUX_DIR): Remove.
1087 * configure: Regenerate.
1089 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
1091 * configure: add srcdir as a possible location for install-sh.
1093 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1095 * mingwex/dirent.c (_tGetFileAttributes): New helper function.
1096 (_topendir): Use it.
1098 2006-06-18 Danny Smith <dannysmith@users.sourceforge.net>
1100 * include/sys/time.h: Add header guard. Add extern "C" bracketing
1102 (gettimeofday): Add prototype.
1103 * mingwex/gettimeofday.c: New file.
1104 * mingwex/makefile.in: Add gettimeofday source and object.
1106 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1108 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
1109 else global library variable.
1110 (HUGEVALF): Likewise.
1111 (HUGEVALL): Likewise.
1112 (INFINITY): Likewise.
1115 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1117 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
1119 2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
1121 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
1123 2006-05-24 Christopher Faylor <cgf@timesys.com>
1125 * configure.in: Update to newer autoconf.
1126 (thanks to Steve Ellcey)
1127 * mingwex/configure.in: Ditto.
1128 * profile/configure.in: Ditto.
1129 * configure: Regenerate.
1130 * mingwex/configure: Ditto.
1131 * profile/configure: Ditto.
1132 * aclocal.m4: New file.
1133 * mingwex/aclocal.m4: Ditto.
1134 * profile/aclocal.m4: Ditto.
1136 2006-05-17 Danny Smith <dannysmith@users.sourceforge.net>
1138 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
1139 Use supplied codepage as arg to WideCharToMultiByte.
1141 2006-02-13 Earnie Boyd <earnie@users.sf.net>
1143 * Makefile.in (libmsvcr80.a): Add import lib.
1144 (libmsvcr80d.a): Ditto.
1146 2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1148 * Makefile.in: Bump cygwin build number.
1150 2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1152 * Include/_mingw.h: Increment version to 3.9.
1153 * Makefile.in: Ditto.
1155 2005-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1157 * include/limits.h (SSIZE_MAX): Define.
1158 (LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.
1160 2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
1162 * include/tchar.h: Include <wchar.h> when _UNICODE is defined.
1163 (_TEOF): New macro definition for _UNICODE and non_UNICODE cases.
1165 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1167 * include/stddef.h: Remove.
1168 * include/stdarg.h: Remove.
1170 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1172 * mingwex/complex/csqrt.c (csqrt): The sign of real part
1173 of result is positive when real part of arg == 0;
1174 * mingwex/complex/csqrtf.c (csqrtf): Ditto.
1175 * mingwex/complex/csqrtl.c (csqrtl): Ditto.
1177 2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
1179 * include/time.h (_time64): Correct prototype.
1181 2005-10-08 Danny Smith <dannysmith@users.sourceforge.net>
1183 * mingwex/fegetenv.c (fegetenv): Restore exception masks.
1184 * mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
1185 to non-stop. Use "fnclex" to clear exception flags.
1187 2005-09-24 Danny Smith <dannysmith@users.sourceforge.net>
1189 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
1190 Avoid raising FP exceptions.
1192 2005-09-19 Danny Smith <dannysmith@users.sourceforge.net>
1194 * include/stdlib.h (strtof): Add prototype. Uglify
1195 parameter names in inline definition.
1197 (_Exit): Uglify parameter names in inline definition.
1198 (llabs): Add prototype.
1199 (_set_error_mode): Add prototype and input defines.
1201 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1203 * mingwex/fe*.c: Revert previous changes.
1204 * include/fenv.h: Revert previous changes.
1206 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1208 * mingwex/feclearexcept.c (feclearexcept): Change declaration.
1209 Do not return a value.
1210 * mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
1211 * mingwex/feraiseexcept.c (feraiseexcept): Likewise.
1212 * mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
1213 * mingwex/fegetenv.c (fegetenv): Likewise.
1214 * mingwex/fesetenv.c (fesetenv): Likewise.
1215 * mingwex/feupdateenv.c (feupdateenv): Likewise.
1216 * include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
1217 fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
1220 2005-08-25 Danny Smith <dannysmith@users.sourceforge.net>
1222 * mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
1223 getting filelength for SEEK_END.
1225 2005-08-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
1227 * Include/_mingw.h: Increment version to 3.8.
1228 * Makefile.in: Ditto.
1230 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1232 * include/wctype.h (towupper, towlower): Change arg and return value
1234 * include/ctype.h (towupper, towlower): Likewise.
1236 2005-08-10 Danny Smith <dannysmith@users.sourceforge.net>
1238 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
1239 a diagnostic, guarded by #ifdef DEBUG.
1240 (__mingwthr_remove_key_dtor): Likewise.
1242 2005-08-08 Danny Smith <dannysmith@users.sourceforge.net>
1244 * moldname.def.in (sleep, beep, seterrormode): Remove.
1246 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1248 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
1249 (_MCOUNT_DECL): Use it.
1250 (MCOUNT): Save and restore eax, ecx, edx registers.
1251 * profile/mcount.c (_mcount): ANSI-fy.
1253 2005-06-16 Danny Smith <dannysmith@users.sourceforge.net>
1255 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
1256 guard __MINGW_ATTRIB macro definitions.
1257 * include/math.h (logb[fl]): Don't define inlines for
1258 GCC-4.0+ && __FAST_MATH__.
1259 (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
1260 line-continuation backslashes.
1262 2005-06-06 Danny Smith <dannysmith@users.sourceforge.net>
1264 * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
1265 in GNUC version guard.
1267 2005-05-20 Danny Smith <dannysmith@users.sourceforge.net>
1269 * crt1.c (_gnu_exception_handler): Handle illegal instruction
1270 OS exception as a signal if user has defined a SIGILL handler.
1272 2005-05-10 Danny Smith <dannysmith@users.sourceforge.net>
1274 * mingwex/math/nexttoward.c: New file.
1275 * mingwex/math/nexttowardf.c: New file.
1276 * mingwex/math/nextafterl.c: Add nexttowardl alias.
1277 * mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
1279 (MATH_OBJS): Add nexttoward.o, nexttowardf.o,
1280 * include/math.h (nexttoward, nextowardf, nexttowardl): Add
1283 2005-05-09 Danny Smith <dannysmith@users.sourceforge.net>
1285 * mingwex/math/nextafterf.c (nextafterf): Correct
1287 * mingwex/math/nextafterl.c: New file.
1288 * mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
1289 (MATH_OBJS): Add nextafterl.o.
1290 * include/math.h (nextafterl): Uncomment prototype.
1292 2005-05-08 Danny Smith <dannysmith@users.sourceforge.net>
1294 * mingwex/math/erfl.c: New file.
1295 * mingwex/Makefile.in (MATH_DISTFILES): Add erfl.c.
1296 (MATH_OBJS): Add erfl.o.
1297 * include/math.h (erfl, erfcl): Uncomment prototypes.
1299 2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
1301 * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
1302 #if (WCHAR_MAX <= WCHAR_MIN) is false.
1303 * include/stdint.h (WCHAR_MAX): Likwise.
1304 (WINT_MAX): Likewise.
1306 2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
1308 * mingwex/math/signbit.c (__signbit): Make return value
1309 consistent with GCC's __builtin_signbit.
1310 * mingwex/math/signbitf.c (__signbitf): Likewise.
1311 * mingwex/math/signbitf.c (__signbitl): Likewise.
1312 * include/math.h (__signbit, __signbitf, __signbitl): Likewise
1315 2005-05-02 Danny Smith <dannysmith@users.sourceforge.net>
1317 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
1319 * mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
1320 Remove unused MBTOWC_FLAGS define.
1322 2005-04-23 Danny Smith <dannysmith@users.sourceforge.net>
1324 * mingwex/mbrtowc.c: New file.
1325 * mingwex/wcrtomb.c: New file.
1326 * mingwex/btowc.c: New file.
1327 * mingwex/wctob.c: New file.
1328 * mingwex/mb_wc_common.h: New file.
1329 * mingwex/Makefile.in (DISTFILES): Add new files.
1330 (Q8_OBJS): Add new objects.
1331 * include/wchar.h: Adjust comment about mbrtowc() and related
1332 funcions. Add __restrict__ to pointer params in prototypes.
1333 (wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
1334 arg names from protototypes.
1336 2005-04-23 Wu Yongwei <adah@sh163.net>
1338 * mingwex/dirent.c: Formatting changes.
1339 * mingwex/dirent.c (_topendir): Make the end-of-path slash check
1342 2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
1344 * include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
1346 2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
1348 * include/stdio.h (__mingw_fwrite): Change return value to
1350 * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
1352 2005-03-15 Hans Leidekker <hans@it.vu.nl>
1354 * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
1356 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1358 * include/wctype.h (wctrans): Remove _CRTIMP.
1359 (towctrans): Likewise.
1362 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1364 * include/wctype.h: Add comment on wctrans, towctrans, wctype.
1366 2005-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1368 * mingwex/wctype.c: New file.
1369 * mingwex/wctrans.c: New file.
1370 * mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
1371 * mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
1373 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1375 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
1377 2005-02-11 Danny Smith <dannysmith@users.sourceforge.net>
1379 * include/assert.h: Remove header guard. #undef assert macro.
1380 (_assert): Use __MINGW_ATTRIB_NORETURN define.
1382 2005-02-11 Gregory W. Chicares <chicares@cox.net>
1383 Danny Smith <dannysmith@users.sourceforge.net>
1385 * include/math.h (expm1, expm1f, expmll): Add prototypes.
1386 * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
1388 (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
1389 * mingwex/math/expm1.c: New file.
1390 * mingwex/math/expm1f.c: New file.
1391 * mingwex/math/expm1l.c: New file.
1393 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
1395 * include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
1396 * include/wchar.h (struct stat): Likwwise.
1397 Bug reported to Debian by Anand Kumria <wildfire@progsoc.org>
1399 * include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
1401 2005-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1403 * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
1404 string is not valid.
1406 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
1408 * include/malloc.h: Add missing return code defines for
1411 2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
1413 * include/sys/stat.h (struct __stat64): Change st_size type to
1415 * include/wchar.h (struct __stat64): Change st_size type to __int64.
1417 2005-01-13 Earnie Boyd <earnie@users.sf.net>
1419 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1421 * include/errno.h (ELOOP): Ditto.
1422 * include/_mingw.h: Increment version to 3.7.
1423 * Makefile.in: Ditto.
1425 2005-01-11 Danny Smith <dannysmith@users.sourceforge.net>
1427 * include/tchar.h (_tfreopen): Add UNICODE mappings.
1429 2005-01-11 Earnie Boyd <earnie@users.sf.net>
1431 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
1432 lstat): Conditionalize defines for __STRICT_ANSI__.
1434 2005-01-10 Earnie Boyd <earnie@users.sf.net>
1436 * include/errno.h (ELOOP): Add definition.
1438 2005-01-10 Danny Smith <dannysmith@users.sourceforge.net>
1440 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
1441 casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
1442 clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
1443 ctanl.c ctanhl.c): New files.
1444 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1445 (COMPLEX_OBJS): Adjust.
1446 * include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
1447 casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
1448 cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
1451 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1453 * include/_mingw.h (__int16): Define as short.
1454 Thanks to: Leo Yuriev <leoyuriev at users dot sf dot net>
1456 2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
1458 * include/stdio.h (P_tmpdir): Add define.
1460 2005-01-03 Earnie Boyd <earnie@users.sf.net>
1462 * Makefile.in (inst_docdir): For Cygwin target set to share/doc/.
1464 2005-01-02 Earnie Boyd <earnie@users.sf.net>
1466 * include/_mingw.h: Increment version to 3.6
1467 * Makefile.in: Ditto
1469 2004-12-26 Danny Smith <dannysmith@users.sourceforge.net>
1471 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
1472 casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
1473 clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
1474 ctanf.c ctanhf.c): New files.
1475 * mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
1476 (COMPLEX_OBJS): Adjust.
1477 * include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
1478 casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
1479 cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
1482 2004-12-20 Danny Smith <dannysmith@users.sourceforge.net>
1484 * include/wchar.h (wcsdup): Correct prototype.
1485 * include/string.h (wcsdup): Correct prototype.
1487 2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
1489 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
1491 2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
1493 * mingwex/math/fastmath.h: New file.
1494 * mingwex/math/asinh.c: New file.
1495 * mingwex/math/asinhf.c: New file.
1496 * mingwex/math/asinhl.c: New file.
1497 * mingwex/math/acosh.c: New file.
1498 * mingwex/math/acoshf.c: New file.
1499 * mingwex/math/acoshl.c: New file.
1500 * mingwex/math/atanh.c: New file.
1501 * mingwex/math/atanhf.c: New file.
1502 * include/math.h (asinh, asinhf, asinhl, acosh, acoshf, acoshl,
1503 atanh, atanhf, atanhl): Add prototypes.
1504 * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
1505 (MATH_DISTFILES): Add sources for above and fastmath.h to list.
1506 Specify dependency on fastmath.h for new objects.
1508 2004-09-08 Earnie Boyd <earnie@users.sf.net>
1510 * include/sys/stat.h (_S_IFLNK): Add definition.
1517 2004-09-08 Earnie Boyd <earnie@users.sf.net>
1519 * include/sys/stat.h (_S_ISLNK): Add definition.
1522 2004-09-05 Earnie Boyd <earnie@users.sf.net>
1524 * include/_mingw.h: Increment minor version for 3.5 release.
1525 * Makefile.in: Ditto.
1526 * mingwex/Makefile.in: Correct typo in list of DISTFILES.
1528 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
1530 * include/malloc.h (__mingw_aligned_offset_malloc,
1531 __mingw_aligned_offset_realloc, __mingw_aligned_malloc,
1532 __mingw_aligned_realloc, __mingw_aligned_free): Add
1534 * mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
1535 tst-aligned-malloc.c.
1536 (REPLACE_OBJS): Add mingw-aligned-malloc.o.
1538 2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
1540 * mingwex/mingw-aligned-malloc.c: New file.
1541 * mingwex/tst-aligned-malloc.c: New file.
1543 2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
1545 * crt1.c: (__mingw_CRTStartup): Change return to void. Add
1546 noreturn attribute. Align stack to 16 bytes before passing args
1548 (mainCRTStartup): Change return to void.
1549 (WinMainCRTStartup): Likewise.
1551 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1553 * profile/COPYING: New file.
1554 * profile/CYGWIN_LICENSE: New file.
1555 * profile/Makefile.in (DISTFILES): Add COPYING, CYGWIN_LICENSE.
1557 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1559 * mingwex/fopen64.c: Move.
1560 * mingwex/fseeko64.c: Move.
1561 * mingwex/ftello64.c: Move.
1562 * mingwex/lseek64.c: Move.
1563 * mingwex/stdio/fopen64.c: To here.
1564 * mingwex/stdio/fseeko64.c: To here.
1565 * mingwex/stdio/ftello64.c: To here.
1566 * mingwex/stdio/lseek64.c: To here.
1568 2004-08-15 Danny Smith <dannysmith@users.sourceforge.net>
1570 * profile/gmon.c [__MINGW32__]: Include string.h for
1573 2004-08-08 Christopher Faylor <cgf@timesys.com>
1575 * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.
1577 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1579 * include/complex.h: Remove __attribute__ ((const)) from
1580 transcendantal and trig functions. Replace __attribute__ ((const))
1581 with __MINGW_ATTRIB_CONST on other declarations.
1583 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1585 * include/wchar.h: Reorganize, avoid including other headers.
1587 2004-08-07 Danny Smith <dannysmith@users.sourceforge.net>
1589 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
1590 (strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
1593 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
1595 * include/dirent.h (struct _wdirent): Remove obsolete comment.
1597 2004-07-30 Danny Smith <dannysmith@users.sourceforge.net>
1599 * include/string.h: Revert 2004-07-26 additions of
1602 2004-07-28 Danny Smith <dannysmith@users.sourceforge.net>
1604 * mingwex/math/powl.c (powl): Revert change of 2004-02-01.
1605 (__convert_inf_to_maxnum): New.static inline.
1606 (reducl): Use it to protect against Inf - Inf.
1607 (__fast_ldexpl): New function. Use in lieu of ldexpl.
1609 2004-07-27 Danny Smith <dannysmith@users.sourceforge.net>
1611 * mingwex/math/expl.c (expl): Move body of code to new static
1612 function __expl, removing tests for +/-Inf. Extern function
1613 expl calls __expl after testing for max, min log thresholds.
1615 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
1617 * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified field
1618 * mingwex/stdio/vfscanf.c: Likewise.
1619 * mingwex/stdio/vswscanf.c: Likewise.
1620 * mingwex/stdio/vfwscanf.c: Likewise.
1622 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net>
1624 * include/_mingw.h: Use only two underscores to uglify
1625 __MINGW_ATTRIB_* macros.
1626 * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
1627 * include/setjmp.h: Likewise.
1629 * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
1631 (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
1633 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
1635 * include/string.h: Group wide string functions together,
1636 and protect with _WSTRING_DEFINED.
1638 2004-07-25 Danny Smith <dannysmith@users.sourceforge.net>
1640 * include/_mingw.h (__MINGW_ATTR_*): Replace with
1642 * include/stdlib.h (_ATTRIB_NORETURN): Replace with
1643 __MINGW_ATTRIB_NORETURN, throughout.
1644 (malloc): Declare with __MINGW_ATTRIB_MALLOC.
1646 (abs): Declare with __MINGW_ATTRIB_CONST.
1655 * include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
1657 2004-07-21 Danny Smith <dannysmith@users.sourceforge.net>
1659 * include/_mingw.h: Undefine __attribute__.
1660 (__MINGW_ATTR_NORETURN): New define.
1661 (__MINGW_ATTR_CONST): New define.
1662 (__MINGW_ATTR_MALLOC): New define.
1663 (__MINGW_ATTR_PURE): New define.
1664 (_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
1667 2004-07-19 Danny Smith <dannysmith@users.sourceforge.net>
1669 * include/time.h (__time64_t): Add missing ';'.
1671 2004-07-17 Danny Smith <dannysmith@users.sourceforge.net>
1673 * include/time.h (wcsftime): Move out of !__STRICT_ANSI
1675 (struct tm): Protect with _TM_DEFINED.
1677 2004-07-17 Christopher Faylor <cgf@timesys.com>
1679 * Makefile.in (CC): Strip inappropriate include file settings from any
1682 2004-07-15 "dgun" <dgun@umpire.com>
1684 * include/complex.h (conj): Correct typo in prototype.
1686 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
1688 * include/math.h: Add pragma GCC system_header.
1690 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
1692 * mingwex/complex/carg.c: New file.
1693 * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
1695 2004-07-15 Corinna Vinschen <corinna@vinschen.de>
1697 * Makefile.in (INCLUDES): Temporarily revert previous change.
1698 * mingwex/Makefile,in (INCLUDES): Ditto.
1699 * profile/Makefile,in (INCLUDES): Ditto.
1700 * mingwex/Makefile,in: Drop carg.o dependency.
1702 2004-07-14 Christopher Faylor <cgf@timesys.com>
1704 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
1706 2004-07-14 Danny Smith <dannysmith@users.sourceforge.net>
1708 * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
1710 * mingwex/Makefile,in (INCLUDES): Ditto.
1711 * profile/Makefile,in (INCLUDES): Ditto.
1713 * mingwex/Makefile,in: Add carg.o to libmingwex.a.
1715 2004-07-13 Earnie Boyd <earnie@users.sourcefourge.net>
1717 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
1719 * mingwex/Makefile.in: Ditto.
1720 * profile/Makefile.in: Ditto.
1721 * include/limits.h: Change to new file header preamble.
1722 * include/_mingw.h: Increment minor version for 3.4 release.
1723 * Makefile.in: Ditto.
1725 2004-07-12 Danny Smith <dannysmith@users.sourceforge.net>
1727 * mingwex/math/cephes_emath.h (__etens): Remove declaration.
1729 2004-07-11 Danny Smith <dannysmith@users.sourceforge.net>
1731 * include/unistd.h (ftruncate): Add inline definition.
1732 * mingwex/ftruncate.c: New file.
1733 * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
1735 2004-07-10 Danny Smith <dannysmith@users.sourceforge.net>
1737 * include/time.h: Do not include sys/types.h.
1739 2004-07-02 Danny Smith <dannysmith@users.sourceforge.net>
1741 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
1742 (MATH_OBJS): Remove pow,o.
1743 * include/math.h (pow): Declare with _CRTIMP.
1744 Add comment on how to avoid excess precision problems.
1746 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
1748 * include/stdio.h (__mingw_fseeko64): Add prototype.
1749 * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
1750 (__mingw_fwrite): Handle huge files.
1752 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
1753 Danny Smith <dannysmith@users.sourceforge.net>
1755 * include/stdio.h (fopen64): Add inline function.
1756 (fseeko64): Add prototype.
1757 (ftello64): Add inline function.
1758 * include/io.h (lseek64): Add inline function.
1759 * include/sys/types (off64_t): Add typedef.
1760 (fpos64_t): Add typedef.
1761 * mingwex/fopen64.c: New file.
1762 * mingwex/fseeko64.c: New file.
1763 * mingwex/ftello64.c: New file.
1764 * mingwex/lseek64.c: New file.
1765 * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
1766 fseeko.64.c, ftello64.c, lseek64.c.
1767 (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
1769 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
1771 * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
1773 2004-04-22 Earnie Boyd <earnie@users.sf.net>
1775 * DISCLAIMER: Add words about "free to use".
1776 * README: Modify "Win32 runtime" to "Microsoft C Runtime".
1777 * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
1778 (inst_docdir): New variable.
1780 (FLAGS_TO_PASS): Include inst_docdir.
1781 (install-dirs): Add inst_docdir.
1782 (install): Add loop for INSTDOCS.
1783 * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
1784 section to CONTRIBUTORS file. Remove RCS tags.
1786 2004-04-22 Danny Smith <dannysmith@users.sourceforge.net>
1788 * mingwex/math/lround.c: Rewrite.
1789 * mingwex/math/lroundf.c: Rewrite.
1790 * mingwex/math/lroundl.c: Rewrite.
1791 * mingwex/math/llround.c: Rewrite.
1792 * mingwex/math/llroundf.c: Rewrite.
1793 * mingwex/math/llroundl.c: Rewrite.
1795 2004-04-20 Earnie Boyd <earnie@users.sf.net>
1797 * CONTRIBUTORS: New file.
1798 * DISCLAIMER: Ditto.
1799 * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
1800 section to CONTRIBUTORS file. Remove RCS tags.
1801 * CRTFmode.c: Ditto.
1805 * crtdll.dev: Ditto.
1815 * msvcrt.def.in: Ditto.
1816 * strcasecmp.c: Ditto.
1819 * include/assert.h: Ditto.
1820 * include/conio.h: Ditto.
1821 * include/ctype.h: Ditto.
1822 * include/direct.h: Ditto.
1823 * include/dirent.h: Ditto.
1824 * include/dos.h: Ditto.
1825 * include/errno.h: Ditto.
1826 * include/excpt.h: Ditto.
1827 * include/fcntl.h: Ditto.
1828 * include/float.h: Ditto.
1829 * include/io.h: Ditto.
1830 * include/locale.h: Ditto.
1831 * include/malloc.h: Ditto.
1832 * include/math.h: Ditto.
1833 * include/process.h: Ditto.
1834 * include/setjmp.h: Ditto.
1835 * include/share.h: Ditto.
1836 * include/signal.h: Ditto.
1837 * include/stdio.h: Ditto.
1838 * include/stdlib.h: Ditto.
1839 * include/string.h: Ditto.
1840 * include/tchar.h: Ditto.
1841 * include/time.h: Ditto.
1842 * include/wchar.h: Ditto.
1843 * include/sys/locking.h: Ditto.
1844 * include/sys/param.h: Ditto.
1845 * include/sys/stat.h: Ditto.
1846 * include/sys/timeb.h: Ditto.
1847 * include/sys/types.h: Ditto.
1848 * include/sys/utime.h: Ditto.
1849 * mingwex/dirent.c: Ditto.
1851 2004-04-19 Earnie Boyd <earnie@users.sf.net>
1853 * include/_mingw.h: Revert to primary release 3 and increment minor
1855 * Makefile.in (VERSION): Ditto.
1857 2004-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1859 * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
1860 _fmode if not __MSVCRT__.
1862 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
1864 * include/io.h: (_findfirst): Correct prototype.
1866 2004-03-30 Hans Leidekker <hans@it.vu.nl>
1868 * include/io.h: (_findnext, _findclose): Correct prototype.
1870 2004-03-28 Hans Leidekker <hans@it.vu.nl>
1872 * include/math.h (FP_*): Add defines.
1874 2004-03-29 Danny Smith <dannysmith@users.sourceforge.net>
1876 * mingwex/math/round.c: Rewrite.
1877 * mingwex/math/roundf.c: Rewrite.
1878 * mingwex/math/roundl.c: Rewrite.
1880 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
1882 * include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.
1883 * include/time.h (__time64_t): Add typedef.
1884 (_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1885 (_ctime64): Likewise.
1886 (_wctime64): Likewise.
1887 (_gmtime64): Likewise.
1888 (_localtime64): Likewise.
1889 (wcsftime): Move into _WTIME_DEFINED block.
1890 Regroup non-ANSI prototypes.
1891 * include/io.h: Include <stdint.h>.
1892 (__finddata64_t): Add struct definition.
1893 (__wfinddata64_t): Likewise.
1894 (_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1895 (_findnext64): Likewise.
1896 (_wfindfirst64): Likewise.
1897 (_wfindnext64): Likewise.
1898 * include/sys/timeb.h (__timeb64): Add struct definition.
1899 (_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1900 * include/sys/utime.h (__utimbuf64): Add struct definition.
1901 (_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1902 (_futime64): Likewise.
1903 (_wutime64): Likewise.
1904 * include/sys/stat.h (__stat64): Add struct definition.
1905 (_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1906 (_stat64): Likewise.
1907 (_wstat64): Likwise.
1908 * include/sys/types.h (__time64_t): Add typedef.
1909 * include/wchar.h (__wfinddata64_t): Add structure definition.
1910 (__stat64): Likewise.
1911 (_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
1912 (_wfindfirst64): Likewise.
1913 (_wfindnext64): Likewise.
1914 (_wutime64): Likewise.
1915 (_wstat64): Likwise.
1916 * include/malloc.h (_aligned_free): Add prototype for
1917 __MSVCRT_VERSION__ >= 0x0700.
1918 (_aligned_malloc): Likewise.
1919 (_aligned_offset_malloc): Likewise.
1920 (_aligned_offset_realloc): Likewise.
1921 (_aligned_realloc): Likewise.
1922 * include/string.h (_wcserror): Add prototype for
1923 __MSVCRT_VERSION__ >= 0x0700.
1924 (__wcserror): Likewise.
1925 * include/math.h (_set_SSE2_enable): Add prototype for
1926 __MSVCRT_VERSION__ >= 0x0701.
1928 2004-03-25 Danny Smith <dannysmith@users.sourceforge.net>
1930 * include/stdio.h (_fsopen): Add prototype.
1931 * include/tchar.h (_tfsopen): Add defines.
1932 Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
1934 2004-03-19 Danny Smith <dannysmith@users.sourceforge.net>
1936 * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
1937 msvcr70.dll, and msvcr71.dll.
1938 * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
1939 using basename of output def file.
1941 2004-03-13 Danny Smith <dannysmith@users.sourceforge.net>
1943 * include/malloc.h: Remove __STRICT_ANSI__ guard.
1945 2004-03-11 Brian Keener <bkeener@thesoftwaresource.com>
1947 * include/process.h: Remove the #endif associated with removal of
1948 __STRICT_ANSI__ guard from non-ANSI header.
1950 2004-03-10 Danny Smith <dannysmith@users.sourceforge.net>
1952 * include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
1953 * include/direct.h: Ditto.
1954 * include/dirent.h: Ditto.
1955 * include/dos.h: Ditto.
1956 * include/excpt.h: Ditto.
1958 * include/io.h: Ditto.
1959 * inlude/mem.h: Ditto.
1960 * include/memory.h: Ditto.
1961 * include/process.h: Ditto.
1962 * inlude/search.h: Ditto.
1963 * include/share.h: Ditto.
1964 * include/unistd.h: Ditto.
1965 * include/sys/fcntl.h: Ditto.
1966 * include/file.h: Ditto.
1967 * include/sys/locking.h: Ditto.
1968 * include/sys/param.h: Ditto.
1969 * include/sys/stat,h
1970 * include/sys/time.h: Ditto.
1971 * include/sys/timeb.h: Ditto.
1972 * include/sys/types.h: Ditto.
1973 * include/sys/unistd.h: Ditto.
1974 * include/sys/utime.h: Ditto.
1976 2004-02-21 Danny Smith <dannysmith@users.sourceforge.net>
1978 * include/_mingw.h (__UNUSED_PARAM): Define macro.
1979 * include/wchar.h (fwide): Use it.
1982 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
1984 * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
1985 NetBSD getopt_long.c.
1987 2004-02-05 Danny Smith <dannysmith@users.sourceforge.net>
1989 * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
1990 codes and handling of special chars.
1992 2004-02-02 Danny Smith <dannysmith@users.sourceforge.net>
1994 * include/stdio.h (feof): Add inlined definition.
1997 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
1999 * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
2000 directly, rather than via scabnl.
2002 2004-02-01 Danny Smith <dannysmith@users.sourceforge.net>
2004 * mingwex/math/powl.c (powl): Return infinity if
2005 extended precision multiplication of x by log2(y)
2008 2004-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2010 * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
2011 (__enan_NI16): Fix another one.
2012 (__enan_NBITS): Tidy.
2014 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
2016 * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
2017 types. (Thanks to John Maddock for report.)
2019 2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
2021 * include/tchar.h (_puttchar): Define.
2023 2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
2025 * include/stdio.h:(_fileno): Define macro version after both
2026 fileno and _fileno functions declared.
2028 * include/stdio.h (_rmtmp, rmtmp): Add prototypes.
2029 * moldnames.def.in (rmtmp) Add stub.
2031 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
2033 * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2035 2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
2037 * include/math.h: Guard ISO C99 additions with __cplusplus
2040 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2042 * include/_mingw.h: Define __attribute__((x)) to nothing
2045 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2047 * include/complex.h: New file.
2048 * mingwex/complex: New directory.
2049 * mingwex/complex/cabs.c: New file.
2050 * mingwex/complex/cacos.c: New file.
2051 * mingwex/complex/cacosh.c: New file.
2052 * mingwex/complex/casin.c: New file.
2053 * mingwex/complex/casinh.c: New file.
2054 * mingwex/complex/catan.c: New file.
2055 * mingwex/complex/catanh.c: New file.
2056 * mingwex/complex/ccos.c: New file.
2057 * mingwex/complex/ccosh.c: New file.
2058 * mingwex/complex/cexp.c: New file.
2059 * mingwex/complex/cimag.c: New file.
2060 * mingwex/complex/clog.c: New file.
2061 * mingwex/complex/cpow.c: New file.
2062 * mingwex/complex/cproj.c: New file.
2063 * mingwex/complex/creal.c: New file.
2064 * mingwex/complex/csin.c: New file.
2065 * mingwex/complex/csinh.c: New file.
2066 * mingwex/complex/csqrt.c: New file.
2067 * mingwex/complex/ctan.c: New file.
2068 * mingwex/complex/ctanh.c: New file.
2069 * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
2072 (COMPLEX_OBJS): New list of objects.
2073 (LIB_OBJS): Include it in the library.
2075 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2077 * include/math.h (cabs): Remove non-ISO prototype.
2079 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2081 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
2082 Use GCC __builtin's if available.
2083 (INFINITY, INFINITYF, INFINITYL): Likewise.
2085 2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
2087 * mingwex/math/s_erf.c (erf): Set errno to ERANGE if
2088 beyond approximation limit.
2089 * mingwex/math/sf_erf.c (erff): Likewise.
2091 2003-10-17 Danny Smith <dannysmith@users.sourceforge.net>
2093 * include/stdio.h (getc): Cast result to unsigned char before
2096 (getchar): Likewise.
2097 (putchar): Likewise.
2098 Thanks to M.Fujii <boochang@m4.kcn.ne.jp>
2100 2003-10-10 Earnie Boyd <earnie@users.sf.net>
2102 * include/_mingw.h: Increment version to 3.2.
2103 * Makefile.in: Ditto.
2105 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2107 * include/sys/types.h: Revert last change.
2109 2003-10-10 Earnie Boyd <earnie@users.sourceforge.net>
2111 * include/sys/types.h (ssize_t): Correct the definition.
2113 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2115 * include/stdio.h (_filbuf): Add prototype.
2116 (_flsbuf): Add prototype.
2117 (getc): Add inline version.
2119 (getchar): Likewise.
2120 (putchar): Likewise.
2122 2003-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2124 * mingwex/dirent.c (_treaddir): Reset errno to 0 if end
2127 2003-09-29 Danny Smith <dannysmith@users.sourceforge.net>
2129 * include/stdlib.h: Guard non-ISO functions with
2130 !__STRICT_ANSI__, throughout.
2132 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2134 * include/io.h (_fileno): Remove prototype.
2136 (FILENAME_MAX): Define, if needed.
2137 Don't include <stdio.h>.
2138 * include/stdio.h (FILENAME_MAX): Protect against
2140 (_fileno): Define macro implementation.
2143 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2145 * include/inttypes.h: Include _mingw.h.
2147 2003-09-24 Danny Smith <dannysmith@users.sourceforge.net>
2149 * include/_mingw.h (__CRT_INLINE): Define.
2150 * include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
2152 * include/inttypes.h: Likewise.
2153 * include/math.h: Likewise.
2154 * include/stdio.h: Likewise.
2155 * include/stdlib.h: Likewise.
2156 * include/string.h: Likewise.
2157 * include/wchar.h: Likewise.
2158 * include/wctype.h: Likewise.
2160 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
2162 * mingwex/dirent.c (_topendir): Allocate enough memory for
2163 DIR struct in UNICODE case too.
2165 2003-09-15 Earnie Boyd <earnie@users.sf.net>
2167 * include/_mingw.h: Increment version to 3.2.
2168 * Makefile.in: Ditto.
2170 2003-07-03 Earnie Boyd <earnie@users.sf.net>
2172 * config.guess, config.sub: Update with versions from ftp.gnu.org.
2174 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2176 * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
2177 * mingwex/math/truncf.c (truncf): Likewise.
2178 * mingwex/math/truncl.c (truncl): Likewise.
2179 * mingwex/math/modff.c (modff): Likewise.
2180 * mingwex/math/modfl.c (modfl): Likewise.
2182 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2184 * include/search.h: New file.
2185 * include/stdlib.h: Add comment about qsort, bsearch in
2187 * test_headers.c: Include search.h.
2188 * moldname.def.in (lfind, lsearch): Add.
2190 2003-07-03 Danny Smith <dannysmith@users.sourceforge.net>
2192 * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
2193 _execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
2194 execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2196 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2198 * include/_mingw.h (small, hyper): Change to __small and __hyper to
2199 avoid user space name conflicts.
2201 2003-07-01 Earnie Boyd <earnie@users.sf.net>
2203 * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
2204 Note: Also added to w32api/include/basetyps.h.
2205 * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
2206 Rename to Small (case difference).
2208 2003-06-18 Earnie Boyd <earnie@users.sf.net>
2210 * include/dirent.h (dirent): Make d_name and array instead of a pointer.
2211 * mingwex/dirent.c: Modifications througout to fill d_name array.
2212 * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
2213 libmsvcr71, including debug versions.
2214 (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2216 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
2218 * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
2219 __pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
2221 Thanks to: Aaron W LaFramboise <AWLaFramboise@aol.com>
2223 2003-05-30 Sascha Sommer <saschasommer@freenet.de>
2225 * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2227 2003-05-15 Danny Smith <dannysmith@users.sourceforge.net>
2229 * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
2230 but still protect inline definition with __STRICT_ANSI__.
2232 2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
2234 * string_old.c: Remove, splitting into...
2235 * strcasecmp.c: New file.
2236 * strncasecmp.c: New file.
2237 * wscmpi.c : New file.
2238 * ctype_old.c: Remove, splitting into...
2239 * isascii.c: New file.
2240 * iscsym.c: New file.
2241 * iscsymf.c: New file.
2242 * toascii.c: New file.
2243 * Makefile.in (MOLD_OBJS): Adjust.
2244 (SRCDIST_FILES): Adjust.
2246 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
2248 * include/math.h (fabs) : Remove inline definition.
2252 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2254 * include/_mingw.h: Change version to 3.0
2255 * Makefile.in: Ditto.
2257 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2259 * configure.in (W32API_INCLUDE): Need the -I switch in the value.
2260 * mingwex/configure.in (W32API_INCLUDE): Ditto.
2261 * profile/configure.in (W32API_INCLUDE): Ditto.
2263 2003-05-06 Earnie Boyd <earnie@users.sf.net>
2265 * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
2266 of multiply defined symbols if the symbols is defined locally. E.G.:
2267 A local definition of malloc causes this problem.
2268 * configure: Regenerate.
2269 * profile/Makefile.in (W32API_INCLUDE): New variable.
2270 (ALL_CFLAGS): Use W32API_INCLUDE value.
2271 (ALL_CXXFLAGS): Ditto.
2272 (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
2273 Thanks to Jeff Bonggren <jbon@users.sf.net>.
2274 * profile/configure.in (W32API_INCLUDE): Set default value.
2275 * profile/configure: Regenerate.
2276 * mingwex/Makefile.in (W32API_INCLUDE): New variable.
2277 (ALL_CFLAGS): Use W32API-INCLUDE value.
2278 (ALL_CXXFLAGS): Ditto.
2279 * mingwex/configure.in (W32API_INCLUDE): Set default value.
2280 * mingwex/configure: Regenerate.
2282 2003-05-05 Earnie Boyd <earnie@users.sf.net>
2284 * Makefile.in (W32API_INCLUDE): New variable.
2285 (ALL_CFLAGS): Use W32API_INCLUDE value.
2286 (ALL_CXXFLAGS): Ditto.
2287 * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
2288 (W32API_INCLUDE): Set default value.
2289 * configure: Regenerate.
2291 2003-04-11 Earnie Boyd <earnie@users.sf.net>
2293 * configure.in (LIBM_A): Define for cygwin target.
2294 * configure (LIBM_A): Ditto.
2296 2003-04-07 Danny Smith <dannysmith@users.sourceforge.net>
2298 * include/time.h (strftime): Remove duplicate declaration.
2300 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
2302 * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2304 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2306 * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
2307 * mingwex/strtoimax.c (strtoimax): Likewise.
2308 * mingwex/wcstoimax.c (wcstoimax): Likewise.
2309 * mingwex/wtoll.c (wtoll): Remove unnecessary ';'
2310 * mingwex/fesentenv.c: Include float.h.
2311 * mingwex/math/powl.c: Eliminate type punning/strict aliasing
2313 * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
2315 * mingwex/math/tgammal.c: Likewise.
2317 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2319 * include/utime.h: New file, forwarding to sys/utime.h.
2321 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2323 * include/sys/param.h (MAXPATHLEN): Define.
2325 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2327 * include/tchar.h: Ansi-fy a comment.
2329 2003-03-16 Danny Smith <dannysmith@users.sourceforge.net>
2331 * profile/profile.h (mcount): Use __builtin_return_address
2332 rather than inline __asm statements.
2333 * profile/Makefile.in: Remove special rule for mcount.o
2334 Specify dependencies for mcount.o profil.o gmon.o.
2336 2003-03-10 Danny Smith <dannysmith@users.sourceforge.net>
2338 * include/stdlib.h (qsort): Remove const from first parm.
2339 Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
2341 2003-03-03 Christopher Faylor <cgf@redhat.com>
2343 * mingwex/getopt.c: Refresh from NetBSD sources.
2345 2003-03-03 Danny Smith <dannysmith@users.sourceforge.net>
2347 * mingwex/getopt.c: New file, copied from cygwin srcs.
2348 * include/getopt.h: New file, copied from cygwin srcs.
2349 * include/unistd.h: Include getopt.h.
2350 * mingwex/Makefile.in (DISTFILES): Add getopt.c.
2351 (POSIX_OBJS): Add getopt.o.
2353 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
2355 * include/stdio.h (vscanf): Add prototype.
2361 * include/wchar.h (vwscanf): Add prototype.
2364 * mingwex/snprintf.c: Move to mingwex/stdio.
2365 * mingwex/vsnprintf.c: Ditto.
2366 * mingwex/snwprintf.c: Ditto.
2367 * mingwex/vsnwprintf.c: Ditto.
2368 * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
2369 (STDIO_DISTFILES): Add.
2370 (DISTFILES): Adjust.
2371 (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
2375 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com>
2377 * mingwex/stdio: New directory
2378 * mingwex/stdio/vfscanf.c: New file.
2379 * mingwex/stdio/vfwscanf.c: New file.
2380 * mingwex/stdio/vscanf.c: New file.
2381 * mingwex/stdio/vsscanf.c: New file.
2382 * mingwex/stdio/vswscanf.c: New file.
2383 * mingwex/stdio/vwscanf.c: New file.
2385 2003-02-25 Earnie Boyd <earnie@users.sf.net>
2387 * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
2388 (libmsvcrt40.a): Ditto.
2390 2003-02-21 Earnie Boyd <earnie@users.sf.net>
2392 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
2394 * Makefile.in (libmsvcrtd.a): Add target library.
2395 (libmoldnamed.a): Ditto.
2396 (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
2398 ($(srcdir)): Remove explicit reference for depencies of object targets.
2399 * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
2400 msvcrt20.def, msvcrt40.def: Remove.
2401 * msvcrt.def.in: New file (Copy of previous msvcrt.def).
2403 2003-02-20 Corinna Vinschen <corinna@vinschen.de>
2405 * Makefile.in: Make sure libmingwex.a from current build tree is used.
2407 2003-02-14 Christopher Faylor <cgf@redhat.com>
2409 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
2410 ensure -mno-cygwin where appropriate. Filter out -O2.
2412 2003-02-13 Danny Smith <dannysmith@users.sourceforge.net>
2414 * profile/Makefile.in (mcount.o): Use -O1 optimization
2417 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2419 * include/math.h: Remove _CRTIMP from pow() prototype,
2420 unless __NO_ISOCEXT.
2422 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2424 * mingwex/math/cephes_emath.h: Don't redefine INFINITY.
2426 2003-02-10 Danny Smith <dannysmith@users.sourceforge.net>
2428 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
2429 __declspec(dllimport) supported.
2430 (__cdecl): Define if not already defined.
2431 (__stdcall): Likewise.
2432 * include/dirent.h: Qualify fuctions with __cdecl.
2433 * include/fenv.h: Likewise.
2434 * include/inttypes.h: Likewise.
2435 * include/assert.h: Qualify fuctions with __cdecl. Qualify
2436 CRT dll imports with _CRTIMP.
2437 * include/conio.h: Likewise.
2438 * include/ctype.h: Likewise.
2439 * include/direct.h: Likewise.
2440 * include/dos.h: Likewise.
2441 * include/errno.h: Likewise.
2442 * include/float.h: Likewise.
2443 * include/io.h: Likewise.
2444 * include/locale.h: Likewise.
2445 * include/malloc.h: Likewise.
2446 * include/math.h: Likewise.
2447 * include/mbctype.h: Likewise.
2448 * include/mbstring.h: Likewise.
2449 * include/process.h: Likewise.
2450 * include/setjmp.h: Likewise.
2451 * include/signal.h: Likewise.
2452 * include/stdio.h: Likewise.
2453 * include/stdlib.h: Likewise.
2454 * include/string.h: Likewise.
2455 * include/time.h: Likewise.
2456 * include/wchar.h: Likewise.
2457 * include/wctype.h: Likewise.
2458 * include/sys/stat.h: Likewise.
2459 * include/sys/timeb.h: Likewise.
2460 * include/sys/utime.h: Likewise.
2462 * include/ctype.h: Guard ctype inlines with __NO_INLINE__.
2463 * include/wctype.h: Guard wctype inlines with __NO_INLINE__.
2465 * include/stdio.h (__VALIST): Guard against prior definition.
2467 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2469 * include/_mingw.h: Change version to 3.0
2470 * Makefile.in: Ditto.
2472 2003-02-08 Earnie Boyd <earnie@users.sf.net>
2474 * include/stdlib.h: Make words after #endif a comment.
2476 2003-02-07 Danny Smith <dannysmith@users.sourceforge.net>
2478 * include/locale.h: Include stddef.h for definition of NULL.
2480 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2482 * include/math.h (tgamma): Correct typo in comment.
2484 2003-01-26 Danny Smith <dannysmith@users.sourceforge.net>
2486 * mingwex/mingw-fseek.c (INLINE): Remove define.
2487 (__mingw_is_win9x): Remove static inline function.
2488 (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
2490 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
2492 * mingwex/math/llround.c: Correct function name and
2493 change return value to long long.
2495 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
2497 * include/ctype.h (__isascii): Don't cast arg to unsigned.
2498 (iswascii): Likewise. Correct mask.
2499 * include/wctype.h (iswascii): Don't cast arg to unsigned.
2502 2003-01-03 Danny Smith <dannysmith@users.sourceforge.net>
2504 * include/stdlib.h (_osver, _winver, _winmajor,
2505 _winminor): Declare as direct imports from dll if
2506 __DECLSPEC_SUPPORTED.
2508 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
2510 * pseudo-reloc.c (do_pseudo_reloc): Make static.
2511 * pseudo-reloc-list.c: New file.
2512 * crt1.c (_pei386_runtime_relocator): Declare.
2513 (__mingw_CRTStartup): Call it.
2514 * dllcrt1.c (_pei386_runtime_relocator): Declare.
2515 (DllMainCRTStartup): Call it.
2516 * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
2519 2003-01-01 Egor Duda <deo@logos-m.ru>
2521 * pseudo-reloc.c: New file.
2523 2002-12-20 Earnie Boyd <earnie@users.sf.net>
2525 * include/_mingw.h: Increment version to 2.4.
2528 2002-12-12 Earnie Boyd <earnie@users.sf.net>
2530 * include/malloc.h (_alloca): Add definition.
2533 2002-12-08 Danny Smith <dannysmith@users.sourceforge.net>
2535 * mingwex/math/s_erf.c: New file.
2536 * mingwex/math/sf_erf.c: New file.
2537 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
2538 (MATH_OBJS): Add new objects.
2539 * include/math.h (erf[f]): Add prototypes.
2540 (erfc[f]): Add prototypes.
2542 2002-12-07 Danny Smith <dannysmith@users.sourceforge.net>
2544 * include/math.h: Add traditional/XOPEN math constants.
2546 2002-11-27 Danny Smith <dannysmith@users.sourceforge.net>
2548 * mingwex/math/lgamma.c: New file.
2549 * mingwex/math/lgammaf.c: New file.
2550 * mingwex/math/lgammal.c: New file.
2551 * mingwex/math/tgamma.c: New file.
2552 * mingwex/math/tgammaf.c: New file.
2553 * mingwex/math/tgammal.c: New file.
2554 * mingwex/math/cephes_mconf (polevlf): Add float version.
2556 Define _CEPHES_USE_ERRNO.
2557 * mingwex/Makefile.in (MATH_DISTFILES): Add new files.
2558 (MATH_OBJS): Add new objects.
2559 * include/math.h (lgamma[fl]): Add prototypes.
2560 (tgamma[fl]): Add prototypes.
2562 2002-11-26 Danny Smith <dannysmith@users.sourceforge.net>
2564 * mingwex/strtold.c: New file.
2565 * mingwex/wcstold.c: New file.
2566 * mingwex/ldtoa.c: New file.
2567 * mingwex/math/cephes_emath.h: New file.
2568 * mingwex/math/cephes_emath.c: New file.
2569 * mingwex/Makefile.in (DISTFILES): Add new files.
2570 (MATH_DISTFILES): Ditto.
2571 (STDLIB_OBJS): New. Define as strtold.c wcstold.c.
2572 (MATH_OBJS): Add cephes_emath.o.
2573 (LIB_OBJS): Add $(STDLIB_OBJS).
2574 * include/stdlib.h (strtold, wcstold): Add prototypes.
2575 * include/wchar.h (wcstold): Add prototype.
2577 2002-11-09 Danny Smith <dannysmith@users.sourceforge.net>
2579 * include/math.h (sqrt): Remove inline definition.
2580 (sqrtf): Replace inline definition with prototype.
2582 * mingwex/math/sqrtf.c (sqrtf): Set domain error if
2583 argument less than zero.
2584 * mingwex/math/sqrtf.c (sqrtl): Likewise.
2586 2002-10-30 Guido Serassio <serassio@libero.it>
2588 * include/stdio.h (_getmaxstdio): Add prototype.
2589 (_setmaxstdio): Likewise.
2591 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
2593 * include/fcntl.h (O_SEQUENTIAL): Correct typo.
2595 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
2597 * crt1.c: Define new macro __IN_MINGW_RUNTIME before including
2599 Define WIN32_MEAN_AND_LEAN before including windows.h
2600 * include/stdlib.h (_fmode): Protect declaration as dllimported
2601 variable with __IN_MINGW_RUNTIME.
2603 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu>
2605 * crt1.c: Include stdlib.h.
2607 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
2609 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
2610 (MINGW_OBJS): Add txtmode.o.
2611 (SRCDIST_FILES): Add txtmode.c binmode.c.
2612 crt1.c: Don't include fcntrl.h, stdlib.h.
2613 (_fmode): Declare, without dllimport attribute.
2614 (__p__fmode): Declare access function for dll's _fmode.
2615 (_mingw32_init_fmode): Sync dll _fmode with staticly linked
2617 * txtmode.c: New file.
2618 * binmode.c: New file.
2619 * samples/fmode/test2.c: New file.
2620 * samples/fmode/jamfile: Add test2.exe target.
2622 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
2624 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
2625 macros work with C89.
2626 (INTMAX_C, UINTMAX_C): Likewise.
2628 2002-10-11 Danny Smith <dannysmith@users.sourceforge.net>
2630 * include/string.h (strcasecmp): Make extern __inline__.
2631 (strncasecmp): Likewise.
2632 (wcscmpi): Likewise.
2634 2002-10-08 Heiko Gerdau <hg@technosis.de>
2636 * include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
2637 _tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
2640 2002-10-07 Danny Smith <dannysmith@users.sourceforge.net>
2642 * mingwex/math/powil.c: Rename powil to __powil.
2643 * mingwex/math/powl.c: Adjust declaration and call
2644 to __powil. Remove comment on powil.
2645 * mingwex/math/powi.c: New file.
2646 * mingwex/math/powif.c: New file.
2647 * mingwex/math/pow.c: New file.
2648 * mingwex/math/cephes_mconf.h. Add double and float
2649 versions of constants.
2650 (polevl): Add double precision function.
2652 * mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
2654 (MATH_OBJS): Add pow.o, powi.o, powif.o.
2656 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2658 * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
2659 (_imp____mbcur_max_dll): Likewise.
2661 2002-10-03 Danny Smith <dannysmith@users.sourceforge.net>
2663 * include/fcntl.h (_fmode): Remove declarations and
2664 compatibility defines.
2665 (_setmode, setmode): Remove prototypes.
2666 * include/stdlib (_fmode): Add declarations and
2667 compatibility defines. Change type to int.
2668 * include/io.h (_setmode, setmode): Add prototypes.
2669 * samples/fmode/all.c: Adjust includes.
2670 * samples/fmode/test.c: Likewise.
2671 * crt1.c (_CRT_fmode): Declare as int.
2672 * CRTfmode.c (_CRT_fmode): Likewise.
2674 * include/stdlib: Remove comment about MB_CUR_MAX.
2676 2002-10-02 Danny Smith <dannysmith@users.sourceforge.net>
2678 * include/stdlib.h (_imp____mbcur_max): Add missing ';'.
2679 (_imp____mbcur_max_dll): Likewise.
2681 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
2683 * mingwex/math/files.txt: Remove inadvertantly added file.
2685 2002-09-18 Danny Smith <dannysmith@users.sourceforge.net>
2687 * include/string.h (_strerror): Move into #ifndef
2688 __STRICT_ANSI__ block.
2690 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net>
2692 * include/time.h (__need_NULL): Define before including
2693 stddef.h. Thanks to: Rüdiger Dehmel <de@lmnet.de>.
2695 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
2697 * include/stdio.h: Correct comment about directory separator.
2699 2002-09-12 Danny Smith <dannysmith@users.sourceforge.net>
2701 * include/sys/time.h (timeval): Add struct definition and
2702 associated macros (copied from w32api/include/winsock.h).
2704 2002-09-05 Earnie Boyd <earnie@users.sf.net>
2706 * include/_mingw.h: Increment version to 2.3.
2709 2002-09-05 Earnie Boyd <earnie@users.sf.net>
2711 * mingwex/fegetenv.c: Change to \n line endings.
2712 * mingwex/vsnprintf.c: Ditto.
2713 * mingwex/vsnwprintf.c: Ditto.
2715 2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
2717 * mingwex/math/hypotl.c: Replace with version based on cephes
2720 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
2722 * include/sys/param.h: Add ENDIAN defines.
2723 * test_headers.c: Include sys/param.h.
2725 2002-08-28 Danny Smith <dannysmith@users.sourceforge.net>
2727 * test_headers.c: Don't include varargs.h.
2728 * Makefile.in (test_headers): Don't use -std=xx
2731 2002-08-21 Earnie Boyd <earnie@users.sf.net>
2733 * include/sys/param.h: New File.
2735 2002-08-21 Danny Smith <dannysmith@users.sourceforge.net>
2737 * include/math.h (asm): Change to __asm__ throughout.
2738 Expose ISO C99 functions if __GLIPCPP__.
2739 (hypotf): Use hypot, not _hypot in stub.
2741 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
2743 * include/tchar.h: Ansi-fy another comment.
2745 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
2747 * include/tchar.h: Ansi-fy comment.
2749 2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
2751 * test_headers.c : New file.
2752 * Makefile.in (test_headers): New target, using it,
2753 (SRCDIST_FILES): Distribute it.
2755 2002-08-20 Earnie Boyd <earnie@users.sf.net>
2757 * include/_mingw.h: Increment version to 2.2.
2760 2002-08-14 Earnie Boyd <earnie@users.sf.net>
2762 * include/unistd.h: Add include of process.h.
2764 2002-08-03 Danny Smith <dannysmith@users.sourceforge.net>
2766 * include/stdio.h (_fcloseall): Add prototype.
2768 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
2770 * include/tchar.h (_tfdopen): Correct typo.
2772 2002-07-29 Danny Smith <dannysmith@users.sourceforge.net>
2774 * moldname.def.in (chgsign,scalb,finite,fpclass,logb,
2775 nextafter): Add non-underscored stubs.
2776 * moldname-msvcrt.def: Regenerate.
2777 * moldname-crtdll.def: Regenerate.
2778 * mingwex/math: New directory.
2779 * mingwex/rint.c: Move to mingwex/math.
2780 * mingwex/rintf.c: Ditto.
2781 * mingwex/rintl.c: Ditto.
2782 * mingwex/round.c: Ditto.
2783 * mingwex/roundf.c: Ditto.
2784 * mingwex/roundl.c: Ditto.
2785 * mingwex/rint.c: Ditto.
2786 * mingwex/rintf.c: Ditto.
2787 * mingwex/rintl.c: Ditto.
2788 * mingwex/trunc.c: Ditto.
2789 * mingwex/truncf.c: Ditto.
2790 * mingwex/truncl.c: Ditto.
2791 * mingwex/signbit.c: Ditto.
2792 * mingwex/signbitf.c: Ditto.
2793 * mingwex/signbitl.c: Ditto.
2794 * mingwex/copysignl.S: Ditto.
2795 * mingwex/fdim.c: Ditto.
2796 * mingwex/fdimf.c: Ditto.
2797 * mingwex/fdiml.c: Ditto.
2798 * mingwex/fmin.c: Ditto.
2799 * mingwex/fminf.c: Ditto.
2800 * mingwex/fminl.c: Ditto.
2801 * mingwex/fmax.c: Ditto.
2802 * mingwex/fmaxf.c: Ditto.
2803 * mingwex/fmaxl.c: Ditto.
2804 * mingwex/fma.c: Ditto.
2805 * mingwex/fmaf.c: Ditto.
2806 * mingwex/fmal.c: Ditto.
2807 * mingwex/fpclassify.c: Ditto.
2808 * mingwex/fpclassifyl.c: Ditto.
2809 * mingwex/fpclassifyl.c: Ditto.
2810 * mingwex/isnan.c: Ditto.
2811 * mingwex/isnanf.c: Ditto.
2812 * mingwex/isnanl.c: Ditto.
2813 * mingwex/fucom.c: Ditto.
2814 * mingwex/fp_consts.c: Ditto. Split out float and long double
2816 * mingwex/math_stubs.c: Remove.
2817 * mingwex/log2.c: Remove. Replaced by math/log2.S
2818 * mingwex/log2f.c: Remove. Replaced by math/log2f.S
2819 * mingwex/log2l.c: Remove. Replaced by math/log2l.S
2820 * mingwex/math/acosf.c : New file.
2821 * mingwex/math/acosl.c: New file.
2822 * mingwex/math/asinf.c: New file.
2823 * mingwex/math/asinl.c: New file.
2824 * mingwex/math/atan2f.c: New file.
2825 * mingwex/math/atan2l.c: New file.
2826 * mingwex/math/atanf.c: New file.
2827 * mingwex/math/atanl.c: New file.
2828 * mingwex/math/cbrt.c: New file.
2829 * mingwex/math/cbrtf.c: New file.
2830 * mingwex/math/cbrtl.c: New file.
2831 * mingwex/math/ceilf.S: New file.
2832 * mingwex/math/ceill.S: New file.
2833 * mingwex/math/cephes_ld.h: New file.
2834 * mingwex/math/copysign.S: New file.
2835 * mingwex/math/copysignf.S: New file.
2836 * mingwex/math/cosf.S: New file.
2837 * mingwex/math/coshf.c: New file.
2838 * mingwex/math/coshl.c: New file.
2839 * mingwex/math/cosl.S: New file.
2840 * mingwex/math/exp2.S: New file.
2841 * mingwex/math/exp2f.S: New file.
2842 * mingwex/math/exp2l.S: New file.
2843 * mingwex/math/expf.c: New file.
2844 * mingwex/math/expl.c: New file.
2845 * mingwex/math/fabs.c: New file.
2846 * mingwex/math/fabsf.c: New file.
2847 * mingwex/math/fabsl.c: New file.
2848 * mingwex/math/floorf.S: New file.
2849 * mingwex/math/floorl.S: New file.
2850 * mingwex/math/fmodf.c: New file.
2851 * mingwex/math/fmodl.c: New file.
2852 * mingwex/math/fp_consts.h: Ditto.
2853 * mingwex/math/fp_constsf.c: Ditto.
2854 * mingwex/math/fp_constsl.c: Ditto.
2855 * mingwex/math/frexpf.c: New file.
2856 * mingwex/math/frexpl.S: New file.
2857 * mingwex/math/hypotf.c: New file.
2858 * mingwex/math/hypotl.c: New file.
2859 * mingwex/math/ilogb.S: New file.
2860 * mingwex/math/ilogbf.S: New file.
2861 * mingwex/math/ilogbl.S: New file.
2862 * mingwex/math/ldexpf.c: New file.
2863 * mingwex/math/ldexpl.c: New file.
2864 * mingwex/math/llrint.c: New file.
2865 * mingwex/math/llrintf.c: New file.
2866 * mingwex/math/llrintl.c: New file.
2867 * mingwex/math/llround.c: New file.
2868 * mingwex/math/llroundf.c: New file.
2869 * mingwex/math/llroundl.c: New file.
2870 * mingwex/math/log10f.S: New file.
2871 * mingwex/math/log10l.S: New file.
2872 * mingwex/math/log1p.S: New file.
2873 * mingwex/math/log1pf.S: New file.
2874 * mingwex/math/log1pl.S: New file.
2875 * mingwex/math/log2.S: New file.
2876 * mingwex/math/log2f.S: New file.
2877 * mingwex/math/log2l.S: New file.
2878 * mingwex/math/logb.c: New file.
2879 * mingwex/math/logbf.c: New file.
2880 * mingwex/math/logbl.c: New file.
2881 * mingwex/math/logf.S: New file.
2882 * mingwex/math/logl.S: New file.
2883 * mingwex/math/lrint.c: New file.
2884 * mingwex/math/lrintf.c: New file.
2885 * mingwex/math/lrintl.c: New file.
2886 * mingwex/math/lround.c: New file.
2887 * mingwex/math/lroundf.c: New file.
2888 * mingwex/math/lroundl.c: New file.
2889 * mingwex/math/modff.c: New file.
2890 * mingwex/math/modfl.c: New file.
2891 * mingwex/math/nearbyint.S: New file.
2892 * mingwex/math/nearbyintf.S: New file.
2893 * mingwex/math/nearbyintl.S: New file.
2894 * mingwex/math/nextafterf.c: New file.
2895 * mingwex/math/powf.c: New file.
2896 * mingwex/math/powl.c: New file.
2897 * mingwex/math/powil.c: New file.
2898 * mingwex/math/remainder.S: New file.
2899 * mingwex/math/remainderf.S: New file.
2900 * mingwex/math/remainderl.S: New file.
2901 * mingwex/math/remquo.S: New file.
2902 * mingwex/math/remquof.S: New file.
2903 * mingwex/math/remquol.S: New file.
2904 * mingwex/math/scalbn.S: New file.
2905 * mingwex/math/scalbnf.S: New file.
2906 * mingwex/math/scalbnl.S: New file.
2907 * mingwex/math/sinf.S: New file.
2908 * mingwex/math/sinhf.c: New file.
2909 * mingwex/math/sinhl.c: New file.
2910 * mingwex/math/sinl.S: New file.
2911 * mingwex/math/sqrt.c: New file.
2912 * mingwex/math/sqrtf.c: New file.
2913 * mingwex/math/sqrtl.c: New file.
2914 * mingwex/math/tanf.S: New file.
2915 * mingwex/math/tanhf.c: New file.
2916 * mingwex/math/tanhl.c: New file.
2917 * mingwex/math/tanl.S: New file.
2918 * mingwex/Makefile.in: Adjust VPATH for source files in
2921 Add MATH_DISTFILES and use it to build source distro.
2922 * include/ math.h: Add protypes for new functions and
2923 reorganise to reflect ANSI,C99 status.
2925 2002-06-19 Danny Smith <dannysmith@users.sourceforge.net>
2927 * include/tchar.h (_getts): Define as _getws for _UNICODE.
2928 (_putts): Define as _putws for _UNICODE.
2929 Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
2931 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net>
2933 * include/float.h: #include_next<float.h> before header guard.
2935 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
2937 * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
2939 * include/excpt.h (): Include windef.h not windows.h.
2940 * include/fcntl.h (_O_SHORT_LIVED): Add define.
2941 (_chmod): Add prototype.
2942 (_creat): Correct prototype.
2943 (SH_DENY*): Rename defines to _SH_DENY*.
2944 (SH_DENY*): Add Non-ANSI names for _SH_DENY*.
2945 include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
2946 _IOAPPEND): Add defines.
2947 (_wfindfirst): Correct prototype.
2948 (_wfdopen): Add prototype.
2949 * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
2951 * include/string.h (_mbschr, _mbstok, _mbsncat): Remove
2953 (_wcsdup): Correct prototype.
2954 * include/mbstring.h: Remove comments about _mbschr, _mbstok,
2955 _mbsncat being in string.h.
2956 * include/wchar.h (_wfindfirst): Correct prototype.
2957 * include/tchar.h (_tfdopen): Add _UNICODE mappings.
2959 2002-06-15 Earnie Boyd <earnie@users.sf.net>
2961 * include/_mingw.h: Increment to version 2.1.
2962 * Makefile.in: Ditto.
2964 2002-06-15 Earnie Boyd <earnie@users.sf.net>
2966 * Makefile.in (conf_prefix): New variable.
2967 (dist_prefix): Ditto. Conditionally set to $(conf_prefix).
2968 (bindist): Use dist_prefix.
2970 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net>
2972 * include/_mingw.h: Increment version to 2.0.
2973 * Makefile.in: Ditto.
2975 Merge in mingwex branch.
2977 2002-06-11 Danny Smith <dannysmith@users.sourceforge.net>
2978 * include/math.h (fdim, fdimf, fdiml): Add prototypes.
2979 * mingwex/fdim.c: New file.
2980 * mingwex/fdimf.c: New file.
2981 * mingwex/fdiml.c: New file.
2982 * mingwex/Makefile.in (DISTFILES): Add fdim.c, fdimf.c,
2984 (MATHOBJS):Add fdim.o, fdimf.o. fdiml.o.
2986 2002-05-23 Danny Smith <dannysmith@users.sourceforge.net>
2987 * mingwex/Makefile.in (DISTFILES): Add truncf.c, truncl.c.
2989 2002-05-22 Danny Smith <dannysmith@users.sourceforge.net>
2990 * mingwex/isnanl.c: New file.
2992 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2993 * include/stdint.h: Include stddef.h to get
2995 (WINT_MAX): Define to ((wint_t)-1).
2997 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2998 * include/wctype.h: Replace 'inline' with '__inline__'.
2999 * include/inttypes.h: Likewise.
3001 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3002 * include/_mingw.h (__MINGW_IMPORT): Put extern at start
3003 to avoid warnings. Thanks to: Oscar Fuentes <ofv@wanadoo.es>.
3005 2002-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3006 * mingwex/snprintf.c: Split out vsnprintf to....
3007 * mingwex/vsnprintf.c: New file.
3008 * mingwex/snwprintf.c: Split out vsnwprintf to...
3009 * mingwex/vsnwprintf.c: New file.
3010 * mingwex/Makefile.in: Adjust DISTFILES and STDIO_STUB_OBJS.
3012 2002-05-15 Pascal Obry <obry@gnat.com>
3013 * include/dirent.h (DIR): Change dd_stat type to int.
3016 2002-05-07 Danny Smith <dannysmith@users.sourceforge.net>
3017 * include/stdio.h (vsnprintf): Change inline to __inline__;
3018 (vsnwprintf): Likewise.
3019 * include/wchar.h (vsnwprintf): Likewise.
3022 (mbsinit): Likewise.
3024 2002-04-29 Danny Smith <dannysmith@users.sourceforge.net>
3025 Change FP default precison from 53 to 64-bit mantissa.
3026 * Makefile.in (CRT0S): Add CRT_fp8.o.
3027 (MINGW_OBJS): Replace CRT_fp8.o with CRT_fp10.o.
3028 * include/float.h: Replace standard float.h defines with
3029 #include_next<float.h> to use GCC's defines. Adjust comments
3032 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3033 * include/dos.h: Change prefix "__imp_" to "_imp__" for
3034 __GNUC__ without __DECLSPEC_SUPPORTED.
3035 * include/fnctl.h: Likewise.
3036 * include/math.h: Likewise.
3037 * include/stdio.h: Likewise.
3038 * include/stdlib.h: Likewise.
3039 * include/time.h: Likewise.
3040 * include/wctype.h: Likewise.
3041 * include/ctype.h: Likewise.
3043 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3044 Add atexit support for dlls.
3045 * crt1.c (atexit): Force thunk to _imp__atexit.
3046 (_onexit): Force thunk to _imp___onexit.
3047 * dllcrt1.c (DllMainCRTStartup): Initialise private atexit
3048 table on DLL_PROCESS_ATTACH, clean it up on DLL_PROCESS_DETACH.
3049 (__dll_exit): New function to run atexit-registered functions
3050 and flush output buffers on DLL_PROCESS_DETACH or failed
3052 (atexit): Force use of private atexit table via _dllonexit,
3053 (_onexit): New function. Force use of private atexit table via
3055 * msvcrt.def (atexit, _onexit): Add DATA keyword so that only
3056 _imp_<_symbol> is visible in import lib.
3057 * msvcrt20.def: Likewise.
3058 * msvcrt40.def: Likewise.
3059 * crtdll.def: Likewise.
3061 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3062 * include/fenv.h: Change header guard macro to _FENV_H_.
3063 (fenv_t, fexcept_t): Move into block protected by
3065 Cleanup some whitespace.
3066 * include/inttypes.h: Change header guard macro to
3069 2002-04-26 Danny Smith <dannysmith@users.sourceforge.net>
3070 * include/math.h (copysignl): Declare.
3071 * mingwex/Makefile.in (DISTFILES): Add copysignl.S.
3072 (MATHOBJS):Add copysignl.o.
3074 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3075 * include/math.h (__signbitl, __isnanl): Declare.
3077 2002-04-24 Danny Smith <dannysmith@users.sourceforge.net>
3078 * include/math.h (nanl, __fpcassifyl, fminl, fmaxl, rintl,
3079 roundl, truncl, fmal, log2l): Declare.
3080 Protect C99 declarations with _STDC_VERSION__ >= 199901L)
3081 || !defined __STRICT_ANSI__.
3082 * mingwex/fmax.c (fmax): Call __isnan, not _isnan.
3083 * mingwex/fmin.c (fmin): Likewise.
3084 * mingwex/fmaxf.c (fmaxf): Call __isnanf, not _isnan.
3085 * mingwex/fminf.c (fminf): Likewise.
3086 * mingwex/fmaxl.c: New file.
3087 * mingwex/fminl.c: New file.
3088 * mingwex/fpclassify.c (__fpclassifyf): Split out to ...
3089 * mingwex/fpclassifyf.c: New file.
3090 * mingwex/fpclassifyl.c: New file.
3091 * mingwex/rint.c (rintf): Split out to...
3092 * mingwex/rintf.c: New file.
3093 * mingwex/rintl.c: New file.
3094 * mingwex/round.c (roundf): Split out to...
3095 * mingwex/roundf.c: New file.
3096 * mingwex/roundl.c: New file.
3097 * mingwex/trunc.c (truncf): Split out to...
3098 * mingwex/truncf.c: New file.
3099 * mingwex/truncl.c: New file.
3100 * mingwex/signbit.c (signbitf): Split out to...
3101 * mingwex/signbitf.c: New file.
3102 * mingwex/signbitl.c: New file.
3103 * mingwex/fmal.c: New file.
3104 * mingwex/copysignl.S: New file.
3105 * mingwex/log2l.c: New file.
3106 * mingwex/fp_consts.c: Add nanl definition.
3107 Comment out unused constants.
3108 * mingwex/Makefile.in (DISTFILES): Add fmaxl.c, fminl.c,
3109 fpclassifyf.c, fpclassifyl.c, rintf.c, rintl.c, roundf.c,
3110 roundl.c, truncf.c truncl.c, signbitf.c signbitl.c,
3112 (MATHOBJS): Add fmaxl.o, fminl.o, fpclassifyf.o,
3113 fpclassifyl.o, rintf.o, rintl.o, roundf.o, roundl.o,
3114 truncf.o truncl.o, signbitf.o signbitl.o, fmal.o,
3116 * mingwex/snwprintf.c (snwprintf, vsnwprintf): Correct typo.
3118 2002-04-23 Danny Smith <dannysmith@users.sourceforge.net>
3119 Make wide char versions of opendir and friends.
3120 * include/dirent.h (_wdirent, _WDIR): Define wide versions of
3122 (_wopendir,_wreaddir,_wclosedir,_wrewinddir,_wtelldir,
3123 _wseekdir): Add prototypes for wide versions of corresponding
3125 * include/tchar.h; Add _UNICODE mappings for dirent.h
3126 structures and functions.
3127 * mingwex/dirent.c: Make _UNICODE neutral.
3128 * mingwex/wdirent.c: New file to define _UNICODE before
3130 * mingwex/Makefile.in (DISTFILES): Add wdirent.c.
3131 (POSIX_OBJS): Add wdirent.o.
3132 (wdirent.o): Specify dependency on dirent.c as well as
3134 * samples/dirent/wtest.c: New file, wide version of test.c.
3136 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3137 * Makefile.in (INCLUDES): Add "-iwithprefixbefore include" to
3138 ensure gcc include dir is searched despite -nostdinc.
3139 * profile/Makefile.in (INCLUDES): Likewise.
3140 * mingwex/Makefile.in (INCLUDES): Likewise.
3141 * include/stdarg.h: Replace with stub that just guards the
3142 real gcc system header with #ifndef RC_INVOKED
3143 * include/varargs.h: Likewise.
3144 * include/stddef.h: Likewise.
3145 * include/stdio.h: Include stdarg.h after defining
3147 (__VALIST): Define as __gnuc_va_list if __GNUC__, else char*.
3148 Replace va_list with __VALIST throughout.
3150 2002-04-17 Danny Smith <dannysmith@users.sourceforge.net>
3151 * crt1.c: Revert changes of 2002-04-16. Use _fpreset again.
3152 * msvcrt.def (_fpreset): Mark as DATA so that only
3153 _imp___fpreset is exported.
3154 * msvcrt20.def (_fpreset): Likewise.
3155 * msvcrt40.def (_fpreset): Likewise.
3156 * crtdll.def (_fpreset): Likewise.
3157 * CRT_fp10.c (_fpreset): Overide library _fpreset with one
3159 (fpreset): Add alias.
3160 (__CRT_PC): Delete definition. _fpreset does it now.
3161 * CRT_fp8.c (_fpreset): Force use of library _imp___fpreset.
3162 (fpreset): Add alias.
3163 (__CRT_PC): Delete definition.
3164 * moldname.def.in: Comment out fpreset.
3165 * moldname-msvcrt.def: Regenerate.
3166 * moldname-crtdll.def: Regenerate.
3167 * include/fenv.h (FE_DFL_ENV): Define as (fenv_t*)0.
3168 * mingwex/fesetenv.c (FE_DFL_ENV): Use it to set environment
3169 with the _fpreset determined by startup CRT_fp object.
3171 2002-04-16 Danny Smith <dannysmith@users.sourceforge.net>
3172 * CRT_fp8.c: New file.
3173 * CRT_fp10.c: New file.
3174 * crt1.c (__CRT_PC) Declare.
3175 (__CRT_fesetenv): New static function, using _CRT_PC.
3176 (__mingw_CRTStartup):Use __CRT_fesetenv instead of _fpreset.
3177 (_gnu_exception_handler): Likewise.
3178 * Makefile.in (CRT0S): Add CRT_fp10.o.
3179 (MINGW_OBJS): Add CRT_fp8.o.
3180 (SRCDIST_FILES): Add CRT_fp8.c, CRT_fp10.c.
3181 Add CRT_fp8.o, CRT_fp10.o dependancies.
3182 * include/float.h (_fpreset): Expand comment.
3183 * include/fenv.h (FE_PC64_ENV): New define for Intel x87
3184 (extended precison) environmemt.
3185 (FE_PC53_ENV): New define for MSVCRT default environmemt.
3186 (FE_DFL_ENV): Define as FE_PC53_ENV.
3187 * mingwex/fesetenv.c: Use FE_PC53_ENV, FE_PC64_ENV to determine
3188 precision control for default environment.
3190 * include/math.h: Fix long comment line.
3191 * profile/configure.in (CRT0S): Set to both gcrt1.o and gcrt2.o
3193 * profile/configure: Regenerate.
3195 2002-04-12 Danny Smith <dannysmith@users.sourceforge.net>
3196 * mingwex/Makefile.in (DISTFILES): Add suffix to wcstof.c.
3198 2002-04-10 Danny Smith <dannysmith@users.sourceforge.net>
3199 * mingwex/mingw-fseek.c: New file, based on Mumit Khan
3200 mingw-local patch to binutils.
3201 Sun Nov 7 04:27:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
3202 (__mingw_fseek): New function to work around Win9x f/lseek bug.
3203 (__mingw_fwrite): Likewise.
3204 (__mingw_is_win9x): New helper function.
3205 * include/stdio.h (__USE_MINGW_FSEEK): New define,guarding...
3206 (__mingw_fseek): New prototype and define to replace fseek.
3207 (__mingw_fwrite): New prototype and define to replace fwrite.
3208 * mingwex/Makefile.in: Add mingw-fseek.o to libmingwex.a.
3209 * moldname-crtdll.def: Remove CR from end of line.
3210 * moldname-msvcrt.def: Ditto.
3212 2002-04-09 Danny Smith <dannysmith@users.sourceforge.net>
3213 * profile/configure.in (CRT0S): Configure name of gcrt?.o
3214 based on target, building gcrt0.o for cygwin -mno-cygwin.
3215 * profile/configure: Regenerate.
3216 * profile/Makefile.in (CRT0S): Use name from configure.
3217 (gcrt0.o): New rule.
3218 (ALL_CRT0S): New define, used to cleanup all gcrt?.o's.
3220 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3221 * include/math.h (_controlfp, _control87, _clearfp, _statusfp, _fpreset,
3222 _fpecode): Remove prototypes copied from float.h.
3223 (nan, nanf): Move into block protected against RC_INVOKED
3225 * include/stdlib.h (_Exit): Change from static inline to
3227 * mingwex/_Exit.c : New file.
3228 * mingwex/Makefile.in: Add _Exit.o to libmingwex.a.
3230 2002-04-04 Danny Smith <dannysmith@users.sourceforge.net>
3231 Add libgmon.a and libmingwex.a for cygwin -mno-cygwin.
3232 * configure.in (SUBDIRS): Add profile and mingwex to cygwin target.
3233 (configdirs): Likewise.
3234 (LIBGMON_A): Define for cygwin target as well.
3235 * configure: Regenerate.
3236 * profile/configure.in (THREAD_DLL): Remove define.
3237 (LIBM_A): Remove define.
3238 (LIBGMON_A): Define for cygwin target as well.
3239 * profile/configure: Regenerate.
3240 * profile/makefile.in (install): Install to inst_libdir and
3242 * mingwex/makefile.in (CFLAGS): Move -fomit-frame-pointer to...
3243 (OPTFLAGS): New define.
3244 (ALL_CFLAGS): Add $(OPTFLAGS).
3245 (ALL_CXXFLAGS): Same.
3246 (.c.o:): Remove ALL_CXXFLAGS.
3248 2002-03-29 Danny Smith <dannysmith@users.sourceforge.net>
3249 * include/stdint.h: Add missing newline at eof.
3250 * include/stdio.h (snprintf): Add prototype.
3251 (vsnprintf): Add prototype and inline definition.
3252 (snwprintf): Add prototype.
3253 (vsnwprintf): Add prototype and inline definition.
3254 * include/wchar.h (snwprintf): Add prototype.
3255 (vsnwprintf): Add prototype and inline definition.
3256 * mingwex/Makefile.in: Add snprintf.o, snwprintf.o
3258 * mingwex/snprintf.c: New file.
3259 * mingwex/snwprintf.c: New file.
3261 2002-03-22 Danny Smith <dannysmith@users.sourceforge.net>
3262 * configure.in: Add mingwex as SUBDIRS and configdirs.
3263 * configure: Regenerate.
3264 * Makefile.in (MINGW_OBJS): Remove dirent.o.
3265 (SRC_DIST_FILES): Remove dirent.c.
3267 * include/stdlib.h (_Exit): Add static inline
3269 (struct lldiv_t): Define.
3270 (lldiv): Add prototype.
3271 (llabs): Add extern inline function.
3272 (strtoll,strtoull): Add prototypes.
3273 (wcstol, wcstoul, wcstod): Group together.
3274 (strtof, wcstof): Add extern inline definitions.
3275 (atoll,lltoa,ulltoa, wtoll, lltow ulltow): Add prototypes
3276 and extern inline definitions.
3277 * include/wchar.h (fwide, wcstoll,wcstoull, wmemchr
3278 wmemcmp, wmemcpy, wmemmove, wmemset. mbsinit): Add
3280 (wcstol, wcstoul,wcstod): Copy prototypes from stdlib.h.
3281 (wcstof): Add extern inline definition.
3282 * include/math.h (nan, nanf): Add prototypes.
3283 (NAN, INFINITE): Define constants.
3284 (fpclassify, isnan ,signbit): Add macros and supporting float
3285 and double functions.
3286 (isfinite, isinf, isnormal): Add macros.
3287 (isgreater, isless, isgreaterequal, islessequal,islessgreater):
3289 (rint, rintf, round, roundf, trunc. truncf, fmax, fmaxf,
3290 fmin, fminf, fma, fmaf, log2, log2f): Add prototypes.
3291 (copysign, logb, nextafter, scalb): Add prototypes and
3292 inline stubs for underscored versions in msvcrt.dll.
3293 * include/inttypes.h: New file.
3294 * include/fenv.h: New file
3296 Add new mingwex subdir and files.
3297 * mingwex: New directory.
3298 * mingwex/Makefile.in: New file.
3299 * mingwex/configure.in: New file.
3300 * mingwex/configure: Generate.
3301 * mingwex/dirent.c: Moved here from parent dir.
3302 * mingwex/atoll.c: New file.
3303 * mingwex/feclearexcept.c: New file.
3304 * mingwex/fegetenv.c: New file.
3305 * mingwex/fegetexceptflag.c: New file.
3306 * mingwex/fegetround.c: New file.
3307 * mingwex/feholdexcept.c: New file.
3308 * mingwex/feraiseexcept.c: New file.
3309 * mingwex/fesetenv.c: New file.
3310 * mingwex/fesetexceptflag.c: New file.
3311 * mingwex/fesetround.o: New file.
3312 * mingwex/fetestexcept.c: New file.
3313 * mingwex/feupdateenv.c: New file.
3314 * mingwex/fma.S: New file.
3315 * mingwex/fmaf.S: New file.
3316 * mingwex/fmax.c: New file.
3317 * mingwex/fmaxf.c: New file.
3318 * mingwex/fmin.c: New file.
3319 * mingwex/fminf.c: New file.
3320 * mingwex/fp_consts.c: New file.
3321 * mingwex/fpclassify.c: New file.
3322 * mingwex/fucom.c: New file.
3323 * mingwex/fwide.c: New file.
3324 * mingwex/imaxabs.c: New file.
3325 * mingwex/imaxdiv.c: New file.
3326 * mingwex/isnan.c: New file.
3327 * mingwex/isnanf.c: New file.
3328 * mingwex/lltoa.c: New file.
3329 * mingwex/lltow.c: New file.
3330 * mingwex/log2.c: New file.
3331 * mingwex/log2f.c: New file.
3332 * mingwex/math_stubs.c: New file.
3333 * mingwex/mbsinit.c: New file.
3334 * mingwex/rint.c: New file.
3335 * mingwex/round.c: New file.
3336 * mingwex/signbit.c: New file.
3337 * mingwex/sitest.c: New file.
3338 * mingwex/strtof.c: New file.
3339 * mingwex/strtoimax.c: New file.
3340 * mingwex/strtoumax.c: New file.
3341 * mingwex/testwmem.c: New file.
3342 * mingwex/trunc.c: New file.
3343 * mingwex/ulltoa.c: New file.
3344 * mingwex/ulltow.c: New file.
3345 * mingwex/wcstof.c: New file.
3346 * mingwex/wcstoimax.c: New file.
3347 * mingwex/wcstoumax.c: New file.
3348 * mingwex/wmemchr.c: New file.
3349 * mingwex/wmemcmp.c: New file.
3350 * mingwex/wmemcpy.c: New file.
3351 * mingwex/wmemmove.c: New file.
3352 * mingwex/wmemset.c: New file.
3353 * mingwex/wtoll.c: New file.
3355 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3357 * include/mbstring.h: New file.
3358 * include/mbctype.h: New file.
3360 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3362 * include/tchar.h (__TEXT): Make same as define in
3363 w32api/include/winnt.h.
3365 2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
3367 * include/tchar.h (_tputenv): Add UNICODE mappings.
3368 (_tsearchenv): Likewise.
3369 (_tmakepath): Likewise.
3370 (_tsplitpath): Likewise.
3371 (_tfullpath): Likewise.
3373 2002-04-18 Pascal Obry <obry@gnat.com>
3375 * dirent.c (opendir): Convert given pathname to
3378 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3380 * include/_mingw.h: Increment version.
3381 * Makefile.in: Ditto.
3383 2002-04-09 Earnie Boyd <earnie@users.sf.net>
3385 * moldname-crtdll.def: Remove CR from end of line.
3386 * moldname-msvcrt.def: Ditto.
3387 * Makefile.in: Use bzip2 compression for Cygwin target.
3389 2002-04-04 Danny Smith <dannysmith@sourceforge.users.net>
3391 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
3392 TLOSS, PLOSS): Move oldname defines back, following
3393 the underscored names.
3395 2002-03-29 Danny Smith <dannysmith@sourceforge.users.net>
3397 * include/stdio.h (_snwprintf): Correct spelling.
3398 (_vsnwprintf): Likewise.
3399 * include/wchar.h (_snwprintf): Correct spelling.
3400 (_vsnwprintf): Likewise.
3402 2002-03-26 Danny Smith <dannysmith@users.sourceforge.net>
3404 * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__).
3405 (wpopen): Add if !(__CRTDLL__).
3406 * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
3408 (moldname-crtdll.def rule): Likewise.
3409 * moldname-msvcrt.def: Regenerate.
3410 * moldname-crtdll.def: Regenerate.
3411 * include/stdio.h (wpopen):Use prototype, not a define.
3412 (_swnprintf): Add prototype.
3413 (_vswnprintf): Likewise.
3415 * include/wchar.h (_swnprintf): Add prototype.
3416 (_vswnprintf): Likewise.
3419 2002-01-28 Danny Smith <dannysmith@users.sourceforge.net>
3421 * include/malloc.h (_heapinfo): Correct structure definition.
3422 (_USEDENTRY,_FREEENTRY): Add defines.
3423 Add comment on platform support for _heap* functions.
3424 (_get_sbh_threshold): Add prototype.
3425 (_set_sbh_threshold): Likewise.
3426 (_expand): Likewise.
3428 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3430 * profile/profil.c: Update copyright info.
3431 * profile/profil.h: Likewise.
3432 * profile/gcrt0.c: Likewise.
3434 2002-01-25 Pascal Obry <obry@gnat.com>
3436 * profile/profil.h (PROFADDR): Cast idx to unsigned long long to
3438 * profile/gmon.c: Define bzero as memset if mingw32.
3439 (monstartup): Use it.
3441 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3443 * include/tchar.h (_TCHAR): Add missing ;.
3445 2002-01-25 Danny Smith <dannysmith@users.sourceforge.net>
3447 * include/tchar.h (_TCHAR): Add typedefs.
3449 2002-01-16 Danny Smith <dannysmith@users.sourceforge.net>
3451 * include/stdlib.h (_onexit_t): Add typedef.
3452 (_onexit): Add prototype.
3454 2002-01-12 Danny Smith <dannysmith@users.sourceforge.net>
3456 * msvcrt.def: Revert accidental change.
3457 * include/stdlib.h: Ditto.
3459 2001-12-07 Earnie Boyd <earnie@users.sf.net>
3461 * Makefile.in: Increment VERSION.
3462 * include/_mingw.h: Ditto.
3464 2001-12-05 Earnie Boyd <earnie@users.sf.net>
3466 * include/strings.h: New File.
3468 2001-12-02 Danny Smith <dannysmith@users.sourceforge.net>
3471 2001-06-21 Mumit Khan <khan@nanotech.wisc.edu>
3473 * include/math.h (_FPCLASS* ): Add defines from float.h.
3474 (IEEE recommended functions): Add declarations from float.h.
3475 * include/float.h (_FPCLASS* ): Protect against redefinition.
3477 2001-11-29 Wu Yongwei <adah@netstd.com>
3479 * include/_mingw.h,assert.h,conio.h,ctype.h,dir.h,direct.h
3480 dirent.h,dos.h,errno.h,excpt.h,fcntl.h,float.h,io.h,
3481 limits.h,locale.h,malloc.h,math.h,process.h,setjmp.h,
3482 share.h,signal.h,stdarg.h,stddef.h,stdint.h,stdio.h,
3483 stdlib.h,string.h,tchar.h,time.h,varargs.h,wchar.h,
3484 wctype.h,sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h:
3485 Correct spelling of "disclaimed" in comments.
3486 * include/excpt.h: Another spelling correction.
3488 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
3490 * include/errno.h: Fix "errno is not a prototype" warning.
3492 2001-11-07 Danny Smith <dannysmith@users.sourceforge.net>
3494 * include/ctype.h (tolower, toupper,_tolower,_toupper): Comment
3495 differences between ANSI and non-ANSI versions.
3496 (_ctype[],_pctype): Declare vars.
3497 (__ISCTYPE): New helper macro using _pctype.
3498 (is* ctype functions): Use __ISCTYPE to define inline versions.
3499 (_toupper, _tolower, __isascii, __toascii, __iscsym, __iscsymf):
3501 (isw* ctype functions): Inline definitions.
3502 * include/wctype.h (_ctype[],_pctype): Declare vars.
3503 (isw* ctype functions): Inline definitions.
3506 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
3508 * include/float.h (_clearfp, _statusfp, _fpreset, fpreset,
3509 __fpecode): Use __STDC__ prototypes.
3512 2001-11-06 Thomas Pfaff <tpfaff@gmx.net>
3514 * mthr_stub.c (__mingwthr_remove_key_dtor) New.
3515 * mthr_init.c (DllMain) Run dtors if a process terminates.
3516 * mthr.c (__mingwthr_add_key_dtor) Removed.
3517 (___mingwthr_add_key_dtor) New.
3518 (___mingwthr_remove_key_dtor) New.
3519 (__mingwthr_run_key_dtors) Complete rewrite.
3520 (__mingwthr_remove_key_dtor) New.
3522 2001-11-05 Egor Duda <deo@logos-m.ru>
3524 * Makefile.in: Delete unused executable after creating base-files.
3526 2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
3528 * include/errno.h (_errno): Use __STDC__ prototype.
3529 Thanks to: Jim Barton.
3531 2001-11-04 "stefan" <stefan@lkcc.org>
3533 * include/sys/locking.h (_LK_UNLCK, LK_UNLCK): Correct names.
3535 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
3537 * include/io.h (_commit): Add declaration.
3538 Thanks to: "stefan" <stefan@lkcc.org>
3540 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
3542 * include/sys/stat.h: Make S_IS* macros safer.
3544 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
3546 * include/stdlib.h (EXIT_FAILURE): Change value to 1.
3548 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
3550 * include/stdlib.h (__p__environ, __p__wenviron): Use
3551 __STDC__ prototypes.
3553 2001-09-19 Earnie Boyd <earnie@SF.net>
3555 * Makefile.in: Remove the /usr from the install target.
3556 (VERSION): Increment.
3557 include/_mingw.h: Ditto.
3559 2001-09-17 Earnie Boyd <earnie@SF.net>
3561 * Makefile.in: Increment version.
3562 * include/_mingw.h: Ditto.
3564 2001-09-10 Earnie Boyd <earnie@SF.net>
3566 * dossh: Remove inadvertantly imported file.
3568 2001-09-10 Danny Smith <dannysmith@users.sourceforge.net>
3570 * dirent.c (opendir): Use GetFileAttributes rather than stat
3571 to determine if input arg is dir.
3573 2001-08-29 Danny Smith <dannysmith@users.sourceforge.net>
3575 * include/stdarg.h (va_list): Typedef as __builtin_va_list if
3577 * include/varargs.h (va_list): Ditto.
3578 * include/stdio.h (va_list): Ditto.
3580 2001-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3582 * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
3583 * include/stdio.h (_IORW): Change constant to 0x0080.
3584 (TMP_MAX): Add new define.
3586 (_wP_tmpdir): Ditto.
3587 (L_tmpnam): Change constant to 16.
3589 2001-06-28 Danny Smith <dannysmith@users.sourceforge.net>
3591 * include/malloc.h: Fix non-ANSI comment after #endif.
3593 2001-06-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3595 * profile/configure.in: Make msvcrt.dll version default.
3596 * profile/makefile.in: Build both gcrt1.o and gcrt2.o.
3597 * provile/configure: Regenerate.
3599 2001-06-11 Mattia Barbon <mbarbon@dsi.unive.it>
3601 * include/stdio.h (swscanf): Make first arugument const.
3602 * include/wchar.h (swscanf): Ditto.
3603 * include/tchar.h (_tfopen): New _UNICODE define.
3605 (_tsetlocale): Ditto.
3607 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
3609 * profile/Makefile.in (mkinstalldirs): Correct relative path.
3611 2001-06-04 Earnie Boyd <earnie@users.sourceforge.net>
3613 * include/_mingw.h: Change version to 1.0.
3616 2000-02-21 Earnie Boyd <earnie@users.sourceforge.net>
3618 * include/tchar.h: (__TEXT): Remove undef.
3622 Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
3624 * include/tchar.h: (__TEXT): Add private macro.
3625 (_TEXT): Modify definition to use __TEXT.
3627 This change allows the passing of a MACRO as an argument and have that
3628 MACRO resolved first.
3629 Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
3631 Wed Jan 31 17:12:51 2001 Earnie Boyd <earnie@users.sourceforge.net>
3633 * Makefile.in: Increment version to 0.5
3634 * include/_mingw.h: Increment minor version
3636 Tue Jan 30 13:01:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
3638 * include/assert.h: (assert): Remove ; from end of definition
3639 Thanks to: AJ Reins <tbisp@qwest.net>
3641 Tue Jan 30 07:31:22 2001 Earnie Boyd <earnie@users.sourceforge.net>
3643 * include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
3644 Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
3646 Mon Jan 29 14:03:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
3648 * time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
3650 Sun Jan 28 13:01:08 2001 Earnie Boyd <earnie@users.sourceforge.net>
3652 * include/wchar.h: The 2001.01.18 Change was incorrect. The functions
3653 are actually C functions. These functions are resolved via the
3654 -lmsvcp60 library and comments were placed in the header.
3656 2001-01-28 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3658 * include/stdlib.h (__p__pgmptr): add prototype.
3659 (__p__wpgmptr): likewise.
3660 (_pgmptr_dll): move declaration from dos.h.
3661 (_wpgmptr_dll): likewise.
3662 (_pgmptr): conditional define (MSVCT/CRTDLL).
3663 (_wpgmptr): likewise.
3664 * include/dos.h (_base*_dll variables): declare only for CRTDLL.
3665 (_os*_dll variables): likewise.
3666 (_pgmptr_dll): remove declaration and associated defines to stdlib.h.
3667 (_wpgmptr_dll): likewise.
3669 2001-01-22 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3671 * include/stdint.h: New file.
3673 Thu Jan 18 10:33:01 2001 Earnie Boyd <earnie@users.sourceforge.net>
3675 * include/wchar.h: Protect prototypes only declared in the C++ STL
3676 from being declared unless __cplusplus is defined.
3678 Tue Jan 16 11:37:31 2001 Earnie Boyd <earnie@users.sourceforge.net>
3680 * include/stdlib.h: Apply Danny Smith patch 102730
3681 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3682 (_wgetenv) Correction to return type.
3684 Tue Jan 16 09:41:41 2001 Earnie Boyd <earnie@users.sourceforge.net>
3686 * include/locale.h: Apply Danny Smith patch 101834
3687 2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3688 (LC_MIN) Add definition.
3690 (_wsetlocale) Add prototype.
3692 2000-11-29 Earnie Boyd <earnie_boyd@yahoo.com>
3694 * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
3695 Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
3696 Create a libcoldname.a for the oldname library for CRTDLL.
3697 Restrict libmoldname.a for the oldname library for MSVCRT.
3698 * configure.in: eliminate setting RUNTIME and CRT_ID variables.
3699 Restructure the $target_os case logic.
3700 Always name the MinGW thread dll helper mingwm.
3701 Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
3702 * configure: regenerate.
3704 2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com>
3706 * Makefile.in: Fix bindist target to distribute the correct files.
3707 Remove the use of SNAPSHOT variable and test SNAPDATE instead.
3708 Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
3710 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com>
3712 * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
3713 Add variables and targets to control binary and source distributions.
3714 Add variables and targets to control snapshot distribution.
3715 * profile/gmon.h: Add missing #endif for #ifndef.
3716 * profile/ChangeLog: Merge entries here and remove.
3717 * profile/Makefile.in: Add variables and targets to control
3721 * config.guess: ditto.
3722 * config.sub: ditto.
3723 * mkinstalldirs: ditto.
3724 * install-sh: ditto.
3725 * configure: regenerate.
3726 * profile/configure: ditto.
3728 2000-11-20 Earnie Boyd <earnie_boyd@yahoo.com>
3730 * Merge in changes from
3731 2000-10-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3732 * include/direct.h: add guard around MSVCRT-only prototytpes
3733 * include/io.h: add __int64 struct definitions and function prototypes;
3734 add guard for MSVCRT-only prototypes
3735 * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
3736 * include/stdio.h: add wchar function prototypes (__MSVCRT__);
3737 put wchar functions together to make sync with wchar.h easier
3738 * include/stdlib.h: add wide char functions (__MSVCRT__)
3739 * include/string.h: add string collation functions ( __MSVCRT__)
3740 * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
3741 * include/tchar.h: add macros and macro function definitions
3742 * include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
3743 enclose more functions in __MSVCRT__ guard;
3744 some oldname wide char function prototypes #if (0)'d
3745 * profile/gmon.h: add guard around BSD-ish typedefs
3747 Mon Nov 20 18:58:12 2000 Christopher Faylor <cgf@cygnus.com>
3749 * Makefile.in: Use a different variable name for subdirectory since the
3750 previous one was used by the top level make.
3752 Sun Nov 19 20:50:51 2000 Christopher Faylor <cgf@cygnus.com>
3754 * Makefile.in: Install mingw stuff in a subdirectory if building under
3757 Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
3759 * Makefile.in (subdirs): Eliminate for loop.
3761 Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
3763 * Makefile.in (subdirs): Previous change did not fix problem in
3766 Sat Jun 17 13:49:12 2000 Christopher Faylor <cgf@cygnus.com>
3768 * Makefile.in: Avoid installing dll if we're cross building and the
3769 cross-host system isn't a Windows system.
3770 * configure.in: Detect cross-hosting situation and set appropriate
3771 variables in Makefile.in.
3772 * configure: Regenerate.
3774 Wed Apr 19 13:10:54 2000 Christopher Faylor <cgf@cygnus.com>
3776 * configure.in: Change HEADER_SUBDIR to mingw32.
3777 * configure: Regenerate.
3779 Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
3781 * include/string.h: Use proper prototype for _strerror.
3783 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
3785 * Makefile.in (subdirs): Workaround for broken shells.
3787 2000-02-03 Mumit Khan <khan@xraylith.wisc.edu>
3789 * Snapshot 2000-02-03.
3791 * include/{assert.h, conio.h, ctype.h, direct.h, dirent.h, fcntl.h,
3792 float.h, io.h, locale.h, malloc.h, math.h, process.h, signal.h,
3793 stdio.h, stdlib.h, string.h, time.h, wctype.h, sys/stat.h,
3794 sys/timeb.h, sys/utime.h}: Remove parameter names to avoid namespace
3797 * Makefile.in (all): Build CRT0S first.
3798 (libmingwthrd.a): Remove thread support DLL from dependency.
3800 2000-01-21 Mumit Khan <khan@xraylith.wisc.edu>
3802 * Snapshot 2000-01-21.
3804 2000-01-20 Mumit Khan <khan@xraylith.wisc.edu>
3806 Merge in changes from Cygwin:
3807 * configure.in (HEADER_SUBDIRS): New variable. Substitute.
3808 (SUBDIRS): Likewise.
3809 * Makefile.in (HEADER_SUBDIRS): New variable.
3810 (install): Use to install Mingw headers to a subdirectory if building
3812 (DLL_CC_STUFF): Add DLL entry point.
3813 * configure: Regenerate.
3815 2000-01-19 Mumit Khan <khan@xraylith.wisc.edu>
3817 * include/stdio.h (fsetpos): Fix prototype.
3818 (fpos_t): Fix for MSVCRT.
3819 * include/float.h (fpreset): Add prototype.
3820 * include/limits.h: Define UINT_MAX, USHRT_MAX and ULONG_MAX with
3822 * include/time.h: Don't define tzname as a macro for CRTDLL, and
3823 export using libmoldname.a.
3824 * crtdll.def: Add DATA tags.
3825 * msvcrt.def: Likewise.
3826 * moldname.def.in: Likewise. Add fpreset. Export tzname for
3827 both MSVCRT and CRTDLL.
3828 * moldname-crtdll.def: Regenerate.
3829 * moldname-msvcrt.def: Regenerate.
3831 Tue Dec 21 02:22:14 1999 Mumit Khan <khan@xraylith.wisc.edu>
3833 * Snapshot 1999-12-21.
3835 * include/wctype.h: New file.
3836 * include/ctype.h (MB_CUR_MAX): Define.
3838 * include/stdlib.h (MB_CUR_MAX): Define.
3839 * include/wchar.h: Define stat, _stat structures here as well.
3840 * include/float.h: Add invalid subconditions (_SW) and floating
3841 point error (_FPE) macros.
3842 * include/time.h (_CLOCK_T): Rename macro to _CLOCK_T_DEFINED.
3843 (_TIME_T): Rename macro to _TIME_T_DEFINED.
3844 * include/sys/types.h: Likewise.
3846 Thu Nov 18 00:22:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
3848 * profile/profil.c (profile_on): Set the profiler thread priority to
3849 be time critical. Thanks to Pascal Obry <pascal_obry@csi.com>.
3850 * Snapshot 1999-11-18.
3852 Sun Nov 7 02:50:09 1999 Mumit Khan <khan@xraylith.wisc.edu>
3854 Released 1999-11-07.
3856 * Makefile.in (CRT0S): Add crtst.o.
3857 (install): Install in subdirs as well.
3858 * dirent.h (struct _stat): Rename from struct stat.
3859 * include/tchar.h: Add some new macros. Thanks to
3860 Eric Kohl <ekohl@abo.rhein-zeitung.de>.
3861 * profile/Makefile.in (install): Fix target.
3863 Thu Nov 4 14:32:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
3865 * Makefile.in: Add support for profile directory.
3866 * configure.in: Likewise.
3867 * configure: Regenerate.
3869 * profile: Imported profiling sources from winsup-19991026 snapshot.
3870 * profile/Makefile.in: New file.
3871 * profile/configure.in: New file.
3872 * profile/configure: Generate.
3873 * profile/gcrt0.c (u_char, u_short, u_int, u_long): typedef for Mingw.
3874 * profile/gmon.h (u_char, u_short, u_int, u_long): Likewise.
3875 * profile/gmon.c (unistd.h): Include conditionally.
3876 (sys/param.h): Likewise.
3877 * profile/mcount.c (sys/param.h): Likewise.
3878 * profile/profil.c (profile_on): thread id is DWORD, not int.
3881 Wed Nov 3 16:26:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
3883 * include/stdlib.h: Add wide character version of argv/environ.
3885 * include/wchar.h: More wide character prototypes.
3886 * include/sys/stat.h: Likewise. Add struct stat as well as _stat.
3888 * dllcrt1.c (init.c): Don't include.
3889 (DllMainCRTStartup): Don't call _mingw32_init_mainargs().
3890 * Makefile.in: Remove init.c from dllcrt{1,2}.c dependency lists.
3892 Sat Oct 30 03:06:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
3894 * moldname.def: Remove file.
3895 * moldname.def.in: And add this.
3896 * moldname-msvcrt.def: Generate from moldname.def.in.
3897 * moldname-crtdll.def: Likewise.
3899 * mthr.c: New file for -mthread (thread-safe C++ EH) support.
3900 * mthr_init.c: New file for -mthread (thread-safe C++ EH) support.
3901 * mthr_stub.c: New file for -mthread (thread-safe C++ EH) support.
3903 * Makefile.in: Update.
3904 * configure.in: Likewise. Also add *cygwin* target for building
3905 under Cygwin winsup.
3906 * configure: Regenerate.
3908 Fri Oct 1 11:10:30 1999 Mumit Khan <khan@xraylith.wisc.edu>
3910 * include/_mingw.h: Add version macros.
3911 * include/direct.h (_diskfree_t, getdiskfree, getdrives): Add.
3912 Also add wide character versions shared with wchar.h.
3913 * include/dos.h (_diskfree_t, getdiskfree, getdrives): Add.
3914 * include/io.h (sopen, _sopen): Fix prototype.
3915 Add wide character prototypes.
3916 * include/wchar.h: Likewise.
3917 * include/stdlib.h (beep, seterrormode, sleep): Remove non-
3918 underscored versions. Potential incompatibility.
3919 * include/time.h (daylight, timezone, tzname): Fix MSVCRT cases.
3920 Add wide character prototypes.
3921 * include/sys/timeb.h (struct _timeb): Don't use macro, but real
3924 Wed Aug 18 18:38:39 1999 Mumit Khan <khan@xraylith.wisc.edu>
3926 * configure.in (RUNTIME, CRT_ID): Add to differentiate between
3927 crtdll and msvcrt runtimes. Remove DLL_ENTRY and DEF_DLL_ENTRY
3929 * configure: Rengerate.
3930 * Makefile.in (RUNTIME, CRT_ID): Use to generate the correct
3931 dll name and crt's. CRTDLL and MSVCRT are meant to created
3932 separately, so remove all the *-msvcrt* targets.
3933 (libmingwthr.a): New target. Dummy thread support archive.
3934 (LIBS): Add libmingwthr.a.
3935 (CRT0S): Use CRT_ID. Add crtmt.o.
3936 (MINGW_OBJS): Add crtst.o.
3937 * main.c (WinMain): Fix prototype.
3938 * crtmt.c: New file.
3939 * crtst.c: New file.
3941 * include/process.h (_beginthreadex): Fix prototype.
3942 * include/_mingw.h (__int64): Define for __GNUC__.
3943 * include/tchar.h (_ttol): Add macro.
3944 * include/stdlib.h (_wtoi, _wtol, _i64toa, _ui64toa, _atoi64,
3945 _i64tow, _ui64tow, _wtoi64): Add prototypes.
3947 Reported by Emanuele Aliberti <ea@iol.it>:
3948 * include/tchar.h (_ttoi): Add macro.
3950 Reported by Ulf Moeller <3umoelle@informatik.uni-hamburg.de>:
3951 * include/stdio.h (_snprintf): Add prototype.
3952 (_vsnprintf): Likewise.
3954 Sat Aug 7 18:00:00 1999 Mumit Khan <khan@xraylith.wisc.edu>
3956 Reported by Tor Lillqvist <tml@iki.fi>:
3957 * include/stdlib.h (__p___argv): Fix return type.
3959 Fri Jul 30 22:07:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
3962 * include/errno.h (errno): It's linked in from startup, not imported.
3963 * include/stdlib.h (errno): Likewise.
3964 * include/io.h: Guard against conflicting macros and prototypes in
3966 * include/stdlib.h: Likewise.
3967 * include/string.h: Likewise.
3968 * include/time.h: Likewise.
3970 Fri Jul 30 13:47:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
3972 * include/io.h (X_OK): Fix definition. Thanks to Jan Nijtmans.
3973 * include/dos.h: Fix typo __MINGW_EXPORT->__MINGW_IMPORT.
3974 * Makefile.in (INCLUDES): Remove old windows32 include directory.
3976 * crt1.c (_gnu_exception_handler): Fix prototype.
3977 (__mingw_CRTStartup): New function based on mainCRTStartup.
3978 (mainCRTStartup): Set the app type for MSVCRT and call
3980 (WinMainCRTStartup): Likewise.
3981 * init.c (_startupinfo): Define.
3982 (_getmainargs): Add 5th parameter.
3983 (_mingw32_init_mainargs): Use.
3985 * ALL *.c files: Reformat according to GNU coding style.
3987 Fri Jul 16 00:46:04 1999 Mumit Khan <khan@xraylith.wisc.edu>
3989 * Makefile.in (INCLUDES): Add w32api include directory.
3991 * include/_mingw.h: New file.
3992 * include/{assert.h,conio.h,ctype.h,direct.h,dirent.h,dos.h,
3993 errno.h,excpt.h,fcntl.h,float.h,io.h,limits.h,locale.h,malloc.h,
3994 math.h,process.h,setjmp.h,share.h,signal.h,stdarg.h,stdio.h,
3995 stdlib.h,string.h,tchar.h,time.h,varargs.h,sys/locking.h,
3996 sys/stat.h,sys/timeb.h,sys/types.h,sys/utime.h}: Include and
3997 use the macros __DECLSPEC_SUPPORTED and __MINGW_IMPORT.
3999 * include/stdlib.h (atexit): Fix prototype.
4001 Mon Jun 14 18:38:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
4003 * include/stdio.h (_tempnam): Fix prototype.
4004 (tempnam): Likewise.
4005 * include/stdlib.h: Replace with GCC's version, and guard
4008 From Anders Norlander <anorland@hem2.passagen.se>:
4009 * include/stdlib.h (__argc): Declare.
4012 Mon Apr 5 13:49:17 1999 Mumit Khan <khan@xraylith.wisc.edu>
4014 * crt1.c (_gnu_exception_handler): Acknowledge Jacob Navia's
4016 * Makefile.in (_libm_dummy.o): New target.
4019 Tue Mar 16 18:15:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
4021 * Released 1999-03-16 along with egcs-1.1.2.
4023 Wed Feb 17 17:15:56 1999 Mumit Khan <khan@xraylith.wisc.edu>
4025 * Makefile.in (LIBS): Add libm.a.
4026 (libm.a): Dummy libm.a.
4028 * Makefile.in: Update from winsup 1999-02-08 snapshot.
4029 Preserve local changes.
4030 (mkinstalldirs): In ../, not ../../.
4031 (INCLUDES): Point to local windows32api headers and use -nostdinc.
4033 (LIBS): Add libmoldname-msvc.a.
4034 (libmoldname-msvc.a): Add target.
4035 (distclean): Add target.
4037 Tue Feb 9 00:26:05 1999 Mumit Khan <khan@xraylith.wisc.edu>
4039 * include/dir.h: Reintroduce as an obsolescent header.
4040 * crt1.c (signal.h): Include.
4041 (_gnu_exception_handler): New function to properly handle win32
4042 asynchronous signals.
4043 (mainCRTStartup): Use.
4045 Sun Jan 3 23:52:25 1999 Mumit Khan <khan@xraylith.wisc.edu>
4047 * include/direct.h: Include io.h instead of dir.h
4048 * include/dirent.h: Likewise.
4049 * include/dos.h: Likewise.
4050 * include/stdio.h: Replace reference to dir.h with io.h.
4052 Thu Dec 31 16:04:55 1998 Mumit Khan <khan@xraylith.wisc.edu>
4054 * 1999-01-01 release bundled with egcs-1.1.1.
4056 * include/io.h: Incorporate dir.h.
4057 * include/dir.h: Remove.
4058 * include/signal.h: Move RC_INVOKED up a bit.
4060 Tue Dec 29 15:04:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
4062 * include/signal.h (sig_atomic_t): Define.
4064 * include/malloc.h: Import defs from deprecated alloc.h.
4065 * include/alloc.h: Remove.
4067 From "Daniel J. Rodriksson" <djr@dit.upm.es>:
4068 * include/sys/types.h (_dev_t): Should be unsigned int for MSVCRT.
4069 * include/sys/stat.h (struct stat): st_uid is of type short. Use
4070 _off_t instead of long for st_size.
4072 Thu Sep 10 22:28:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4074 * include/errno.h (sys_errlist, sys_nerr): Move from here ...
4075 * include/stdlib.h: Here.
4077 * include/netdb.h: Remove.
4078 * include/arpa/inet.h: Remove.
4079 * include/netinet/in.h: Remove.
4080 * include/sys/socket.h: Remove.
4082 Fri Sep 4 15:09:11 1998 Mumit Khan <khan@xraylith.wisc.edu>
4086 * include/{ctype.h,dos.h,io.h,string.h,time.h,sys/types.h,
4087 sys/utime.h}: Protect stddef.h in RC_INVOKED macro.
4089 Thu Sep 3 10:43:29 1998 Mumit Khan <khan@xraylith.wisc.edu>
4091 * setjmp.h (_JBTYPE, _JBLEN): Define correctly.
4092 (jmpbuf): typedef using above.
4093 (setjmp, longjmp): Prototype using jmpbuf.
4095 Merge with Colin Peters' 980701 snapshot. I've ignored changes to
4096 obsolescent imported names, ie., from __imp__ to _imp___.
4098 Also ignored empty include/sys/param.h and incorrect
4099 include/sys/times.h.
4101 * CRTinit.c: New file.
4102 * include/{errno.h,fcntl.h,math.h,process.h} (__MSVCRT__): Use #ifdef
4104 * include/io.h (umask): Fix prototype.
4105 * include/stdlib.h (OS constants): Replace with Colin's.
4106 * include/time.h (tzset, daylight, timezone): Replace with Colin's.
4107 * include/sys/state.h: Merge.
4109 Thu Sep 3 09:49:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
4111 * include/assert.h (assert): Lose the trailing semicolon.
4113 Thu Jul 30 21:18:49 1998 Mumit Khan <khan@xraylith.wisc.edu>
4115 * include/math.h (matherr): Declare.
4116 * include/stdio.h (fileno, _fileno): Declare.
4117 * include/stdlib.h (environ, _environ): Fix to use runtime DLL.
4120 * include/stdio.h (fdopen, _fdopen): Add const.
4121 (getw, putw): Declare.
4122 * include/stdlib.h (MAX_{DRIVE,DIR,FNAME,EXT}): Fix.
4124 Sat Jun 13 18:19:41 1998 Mumit Khan <khan@xraylith.wisc.edu>
4126 * include/time.h (_timezone): Undefine.
4127 * include/sys/timeb.h (struct timeb): Rename _timezone to timezone.
4129 * include/time.h (_daylight, _timezone, _tzname, _tzset): Remove
4131 * include/stdlib.h (environ): Use DLL version.
4132 * init.c (environ): Undefine it before use.
4134 Sun Mar 22 19:59:30 1998 Mumit Khan <khan@xraylith.wisc.edu>
4136 * Update to 980309 snapshot from Colin Peters.
4138 * include/utime.h: remove
4139 * include/stdlib.h (__imp__osver_dll, __imp__winver_dll,
4140 __imp__winmajor_dll, __imp__winminor_dll): Apply Jan-Jaap's
4141 patches to define these.
4142 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4143 (_daylight, _timezone, _tzname, _tzset): Define.
4145 * include/netdb.h: Add from Colin's windows32api changes.
4146 * include/sys/socket.h: Likewise.
4147 * include/arpa/inet.h: Likewise.
4148 * include/netinet/in.h: Likewise.
4150 Wed Feb 4 14:16:44 1998 Mumit Khan <khan@xraylith.wisc.edu>
4152 * Update to 980128 snapshot from Colin Peters.
4154 Sat Dec 6 21:30:35 1997 Mumit Khan <khan@xraylith.wisc.edu>
4156 * configure.in (AC_INIT): Use dllmain.c instead of defunct
4158 * configure: Regenerate.
4160 Fri Dec 5 15:57:36 1997 Mumit Khan <khan@xraylith.wisc.edu>
4162 * Update to 971205 snapshot from Colin Peters. Lots of changes.
4163 Files renamed and include hierarchy loses directories named
4166 * include/dos.h: from Jan-Jaap.
4168 Thu Dec 4 21:48:13 1997 Mumit Khan <khan@xraylith.wisc.edu>
4170 Changes to conform to FSF tree.
4172 * crt1.c: Renamed from mcrt0.c.
4173 * dllcrt1.c: Renamed from dllcrt0.c.
4174 * Makefile.in: Update above. Also renamed libmoldnames.a to
4177 Mon Dec 1 16:51:30 1997 Mumit Khan <khan@xraylith.wisc.edu>
4179 * crtdll.def: Export all functions but the ones with funny names.
4180 * moldnames.def: Add fdopen since fileno is already there.
4181 * include/nonansi/dos.h: New file from Jan-Jaap.
4182 * include/errno.h: Add extern decl + various additions from JJ.
4183 * include/stdio.h: Likewise.
4184 * include/stdlib.h: Likewise.
4185 * include/nonansi/io.h: Likewise.
4186 * include/nonansi/process.h: Likewise.
4187 * include/sys/types.h: Likewise.
4189 Tue Nov 4 14:51:01 1997 Mumit Khan <khan@xraylith.wisc.edu>
4191 * include/time.h (CLK_TCK): Renamed from CLK_TICK.
4193 * include/stdlib.h (free): Fix prototype to return void, not void*.
4194 * include/nonansi/process.h: Add P_* and WAIT_* defs.
4196 * dllcrt0.c: Delete now-unneeded '.section .idata$3' asm hack.
4197 * mcrt0.c: Likewise.
4199 * Makefile.in (LIBS): Delete moldnames.dll from target libs.
4200 (libmoldnames.a): Add explicit rule to create it.
4202 Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com>
4204 New directory for the minimalist cygwin environment.
4206 * crtglob.c: New file. Turn on file globbing support.
4207 * crt_noglob.c: New file. Turn off file globbing support.
4208 * ctype_old.c: New file. Wrappers for functions that don't
4210 * dirent.c: New file. Directory routines readdir, opendir, closedir.
4211 * dllcrt0.c: New file. Initialization code to use crtdll.dll.
4212 * dllmain.c: New file. A stub DllMain function.
4213 * hugeval.c: New file. A gross hack to define HUGE_VAL.
4214 * init.c: New file. Common code to initialize standard file
4215 handles and command line arguments.
4216 * main.c: New file. A main for programs that only call WinMain.
4217 * mcrt0.c: New file. Default crt0 for mingw32.
4218 * oldnames.c: New File. Wrappers for functions that don't
4220 * string_old.c: New File.
4221 * include/{assert.h,ctype.h,errno.h,float.h,limits.h,locale.h
4222 math.h,nonansi,setjmp.h,signal.h,stdarg.h,stddef.h,stdio.h,stdlib.h
4223 string.h,tchar.h,time.h,wchar.h}: New header files for mingw.
4224 * include/sys/types.h: New header file for mingw.
4225 * include/nonansi/{alloc.h,conio.h,dir.h,direct.h,dirent.h
4226 fcntl.h,io.h,malloc.h,mem.h,memory.h,process.h,share.h,unistd.h
4227 utime.h,values.h,varargs.h}: New header files for mingw.
4228 * include/nonansi/sys/{fcntl.h,locking.h,stat.h,time.h
4229 timeb.h,unistd.h}: New header files for mingw.
4230 * Makefile.in,configure.in: Build and configure support.
4231 * configure: Generated from autoconf 2.12 with Cygnus patches.