Commit Graph

4267 Commits

Author SHA1 Message Date
Christopher Faylor 66dcfc4498 * fhandler.h (fhandler_tty_master::set_winsize): Declare new function.
* fhandler_console.cc (fhandler_console::send_winch_maybe): If appropriate,
call tty master function to handle screen size change.
* fhandler_tty.cc (fhandler_tty_master::set_winsize): New function.
(fhandler_tty_master::init): Call set_winsize to set initial screen size.
2002-12-27 05:31:30 +00:00
Christopher Faylor 3bfed277d6 * fhandler_tty.cc (fhandler_tty_master::init): Set initial size of tty to that
of console in which tty is operating.
(process_input): Semi-revert previous change.  Need to just use current
terminfo settings since this function is running in a thread, blocked when the
terminfo changes.
2002-12-27 03:54:59 +00:00
Christopher Faylor 740c81ed4e correct typo 2002-12-27 03:50:57 +00:00
Christopher Faylor 46b73ef192 * fhandler.h (fhandler_termios::line_edit): Replace third argument with
passed-in termios struct.
* fhandler_console.cc (fhandler_console::read): Prior to loop, make a copy of
current termios for passing to line_edit prior so that all characters are
processed consistently.
* fhandler_tty.cc (fhandler_pty_master::write): Ditto.
(process_input): Make a copy of curent termios prior to read for use in
subsequent line_edit.
* fhandler_termios.cc (fhandler_termios::line_edit): Replace third parameter
with passed-in termios struct and use it throughout rather than the data from
the current fhandler_termios class.
2002-12-27 03:50:29 +00:00
Danny Smith 4a5c645e62 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/wingdi.h (DOCINFOA): Replace LPCTSTR with LPCSTR.
2002-12-26 10:51:13 +00:00
Danny Smith dfc7f86821 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/wingdi.h (BALTIC_CHARSET, JOHAB_CHARSET,
	VIETNAMESE_CHARSET): Remove duplicate defines.
	* lib/comctl32.def (ImageList_SetImageCount): Add stub.
2002-12-26 10:40:58 +00:00
Kazu Hirata d9633de92c * sim-h8300.h: Remove ^M. 2002-12-26 06:14:43 +00:00
Danny Smith 6e29a31e99 * include/dbt.h (DEV_BROADCAST_PORT): Add UNICODE version.
Thanks to: Dimitri Papadopoulos  <dimitri_at@sourceforge.users.net>
2002-12-26 05:21:43 +00:00
Danny Smith 177a7cda75 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/dde.h (PackDDElParam, UnpackDDElParam,FreeDDElParam,
	ReuseDDElParam): Use __WIN64 compatible typedefs.
2002-12-26 05:08:32 +00:00
Danny Smith aa6ad99be8 * include/unknwn.h: Include windows.h and ole2.h before header
guard to avoid circular inclusion of COM headers.
2002-12-26 05:05:46 +00:00
Danny Smith 832a8b19cd 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* include/accctrl.h (ACTRL_ACCESS_ENTRY[AW]): Make
	lpInheritProperty member const.
	(ACTRL_PROPERTY_ENTRY[AW]): Make lpProperty member
	const.
2002-12-26 04:34:47 +00:00
Danny Smith bdcc7be2bb * include/commcat.h: Don't include windows.h or ole2.h ifdef
COM_NO_WINDOWS_H.
	* include/unknwn.h: Ditto.
