summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/mingwex
Commit message (Collapse)AuthorAgeFilesLines
* * include/math.h (ashinh, asinhf, asinhl, acosh, acoshf, acoshl,Danny Smith2004-10-0611-2/+377
| | | | | | | | | | | | | | | | | 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.
* * mingwex/Makefile.in: Correct typo in list of DISTFILES.Earnie Boyd2004-09-051-1/+1
|
* * include/malloc.h (__mingw_aligned_offset_malloc,Danny Smith2004-08-241-5/+6
| | | | | | | | | __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 Steven G. Johnson <stevenj@alum.mit.edu>Danny Smith2004-08-242-0/+210
| | | | | * mingwex/mingw-aligned-malloc.c: New file. * mingwex/tst-aligned-malloc.c: New file.
* * mingwex/fopen64.c: Move.Danny Smith2004-08-154-0/+0
| | | | | | | | | | | | * 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
* * mingwex/stdio/vwscanf.c: Add stdio.h needed after 2004-08-07 change.Christopher Faylor2004-08-091-0/+1
|
* * mingwex/math/powl.c (powl): Revert change of 2004-02-01.Danny Smith2004-07-281-14/+35
| | | | | | (__convert_inf_to_maxnum): New.static inline. (reducl): Use it to protect against Inf - Inf. (__fast_ldexpl): New function. Use in lieu of ldexpl.
* * mingwex/math/expl.c (expl): Move body of code to new staticDanny Smith2004-07-271-20/+14
| | | | | function __expl, removing tests for +/-Inf. Extern function expl calls __expl after testing for max, min log thresholds.
* * mingwex/stdio/vsscanf.c: Add "edi" to registers-modified fieldDanny Smith2004-07-272-2/+2
| | | | | | * mingwex/stdio/vfscanf.c: Likewise. * mingwex/stdio/vswscanf.c: Likewise. * mingwex/stdio/vfwscanf.c: Likewise.
* * include/_mingw.h: Use only two underscores to uglifyDanny Smith2004-07-262-2/+2
| | | | | | | | | | __MINGW_ATTRIB_* macros. * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens. * includ/setjmp.h: Likewise. * include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent string functions. (_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
* * mingwex/complex/cargs.c: New file.Danny Smith2004-07-152-2/+11
| | | | * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
* * Makefile.in (INCLUDES): Temporarily revert previous change.Corinna Vinschen2004-07-151-2/+2
| | | | | | * mingwex/Makefile,in (INCLUDES): Ditto. * profile/Makefile,in (INCLUDES): Ditto. * mingwex/Makefile,in: Drop carg.o dependency.
* * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.Christopher Faylor2004-07-151-0/+1
|
* * Makefile.in (INCLUDES): Designate $(srcdir)/../include as aDanny Smith2004-07-141-4/+4
| | | | | | | | system dir. * mingwex/Makefile,in (INCLUDES): Ditto. * profile/Makefile,in (INCLUDES): Ditto. * mingwex/Makefile,in: Add carg.o to libmingwex.a.
* * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use itEarnie Boyd2004-07-131-2/+2
| | | | | | for C modules. * mingwex/Makefile.in: Ditto. * profile/Makefile.in: Ditto.
* * mingwex/math/cephes_emath.h (__etens): Remove declaration.Danny Smith2004-07-121-2/+0
|
* * include/unistd.h (ftruncate): Add inline definition.Danny Smith2004-07-112-3/+8
| | | | | * mingwex/ftruncate.c: New file. * mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
* 2 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,Danny Smith2004-07-021-2/+2
| | | | | | (MATH_OBJS): Remove pow,o. * include/math.h (pow): Declare with _CRTIMP. Add comment on how to avoid excess precision problems.
* 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>Danny Smith2004-06-306-12/+85
| | | | | | | | | | | | | | | | | | | | | | | | Danny Smith <dannysmith@users.sourceforge.net> * include/stdio.h (fopen64): Add inline function. (fseeko64): Add prototype. (ftello64): Add inline function. * include/io.h (lseek64): Add inline function. * include/sys/types (off64_t): Add typedef. (fpos64_t): Add typedef. * mingwex/fopen64.c: New file. * mingwex/fseeko64.c: New file. * mingwex/ftello64.c: New file. * mingwex/lseek64.c: New file. * mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c, fseeko.64.c, ftello64.c, lseek64.c. (STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o. 2004-06-30 Danny Smith <dannysmith@users.sourceforge.net> * include/stdio.h (__mingw_fseeko64): Add prototype. * mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition. (__mingw_fwrite): Handle huge files.
* * mingwex/math/lround.c: Rewrite.Danny Smith2004-04-226-116/+92
| | | | | | | | * mingwex/math/lroundf.c: Rewrite. * mingwex/math/lroundl.c: Rewrite. * mingwex/math/llround.c: Rewrite. * mingwex/math/llroundf.c: Rewrite. * mingwex/math/llroundl.c: Rewrite.
* * CONTRIBUTORS: New file.Earnie Boyd2004-04-201-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DISCLAIMER: Ditto. * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors section CONTRIBUTORS file. Remove RCS tags. * CRTFmode.c: Ditto. * CRTglob.c: Ditto. * CRTinit.c: Ditto. * crt1.c: Ditto. * crtdll.dev: Ditto. * dllcrt1.c: Ditto. * dllmain.c: Ditto. * gccmain.c: Ditto. * init.c: Ditto. * isascii.c: Ditto. * iscsym.c: Ditto. * iscsymf.c: Ditto. * jamfile: Ditto. * main.c: Ditto. * msvcrt.def.in: Ditto. * strcasecmp.c: Ditto. * toascii.c: Ditto. * wcscmpi.c: Ditto. * include/assert.h: Ditto. * include/conio.h: Ditto. * include/ctype.h: Ditto. * include/direct.h: Ditto. * include/dirent.h: Ditto. * include/dos.h: Ditto. * include/errno.h: Ditto. * include/excpt.h: Ditto. * include/fcntl.h: Ditto. * include/float.h: Ditto. * include/io.h: Ditto. * include/locale.h: Ditto. * include/malloc.h: Ditto. * include/math.h: Ditto. * include/process.h: Ditto. * include/setjmp.h: Ditto. * include/share.h: Ditto. * include/signal.h: Ditto. * include/stdio.h: Ditto. * include/stdlib.h: Ditto. * include/string.h: Ditto. * include/tchar.h: Ditto. * include/time.h: Ditto. * include/wchar.h: Ditto. * include/sys/locking.h: Ditto. * include/sys/param.h: Ditto. * include/sys/stat.h: Ditto. * include/sys/timeb.h: Ditto. * include/sys/types.h: Ditto. * include/sys/utime.h: Ditto. * mingwex/dirent.c: Ditto.
* * mingwex/math/round.c: Rewrite.Danny Smith2004-03-293-79/+15
| | | | | * mingwex/math/roundf.c: Rewrite. * mingwex/math/roundl.c: Rewrite.
* * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as perDanny Smith2004-02-051-1/+5
| | | | NetBSD getopt_long.c.
* * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting errorDanny Smith2004-02-051-87/+115
| | | | codes and handling of special chars.
* * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")Danny Smith2004-02-011-8/+13
| | | | directly, rather than via scabnl.
* * mingwex/math/powl.c (powl): Return infinity ifDanny Smith2004-02-011-0/+8
| | | | | extended precision multiplication of x by log2(y) overflows.
* * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.Danny Smith2004-01-311-10/+13
| | | | | (__enan_NI16): Fix another one. (__enan_NBITS): Tidy.
* Add ISO C99 complex support for doubles.Danny Smith2003-10-2121-2/+627
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/complex.h: New file. * mingwex/complex: New directory. * mingwex/complex/cabs.c: New file. * mingwex/complex/cacos.c: New file. * mingwex/complex/cacosh.c: New file. * mingwex/complex/casin.c: New file. * mingwex/complex/casinh.c: New file. * mingwex/complex/catan.c: New file. * mingwex/complex/catanh.c: New file. * mingwex/complex/ccos.c: New file. * mingwex/complex/ccosh.c: New file. * mingwex/complex/cexp.c: New file. * mingwex/complex/cimag.c: New file. * mingwex/complex/clog.c: New file. * mingwex/complex/cpow.c: New file. * mingwex/complex/cproj.c: New file. * mingwex/complex/creal.c: New file. * mingwex/complex/csin.c: New file. * mingwex/complex/csinh.c: New file. * mingwex/complex/csqrt.c: New file. * mingwex/complex/ctan.c: New file. * mingwex/complex/ctanh.c: New file. * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of files. (dist): Use it. (COMPLEX_OBJS): New list of objects. (LIB_OBJS): Include it in the library.
* * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):Danny Smith2003-10-211-3/+23
| | | | | Use GCC __builtin's if available. (INFINITY, INFINITYF, INFINITYL): Likewise.
* * mingwex/math/s_erf.c (erf): Set errno to ERANGE ifDanny Smith2003-10-212-1/+9
| | | | | beyond approximation limit. * mingwex/math/sf_erf.c (erff): Likewise.
* * mingwex/dirent.c (_treaddir): Reset errno to 0 if endDanny Smith2003-10-021-1/+6
| | | | of directory.
* 2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>Danny Smith2003-09-221-2/+2
| | | | | * mingwex/dirent.c (_topendir): Allocate enough memory for DIR struct in UNICODE case too.
* * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.Danny Smith2003-07-035-23/+23
| | | | | | | * mingwex/math/truncf.c (truncf): Likewise. * mingwex/math/truncl.c (truncl): Likewise. * mingwex/math/modff.c (modff): Likewise. * mingwex/math/modfl.c (modfl): Likewise.
* * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):Earnie Boyd2003-07-013-8/+8
| | | | Rename to Small (case difference).
* * include/dirent.h (dirent): Make d_name and array instead of a pointer.Earnie Boyd2003-06-181-9/+3
| | | | | | | * mingwex/dirent.c: Modifications througout to fill d_name array. * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and libmsvcr71, including debug versions. (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
* Uh hum, just not my dayEarnie Boyd2003-05-062-2/+2
|
* * configure: RegenerateEarnie Boyd2003-05-061-1/+1
|
* * configure.in (W32API_INCLUDE): Need the -I switch in the value.Earnie Boyd2003-05-061-1/+1
| | | | | * mingwex/configure.in (W32API_INCLUDE): Ditto. * profile/configure.in (W32API_INCLUDE): Ditto.
* * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilitesEarnie Boyd2003-05-063-5/+11
| | | | | | | | | | | | | | | | | | of multiply defined symbols if the symbols is defined locally. E.G.: A local definition of malloc causes this problem. * configure: Regenerate. * profile/Makefile.in (W32API_INCLUDE): New variable. (ALL_CFLAGS): Use W32API_INCLUDE value. (ALL_CXXFLAGS): Ditto. (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS. Thanks to Jeff Bonggren <jbon@users.sf.net>. * profile/configure.in (W32API_INCLUDE): Set default value. * profile/configure: Regenerate. * mingwex/Makefile.in (W32API_INCLUDE): New variable. (ALL_CFLAGS): Use W32API-INCLUDE value. (ALL_CXXFLAGS): Ditto. * mingwex/configure.in (W32API_INCLUDE): Set default value. * mingwex/configure: Regenerate.
* Get rid of some warnings Danny Smith2003-03-178-11/+21
| | | | | | | | | | | | | * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning. * mingwex/strtoimax.c (strtoimax): Likewise. * mingwex/wcstoimax.c (wcstoimax): Likewise. * mingwex/wtoll.c (wtoll): Remove unnecessary ';' * mingwex/fesentenv.c: Include float.h. * mingwex/math/powl.c: Eliminate type punning/strict aliasing warning. * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in constants. * mingwex/math/tgammal.c: Likewise.
* 2003-03-03 Christopher Faylor <cgf@redhat.com>Danny Smith2003-03-031-18/+28
| | | | * mingwex/getopt.c: Refresh from NetBSD sources.
* * mingwex/getopt.c: New file, copied from cygwin srcs.Danny Smith2003-03-032-6/+498
| | | | | | | * include/getopt.h: New file, copied from cygwin srcs. * include/unistd.h: Include getopt.h. * mingwex/Makefile.in ((DISTFILES): Add getopt.c. (POSIX_OBJS): Add getopt.o.
* 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-03-0211-9/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/stdio.h (vscanf): Add prototype. (vfscanf): Ditto. (vsscanf): Ditto. (vwscanf): Ditto. (vfwscanf): Ditto. (vswscanf): Ditto. * include/wchar.h (vwscanf): Add prototype. (vfwscanf): Ditto. (vswscanf): Ditto. * mingwex/snprintf.c: Move to mingwex/stdio. * mingwex/vsnprintf.c: Ditto. * mingwex/snwprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto. * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio (STDIO_DISTFILES): Add. (DISTFILES): Adjust. (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects. (LIB_OBJS): Adjust. (dist): Adjust. 2003-03-02 Aaron W LaFramboise <AWLaFramboise@aol.com> * mingwex/stdio: New directory * mingwex/stdio/vfscanf.c: New file. * mingwex/stdio/vfwscanf.c: New file. * mingwex/stdio/vscanf.c: New file. * mingwex/stdio/vsscanf.c: New file. * mingwex/stdio/vswscanf.c: New file. * mingwex/stdio/vwscanf.c: New file.
* * mingwex/math/cephes_emath.h: Don't redefine INFINITY.Danny Smith2003-02-101-1/+0
|
* * mingwex/mingw-fseek.c (INLINE): Remove define.Danny Smith2003-01-261-33/+2
| | | | | (__mingw_is_win9x): Remove static inline function. (_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
* * mingwex/math/llround.c: Correct function name andDanny Smith2003-01-111-3/+3
| | | | change return value to long long.
* * mingwex/math/s_erf.c: New file.Danny Smith2002-12-083-8/+609
| | | | | | | | * mingwex/math/sf_erf.c: New file. * mingwex/Makefile.in (MATH_DISTFILES): Add new files. (MATH_OBJS): Add new objects. * include/math.h (erf[f]): Add prototypes. (erfc[f]): Add prototypes.
* * mingwex/math/lgamma.c: New file.Danny Smith2002-11-278-4/+2285
| | | | | | | | | | | | | | | * mingwex/math/lgammaf.c: New file. * mingwex/math/lgammal.c: New file. * mingwex/math/tgamma.c: New file. * mingwex/math/tgammaf.c: New file. * mingwex/math/tgammal.c: New file. * mingwex/math/cephes_mconf (polevlf): Add float version. (p1evlf): Likewise. Define _CEPHES_USE_ERRNO. * mingwex/Makefile.in (MATH_DISTFILES): Add new files. (MATH_OBJS): Add new objects. * include/math.h (lgamma[fl]): Add prototypes. (tgamma[fl]): Add prototypes.
* Add strtold and wcstold to libmingwex.aDanny Smith2002-11-266-8/+3119
| | | | | | | | | | | | | | | | | * mingwex/strtold.c: New file. * mingwex/wcstold.c: New file. * mingwex/ldtoa.c: New file. * mingwex/math/cephes_emath.h: New file. * mingwex/math/cephes_emath.c: New file. * mingwex/Makefile.in (DISTFILES): Add new files. (MATH_DISTFILES): Ditto. (STDLIB_OBJS): New. Define as strtold.c wcstold.c. (MATH_OBJS): Add cephes_emath.o. (LIB_OBJS): Add $(STDLIB_OBJS). * include/stdlib.h (strtold, wcstold): Add prototypes. * include/wchar.h (wcstold): Add prototype. Add missing ChangeLog entry for 2002-11-09.
* * include/math.h (sqrt): Remove inline definition.Danny Smith2002-11-092-6/+29
| | | | | | | | | | (sqrtf): Replace inline definition with prototype. (sqrtl): Likewise. * mingwex/math/sqrtf.c (sqrtf): Set domain error if argument less than zero. * mingwex/math/sqrtf.c (sqrtl): Likewise. Correct typo in 2002-10-30 ChangeLog entry.