Commit graph

3904 commits

Author SHA1 Message Date
Alexandre Julliard f22ba0560d Added support for #pragma code_page.
Fixed a few bugs in language handling.
Added error message when Ansi->Unicode conversion in the current
codepage loses information.
2002-08-15 21:57:36 +00:00
Rok Mandeljc b64583e5e6 Added Slovenian resources. 2002-08-15 21:48:58 +00:00
Alexandre Julliard 7887259686 Updated dependencies. 2002-08-14 21:11:17 +00:00
Huw D M Davies 238b4da314 Correct font size for non MM_TEXT modes. 2002-08-14 21:06:26 +00:00
François Gouget 1dc62b7ebf NT sets the error code to ERROR_RESOURCE_DATA_NOT_FOUND if the file
exists but does not contain version information.
2002-08-14 21:04:54 +00:00
Dmitry Timoshkov c7b806114d Make dialog IDs "Browse for Folder" compatible with IE. 2002-08-14 21:03:55 +00:00
Mike McCormack 0465030a50 Stubs for DAD_Drag Enter, EnterEx, Move AutoScroll and Leave. 2002-08-14 21:03:07 +00:00
Mike McCormack 9611986ac7 Correct the size of the colour map allocated in the bitmap header for
the case biClrUsed = 0.
2002-08-14 21:02:01 +00:00
Aric Stewart 704bf5aebe Added DeinitMapiUtil stub. 2002-08-14 21:00:57 +00:00
Huw D M Davies 6b97f5eef8 Very hacked implementation of url monikers. 2002-08-13 18:20:24 +00:00
Dmitry Timoshkov 035887513d Cosmetics. 2002-08-13 18:18:38 +00:00
Alexandre Julliard 41a22f2c74 Add QM_SMRESULT in wake bits too in case the changed bits get cleared
while processing a sent message.
2002-08-13 18:17:19 +00:00
Dmitry Timoshkov 2a00807f40 Fixed hex to binary conversion. 2002-08-13 18:11:15 +00:00
Dmitry Timoshkov 4c903ea4b8 us->Length is in bytes. 2002-08-13 18:10:28 +00:00
Dmitry Timoshkov 9447958bc1 Throw exception only for Wine internal locks. 2002-08-13 18:09:22 +00:00
Alexandre Julliard 473f3de872 Reduce flicker on updates. 2002-08-13 18:08:45 +00:00
Mike McCormack 06effbf07a Duplicate the font handle passed through WM_SETFONT, because it does
not belong to us and is not ours to free.
2002-08-13 18:08:15 +00:00
Dmitry Timoshkov 2f2e4fab6c Added WM_GET/SETTEXT support. 2002-08-13 18:07:02 +00:00
Alexandre Julliard 140c905688 The provider functions are WINAPI. 2002-08-13 18:05:45 +00:00
Aric Stewart cae4c9086f Only modify returned keys on success. 2002-08-13 18:05:19 +00:00
Alexandre Julliard 6006757996 Setup exception frame around 16-bit calls to unwind stack properly. 2002-08-13 03:29:17 +00:00
Juergen Schmied 1166dc733a Stubs for DragDropHelper. 2002-08-13 03:21:53 +00:00
Jukka Heinonen 77c239979a Add support for moving VGA controller window in framebuffer using SVGA
interrupts. Detect correctly color plane modes and linear modes,
including Mode-X. Moved VESA interrupts into separate function and
implemented few more stubs.
2002-08-13 03:17:42 +00:00
Alexandre Julliard c963d90f50 Test results need to depend on the module being tested. 2002-08-10 00:03:25 +00:00
Alexandre Julliard a5dea216cc Implemented the RtlImage* functions, and use them to replace the
PE_HEADER macro.
2002-08-09 19:57:38 +00:00
Andriy Palamarchuk 3d8b123e5a Improved richedit headers. 2002-08-09 19:51:49 +00:00
Michael Stefaniuc c8ff4da2ac Convert HMMIO to a void*. 2002-08-09 19:51:01 +00:00
Marcus Meissner 5ee517ac3d Copy va_lists by using va_copy, not by just assigning them. 2002-08-09 19:49:31 +00:00
Alexandre Julliard edeee89c3e Create separate makefiles for tests for more flexibility. 2002-08-09 01:22:40 +00:00
Alexandre Julliard 63d29eb79b Fixed string lengths to do the right thing for all platforms. 2002-08-09 01:14:23 +00:00
Alexandre Julliard ee067be694 Updated authors list. 2002-08-09 01:13:31 +00:00
Ove Kaaven 29b3061bfa Some more RPC definitions. 2002-08-09 01:11:39 +00:00
Patrik Stridvall 4325554aef Fixed some issues found by winapi_check. 2002-08-09 01:07:29 +00:00
Michael Stefaniuc ec7d7b72b2 - Convert HDRVR to a void*.
- Fix declaration of DriverCallback().
2002-08-09 01:02:25 +00:00
Gregg Mattinson 8c9bdcc9e1 Fixes for Sparc build. 2002-08-07 01:18:41 +00:00
Juergen Schmied 53e5bd5000 Implement StrRetToStr in shlwapi. 2002-08-06 23:50:27 +00:00
Christian Costa afe785c4d5 Initialize the DDCAPS structure of the DDRAW object at creation. 2002-08-06 23:49:46 +00:00
Lionel Ulmer 7ea3a29eca Handle 'not acquired' error messages on keyboard GetDeviceData. 2002-08-06 23:49:12 +00:00
Lionel Ulmer 00b088bc25 Support negative values in RECTs during Blts. 2002-08-03 19:11:55 +00:00
Juergen Schmied d1c144148c - Moved 16 bit functions to a seperate file.
- First implementation for free threaded marshaller.
- Fixed handling of REG_EXPAND_STRING registry values in CoCreateObject.
- Fixed CoLoad/FreeLibrary functions.
- Fixed use internal dll-list (used only for functions loading a dll
  internally without returning HMODULE).
