Commit Graph

8917 Commits

Author SHA1 Message Date
Richard Earnshaw b44733c1c7 Richard Earnshaw <rearnsha@arm.com>
Alexandre Oliva <aoliva@redhat.com>

	* (ZW_GNU_GETTEXT_SISTER_DIR): Add optional
	argument for where to search for NLS config file.
2006-06-13 08:02:20 +00:00
Danny Smith a4c5a5dc71 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,
else global library variable.
        (HUGEVALF): Likewise;
	(HUGEVALL): Likewise.
	(INFINITY): Likewise.
	(NAN): LiKewise.
2006-06-12 22:22:18 +00:00
Danny Smith a91cc828cc * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo. 2006-06-12 21:48:08 +00:00
Danny Smith d658f6c649 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59. 2006-06-12 21:43:11 +00:00
H.J. Lu acfd62fdfa gas/testsuite/
2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/i386.exp: Run nops and x86-64-nops.

	* gas/i386/nops.d: New file.
	* gas/i386/nops.s: Likewise.
	* gas/i386/x86-64-nops.d: Likewise.
	* gas/i386/x86-64-nops.s: Likewise.

include/opcode/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

	* i386.h (i386_optab): Add "nop" with memory reference.

opcodes/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-dis.c (dis386_twobyte): Use "nopQ" for 0x1f.
	(twobyte_has_modrm): Set 1 for 0x1f.
2006-06-12 18:59:36 +00:00
H.J. Lu 2d853d0e39 gas/
2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c (process_suffix): Don't add rex64 for
	"xchg %rax,%rax".

gas/testsuite/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/opcode.s: Add "xchg %ax,%ax".
	* gas/i386/opcode.d: Updated.

	* gas/i386/x86-64-opcode.s: Add xchg %ax,%ax, xchg %eax,%eax,
	xchg %rax,%rax, rex64 xchg %rax,%rax and xchg %rax,%r8.
	* gas/i386/x86-64-opcode.d: Updated.

include/opcode/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

	* i386.h (i386_optab): Update comment for 64bit NOP.

opcodes/

2006-06-12  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-dis.c (NOP_Fixup): Removed.
	(NOP_Fixup1): New.
	(NOP_Fixup2): Likewise.
	(dis386): Use NOP_Fixup1 and NOP_Fixup2 on 0x90.
2006-06-12 18:55:42 +00:00
Christopher Faylor 313b51e6c1 * fhandler_tty.cc (fhandler_pty_master::close): Always close
from_master/to_master since we always have copies of these handles.
2006-06-12 14:56:31 +00:00
Corinna Vinschen 184574d61c * include/sys/wait.h: Move definition of wait constants from here...
* include/cygwin/wait.h: ...to here.  New file.
	* include/cygwin/stdlib.h: Include cygwin/wait.h to conform with SUSv3.
