Commit Graph

3837 Commits

Author SHA1 Message Date
Michael Stefaniuc 5c55df649b Converted HENHMETAFILE and HMETAFILE to a void*. 2002-07-29 00:14:59 +00:00
Alexandre Julliard 13f2a17eb2 Convert HTASK to void* (based on a patch by Michael Stefaniuc). 2002-07-28 23:48:27 +00:00
Alexandre Julliard 90423aa317 Fixed potential memory corruption. 2002-07-28 17:50:06 +00:00
Ryan Cumming 08be8f06cc Implementation of RtlGetNtVersionNumbers. 2002-07-28 17:49:26 +00:00
Rafael Kitover 44d3fd429e Minor fix for ide-scsi cdroms. 2002-07-28 17:48:01 +00:00
Jukka Heinonen 0984b34783 Add decoding logic for VGA indexed registers. 2002-07-28 17:42:30 +00:00
Michael Stefaniuc 37553b7a13 - Converted HHOOK to a void*.
- Changed the internal HOOK_* functions to pass only HHOOK's between
  them.
- Fixed wrong HHOOK <-> HANDLE16 conversions.
2002-07-28 17:42:05 +00:00
Marcus Meissner 99f4890788 Factored out the OLE 16 bit allocator from StringFromCLSID.
Implemented ProgIDFromCLSID16.
2002-07-25 23:55:55 +00:00
Uwe Bonnes 4072c64a1f Fill lpcbAvail for PeekNamedPipe. 2002-07-25 00:22:03 +00:00
Duane Clark ebc6feb50b Bug fixes. 2002-07-25 00:18:23 +00:00
Alexandre Julliard 1f6ce57b24 Removed ordinal 0. 2002-07-24 19:05:50 +00:00
Alexandre Julliard 891d23e57f Added support for ordinal hint in PE_FindExportedFunction. 2002-07-24 19:04:41 +00:00
Andreas Mohr 7df2d9f187 Misc spelling fixes. 2002-07-24 19:02:50 +00:00
Duane Clark 94324019b6 Combined implementations of ShellExecute/Ex. 2002-07-24 18:59:38 +00:00
Jon Griffiths fe1e3e5c73 PathAppendA/W: Don't skip '\\' if path is UNC.
PathGetCharTypeA/W: '/' is invalid, make non-ASCII compatible too.
Implement PathCompactPathExA/W.
Update docs, remove signed/unsigned warnings with -W.
2002-07-24 18:58:57 +00:00
Alexandre Julliard 37a4c9b8fe First pass implementation of CxxFrameHandler (thanks to Juergen
Schmied for help in testing it).
2002-07-24 03:02:51 +00:00
Juergen Schmied 1e5ec8893d - Cleaned up the implementation of shell folders and put them into
separate files.
- Fixed some memory leaks.
- Some more fixes.
2002-07-24 01:56:03 +00:00
Uwe Bonnes 2f61c4a1b3 Take a snapshot of the environment strings when building the
__p__environ array and update the array on calls to _putenv.
2002-07-23 20:59:12 +00:00
Alexandre Julliard 5f7162363c Removed non-exported string functions. 2002-07-23 20:56:16 +00:00
Guy L. Albertelli 6737a5926a - Implement LVM_SCROLL and adjust scrolling for all formats.
- Implement standard Comctl32 color handling.
- Eliminate bogus ERR messages for application messages.
2002-07-23 20:54:52 +00:00
Alexandre Julliard d0c8725360 Fixed broken forwards reported by Patrik Stridvall. 2002-07-23 02:08:12 +00:00
Patrik Stridvall a50698b903 Fixed some issues found by winapi_check. 2002-07-23 01:59:46 +00:00
Alexandre Julliard 8482613aa3 Added missing wine/port.h. 2002-07-22 21:53:32 +00:00
Alexandre Julliard 84555cc771 Generate the __ASM_NAME and __ASM_FUNC macros directly from
configure.
Simplified the WINE_TRY_ASM_LINK test.
Moved DECL_GLOBAL_CONSTRUCTOR to wine/port.h.
2002-07-22 20:51:02 +00:00
Alexandre Julliard 65c6d38581 Replace all uses of PREFIX and @function by the __ASM_NAME and
__ASM_FUNC macros.
2002-07-22 20:47:11 +00:00
Michael Stefaniuc 15fc23693f ImageList_Remove returns TRUE when removing all images of an empty
ImageList.
2002-07-22 20:38:41 +00:00
Michael Karcher 4ae5380cbb Set the correct length of the struct DDSURFACEDESC. 2002-07-22 20:37:01 +00:00
Roderick Colenbrander fec6930127 Simple implementation of InternetAutodial. 2002-07-22 20:34:41 +00:00
Jon Griffiths d84875ceaf Move thread related functions to new file.
Implement SHCreateThread,@224,@424, stub SHReleaseThreadRef.
Fix: SHGetThreadRef() calls AddRef(), @356 param count wrong.
2002-07-22 20:32:53 +00:00
Alexandre Julliard 14b75f9878 Added definition of msvcrt internal error codes. 2002-07-20 20:30:57 +00:00
Juergen Schmied 65578c03c1 - Many stubs
- Some ordinals, SHStrDupA and SHStrDupW implemented.
2002-07-20 20:04:44 +00:00
Dominik Strasser 751c4544b0 Implemented RegQueryMultipleValues. 2002-07-20 20:02:55 +00:00
Ove Kaaven 1af798920c Wait for the asynchronous update thread to complete if the app
requests it. Fixed blit offseting issues in windowed mode.
2002-07-20 20:01:57 +00:00
Andreas Mohr 283a7ff8d1 Honour the VNLP_COPYIFEXISTS flag when doing a copy operation. 2002-07-20 18:54:51 +00:00
Alexandre Julliard 44b4235af2 Fixed per-thread data handling.
Made terminate and unexpected function pointer per-thread.
Added set_se_translator.
2002-07-19 03:24:50 +00:00
Gregg Mattinson 8a191ff5b8 Avoid structures or arrays of size 0. 2002-07-19 03:18:05 +00:00
Jon Griffiths 799aa9ccde Set amounts read/written to 0, share Un/Lock code, unify ctors.
SHOpenRegStreamA/W return a dummy object on failure, not NULL.
Implement @12 using common ctor.
2002-07-19 03:13:58 +00:00
Marcus Meissner 3635056577 Protect InternetCloseHandle() against invalid handles. 2002-07-19 03:12:18 +00:00
Patrik Stridvall a3868218d0 Fixed some issues found by winapi_check. 2002-07-19 00:30:16 +00:00
Dimitrie O. Paun 7229935023 Allow the application to subclass a buddy edit (spotted by Guy
L. Albertelli).
2002-07-19 00:27:52 +00:00
Jon Griffiths 63a9e11e16 Implemented SHBrowseForFolderW. 2002-07-19 00:26:02 +00:00
Jon Griffiths 964e4f9c18 Avoid winreg.h inclusion. 2002-07-19 00:25:26 +00:00
Jon Griffiths 900f57052c Stub implementation for CoInitializeSecurity. 2002-07-19 00:23:27 +00:00
Alexandre Julliard 21ec1d2a4c Fixed setting of min/maximize mwm hints. 2002-07-16 01:45:31 +00:00
Juergen Schmied bdd7d8bc47 Fixed two leaks in file- and itemmoniker. 2002-07-16 01:43:24 +00:00
Tony Lambregts 2c5a41b027 Added support DDBLT_DDFX flag in DirectDrawSurface_Blt. 2002-07-16 01:42:47 +00:00
Guy L. Albertelli 65b845b053 - Remove stub for ordinal 394 and replace with forward to
CreateDialogIndirectParamA where tracing shows it going.
- Add stub for ordinal 430.
2002-07-16 01:42:26 +00:00
Guy L. Albertelli 23739a339a Don't issue error message if message number in application range. 2002-07-16 01:23:59 +00:00
Jon Griffiths 9797a38b1c Implement SHCreateStreamOnFileA/W/Ex, ordinals @166,184,212-214. 2002-07-16 01:21:52 +00:00
Paul Millar a7b2bf4854 Removed drive assumptions in the path handling regression tests. 2002-07-16 01:19:41 +00:00
Juergen Schmied c38342a97b Fixed a memory leak and a wrong memory free call. 2002-07-16 01:18:35 +00:00
Lionel Ulmer 33dfdfcabc Test for X11 errors for DGA2 and XVidMode extensions. 2002-07-16 01:16:44 +00:00
Lionel Ulmer b6051dec93 - DDRAW_SYSTEMMEMORY is handled like OFFSCREENPLAIN for now
- added more logging
2002-07-16 01:16:14 +00:00
Gregg Mattinson 0c5abf77a3 Fixed another non-static structure initializer. 2002-07-16 01:15:15 +00:00
Bill Medland 69f18275d5 Correction to header order maintenance when a dummy first item is
added and then deleted (as suggested by MSDN to handle the fact that
the first column of a listview is left justified).  Also removed
redundant casts.
2002-07-16 01:14:46 +00:00
Gregg Mattinson ecdafc37a2 Fixed void* arithmetic. 2002-07-16 01:12:39 +00:00
Gregg Mattinson 25ee95cd5d Initialized the pidlOut variable in SHELL32_ParseNextElement to
prevent a crash in some cases.
2002-07-16 01:11:52 +00:00
Bill Medland b99101230f DeleteColumn should return success even for uOwnerData. 2002-07-16 01:10:26 +00:00
Alexandre Julliard 6de7c9963e Added FPU emulation interrupts. 2002-07-10 23:22:54 +00:00
Admiral Coeyman 9cb2b210aa Added support for FPU emulation interrupts. 2002-07-10 23:22:29 +00:00
Jon Griffiths 273f86fc74 Stubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled,
UnhookWinEvent.
2002-07-10 23:20:49 +00:00
Alexandre Julliard bc6c650db0 Quiet the font loading error. 2002-07-10 23:16:40 +00:00
Alexandre Julliard a80a814234 Fixed corruption when copying to the same surface (with the help of
Tony Lambregts and Lionel Ulmer).
2002-07-10 23:10:54 +00:00
Gregg Mattinson 6886467cb9 Fixes to allow big endian machines to load MSFT typelib files. 2002-07-10 23:07:59 +00:00
Carl Sopchak 0e8da89122 Pass "Manual Feed" as short input slot name. 2002-07-10 20:33:24 +00:00
Shachar Shemesh d386fa75bc - Fixed access to the lpTemplateName of ChooseFont in cases where the
flags don't specify to use it.
- Do not try to convert the resource name from ANSI to Wide if it is a
  result of MAKEINTRESOURCE (and therefore not a string).
