Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)Author
2007-07-17 * fhandler_disk_file.cc (fhandler_disk_file::opendir): Move settingCorinna Vinschen
cfd->nohandle where it won't crash.
2007-07-17 * cygheap.h (cygheap_user::curr_imp_token): Rename from current_token.Corinna Vinschen
Accommodate changge throughout Cygwin. (cygheap_user::imp_token): Rename from token. Accommodate changge throughout Cygwin. (rcygheap_user::eimpersonate): Use primary token for impersonation. * grp.cc (internal_getgroups): Use primary impersonation token when impersonated. * security.h (_push_thread_privilege): Use primary impersonation token when impersonated.
2007-07-14* init.cc (in_dllentry): Delete.Christopher Faylor
(dll_entry): Remove assignment to deleted variable. * winsup.h (in_dllentry): Delete declaration. * exceptions.cc (inside_kernel): Use another method to see if we are in dll_entry phase.
2007-07-14* init.cc (in_dllentry): Make NO_COPY to avoid spurious false positives.Christopher Faylor
2007-07-122007-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* include/winuser.h (FE_FONTSMOOTHINGSTANDARD, FE_FONTSMOOTHINGCLEARTYPE): Define.
2007-07-12Changelog typoDanny Smith
2007-07-12 * incude/wchar.h (_wsystem) Declare.Danny Smith
(_wputenv) Declare. (_wgetenv): Declare. (_wsearchenv): Declare. (_wmakepath): Declare. (_wsplitpath): Declare. (_wfullpath): Declare. * incude/stdlib.h (_wsystem) Declare. (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath, _wfullpath): Move into _WSTDLIB_DEFINED guard. * include/tchar.h (_tsystem): New UNICODE mapping define.
2007-07-12 * include/winuser.h: (PBT_APMQUERYSUSPEND, PBT_APMQUERYSTANDBY,Danny Smith
PBT_APMQUERYSUSPENDFAILED, PBT_APMQUERYSTANDBYFAILED, PBT_APMSUSPEND, PBT_APMSTANDBY, PBT_APMRESUMECRITICAL, PBT_APMRESUMESUSPEND, PBT_APMRESUMESTANDBY, PBT_APMBATTERYLOW, PBT_APMPOWERSTATUSCHANGE, PBT_APMOEMEVENT, PBT_APMRESUMEAUTOMATIC): Sync with include/pbt.h.
2007-07-12 [mingw-Bugs-1751518]Danny Smith
* include/mshtml.h (IHTMLDocument2): Correct spelling of put_URL, get_URL. [mingw-Bugs-1751565] * include/basetyps.h (IID); Guard with __IID_DEFINED__ [mingw-Bugs-1751595] * include/exdisp.h (DWebBrowserEvents2): Remove undocumented STDDISP methods.
2007-07-10 [mingw-Bugs-1750898]Danny Smith
* include/mmsystem.h (MIXERCONTROL): Correct UNICODE mapping. Thanks to Yuji Kuwabara <yujikuwabara at sf dot net>
2007-07-10* debug.cc (close_handle): Change debug output format slightly.Christopher Faylor
* dlfcn.cc (dlclose): Don't close handle returned from GetModuleHandle(NULL). * fhandler.h (fhandler_pipe::create): Remove obsolete argument. (fhandler_pipe::create): Ditto. * fhandler.cc (fhandler_pipe::create): Ditto. (fhandler_pipe::create): Ditto.
2007-07-10* strace.cc (usage): Add missing description for -q.Christopher Faylor
2007-07-10* cygwin/strsig.cc (__signals): New macro.Christopher Faylor
(sys_sigabbrev): New array of signal strings, patterned after linux. (siglist): Use __signals. * cygwin/include/cygwin/signal.h (sys_sigabbrev): Define. * cygwin/include/cygwin/version.h: Bump API minor version to 177. * utils/Makefile.in (kill.exe): Remove reliance on libiberty. * utils/kill.cc (strsigno): New function patterned after libiberty but using newly exported cygwin array.
2007-07-09 * dir.cc (closedir): Revert change from 2007-06-29.Corinna Vinschen
* fhandler.h (dirent_valid_fd): Drop. * fhandler_disk_file.cc (fhandler_disk_file::opendir): If opening a real dir, use the underlying fhandler to keep track of the directory handle. In fdopendir case use original io_handle from fhandler. Use fhandler's io_handle in subsequent directory functions throughout. Create handle non-inheritable and set close-on-exec flag. (readdir_get_ino): Drop dirent_isroot case. (fhandler_disk_file::readdir): Handle dirent_isroot case here. (fhandler_disk_file::rewinddir): Revert change from 2007-07-05. Use NtClose instead of CloseHandle. * fhandler_virtual.cc (fhandler_virtual::opendir): Drop adding dirent_valid_fd flag. Set close-on-exec flag.
2007-07-09 [mingw-Bugs-1749305]Danny Smith
* lib/kernel32.def (GetConsoleProcessList@8): Add export.
2007-07-08* Makefile.in (DLL_OFILES): Add newly-imported random.o. Eliminate reliance onChristopher Faylor
libiberty. * random.cc: Import from FreeBSD. Modify for Cygwin environment. * include/cygwin/stdlib.h (random): Reflect change in return value to be more linux/freebsd-like. (srandom): Ditto.
2007-07-08Add initial FreeBSD version of random.cChristopher Faylor
2007-07-07update copyrightChristopher Faylor
2007-07-07* fhandler.h (fhandler_base::write): Remove __stdcall decoration.Christopher Faylor
(fhandler_pipe::write): Ditto. (fhandler_fifo::write): Ditto.
2007-07-07Preliminary change to make fifos/pipes interruptible and fifos reliable.Christopher Faylor
* dtable.cc (dtable::find_fifo): Eliminate definition. * dtable.h (dtable::find_fifo): Ditto for declaration. * fhandler.cc (fhandler_base::raw_read): Remove pipe-specific stuff. (fhandler_base::fhandler_base): Ditto. (fhandler_base::close): Handle overlapped I/O structure if appropriate. (fhandler_base::dup): Ditto. (fhandler_base::fork_fixup): Ditto. (fhandler_base::setup_overlapped): Define new function. (fhandler_base::destroy_overlapped): Ditto. (fhandler_base::wait_overlapped): Ditto. (fhandler_base::read_overlapped): Ditto. (fhandler_base::write_overlapped): Ditto. * fhandler.h (fhandler_base::get_overlapped): Declare new function. (fhandler_base::setup_overlapped): Ditto. (fhandler_base::destroy_overlapped): Ditto. (fhandler_base::wait_overlapped): Ditto. (fhandler_base::read_overlapped): Ditto. (fhandler_base::write_overlapped): Ditto. (fhandler_base::get_guard): Eliminate. (fhandler_pipe::*): Rework to eliminate most Win9x related cruft, removing many variables and defining a new overlapped capability. (fhandler_fifo::*): Ditto. (fifo_state): Declare new enum. * fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Remove old Win9x stuff. Initialize overlapped handle to NULL. (fhandler_fifo::set_use): Eliminate. (fhandler_fifo::open_nonserver): Define. (fhandler_fifo::open): Rework to use named pipes and overlapped I/O. (fhandler_fifo::wait): Define new function to wait for named pipe connection. (fhandler_fifo::read): Rework to use wait() and new overlapped I/O functionality. (fhandler_fifo::write): Ditto. (fhandler_fifo::dup): Eliminate. * pinfo.cc (commune_process): Remove fifo handling. (_pinfo::commune_request): Ditto. * pinfo.h (picom): Ditto. * pipe.cc (fhandler_pipe::fhandler_pipe): Remove Win9x stuff. Initialize overlapped handle to NULL. (fhandler_pipe::open): Eliminate Win9x stuff. (fhandler_pipe::set_close_on_exec): Eliminate. (read_pipe): Eliminate. (fhandler_pipe::close): Ditto. (fhandler_pipe::fixup_after_exec): Ditto. (fhandler_pipe::fixup_in_child): Ditto. (fhandler_pipe::read): Rework to use overlapped I/O. (fhandler_pipe::write): New function using overlapped I/O. (fhandler_pipe::dup): Rework to eliminate Win9x stuff. (fhandler_pipe::create_selectable): Rework to eliminate Win9x and use overlapped I/O. * select.cc (peek_pipe): Rework to eliminate Win9x stuff and use overlapped I/O. (fhandler_base::ready_for_read): Ditto.
2007-07-07* path.cc (symlink_info::check_shortcut): Handle device "symlinks" specially -Christopher Faylor
don't posixify them.
2007-07-07* fhandler_disk_file.cc: White space.Christopher Faylor
* fhandler_proc.cc: Ditto. * fhandler_virtual.cc: Ditto.
2007-07-07* fork.cc: White space.Christopher Faylor
* net.cc: Ditto. * posix_ipc.cc: Ditto.
2007-07-07 * times.cc (gettimeofday): Align definition to POSIX.Corinna Vinschen
2007-07-07 * cygwin.din: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm.Corinna Vinschen
* include/cygwin/version.h: Bump API minor number.
2007-07-06 * CYGWIN_LICENSE: Fix URL to world-wide offices.Corinna Vinschen
2007-07-06 * CYGWIN_LICENSE: Fix URL to open source definition.Corinna Vinschen
2007-07-05 * fhandler_disk_file.cc (fhandler_disk_file::opendir): Add missingCorinna Vinschen
OBJ_INHERIT flag when creating OBJECT_ATTRIBUTES. (fhandler_disk_file::rewinddir): Ditto.
2007-07-05 Check in missing cygwin.din change from 2007-06-29.Corinna Vinschen
2007-07-04 * times.cc: Define __timezonefunc__ before including time.h to protectCorinna Vinschen
definition of timezone function.
2007-07-04 * include/cygwin/time.h: Switch to timezone variable by default. AddCorinna Vinschen
comment.
2007-07-02 * include/shlobj.h: Add CSIDL_MYMUSIC and CSIDL_MYVIDEO.Corinna Vinschen
2007-07-02 * include/oaidl.h: Include windows.h and ole2.h,Danny Smith
unless COM_NO_WINDOWS_H. [ mingw-Bugs-1742130 ] * include/oaidl.h (struct tagVARIANT): Add union members LONGLONG * pllVal and ULONGLONG * pullVal.
2007-07-01 * include/ws2tcpip.h (s6_addr32): Correct definition,Danny Smith
Thanks to Alfred E. Heggestad <aeh at db dot org>
2007-06-29 * cygwin.din: Export fdopendir.Corinna Vinschen
* dir.cc (opendir): Call fhandler's opendir with fd set to -1. (fdopendir): New function. (seekdir64): Use dirent_info_mask. (rewinddir): Ditto. (closedir): Only release underlying file descriptor if it has been reserved by opendir itself. * fhandler.cc (fhandler_base::opendir): Accommodate new parameter. * fhandler.h (dirent_states): Add dirent_valid_fd and dirent_info_mask. (fhander_XXX::opendir): Add file descriptor parameter. Use regparms. (fhandler_procnet::opendir): Drop declaration. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto. If called from fdopendir, use existing handle to re-open directory with valid flags. Rename fd to cfd. Use only if no valid incoming fd. (fhandler_cygdrive::opendir): Accommodate new parameter. * fhandler_process.cc (fhandler_process::opendir): Ditto. * fhandler_procnet.cc (fhandler_procnet::opendir): Drop definition. * fhandler_virtual.cc (fhandler_virtual::opendir): Accommodate new parameter. Only create new file descriptor entry if called from opendir. Remove duplicated setting of dir->__flags. * posix.sgml: Add fdopendir to list of implemented Solaris functions. * include/cygwin/version.h: Bump API minor number. * include/sys/dirent.h: Declare fdopendir.
2007-06-29 * mingwex/gdtoa/mingw_snprintf.c: New file.Danny Smith
* mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c. (GDTOA_OBJS): Add mingw_snprintf.O.
2007-06-29 * cygwin-api.in.sgml: Remove authorgroup and revhistory.Corinna Vinschen
* cygwin-ug.in.sgml: Add Joshua Daniel Franklin to authorgroup. Remove revhistory. * legal.sgml: Update dates.
2007-06-29 * include/cygwin/version.h: Fix comment typo.Brian Dessent
2007-06-28 * cygwin.din: Export stpcpy, stpncpy.Corinna Vinschen
* posix.sgml: Add stpcpy and stpncpy to list of implemented GNU extensions. * include/cygwin/version.h: Bump API minor number.
2007-06-28 * msvcrt.def.in: Update comment.Danny Smith
Exclude _ctype stub if using msvcr71.dll or newer. * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer. * include/wctype.h: Likewise.
2007-06-27 * shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.Corinna Vinschen
(CURR_SHARED_MAGIC): Ditto. (class shared_info): Add heap_slop_inited member. * shared.cc (shared_info::heap_slop_size): Use heap_slop_inited to track initializing heap_slop since 0 is a valid value for heap_slop. Drop useless < 0 consideration.
2007-06-27 * assert.cc (__assert_func): New function, to match newlib headerEric Blake
change. * cygwin.din: Export __assert_func. * include/cygwin/version.h: Bump API minor number.
2007-06-23*include/wctpe.h: Likewise.Danny Smith
*include/wdirent.h: Likewise. Changelog: Whitespace Further: http://www.lib.virginia.edu/cgi-bin/imgload.cgi/53
2007-06-23 *include/assert.h: Qualify all functions with __MINGW_NOTHROW.Danny Smith
*include/conio.h: Likewise. *include/ctype.h: Likewise. *include/direct.h: Likewise. *include/dos.h: Likewise. *include/errno.h: Likewise. *include/fenv.h: Likewise. *include/float.h: Likewise. *include/inttypes.h: Likewise. *include/io.h: Likewise. *include/libgen.h: Likewise. *include/locale.h: Likewise. *include/malloc.h: Likewise. *include/mbctype.h: Likewise. *include/mbstring.h: Likewise. *include/process.h: Likewise. *include/search.h: Likewise. *include/setjmp.h: Likewise. *include/signal.h: Likewise. *include/stdio.h: Likewise. *include/stdlib.h: Likewise. *include/string.h: Likewise. *include/time.h: Likewise. *include/wchar.h: Likewise. *include/sys/stat.h: Likewise. *include/sys/time.h: Likewise. *include/sys/timeb.h: Likewise. *include/sys/utime.h: Likewise.
2007-06-22 * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.Danny Smith
Good night all.
2007-06-22 Add POSIX binary tree search API.Danny Smith
* mingwex/tfind.c: New file. * mingwex/tdelete.c: New file. * mingwex/tsearch.c: New file. * mingwex/twalk.c: New file. * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c. * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o. * include/search.h (tfind): Declare. (tdelete): Declare. (tsearch): Declare. (twalk): Declare. (ENTRY): Define. (ACTION): Define. (VISIT): Define. (node_t): Define, on condition of _SEARCH_PRIVATE.
2007-06-22 * include/_mingw.h (__MINGW_NOTHROW): Define.Danny Smith
2007-06-21 * autoload.cc (WSAIoctl): Remove.Corinna Vinschen
* cygwin.din: Export freeifaddrs, getifaddrs. * fhandler_socket.cc (fhandler_socket::ioctl): Drop SOCKET parameter from get_ifconf. * net.cc: Include ifaddrs.h. (in_are_prefix_equal): Match addresses in network byte order. (ip_addr_prefix): Convert address into host byte order before testing with IN_LOOPBACK. (struct ifall): Define. (get_xp_ifs): Replace get_xp_ifconf. Return struct ifall array. (get_2k_ifs): Ditto, replace get_2k_ifconf. (get_nt_ifs): Ditto, replace get_nt_ifconf. (getifaddrs): New function. (freeifaddrs): New function. (get_ifconf): Call matching get_XX_ifs function and create ifc content from here. Drop lo fake since it's now in get_nt_ifs. * posix.sgml: Add freeifaddrs and getifaddrs to list of implemented BSD functions. * wincap.h (wincapc::has_broken_if_oper_status): New element. * wincap.cc: Implement above element throughout. * include/ifaddrs.h: New file. * include/cygwin/version.h: Bump API minor number.
2007-06-21 * cygwin.din: Export exp10, exp10f, pow10, pow10f, strcasestr,Corinna Vinschen
funopen, fopencookie. * include/cygwin/version.h: Bump API minor number. * posix.sgml: Minor improvements.
2007-06-20 * include/cygwin/if.h (IFF_POINTOPOINT): Fix typo.Corinna Vinschen