2002-12-26 04:23:57 +00:00
Danny Smith ebe02e1884 * include/imm.h (ImmGetCompositionFont[AW],
ImmSetCompositionFont[AW]): Add NOGDI guard.
2002-12-26 03:57:17 +00:00
Christopher Faylor c6c890e21a minor reformatting 2002-12-25 23:49:40 +00:00
Christopher Faylor 1091853afc * include/cygwin/version.h: Bump DLL minor number. 2002-12-25 23:39:04 +00:00
Christopher Faylor 088f471c75 * exceptions.cc (events_init): Initialize critical section to control exiting
via signal.
(signal_exit): Enter critical section early to avoid exit races with main
thread.
* dcrt0.cc (do_exit): Use exit_lock critical section to avoid races.
2002-12-25 20:33:21 +00:00
Christopher Faylor a8eb76e3e1 * cygthread.cc (cygthread::detach): Set errno with set_sig_errno so that EINTR
is properly restored after signal.
2002-12-25 17:43:37 +00:00
Andreas Schwab 4b699462aa * Makefile.tpl (multilib.out): Fix missing space.
* Makefile.in: Regenerate.
2002-12-24 17:23:30 +00:00
Nathanael Nerode 6dbec16756 2002-12-23 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Use shared multilib.out.  Use move-if-change for it.
	Convert (cd foo; make) to (cd foo && make).  Clean up multilib.out.
	* Makefile.in: Regenerate.
	* configure.in: Remove unnecessary leftovers.

2002-12-22  Geoffrey Keating  <geoffk@apple.com>

	* config/mt-aix43: Delete.

2002-12-21  Geoffrey Keating  <geoffk@apple.com>

	* configure.in (extra_ranlibflags_for_target): New variable.
	(*-*-darwin): Add -c to ranlib commands.
	* configure (tooldir): Handle extra_ranlibflags_for_target.
2002-12-23 17:53:41 +00:00
Alan Modra e2ddab05fc * bfdlink.h (struct bfd_link_info): Add "strip_discarded". 2002-12-23 11:53:12 +00:00
Christopher Faylor eb9d294f95 * Makefile.in: Default fhandler objects to -fomit-frame-pointer. Eliminate
redundant CFLAGS settings.
2002-12-21 05:06:37 +00:00
Christopher Faylor 4631168afc * Makefile.common: Don't attempt to pretty-print c++ errors. 2002-12-21 05:06:24 +00:00
Christopher Faylor b18962e228 * fhandler.h (line_edit_status): Reorganize so that tests for error condition
can be < or >.
* fhandler_tty.cc (fhandler_pty_master::write): Don't return after sending a
signal.
* fhandler_termios.cc (fhandler_termios::line_edit): Trivial change to use
built-in bool types.
2002-12-21 04:38:12 +00:00
Jeff Johnston 4753d27c08 Fixed minor typo. 2002-12-21 01:44:13 +00:00
Jeff Johnston 60b0838fc6 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
* NEWS: Update with 1.11.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.11.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.11.
2002-12-21 01:42:03 +00:00
Jeff Johnston 6c8b131e35 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.
2002-12-20 21:36:01 +00:00
Jeff Johnston 10501d5766 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/i386/f_atan2.S: Change copyright from Cygnus
        Solutions to Red Hat Inc.
        * libc/machine/i386/f_atan2f.S: Ditto.
        * libc/machine/i386/f_exp.c: Ditto.
        * libc/machine/i386/f_expf.c: Ditto.
        * libc/machine/i386/f_frexp.S: Ditto.
        * libc/machine/i386/f_frexpf.S: Ditto.
        * libc/machine/i386/f_ldexp.S: Ditto.
        * libc/machine/i386/f_ldexpf.S: Ditto.
        * libc/machine/i386/f_log.S: Ditto.
        * libc/machine/i386/f_log10.S: Ditto.
        * libc/machine/i386/f_log10f.S: Ditto.
        * libc/machine/i386/f_logf.S: Ditto.
        * libc/machine/i386/f_pow.c: Ditto.
        * libc/machine/i386/f_powf.c: Ditto.
        * libc/machine/i386/f_tan.S: Ditto.
        * libc/machine/i386/f_tanf.S: Ditto.
        * libc/machine/i386/memchr.S: Ditto.
        * libc/machine/i386/memcmp.S: Ditto.
        * libc/machine/i386/memcpy.S: Ditto.
        * libc/machine/i386/memmove.S: Ditto.
        * libc/machine/i386/memset.S: Ditto.
        * libc/machine/i386/strchr.S: Ditto.
        * libc/machine/i386/strlen.S: Ditto.
        * libm/machine/i386/f_atan2.S: Ditto.
        * libm/machine/i386/f_atan2f.S: Ditto.
        * libm/machine/i386/f_exp.c: Ditto.
        * libm/machine/i386/f_expf.c: Ditto.
        * libm/machine/i386/f_frexp.S: Ditto.
        * libm/machine/i386/f_frexpf.S: Ditto.
        * libm/machine/i386/f_ldexp.S: Ditto.
        * libm/machine/i386/f_ldexpf.S: Ditto.
        * libm/machine/i386/f_log.S: Ditto.
        * libm/machine/i386/f_log10.S: Ditto.
        * libm/machine/i386/f_log10f.S: Ditto.
        * libm/machine/i386/f_logf.S: Ditto.
        * libm/machine/i386/f_pow.c: Ditto.
        * libm/machine/i386/f_powf.c: Ditto.
        * libm/machine/i386/f_tan.S: Ditto.
        * libm/machine/i386/f_tanf.S: Ditto.