2006-06-12 14:25:05 +00:00
Corinna Vinschen e3f56b2b3d * winsup.api/user_malloc.c: New file. 2006-06-12 13:59:36 +00:00
Corinna Vinschen 730f10974a * heap.cc (heap_init): Only commit if allocsize is not zero. 2006-06-12 13:59:17 +00:00
Corinna Vinschen 8f56da762a * net.cc (fdsock): Disable raising buffer sizes. Add comment to
explain why.
2006-06-12 13:13:52 +00:00
Danny Smith d73228210d [mingw-Bugs-1424461]
*include/imagehlp.h: Comment out IN, OUT and OPTIONAL,
	throughout.
	*include/rpcdce.h: Don't define IN, OUT or OPTIONAL if
	_NO_W32_PSEUDO_MODIFIERS.
	*include/rpcnsi.h: Comment out IN, OUT and OPTIONAL,
	throughout.
	*include/rpcnsip.h: Likewise.
	*include/windef.h: Don't define IN, OUT or OPTIONAL
	if _NO_W32_PSEUDO_MODIFIERS.
	*include/ddk/batclass.h: Comment out IN, OUT and OPTIONAL,
	throughout.
	*include/ddk/cfgmgr32.h: Likewise.
	*include/ddk/ddkmapi.h: Likewise.
	*include/ddk/hidclass.h: Likewise.
	*include/ddk/hidpi.h: Likewise.
	*include/ddk/kbdmou.h: Likewise.
	*include/ddk/mcd.h: Likewise.
	*include/ddk/miniport.h: Likewise.
	*include/ddk/minitape.h: Likewise.
	*include/ddk/ndis.h: Likewise.
	*include/ddk/ndistapi.h: Likewise.
	*include/ddk/ndiswan.h: Likewise.
	*include/ddk/ntapi.h: Likewise.
	*include/ddk/ntdd8042.h: Likewise.
	*include/ddk/ntddpcm.h: Likewise.
	*include/ddk/ntifs.h: Likewise.
	*include/ddk/ntpoapi.h: Likewise.
	*include/ddk/parallel.h: Likewise.
	*include/ddk/pfhook.h: Likewise.
	*include/ddk/scsiwmi.h: Likewise.
	*include/ddk/smbus.h: Likewise.
	*include/ddk/srb.h: Likewise.
	*include/ddk/storport.h: Likewise.
	*include/ddk/tdikrnl.h: Likewise.
	*include/ddk/upssvc.h: Likewise.
	*include/ddk/usbcamdi.h: Likewise.
	*include/ddk/usbscan.h: Likewise.
	*include/ddk/video.h: Likewise.
	*include/ddk/videoagp.h: Likewise.
	*include/ddk/win2k.h: Likewise.
	*include/ddk/winddi.h: Likewise.
	*include/ddk/winddk.h: Don't define IN, OUT or OPTIONAL
	if _NO_W32_PSEUDO_MODIFIERS.
	Comment out IN, OUT and OPTIONAL, throughout.
	*include/ddk/winnt4.h: Comment out IN, OUT and OPTIONAL,
	throughout.
	*include/ddk/ws2san.h: Likewise.
2006-06-12 00:55:06 +00:00
Chris Sutcliffe 0a253b906e 2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in:  Added hlguids-uuid as source and object.
2006-06-10 20:48:15 +00:00
Chris Sutcliffe 12e576d9a0 2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/uuid.c (CLSID_StaticDib, CLSID_StaticMetafile, CLSID_StdHlink,
        CLSID_StdHlinkBrowseContext): Remove.  Moved to relevant files.
        * lib/cguid-uuid.c (CLSID_StaticDib, CLSID_StaticMetafile): Added.
        * lib/hlguids-uuid.c: New file.
        Thank you to Julien Lecomte (julienlecomte at users dot sourceforge dot
        net).
2006-06-10 15:28:04 +00:00
Chris Sutcliffe ca107fd231 2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Added urlmon-uuid and hlink-uuid as sources and
        objects.
        * lib/uuid.c (IID_IAuthenticate, IID_IBindHost, IID_IBindProtocol,
        IID_IBindStatusCallback, IID_IBindStatusCallbackMsg, IID_IBinding,
        IID_IHlink, IID_IHlinkBrowseContext, IID_IHlinkFrame, IID_IHlinkSite,
        IID_IHlinkTarget): Remove.  Moved to new files.
        * lib/urlmon-uuid.c: New file.
        * lib/hlink-uuid.c: New file.
2006-06-10 12:31:17 +00:00
Chris Sutcliffe afc7f32e1b 2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Added ativscp-uuid as source and object.
        * lib/uuid.c (IID_IActiveScript, IID_IActiveScriptError,
        IID_IActiveScriptParse, IID_IActiveScriptSite,
        IID_IActiveScriptSiteWindow): Remove.  Moved to ativscp-uuid.c.
        * lib/ativscp-uuid.c: New file.
2006-06-10 11:45:41 +00:00
Chris Sutcliffe 8beb2fc95a 2006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/uuid.c (IID_IClientSecurity, IID_IMallocSpy, IID_IServerSecurity):
        Remove.  Moved to objidl-uuid.c
        * lib/objidl-uuid.c (IID_IClientSecurity, IID_IMallocSpy,
        IID_IServerSecurity): Defined.