2002-07-10 20:31:17 +00:00
Alexandre Julliard c345f7b953 Created registry unit test and added tests for RegEnumValue[AW]. 2002-07-10 03:30:14 +00:00
Alexandre Julliard c1dddbea55 RegEnumValue[AW] need to update the data size on buffer overflow
(spotted by Massimo <max@veneto.com>).
2002-07-10 03:27:35 +00:00
Ove Kaaven 1d8f92c88c Removed the flags fields of IDirectDrawPaletteImpl, as we should use
the dwFlags field of DDRAWI_DDRAWPALETTE_GBL structure instead.
2002-07-10 03:05:43 +00:00
Ove Kaaven ea20614e39 Handle WM_SYNCPAINT with DefWindowProc. 2002-07-10 03:04:58 +00:00
Rok Mandeljc 3fb4b81379 Added Slovenian resources. 2002-07-10 03:03:46 +00:00
Rein Klazes 8ec3ce8845 Fix buffer length calculation in InitializeGenericSF(). 2002-07-10 03:00:46 +00:00
Guy L. Albertelli 073d09a17f - Improve traces.
- Changed default column width to 128 to match native and make that
  the mimimum for LVS_SMALLICON and LVS_LIST styles.
- Corrected max value for LVS_LIST style scroll info.
- Issue our own ShowScrollBar like the native with proper test.
- Correct alignment when using LVS_ICON style.
- Correct FIXMEs for unimplemented styles.
- Correct rect size computation for LVS_LIST.
- Reset scroll bars when changing styles.
- Implement WM_WINDOWPOSCHANGED.
2002-07-10 03:00:22 +00:00
Jon Griffiths 2d990806ec Implement/document @17,18,19,20,21,22 (Compact list API). 2002-07-09 02:01:56 +00:00
Lionel Ulmer 5da88a2cb9 Support new registered extensions. 2002-07-09 01:59:34 +00:00
Uwe Bonnes 4ec51d090a _open_osfhandle: set at least the _IOREAD flag. 2002-07-09 01:58:27 +00:00
Uwe Bonnes aba44fbc01 fgets, fgetws: don't treat the possible uninitialized buffers as valid
strings.
2002-07-08 20:44:33 +00:00
Uwe Bonnes 05ccdea0fa MSVCRT_fread: expose feof flag. 2002-07-08 20:44:09 +00:00
Alexandre Julliard d1b43b8da3 Removed workaround for 16-bit loader bug. 2002-07-08 19:44:53 +00:00
Andreas Mohr 22ffa982ec - Always copy (almost) the whole stack space over to the 16bit stack
instead of calculating some potentially bogus parameter count.
- Add some comments.
2002-07-08 19:40:29 +00:00
Uwe Bonnes cfb96bddf1 Added _U@YAPAXI@Z and _V@YAPAXI@Z. 2002-07-08 19:39:18 +00:00
Uwe Bonnes 73c3033029 MSVCRT_fseek: should return 0 on success. 2002-07-08 19:39:01 +00:00
Duane Clark 577ea0cbc3 Add richedit support for a plain text stream. 2002-07-08 19:37:18 +00:00
Jason Edmeades 86d5a32de4 - VarFormat now supports VT_R8 and BYREF variant types.
- Add VarCyMulI4 support.
2002-07-08 19:36:24 +00:00
Eric Pouech 80884be68c Fixed another PlaySound bug (when SND_LOOP is requested). 2002-07-08 19:35:08 +00:00
Eric Pouech e3bd1361f1 Fixed a few compilation warnings. 2002-07-08 19:34:49 +00:00
Lionel Ulmer 70d6e282c8 Support wglUseFontBitmapsA when using client-side rendering. 2002-07-08 19:34:26 +00:00
Steven Edwards 6aa9ccb102 Need to import ntdll. 2002-07-05 22:48:33 +00:00
Alexandre Julliard a010932a3f More explicit initialization of info_size for stupid compilers. 2002-07-05 21:30:38 +00:00
Alexandre Julliard af0d206752 Flush stdio on exit. 2002-07-05 21:23:07 +00:00
Alexandre Julliard bef32c65a2 Fixed warnings. 2002-07-05 21:22:32 +00:00
Gregg Mattinson 81cbb28d07 - Forte C does not support nameless structures or unions
- Implemented __builtin_return_address for Forte C on sparc
- Implemented DECL_GLOBAL_CONSTRUCTOR for non-386, non-GNU C
- Implemented WINE_DPRINTF to have function name with Forte C
2002-07-05 21:22:09 +00:00
Marcus Meissner c1f3738568 Added a generic way of doing GetHGlobalFromILockBytes(). 2002-07-05 21:19:55 +00:00
Gregg Mattinson 78c4dd349c Implemented FormatMessage for sparc. Since the va_list is stored in
memory like __i386__, the same implementation should work.
2002-07-05 21:17:43 +00:00
Alexandre Julliard 7015ce3096 No need to call GetModuleFileName16 now that GetModuleFileNameA
handles 16-bit tasks.
2002-07-05 01:28:10 +00:00
Duane Clark ea8d12c24b Add drive letter and Unix path tests of GetFullPathNameA. 2002-07-05 01:22:28 +00:00
Jason Edmeades daec720709 Ensure VarBstrCat handles null parms as per windows and actually does
the concatenation even for null args.
2002-07-05 01:22:03 +00:00
Rein Klazes 0bb6fdda90 Check for NULL keyvalue in RegEnumKeyExA/W. 2002-07-05 01:21:13 +00:00
Alexandre Julliard f5e5fcac97 Tried to make IsDialogMessageW more compatible. Changed
IsDialogMessage16/A to call IsDialogMessageW.
2002-07-05 00:23:02 +00:00
Uwe Bonnes d389c4bad4 MSVCRT_operator_new: Call handler only when "new" operation fails. 2002-07-05 00:18:08 +00:00
Gregg Mattinson 7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Duane Clark d02075942a strcasecmp returns zero on a match. 2002-07-03 21:07:36 +00:00
Gregg Mattinson bac71315d2 Removed non-static structure initializers. 2002-07-03 21:06:58 +00:00
Andreas Mohr 73f0bfb838 Better toggle all relevant bits in VGA crt register. 2002-07-03 21:04:44 +00:00
Gregg Mattinson 2e38a17021 Void functions can't return a value, even if it is the return value
from another void function.
2002-07-03 01:20:07 +00:00
Lionel Ulmer a3f4e7ff3f Detect DCs without fonts and return an error in wglUseBitmapFonts. 2002-07-03 01:16:45 +00:00
Eric Pouech 34865e4c27 Fixed some more configuration issues. 2002-07-03 01:14:52 +00:00
Andreas Mohr 45f5f5dabb Make sure we wait some time during int16 keyboard query call. 2002-07-03 01:13:34 +00:00
Andreas Mohr 5ab5c4991c Added a DOS text mode memory buffer copy in order to be able to tell
which lines of text changed and thus which ones to update.
2002-07-03 01:13:17 +00:00
Alexandre Julliard 958732d21c Fixed warnings. 2002-07-02 02:09:39 +00:00
Juergen Schmied 9a7cc230dc - implementations for SHLWAPI_267, SHLWAPI_268
- small fixes
2002-07-02 02:06:19 +00:00
Juergen Schmied 23b808791e - changed STRRET definition
- small changes for seperation of shell32 from ole32
- debughelper for printing interface names (shell internal)
- changed shell memory allocation to use IMalloc of ole32 when this
  library is already loaded
