aboutsummaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)AuthorFilesLines
2003-07-26 * include/winuser.h (ASFW_ANY, LSFW_LOCK, LSFW_UNLOCK,Danny Smith3-3/+23
LWA_COLORKEY, LWA_ALPHA): Guard with _WIN32_WINNT, _WIN32_WINDOWS, not WINVER. (AllowSetForegroundWindow,LockSetForegroundWindow, SetLayeredWindowAttributes): Likewise. (GetLayeredWindowAttributes,UpdateLayeredWindow): Add prototypes. * lib/user32.def (GetLayeredWindowAttributes,UpdateLayeredWindow): Add stubs.
2003-07-26* mount.cc (do_mount): Issue warning when using managed mount option onChristopher Faylor2-0/+25
non-empty directory.
2003-07-26* exceptions.cc (ctrl_c_handler): Send SIGHUP when events occur only if thereChristopher Faylor14-224/+232
is a tty associated with the process. Send SIGHUP on CTRL_LOGOFF_EVENT. * fhandler_tty.cc (fhandler_tty_slave::open): Adjust console open handle counter regardless of whether this is a pty or tty. (fhandler_tty_slave::open): Ditto. (fhandler_tty_slave::dup): Ditto. (fhandler_tty_common::set_close_on_exec): Ditto. (fhandler_tty_master::init_console): Decrement console open handle counter after init since it will now be handled by all tty open. * syscalls.cc (setsid): Rework debugging output slightly.
2003-07-26* configure.in: Use 'install-sh -c'.Christopher Faylor5-2/+17
* configure: Regenerate.
2003-07-26revert erroneous checkinChristopher Faylor1-6/+0
2003-07-26* Makefile.in: Only use localhost when building mingw with distcc or gcc won'tChristopher Faylor2-0/+11
be able to find .exp files on other hosts.
2003-07-262003-07-26 Eric R. Krause <ekrause_98@users.sourceforge.net>Danny Smith2-2/+6
* include/onjidl.h (IMalloc): Fix typo.
2003-07-26preliminary checkinChristopher Faylor1-4/+0
2003-07-26preliminary checkinChristopher Faylor1-0/+5
2003-07-26preliminary checkinChristopher Faylor4-4/+4
2003-07-26preliminary checkinChristopher Faylor6-11/+10
2003-07-25* configure.in: Always use install-sh.Christopher Faylor9-110/+137
* configure: Regenerate.
2003-07-25* include/cygwin/socket.h: Conditionalize [AP]F_INET6 define.Christopher Faylor2-0/+8
2003-07-25* Makefile.in (OBSOLETE_FUNCTION): Add fdopen.Christopher Faylor2-1/+5
2003-07-25* cygwin.din: Export _fdopen64Christopher Faylor5-2/+13
* Makefile.in (NEW_FUNCTIONS): Add _fdopen64 -> fdopen translation. * include/cygwin/version.h: Bump api minor number. * ntdll.h: Remove (now) duplicate FILE_SYNCHRONOUS_IO_NONALERT definition.
2003-07-24 * include/dkk/ntifs.h: Fix typo in guard forDanny Smith2-1/+6
#pragma GCC system_header.
2003-07-24* environ.cc (check_case_init): Use strncasematch.Christopher Faylor4-2/+11
* cygwin.din: Export __mempcpy. * cygwin/version.h: Bump api minor number.
2003-07-22 * include/objidl.h (PropVariant): Add CHAR cVal fieldDanny Smith2-0/+13
to union. (FMTID_SummaryInformation, FMTID_DocSummaryInformation, FMTID_UserDefinedProperties): Declare.
2003-07-22 * include/winbase.h (GetModuleHandleEx[AW]): Add prototypes.Danny Smith2-0/+14
2003-07-22 * include/winbase.h (DUPLICATE_CLOSE_SOURCE,Danny Smith6-88/+169
DUPLICATE_SAME_ACCESS): Remove defines. (HANDLE_FLAG_INHERIT, HANDLE_FLAG_PROTECT_FROM_CLOSE): Sync with ddk/ntapi.h defines. (SEM_*) : Likewise. * include/winnt.h (COMPRESSION_*, ACCESS_*, SYSTEM_*): Sync with ddk/ntifs.h defines. (FILE_*): Likewise. (MEM_IMAGE, SEC_*): Likewise. (DUPLICATE_CLOSE_SOURCE, DUPLICATE_SAME_ACCESS, DUPLICATE_SAME_ATTRIBUTES): Sync with ddk/winddk.h defines. (TOKEN_*): Sync with ddk/ntifs.h defines. * include/ddk/ntapi.h: Add comments noting definitions in winbase.h. * include/ddk/ntifs.h: Add comments noting definitions in winnt.h. * include/ddk/winddk.h: Add comments noting definitions in winnt.h.
2003-07-21 * mmap.cc: Use proper format specifiers for _off64_t and size_t inCorinna Vinschen2-9/+15
format strings passed to syscall_printf () and debug_printf () throughout.
2003-07-18* Makefile.common (CFLAGS_COMMON): Remove -march=i386.Christopher Faylor2-1/+5
2003-07-18 * include/winnt.h (FILE_*): Sync with ddk/winddk.h.Danny Smith3-43/+128
* include/winioctl.h (FILE_*): Sync with ddk/winddk.h.
2003-07-182003-07-18 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2-23/+22
* security.cc (verify_token): Fix white space and style. Use type bool instead of BOOL and char. Use alloca instead of malloc and free for my_grps.
2003-07-172003-07-17 Pierre Humblet <pierre.humblet@ieee.org>Danny Smith2-0/+7
* include/mmsystem.h (TIME_KILL_SYNCHRONOUS): Add define.
2003-07-17 * sysconf.cc (sysconf): Fix OPEN_MAX patch. Return page size onCorinna Vinschen2-2/+7
_SC_PAGESIZE again.
2003-07-17update copyrightChristopher Faylor1-1/+1
2003-07-16 Clean up warnings in ddk.Danny Smith21-184/+244
* include/ddk/atm.h (_ATM_AAL_OOB_INFO): Add _ANONYMOUS_UNION, conditional on __cplusplus. * include/ddk/scsi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT defines, throughout. (_CDB): Add _ANONYMOUS_UNION, conditional on __cplusplus. * include/ddk/cfg.h (_PNP_VETO_TYPE): Remove extra comma. * include/ddk/cfgmgr32.h: Change C++ comment style to ISO C. * include/ddk/ddkmapi.h (_DDLOCKOUT): Add _ANONYMOUS_UNION defines. * include/ddk/hidpi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT defines, throughout. * include/ddk/ndis.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT defines, throughout. Remove trailing semicolon from *_S 'structure' macro expansion, throughout. Remove trailing semicolon from DECLARE_UNKNOWN_STRUCT macro expansion. * include/ddk/ndiswan.h (_NDIS_WAN_COMPRESS_INFO): Add _ANONYMOUS_UNION. * include/ddk/ntapi.h (_PROCESS_DEVICEMAP_INFORMATION, _PROCESS_SESSION_INFORMATION): Add _ANONYMOUS_UNION. * include/ddk/ntddcdrm.h (CDROM_TOC_CD_TEXT_DATA_BLOCK): Add _ANONYMOUS_UNION. * include/ddk/ntdddisk.h: Add _ANONYMOUS_UNION, throughout. * include/ddk/ntddmou.h: Add _ANONYMOUS_UNION, throughout. * include/ddk/ntifs.h: Add _ANONYMOUS_UNION, throughout. (ZwQueryObject): Change 2nd param to OBJECT_INFORMATION_CLASS, to match proto in ntapi.h. (ZwSetInformationObject): Likewise. * include/ddk/srb.h (SCSI_REQUEST_BLOCK): Add _ANONYMOUS_UNION. (SCSI_ADAPTER_CONTROL_TYPE): Add __extension__. * include/ddk/tdikrnl.h (TDI20_CLIENT_INTERFACE_INFO): Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT. * include/ddk/usb.h (USB): Add _ANONYMOUS_UNION. * include/ddk/usbcamdi.h (USBCAMD_CamControlFlags): Remove last comma. * include/ddk/video.h (STATUS_BLOCK): Add _ANONYMOUS_UNION. * include/ddk/winddk.h (DECLARE_INTERNAL_OBJECT): Remove trailing semicolon when expanding macro. (GENERAL_LOOKASIDE_S): Likewise. Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT, throughout. Change inline to __inline, throughout. * include/ddk/winnt4.h: Change inline to __inline, throughout.
2003-07-16* pathnames.sgml: Use correct registry key. Clarify '@' operation.Christopher Faylor2-5/+10
* ntsec.sgml: Reword references to "ntsec patch".
2003-07-14 * cygheap.h (class cygheap_user): Use INVALID_HANDLE_VALUE as invalidCorinna Vinschen5-115/+106
value for tokens. * syscalls.cc (seteuid32): Ditto. Set new_token to process token if process token is suitable. * uinfo.cc (uinfo_init): Initialize tokens in cygheap user info to INVALID_HANDLE_VALUE. * cygheap.h (enum impersonation): Delete. (cygheap_user::impersonation_state): Delete. (cygheap_user::current_token): New. (cygheap_user::issetuid): Modify to use current_token. (cygheap_user::token): Ditto. (cygheap_user::deimpersonate): Ditto. (cygheap_user::reimpersonate): Ditto. (cygheap_user::has_impersonation_tokens): Ditto. (cygheap_user::close_impersonation_tokens): Ditto. * security.cc (cygwin_set_impersonation_token): Always set the token. (verify_token): Change type of gsid to cygpsid. (get_file_attribute): Use the effective ids. * syscalls.cc (seteuid32): Modify to use cygheap_user::current_token. * uinfo.cc (uinfo_init) Do not set cygheap->user.impersonation_state.
2003-07-132003-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith3-30/+42
* include/ddk/ntifs.h (KeInsertQueueApc): Make return type BOOLEAN. Name parameter 4 PriorityBoost and make it of type KPRIORITY. * include/ddk/winddk.h (_KPCR): Put IDT field on next line. * include/ddk/winddk.h (_IO_STATUS_BLOCK, _IRP, _OWNER_ENTRY, _ERESOURCE, _IMAGE_INFO, _CREATE_DISK, _DISK_SIGNATURE, _KPCR_TIB): Apply _ANONYMOUS_UNION to anonymous unions and _ANONYMOUS_STRUCT to anonymous structs.
2003-07-12* pinfo.cc (_pinfo::commune_send): Fix bounds test so that poll ofChristopher Faylor2-1/+6
communicating pid actually stops eventually.
2003-07-12 * include/winnt.h (PVOID): Move to before HANDLE typedef.Danny Smith3-2/+9
* include/winuser.h (mouse_event): Correct type of fifth param, Thanks to: Andrew Jones <guln at users dot sourceforge dot net>
2003-07-11 * include/winnt.h (HANDLE): Define based on STRICT filter.Earnie Boyd2-3/+10
(THREAD_BASE_PRIORITY_MIN): Use parens around negative value. (THREAD_BASE_PRIOIRTY_IDLE): Ditto.
2003-07-11* path.cc (get_device_number): Remove special com? consideration.Christopher Faylor2-51/+63
(special_chars): Make static. (special_introducers): New. (special_char): Allow specified valid_chars args. (fnunmunge): Handle aux-like filenames correctly. (special_name): Add con, conin$, conout$. (mount_item::fnmunge): Use __small_sprintf return value to calculate increments.
2003-07-10* include/cygwin/version.h: Bump DLL minor number to 1.Christopher Faylor2-1/+5
2003-07-10* fhandler_proc.cc (format_proc_stat): Use correctly sized constants forChristopher Faylor3-4/+4
filling in zeros on 98.
2003-07-10* include/cygwin/version.h: Bump DLL minor number to 1.Christopher Faylor2-1/+5
2003-07-10* fhandler_proc.cc (fhandler_proc::fill_filebuf): Allocate more space for statChristopher Faylor2-23/+60
buffer. (format_proc_stat): Reorganize to accumulate and report on all cpus.
2003-07-09* sysconf.cc (sysconf): Return processors online rather than bitmask forChristopher Faylor2-1/+13
_SC_NPROCESSORS_ONLN.
2003-07-09* cygheap.cc (creturn): Set appropriate errno when out of memory.Christopher Faylor8-26/+64
(ccalloc): Only issue system_printf when debugging. * dtable.cc (dtable::extend): Only allocate 100 * the incremental growth size max. Set errno appropriately. (dtable::build_fhandler): Check for error from set_name. * fhandler.cc (fhandler_base::set_name): Set errno and return error on OOM. * fhandler.h (fhandler_base::set_name): Change to bool. * fhandler_process.cc (format_process_stat): Fix formatting. * resource.cc (getrlimit): Return greater of OPEN_MAX or fd table size. * sysconf.cc (sysconf): Ditto.
2003-07-08 * include/commctrl.h (NMTVDISPINFO[AW]): Replace obsolete structDanny Smith2-8/+23
names _TV_DISPINFO[AW] and typedefs. Add defines for backward compatability. Thanks to Magnus Olsen <greatlord@users.sf.net> for report.
2003-07-07* rmsym: Don't use ranlib.Christopher Faylor2-4/+6
2003-07-07* newsym: Reenable removal of tmp directory. Just use ar to generate archiveChristopher Faylor3-6/+10
index. * Makefile.in: Don't send ranlib to newsym.
2003-07-07* newsym: Create objects that are closer to those created by dlltool so as notChristopher Faylor3-6/+24
to confuse --export-all-symbols. * rmsym: Be a little more accepting of object filenames now that dlltool can create different format files.
2003-07-07* newsym: Oops. Revert below change.Christopher Faylor2-1/+5
2003-07-06* newsym: Use correct prefix for generating imports.Christopher Faylor3-2/+8
* pinfo.cc (_pinfo::commune_send): Don't wait forever for a response from another process.
2003-07-06update copyrightChristopher Faylor1-1/+1
2003-07-06* winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs.Christopher Faylor2-1/+6
2003-07-06white spaceChristopher Faylor1-1/+1