2006-06-10 01:45:58 +00:00
Chris Sutcliffe 7e51659290 2006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Add cguid-uuid and olectlid-uuid as sources and
        objects.
        * lib/uuid.c (CLSID_CColorPropPage, CLSID_CFontPropPage,
        CLSID_CPicturePropPage, CLSID_Picture_Dib, CLSID_Picture_Metafile,
        CLSID_StdFont, CLSID_StdPicture, GUID_NULL, IID_ICreateTypeInfo,
        IID_ICreateTypeInfo2, IID_ICreateTypeLib, IID_ICreateTypeLib2, IID_IDebug,
        IID_IDebugStream, IID_IDispatch, IID_IEnumFORMATETC,IID_IEnumMoniker,
        IID_IEnumOLEVERB, IID_IEnumSTATDATA, IID_IEnumSTATSTG, IID_IEnumString,
        IID_IEnumUnknown, IID_IEnumVARIANT, IID_IOleLink, IID_IPSFactory,
        IID_IRpcChannel, IID_IRpcProxy, IID_IRpcStub, IID_ITypeInfo,
        IID_ITypeInfo2, IID_ITypeLib, IID_ITypeLib2): Remove.  Moved to relevant
        files.
        * lib/oaidl-uuid.c (IID_ICreateTypeInfo, IID_ICreateTypeInfo2,
        IID_ICreateTypeLib, IID_ICreateTypeLib2, IID_ITypeInfo, IID_ITypeInfo2,
        IID_ITypeLib, IID_ITypeLib2, IID_IEnumVARIANT): Define.
        * lib/cguid-uuid.c: New file.
        * lib/olectlid-uuid.c: New file.
2006-06-09 23:53:06 +00:00
Chris Sutcliffe 31660e227c 2006-06-08 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Add objsafe-uuid oaidl-uuid docobj-uuid comcat-uuid
        exdisp-uuid mlang-uuid objidl-uuid as sources and objects.
        * lib/uuid.c (CATID_Control, CATID_DocObject, CATID_Insertable,
        CATID_PersistsToPropertyBag, CATID_PersistsToStorage, CATID_PersistsToStream,
        CATID_PersistsToStreamInit, CATID_Printable, CATID_Programmable,
        CLSID_CMultiLanguage, CLSID_StdComponentCategoriesMgr, CLSID_WebBrowser,
        DIID_DWebBrowserEvents, DIID_DWebBrowserEvents2, IID_IAdviseSink,
        IID_IAdviseSink2, IID_IBindCtx, IID_ICatInformation, IID_ICatRegister,
        IID_IClassActivator, IID_IContinueCallback, IID_ICreateErrorInfo,
        IID_IDataAdviseHolder, IID_IDataObject, IID_IEnumCATEGORYINFO,
        IID_IEnumGUID, IID_IEnumOleDocumentViews, IID_IErrorInfo,
        IID_IExternalConnection, IID_IFillLockBytes, IID_ILockBytes, IID_IMalloc,
        IID_IMarshal, IID_IMessageFilter, IID_IMoniker, IID_IObjectSafety,
        IID_IOleCommandTarget, IID_IOleDocument, IID_IOleDocumentSite,
        IID_IOleDocumentView, IID_IPSFactoryBuffer, IID_IPersist,
        IID_IPersistFile, IID_IPersistStorage, IID_IPersistStream, IID_IPrint,
        IID_IProgressNotify, IID_IPropertySetStorage, IID_IPropertyStorage,
        IID_IROTData, IID_IRootStorage, IID_IRpcChannelBuffer,
        IID_IRpcProxyBuffer, IID_IRpcStubBuffer, IID_IRunnableObject,
        IID_IRunningObjectTable, IID_ISequentialStream, IID_IStdMarshalInfo,
        IID_IStorage, IID_IStream, IID_ISupportErrorInfo, IID_IWebBrowser,
        IID_IWebBrowser2, IID_IWebBrowserApp): Remove. Moved to new files.
        * lib/comcat-uuid.c: New file.
        * lib/docobj-uuid.c: New File.
        * lib/exdisp-uuid.c: New file.
        * lib/mlang-uuid.c: New file.
        * lib/oaidl-uuid.c: New file.
        * lib/objidl-uuid.c: New file.
        * lib/objsafe-uuid.c: New file.