2002-08-03 00:17:10 +00:00
Michael Stefaniuc c414344e2a Convert HMIXER, HMIXEROBJ to a void*. 2002-08-03 00:14:43 +00:00
Lionel Ulmer 262cbcdb09 Be less strict on parameter checking in the SetSurfaceDesc function. 2002-08-02 19:10:16 +00:00
Michael Stefaniuc bacc1b3b58 - Converted HWAVE, HWAVEIN, HWAVEOUT to void*.
- Fixed some HMIDI{IN,OUT}16 to HANDLE conversions.
- midiOutCacheDrumPatches16 called itself recursively in an infinite
  loop.
2002-08-02 19:02:49 +00:00
Alexandre Julliard 526531eb6c Create at most one glue file for a single dll.
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Robert Lunnon 2a91e3f99b Preliminary audio driver for Solaris Libaudioio. 2002-08-01 18:22:38 +00:00
Alexandre Julliard 7cae201e3f Authors: Eric Pouech <eric.pouech@wanadoo.fr>, Michael Stefaniuc <mstefani@redhat.com>
Convert HMIDI, HMIDIIN, HMIDIOUT, HMIDISTRM to void*.
2002-08-01 18:17:51 +00:00
Alexandre Julliard cd6b50e732 Moved the #ifdefs for the getnetby* etc. functions directly into the
winsock implementation to avoid having to redefine the data structures
in port.h.
2002-07-31 23:20:47 +00:00
Alexandre Julliard 4c5d562c30 Add MSVCRT prefix to _stat and _fstat (based on a patch by Rafael
Kitover).
2002-07-31 20:04:57 +00:00
Rafael Kitover ac81d02a58 Portability fixes for Cygwin. 2002-07-31 20:04:20 +00:00
Alexandre Julliard 7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +00:00
Eric Pouech 05d42e5b2f Moved all client-side console code to kernel. 2002-07-31 19:20:28 +00:00
Alexandre Julliard 99d8b7f755 Moved initial AllocConsole call to kernel init (based on a patch by
Eric Pouech).
2002-07-31 19:19:36 +00:00
Eric Pouech 3d4d7e0153 Added a generic mechanism to set up hooks for dispatching signal
handlers outside ntdll.
2002-07-31 18:46:09 +00:00
Alexandre Julliard a6cff2b3c8 We have to use the Rtl variant of Enter/LeaveCriticalSection inside
ntdll.
2002-07-31 17:56:54 +00:00
Alexandre Julliard 69b2201883 Rewrote atom test in C. 2002-07-31 17:45:00 +00:00
Nicolas Escuder 2a0dd0be05 Speed and buffer improvement, code clean up, and fix some bug
on close / reset waveout.
2002-07-31 17:23:47 +00:00
Alexandre Julliard 267ca68253 Fixed HANDLE<->HFILE conversions, since they will be different types
when handles are void*.
2002-07-31 17:20:00 +00:00
Alexandre Julliard 04b5a86c46 Merged the NAS driver written by Nicolas
Escuder <n.escuder@alineanet.com>.
2002-07-30 02:44:19 +00:00
Marcus Meissner 786d24903b Check for mkstemp, added a port implementation if it is not
present. Use mkstemp() in various places needing tmp files.
2002-07-29 23:55:39 +00:00
Chris Morgan 6ecade7c84 Some dos VGA error handling. Misc TRACE changes. 2002-07-29 23:51:57 +00:00
Juergen Schmied c1f9d386eb - Implemented IMallocSpy hooks in IMalloc.
- Moved memory related functions into ifs.c.
- Implemented stubs for the MallocSpy.
2002-07-29 23:30:20 +00:00
Gerald Pfeifer 22780c814d Fixed format string. 2002-07-29 23:29:23 +00:00
Jukka Heinonen 216e0248bc VGA emulation now supports outw and outl. 2002-07-29 23:29:03 +00:00
Jukka Heinonen b975aaaa2b Add VGA controller framebuffer between VGA window and
DirectDrawSurface.
2002-07-29 23:28:52 +00:00
Steven Edwards 9f573fa9a6 Portability fix. 2002-07-29 23:28:29 +00:00
Steven Edwards 9138fbb6ad Fix building/linking resources on Mingw. 2002-07-29 23:28:09 +00:00
Alexandre Julliard fb2eca812d Import comctl32 functions from shell32 by ordinal.
Removed some unnecessary ordinals in comctl32.spec.
2002-07-29 00:24:58 +00:00
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