summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* really check in correct fix.Christopher Faylor2003-04-271-1/+1
|
* * errno.cc (_sys_nerr): Fix compile error erroneously checked in on 2003-04-23.Christopher Faylor2003-04-273-2/+7
|
* * mkpasswd.c (usage) Remove extra newline from description output.Joshua Daniel Franklin2003-04-263-6/+26
|
* 2003-04-26 Bang Jun-Young <junyoung@netbsd.org>Danny Smith2003-04-262-0/+5
| | | | * include/winioctl.h (DEVICE_TYPE_FROM_CTL_CODE): Add macro.
* * cygcheck.cc (usage) Add description output.Joshua Daniel Franklin2003-04-2615-5/+40
|
* * gcc.sgml: Remove outdated "WinMainCRTStartup" references. Add a hellogui.c ↵Joshua Daniel Franklin2003-04-262-11/+92
| | | | example
* * include/oaidl.h (ITypeMarshal): Add interface.Danny Smith2003-04-262-5/+23
|
* 2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-04-264-78/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/winioctl.h: Clean up formatting. (RETRIEVAL_POINTERS_BUFFER): Add fields to Extents[1] struct. (CREATE_DISK): Add _ANONYMOUS_UNION macro. (DISK_CACHE_INFORMATION): Likewise. (DISK_DETECTION_INFO): Likewise. (DISK_PARTITION_INFO): Likewise. (PARTITION_INFORMATION_EX): Likewise. (DRIVE_LAYOUT_INFORMATION_EX): Likewise. 2003-04-26 Casper S. Hornstrup <chorns@users.sourceforge.net> * include/winbase.h (DeleteVolumeMountPoint[AW], FindFirstVolumeMountPoint[AW], FindNextVolumeMountPoint[AW], FindVolumeMountPointClose, GetVolumeNameForVolumeMountPoint[AW], GetVolumePathName[AW], GetVolumePathNamesForVolumeName[AW], SetVolumeMountPoint[AW]): Add prototypes. * include/winioctl.h (IOCTL_DISK_GET_PARTITION_INFO_EX, IOCTL_DISK_SET_PARTITION_INFO_EX, IOCTL_DISK_GET_DRIVE_LAYOUT_EX, IOCTL_DISK_SET_DRIVE_LAYOUT_EX, IOCTL_DISK_CREATE_DISK, IOCTL_DISK_GET_LENGTH_INFO, IOCTL_DISK_PERFORMANCE_OFF, IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, IOCTL_DISK_GROW_PARTITION, IOCTL_DISK_GET_CACHE_INFORMATION, IOCTL_DISK_SET_CACHE_INFORMATION, IOCTL_DISK_DELETE_DRIVE_LAYOUT, IOCTL_DISK_UPDATE_PROPERTIES, FSCTL_GET_VOLUME_BITMAP, FSCTL_GET_RETRIEVAL_POINTERS, FSCTL_MOVE_FILE): Define. (CREATE_DISK_GPT, CREATE_DISK_MBR, CREATE_DISK, DISK_CACHE_INFORMATION, DETECTION_TYPE, DISK_INT13_INFO, DISK_EX_INT13_INFO, DISK_DETECTION_INFO, DISK_GEOMETRY_EX, DISK_GROW_PARTITION, DISK_PARTITION_INFO, DISKQUOTA_USER_INFORMATION, GET_LENGTH_INFORMATION, DISK_EXTENT, VOLUME_DISK_EXTENTS, DRIVE_LAYOUT_INFORMATION_GPT, DRIVE_LAYOUT_INFORMATION_MBR, PARTITION_INFORMATION_MBR, PARTITION_INFORMATION_GPT, PARTITION_INFORMATION_EX, DRIVE_LAYOUT_INFORMATION_EX, MOVE_FILE_DATA, RETRIEVAL_POINTERS_BUFFER, STARTING_LCN_INPUT_BUFFER, STARTING_VCN_INPUT_BUFFER, VOLUME_BITMAP_BUFFER): Add structs (PARTITION_STYLE, DISK_CACHE_RETENTION_PRIORITY): Add enums. (MEDIA_TYPE): Add F3_120M_512, F3_640_512, F5_640_512, F5_720_512, F3_1Pt2_512, F3_1Pt23_1024, F5_1Pt23_1024, F3_128Mb_512, F3_230Mb_512, F8_256_128, F3_200Mb_512, F3_240M_512, and F3_32M_512. * lib/kernel32.def (GetVolumePathNamesForVolumeName[AW]): Add stubs.
* * include/netinet/ip.h: Include netinet/in_systm.h and netinet/in.hCorinna Vinschen2003-04-252-0/+8
| | | | to allow standalone usage (autoconf).
* * fork.cc: Change SLOW_PID_REUSE to NO_SLOW_PID_REUSE and invert ifdef senseChristopher Faylor2003-04-243-6/+11
| | | | throughout.
* fix typoChristopher Faylor2003-04-231-1/+1
|
* * select.cc (fhandler_pipe::ready_for_read): Assure that get_guard is calledChristopher Faylor2003-04-232-4/+13
| | | | for successful non-blocking pipe reads.
* * include/inttypes.h: New file.Corinna Vinschen2003-04-225-45/+438
| | | | | | | * include/stdint.h: New file. * include/cygwin/in.h: Include stdint.h instead of sys/types.h. * include/cygwin/types.h: Include stdint.h. Remove typedefs for intN_t and uintN_t since these are defined in stdint.h now.
* Clarify number bumpChristopher Faylor2003-04-211-1/+1
|
* * include/cygwin/version.h: Bump DLL major number to 5. Change DLL minorChristopher Faylor2003-04-212-3/+9
| | | | number to 0. Bump API minor number.
* * autoload.cc (CreateWindowStationA): Add.Corinna Vinschen2003-04-202-0/+7
| | | | (SetProcessWindowStation): Add.
* * wincap.h (wincaps:pty_needs_alloc_console): New element.Christopher Faylor2003-04-204-13/+46
| | | | | | | (wincapc:pty_needs_alloc_console): New function. * wincap.cc: Add pty_needs_alloc_console throughout. * fhandler_tty.cc (fhandler_tty_slave::open): Open an "invisible" console on first pty allocation.
* * fhandler_tty.cc (fhandler_tty_slave::open): Allocate a console whenever a ptyChristopher Faylor2003-04-192-1/+10
| | | | is allocated.
* * Makefile.in: Use ${nostdlib} variable.Christopher Faylor2003-04-193-3/+12
| | | | | * fhandler_proc.cc (format_proc_cpuinfo): Change /proc/cpuinfo "vendor id" string to "vendor_id" to conform with Linux systems.
* * Makefile.in: Reorganize to try to allow lack of mingw/w32api to work.Christopher Faylor2003-04-192-9/+27
|
* * syscalls.cc (setsid): Don't call FreeConsole if ctty is already < 0.Christopher Faylor2003-04-182-2/+6
|
* * Makefile.in: Add finline-functions optimization to CXXFLAGS.Thomas Pfaff2003-04-176-24/+44
| | | | | | | | | | | | | | | | * autoload.cc (LoadDLLprime): Rename std_dll_init to _std_dll_init. (std_dll_init): Remove name mangling prototype. Add attributes used and noinline. (wsock_init): Ditto. Change wsock_init to _wsock_init in wsock32 and ws2_32 LoadDLLprime. * exceptions.cc (unused_sig_wrapper): Remove prototype. Add attributes used and noinline. * pwdgrp.h ((pwdgrp (passwd *&)): Remove inline code. (pwdgrp (__group32 *&)): Ditto. * grp.cc (pwdgrp (passwd *&)): Outline constructor. (pwdgrp (__group32 *&)): Ditto.
* * thread.h (pthread::equal): New static method.Thomas Pfaff2003-04-173-8/+19
| | | | | * thread.cc: Rename pthread_equal to pthread::equal throughout. (pthread_equal): Use pthread::equal to compare threads ids.
* * include/wingdi.h (DM_SPECVERSION): Define.Earnie Boyd2003-04-163-3/+15
| | | | | | Thanks to Sinitsyn Valentime <valentine.sinitsyn@usu.ru> * include/rpcdce.h (UuidCreateSequential): Properly guard with appropriate _WIN32_WINNT values.
* * termios.cc (setspeed): New function.Christopher Faylor2003-04-168-38/+212
| | | | | | | | | | | | (cfsetospeed): Use setspeed to set speed. (cfsetispeed): Use setspeed to set speed. * autoload.cc: Add load statement for UuidCreate, and UuidCreateSequential. * cpuid.h: New file. * cygwin.din: Export gethostid. * fhandler_proc.cc (cpuid): Move to cpuid.h. (can_set_flag): Move to cpuid.h. * syscalls.cc (gethostid): New function. * version.h: Bump DLL minor version number to 83.
* * rpcdce.h: Add declaration for UuidCreateSequential.Christopher Faylor2003-04-163-0/+7
| | | | * rpcrt4.def: Add entry for UuidCreateSequential.
* Fix a race in pthread_rwlock caused by simultanoues unlock and cancelation.Thomas Pfaff2003-04-153-7/+24
| | | | | | | | | * thread.h (pthread_rwlock::release): New method. * thread.cc (pthread_rwlock::unlock): Use release to signal waiting threads. (pthread_rwlock::rdlock_cleanup): Signal waiting threads after a cancelation. (pthread_rwlock::wrlock_cleanup): Ditto.
* 2003-04-14 Phil Krylov <likewolf@users.sourceforge.net>Danny Smith2003-04-146-3/+322
| | | | | | | | | | | | | | | | * include/winuser.h (VK_*): Add missing defines. 2003-04-14 Vincent B�ron <papineau@users.sourceforge.net> * include/commctrl.h (NMUPDOWN, LPNMUPDOWN): Use currently documented typedefs for struct _NM_UPDOWN. Add defines for backward comapatibility. * include/commdlg.h (OFN_ENABLESIZING): Add define. * include/wininet.h (IRF_*): Add issing defines. 2003-04-14 Bang Jun-Young <junyoung@netbsd.org> * lib/ntdll.def (Csr*, Dbg*, Ki*, Ldr*, Rtl*): Add W2K exports.
* * mkvers.sh: Prefix day with 0 in date only when day < 10.Christopher Faylor2003-04-142-1/+5
|
* * Makefile.common (w32api_lib): Fix w32api detection.Christopher Faylor2003-04-112-2/+6
|
* * configure.in (LIBM_A): Define for cygwin target.Earnie Boyd2003-04-113-2/+7
| | | | * configure (LIBM_A): Ditto.
* * include/sspi.h: Add comment for FreeCredentialsHandle.Earnie Boyd2003-04-112-1/+8
|
* * security.cc (get_info_from_sd): New function.Corinna Vinschen2003-04-113-163/+98
| | | | | | | | | | | | | | | (get_nt_attribute): Only call read_sd and get_info_from_sd. Return void. (get_file_attribute): Move sd error handling to get_info_from_sd. and symlink handling to fhandler_disk_file::fstat_helper. (get_nt_object_attribute): Only call read_sd and get_info_from_sd. Return void. (get_object_attribute): Remove symlink handling and simply return -1 when ntsec is off. * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): For symlinks set the attribute, call get_file_attribute to get the ids and return. In the normal case call get_file_attribute with the addresses of the buffer ids and do not recheck if the file is a socket.
* * cygthread.cc (cygthread::stub): Initialize stack pointer earlier.Christopher Faylor2003-04-112-3/+17
| | | | | | (cygthread::simplestub): Initialize stack pointer. (cygthread::terminate_thread): Account for possibility that stack pointer has not been set. Issue warnings for unusual conditions.
* Pierre's update for mkgroup/mkpasswdJoshua Daniel Franklin2003-04-101-10/+10
|
* Setup updates. More about installing everything, not using setup to mirror.David Starks-Browning2003-04-101-3/+13
|
* * regex/regex.h: Define regoff_t as _off_t.Corinna Vinschen2003-04-103-2/+7
| | | | * regex/regex2.h: Ditto.
* * cygwin.din: Export wcscoll, wcswidth and wcwidth.Corinna Vinschen2003-04-103-1/+10
| | | | * include/cygwin/version.h: Bump API minor number.
* * cygthread.h: Change 'avail' cygthread element to 'inuse' throughout.Christopher Faylor2003-04-104-55/+58
| | | | | | | | | | | * cygthread.cc: Ditto. (cygthread::stub): Don't initialize already initialized events. (cygthread::freerange): Don't create thread here. (cygthread::cygthread): Create thread here. Die if thread not created. (cygthread::operator new): Simplify. Just grab a thread structure from the pool. Don't try to start the thread. (cygthread::terminate_thread): Don't close event handles. Just reuse them. Call MEM_RELEASE rather than MEM_DECOMMIT (from Joe Buehler).
* 2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-04-103-88/+94
| | | | | | | | | | | | | * mkpasswd.c (current_user): print uid and gid as unsigned. (enum_users): Ditto. Do not free servername. (usage): Update to allow several domains and improve -p. (main): On Win9x limit uids to 1000. Only print specials when -l is specified. Add a loop to allow several domains and free servername in the loop. * mkgroup.c (enum_groups): Do not free servername. (usage): Update to allow several domains. Change uid to gid. (main): Only print specials when -l is specified. Add a loop to allow several domains and free servername in the loop.
* add lack of '~' to ash missing featuresDavid Starks-Browning2003-04-081-0/+1
|
* * fhandler_console.cc (fhandler_console::read) Handle certain key up events, toChristopher Faylor2003-04-083-5/+28
| | | | | | | allow pasting accented characters and typing them using the "alt + numerics" sequences. * include/limits.h (IOV_MAX): Set to a number which is small enough to use in an array.
* * winsup.api/pthread/condvar9.c: Fix test.Thomas Pfaff2003-04-082-11/+20
|
* * include/time.h (strftime): Remove duplicate declaration.Danny Smith2003-04-072-1/+4
|
* 2003-04-07 Marcel Telka <telka@users.sourceforge.net>Danny Smith2003-04-072-1/+5
| | | | * include/ddk/winddk.h (KIRQL): Typedef as UCHAR. not ULONG.
* * cygthread.h (cygthread::avail): Make LONG for easier use with Interlocked*Christopher Faylor2003-04-043-28/+32
| | | | | | | | | | | functions. * cygthread.cc (cygthread::init): Eliminate unneeded muto. (cygthread::operator new): Don't lock. Instead change use of avail variable into tri-state: available (1), not available (-1), uninitialized (0). (cygthread::terminate_thread): Set avail to uninitialized. (cygthread::detach): Eliminate local 'avail'. Always set avail to 1 unless signalled. * cygthread.cc (cygthread::operator new): Be more defensive when messing with
* add commentsChristopher Faylor2003-04-041-1/+2
|
* * cygthread.cc (operator new): Be more defensive when messing with threads thatChristopher Faylor2003-04-042-2/+12
| | | | are marked "unavailable".
* * fhandler_console.cc (CONVERT_LIMIT): Use a size for the 21st century.Christopher Faylor2003-04-031-0/+4
|
* * external.cc (check_ntsec): Return general ntsec state on NULLCorinna Vinschen2003-04-032-1/+8
| | | | filename. Check wincap.is_security() additionally.