2006-06-08 21:16:20 +00:00
Jeff Johnston 6d153d4ebb 2006-06-08 Fred Fish <fnf@specifix.com>
* mips/idt.ld, mips/idt32.ld, mips/idt64.ld, mips/nullmon.ld,
        mips/pmon.ld:  Keep special sections generated by mips gcc.
2006-06-08 16:13:11 +00:00
Jeff Johnston d1373080cb 2006-06-08 Jeff Johnston <jjohnstn@redhat.com>
Sync from gcc:

        2005-01-12  David Edelsohn  <edelsohn@gnu.org>
                    Andreas Schwab  <schwab@suse.de>

        PR bootstrap/18033
        * config-ml.in: Eval option if surrounded by single quotes.
2006-06-08 16:10:12 +00:00
DJ Delorie 951543148e Whitespace fixes. 2006-06-07 23:30:11 +00:00
Carlos O'Donell e1e5148c04 2006-06-07 Carlos O'Donell <carlos@codesourcery.com>
Sync from gcc:

	2006-06-06  David Ayers  <d.ayers@inode.at>

	PR libobjc/13946
	* Makefile.def: Add dependencies for libobjc which boehm-gc.
	* Makefile.in: Regenerate.
	* configure.in: Add --enable-objc-gc at toplevel and have it
	enable boehm-gc for Objective-C.
	Remove target-boehm-gc from libgcj.
	Add target-boehm-gc to target_libraries.
	Add target-boehm-gc to noconfigdirs where ${libgcj}
	is specified.
	Assert that boehm-gc is supported when requested for Objective-C.
	Only build boehm-gc if needed either for Java or Objective-C.
	* configure: Regenerate.

	2006-06-05  Paolo Bonzini  <bonzini@gnu.org>

	PR 27674
	* Makefile.tpl (configure-[+prefix+][+module+],
	all-[+prefix+][+module+]): Depend on stage_current if bootstrapping.
	Remove rule to unstage bootstrapped modules.
	(stage_current): New.
	* Makefile.in: Regenerate.

	2006-05-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
	Andreas Tobler  <a.tobler@schweiz.ch>

	* configure.in:  Enable libgcj for hppa*-hp-hpux11*.
	* configure: Rebuilt.

	Revert
	2006-01-31  Richard Guenther  <rguenther@suse.de>
	Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (target_modules): Add libgcc-math target module.
	* configure.in (target_libraries): Add libgcc-math target library.
	(--enable-libgcc-math): New configure switch.
	* Makefile.in: Re-generate.
	* configure: Re-generate.
2006-06-07 22:33:16 +00:00
Jeff Johnston b5b6cbd8ec 2006-06-07 Fred Fish <fnf@specifix.com>
* libc/search/hash_bigkey.c (MIN,MAX): Remove
        defines that are already supplied by <sys/param.h>.
2006-06-07 19:22:59 +00:00
Jeff Johnston 3cc3705ca0 2006-06-07 Fred Fish <fnf@specifix.com>
* configure.host: Remove references to HAVE_GETTIMEOFDAY.
2006-06-07 19:20:04 +00:00
Chris Sutcliffe cfc2f9e377 Missed uuid.c on last commit 2006-06-07 17:10:50 +00:00
Chris Sutcliffe 5fdcdd0023 2006-06-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Add oleacc-uuid oleidl-uuid ocidl-uuid as sources and
        objects.
        * lib/uuid.c (IID_IOleCache, IID_IOleCache2, IID_IOleCacheControl, IID_IViewObject,
        IID_IViewObject2, IID_IDropSource, IID_IDropTarget, IID_IOleAdviseHolder,
        IID_IOleInPlaceUIWindow, IID_IOleInPlaceObject, IID_IOleInPlaceActiveObject,
        IID_IOleInPlaceFrame, IID_IOleInPlaceSite, IID_IOleContainer, IID_IOleItemContainer,
        IID_IOleClientSite, IID_IOleObject, IID_IOleWindow, IID_IParseDisplayName,
        IID_IAccessible, LIBID_Accessibility, IID_IQuickActivate, IID_IOleUndoManager,
        IID_IOleParentUndoUnit, IID_IOleUndoUnit, IID_IEnumOleUndoUnits, IID_IPointerInactive,
        IID_IAdviseSinkEx, IID_IOleInPlaceSiteEx, IID_IOleControl, IID_IOleControlSite,
        IID_IPersistPropertyBag, IID_IPersistPropertyBag2, IID_IPersistStreamInit,
        IID_IPersistMemory, IID_IPropertyBag, IID_IPropertyBag2, IID_IPropertyNotifySink,
        IID_IPropertyPage, IID_IPropertyPage2, IID_IPropertyPageSite, IID_IFont, IID_IFontDisp,
        IID_IPicture, IID_IPictureDisp, IID_IProvideClassInfo, IID_IProvideClassInfo2,
        IID_IEnumConnectionPoints, IID_IEnumConnections, IID_IConnectionPoint,
        IID_IConnectionPointContainer, IID_IClassFactory2, IID_IErrorLog,
        IID_IObjectWithSite, IID_IPerPropertyBrowsing, IID_ISimpleFrameSite,
        IID_ISpecifyPropertyPages): Remove. Moved to new files.
        * lib/oleidl-uuid.c: New file.
        * lib/oleacc-uuid.c: New file.
        * lib/ocidl-uuid.c: New file.
