summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* Applied cond_init patchThomas Pfaff2003-01-094-61/+114
|
* * fhandler_disk_file.cc (num_entries): Return 2 as link count ifCorinna Vinschen2003-01-092-1/+6
| | | | directory unreadable.
* * security.cc (get_nt_attribute): Always return -1 when read_sd()Corinna Vinschen2003-01-092-3/+20
| | | | | | fails. (get_file_attribute): Set permissions to 0 and owner/group to -1 if security descriptor is unreadable.
* Use isdirsep rather than SLASH_P throughout.Christopher Faylor2003-01-099-38/+58
| | | | | | | | | | * path.cc (iscygdrive): Disallow /cygdrive\x. (normalize_posix_path): "Normalize" a windows path, if detected, rather than converting to posix. * fhandler_serial.cc (fhandler_serial::tcsetattr): Add support and capability checking for B230400 bitrate. (fhandler_serial::tcgetattr): Add support for B230400 bitrate. * include/sys/termios.h: Add B230400 definition for Posix support of 230.4Kbps.
* * mkpasswd.cc (current_user): Create.Corinna Vinschen2003-01-083-159/+350
| | | | | | | | | | | | | (usage): Reorganize to support Win95/98/ME. (main): Add option for -c. Reorganize to parse options for Win95/98/ME and to call current_user. Add username in gecos field on Win95/98/ME. * mkgroup.cc (enum_groups): Print gid with %u. (print_win_error): Create from passwd.cc. (current_group): Create. (usage): Reorganize to support Win95/98/ME. (main): Add option for -c. Reorganize to parse options for Win95/98/ME and to call current_group.
* * lib/dxguid.c: Don't #include <objbase.h>.Danny Smith2003-01-083-2/+6
| | | | | * include/unknwn.h: Partially revert change of 2002-12-26. Don't include <ole2.h>.
* 2003-01-08 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-01-083-2/+10
| | | | | | | | | * lib/dinput.c: Don't #include <objbase.h>. 2003-01-08 Bart Oldeman <bartoldeman@users.sourceforge.net> * include/windows.h (ole2.h):Do #include for __WATCOMC__.
* * include/ctype.h (__isascii): Don't cast arg to unsigned.Danny Smith2003-01-073-3/+10
| | | | | | (iswascii): Likewise. Correct mask. * include/wctype.h (iswascii): Don't cast arg to unsigned. Correct mask
* * include/winuser.h (SPI_SETWHEELSCROLLLINES) Add define.Danny Smith2003-01-061-0/+8
| | | | | | | * include/zmouse.h (WHEEL_DELTA): Guard against prior definition. (WHEEL_PAGESCROLL): Likewise. (SPI_SETWHEELSCROLLLINES): Define, if not already done.
* * include/winuser.h ((SPI_SETWHEELSCROLLLINES) Add define.Danny Smith2003-01-062-2/+12
| | | | | | | * include/zmouse.h (WHEEL_DELTA): Guard against prior definition. (WHEEL_PAGESCROLL): Likewise. (SPI_SETWHEELSCROLLLINES): Define, if not already done.
* * pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock whenChristopher Faylor2003-01-052-1/+6
| | | | leaving.
* * include/winuser.h (SPI_GETWHEELSCROLLLINES) Add define.Danny Smith2003-01-052-0/+7
| | | | (WHEEL_PAGESCROLL): Add define.
* * include/commctrl.h (tagNMTOOLBAR[AW]): Replace obsolete structDanny Smith2003-01-042-5/+38
| | | | | | | | names tagTBNOTIFY[AW] and typedefs. Add defines for backward compatability. Add RECT field. Add UNICODE mappings for new names. (tagNMREBARCHEVRON): Add struct and typedefs for _WIN32_IE >= 0x0500.
* * include/commctrl.h (TOOLINFO[AW]: Update structures.Danny Smith2003-01-043-0/+26
| | | | | | | (LVHITTESTINFO): Likewise. * include/wingdi.h (GRADIENT_TRIANGLE): Add structure. (GRADIENT_RECT): Likewise.
* 2003-01-03 Bang Jun-Young <junyoung@netbsd.org> Danny Smith2003-01-032-0/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/winerror.h (ERROR_OPLOCK_NOT_GRANTED, ERROR_INVALID_OPLOCK_PROTOCOL, ERROR_SOURCE_ELEMENT_EMPTY, ERROR_DESTINATION_ELEMENT_FULL, ERROR_ILLEGAL_ELEMENT_ADDRESS, ERROR_MAGAZINE_NOT_PRESENT, ERROR_DEVICE_REINITIALIZATION_NEEDED, ERROR_DEVICE_REQUIRES_CLEANING, ERROR_DEVICE_DOOR_OPEN, ERROR_DEVICE_NOT_CONNECTED, ERROR_NOT_FOUND, ERROR_NO_MATCH, ERROR_SET_NOT_FOUND, ERROR_NO_TRACKING_SERVICE, ERROR_JOURNAL_DELETE_IN_PROGRESS, ERROR_JOURNAL_NOT_ACTIVE, ERROR_JOURNAL_ENTRY_DELETED, ERROR_ONLY_IF_CONNECTED, ERROR_NOT_SUPPORTED_ON_SBS, ERROR_SERVER_SHUTDOWN_IN_PROGRESS, ERROR_MUTUAL_AUTH_FAILED, ERROR_TIME_SKEW, ERROR_DEVICE_REMOVED, RPC_S_INVALID_ASYNC_HANDLE, RPC_S_INVALID_ASYNC_CALL, RPC_X_PIPE_CLOSED, RPC_X_PIPE_DISCIPLINE_ERROR, RPC_X_PIPE_EMPTY, ERROR_CANT_ACCESS_FILE, ERROR_CANT_RESOLVE_FILENAME, ERROR_WMI_GUID_NOT_FOUND, ERROR_WMI_INSTANCE_NOT_FOUND, ERROR_WMI_ITEMID_NOT_FOUND, ERROR_WMI_TRY_AGAIN, ERROR_WMI_READ_ONLY, ERROR_WMI_SET_FAILURE, ERROR_TRANSPORT_FULL, ERROR_FILE_OFFLINE, ERROR_REMOTE_STORAGE_NOT_ACTIVE, ERROR_REMOTE_STORAGE_MEDIA_ERROR, ERROR_NOT_A_REPARSE_POINT, ERROR_REPARSE_ATTRIBUTE_CONFLICT, ERROR_INVALID_REPARSE_DATA, ERROR_REPARSE_TAG_INVALID, ERROR_REPARSE_TAG_MISMATCH, ERROR_FILE_ENCRYPTED, ERROR_FILE_NOT_ENCRYPTED, ERROR_NOT_EXPORT_FORMAT, ERROR_CTX_WINSTATION_NAME_INVALID, ERROR_CTX_INVALID_PD, ERROR_CTX_PD_NOT_FOUND, ERROR_CTX_WD_NOT_FOUND, ERROR_CTX_CLOSE_PENDING, ERROR_CTX_NO_OUTBUF, ERROR_CTX_MODEM_INF_NOT_FOUND, ERROR_CTX_INVALID_MODEMNAME, ERROR_CTX_MODEM_RESPONSE_ERROR, ERROR_CTX_MODEM_RESPONSE_TIMEOUT, ERROR_CTX_MODEM_RESPONSE_NO_CARRIER, ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE, ERROR_CTX_MODEM_RESPONSE_BUSY, ERROR_CTX_MODEM_RESPONSE_VOICE, ERROR_CTX_TD_ERROR, ERROR_CTX_WINSTATION_NOT_FOUND, ERROR_CTX_WINSTATION_ALREADY_EXISTS, ERROR_CTX_WINSTATION_BUSY, ERROR_CTX_BAD_VIDEO_MODE, ERROR_CTX_GRAPHICS_INVALID, ERROR_CTX_NOT_CONSOLE, ERROR_CTX_CLIENT_QUERY_TIMEOUT, ERROR_CTX_CONSOLE_DISCONNECT, ERROR_CTX_CONSOLE_CONNECT, ERROR_CTX_SHADOW_DENIED, ERROR_CTX_WINSTATION_ACCESS_DENIED, ERROR_CTX_INVALID_WD, ERROR_CTX_SHADOW_INVALID, ERROR_CTX_SHADOW_DISABLED, ERROR_CTX_CLIENT_LICENSE_IN_USE, ERROR_CTX_CLIENT_LICENSE_NOT_SET, ERROR_CTX_LICENSE_NOT_AVAILABLE, ERROR_CTX_LICENSE_CLIENT_INVALID, ERROR_CTX_LICENSE_EXPIRED, ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY, ERROR_DS_NO_ATTRIBUTE_OR_VALUE, ERROR_DS_INVALID_ATTRIBUTE_SYNTAX, ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED, ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS, ERROR_DS_BUSY, ERROR_DS_UNAVAILABLE, ERROR_DS_NO_RIDS_ALLOCATED, ERROR_DS_NO_MORE_RIDS, ERROR_DS_INCORRECT_ROLE_OWNER, ERROR_DS_RIDMGR_INIT_ERROR, ERROR_DS_OBJ_CLASS_VIOLATION, ERROR_DS_CANT_ON_NON_LEAF, ERROR_DS_CANT_ON_RDN, ERROR_DS_CANT_MOD_OBJ_CLASS, ERROR_DS_CROSS_DOM_MOVE_ERROR, ERROR_DS_GC_NOT_AVAILABLE, ERROR_SHARED_POLICY, ERROR_POLICY_OBJECT_NOT_FOUND, ERROR_POLICY_ONLY_IN_DS, ERROR_DS_ADMIN_LIMIT_EXCEEDED, ERROR_DS_DS_REQUIRED, ERROR_DS_SAM_INIT_FAILURE, ERROR_DS_SENSITIVE_GROUP_VIOLATION, ERROR_DS_CANT_MOD_PRIMARYGROUPID, ERROR_DS_INVALID_GROUP_TYPE, ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN, ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN, ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER, ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER, ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER, ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER, ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER, ERROR_DS_HAVE_PRIMARY_MEMBERS, ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD, ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY, ERROR_DS_CANT_START, ERROR_DS_INIT_FAILURE, ERROR_SAM_INIT_FAILURE, ERROR_DS_GC_REQUIRED, ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY, ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS, ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED): Add missing error codes.
* * dtable.h (dtable::in_vfork_cleanup): New function. True if vfork cleanupChristopher Faylor2003-01-035-3/+11
| | | | | | | needed. * dtable.cc (dtable::vfork_parent_restore): Remove assertion. * pipe.cc (fhandler_pipe::close): Don't close read_state during fork_fixup since it wasn't inherited.
* * include/stdlib.h (_osver, _winver, _winmajor,Danny Smith2003-01-032-4/+17
| | | | | _winminor): Declare as direct imports from dll if __DECLSPEC_SUPPORTED.
* * lib/kernel32.c (GetCurrentFiber): Remove blank input field inDanny Smith2003-01-032-9/+13
| | | | | asm code. (GetFiberData): Likewise.
* * include/winnt.h (GetCurrentFiber): Remove blank input fieldDanny Smith2003-01-022-9/+13
| | | | | in asm code. (GetFiberData): Likewise.
* * include/winerror.h (ERROR_DIFFERENT_SERVICE_ACCOUNT,Danny Smith2003-01-022-6/+35
| | | | | | | | | | | | ERROR_EXE_MACHINE_TYPE_MISMATCH, ERROR_HOOK_TYPE_NOT_ALLOWED, ERROR_INVALID_KEYBOARD_HANDLE, ERROR_INVALID_PRINT_MONITOR, ERROR_PRINT_MONITOR_IN_USE, ERROR_PRINTER_HAS_JOBS_QUEUED, ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION, ERROR_SUCCESS_REBOOT_REQUIRED, ERROR_SUCCESS_RESTART_REQUIRED, ERROR_TIMEOUT, OR_INVALID_OID, OR_INVALID_OXID, OR_INVALID_SET, RPC_X_INVALID_PIPE_OPERATION): Add missing error codes. Re-sort codes..
* * include/winspool.h (PRINTER_INFO_6): Add.Danny Smith2003-01-022-0/+8
| | | | Reported by: Mat Nieuwenhoven <matnieuw@users.sourceforge.net>
* * passwd.cc (getpwuid_r32): Revert previous change.Christopher Faylor2003-01-022-2/+5
|
* * sysconf.cc (sysconf): Return arbitrary values for _SC_GETGR_R_SIZE_MAX,Christopher Faylor2003-01-013-1/+14
| | | | | _SC_LOGIN_NAME_MAX, _SC_GETPW_R_SIZE_MAX. * passwd.cc (getpwuid_r32): Add uid/gid fields to size check calculation.
* 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-01-016-6/+85
| | | | | | | | | | | | | | | * pseudo-reloc.c (do_pseudo_reloc): Make static. * pseudo-reloc-list.c: New file. * crt1.c (_pei386_runtime_relocator): Declare. (__mingw_CRTStartup): Call it. * dllcrt1.c (_pei386_runtime_relocator): Declare. (DllMainCRTStartup): Call it. * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to libmingw32.a. 2003-01-01 Egor Duda <deo@logos-m.ru> * pseudo-reloc.c: New file.
* * exceptions.cc (events_init): Display name of mutex on failure.Christopher Faylor2002-12-302-2/+7
|
* * windows.cc (setitimer): Return ENOSYS on invalid argument.Christopher Faylor2002-12-302-1/+5
|
* 2002-12-30 Hartmut Honisch <hhonisch@users.sourceforge.net>Danny Smith2002-12-303-1/+18
| | | | | | | | | * include/winbase.h (NMPWAIT_WAIT_FOREVER): Cast to DWORD. * lib/ntdll.def (NtConnectPort, NtOpenEvent, NtRequestWaitReplyPort, NtWaitForSingleObject,ZwConnectPort, ZwOpenEvent, ZwRequestWaitReplyPort, ZwWaitForSingleObject): Add stubs.
* * include/wingdi.h (wglGetLayerPaletteEntries): CorrectDanny Smith2002-12-302-2/+6
| | | | | | prototype. Thanks to: Joe Krahn <jkrahn at nc dot rr dot com>. ChangeLog: Remove some whitespace.
* remove from trunkChristopher Faylor2002-12-282-297/+0
|
* * Makefile.in: Add devices.gperf.Christopher Faylor2002-12-282-0/+297
| | | | | * devices.h: New file. * devices.gperf: Ditto.
* * fhandler_termios.cc (fhandler_termios::line_edit): Perform echo before inputChristopher Faylor2002-12-282-2/+7
| | | | is accepted or suffer a "race".
* Move ChangeLog entry from toplevel, where it didn't belong.Nathanael Nerode2002-12-271-0/+17
|
* * fhandler.h (fhandler_tty_master::set_winsize): Declare new function.Christopher Faylor2002-12-273-5/+21
| | | | | | | * fhandler_console.cc (fhandler_console::send_winch_maybe): If appropriate, call tty master function to handle screen size change. * fhandler_tty.cc (fhandler_tty_master::set_winsize): New function. (fhandler_tty_master::init): Call set_winsize to set initial screen size.
* * fhandler_tty.cc (fhandler_tty_master::init): Set initial size of tty to thatChristopher Faylor2002-12-271-2/+4
| | | | | | | of console in which tty is operating. (process_input): Semi-revert previous change. Need to just use current terminfo settings since this function is running in a thread, blocked when the terminfo changes.
* correct typoChristopher Faylor2002-12-271-1/+1
|
* * fhandler.h (fhandler_termios::line_edit): Replace third argument withChristopher Faylor2002-12-275-35/+53
| | | | | | | | | | | | | passed-in termios struct. * fhandler_console.cc (fhandler_console::read): Prior to loop, make a copy of current termios for passing to line_edit prior so that all characters are processed consistently. * fhandler_tty.cc (fhandler_pty_master::write): Ditto. (process_input): Make a copy of curent termios prior to read for use in subsequent line_edit. * fhandler_termios.cc (fhandler_termios::line_edit): Replace third parameter with passed-in termios struct and use it throughout rather than the data from the current fhandler_termios class.
* 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>Danny Smith2002-12-262-3/+7
| | | | * include/wingdi.h (DOCINFOA): Replace LPCTSTR with LPCSTR.
* 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>Danny Smith2002-12-263-3/+7
| | | | | | * include/wingdi.h (BALTIC_CHARSET, JOHAB_CHARSET, VIETNAMESE_CHARSET): Remove duplicate defines. * lib/comctl32.def (ImageList_SetImageCount): Add stub.
* * include/dbt.h (DEV_BROADCAST_PORT): Add UNICODE version.Danny Smith2002-12-262-2/+19
| | | | Thanks to: Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
* 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>Danny Smith2002-12-261-4/+4
| | | | | * include/dde.h (PackDDElParam, UnpackDDElParam,FreeDDElParam, ReuseDDElParam): Use __WIN64 compatible typedefs.
* * include/unknwn.h: Include windows.h and ole2.h before headerDanny Smith2002-12-262-5/+15
| | | | guard to avoid circular inclusion of COM headers.
* 2002-12-26 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>Danny Smith2002-12-262-4/+11
| | | | | | | * include/accctrl.h (ACTRL_ACCESS_ENTRY[AW]): Make lpInheritProperty member const. (ACTRL_PROPERTY_ENTRY[AW]): Make lpProperty member const.
* * include/commcat.h: Don't include windows.h or ole2.h ifdefDanny Smith2002-12-263-0/+12
| | | | | COM_NO_WINDOWS_H. * include/unknwn.h: Ditto.
* * include/imm.h (ImmGetCompositionFont[AW],Danny Smith2002-12-262-0/+11
| | | | ImmSetCompositionFont[AW]): Add NOGDI guard.
* minor reformattingChristopher Faylor2002-12-251-0/+2
|
* * include/cygwin/version.h: Bump DLL minor number.Christopher Faylor2002-12-252-1/+5
|
* * exceptions.cc (events_init): Initialize critical section to control exitingChristopher Faylor2002-12-253-0/+14
| | | | | | | via signal. (signal_exit): Enter critical section early to avoid exit races with main thread. * dcrt0.cc (do_exit): Use exit_lock critical section to avoid races.
* * cygthread.cc (cygthread::detach): Set errno with set_sig_errno so that EINTRChristopher Faylor2002-12-252-1/+6
| | | | is properly restored after signal.
* * Makefile.in: Default fhandler objects to -fomit-frame-pointer. EliminateChristopher Faylor2002-12-212-1/+26
| | | | redundant CFLAGS settings.
* * Makefile.common: Don't attempt to pretty-print c++ errors.Christopher Faylor2002-12-212-1/+5
|