Commit Graph

3212 Commits

Author SHA1 Message Date
Danny Smith 1a2060aa43 2003-05-02 Steven Edwards <Steven_Ed4153@yahoo.com>
* include/richedit.h (EM_FINDTEXTEXW, EM_FINDTEXTW,
	EM_GETAUTOURLDETECT, EM_GETBIDIOPTIONS, EM_GETEDITSTYLE,
	EM_GETIMECOLOR, EM_GETIMEOPTIONS, EM_GETPUNCTUATION,
	EM_GETWORDWRAPMODE, EM_RECONVERSION, EM_SETBIDIOPTIONS,
	EM_SETEDITSTYLE, EM_SETIMECOLOR, EM_SETIMEOPTIONS,
	EM_SETPALETTE, EM_SETPUNCTUATION, EM_SETTEXTEX,
	EM_SETWORDWRAPMODE, RICHEDIT_CLASS10A): Add defines.
2003-05-02 00:46:57 +00:00
Danny Smith b349465ef3 2003-05-02 Francois Ferrand <typz@sourceforge.users.net>
* include/commctrl.h (TBM_*): Add missing trackbar defines.
2003-05-02 00:16:03 +00:00
Danny Smith 41e7de4863 * include/cplext.h (CPLPAGE_MOUSE_WHEEL,
CPLPAGE_DISPLAY_BACKGROUND): Add defines.
2003-05-02 00:11:49 +00:00
Thomas Pfaff 2238537c36 * Makefile.in: Revert patch from 2003-04-17. 2003-04-30 22:18:24 +00:00
Danny Smith 14dbd34e9e * include/wingdi.h (DC_PEN, DC_BRUSH): Add defines.
(SetDCPenColor, SetDCBrushColor): Add prototypes.
	* lib/gdi32.def (SetDCPenColor, SetDCBrushColor): Add stubs.