2006-06-07 17:09:44 +00:00
Alan Modra 48df10c776 include/opcode/
* ppc.h (PPC_OPCODE_POWER6): Define.
	Adjust whitespace.
gas/
	* config/tc-ppc.c (parse_cpu): Handle "-mpower6".
	(md_show_usage): Document it.
	(ppc_setup_opcodes): Test power6 opcode flag bits.
	* doc/c-ppc.texi (PowerPC-Opts): Document "-mpower6".
opcodes/
	* ppc-dis.c (powerpc_dialect): Handle power6 option.
	(print_ppc_disassembler_options): Mention power6.
2006-06-07 05:23:59 +00:00
Jeff Johnston 9b15ac9054 2006-06-05 Shaun Jackman <sjackman@gmail.com>
* libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
        usleep.c.
        * libc/posix/Makefile.in: Regenerate.
        * libc/posix/sleep.c: New file.
        * libc/posix/usleep.c: Ditto.
2006-06-06 15:41:10 +00:00
Thiemo Seufer c281fc320f [ gas/ChangeLog ]
* config/tc-mips.c (ISA_SUPPORTS_DSP64): New macro.
	(CPU_HAS_MIPS3D, CPU_HAS_MDMX, CPU_HAS_DSP, CPU_HAS_MT): Delete.
	(macro_build): Update comment.
	(mips_ip): Allow DSP64 instructions for MIPS64R2.
	(mips_after_parse_args): Remove uses of CPU_HAS_MIPS3D and
	CPU_HAS_MDMX.
	(mips_cpu_info): Fix formatting. Add MIPS_CPU_ASE_MIPS3D and
	MIPS_CPU_ASE_MDMX flags for sb1.

	[ gas/testsuite/ChangeLog ]
	* gas/mips/mips64-dsp.s, gas/mips/mips64-dsp.d: New DSP64 tests.
	* gas/mips/mips.exp: Run DSP64 tests.

	[ opcodes/ChangeLog ]
	* mips-dis.c: Disassemble DSP64 instructions for MIPS64R2.
	* mips-opc.c: Add DSP64 instructions.
2006-06-06 10:49:48 +00:00
Jeff Johnston 512c2879a4 2006-06-05 Shaun Jackman <sjackman@gmail.com>
* libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
        usleep.c.
        * libc/posix/Makefile.in: Regenerate.
        * libc/posix/sleep.c: New file.
        * libc/posix/usleep.c: Ditto.
2006-06-05 20:19:55 +00:00
Jeff Johnston 986b5d2246 2006-06-05 Shaun Jackman <sjackman@gmail.com>
* arm/linux-syscalls0.S (reboot): Remove.
        * arm/linux-syscalls1.c (reboot): New function.
