Commit Graph

1848 Commits

Author SHA1 Message Date
Alexandre Julliard 49556bcbf5 Cleaned up some more dependencies on Wine internal functions. 2000-11-29 18:38:24 +00:00
Alexandre Julliard 27bb311d70 Added implementation of lstat to port.c. 2000-11-29 17:48:06 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Alexandre Julliard 8310aab3e5 Made HEAP_strdup* functions inline (temporary). 2000-11-28 22:34:27 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Dimitrie O. Paun c77cbbcd1f Test if we need to put the .type directive inside a .def directive. 2000-11-27 23:32:55 +00:00
Alexandre Julliard 5ce902b0b9 Implemented DosFileHandleToWin32Handle, Win32HandleToDosFileHandle and
DisposeLZ32Handle and use them to replace file.c internal functions.
Renamed WOW* functions into K32WOW*.
2000-11-27 21:59:08 +00:00
Alexandre Julliard ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Jon Griffiths d6deb6db91 - configure tests for finite()/fpclass(), fixes BSD compile
- winapi_check updates, fix errno in more math calls
2000-11-27 01:37:28 +00:00
Andreas Mohr fc2c5dfb3d Implemented TerminateApp needed for DBase 5.0.
Made FatalAppExit16 honor the SEM_NOGPFAULTERRORBOX error_mode flag.
2000-11-27 01:36:24 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Dimitrie O. Paun 5298812be1 Make sure all files using config.h constants actually #include "config.h" 2000-11-26 04:04:21 +00:00
Hidenori Takeshima 5d1a6385e1 Added checking for netdb.h.
Don't include arpa/inet.h and sys/socket.h if system doesn't have these headers.
2000-11-26 04:00:53 +00:00
Dimitrie O. Paun 470acf831f Do not compile code that makes use of the X Shm extension. 2000-11-26 03:59:20 +00:00
Alexandre Julliard dfd3d4ada2 Moved GET_IP out of winnt.h. 2000-11-25 23:56:20 +00:00
Hidenori Takeshima a85b0a6d41 Added checking for mmap. 2000-11-25 23:54:12 +00:00
Francois Jacques 7163957908 - support for arguments with referenced types
- imported type libraries
- dispinterfaces
- dual interfaces
- ref count problems
- memory leaks fixed
2000-11-25 23:51:30 +00:00
Alexandre Julliard 3bf456bb44 Fixed GetLargestConsoleWindowSize return type for Winelib apps. 2000-11-25 21:46:30 +00:00
Ove Kaaven a32ddc0f8d Implemented Get/SetDIBColorTable. 2000-11-25 21:42:00 +00:00
Francois Gouget 3cf87c66c7 Include the same headers as on Windows. 2000-11-25 03:08:34 +00:00
Francois Gouget 3116bd9f45 compobj.h is a synonym for objbase.h
Moved all the other contents to dlls/ole32/compobj_private.h
2000-11-25 03:08:23 +00:00
Andreas Mohr 434466c8e2 Added GdiSeeGdiDo16. 2000-11-25 01:39:31 +00:00
Andreas Mohr 28a242e5b7 Removed double ANYSIZE_ARRAY define. 2000-11-25 01:39:10 +00:00
Dimitrie O. Paun c7b49e5d2c Fixed typo in macro ICOM_METHOD11 parameter list. 2000-11-25 01:28:39 +00:00
Dimitrie O. Paun 24ab04ae77 Fixed compilation warning on Cygwin. 2000-11-25 01:21:22 +00:00
Marcus Meissner e3527ccb1d Added prototypes for Ole{G,S}etAutoConvert, LHashValOfNameSys{,A}. 2000-11-25 01:20:17 +00:00
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Dmitry Timoshkov 3606dc5584 Added mapping to/from unicode for WM_CHAR, WM_DEADCHAR, WM_SYSCHAR,
WM_SYSDEADCHAR messages.
2000-11-15 23:13:17 +00:00
James Hatheway b134ed7c38 Increase number of parameters possible for ICOM_* macros to 11. 2000-11-15 23:05:13 +00:00
Francois Gouget 7188916908 Match the Windows header dependencies. 2000-11-15 22:12:48 +00:00
Alexandre Julliard 914406f854 Moved LDT handling to libwine.so. Changed the interface to use the
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Mike McCormack 1eac1911c7 - created server object for handling async i/o
- implemented WaitCommEvent with the EV_RXCHAR flag
- implemented GetOverlappedResult
2000-11-13 19:27:21 +00:00
Alexandre Julliard 745ec84c8b Export the CallFrom16xxx functions from kernel32. Renamed them
__wine_call_from_16 to follow the naming convention.
2000-11-13 04:54:45 +00:00
Ove Kaaven b27ee9b89d Reorganized DOS memory remapping slightly, so that the real-mode
interrupt table can exist even when low DOS memory isn't mapped,
and is copied down along with the BIOS area whenever it is mapped.
Added DOSMEM_SystemBase() which returns a pointer to the virtual
real-mode interrupt table and BIOS data segment.
Allowed DOSMEM_Init(TRUE) to be called more than once.
2000-11-13 04:11:57 +00:00
Nerijus Baliunas c4b8b266a9 Add new encodings ISO 8859-10 (cp28600), 8859-13 (cp28603), 8859-14 (cp28604),
8859-15 (cp28605). Add Lithuanian (Baltic) keyboard layout.
2000-11-11 00:34:32 +00:00
Dimitrie O. Paun 864dc5981c Use variable argument macros when compiling with gcc. 2000-11-10 23:31:06 +00:00
Francois Gouget da0acca7d8 Use DUMMYxxxNAME for anonymous struct/unions. 2000-11-10 22:34:39 +00:00
Francois Gouget 6c97e45546 Added missing pointer types: Pxxx or LPxxx
Fixed the definition of FONTENUMPROC
Fixed typo: TA_RTLEADING is in fact TA_RTLREADING (right to left
reading I believe)
Added missing definitions: PC_TRAPEZOID
Use DUMMYxxxNAME for anonymous struct/unions in DEVMODE
2000-11-10 22:33:45 +00:00
Francois Gouget 0b4e0d77ac Added some STN_xxx macros. 2000-11-10 22:33:16 +00:00
Francois Gouget 8c9d3e4e68 HICON and HCURSOR should be interchangeable. 2000-11-10 22:32:45 +00:00
Francois Gouget 8bf0db9063 Added LPUDACCEL and HDF_RTLREADING. 2000-11-10 22:32:12 +00:00
Alexandre Julliard 591832ec2e Added support for loading a Winelib app linked as a .so from the wine
launcher, based on the value of argv[0].
2000-11-10 01:38:28 +00:00
Alexandre Julliard db4c45671f Do builtin modules fixups in library/loader.c before calling the
load_dll callback.
2000-11-08 23:02:48 +00:00
Alexandre Julliard 4e951ea25b Check all Callouts function pointers for NULL before using them.
Don't load USER dll if not needed by the application.
2000-11-08 22:47:53 +00:00
Francois Gouget 552fddc1cb Moved things to the proper rpcxxx.h header.
Added some type definitions used by the MFC.
2000-11-08 05:06:10 +00:00
Francois Gouget f2ab8ff221 Added DM_REPOSITION. 2000-11-08 05:04:03 +00:00
Francois Gouget f6fcb5cd55 We must include stdarg.h.
Added a few missing exception related types.
2000-11-08 05:03:45 +00:00
Francois Gouget 7a38452f83 We must include ctype.h so that applications get isalnum & co. 2000-11-08 05:03:15 +00:00
Francois Gouget 8a21fca852 Added CC_SOLIDCOLOR and CC_ANYCOLOR. 2000-11-08 05:02:50 +00:00
Alexandre Julliard e087508f57 Moved builtin dll registration to libwine.
Changed process initialization to not load imported dlls too early.
2000-11-08 04:33:20 +00:00
Alexandre Julliard 85423c6a6b Added new library.h header for libwine definitions.
Added getpagesize() and wine_anon_mmap() portability functions.
2000-11-08 04:28:54 +00:00
Francois Gouget 0c247ec775 Fixed typos in comments. 2000-11-07 20:30:50 +00:00
Ulrich Weigand 1b4c779270 Added missing IMAGE_DEBUG_MISC definition. 2000-11-07 20:29:00 +00:00
Aric Stewart e1bcb4f942 Added 16x16 wine logo. 2000-11-07 20:25:54 +00:00
James Hatheway cb655b0aae Added stubs and setupapi.h. 2000-11-06 20:24:43 +00:00
Lionel Ulmer 6301e94e53 - reorganized DInput DLL
- added stubbing for DInput 7a
- 'fixed' the mouse problem in Fallout
2000-11-05 20:25:02 +00:00
Dmitry Timoshkov 740bb92b5a Added the ability to see names of the virtual key codes. 2000-11-05 20:07:59 +00:00
Alexandre Julliard 94613ab03e New debug channel mechanism allowing decentralized channel
declarations.
2000-11-05 04:51:34 +00:00
Patrik Stridvall d3534c3957 Optimized {,p}MoveTo{,Ex}{,16}. 2000-11-05 03:28:18 +00:00
Alexandre Julliard 2239abb9f9 Allocate DC objects on the process heap, and removed WIN_DC_INFO
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Alexandre Julliard e2b4efbd02 Create Gnome/KDE desktop and menu entries from IShellLink
interface. Based on the work of James Thomson and Dusan Lacko.
2000-11-02 20:22:07 +00:00
Mark Dufour 704c67505d Make the functions Pie, Chord, RoundRect, AngleArc, PolyDraw and
Ellipse work with an open path.
2000-11-01 02:12:52 +00:00
Juergen Schmied ebcc72c925 Better handling of custom templates and hooks.
Bug fixes.
2000-11-01 01:50:21 +00:00
Alexandre Julliard aa5a1162a3 Patch flat cs of 16-bit entry points if current %cs is different from
compiled value, and retrieve flat ds from a global variable. This
should avoid problems with win4lin kernels.
2000-10-29 01:28:30 +00:00
David Elliott 44f84b55f3 Added basic working stubs of new Windows 2000 API functions. 2000-10-29 01:24:54 +00:00
Alexandre Julliard 16e92eb3c3 Removed unused LOCAL_LockSegptr. 2000-10-29 01:23:19 +00:00
Alexandre Julliard 37f1ea1a02 Release 20001026. 2000-10-26 22:42:29 +00:00
Alexandre Julliard 634824be58 Raise an exception when a stub entry point is called. 2000-10-26 22:03:34 +00:00
Dmitry Timoshkov 8a31634a00 Replaced ToAscii by ToUnicode in the User driver interface. 2000-10-25 21:34:31 +00:00
Andreas Mohr cabee39f3c Free the Win16 dummy module and wm->deps. 2000-10-25 21:22:27 +00:00
Alexandre Julliard 0e236a1f37 Removed GetResDirEntryA/W. 2000-10-24 21:35:14 +00:00
Patrik Stridvall 32769b5f3a Added some missing defines for non-Linux. 2000-10-24 01:42:42 +00:00
Alexandre Julliard b85a6adc58 Duplicate resource directory searching routines instead of calling
pe_resource.c internal functions.
Made GetFileResource16 and GetFileResourceSize16 callable directly
instead of defining extra internal functions.
2000-10-23 01:38:29 +00:00
Andreas Mohr 588ee35618 Always open/close the CD-ROM device for every Windows API CD-ROM
access.
2000-10-23 00:40:23 +00:00
Marcus Meissner aa10949064 Added some basic IDirectDraw7 interface support, fixed argument count
of IDirectDraw{4,7}_SetDisplayMode defines.
2000-10-23 00:36:45 +00:00
Patrik Stridvall 564d3802fc Fixed issue found by winapi_check. 2000-10-22 23:55:15 +00:00
Patrik Stridvall 7cc8abc10d Use intermediate typedef. 2000-10-22 23:54:32 +00:00
Guy L. Albertelli 936c6c4ea4 Added wParam and lParam as parameters in SPY_ExitMessage
Added dump for the STYLECHANG[ING|ED] messages.
Dump structures on exit only if message allows changes.
2000-10-22 23:52:47 +00:00
Andreas Mohr 26be4c8c36 Removed redundant thread priority defines. 2000-10-22 23:42:11 +00:00
Peter Hunnisett 514ae382b1 Added crt/msvcrt thread prototypes. 2000-10-19 22:38:20 +00:00
Dmitry Timoshkov ff81f93883 Added support for AZERTY keyboard layout. 2000-10-19 22:25:35 +00:00
Andreas Mohr 220312e993 Skip directory symlinks in DOSFS_FindNextEx. 2000-10-19 20:38:38 +00:00
Francois Gouget 0062892c66 Added/fixed missing extern "C". 2000-10-19 20:32:18 +00:00
Francois Gouget 0dc07e2d23 Added the {HRESULT,SCODE}_SEVERITY macros. 2000-10-19 20:30:37 +00:00
Alexandre Julliard 81800b1f6d Use a binary search to find entries in resource directories.
Fixed GetResDirEntryA/W prototypes.
2000-10-19 20:29:53 +00:00
Alexandre Julliard cc7abe1f06 Call PrivateExtractIcon in user32 instead of duplicating the code. 2000-10-19 20:28:12 +00:00
Francois Gouget 23a5b79f56 Added support for three levels of nesting of the 'pragma pack'
directives.
2000-10-19 20:20:07 +00:00
Ove Kaaven 7c4bee569c Implemented DOS INT21 AH=4B (EXEC). 2000-10-17 00:33:02 +00:00
Dmitry Timoshkov 7b0bf0f08d Added support for keyboard input in various locales. 2000-10-17 00:31:53 +00:00
Guy L. Albertelli 2e6420818b Added flag and notification definitions for ComboBoxEx. 2000-10-17 00:28:36 +00:00
Alexandre Julliard 57f05e1913 Converted a few more server requests to the new mechanism. 2000-10-15 00:40:25 +00:00
Alexandre Julliard bcb40b3177 Fixed a few prototypes. 2000-10-15 00:39:11 +00:00
Alexandre Julliard 80fc23a939 Set selector 0000H base to 0xf0000 until the first 64K are
unprotected.
2000-10-15 00:37:50 +00:00
Chris Morgan 56af064e01 Implemented the IDC_HAND cursor. 2000-10-13 23:43:45 +00:00
Francois Gouget eb6500fba9 Fixed the signature of the FormatMessage APIs. 2000-10-13 23:41:12 +00:00
Francois Gouget 83804d28ee The MODEM stuff has been spun off to its rightful place: mcx.h. 2000-10-13 23:16:46 +00:00
Francois Gouget 5e4b7de1b6 Completed/corrected the list of include files.
Handle WIN32_LEAN_AND_MEAN and the NOxxx macros.
2000-10-13 23:13:01 +00:00
Francois Gouget 6371e83259 Added a NOGDI protection.
Replaced _MAX_PATH with MAX_PATH.
#undef can be used directly on TRANSPARENT.
2000-10-13 23:12:19 +00:00
Francois Gouget ff04b4ee21 Must include objbase.h. 2000-10-13 23:11:56 +00:00
Francois Gouget 50bcd1a8e3 HFILE is an int, not a regular HANDLE. 2000-10-13 23:11:05 +00:00
Andreas Mohr 855ac7a8f7 Added MSGF_DDEMGR. 2000-10-13 23:09:56 +00:00
Alexandre Julliard 27952ef0ee Added a few more large integer functions. 2000-10-13 20:26:03 +00:00
Mike McCormack 11776c1fcf Moved comm.c into kernel32. 2000-10-13 17:11:30 +00:00
Francois Gouget eec9cbbe25 Claim that our headers conform to the version 5.0. 2000-10-13 17:10:34 +00:00
Francois Gouget d068b3f62c The string fields in PROPSHEETPAGEA should be ANSI strings. 2000-10-13 17:10:24 +00:00
Francois Gouget c0bca77ecb Removed the DUMMY_UNION_NAME in favor of DUMMYUNIONNAME. 2000-10-13 17:10:15 +00:00
Francois Gouget a82de9b375 Added the missing TVINSERTSTRUCT synonyms.
Added missing CBEIF_xxx definitions.
2000-10-13 17:08:42 +00:00
Francois Gouget 529779cf4c Fixed the signature of SysAllocStringByteLen. 2000-10-13 17:08:12 +00:00
Susan Farley 557066db1c Status bars on managed windows should not have SIZEGRIP style. 2000-10-13 17:07:08 +00:00
Konrad Rieck c6f0a4ed87 Changed repne to repnz for Solaris assembler. 2000-10-13 17:03:52 +00:00
Francois Gouget 48fc4aaaea Moved LCTYPE, GetLocaleInfo, NUMBERFMT, CURRENCYFMT and the related
API to winnls.h.
Moved LANG_xxx, SUBLANG_xxx, SORT_xxx and IS_TEXT_UNICODE_xxx to
winnt.h.
2000-10-12 23:20:29 +00:00
Francois Gouget 67c9691313 Added many missing *Pxxx types.
Removed a few *LPxxx types that are not supposed to be there (in
particular LPICONINFO).
Added a few missing *LPCxxx types (MENUITEMINFO, SCROLLINFO,
DLGITEMTEMPLATE).
WINHELP and PE_ACCEL are internal types.
MULTIKEYHELP and HELPWININFO both have an A and W variant.
NUMBERFMT, CURRENCYFMT and the related API belong to winnls.h.
Added missing ARW_xxx defines (for sysmetrics).
2000-10-12 23:18:55 +00:00
Francois Gouget 986f197497 ROTFLAGS have their own ifdef protection, take them out of the
_SECURITY_DEFINED ifdef block.
2000-10-12 23:15:29 +00:00
Francois Gouget d55ccfd968 Added a declaration for GetEnhMetaFileDescription. 2000-10-12 23:14:52 +00:00
Francois Gouget 5b317bc556 Enable anonymous struct/union support by default in both C and C++.
Disable them for compilers known not to support them.
Disable them for the WINE code.
2000-10-12 20:44:41 +00:00
Francois Gouget 8930569251 Added four DDElParam functions.
Now needs an 'extern "C"' protection for C++.
2000-10-12 20:44:14 +00:00
Francois Gouget 17bd7c9af4 Removed stray A/W from invocations of WINELIB_NAME_AW. 2000-10-12 20:43:08 +00:00
Francois Gouget 5853bd3c70 Added some of the APIs introduced in Win98, mostly the VarXxx maths APIs. 2000-10-12 20:41:56 +00:00
Alexandre Julliard aef9a36059 Use special environment variables to transmit the cwd of the various
drives to child processes (based on a patch by Andreas Mohr).
2000-10-03 04:19:16 +00:00
Francois Gouget 8b7f04d616 Removed the ';' ending on lines using the DECL_WINELIB_TYPE_AW and
WINELIB_NAME_AW macros.
2000-10-03 04:10:42 +00:00
Francois Gouget 9e23b509a1 Added some missing 'SysAllocString' prototypes.
Added some missing 'TypeLib' prototypes.
2000-10-03 04:09:32 +00:00
Aric Stewart f4918b008e Added a white border around the I-beam cursor. 2000-10-03 04:08:45 +00:00
Alexandre Julliard 40048ccde5 Release 20001002. 2000-10-02 22:44:31 +00:00
Alexandre Julliard 454355ece1 Convert NtQueryKey and NtEnumerateKey to the new request mechanism.
Fixed a few bugs.
2000-10-02 03:46:58 +00:00
Patrik Stridvall bf8943c60c Fixed some issues found by winapi_check. 2000-10-02 03:39:34 +00:00
Alexandre Julliard bcf393a5e5 Converted some of the registry server requests to the new request
mechanism.
2000-10-01 01:44:50 +00:00
Alexandre Julliard d76f9f9637 Implemented a bunch of large integer functions in ntdll. 2000-10-01 01:40:42 +00:00
Alexandre Julliard afb49ead82 Moved a bunch of routines to kernel32.dll (with the help of
Dimitrie O. Paun).
2000-09-29 20:48:04 +00:00
Francois Gouget 8aa79fbe19 Moved DLLVERSIONINFO to shlwapi.h. 2000-09-29 01:03:30 +00:00
Stephane Lussier 6bac4f2c15 Before calling the timer window proc, make sure it is valid. 2000-09-29 00:56:05 +00:00
Alexandre Julliard baa15566a0 Moved critical section implementation to ntdll. 2000-09-29 00:31:23 +00:00
Mike McCormack 3112fd2269 Implemented SHDeleteEmptyKeyA, SHDeleteKeyA. 2000-09-29 00:25:56 +00:00
Francois Gouget fcc199c78a Fix the return type of mixerMessage16. 2000-09-29 00:23:04 +00:00
Francois Gouget 3e88da11cf Renamed VS_USER_INFO to VS_USER_DEFINED. 2000-09-29 00:22:09 +00:00
Alexandre Julliard c585a501d9 Changed the Win32 dll descriptor to be in IMAGE_NT_HEADERS format.
Generate the import table directly in PE format.
Added gui/cuiexe_no_main modes in EXE spec files, and use this for the
main wine binary.
2000-09-27 23:40:43 +00:00
Francois Gouget afddcfdbd8 Added various type and macro definitions that are needed to compile
the latest MFC.
2000-09-27 22:31:28 +00:00
Alexandre Julliard a80d8c6cf0 Generate Win32 dll descriptor structure in the .spec.c file so that we
don't need to depend on builtin32.h.
2000-09-27 01:20:01 +00:00
Jeremy White 124657f5a9 Created zmouse.h, moved wheel code from mouse.h into it. 2000-09-27 01:18:47 +00:00
Alexandre Julliard ab170a9c84 Fixed a few non portable zero-size array declarations. 2000-09-27 00:25:24 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Lionel Ulmer fc67be9a01 Added support for DirectDraw overlays using the XVideo extension. 2000-09-26 00:38:03 +00:00
Marcus Meissner 0691d74027 Fixed some commctl header issues reported in newsgroup. 2000-09-26 00:37:11 +00:00
Alexandre Julliard 56b9fea89a A few includes cleanup. 2000-09-26 00:02:22 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00
Alexandre Julliard d8fab2e67c Removed some of the XXX_reg macros now that we are using the standard
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard 770eb51ed5 Moved most global data out of the LPDOSTASK structure.
Allocate DPMI real-mode segments globally at startup.
Try to allocate DOS memory at address 0.
2000-09-24 20:47:50 +00:00
Alexandre Julliard 0ff083bab8 Call WH_GETMESSAGE hook in PeekMessage too (based on a patch by Rob
Farnum).
2000-09-24 19:51:15 +00:00
Rein Klazes ff7a61f8d3 Make calls to gethostbyname, gethostbyaddr, getservbyname,
getservbyport, getprotobyname and getprotobynumber thread-safe.
2000-09-24 19:41:57 +00:00
Alexandre Julliard b59627c89f Added support for exception handling while in vm86 mode.
Fixed a couple of bugs in vm86 support.
2000-09-24 03:11:54 +00:00