aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-01-05 * configure.in: Use ./config.cache, not config.cache.Nathanael Nerode5-6/+11
* configure: Regenerate. * Makefile.tpl: Special-casing not needed for GCC any more. * Makefile.in: Regenerate.
2004-01-05 * configure.in: Don't share a cache file for host dirs.Nathanael Nerode3-35/+42
* configure: Regenerate.
2004-01-05 * config-ml.in: Don't mess with the cache file.Nathanael Nerode2-1/+6
2004-01-042004-01-05 Filip Navara <xnavara@volny.cz>Danny Smith7-27/+123
* include/prsht.h (LPCPROPSHEETPAGEW): Fix definition. * include/shlwapi.h (SHRegQueryInfoUSKey[AW]): Fix prototype. * include/cpl.h (CPL_STARTWPARMS[AW]): Correct. * include/shellapi.h (ABS_AUTOHIDE, ABS_ALWAYSONTOP, SEE_MASK_NO_CONSOLE, SEE_MASK_ASYNCOK, SEE_MASK_HMONITOR, FOF_NOCOPYSECURITYATTRIBS): Add defines. * include/shlobj.h (BFFM_SETOKTEXT, BFFM_SETEXPANDED, CSIDL_FLAG_DONT_VERIFY, CSIDL_FLAG_CREATE, CSIDL_FLAG_MASK, CFSTR_INETURL[AW], SHGDN_FOREDITING, SHGDN_FORADDRESSBAR, SSF_*): Add defines. (SHCNF_PATH[AW], SHCNF_PRINTER[AW], CFSTR_FILENAME[AW], CFSTR_FILENAMEMAP[AW], CFSTR_FILEDESCRIPTOR[AW], CFSTR_SHELLURL, CMDSTR_NEWFOLDER[AW], CMDSTR_VIEWLIST[AW], CMDSTR_VIEWDETAILS[AW]): Correct. (IEnumIDList): Add COBJMACROS. * include/winuser.h (MIM_*): Add define.
2004-01-04 * include/mshtml.h (IHTMLDocument2): Correct write, writelnDanny Smith4-7/+296
declarations. Thanks to: Rene Nyffenegger <renenyffenegger@users.sf.net>.
2004-01-03 * include/mshtml.h (IHTMLDocument2): Correct write, writelnDanny Smith2-2/+8
declarations. Thanks to: Rene Nyffenegger <renenyffenegger@users.sf.net>.
2004-01-032004-01-03 Filip Navara <xnavara@volny.cz>Danny Smith10-12/+442
* include/cguid.h (CLSID_StdGlobalInterfaceTable): Declare IID. * include/oaidl.h (ITypeLib2, ITypeInfo2): Define interfaces, declare IID's. (IErrorInfo): Add COBJMACROS. * include/objbase.h (STGM_NOSNAPSHOT): Add define. (CoGetPSClsid): Add protototype, (CoRegisterPSClsid): Likewise. * include/objidl.h (IMarshal): Correct methods. (IMallocSpy): Likewise, (LPPSFACTORYBUFFER): Add typedef. (IGlobalInterfaceTable): Define interface and COBJMACROS. Declare IID. (IStorage_CreateStorage, IRpcStubBuffer_Invoke): Fix macros. * include/ocidl.h (PROPBAG2_TYPE): Define enum. (PROPBAG2, QACONTAINERFLAGS, QACONTAINER, QACONTROL): Define structures. (IPropertyBag2, IPersistPropertyBag2,IAdviseSinkEx, IPointerInactive, IOleUndoUnit, IOleParentUndoUnit, IEnumOleUndoUnits, IOleUndoManager, IQuickActivate): Define interfaces. Declare IID's. (IPersistPropertyBag2): Add COBJMACROS. (LPOLEUNDOMANAGER): Add typedef. (LPPROPERTYBAG2): Likewise. * include/oleidl.h (LPPARSEDISPLAYNAME): Fix definiton. (BINDSPEED): Add definition. (IParseDisplayName, IOleItemContainer, IOleObject, IDropSource, IDropTarget): Add COBJMACROS. * include/wtypes.h (MEMCTX, MSHCTX): Fix enums. * include/winerror.h (CO_S_NOTALLINTERFACES): Add define. * lib/uuid.c (IID_IGlobalInterfaceTable, IID_IOleUndoManager, IID_IPersistPropertyBag2, IID_IPropertyBag2, IID_IRpcProxyBuffer): Add definitions.
2004-01-03* exceptions.cc (_threadinfo::interrupt_now): Avoid double call to sigdelayed.Christopher Faylor3-3/+9
* pinfo.cc (_pinfo::commune_send): Avoid inexplicable test which caused most pids to be shown as "<defunct>" on Win9x.
2004-01-03add missing entryChristopher Faylor1-0/+3
2004-01-032004 stuff.Christopher Faylor1-5675/+0
2004-01-032004 stuffChristopher Faylor6-5/+5680
2004-01-03 * Makefile.tpl: Make GCC use a separate config.cache.Nathanael Nerode3-2/+11
* Makefile.in: Regenerate.
2004-01-03 PR bootstrap/11932, PR bootstrap/11933Nathanael Nerode3-35/+62
(I don't know if it will fix either of them, but it relates to them.) * configure.in: Don't use shared config.cache for target directories. * configure: Regenerate.
2004-01-03* cygheap.h (init_cygheap): Play more vfork shell games and move ctty_on_holdChristopher Faylor10-29/+45
and open_fhs_on_hold (back) here. * dcrt0.cc (_dll_crt0): Just set impure_ptr_ptr here and let later initialization deal with tls. * dtable.cc (dtable::vfork_child_fixup): Move ctty considerations here. (dtable:vfork_parent_restore): And here. * fork.cc (vfork): Reflect change to ctty handling. * perthread.h (vfork_save::fhctty): Eliminate. * cygwin.din: Make more exports NOSIGFE that will never be interrupted by a signal. * init.cc (dll_entry): Set stackptr to NULL to catch problems earlier.
2004-01-02merge from gccDJ Delorie1-0/+594
2004-01-02Split ChangeLog files.Alan Modra8-8890/+8926
2004-01-022004-01-02 Filip Navara <xnavara@volny.cz>Danny Smith2-16/+38
* include/ddk/winddk.h: Don't care about value of DBG define. 2004-01-02 Danny Smith <dannysmith@users.sourceforge.net> Filip Navara <xnavara@volny.cz> * include/ddk/winddk.h (_DDK_DUMMYUNION_MEMBER, _DDK_DUMMYUNION_N_MEMBER): New macros. (ExAllocateFromPagedLookasideList,ExFreeToPagedLookasideList, ExAllocateFromNPagedLookasideList, ExFreeToNPagedLookasideList): Use them.
2004-01-012004-01-01 Filip Navara <xnavara@volny.cz>Danny Smith8-5/+318
* include/objbase.h: Don't care about value of DBG define. * include/objidl.h: Add some COBJMACROS. * include/ocidl.h: Ditto. * include/oleidl.h: Ditto. * include/servprov.h: Ditto. * include/shlobj.h: Ditto. * include/shlobj.h (IContextMenu2): Correct parent in DECLARE_INTERFACE. * include/oleidl.h (IOleCache, IOleCache2, IOleCacheControl): Define interfaces. * include/setupapi.h (SetupGetLineTextA): Correct prototype. Add new constants for _SETUPAPI_VER >= 0x501.
2004-01-012004-01-01 Filip Navara <xnavara@volny.cz>Danny Smith2-1/+18
* include/winnt.h (NtCurrentTeb): Add inline definition.
2004-01-012004-01-01 Martin Fuchs <martin-fuchs@gmx.net>Danny Smith3-0/+8
* include/shlobj.h (SHCoCreateInstance): Add prototype.. * lib/shell32.def (SHCoCreateInstance): Add export stub.
2004-01-012004-01-01 Igor Pechtchanski <pechtcha@cs.nyu.edu>Danny Smith3-0/+30
* lib/setupapi.def (CM_Request_Device_Eject[AW]): Add export. (CM_Request_Device_Eject_Ex[AW]): Likwise. * include/ddk/cfg.h (DN_*): Add defines.
2004-01-01* lib/ddk/cfgmgr32.def: Remove duplicate symbol names.Danny Smith2-196/+4
2004-01-012004-01-01 Mattia Barbon <mbarbon@users.sourceforge.net>Danny Smith2-1/+32
* include/commctrl.h (TVN_GETINFOTIP): Add UNICODE mappings. (NMTVGETINFOTIP): Add structure.
2004-01-01* configure.in (ia64*-*-hpux*): Disable building java libraries.DJ Delorie3-2/+7
* configure: Regenerated.
2003-12-31* cygwin.din: Make crt0 functions NOSIGFE.Christopher Faylor4-7/+12
* include/cygwin/version.h: Gratuitous comment change. * lib/_cygwin_crt0_common.cc: Remove unneeded declaration.
2003-12-30* cygtls.h (_threadinfo::stack): Increase stack size to accommodate nestedChristopher Faylor4-54/+60
signal handlers. Reorganize to cause potential SEGV on stack overflow. * sigproc.cc (no_signals_available): Check sendsig value rather than relying on obsolete sig_loop_wait. (sigproc_terminate): Ditto. (proc_can_be_signalled): Check sendsig value even for myself. * tlsoffsets.h: Regenerate.
2003-12-30Move open_fhs from fhandler.h to cygheap.h for easier tracking. AccommodateChristopher Faylor11-49/+77
this change throughout. * dtable.cc (dtable::add_archetype): Use correct count when iterating through *active* archetypes. * dtable.cc (dtable::fixup_after_exec): Close handle if close_on_exec and archetype exists since archetype currently does not set windows close-on-exec flag (FIXME). * fhandler_tty.cc (fhandler_tty_slave::open): Change debugging output slightly. (fhandler_tty_slave::close): Ditto. (fhandler_tty_slave::fixup_after_fork): Just report on inherited use counts since since archetype currently does not set windows close-on-exec flag (FIXME). * pinfo.cc (_pinfo::set_ctty): Change debugging output slightly. * cygheap.cc (cygheap_init): Remove open_fhs accommodation and use count reporting. * perthread.h (vfork_save::fhctty): New element. * perthread.h (vfork_save::open_fhs): New element. * fork.cc (vfork): Muck around with ctty and open_fhs stuff, both of which are now saved in the vfork_save structure.
2003-12-27* fhandler.h (fhandler_tty_slave::archetype): Make public.Christopher Faylor6-16/+47
(report_tty_counts): New macro. Use throughout for reporting tty use counts. * dtable.cc (dtable::vfork_child_dup): Add debugging output for usecount increment. Increment open_fhs if appropriate. (dtable::vfork_parent_restore): "Close" artificially bumped ctty. (dtable::vfork_child_fixup): Close ctty since it was bumped prior to vfork. Save open_fhs around close since the closing of these handles has no effect on the console. * fhandler_tty.cc (fhandler_tty_slave::open): Reorganize calls to allow for easier tracking of usecount modification. (fhandler_tty_slave::open): Ditto.
2003-12-27* syscalls.cc (close_all_files): Simplify logic around closing ctty.Christopher Faylor2-9/+10
2003-12-27* pinfo.cc (_pinfo::set_ctty): *Always* call close on opened ctty since itChristopher Faylor2-2/+6
counts as an opened handle.
2003-12-27* fhandler.h (fhandler_tty_master::fixup_after_fork): Remove declaration.Christopher Faylor8-23/+34
(fhandler_tty_master::fixup_after_exec): Ditto. * fhandler_tty.cc (fhandler_tty_master::init): Fix so that children do not inherit master tty handles. (fhandler_tty_master::fixup_after_fork): Remove, since it was never used. (fhandler_tty_master::fixup_after_exec): Ditto. * pinfo.cc (_pinfo::set_ctty): Increment open_fhs when ctty is set. * cygheap.cc (cygheap_init): Ditto. * syscalls.cc (setsid): *Always* call close on opened ctty since the archetype is associated with the ctty and it counts as an opened handle. * tty.cc (tty::common_init): Don't protect input/output mutex since it confuses subsequent fork/execs when CYGWIN=tty.
2003-12-27* exceptions.cc (try_to_debug): Fix off-by-one problem when resettingChristopher Faylor4-5/+18
environment variable after error_start detected. * fhandler_tty_slave.cc (fhandler_tty_slave::close): Clarify debug message. * syscalls.cc (setsid): Don't increment usecount here, since it will be automatically decremented on close.
2003-12-26* exceptions.cc (setup_handler): Protect against a race.Christopher Faylor1-0/+4
2003-12-26* path.cc (mount_item::build_win32): Backslashify paths in non-managed case.Christopher Faylor3-4/+11
2003-12-26* Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include.Christopher Faylor2-4/+12
(CYGWIN_LIB): Delete. (cygserver.exe target): Add -L$(cygwin_build) to the link line to force linker to use build tree version of the library. Remove specific inclusion of libcygwin.a from the link line.
2003-12-26* dcrt0.cc (reent_data): Reluctantly resurrect.Christopher Faylor6-20/+46
(__cygwin_user_data::impure_ptr): Ditto. (_dll_crt0): Reluctantly initialize _impure_ptr here. (initialize_main_tls): Eliminate local_clib initialization since it now happens in init_thread. * init.cc (dll_entry): Reluctantly remove code which set _impure_ptr to the main thread's local_clib. * perthread.h (reent_data): Remove obsolete declaration. * sigproc.cc (proc_subproc): Add more debugging output. (get_proc_lock): Ditto. *dcrt0.cc (dll_crt0_1): Allocate argv[0] via malloc since main thread could exit.
2003-12-24* winsup.api/pthread/rwlock7.c (main): Don't assume that result of randChristopher Faylor2-1/+7
operation is non-zero.
2003-12-23* fork.cc (fork_child): After a pthread/fork, ensure that impure pointer stuffChristopher Faylor2-1/+7
which resides in parent is propagated to child thread.
2003-12-23add missing fileChristopher Faylor1-0/+125
2003-12-23* exceptions.cc (set_signal_mask): Redefine to not pass by address. ReportChristopher Faylor35-744/+513
calculated mask in debugging output. * sigproc.h (set_signal_mask): Reflect above change in declaration. * path.cc (mount_item::build_win32): Take path apart before feeding it to fnmunge. Throughout, change use of _reent_winsup()-> to _my_tls.locals. instead. Throughout, remove obsolete MT_SAFE/_CYG_THREAD_FAILSAFE considerations. Througout, add cygtls.h include. * Makefile.in (DLL_OFILES): Add cygtls.o. Add some more objects to the -fomit-frame-pointer list. * acconfig.h: Remove obsolete settings. * config.h.in: Ditto. * bsdlib.cc: Add cygtls.h include. * configure.in: Remove --enable-extra-threadsafe-checking. * configure: Regenerate. * cygtls.h (_local_storage): New struct renamed from _winsup_t (sic). (_threadinfo:local_clib): Add new field. (_threadinfo::locals): Ditto. (_threadinfo::init_thread): Accept second _reent * argument. (_threadinfo::call): Define as regparm. (CYGTLS_PADSIZE): Remove unnecessary slop. (_getreent): Define as a macro. * thread.h: Remove _CYG_THREAD_FAILSAFE and MT_SAFE stuff. (_winsup_t): Move to cygtls.h. (ResourceLocks::ResourceLocks): Eliminate empty constructor. (MTinterface::reents): Eliminate. (MTinterface::thread_self_key): Eliminate. (MTinterface::MTinterface): Eliminate. * dcrt0.cc: Include stdio.h for _impure_ptr initialization. (do_global_ctors): Remove run_ctors_p (sic) considerations. Don't call atexit here. (__main): Initialize destructors for user here. (dll_crt0_1): Accept a dummy argument. Don't call init_thread here. Don't set _impure_ptr here. Call do_global_ctors after more things have been initialized. (_dll_crt0): Define zeros buffer as max of needed size of CYGTLS_PADSIZE so that it can be used for two purposes while minimizing stack usage. Initialize _impure_ptr specifically, for speed. Call dll_crt0_1 with buffer argument. (cygwin_dll_init): Call dll_crt0_1 with dummy argument. * dtable.cc (dtable::find_unused_handle): Remove call to AssertResourceOwner. * exceptions.cc: Move _threadinfo stuff to new file. * cygtls.cc: New file. * gentls_offsets: Accommodate increasing complexity of cygtls.h. * hires.h (hires_base::~hires_base): Remove. * init.cc (dll_entry): Remove setting of reents. * thread.cc: Remove syslog.h include. (__getreent): Simplify to use _my_tls. (_reent_winsup): Delete. (AssertResourceOwner): Delete. (MTinterface::Init): Remove setting of _clib and _winsup, with all that entails. (MTinterface::fixup_after_fork): Ditto. (pthread::thread_init_wrapper): Ditto. Also remove call to set_tls_self_pointer. (pthread::set_tls_self_pointer): Eliminate. (pthread::get_tls_self_pointer): Just return _my_tls.tid; (__reent_t::init_clib): Eliminate. * tlsoffsets.h: Regenerate.
2003-12-22* configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.DJ Delorie3-33/+44
* configure: Regenerated.
2003-12-19merge from gccDJ Delorie2-2/+7
2003-12-192003-12-19 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode3-2/+99
Port change over from GCC: 2003-11-20 Kelley Cook <kcook@gcc.gnu.org> * Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL. (configure-build-[+module+], configure-[+module+]): Likewise. (configure-target-[+module+], configure-gcc, config.status): Likewise. * Makefile.in: Regenerate.
2003-12-19Add support for m32r-linux target, including a RELA ABI and PIC.Nick Clifton2-12/+59
2003-12-19merge from gccDJ Delorie2-0/+10
2003-12-18* sigproc.cc (proc_subproc): Simplify code to just remove all zombies ifChristopher Faylor2-6/+10
SIGCHLD == SIG_IGN.
2003-12-17* pinfo.h (pinfo::operator ==): Add a way to check for _pinfo types.Christopher Faylor5-8/+20
* sigproc.cc (proc_subproc): Ensure that zombie is removed when SIGCHLD == SIG_IGN but still allow wait()ing threads to wake up.
2003-12-16* exceptions.cc (set_signal_mask): Report on input argument rather thanChristopher Faylor6-9/+47
getsigmask. * fhandler.h (fhandler_base): Make friends with close_all_files. * pinfo.cc (_pinfo::set_ctty): Add more debugging. * sigproc.cc (proc_can_be_signalled): Detect state when signal handler thread is gone in target process as an EPERM situation. Set errno to ESRCH if process doesn't exist. (sigproc_terminate): Set sendsig to illegal value when closed. (sig_send): Rely on proc_can_be_signalled setting the proper errno. * syscalls.cc (close_all_files): Detect when all ttys are closed prior to calling close_all_files. The ctty needs to be closed explicitly in this case.
2003-12-16 * include/cygwin/ipc.h: Include sys/types.h.Corinna Vinschen2-0/+6
2003-12-16 * bsd_helper.cc (tunable_params): Add entries for kern.ipc.msgmnb andCorinna Vinschen4-2/+22
kern.ipc.msgtql. Raise max value for kern.ipc.msgseg to 65535. * cygserver.conf: Add kern.ipc.msgmnb and kern.ipc.msgtql. * sysv_msg.cc (msginit): Add TUNABLE_INT_FETCH call for kern.ipc.msgmnb and kern.ipc.msgtql.