summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* fix typoChristopher Faylor2003-06-071-1/+1
|
* * poll.cc: Define FD_SETSIZE to ridiculously large number so that there will beChristopher Faylor2003-06-072-0/+6
| | | | no artificially large limits.
* * fhandler_tty.cc (fhandler_tty_slave::close): Free the console when last ttyChristopher Faylor2003-06-072-1/+7
| | | | closes.
* * fhandler_socket.cc (fhandler_socket::connect): Change errorThomas Pfaff2003-06-072-6/+14
| | | | | handling for nonblocking connects to return EALREADY when connect is called more than once for the same socket.
* * cygwin.din: Add vsyslog.Corinna Vinschen2003-06-066-7/+28
| | | | | | | | | | * fhandler.cc (fhandler_base::write): Only make file sparse if the seeked area is >= 128K. * syslog.cc (vsyslog): New function, overtaking functionality from syslog. (syslog): Just call vsyslog. * include/cygwin/version.h: Bump API minor. * include/sys/syslog.h: Add vsyslog declaration.
* 2003-06-06 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-06-065-2/+162
| | | | | | | | | | | | | | * lib/test.c: #include <powerprof.h>. 2003-06-06 James E. Lucas <xelloss@sourceforge.net> * include/powerprof.h: New file. * lib/powerprof.def: New file. 2003-06-06 Danny Smith <dannysmith@users.sourceforge.net> * include/winnt (SLIST_HEADER): Add C90 anonymous struct protection.
* * cygthread.cc (cygthread::terminate_thread): Change system_printf toChristopher Faylor2003-06-052-1/+6
| | | | debug_printf.
* * include/winuser.h (WNDCLASS[AW], WNDCLASSEX[AW]): Change type ofLuke Dunstan2003-06-052-4/+10
| | | | | hInstance members to HINSTANCE. Thanks to: Brenden T. <brenden@rcsis.com>
* * shared.cc (shared_info::heap_chunk_size): Be really defensive about makingChristopher Faylor2003-06-052-0/+7
| | | | sure that heap_chunk is set.
* 2003-06-05 Bart Oldeman <bartoldeman@users.sourceforge.net>Danny Smith2003-06-053-2/+8
| | | | | * include/lmaccess.h (UF_MNS_LOGON_ACCOUNT): Add define. * include/wingdi.h (LPRGBTRIPLE, LPRGBQUAD): Add typedefs.
* * path.cc (conv_path_list): Use correct value when calculating length to avoidChristopher Faylor2003-06-042-1/+6
| | | | a potential SEGV.
* 2003-06-03 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-06-042-25/+17
| | | | | | | * fhandler_disk_file.cc (fhandler_disk_file::fstat): Mark the pc as non-executable if the file cannot be opened for read. Retry query open only if errno is EACCES. Never change the mode, even if it is 000 when query open() fails.
* * configure.in: Allow any i?86 variant.Christopher Faylor2003-06-041-0/+5
| | | | * configure: Regenerate.
* * configure.in: Allow any i?86 variant.Christopher Faylor2003-06-032-2/+2
| | | | * configure: Regenerate.
* * fhandler_socket.cc (connect_thread): Remove.Corinna Vinschen2003-06-033-55/+77
| | | | | | | | | (accept_thread): Remove. (fhandler_socket::connect): Remove all special blocking handling. (fhandler_socket::accept): Ditto. * net.cc (cygwin_connect): Make blocking sockets temporarily non-blocking and call cygwin_select on them to be interruptible. (cygwin_accept): Ditto.
* * spawn.cc (spawn_guts): Don't hang around if the parent doesn't exist.Christopher Faylor2003-06-032-2/+6
|
* * include/ddk/ntpoapi.h (POWER_INFORMATION_LEVEL): Remove.Danny Smith2003-06-025-43/+35
| | | | | | | * include/winnt.h (POWER_INFORMATION_LEVEL): Add. * include/ddk/winddk.h (SINGLE_LIST_ENTRY,SLIST_HEADER): Remove. * include/ddk/ndis.h (NdisAllocateSpinLock): Add missing '\'.
* * cygthread.h (cygthread::terminate_thread): Mark private.Christopher Faylor2003-06-023-5/+16
| | | | | * cygthread.cc (cygthread::terminate_thread): Deallocate free_range thread stuff.
* * fhandler_socket.cc (fhandler_socket::accept): Rename `signalled'Corinna Vinschen2003-06-022-2/+7
| | | | to `interrupted' as used in fhandler_socket::connect.
* * fhandler_socket.cc (fhandler_socket::connect): Simplify previousCorinna Vinschen2003-06-022-28/+16
| | | | | patch. (fhandler_socket::accept): Ditto.
* * fhandler_socket.cc: Include cygthread.h.Corinna Vinschen2003-06-022-110/+71
| | | | | | | | | (class sock_event): Remove. (thread_connect): New function. (thread_accept): Ditto. (fhandler_socket::connect): Use cygthread instead of socket event handling for blocking sockets. (fhandler_socket::accept): Ditto.
* * fhandler.cc (fhandler_base::write): Correct minor printf formatting styleChristopher Faylor2003-06-022-1/+6
| | | | glitch.
* 2003-06-01 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-06-012-12/+17
| | | | | * fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Assume an existing directory is a root if FindFirstFile fails.
* * path.cc (mount_info::conv_to_win32_path): gcc warning about chroot_ok wasChristopher Faylor2003-05-302-3/+9
| | | | actually valid. Fix it.
* * cygheap.cc (init_cheap): Temporarily remove inline that newer gcc's haveChristopher Faylor2003-05-304-15/+22
| | | | | | problems with. * path.cc (path_conv::check): Rework has_acls logic slightly. Uncouple exec tests away from filesystem tests.
* 2003-05-30 Mattia Barbon <mbarbon@dsi.unive.it>Luke Dunstan2003-05-307-12/+207
| | | | | | | | | | | | | | | | | | | | | | | * lib/oleacc.def: New file. * include/winable.h: New file. * include/oleacc.h: Add extern "C" guard. (NAVDIR_*, ROLE_*, STATE_*): Add missing constants. (AccessibleChildren, AccessibleObjectFromEvent, AccessibleObjectFromPoint, AccessibleObjectFromWindow, CreateStdAccessibleProxy[AW], GetOleaccVersionInfo, GetRoleText[AW], GetStateText[AW], LresultFromObject, ObjectFromLresult, WindowFromAccessibleObject): Add prototypes and UNICODE mappings. * include/winuser.h (NotifyWinEvent): Add prototype. (OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR, OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL, OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT, OBJID_SOUND): Move from here to... * include/winable.h (OBJID_WINDOW, OBJID_SYSMENU, OBJID_TITLEBAR, OBJID_MENU, OBJID_CLIENT, OBJID_VSCROLL, OBJID_HSCROLL, OBJID_SIZEGRIP, OBJID_CARET, OBJID_CURSOR, OBJID_ALERT, OBJID_SOUND): Here, as per documentation. * lib/test.c: Include winable.h. * lib/user32.def (NotifyWinEvent): Add missing export.
* 2003-05-30 Bang Jun-Young <junyoung@netbsd.org>Danny Smith2003-05-303-1/+26
| | | | | | * include/winbase.h (HeapCompact): Correct prototype. * include/winnt.h (SINGLE_LIST_ENTRY, SLIST_ENTRY, SLIST_HEADER): Add.
* * include/sys/param.h: Add DEV_BSIZE.Corinna Vinschen2003-05-302-1/+10
|
* 2003-05-30 Sascha Sommer <saschasommer@freenet.de>Danny Smith2003-05-302-0/+13
| | | | * include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
* * fhandler_socket.cc (fhandler_socket::dup): Rearrange. FixCorinna Vinschen2003-05-292-22/+29
| | | | conditional.
* * include/winuser.h (LWA_COLORKEY, LWA_ALPHA): Add defines.Luke Dunstan2003-05-292-0/+6
|
* * mkvers.sh: Avoid "-dontuse" tags.Christopher Faylor2003-05-295-35/+74
| | | | | | | | | | * path.cc (path_conv::check): Set exec state based on known situations. * path.cc (mount_item::fnmunge): New function. (mount_item::build_win32): New function. (mount_info::conv_to_win32_path): Use build_win32 to build windows path. * path.h (mount_item::fnmunge): Declare new function. (mount_item::build_win32): Ditto. * sys/mount.h (MOUNT_ENC): Define.
* * fhandler_socket.cc (fhandler_socket::dup): If running impersonated,Corinna Vinschen2003-05-282-10/+24
| | | | | | revert to original account before calling fixup_before_fork_exec and impersonate again afterwards. Change comment accordingly. Clean up error handling and debug output.
* * fhandler_socket.cc (sock_event::~sock_event): New method.Thomas Pfaff2003-05-272-21/+34
| | | | | | | (sock_event::load): Change to void. Check if winsock2 is available. (socke_event::wait): Return 0 if interruptible mode is not available. (fhandler_socket::connect): Remove checks for winsock2 availability. (fhandler_socket::accept): Ditto.
* * fhandler_socket.cc (fhandler_socket::dup): First try duplicatingCorinna Vinschen2003-05-272-7/+13
| | | | using WSADuplicateSocket/WSASocket, if that fails, try DuplicateHandle.
* * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): FilterCorinna Vinschen2003-05-272-0/+8
| | | | permissions throug umask on FAT or if ntsec is off.
* * syscalls.cc (statfs): Call GetDiskFreeSpaceEx before GetDiskFreeSpace.Corinna Vinschen2003-05-262-3/+10
|
* * fhandler.cc (is_at_eof): Fix conditional. Use INVALID_FILE_SIZECorinna Vinschen2003-05-262-1/+6
| | | | instead of numeric constant.
* * fhandler_socket.cc (fhandler_socket::connect): Guard calls toCorinna Vinschen2003-05-262-3/+9
| | | | | sock_event methods by a check for WinSock2 availability. (fhandler_socket::accept): Ditto.
* * fhandler.h: Rename FH_W95LSBUG flag to FH_LSEEKED.Corinna Vinschen2003-05-264-54/+92
| | | | | | | | | | | | | | (fhandler_base::set_did_lseek): Rename from set_check_win95_lseek_bug. (fhandler_base::get_did_lseek): Rename from get_check_win95_lseek_bug. (fhandler_base::set_fs_flags): New method. (fhandler_base::get_fs_flags): Ditto. * fhandler.cc (fhandler_base::write): Make 64 bit clean. Convert file to a "sparse" file when writing after a long lseek (>64K) beyond EOF. (fhandler_base::lseek): Call set_did_lseek() instead of set_check_win95_lseek_bug(). (fhandler_base::fhandler_base): Initialize fs_flags to 0. * fhandler_disk_file.cc (fhandler_disk_file::open): Don't create files as "sparse" unconditionally. Set fs_flags member.
* * include/winuser.h (EnumDisplayDevicesW): Fix typo.Christopher Faylor2003-05-252-1/+5
|
* * autoload.cc (GetDiskFreeSpaceEx): Add.Corinna Vinschen2003-05-254-35/+45
| | | | | | | | * syscalls.cc (statfs): Call full_path.root_dir() instead of rootdir(full_path). Use GetDiskFreeSpaceEx when available and report space available in addition to free space. * fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Do not call FindFirstFile for disk root directories.
* * fhandler_process.cc (format_process_stat): use PagefileUsageCorinna Vinschen2003-05-242-2/+8
| | | | | instead of VirtualSize. (get_mem_values): Ditto.
* 2003-05-23 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-05-233-4/+28
| | | | | | | | | | * include/winuser.h (EnumDisplayDevices[AW]): Add prototypes. * include/wingdi.h (DISPLAY_DEVICE): UNICODE it. 2003-05-23 Andrew Dunbar <hippietrail@users.sourceforge.net> * include/wingdi.h (GCP_RESULTS[AW]) Correct type of lpGlyphs field to LPWSTR.
* * include/wincrypt.h (PLAINTEXTKEYBLOB, OPAQUEKEYBLOB,Danny Smith2003-05-212-1/+25
| | | | | | | PUBLICKEYBLOBEX, SYMMETRICWRAPKEYBLOB) Add defines. (PP_*): Add defines. (CryptContextAddRef): Add prototype. Thanks to: Shura Zam <debil_urod@users.sourceforge.net>
* * shared_info.h: Match shared_name declaration with below change.Corinna Vinschen2003-05-216-14/+35
| | | | | | | | | | | * shared.cc (shared_name): Use incoming char * parameter instead of local static buffer. (open_shared): Accomodate new calling convention for shared_name. * exceptions.cc (events_init): Ditto. * sigproc.cc (getsem): Ditto. * syscalls.cc (login): Ditto. (logout): Ditto. (pututline): Ditto.
* * fhandler_socket.cc (secret_event_name): Return void. Use incomingCorinna Vinschen2003-05-202-9/+16
| | | | | | | char *parameter instead of local static buffer. (fhandler_socket::create_secret_event): Accomodate new calling convention for secret_event_name. (fhandler_socket::close_secret_event): Ditto.
* * fhandler_socket.cc (SECRET_EVENT_NAME): Remove.Corinna Vinschen2003-05-205-36/+122
| | | | | | | | | | | | | | | | | (ENTROPY_SOURCE_NAME): Ditto. (secret_event_name): New static function. Create shared event name with "Global\" prefix on systems supporting terminal services. (fhandler_socket::set_connect_secret): Fix conditional. (fhandler_socket::create_secret_event): Create secret event using secret_event_name(). (fhandler_socket::close_secret_event): Ditto. * shared.cc (shared_name): Create shared object name with "Global\" prefix on systems supporting terminal services. * wincap.cc: Set has_terminal_services capability throughout. (wincap_2003): New global object representing Windows 2003 Server capabilities. (wincapc::init): Accomodate Windows 2003 Server. * wincap.h (struct wincaps): Add has_terminal_services capability.
* * winsup/cygwin/include/cygwin/version.h: Bump API minor version.Corinna Vinschen2003-05-205-15/+78
| | | | | | * winsup/cygwin/include/cygwin/types.h: Define key_t as long long. * winsup/cygwin/cygwin.din: Add ftok, _ftok. * winsup/cygwin/ipc.cc (ftok): Rework implementation.
* * spawn.cc (spawn_guts): Show more of command line in strace output.Christopher Faylor2003-05-192-4/+8
|