2006-06-05 20:15:23 +00:00
Jeff Johnston 9eedc2e624 Fix format typo. 2006-06-05 19:46:40 +00:00
Jeff Johnston 4c602151f2 2006-06-05 Shaun Jackman <sjackman@gmail.com>
* arm/syscalls.c (kill) [ARM_RDI_MONITOR]: Use the signal
        argument to choose an ADP exception reason.
        * arm/libcfunc.c (abort): Remove this function.
2006-06-05 19:46:18 +00:00
Jeff Johnston 6ea486a6df 2006-06-05 Shaun Jackman <sjackman@gmail.com>
configure.host (newlib_cflags) [arm, thumb, xscale]:  Remove
        -DABORT_PROVIDED flag.
        * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
        * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2006-06-05 19:45:08 +00:00
Jeff Johnston 9a9ac027e8 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
* config-ml.in: Alter CCASFLAGS to include special
        multilib options the same as is done for CFLAGS.
2006-06-05 17:45:48 +00:00
Jeff Johnston 2e7c576aa7 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
        * Makefile.in: Regenerated.
        * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
        extraneous CFLAGS reference now that CCASFLAGS are being extended
        properly via multilib.
        * libc/machine/sh/Makefile.in: Regenerated.
2006-06-05 17:42:57 +00:00
Thiemo Seufer 9042dfec74 [ gas/ChangeLog ]
* config/tc-mips.c (macro_build): Use INSERT_OPERAND wherew
	appropriate.
	(mips16_macro_build): Use MIPS16_INSERT_OPERAND where appropriate.
	(mips_ip): Make overflowed/underflowed constant arguments in DSP
	and MT instructions a fatal error. Use INSERT_OPERAND where
	appropriate. Improve warnings for break and wait code overflows.
	Use symbolic constant of OP_MASK_COPZ.
	(mips16_ip): Use MIPS16_INSERT_OPERAND where appropriate.

	[ gas/testsuite/ChangeLog ]
	* gas/mips/mips32-dsp.d, gas/mips/mips32-dsp.s, gas/mips/mips32-mt.d,
	gas/mips/mips32-mt.s: Remove instructions with invalid arguments.
	* gas/mips/mips32-dsp.l, gas/mips/mips32-mt.l: Delete file.

	[ include/opcode/ChangeLog ]
	* mips.h: Improve description of MT flags.
2006-06-05 16:28:36 +00:00
Keith Marshall f805ef4929 ChangeLog amendment for entries dated 2006-04-18 by Thorsten Dahlheimer 2006-06-04 21:42:56 +00:00
Christopher Faylor c0ac34fda0 * ioctl.cc (ioctl): Accommodate change in reported pty master device number.
* select.cc (peek_pipe): Ditto.
2006-06-04 20:32:58 +00:00
Chris Sutcliffe e73b03adcc 2006-06-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/Makefile.in: Add unknwn-uuid and servprov-uuid as sources and
        objects.
        * lib/uuid.c (IID_IUnknown, IID_IClassFactory, IID_IServiceProvider):
        Remove.  Moved to unknwn-uuid and servprov-uuid.
        * lib/unknwn-uuid.c: New file.
        * lib/servprov-uuid.c: New file.
