aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-08-21 * include/sys/param.h: New File.Earnie Boyd2-0/+35
2002-08-21 * include/_mingw.h: Increment version to 2.2.Earnie Boyd3-2/+7
Makefile.in: Ditto.
2002-08-21 * include/commctrl.h (NMCUSTOMDRAW): Fix lItemlParam.Earnie Boyd2-1/+6
Thanks to: "Phil Dempster" <p_dempster@yahoo.co.uk>.
2002-08-20 * include/math.h (asm): Change to __asm__ throughout.Danny Smith2-14/+20
Expose ISO C99 functions if __GLIBCPP__. (hypotf): Use hypot, not _hypot in stub..
2002-08-20 * include/tchar.h: Ansi-fy another comment.Danny Smith2-2/+6
2002-08-20 * include/tchar.h: Ansi-fy comment.Danny Smith2-2/+5
2002-08-20 * test_headers.c : New file.Danny Smith3-1/+77
* Makefile.in (test_headers): New target, using it, (SRCDIST_FILES): Distribute it.
2002-08-202002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>Jeff Johnston2-1/+10
* libc/stdlib/mallocr.c: #include windows.h on Win32. (AlignPage): Continue macro on next line.
2002-08-20* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.Alexandre Oliva3-5/+11
* configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET, CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise.
2002-08-202002-08-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+686
* libc/sys/linux/include/pthread.h: New file.
2002-08-202002-08-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston7-30/+50
* libc/include/sys/types.h: Support __need_inttypes macro that only sets the __intxx and __uintxx types. * libc/machine/powerpc/Makefile.am: Add stdlib to include directories to get mprec.h. * libc/machine/powerpc/Makefile.in: Regenerated. * libc/machine/powerpc/vfprintf.c: Fix state variable type. * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove redundant fixed-point conversion prototypes. * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h> after setting __need_inttypes.
2002-08-20 * include/ws2spi.h: Modify comment about being part ofDanny Smith2-2/+7
mingw32 package. (winsock2.h): Change "" to <>.
2002-08-202002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith3-0/+207
* include/ws2spi.h: New file. * lib/test.c: Include ws2spi.h.
2002-08-20 * include/winsock2.h (WSAIsBlocking,WSAUnhookBlockingHook,Danny Smith2-3/+9
WSASetBlockingHook,WSACancelBlockingCall): Expose deprecated functions.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+37
From matthew green <mrg@redhat.com> * ppc.h (PPC_OPCODE_SPE): New opcode flag for Powerpc e500 instructions. (PPC_OPCODE_ISEL, PPC_OPCODE_BRLOCK, PPC_OPCODE_PMR, PPC_OPCODE_CACHELCK, PPC_OPCODE_RFMCI): New opcode flags for the e500x2 Integer select, branch locking, performance monitor, cache locking and machine check APUs, respectively. (PPC_OPCODE_EFS): New opcode type for efs* instructions. (PPC_OPCODE_CLASSIC): New opcode type for Classic PowerPC instructions.
2002-08-19* pinfo.h (pinfo::remember): Arrange for destructor call if proc_subprocChristopher Faylor3-5/+17
returns error. * sigproc.cc (zombies): Store 1 + total zombies since proc_subproc uses NZOMBIES element.
2002-08-19 * pwdgrp.h (pwdgrp_read::pwdgrp_read): Remove.Corinna Vinschen2-13/+10
(pwdgrp_read::~pwdgrp_read): Ditto. (pwdgrp_read::open): Reset fh to NULL instead of INVALID_HANDLE_VALUE. (pwdgrp_read::close): Ditto.
2002-08-19* fhandler.h (fhandler_console::send_winch_maybe): New method.Christopher Faylor4-25/+45
* fhandler_console.cc (set_console_state_for_spawn): Remove if 0'ed code. (fhandler_console::send_winch_maybe): Define new method. (fhandler_console::read): Use send_winch_maybe where appropriate. (fhandler_console::init): Just call all tcsetattr rather than output_tcsetattr. * select.cc (peek_console): Reorganize so that send_winch_maybe is called for everything but keyboard input.
2002-08-18* libc/include/sys/unistd.h: Add getsid declaration for cygwin.Christopher Faylor2-0/+7
2002-08-18* perthread.h (vfork_save): Add ctty, sid, pgid, exitval fields.Christopher Faylor9-19/+99
(vfork_save::restore_pid): New method. (vfork_save::restore_exit): New method. * fork.cc (vfork): Save ctty, sid, pgid and restore them when returning to "parent". Use exitval field if exiting but never created a new process. * syscalls.cc (setsid): Detect when in "vfork" and force an actual fork so that pid will be allocated (UGLY!). (getsid): New function. * dcrt0.cc (do_exit): Use vfork_save::restore_exit method for returning from a vfork. * spawn.cc (spawnve): Use vfork_save::{restore_pid,restore_exit} methods for returning from vfork. * cygwin.din: Export getsid. * include/cygwin/version.h: Bump api minor number. * malloc.cc: #ifdef sYSTRIm for when MORECORE_CANNOT_TRIM is true.
2002-08-18* cygmalloc.h (MORECORE_CANNOT_TRIM): Define.Christopher Faylor2-1/+4
2002-08-18* sigproc.cc (sigCONT): Define.Christopher Faylor5-16/+32
* sigproc.h (sigCONT): Declare. (wait_sig): Create sigCONT event here. * exceptions.cc (sig_handle_tty_stop): Wait for sigCONT event rather than stopping thread. (sig_handle): Set sigCONT event as appropriate on SIGCONT rather than calling ResumeThread.
2002-08-18* malloc.cc: Update to 2.7.2.Christopher Faylor3-10/+19
* malloc_wrapper.cc (malloc_init): Call user level mallocs to determine if the malloc has been wrapped.
2002-08-17* Makefile.in: Change COMPILE_C* definitions.Christopher Faylor1-0/+4
2002-08-17 * include/winuser.h (CURSOR_SHOWING) Add define.Danny Smith2-0/+6
2002-08-172002-08-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+8
* libc/include/sys/config.h[__PPC__][__SPE__]: Set _LONG_DOUBLE to double.
2002-08-172002-08-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston22-2/+5272
* configure.host: Add powerpc*-*-eabispe* configuration. * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file. * libc/machine/powerpc/atosfix32.c: Ditto. * libc/machine/powerpc/atosfix64.c: Ditto. * libc/machine/powerpc/atoufix16.c: Ditto. * libc/machine/powerpc/atoufix32.c: Ditto. * libc/machine/powerpc/atoufix64.c: Ditto. * libc/machine/powerpc/fix64.h: Ditto. * libc/machine/powerpc/simdldtoa.c: Ditto. * libc/machine/powerpc/strtosfix16.c: Ditto. * libc/machine/powerpc/strtosfix32.c: Ditto. * libc/machine/powerpc/strtosfix64.c: Ditto. * libc/machine/powerpc/strtoufix16.c: Ditto. * libc/machine/powerpc/strtoufix32.c: Ditto. * libc/machine/powerpc/strtoufix64.c: Ditto. * libc/machine/powerpc/ufix64toa.c: Ditto. * libc/machine/powerpc/configure.in: Add check for powerpc*-eabispe and add fixed-point conversion functions. * libc/machine/powerpc/configure: Regenerated. * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for %r and %R format specifiers which handle fixed-point data. * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto. * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point function prototypes.
2002-08-172002-08-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston14-183/+380
* Makefile.am: Move cmath stuff into libc/sys/linux. * Makefile.in: Regenerated. * configure.host: Default -DMB_CAPABLE for x86-linux. * libc/include/reent.h: Define _sbrk to take signed int argument. * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk. * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and make locale name checking more efficient. Also allow "C-ISO-8859-1" locale for LC_CTYPE and LC_MESSAGES. * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t. * libc/sys/linux/brk.c: Change sbrk prototype. * libc/sys/linux/include/time.h: Remove Cygwin stuff and include <sys/features.h>. (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID. (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID. * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h with a few local additions. * libc/sys/linux/sys/features.h: New file. * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes to take signed argument. * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk prototypes to take signed size argument.
2002-08-17 * include/winerror.h: Cast OLE error codes to HRESULT.Danny Smith2-355/+360
2002-08-17fix typoChristopher Faylor1-1/+1
2002-08-17* Makefile.in: Change COMPILE_C* definitions.Christopher Faylor1-2/+2
2002-08-16 * libc/sys/linux/cmath: New directory.Thomas Fitzsimmons77-68/+5712
* libc/sys/linux/include/cmathcalls.h: New file. * libc/sys/linux/include/complex.h: New file. * libc/sys/linux/machine/i386/huge_val.h: New file * libm/math/w_sincos.c: New file * libm/math/wf_sincos.c: New file * libm/mathfp/s_sincos.c: New file * libm/mathfp/sf_sincos.c: New file * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in. * libc/include/math.h: Add sincos and sincosf declarations. * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath. (SUBLIBS): Likewise. * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath. * libm/math/Makefile.am (src): Add w_sincos.c. (fsrc): Add wf_sincos.c. * libm/mathfp/Makefile.am (src): Add s_sincos.c (fsrc): Add sf_sincos.c.
2002-08-16Missed this commit in last checkin.Christopher Faylor1-74/+149
2002-08-16* winsup.h: Remove malloc_*lock functions.Christopher Faylor2-3/+4
2002-08-16* Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. UseChristopher Faylor10-31/+5661
-fomit-frame-pointer for malloc.o compilation. * malloc_wrapper.cc: New file. Rename from malloc.cc. Add support for more malloc functions. Eliminate export_* calls. Just use straight malloc names. Remove unused argument from malloc lock functions. * cygwin.din: Just export straight malloc names. Add malloc_stats, malloc_trim, malloc_usable_size, mallopt, memalign, valloc. * dcrt0.cc (__cygwin_user): Eliminate export_* malloc entries. * fork.cc (fork_parent): Remove unused argument from malloc_lock argument. * malloc.cc: New file. Doug Lea's malloc v2.7.1. * cygmalloc.h: New file. * include/cygwin/version.h: Bump API_MINOR. * sync.h (muto::acquire): Use appropriate number for regparm attribute. (muto::reset): Ditto. (muto::release): Ditto.
2002-08-16* exceptions.cc (interrupt_setup): Ensure that the previous signal mask isChristopher Faylor2-1/+7
properly saved.
2002-08-15* dcrt0.cc: Modify define for CYGWIN_GUARD.Christopher Faylor2-2/+8
(alloc_stack_hard_way): Just use CYGWIN_GUARD in VirtualAlloc call.
2002-08-15present tenseChristopher Faylor1-21/+20
2002-08-15make comment more accurate.Christopher Faylor1-4/+4
2002-08-15 * i370.h: Define relocs using reloc-macros.h.Alan Modra2-2/+28
2002-08-14 * include/wincrypt.h (ALG_*): Add defines.Danny Smith2-0/+73
(CALG_*): Ditto. (CRYPT_*): Ditto. (PP_*): Ditto. (PROV_*): Ditto. (PRIVATEKEYBLOB): Add define.
2002-08-14 * include/unistd.h: Add include of process.h.Earnie Boyd2-0/+5
2002-08-14 * include/shlobj.h (SHGetFolderPath): Add define.Earnie Boyd3-0/+14
* lib/shell32.def (SHGetSpecialFolderPath): Add export. (SHGetFolderPath): Ditto.
2002-08-13 * m68hc11.h (M6812_OP_PAGE): Define to identify call operand.Stephane Carrez2-6/+23
(M68HC12_BANK_VIRT, M68HC12_BANK_MASK, M68HC12_BANK_BASE, M68HC12_BANK_SHIFT, M68HC12_BANK_PAGE_MASK): Define for 68HC12 memory banks. (M6811_OC1M5, M6811_OC1M4, M6811_MODF): Fix value.
2002-08-13* regtool.cc (find_key): Add support for custom key separator.Christopher Faylor2-3/+19
(usage): Document it.
2002-08-13 * m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64,Stephane Carrez2-1/+46
EF_M68HC11_ABI): Define for ABI specification. (STO_M68HC12_FAR, STO_M68HC12_INTERRUPT): Symbol flags for linker and debugger. (R_M68HC11_24, R_M68HC11_LO16, R_M68HC11_PAGE): New relocs. (R_M68HC11_RL_JUMP, R_M68HC11_RL_GROUP): New reloc for linker relaxation.
2002-08-132002-08-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-3/+9
* libc/sys/linux/machine/i386/crt0.c (__bss_start,_end): Declare as extern chars and use the address operator to properly use values set in linker script.
2002-08-12 * include/commdlg.h: Don't include COM headers if __OBJC__.Danny Smith2-4/+9
2002-08-12 * include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):Danny Smith2-0/+9
Add prototypes.
2002-08-122002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>Danny Smith2-0/+5
* include/shellapi.h (FOF_NOERRORUI): Add define.