2002-12-20 21:31:20 +00:00
DJ Delorie 120f285b61 * xstormy16.h: Add XSTORMY16_12. 2002-12-20 21:13:42 +00:00
Jeff Johnston 9b3f0d160a 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/environ.c: Update license to Red Hat.
        * libc/machine/hppa/setjmp.S: Ditto.
        * libm/test/Makefile.in: Ditto.
2002-12-20 21:07:56 +00:00
Earnie Boyd 992b4c1edc * include/_mingw.h: Increment version to 2.4.
Makefile.in: Ditto.
2002-12-20 15:40:10 +00:00
Pierre Humblet 63f5d32954 2002-12-19 Pierre Humblet <pierre.humblet@ieee.org>
* localtime.cc (tzsetwall): Set lcl_is_set and lcl_TZname
        in the Cygwin specific part of the routine.
2002-12-20 03:40:00 +00:00
Jeff Johnston d693ad8449 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Remove references to go32.
        * libc/sys/go32/*: Removed.
2002-12-20 02:29:00 +00:00
Pierre Humblet 3ace1da676 2002-12-19 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.cc (fhandler_base::open): Use "flags" rather than "mode"
	in Win9X directory code.
2002-12-20 01:48:22 +00:00
Christopher Faylor 388aa9941b * fhandler.h (line_edit_status): Add a new element.
* fhandler_termios.cc (fhandler_termios::line_edit): After accept_input, handle
both potential error condition and pipe full conditions.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Return -1 on error.
(fhandler_pty_master::write): Handle pipe full condition.
2002-12-20 01:38:55 +00:00
Alan Modra e9f731caf7 * bfdlink.h (struct bfd_link_info): Replace bfd_boolean fields with
bit-fields.  Rearrange to put all like types together.
2002-12-19 23:05:39 +00:00
Nathanael Nerode 93a1293bc1 * Makefile.tpl: Revert HJL's change.
* Makefile.in: Regenerated.
	* configure.in: Put build_prefix before $(BUILD_SUBDIR) here, and
	always.
2002-12-19 20:27:11 +00:00
Andreas Schwab 262a8bfcf2 * Makefile.tpl, configure.in: Substitute libstdcxx_incdir.
* Makefile.in: Regenerate.
2002-12-19 11:05:14 +00:00
Christopher Faylor c3405ba93e * overview2.sgml: Remove CTRL-Z discussion.
* cygwinenv.sgml: Expand on CYGWIN=binmode.
2002-12-19 02:14:06 +00:00
Danny Smith 037c11e868 * include/ddk/hidusage.h: Remove unneccessary #pragma pack's.
* include/ddk/miniport.h (EMULATOR_PORT_ACCESS_TYPE): Define
	before using.
	(VIDEO_ACCESS_RANGE): Guard against prior definition.
	* include/ddk/minitape.h (INQUIRYDATA): Guard against prior
	definition.
	* include/ddk/ndis.h (DECLARE_UNKNOWN_PROTOTYPE): Correct macro.
	* include/ddk/ndisguid.h: Remove unneccessary #pragma pack's.
	* include/ddk/scsi.h (INQUIRYDATA): Guard against prior
	definition.
	* include/ddk/scsiwmi.h (GUID): Define if not already done.
	(LPCGUID): Likewise.
	* include/ddk/tdi.h: Close "Listen flags" comment.
	* include/ddk/tdistat.h: Remove unneccessary #pragma pack's.
	* include/ddk/video.h:	Add #pragma pack(push,4) to balance.
	(VIDEO_ACCESS_RANGE): Guard against prior definition.
	* include/ddk/videoagp.h:Add #pragma pack(push,4) to balance.
	* include/ddk/win2k.h: Likewise.
	* include/ddk/winddi.h: Likewise.
	* include/ddk/winddk.h: Likewise.
	* include/ddk/winnt4.h: Likewise.
	* include/ddk/ws2san.h: Likewise.
	* include/ddk/xfilter.h: Remove unbalanced #pragma pack(pop).
	* include/ddk/video.h: Don't process rest of file ifdef
	__WINDDI_H.
	* include/ddk/winddi.h: Don't process rest of file ifdef
	__VIDEO_H.
	* include/ddk/usb.h: Don't process rest of file ifdef
	__USBDI_H.
	* include/ddk/usbdi.h: Don't process rest of file ifdef
	__USB_H.
	* include/ddk/usbcamdi.h: Don't process rest of file if
	!defined(__USB_H) && !defined(__USBDI_H)
2002-12-19 01:34:26 +00:00
H.J. Lu 9774594921 2002-12-18 H.J. Lu <hjl@gnu.org>
* Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).
	* Makefile.in: Regenerated.

	* configure.in (build_prefix): New. Substitute.
2002-12-19 00:50:33 +00:00
Nathanael Nerode f99629e8c1 * Makefile.tpl: Don't let real targets depend on phony targets.
* Makefile.in: Regenerate.
2002-12-18 18:35:31 +00:00
Nathanael Nerode 5b6edf6661 2002-12-18 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo.
	* Makefile.in: Regenerate.
2002-12-18 05:23:49 +00:00
Danny Smith b0ae479f36 2002-12-18 James E. Lucas <xelloss@users.sourceforge.net>
* include/winnetwk.h (WNetResourceInformation[AW]): Correct
	prototypes.
	* include/winuser.h (GetAncestor) Add prototype.
	(GA_PARENT, GA_ROOT, GA_ROOTOWNER): Add defines.
	(EWX_FORCEIFHUNG): Add define for _WIN32_WINNT >= 0x0500.
	(SPI_GETACTIVEWINDOWTRACKING, SPI_GETACTIVEWNDTRKZORDER,
	SPI_GETACTIVEWNDTRKTIMEOUT, SPI_SETACTIVEWINDOWTRACKING
	SPI_SETACTIVEWNDTRKZORDER, SPI_SETACTIVEWNDTRKTIMEOUT): Add
	defines.
	* lib/user32.def (GetAncestor@8): Add stub.
2002-12-18 00:25:58 +00:00
Jason Merrill e5e33f0eb4 * Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
previous 'make bootstrap'.
        * Makefile.in: Regenerate.
2002-12-17 20:38:05 +00:00
Hans-Peter Nilsson 1c6b013438 * configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb. 2002-12-17 04:31:04 +00:00
DJ Delorie 02f2ba2b0b * xstormy16.h (START_RELOC_NUMBERS) Add relocation numbers
for R_XSTORMY16_LO16 and R_XSTORMY16_HI16.
2002-12-17 03:57:00 +00:00
Christopher Faylor b2be3149b4 * fhandler_termios.cc (fhandler_termios::line_edit): Return line_edit_error and
remove last char from readahead buffer if accept_input() fails.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Return 0 and restore
readahead buffer when tty slave pipe is full.
2002-12-17 03:49:34 +00:00
Christopher Faylor 1a7ce58505 * mh-cygwin: Don't build libtermcap if it doesn't exist. 2002-12-17 01:55:28 +00:00
Jeff Johnston 7da92d1527 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
* libc/include/sys/config.h: Change setting of INT_MAX
        and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
        __H8300S__.  Also consolidate flag settings for these
        platforms.
2002-12-16 22:35:32 +00:00
H.J. Lu d1bdb89056 2002-11-23 H.J. Lu <hjl@gnu.org>
* accross.m4: New.
2002-12-16 19:58:06 +00:00