Commit Graph

3961 Commits

Author SHA1 Message Date
Hleb Valoska 8df5fc96ce Added Belarusian keyboard. 2002-08-27 18:16:06 +00:00
Rein Klazes 9fee50e2e4 Forward shlwapi.393 to CreateDialogIndirectParamW. 2002-08-27 18:14:43 +00:00
Dmitry Timoshkov 160ab19ace Added a bunch of new regression tests. 2002-08-27 01:56:08 +00:00
Andriy Palamarchuk 5b5bea0362 SHFileOperation: Implemented the FO_RENAME action, fixed FO_DELETE,
implemented unit tests for these two actions.
2002-08-27 01:34:33 +00:00
Dmitry Timoshkov d75aed2c92 Convert most of the file APIs to Unicode. 2002-08-27 01:13:58 +00:00
Jacek Bator ad0b42a099 Added Polish translations. 2002-08-27 00:35:28 +00:00
Bill Medland 155710ce62 SetWindowPos sends WM_WINDOWPOSCHANGED even if it has been told not to
send WM_WINDOWPOSCHANGING.
2002-08-27 00:33:07 +00:00
Dmitry Timoshkov aff3a8b371 Correct the number of parameters for StrRStrIA/W. 2002-08-27 00:31:54 +00:00
Marcus Meissner cf51b65457 Implemented signal handling for PPC. 2002-08-27 00:30:20 +00:00
Patrik Stridvall 57bf45067a MSVC compatibility fixes. 2002-08-26 21:53:24 +00:00
Ove Kaaven 9fd3538b45 Tweaks to improve playback performance and reduce sound glitches:
- wodGetPosition does not send an update message to the player thread;
this reduces the accuracy of the readout from byte-accuracy to near
fragment-accuracy, but we save 2-4 context switches and kernel
scheduling penalties.
- if FeedDSP runs out of data, do not flush output buffers before
notifications are sent and given the chance to provide more sound data.
Do not flush before we're down to the last fragment.
- messages to the player thread are signaled using Unix pipes instead
of Win32 synchronization primitives, to avoid having the player thread
wait for the wineserver (and context switches from/to it) before the
it can feed more data to the sound card.
- ring buffer size is increased from 30 to 192 to support some games
that fires 128 messages at once to determine DMA buffer size.
2002-08-26 21:49:42 +00:00
Andriy Palamarchuk a6affaa014 Implemented processing of PSM_SETCURSELID message. 2002-08-26 21:47:06 +00:00
Dimitrie O. Paun 9ff6e77698 - implement CBES_EX_CASESENSITIVE
- fix severe bug in CB_FINDEXACTSTRING
- small cleanups
2002-08-26 21:46:25 +00:00
Michael Stefaniuc a1412f6814 Moved most of the 16-bit functions in dlls/msvideo to msvideo16.c. 2002-08-26 21:44:48 +00:00
Andriy Palamarchuk d86393f6c8 SetTokenInformation stub implementation, a few other small changes. 2002-08-26 21:39:17 +00:00
Jon Griffiths 41b2609903 Implement UrlHashW. 2002-08-26 21:36:31 +00:00
Alexandre Julliard 911a17748f Don't map/unmap a top-level window when WS_VISIBLE changes, only when
we explicitly do a SetWindowPos(SWP_SHOWWINDOW/HIDEWINDOW).
Update the WM hints when mapping a window in case the style has
changed in the meantime.
2002-08-20 00:36:45 +00:00
Mike McCormack 7018230a3f Added regression test for FormatMessage.
Fixed cr/lf handling.
Prevent an infinite loop when an invalid format (%S) is passed as a
format string to vsnprintf.
Fixed a memory leak in the W version.
2002-08-20 00:32:48 +00:00
Dusan Lacko a9568dd08b Fix extraction of icons from ICO files. 2002-08-20 00:25:03 +00:00
Dmitry Timoshkov b967834362 Added unit test for environment functions and fixed some bugs. 2002-08-20 00:22:29 +00:00
Patrik Stridvall fc34344d14 Fixed some issues found by winapi_check. 2002-08-20 00:20:43 +00:00
Jon Griffiths 18176e3c0c Fix existing string functions, implement a bunch of new ones. 2002-08-19 23:57:27 +00:00
Jon Griffiths c2acc92a82 Create security attributes when running as NT or later. 2002-08-19 23:56:15 +00:00
Jon Griffiths 66467f206b Free comctl32 on unload. 2002-08-19 23:55:46 +00:00
François Gouget 330098fa54 Detect the FreeType version and adapt the sfnt offset accordingly. 2002-08-17 18:34:34 +00:00
Huw D M Davies 3d10c1fc6e Mapping mode functions should change dc settings when dc is an enhmf. 2002-08-17 18:32:12 +00:00
Dmitry Timoshkov 8f05f90fb2 Do not leave uninitialized pointer. 2002-08-17 01:38:48 +00:00
Huw D M Davies 908a2abe10 Implement simple ExtTextOut for enhmfdrv. 2002-08-17 01:36:55 +00:00
Patrik Stridvall 09570edaa5 MSVC compatibility fixes. 2002-08-17 01:22:59 +00:00
Daniel Gudbjartsson 42c74d6454 Combined the implementation of all the scanf's in a single place.
Added implementations of fwscanf, swscanf, wscanf and sscanf.
Corrected the declaration of swscanf.
Added implementation of the l, h, L and w prefixes.
Added implementation of the c, C, s, S and n types.
2002-08-17 01:22:00 +00:00
Marcus Meissner 9fc17ee371 Implemented server context/ptrace handling for Linux/PowerPC. 2002-08-17 01:19:06 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Mike McCormack 368fab1432 Set cbBits in the EMRCREATEDIBPATTERNBRUSHPT structure when writing an
EMF record.
2002-08-17 00:26:57 +00:00
Huw D M Davies 0fc0ef2570 Fix for metafile ExtTextOut that only includes the rectangle if either
ETO_CLIPPED or ETO_OPAQUE is set.
2002-08-17 00:25:44 +00:00
Huw D M Davies 7318acaaca Implemented a few device caps. 2002-08-17 00:25:05 +00:00
Huw D M Davies bd0a567a2d Fix for sign of font height in non MM_TEXT mode.
Fix GGO_NATIVE again.
2002-08-17 00:23:42 +00:00
Patrik Stridvall d97f7cdecb Fixed some issues found by winapi_check. 2002-08-17 00:21:53 +00:00
Andriy Palamarchuk 9f7c51d02e Do not set window position on ABM_WINDOWPOSCHANGED. 2002-08-17 00:21:06 +00:00
Dmitry Timoshkov b6e3f49854 Added Greek keyboard layout.
Updated Brazilian ABNT-2 keyboard layout.
2002-08-16 23:28:38 +00:00
Aric Stewart 53a4b58b36 Fixes to allow IE to do local file loading and some limited browsing. 2002-08-16 23:27:46 +00:00
Mike McCormack 03bbb46442 Don't try reading a PIDL in IPersistStream->Load if its size is 0.
Check the number of bytes read was correct.
Small reorganization of error handling.
2002-08-16 23:27:07 +00:00
Mike McCormack 9e4c409b7c - Do not modify pointers in the OPENFILENAME structure passed to
GetFileDialog95A/W.
- Use Unicode as default for strings from the OPENFILENAME structures.
- Fill out the OPENFILENAME structure before sending the FILEOK
  notification.