- fallback IMalloc internally in shell
- unified constructor syntax for several objects  created by DllGetClassObject
- rewrote instance creation for com objects
- made the desktop folder parsing paths like ::{CLSID}
- Implemented IPersistFolder3 partially
2002-07-02 02:05:17 +00:00
Alexandre Julliard 5691dea7b8 - stubs for SHLWAPI.295 (create a URL shortcut ?) and SHLWAPI.394
- minor cleanups
2002-07-01 23:21:15 +00:00
Alexandre Julliard 82696f43ee Make sure allocated blocks are aligned on an 8-byte boundary. 2002-07-01 18:41:47 +00:00
Alexandre Julliard 5b80ce3517 Fixed make install from read-only build directory (spotted by Marcus
Meissner).
2002-07-01 18:23:38 +00:00
Gregg Mattinson 2f4ae7ba2c Avoid alignment problem in NtQuerySystemTime. 2002-07-01 18:14:27 +00:00
Andreas Mohr db31151b1e Implemented set cursor shape functionality. 2002-07-01 18:13:52 +00:00
Juergen Schmied 33817372fe Support for large and negative offsets. 2002-07-01 18:10:34 +00:00
Nix N. Nix cff4b6d09c Removed message box that would pop up if a RunMRU list was not found. 2002-06-28 23:30:07 +00:00
Rok Mandeljc fd40708e38 Added Slovenian resources. 2002-06-28 23:28:36 +00:00
Philipp Wollermann a32dc91711 Implemented SPI_GETDESKWALLPAPER action, fixed SPI_SETDESKWALLPAPER. 2002-06-28 23:27:37 +00:00
Jukka Heinonen 9859606ec8 Disable OWN_WINDOW as it no longer works. 2002-06-28 23:26:57 +00:00
Alexandre Julliard f92b7c06c2 Added some ALSA configure checks. 2002-06-28 18:31:01 +00:00
Eric Pouech a120ce015c Created an ALSA driver (with the help of David Hammerton and Marco
Pietrobono).
2002-06-28 17:40:16 +00:00
Gregg Mattinson 88773cd403 Removed C++ style comments. 2002-06-28 17:37:34 +00:00
Eric Pouech f320e74c59 No longer depends on external env strings values. 2002-06-28 17:35:20 +00:00
Sander van Leeuwen 2021de684e Do not change directory if path is invalid. 2002-06-28 17:34:57 +00:00
Knut St. Osmundsen 886bdb0dbc Do not access memory that has just been freed. 2002-06-28 17:34:35 +00:00
Tony Lambregts fede234ed0 Added support for DDBLT_KEYSRCOVERRIDE/DDBLT_KEYDESTOVERRIDE. 2002-06-28 17:32:25 +00:00
Guy L. Albertelli 176f5cf62c Add TCM_SETCURSEL when setting page current. 2002-06-28 17:31:57 +00:00
Eric Pouech d075eff2e9 Ensured full duplex mode is only used with same parameters in in/out
streams.
Some more work towards multiple audio cards support.
2002-06-28 17:31:31 +00:00
Alexandre Julliard 5ee1599d59 Replaced LPTODP/DPTOLP macros by calls to LPtoDP/DPtoLP (with the help
of Huw Davies).
2002-06-25 23:29:51 +00:00
Sylvain Petreolle 3a99d8baa1 Created d3d8 stub dll. 2002-06-25 23:23:03 +00:00
Eric Pouech 64284a8767 Fixed flags handling in sndPlaySound. 2002-06-25 02:58:48 +00:00
Jason Edmeades 07e2634753 Fixed crash in open file dialog on non-windows 98 emulation when
lpszInitialDir is null.
2002-06-25 02:55:53 +00:00
Jason Edmeades 99b3307406 Ensure we free the cached HFONT after loading in a fresh font. Enables
fonts in VB programs to appear correctly.
2002-06-25 02:54:06 +00:00
Huw D M Davies ae4278ee59 Added Type 1 and Type 42 font downloading.
Misc bug fixes.
2002-06-24 23:44:18 +00:00
Huw D M Davies 7a6ea91913 Handle dmScale. 2002-06-24 23:41:55 +00:00
Huw D M Davies 22ae3bd167 psdrv doesn't care about hGCClipRgn, just use GetClipRgn instead. 2002-06-24 23:40:54 +00:00
Huw D M Davies 4aa2c81db2 Get rid of a few thousand useless TRACE lines. 2002-06-24 23:40:01 +00:00
Huw D M Davies eee03b0ea5 Added afm weight "NORMAL". 2002-06-24 23:38:51 +00:00
Huw D M Davies 1d70715198 Don't map symbol charset through WCToMB. 2002-06-24 23:07:26 +00:00
Jukka Heinonen 97a003fc37 Redirect all reads and writes to VGA controller to VGA emulation.
Catch and report 16/32-bit reads/writes to VGA controller.
Use correct flags when creating full screen DirectDraw window for
VGA.
2002-06-24 22:57:28 +00:00
Jukka Heinonen d19a64eafa Add save/restore mapping context routines.
Add map multiple pages routine.
Add partial implementation of hardware information query routine.
Replace incorrect use of MapSL with PTR_REAL_TO_LIN.
2002-06-24 22:50:22 +00:00
Huw D M Davies 8da26fb26a - Implement AddFontResource*, add stubs for RemoveFontResource*.
- Add support for GGO_BEZIER and a few bug fixes for GGO_NATIVE.
- Much better support for non ansi charsets in font matching.
- Proper implementation of GetTextFace for gdi font.
- Load fonts that are listed in the registry but aren't in
  %WINDOWSDIR%\fonts.
- Revert TranslateCharsetInfo to use codepage 1252 with ANSI_CHARSET.
- Add support for VIETNAMESE_CHARSET and SYMBOL_CHARSET.
2002-06-22 01:19:29 +00:00
Dmitry Timoshkov 09b4c500c2 Added Bulgarian keyboards. 2002-06-22 01:10:37 +00:00
Huw D M Davies 998ae970e5 Store the cache entry indices and not the ptrs.
Protect cache with a critical section.
2002-06-22 01:01:34 +00:00
Alexandre Julliard 75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Aric Stewart ff9b9d4ef8 Reworking of http and asyncronous calls to get IE6 to install.
Added a version resource.
Added unit test for http.
2002-06-21 23:59:49 +00:00
Vincent Béron e35580f4c9 Fixed some various comparisons wrt signedness. 2002-06-21 22:25:17 +00:00