Chris Sutcliffe
4694cc18c2
2007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Makefile.in: Add libmsvcr90.a and libmsvcr90d.a targets.
* msvcrt.def.in: Add support for __msvcr90__ and __msvcr90d__ defines.
* mingwex/math/log10f.S: Correct issue with comments.
* mingwex/math/log10l.S: Ditto.
* mingwex/math/log1p.S: Ditto.
* mingwex/math/log1pf.S: Ditto.
* mingwex/math/log1pl.S: Ditto.
* mingwex/math/log2.S: Ditto.
* mingwex/math/log2f.S: Ditto.
* mingwex/math/log2l.S: Ditto.
* mingwex/math/logf.S: Ditto.
* mingwex/math/logl.S: Ditto.
2007-11-27 02:14:19 +00:00
Chris Sutcliffe
b980db14b8
2007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
...
* mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
2007-10-03 20:45:58 +00:00
Danny Smith
c67e696c47
Committed as obvious:
...
2007-09-24 David C. Daeschler <daveregs@rsaisp.com>
* mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l'
case. Add missing break in 's'/LEN_S case.
2007-09-23 22:23:18 +00:00
Keith Marshall
01cd95204e
Make snprintf() and vsnprintf() conform to C99.
2007-08-25 13:49:37 +00:00
Danny Smith
b363c819dd
* mingwex/gdtoa/mingw_snprintf.c: New file.
...
* mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
(GDTOA_OBJS): Add mingw_snprintf.O.
2007-06-29 10:11:57 +00:00
Danny Smith
8820b5ec12
* mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.
...
Good night all.
2007-06-22 10:22:49 +00:00
Danny Smith
e54e4d47f1
Add POSIX binary tree search API.
...
* mingwex/tfind.c: New file.
* mingwex/tdelete.c: New file.
* mingwex/tsearch.c: New file.
* mingwex/twalk.c: New file.
* mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c.
* mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o.
* include/search.h (tfind): Declare.
(tdelete): Declare.
(tsearch): Declare.
(twalk): Declare.
(ENTRY): Define.
(ACTION): Define.
(VISIT): Define.
(node_t): Define, on condition of _SEARCH_PRIVATE.
2007-06-22 10:09:20 +00:00
Keith Marshall
af8e63023a
Make basename and dirname functions work with path names
...
containing multibyte character strings.
2007-03-08 23:15:58 +00:00
Danny Smith
5643b1ee86
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
...
to stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
2007-03-05 07:42:36 +00:00
Danny Smith
18c27356c4
* Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
...
(ALL_CXXFLAGS): Likewise.
* mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
2007-02-14 23:42:07 +00:00
Keith Marshall
724dbeea36
* include/libgen.h: New file; required by...
...
* mingwex/basename.c, mingwex/dirname.c: New files.
* mingwex/Makefile.in (DISTFILES): Add them...
(POSIX_OBJS): ...with corresponding basename.o, dirname.o
(Dependencies): Typo; s/Dependancies/Dependencies/
2006-12-31 18:03:33 +00:00
Danny Smith
5f2d9e5fac
* Makefile.in: Add aclocal.m4:to source release.
...
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
2006-11-21 09:30:15 +00:00
Danny Smith
c0b5e094e2
* mingwex/mb_wc_common.h (get_codepage): Get it
...
from __lc_codepage.
2006-09-19 09:09:58 +00:00
Danny Smith
dad3363707
* mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity. Use fpclassify.
...
* mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to void*.
* mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with others.
2006-09-17 22:27:56 +00:00
Danny Smith
3e231d9a38
* mingwex/gdtoa/strtopx.c (strtopx): Fix (sic) infinity.
2006-09-16 07:35:45 +00:00
Danny Smith
ab1d66234a
* mingwex/gdtoa/misc.c (pow5mult): Restore original code.
...
* mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
* mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.
2006-09-06 22:03:16 +00:00
Danny Smith
e635b30956
Import David Gay's gdtoa library.
...
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-08-31 23:48:56 +00:00
Danny Smith
bb1a7afa67
* include/ctype.h (_BLANK): Expand comment.
...
(isblank): Add prototype and inline definition.
(iswblank): Add prototype and inline definition.
* include/wctype.h (iswblank): Add prototype and inline definition.
* mingwex/isblank.c: New file.
* mingwex/iswblank.c: New file.
* mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
2006-08-03 07:44:30 +00:00
Danny Smith
66e7d55998
* mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
2006-07-03 20:51:58 +00:00
Danny Smith
f34428eb35
Support SSE float environment in fenv.h functions.
...
* cpu_features.c: New file.
* cpu_features.h: New file.
* crt1.c: Include "cpu_features.h".
(__mingw_CRTStartup): Call cpu_features_init().
* Makefile.in (MING_OBJS): Add cpu_features.c.
(SRCDIST_FILES): Add cpu_features.c, cpu_features.h.
* include/fenv,h ( fenv_t;): Append __mxcsr field.
(__MXCSR_EXCEPT_FLAG_SHIFT): New define.
(__MXCSR_EXCEPT_MASK_SHIFT): New define.
(__MXCSR_ROUND_FLAG_SHIFT): New define.
* mingwex/feclearexcept.c: Include "cpu_features.h".
Handle SSE environment.
* mingwex/fegetenv.c: Likewise.
* mingwex/feholdexcept.c: Likewise.
* mingwex/fesetenv.c: Likewise.
* mingwex/fesetexceptflag.c: Likewise.
* mingwex/fesetround.c: Likewise.
* mingwex/fetestexcept.c: Likewise.
* mingwex/feupdateenv.c: Likewise.
* mingwex/fegetround.c: Add comment.
2006-07-03 10:32:58 +00:00
Danny Smith
4a7163e8a0
* mingwex/math/tgamma.c (SQTPI): Add braces.
2006-06-26 00:56:40 +00:00
Danny Smith
1dcd64ff55
* mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
...
* mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
(LS2PI): Likewise.
* mingwex/math/sf_erf.c (erff): Initialize z.
(erfcf): Likewise.
* mingwex/math/tgamma.c (SQTPI): Avoid type punning.
2006-06-26 00:53:34 +00:00
Danny Smith
71bbb04de9
* mingwex/dirent.c (_tGetFileAttributes): New helper function.
...
(_topendir): Use it.
2006-06-18 08:43:34 +00:00
Danny Smith
5ade5bb0ea
* include/sys/time.h: Add header guard. Add extern "C" bracketing
...
for __cplusplus.
(gettimeofday): Add prototype.
* mingwex/gettimeofday.c: New file.
* mingwex/makefile.in: Add gettimeofday source and object.
2006-06-18 08:16:55 +00:00
Danny Smith
a91cc828cc
* mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
2006-06-12 21:48:08 +00:00
Christopher Faylor
99fc5e10f3
update to newer autoconf
2006-05-24 16:59:03 +00:00
Danny Smith
01668fecd4
* mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.
...
Use supplied codepage as arg to WideCharToMultiByte.
2006-05-17 07:49:39 +00:00
Danny Smith
0efe737420
* mingwex/complex/csqrt.c (csqrt): The sign of real part
...
of result is positive when real part of arg == 0;
* mingwex/complex/csqrtf.c (csqrtf): Ditto.
* mingwex/complex/csqrtl.c (csqrtl): Ditto.
2005-10-12 06:46:18 +00:00
Danny Smith
a174593722
* mingwex/fegetenv.c (fegetenv): Restore exception masks.
...
* mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
to non-stop. Use "fnclex" to clear exception flags.
2005-10-08 02:14:45 +00:00
Danny Smith
9e28e551f2
* mingwex/fe*.c: Revert previous changes.
...
* include/fenv.h: Revert previous changes.
Add Changelog entry for the reverted change.
2005-08-25 08:39:54 +00:00
Danny Smith
5092e4a714
* mingwex/feclearexcept.c (feclearexcept): Change declaration.
...
Do not return a value.
* mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
* mingwex/feraiseexcept.c (feraiseexcept): Likewise.
* mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
* mingwex/fegetenv.c (fegetenv): Likewise.
* mingwex/fesetenv.c (fesetenv): Likewise.
* mingwex/feupdateenv.c (feupdateenv): Likewise.
* include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
prototypes.
2005-08-25 02:35:34 +00:00
Danny Smith
03ee0ba163
* mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
...
getting filelength for SEEK_END.
2005-08-25 02:04:59 +00:00
Danny Smith
96c837f0ca
* mingwex/math/nexttoward.c: New file.
...
* mingwex/math/nexttowardf.c: New file.
* mingwex/math/nextafterl.c: Add nexttowardl aliaa.
* mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
mexttowardf.c,
(MATH_OBJS): Add nexttoward.o, mexttowardf.o,
* include/math.h (nexttoward, nextowardf, nexttowardl): Add
prototypes.
2005-05-10 08:39:07 +00:00
Danny Smith
5b91f0a6ef
* mingwex/math/nextafterf.c (nextafterf): Correct
...
handling of -0.0.
* mingwex/math/nextafterl.c: New file.
* mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
(MATH_OBJS): Add nextafterl.o.
* include/math.h (nextafterl): Uncomment prototype.
2005-05-09 09:36:10 +00:00
Danny Smith
02626f616d
* mingwex/math/erfl.c: New file.
...
* mingwex/Makefile.i (MATH_DISTFILES): Add erfl.c.
(MATH_OBJS): Add erfl.o.
* include/math.h (erfl, erfcl): Uncomment prototypes.
2005-05-08 08:07:18 +00:00
Danny Smith
8559dd92d0
* mingwex/math/signbit.c (__signbit): Make return value
...
consistent with GCC's __builtin_signbit.
* mingwex/math/signbitf.c (__signbitf): Likewise.
* mingwex/math/signbitf.c (__signbitl): Likewise.
* include/math.h (__signbit, __signbitf, __signbitl): Likewise
for inlines.
2005-05-03 08:39:19 +00:00
Danny Smith
38efa5f128
* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
...
variadic macro.
* mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
Remove unused MBTOWC_FLAGS define.
2005-05-02 08:03:34 +00:00
Danny Smith
6fbeb6a3f0
* mingwex/mbrtowc.c: New file.
...
* mingwex/wcrtomb.c: New file.
* mingwex/btowc.c: New file.
* mingwex/wctob.c: New file.
* mingwex/mb_wc_common.h: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(Q8_OBJS): Add new objects.
* include/wchar.h: Adjust comment about mbrtowc() and related
funcions. Add __restrict__ to pointer params in prototypes.
(wmemset. wmemchr, wmemcpy, wmemmove, wcstoll, wcstoull): Remove
arg names from protototypes.
2005-04-24 11:30:27 +00:00
Danny Smith
4fc953d6a1
2005-04-23 Wu Yongwei <adah@sh163.net>
...
mingwex/dirent.c: Formatting changes.
mingwex/dirent.c (_topendir): Make the end-of-path slash check
MBCS-safe.
2005-04-24 10:26:37 +00:00
Danny Smith
bc47d398b2
* include/stdio.h (__mingw_fwrite): Change return value to
...
size_t.
* mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
2005-03-24 05:58:52 +00:00
Danny Smith
7e9439a0eb
* mingwex/wctype.c: New file.
...
* mingwex/wctrans.c: New file.
* mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
* mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.
2005-02-25 01:43:43 +00:00
Danny Smith
ba16f5aa83
2005-02-11 Gregory W. Chicares <chicares at cox dot net>
...
Danny Smith <dannysmith@users at sourceforge dot net>
* include/math.h (expm1, expm1f, expmll): Add prototypes.
* mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
expm1f.c, expm1l.c.
(MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
* mingwex/math/expm1.c: New file.
* mingwex/math/expm1f.c: New file.
* mingwex/math/expm1l.c: New file.
2005-02-11 04:15:17 +00:00
Danny Smith
d93998b17a
* mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
...
string is not valid.
2005-02-01 03:51:21 +00:00
Danny Smith
4073a59300
* mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
...
casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
ctanl.c ctanhl.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS): Adjust.
* include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
Declare.
2005-01-10 05:03:55 +00:00
Danny Smith
9a3412eea8
* mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
...
casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
ctanf.c ctanhf.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS(: Adjust.
* include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
Declare.
2004-12-25 23:56:19 +00:00
Danny Smith
72db1c11e9
* include/math.h (ashinh, asinhf, asinhl, acosh, acoshf, acoshl,
...
atanh, atanhf, atanhl): Add prototypes.
* mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
(MATH_DISTFILES): Add sources for above and fastmath.h to list.
Specify dependency on fastmath.h for new objects.
* mingwex/math/fastmath.h: New file.
* mingwex/math/ashinh.c: New file.
* mingwex/math/asinhf.c: New file.
* mingwex/math/asinhl.c: New file.
* mingwex/math/acosh.c: New file.
* mingwex/math/acoshf.c: New file.
* mingwex/math/acoshl.c: New file.
* mingwex/math/atanh.c: New file.
* mingwex/math/atanhf.c: New file.
* mingwex/math/atanhl.c: New file.
2004-10-06 20:31:32 +00:00
Earnie Boyd
71c68d9607
* mingwex/Makefile.in: Correct typo in list of DISTFILES.
2004-09-05 14:15:01 +00:00
Danny Smith
d5afcd86f9
* include/malloc.h (__mingw_aligned_offset_malloc,
...
__mingw_aligned_offset_realloc, __mingw_aligned_malloc,
__mingw_aligned_realloc, __mingw_aligned_free): Add
prototypes.
* mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
tst-aligned-malloc.c.
(REPLACE_OBJS): Add mingw-aligned-malloc.o.
2004-08-24 09:02:45 +00:00
Danny Smith
a6c2ea7e7c
2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
...
* mingwex/mingw-aligned-malloc.c: New file.
* mingwex/tst-aligned-malloc.c: New file.
2004-08-24 08:55:42 +00:00
Danny Smith
48a27980be
* mingwex/fopen64.c: Move.
...
* mingwex/fseeko64.c: Move.
* mingwex/ftello64.c: Move.
* mingwex/lseek64.c: Move.
* mingwex/stdio/fopen64.c: To here.
* mingwex/stdio/fseeko64.c: To here.
* mingwex/stdio/ftello64.c: To here.
* mingwex/stdio/lseek64.c: To here.
White space cleanup in ChangeLog
2004-08-15 11:28:09 +00:00