- Send a CDN_FOLDERCHANGE notification on OPENFILENAME dialog init.
- Fix miscalculation of the size of Explorer style file dialog boxes
  with templates.
- Remove redundant MapHModuleLS and MapHModuleSL calls that also cause
  hInstance to be trashed when it holds a template pointer instead of a
  real hInstance (when OFN_ENABLETEMPLATEPOINTER is specified).
2002-08-16 23:26:22 +00:00
Aric Stewart bbea20d675 Added BroadcastSystemMessageA. 2002-08-16 20:01:28 +00:00
Huw D M Davies 9a8fc06357 DWORD at offset 0x40 in the header is the number of big blocks in the
small block depot chain.
Better failure handling.
2002-08-16 19:55:14 +00:00
Alexandre Julliard a2302fbecf Don't update the mouse button status in update_key_state, leave that
to the input processing.
2002-08-16 01:43:41 +00:00
Dmitry Timoshkov cc7042f9ec Implement comctl32.417 and shlwapi.299. This avoids crash in IE's
History.
2002-08-16 01:43:11 +00:00
Aric Stewart 08e693965d Support large edit buffers for richedit control. 2002-08-16 01:41:32 +00:00
Dmitry Timoshkov 472a5e52eb Fixed GetClassFile implementation. 2002-08-16 01:39:12 +00:00
Aric Stewart e23c96f649 Added SwitchToThread. 2002-08-16 01:38:20 +00:00
Dmitry Timoshkov d34bd643fe Added some more stubs. 2002-08-16 01:36:53 +00:00
Mike McCormack 5a6a71f39e ImageList_SetImageCount should set nCurImage (the number of
images in the list) to the value specified, and expect that
ImageList_ReplaceImage is called to set the new images.
2002-08-16 01:35:43 +00:00
Alexandre Julliard 1c4b5c40bf Moved a large number of 16-bit functions to a separate gdi16.c file. 2002-08-16 00:42:06 +00:00
Huw D M Davies 933733ce5b Get the initial paper size from the locale info. 2002-08-15 23:20:19 +00:00
Alexandre Julliard 66e3183099 Fixed GetLocaleInfoW to handle Unicode properly and completed
implementation.
Update win.ini and registry on startup when language changed.
More logical priority order for locale environment variables.
Implemented SetLocaleInfoW.
Moved some locale functions to kernel32.dll.
2002-08-15 23:18:47 +00:00
Alexandre Julliard becccaf168 Trap exceptions in RtlImageNtHeader. 2002-08-15 22:09:53 +00:00
Jon Griffiths 1da297178a Implement and test rtl bitmap functions.
Add a couple of other misc rtl functions.
2002-08-15 22:08:40 +00:00
Alexandre Julliard c97d2a7dd5 Updated all locale tables to match exactly what Windows returns.
Renamed a few files to follow the proper naming conventions.
Added a number of new locales.
2002-08-15 22:00:19 +00:00
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