2006-06-04 15:37:31 +00:00
Christopher Faylor d97183b48e * cygtls.h (CYGTLS_PADSIZE): Reset to a size that XP SP1 seems to like.
* tlsoffsets.h: Regenerate.
2006-06-04 05:12:38 +00:00
Christopher Faylor 0c58e0b303 fix wording 2006-06-03 22:13:28 +00:00
Christopher Faylor c76ca04746 * cygthread.cc (cygthread::terminate_thread): In debugging output, use name of
thread being terminated rather than thread doing terminating.
* fhandler.h (fhandler_pty_master::slave): Delete.
(fhandler_pty_master::get_unit): Ditto.
(fhandler_pty_master::setup): Change argument declaration to accommodate new
usage.
* fhandler_tty.cc (fhandler_tty_master::init): Remove obsolete slave
assignment.  Pass argument to setup indicating that this is a tty.
(fhandler_tty_slave::open): Use dev() method rather than referencing pc.dev
directly.
(fhandler_pty_master::open): Don't create archetype based on ptym device
number.  Set device number to use DEV_TTYM_MAJOR and tty number.  Pass argument
to setup indicating that this is a pty.
(fhandler_pty_master::setup): Change single argument to a flag indicating
whether we're creating a pty and use appropriately.  Calculate 't' variable
here rather than in caller.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Use dev() method rather than
referencing pc.dev directly.
2006-06-03 21:44:01 +00:00
Christopher Faylor 71d59a926f * dcrt0.cc (dll_crt0_0): Call tty_list::init_session here.
(dll_crt0_1): Reflect renaming from tty_init to tty::init_session.
(do_exit): Reflect moving of tty_terminate into tty_list.
* exceptions.cc (events_init): Move tty_mutex stuff elsewhere.
* fhandler_console.cc (set_console_title): Use lock_ttys class.
* fhandler_termios.cc (fhandler_termios::bg_check): Make debug output more
accurate.
* fhandler_tty.cc (fhandler_tty_slave::open): Reflect move of attach_tty into
tty_list class.  Don't attempt to grab master end of pty if master doesn't
exist.
(fhandler_pty_master::open): Reflect move of allocate_tty into tty_list class.
Use lock_ttys::release to release mutex.  Improve debugging output.
(fhandler_pty_master::setup): Remove if 0'ed block.  Fix argument to
SetNamedPipeHandleState.
* pinfo.cc (_pinfo::set_ctty): Lock ttys before setting sid/pgid.  Improve
debugging.  Add temporary debugging.
* tty.cc (tty_list::init_session): New function.
(tty::init_session): Rename from tty_init.  Reflect move of attach_tty to
tty_list class.
(tty::create_master): Rename from create_tty_master.
(tty_list::attach): Rename from attach_tty.  Reflect renaming of connect_tty to
connect.  Ditto for allocate_tty.
(tty_terminate): Delete.
(tty_list::terminate): Subsume tty_terminate.  Use lock_ttys rather than
manipulating mutex directly.
(tty_list::allocate): Rename from allocate_tty.  Use lock_ttys rather than
manipulating mutex directly.  Don't set sid here since linux apparently doesn't
do this.  Reflect move of create_tty_master into tty.
(lock_ttys::lock_ttys): Define new constructor.
(lock_ttys::release): New function.
* tty.h (tty::exists): Return false immediately if !master_pid.
(tty::set_master_closed): Define new function.
(tty::create_master): Ditto.
(tty::init_session): Ditto.
(tty_list::mutex): New field.
(tty_list::allocate): Define new function.
(tty_list::connect): Ditto.
(tty_list::attach): Ditto.
(tty_list::init_session): Ditto.
(lock_ttys): New class.
(tty_init): Delete declaration.
(tty_terminate): Ditto.
(attach_tty): Ditto.
(create_tty_master): Ditto.
2006-06-03 20:32:07 +00:00
Chris Sutcliffe a615ed8023 Expand ChangeLog entry 2006-06-03 19:32:21 +00:00
Christopher Faylor bc78e8bc6a * Makefile.in (libdl.a): New library. 2006-06-03 15:48:30 +00:00
Danny Smith 14de7c29ed * include/strmif.h (VMRDeinterlaceTech): Correct typedef for DeinterlaceTech_*
enum.
2006-06-03 10:37:39 +00:00
Danny Smith 9cb94923ec * include/strmif.h (enum tagAnalogVideoStandard): Add missing ','. 2006-06-03 10:08:07 +00:00
Danny Smith 5f0b157874 2006-06-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (DM_BITSPERPEL, DM_PELSWIDTH, DM_PELSHEIGHT,
	DM_DISPLAYFLAGS, DM_DISPLAYFREQUENCY): Remove.  Duplicates of
	wingdi.h defines.

2006-06-02  Dimitri Papadopoulos  <papadopo@users.sourceforge.net>

	* include/winuser.h ((SPI_GETMOUSETRAILS,SPI_SETMOUSETRAILS): Remove
	duplicate defines.

	* include/winnt.h (SUBLANG_ARABIC_SAUDI_ARABIA): Revert accidental removal.
         (SUBLANG_MARATHI_INDIA): Remove duplicate define.
2006-06-03 07:42:52 +00:00