Age | Commit message (Collapse) | Author | Files | Lines |
|
unbound INET socket.
|
|
|
|
|
|
(NtSetEaFile): Define.
* fhandler.cc (fhandler_base::open): Use appropriate open flags
in query case when allow_ntea is set.
* ntdll.h (struct _FILE_GET_EA_INFORMATION): Define.
(struct _FILE_FULL_EA_INFORMATION): Define.
(NtQueryEaFile): Declare.
(NtSetEaFile): Declare.
* ntea.cc (read_ea): Rename from NTReadEA and rewrite using
NtQueryEaFile.
(write_ea): Rename from NTWriteEA and rewrite using NtSetEaFile.
* path.cc (get_symlink_ea): Make static. Add handle parameter to
accomodate new read_ea call.
(set_symlink_ea): Make static. Add handle parameter to accomodate new
write_ea call.
(symlink_worker): Call set_symlink_ea while file is still open.
(symlink_info::check): Call get_symlink_ea after file has been opened.
* security.cc (get_file_attribute): Accomodate new read_ea call.
(set_file_attribute): Accomodate new write_ea call.
* security.h (read_ea): Change declaration accordingly.
(write_ea): Ditto.
|
|
* setmetamode.c: New file.
|
|
current meta key mode.
* fhandler_console.cc (fhandler_console::read): Set the top bit of
the character if metabit is true.
* fhandler_console.cc (fhandler_console::ioctl): Implement
KDGKBMETA and KDSKBMETA commands.
* fhandler_tty.cc (process_ioctl): Support KDSKBMETA.
(fhandler_tty_slave::ioctl): Send KDGKBMETA and KDSKBMETA to the
master.
* include/cygwin/kd.h: New file for the meta key mode.
* include/sys/kd.h: New file.
|
|
than int promote to signed int.
|
|
socklen_t type according to SUSv3.
(cygwin_recvfrom): Ditto.
(cygwin_setsockopt): Ditto.
(cygwin_getsockopt): Ditto.
(cygwin_connect): Ditto.
(cygwin_accept): Ditto.
(cygwin_bind): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recv): Ditto.
(cygwin_send): Ditto.
* include/cygwin/socket.h (socklen_t): Typedef and define.
* include/sys/socket.h: Declare socket functions using socklen_t type.
|
|
|
|
* 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.
|
|
|
|
(cygwin_sendmsg): Ditto.
|
|
accept and connect back to using select:
* fhandler.h (class fhandler_socket): Remove accept_mtx.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Drop
initializing accept_mtx.
(fhandler_socket::accept): Drop event handling.
(fhandler_socket.cc (fhandler_socket::connect): Ditto.
(fhandler_socket::dup): Drop accept_mtx handling.
(fhandler_socket::listen): Ditto.
(fhandler_socket::prepare): Ditto.
(fhandler_socket::release): Ditto.
(fhandler_socket::close): Ditto.
* net.cc (cygwin_accept): Revert to calling cygwin_select to
implement interuptible accept.
(cygwin_connect): Ditto for connect.
|
|
* Include/_mingw.h: Increment version to 3.10.
* Makefile.in: Ditto.
|
|
|
|
* 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.
|
|
|
|
system-wide mutex to prevent a deadlock and a race.
* sync.h (lock_process): Make fhandler_fifo a friend.
* smallprint.c (__small_vsprintf): Cosmetic change.
|
|
* include/time.h (_timezone): Correct comment.
|
|
* configure: Regenerate.
|
|
* configure: add srcdir as a possible location for install-sh.
|
|
(_topendir): Use it.
|
|
for __cplusplus.
(gettimeofday): Add prototype.
* mingwex/gettimeofday.c: New file.
* mingwex/makefile.in: Add gettimeofday source and object.
|
|
* include/cygwin/version.h: Bump API minor number to 156.
|
|
accept_mtx.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
accept_mtx to NULL.
(fhandler_socket::dup): Duplicate accept_mtx, if available.
(fhandler_socket::listen): Create accept_mtx before trying to listen.
(fhandler_socket::prepare): Wait for accept_mtx if available to
serialize accepts on the same socket.
(fhandler_socket::release): Release accept_mtx.
(fhandler_socket::close): Close accept_mtx on successful closesocket.
|
|
* lib/uuid.c (CLSID_FileProtocol, CLSID_FtpProtocol, CLSID_GopherProtocol,
CLSID_HttpProtocol, CLSID_HttpSProtocol, CLSID_MkProtocol,
CLSID_PSUrlMonProxy, CLSID_StdURLMoniker): Remove. Moved to
extras-uuid.c.
* lib/extras-uuid.c (CLSID_FileProtocol, CLSID_FtpProtocol, CLSID_GopherProtocol,
CLSID_HttpProtocol, CLSID_HttpSProtocol, CLSID_MkProtocol,
CLSID_PSUrlMonProxy, CLSID_StdURLMoniker): Added.
* lib/hlguids-uuid.c: State source of CLSIDs.
|
|
* lib/Makefile.in: Added extras-uuid as an object and source.
* lib/uuid.c (IID_IClientSiteHandler, IID_IContinue, IID_IHttpNegotiate,
IID_IPersistMoniker, IID_IServerHandler, IID_ITargetEmbedding,
IID_ITargetFrame, IID_ITypeComp, IID_IUrlHistoryStg, IID_IWinInetHttpInfo,
IID_IWinInetInfo, IID_IEnumSTATPROPSETSTG, IID_IEnumSTATPROPSTG,
IID_IEnumSTATURL): Remove. Moved to extras-uuid.c.
* lib/extras-uuid.c: New file.
Thank you to Julien Lecomte (julienlecomte at users dot sourceforge dot
net).
|
|
else global library variable.
(HUGEVALF): Likewise;
(HUGEVALL): Likewise.
(INFINITY): Likewise.
(NAN): LiKewise.
|
|
|
|
|
|
from_master/to_master since we always have copies of these handles.
|
|
* include/cygwin/wait.h: ...to here. New file.
* include/cygwin/stdlib.h: Include cygwin/wait.h to conform with SUSv3.
|
|
|
|
|
|
explain why.
|
|
*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.
|
|
* lib/Makefile.in: Added hlguids-uuid as source and object.
|
|
* 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).
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* select.cc (peek_pipe): Ditto.
|
|
* 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.
|
|
* tlsoffsets.h: Regenerate.
|
|
|