summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * include/_mingw.h: Define __attribute__((x)) to nothingDanny Smith2003-10-212-0/+6
| | | | if not __GNUC__.
* Add ISO C99 complex support for doubles.Danny Smith2003-10-2123-2/+766
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/complex.h: New file. * mingwex/complex: New directory. * mingwex/complex/cabs.c: New file. * mingwex/complex/cacos.c: New file. * mingwex/complex/cacosh.c: New file. * mingwex/complex/casin.c: New file. * mingwex/complex/casinh.c: New file. * mingwex/complex/catan.c: New file. * mingwex/complex/catanh.c: New file. * mingwex/complex/ccos.c: New file. * mingwex/complex/ccosh.c: New file. * mingwex/complex/cexp.c: New file. * mingwex/complex/cimag.c: New file. * mingwex/complex/clog.c: New file. * mingwex/complex/cpow.c: New file. * mingwex/complex/cproj.c: New file. * mingwex/complex/creal.c: New file. * mingwex/complex/csin.c: New file. * mingwex/complex/csinh.c: New file. * mingwex/complex/csqrt.c: New file. * mingwex/complex/ctan.c: New file. * mingwex/complex/ctanh.c: New file. * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of files. (dist): Use it. (COMPLEX_OBJS): New list of objects. (LIB_OBJS): Include it in the library.
* * include/math.h (cabs): Remove non-ISO prototype.Danny Smith2003-10-212-2/+7
|
* * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):Danny Smith2003-10-212-3/+29
| | | | | Use GCC __builtin's if available. (INFINITY, INFINITYF, INFINITYL): Likewise.
* * mingwex/math/s_erf.c (erf): Set errno to ERANGE ifDanny Smith2003-10-213-1/+15
| | | | | beyond approximation limit. * mingwex/math/sf_erf.c (erff): Likewise.
* * include/stdio.h (_filbuf): Add prototype.Danny Smith2003-10-172-4/+13
| | | | | | | | (_flsbuf): Add prototype. (getc): Add inline version. (putc): Likewise. (getchar): Likewise. (putchar): Likewise.
* revert accidental checkinChristopher Faylor2003-10-171-8/+19
|
* * cygcheck.cc (pretty_id): Don't exec if `id' program is not found.Christopher Faylor2003-10-174-26/+16
|
* Oooops...Dimitri Papadopoulos2003-10-171-11/+1
|
* *** empty log message ***Pierre Humblet2003-10-161-0/+6
|
* 2003-10-16 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-10-162-23/+16
| | | | | | * syscalls.cc (seteuid32): Always construct a default DACL including the new sid, Admins and SYSTEM and copy it to the new thread token. * security.cc (create_token): Use a NULL default DACL in NtCreateToken.
* * dcrt0.cc: Remove local variable alternate_charset_active.Corinna Vinschen2003-10-165-27/+44
| | | | | | | | | | | | | * fhandler.h: Add variable alternate_charset_active, functions str_to_con, con_to_str to dev_console structure. * fhandler_console.cc (con_to_str): Move function into dev_console class. (str_to_con): Ditto. (fhandler_console::read): Call con_to_str on dev_state. (fhandler_console::write_normal): Call str_to_con on dev_state. (fhandler_console::char_command): Change active_charset_active assignment to be on dev_state. * winsup.h: Remove global external variable alternate_charset_active.
* * fhandler_console.cc (char_command): Add escape sequence for codepageCorinna Vinschen2003-10-154-0/+21
| | | | | | ansi <-> oem switching for ncurses frame drawing capabilities. * dcrt0.cc: Add local variable alternate_charset_active. * winsup.h: Add global external variable alternate_charset_active.
* * exceptions.cc (ctrl_c_handler): Don't send SIGHUP onCorinna Vinschen2003-10-144-5/+46
| | | | | | CTRL_LOGOFF_EVENT to processes running in invisible Windows Stations. * window.cc (has_visible_window_station): New function. * winsup.h: Add declaration for has_visible_window_station.
* * include/windows.h (CopyCursor): Although MSDN pretends this isDimitri Papadopoulos2003-10-132-1/+15
| | | | | | | | | | | | | a function to be imported from user32.lib, it's actually a macro. From the Delphi FAQ: Question: Where is the Windows API function CopyCursor defined in 32-Bit versions of Delphi and C++ Builder? Answer: While the call is documented in the Win32 help file, the function is simply mapped to the Windows API function CopyIcon(). Note that the 32 bit version of CopyIcon does not take a hInstance parameter.
* 2003-10-13 Steven Edwards <Steven_Ed4153@yahoo.com>Danny Smith2003-10-132-0/+10
| | | | * include/winnt.h (CONTAINING_RECORD): Add macro.
* * include/winnt.h: (FILE_SUPERSEDED, FILE_OPENED, FILE_CREATED,Danny Smith2003-10-132-10/+9
| | | | | FILE_OVERWRITTEN, FILE_EXISTS, FILE_DOES_NOT_EXIST): remove defines.
* 2003-10-13 Filip Navara <xnavara@volny.cz>Danny Smith2003-10-132-0/+98
| | | | | | | | | | | | * include/commctrl.h: (DSA_*):Add prototypes, typedefs and defines for Dynamic Storage Arrays. (DPA_*): Likewise, for Dynamic Pointer Arrays. (FlatSB_*, InitializeFlatSB, InitializeFlatSB): Add prototypes and defines for Flat ScrollBars. (SetWindowSubclass, GetWindowSubclass, RemoveWindowSubclass, DefSubclassProc): Add prototypes for subclassing. (DrawShadowText) Add prototype. ` (COMCTL32_VERSION): Define.
* 2003-10-13 Martin Fuchs <Martin-Fuchs@gmx.net>Danny Smith2003-10-132-4/+16
| | | | | * include/shlobj.h (CFSTR_FILENAME, CFSTR_FILEDESCRIPTOR, CFSTR_FILENAMEMAP, CFSTR_SHELLURL): Correct UNICODE definitions.
* 2003-10-13 Pierre Humblet <pierre.humblet@ieee.org>Danny Smith2003-10-123-0/+7
| | | | | * include/winnt.h (SM_REMOTESESSION): Add define. * include/winuser.h (SE_CREATE_GLOBAL_NAME): Ditto.
* * include/wincrypt (KP_IV, KP_SALT, KP_PADDING, KP_MODE,Danny Smith2003-10-122-10/+9
| | | | | | KP_MODE_BITS, KP_PERMISSIONS, KP_ALGID, KP_BLOCKLEN): Remove duplicate definitions. (KP_X, KP_Y): Correct typos.
* Dummy afxres header, richedit constants addedManu B2003-10-113-2/+41
|
* * fhandler_tty.cc (fhandler_tty_slave::open): Don't create a new window stationChristopher Faylor2003-10-102-1/+7
| | | | if one already exists.
* * shared.cc (shared_info::initialize): Remove myself check since hMainProcChristopher Faylor2003-10-102-4/+8
| | | | initialization will allow user initialization to work.
* * include/_mingw.h: Increment version to 3.2.Earnie Boyd2003-10-103-4/+9
| | | | * Makefile.in: Ditto.
* fix typoChristopher Faylor2003-10-101-1/+1
|
* * include/sys/types.h: Revert last change.Earnie Boyd2003-10-102-1/+5
|
* * include/sys/types.h (ssize_t): Correct the definition.Earnie Boyd2003-10-102-1/+5
|
* * include/sys/mman.h (MAP_FAILED): Define as void *.Corinna Vinschen2003-10-092-1/+5
|
* * include/errorep.h: New file.Dimitri Papadopoulos2003-10-094-0/+52
| | | | * lib/faultrep.def: New file.
* * include/winbase.h (AddVectoredExceptionHandler): Define ifDimitri Papadopoulos2003-10-093-8/+16
| | | | | | | _WIN32_WINNT >= 0x0500. * include/winnt.h (PVECTORED_EXCEPTION_HANDLER): Define if _WIN32_WINNT >= 0x0500.
* * dcrt0.cc (hMainProc): Initialize to useful value for use when dll isChristopher Faylor2003-10-083-2/+10
| | | | | dynamically loaded. (shared_info::initialize): Don't initialize user stuff if myself doesn't exit.
* * include/winbase.h (AddVectoredExceptionHandler): Only define ifCorinna Vinschen2003-10-082-1/+6
| | | | _WIN32_WINNT >= 0x0501.
* * syscalls.cc (unlink): Don't even try DELETE_ON_CLOSE technique onCorinna Vinschen2003-10-082-19/+27
| | | | systems not supporting it.
* * include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],Dimitri Papadopoulos2003-10-074-9/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UnregisterWaitEx): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0500] (AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add or guard function. The MSDN says it is available on Windows XP and better, and then it says it is declared for _WIN32_WINNT >= 0x0500. Huh? * include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx, CreateActCtx[AW], SetFileShortName[AW], SetFileValidData, ZombifyActCtx, QueryActCtxW): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0501] (QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX, QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE, QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants. * include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW], SetFirmwareEnvironmentVariable[AW]): Add functions. * include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER, VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID, VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME, VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL, VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants. * include/winnt.h [_WIN32_WINNT >= 0x0501] (PVECTORED_EXCEPTION_HANDLER): Add callback. * include/winnt.h [_WIN32_WINNT >= 0x0501] (ACTIVATION_CONTEXT_INFO_CLASS, ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION, ACTIVATION_CONTEXT_DETAILED_INFORMATION, ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION): Add structures. * lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler, CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW], SetFileShortName[AW], SetFileValidData, SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx, VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
* * include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,Dimitri Papadopoulos2003-10-074-3/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ResetWriteWatch): Add function. * include/winbase.h [_WIN32_WINNT >= 0x0500] (GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0501] (GetSystemWow64Directory[AW], HeapQueryInformation, HeapSetInformation, InitializeSListHead, InterlockedFlushSList, InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob, IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx, RemoveVectoredExceptionHandler): Add functions. * include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS): Add enumeration. * include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag): Add function. * include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError): Add function. The MSDN Magazine of June 2003 reads: RestoreLastError is an enigma. It's code is identical to SetLastError. It's unclear to me why it was made into a separate API. * lib/user32.def (GetSystemWindowsDirectory[AW], GetSystemWow64Directory[AW], GetThreadIOPendingFlag, HeapQueryInformation, HeapSetInformation, InitializeSListHead, InterlockedFlushSList, InterlockedPopEntrySList, InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process, ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx, RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch, RestoreLastError): Add functions.
* * include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],Dimitri Papadopoulos2003-10-074-15/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GetProcessIoCounters): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT): Move around, needed by GetComputerNameEx. * include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid, FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0501] (ACTCTX_SECTION_KEYED_DATA): Add structure. * include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW], GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount, GetProcessId, GetSystemRegistryQuota): Add functions, available on Windows XP SP1 and better. * include/winnt.h [_WIN32_WINNT >= 0x0501] (ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION, ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION, ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION, ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION, ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants. * lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW], GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW], GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW], GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters): Add functions.
* * include/winbase.h [_WIN32_WINNT >= 0x0501]Dimitri Papadopoulos2003-10-073-0/+39
| | | | | | | | | | | | | (CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess, DebugSetProcessKillOnExit): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue, DeleteTimerQueueEx, DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions. * lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx, DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
* * include/winbase.h (GetVolumePathNamesForVolumeName): AvailableDimitri Papadopoulos2003-10-072-0/+7
| | | | on Windows XP and later.
* * include/commctrl.h (TreeView_Select): Returns BOOL.Dimitri Papadopoulos2003-10-072-1/+5
|
* * include/winbase.h (CancelDeviceWakeupRequest): Add function.Dimitri Papadopoulos2003-10-064-0/+52
| | | | | | | | | | | | | | | | | | | | * include/winbase.h [_WIN32_WINNT >= 0x0501] (CreateMemoryResourceNotification, DeactivateActCtx): Add functions. * include/winbase.h [_WIN32_WINNT >= 0x0500] (CreateTimerQueue, CreateTimerQueueTimer): Add function. * include/winbase.h [_WIN32_WINNT >= 0x0501] (MEMORY_RESOURCE_NOTIFICATION_TYPE): Add enumeration. * include/winbase.h [_WIN32_WINNT >= 0x0501] (DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION): Add constant. * include/winnt.h (WT_*): Add constants. * lib/user32.def (CancelDeviceWakeupRequest, CreateMemoryResourceNotification, CreateTimerQueueTimer, DeactivateActCtx): Add functions.
* * include/winbase.h [_WIN32_WINNT >= 0x0400] (ConvertFiberToThread):Dimitri Papadopoulos2003-10-063-0/+21
| | | | | | | | | | | | | Add function. Sometimes I don't understand MSDN. This function is available on Windows XP and Server 2003, but the SDK is supposed to make it available when _WIN32_WINNT >= 0x0400, or so says the MSDN. Mmmh... * include/winbase.h [_WIN32_WINNT >= 0x0400] (CreateFiberEx): Guard function. Same remark as above. * lib/user32.def (ConvertFiberToThread, CreateFiberEx): Add functions.
* * include/winbase.h [_WIN32_WINNT >= 0x0501] (ACTCTX_FLAG_*):Dimitri Papadopoulos2003-10-064-0/+86
| | | | | | | | | | | | | | | | | | | | Add constants. * include/winbase.h [_WIN32_WINNT >= 0x0501] (ACTCTX[AW]): Add structures. * include/winbase.h [_WIN32_WINNT >= 0x0501] (ActivateActCtx): Add function. MSDN says the first argument is HACTCTX but I'm not sure where such a specialized handle is defined, so use HANDLE instead. * include/winbase.h [_WIN32_WINNT >= 0x0501] (AttachConsole, CheckNameLegalDOS8Dot3[AW]): Add functions. * lib/user32.def (ActivateActCtx, AttachConsole, CheckNameLegalDOS8Dot3[AW]): Add functions. * lib/user32.def (AddLocalAlternateComputerName[AW]): Add functions. Unfortunately I don't know which header to put the declarations in.
* * include/winnls.h (CTRY_KYRGYZSTAN, CTRY_MALDIVES, CTRY_MONGOLIA):Dimitri Papadopoulos2003-10-063-30/+112
| | | | | | | | | | | | | | | | | | | | | | | | Add constants. * include/winnls.h (NLS_FUNCTION, SYSGEOCLASS, SYSGEOTYPE): Add constants for National Language Support. * include/winnls.h (NLSVERSIONINFO): Add structure for National Language Support. * include/winnls.h (GEO_ENUMPROC): Add callback for National Language Support. * include/winnls.h (EnumSystemGeoID, GetCalendarInfo[AW], GetGeoInfo[AW], GetUserGeoID, SetCalendarInfo[AW], SetUserGeoID): Add functions. * include/winnls.h (IsNLSDefinedString, GetNLSVersion): Add functions. Strange... I am unable to find which library contains these functions. Can't find anything with pexports. Any clue? * lib/user32.def (EnumSystemGeoID, GetGeoInfo[AW], GetUserGeoID, SetUserGeoID): Add functions.
* * include/winnt.h (LANG_KYRGYZ, LANG_MONGOLIAN, LANG_GALICIAN,Dimitri Papadopoulos2003-10-062-4/+19
| | | | | | | | LANG_SYRIAC, LANG_INVARIANT, SUBLANG_KASHMIRI_SASIA): Add constants. * include/winnt.h (SUBLANG_AZERI_LATIN, SUBLANG_AZERI_CYRILLIC, SUBLANG_ENGLISH_ZIMBABWE, SUBLANG_ENGLISH_PHILIPPINES): Fix wrong value for constants.
* * include/wincrypt.h (KP_SCHANNEL_ALG): Add constant. SpecifyingDimitri Papadopoulos2003-10-032-1/+3
| | | | the algorithms.
* * include/wincrypt.h (SCHANNEL_MAC_KEY, SCHANNEL_ENC_KEY,Dimitri Papadopoulos2003-10-032-0/+8
| | | | INTERNATIONAL_USAGE): Add constants. Specifying the Algorithms
* * include/wincrypt.h (CRYPT_FLAGS_*): Add constants. Protocol flags.Dimitri Papadopoulos2003-10-032-0/+10
|
* * include/wincrypt.h (KP_*): Add constants. Needed byDimitri Papadopoulos2003-10-032-1/+25
| | | | CryptSetKeyParam() and other functions.
* * include/winuser.h [_WIN32_WINNT >= 0x0501] (EVENT_*, CONSOLE_*):Dimitri Papadopoulos2003-10-032-44/+61
| | | | Add constants, related to Console Accessibility.