2003-04-30 09:28:15 +00:00
Christopher Faylor 6ef342e460 * profil.h (PROFADDR): Prevent overflow when text segments are larger than
256k.
* profil.c (profthr_func): Raise thread priority for more accurate sampling.
* path.cc (hash_path_name): Use ino_t as type.
2003-04-28 20:10:54 +00:00
Christopher Faylor 878251d460 really check in correct fix. 2003-04-27 03:14:02 +00:00
Christopher Faylor 7d6d38aaec * errno.cc (_sys_nerr): Fix compile error erroneously checked in on 2003-04-23. 2003-04-27 03:09:17 +00:00
Joshua Daniel Franklin 45bfd8ed74 * mkpasswd.c (usage) Remove extra newline from description output. 2003-04-26 22:33:00 +00:00
Danny Smith 98dc5aa07f 2003-04-26 Bang Jun-Young <junyoung@netbsd.org>
* include/winioctl.h (DEVICE_TYPE_FROM_CTL_CODE): Add macro.
2003-04-26 22:00:16 +00:00
Joshua Daniel Franklin aa275fe010 * cygcheck.cc (usage) Add description output. 2003-04-26 21:52:03 +00:00
Joshua Daniel Franklin 3c7197b104 * gcc.sgml: Remove outdated "WinMainCRTStartup" references. Add a hellogui.c example 2003-04-26 14:10:59 +00:00
Danny Smith a5035abfac * include/oaidl.h (ITypeMarshal): Add interface. 2003-04-26 08:48:03 +00:00
Danny Smith d9d35a454b 2003-04-26 Danny Smith <dannysmith@users.sourceforge.net>
* 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.
2003-04-26 08:31:29 +00:00
Corinna Vinschen f615d74b72 * include/netinet/ip.h: Include netinet/in_systm.h and netinet/in.h
to allow standalone usage (autoconf).
2003-04-25 08:32:30 +00:00
Christopher Faylor 5d9a7c875a * fork.cc: Change SLOW_PID_REUSE to NO_SLOW_PID_REUSE and invert ifdef sense
throughout.
2003-04-24 01:57:07 +00:00
Christopher Faylor 5f92bef8a8 fix typo 2003-04-23 01:54:17 +00:00
Christopher Faylor 0eaf24fead * select.cc (fhandler_pipe::ready_for_read): Assure that get_guard is called
for successful non-blocking pipe reads.
2003-04-23 01:27:51 +00:00
Corinna Vinschen e8a57b4fc7 * include/inttypes.h: New file.
* 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.
2003-04-22 14:55:01 +00:00
Christopher Faylor 650dc784e5 Clarify number bump 2003-04-21 04:33:00 +00:00
Christopher Faylor 99b1a40dc1 * include/cygwin/version.h: Bump DLL major number to 5. Change DLL minor
number to 0.  Bump API minor number.
2003-04-21 04:31:06 +00:00
Corinna Vinschen beb5408583 * autoload.cc (CreateWindowStationA): Add.
(SetProcessWindowStation): Add.
2003-04-20 08:56:42 +00:00
Christopher Faylor 6b3bdf38e0 * wincap.h (wincaps:pty_needs_alloc_console): New element.
(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.
2003-04-20 01:36:15 +00:00
Christopher Faylor afa18d8a69 * fhandler_tty.cc (fhandler_tty_slave::open): Allocate a console whenever a pty
is allocated.
2003-04-19 02:04:55 +00:00
Christopher Faylor 4e0d877875 * Makefile.in: Use ${nostdlib} variable.
* fhandler_proc.cc (format_proc_cpuinfo): Change /proc/cpuinfo "vendor id"
string to "vendor_id" to conform with Linux systems.
2003-04-19 01:03:16 +00:00
Christopher Faylor b128dd21af * Makefile.in: Reorganize to try to allow lack of mingw/w32api to work. 2003-04-19 01:02:51 +00:00
Christopher Faylor 4e837e7368 * syscalls.cc (setsid): Don't call FreeConsole if ctty is already < 0. 2003-04-18 00:25:41 +00:00
Thomas Pfaff f3c1c54051 * Makefile.in: Add finline-functions optimization to CXXFLAGS.
* 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.
2003-04-17 20:05:15 +00:00
Thomas Pfaff a4cea44072 * thread.h (pthread::equal): New static method.
* thread.cc: Rename pthread_equal to pthread::equal throughout.
(pthread_equal): Use pthread::equal to compare threads ids.
2003-04-17 19:57:01 +00:00
Earnie Boyd 8425a8ce49 * include/wingdi.h (DM_SPECVERSION): Define.
Thanks to Sinitsyn Valentime <valentine.sinitsyn@usu.ru>
	* include/rpcdce.h (UuidCreateSequential): Properly guard with
	appropriate _WIN32_WINNT values.
2003-04-16 12:19:57 +00:00
Christopher Faylor c448f78fd5 * termios.cc (setspeed): New function.
(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.
2003-04-16 03:03:45 +00:00
Christopher Faylor 9eed5df639 * rpcdce.h: Add declaration for UuidCreateSequential.
* rpcrt4.def: Add entry for UuidCreateSequential.
2003-04-16 02:57:33 +00:00
Thomas Pfaff ffb576fbf2 Fix a race in pthread_rwlock caused by simultanoues unlock and cancelation.
* 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-15 20:14:12 +00:00
Danny Smith b88a1e6f13 2003-04-14 Phil Krylov <likewolf@users.sourceforge.net>
* 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.
2003-04-14 05:26:34 +00:00
Christopher Faylor b3acb772c0 * mkvers.sh: Prefix day with 0 in date only when day < 10. 2003-04-14 02:09:57 +00:00
Christopher Faylor 770ff5bcb4 * Makefile.common (w32api_lib): Fix w32api detection. 2003-04-11 21:48:39 +00:00
Earnie Boyd 000cfc2eb2 * configure.in (LIBM_A): Define for cygwin target.
* configure (LIBM_A): Ditto.
2003-04-11 12:35:51 +00:00
Earnie Boyd fd959d2b39 * include/sspi.h: Add comment for FreeCredentialsHandle. 2003-04-11 12:27:39 +00:00
Corinna Vinschen 2e23862a8a * security.cc (get_info_from_sd): New function.
(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.
2003-04-11 09:38:07 +00:00
Christopher Faylor 73afb2abb0 * cygthread.cc (cygthread::stub): Initialize stack pointer earlier.
(cygthread::simplestub): Initialize stack pointer.
(cygthread::terminate_thread): Account for possibility that stack pointer has
not been set.  Issue warnings for unusual conditions.
2003-04-11 02:16:17 +00:00
Joshua Daniel Franklin 518a04c40b Pierre's update for mkgroup/mkpasswd 2003-04-10 23:27:13 +00:00
David Starks-Browning ca78fd5f10 Setup updates. More about installing everything, not using setup to mirror. 2003-04-10 20:09:35 +00:00
Corinna Vinschen 2a1e8e117e * regex/regex.h: Define regoff_t as _off_t.
* regex/regex2.h: Ditto.
2003-04-10 19:49:30 +00:00
Corinna Vinschen ac5ec96137 * cygwin.din: Export wcscoll, wcswidth and wcwidth.
* include/cygwin/version.h: Bump API minor number.
2003-04-10 08:22:42 +00:00
Christopher Faylor e5d6d53590 * cygthread.h: Change 'avail' cygthread element to 'inuse' throughout.
* 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 05:27:34 +00:00
Pierre Humblet 57efd527df 2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>
* 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.
2003-04-10 01:14:18 +00:00
David Starks-Browning c6e74c4c82 add lack of '~' to ash missing features 2003-04-08 22:24:27 +00:00
Christopher Faylor ca81cd60ce * fhandler_console.cc (fhandler_console::read) Handle certain key up events, to
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.
2003-04-08 21:19:33 +00:00
Thomas Pfaff e3501c78ca * winsup.api/pthread/condvar9.c: Fix test. 2003-04-08 18:29:37 +00:00
Danny Smith 29d0fe3f74 * include/time.h (strftime): Remove duplicate declaration. 2003-04-07 01:31:37 +00:00