aboutsummaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)AuthorFilesLines
2006-07-04 * fhandler_socket.cc (fhandler_socket::listen): Allow listening onCorinna Vinschen2-3/+22
unbound INET socket.
2006-07-04 * fhandler.h (fhandler_socket::wait): Set default timeout to INFINITE.Corinna Vinschen2-1/+5
2006-07-03 * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.Danny Smith2-2/+6
2006-07-03 * autoload.cc (NtQueryEaFile): Define.Corinna Vinschen8-302/+199
(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.
2006-07-03 * Makefile.in: Build setmetamode.exe.Corinna Vinschen3-1/+88
* setmetamode.c: New file.
2006-07-03 * fhandler.h (class dev_console): Add `metabit' indicating theCorinna Vinschen6-3/+106
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.
2006-07-03 * include/stdint.h (UINT8_C, UINT16_C): Unsigned types smallerCorinna Vinschen2-3/+8
than int promote to signed int.
2006-07-03 * net.cc (cygwin_sendto): Define appropriate parameters usingCorinna Vinschen4-27/+50
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.
2006-07-03 Add a real Changelog entry.Danny Smith1-0/+22
2006-07-03 Support SSE float environment in fenv.h functions.Danny Smith15-18/+253
* 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.
2006-07-02* include/cygwin/version.h: Bump DLL minor version number to 21.Christopher Faylor2-3/+7
2006-06-30 * net.cc (cygwin_sendto): Allow zero-sized packets.Corinna Vinschen2-3/+7
(cygwin_sendmsg): Ditto.
2006-06-26 Revert patches from 2005-10-22 and 2006-06-14 to use event drivenCorinna Vinschen4-67/+84
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.
2006-06-262006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe3-93/+103
* Include/_mingw.h: Increment version to 3.10. * Makefile.in: Ditto.
2006-06-26 * mingwex/math/tgamma.c (SQTPI): Add braces.Danny Smith2-1/+5
2006-06-26 * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.Danny Smith5-28/+55
* 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.
2006-06-25Changelog formattingDanny Smith1-1/+1
2006-06-23* fhandler_fifo.cc (fhandler_fifo::open): Release process lock and grab aChristopher Faylor4-4/+56
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.
2006-06-22 * include/sys/time.h (struct timezone): Define.Danny Smith3-1/+16
* include/time.h (_timezone): Correct comment.
2006-06-18 * configure.in (AC_CONFIG_AUX_DIR): Remove.Danny Smith3-46/+59
* configure: Regenerate.
2006-06-182006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>Chris Sutcliffe2-1/+5
* configure: add srcdir as a possible location for install-sh.
2006-06-18 * mingwex/dirent.c (_tGetFileAttributes): New helper function.Danny Smith2-1/+25
(_topendir): Use it.
2006-06-18 * include/sys/time.h: Add header guard. Add extern "C" bracketingDanny Smith4-3/+83
for __cplusplus. (gettimeofday): Add prototype. * mingwex/gettimeofday.c: New file. * mingwex/makefile.in: Add gettimeofday source and object.
2006-06-15 * cygwin.din: Export __srget_r, __swbuf_r.Corinna Vinschen3-1/+9
* include/cygwin/version.h: Bump API minor number to 156.
2006-06-14 * fhandler.h (class fhandler_socket): Add private mutex handleCorinna Vinschen3-1/+49
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.
2006-06-132006-06-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe4-8/+29
* 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.
2006-06-132006-06-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe4-16/+40
* 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).
2006-06-12 * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,Danny Smith2-3/+28
else global library variable. (HUGEVALF): Likewise; (HUGEVALL): Likewise. (INFINITY): Likewise. (NAN): LiKewise.
2006-06-12 * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.Danny Smith2-1/+5
2006-06-12 * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.Danny Smith2-1/+5
2006-06-12* fhandler_tty.cc (fhandler_pty_master::close): Always closeChristopher Faylor2-12/+11
from_master/to_master since we always have copies of these handles.
2006-06-12 * include/sys/wait.h: Move definition of wait constants from here...Corinna Vinschen4-22/+46
* include/cygwin/wait.h: ...to here. New file. * include/cygwin/stdlib.h: Include cygwin/wait.h to conform with SUSv3.
2006-06-12 * winsup.api/user_malloc.c: New file.Corinna Vinschen2-0/+220
2006-06-12 * heap.cc (heap_init): Only commit if allocsize is not zero.Corinna Vinschen2-1/+5
2006-06-12 * net.cc (fdsock): Disable raising buffer sizes. Add comment toCorinna Vinschen2-2/+18
explain why.
2006-06-12 [mingw-Bugs-1424461]Danny Smith41-8549/+8717
*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-102006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2-2/+8
* lib/Makefile.in: Added hlguids-uuid as source and object.
2006-06-102006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe4-4/+29
* 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-102006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe5-13/+40
* 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-102006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe4-9/+28
* 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-102006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe3-104/+113
* 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-092006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe6-34/+82
* 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-082006-06-08 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe10-66/+174
* 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-07Missed uuid.c on last commitChris Sutcliffe1-57/+0
2006-06-072006-06-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe5-3/+113
* 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-04ChangeLog amendment for entries dated 2006-04-18 by Thorsten DahlheimerKeith Marshall1-14/+27
2006-06-04* ioctl.cc (ioctl): Accommodate change in reported pty master device number.Christopher Faylor3-5/+13
* select.cc (peek_pipe): Ditto.
2006-06-042006-06-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe5-5/+30
* 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* cygtls.h (CYGTLS_PADSIZE): Reset to a size that XP SP1 seems to like.Christopher Faylor3-63/+69
* tlsoffsets.h: Regenerate.
2006-06-03fix wordingChristopher Faylor1-1/+2