Commit Graph

4192 Commits

Author SHA1 Message Date
Dimitrie O. Paun 326021bd98 Small cleanups, updated documentation. 2002-09-24 18:26:42 +00:00
Alexandre Julliard 8f1f4c2d5f Fixed #endif. 2002-09-24 03:59:08 +00:00
Alexandre Julliard df8e6eeb0f Removed a bunch of no longer used TSX wrappers. 2002-09-24 03:17:31 +00:00
Patrik Stridvall 3d5b467641 Fixed some issues found by winapi_check. 2002-09-24 03:09:50 +00:00
Michael Stefaniuc 1ad2087e38 Convert HKEY to a void*. 2002-09-24 03:09:12 +00:00
Dimitrie O. Paun 70c6cecef9 Remove some more superfluous ZeroMemory calls, small cleanups. 2002-09-23 20:59:42 +00:00
Dimitrie O. Paun 9dd1279a82 - Remove export of DRAG_QueryUpdate from USER.
- Get rid of associated 16 bit code from x11drv.
- Simplifications, cleanups, etc.
2002-09-23 20:56:37 +00:00
Dimitrie O. Paun e3e404296e - Fix outputting of a text pointer in debug mode (by Rein Klazes).
- Remove a large bunch of superfluous ZeroMemory calls.
- Fix a couple of bugs.
2002-09-23 20:55:22 +00:00
Patrik Stridvall 1a4db3e72a Cleaned up the code so it would be easier to parse with the new C
parser.
2002-09-23 20:45:57 +00:00
Andriy Palamarchuk 2693eb9a23 Implemented NetQueryDisplayInformation, NetUserGetInfo, created
conformance tests, other netapi32 bug fixes and improvements.
2002-09-23 20:36:50 +00:00
Dmitry Timoshkov 472d016859 Correct SIZE_T size according to MS SDK.
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00
Jon Griffiths 91ec8e14c6 Reorganise/minor tidyup of ordinal functions.
Implement StrCmpLogicalW,StrFormatByteSizeA/W,StrFormatByteSize64A,
SHCreateStreamWrapper.
Fix some output .spec parameters from str to ptr.
Fix definition of StrFormatByteSize functions.
2002-09-20 19:41:08 +00:00
Dimitrie O. Paun 9ffa91ef12 Have USER deal with the caret when scrolling a window. 2002-09-20 19:35:54 +00:00
Alexandre Julliard 69d7cb5681 Avoid calling some kernel functions. 2002-09-18 23:13:35 +00:00
Alexandre Julliard 1a80921903 Added support for the take focus protocol. 2002-09-18 23:09:50 +00:00
Dimitrie O. Paun df28ddf309 - Better implementation for GetTopindex/GetOrigin/SetIconSpacing.
- Drawing optimizations, better scrolling.
- A few more bugs squashed without mercy.
- Many cleanups, simplifications, doc updates.
2002-09-18 18:29:28 +00:00
Alexandre Julliard 341b7dceb4 Implemented the ntdll virtual memory functions, and made the kernel
functions use them.
2002-09-17 18:54:42 +00:00
Alexandre Julliard cc3a74d949 Authors: Josef Meixner <Josef.Meixner@t-online.de>, Huw Davies <huw@codeweavers.com>
- Initializing the return-string shouldn't change the pointer.
- Added "FIXME" for case not handled.
- Directory and the filenames have to be separated by "\0".
- Added check to handle possible signed/unsigned overflow.
2002-09-17 18:33:55 +00:00
Martin Wilck 94638aa276 MSVCRT needs a public errno.h file. 2002-09-17 18:32:53 +00:00
Andriy Palamarchuk 26a776e9f8 Make LsaOpenPolicy return success. 2002-09-17 18:31:06 +00:00
Gyorgy 'Nog' Jeney c2c03b022d - Unicodeify control.
- use void instead of VOID.
- Pass infoPtr around instead of HWND.
- Implement most of the control.
2002-09-17 18:30:07 +00:00
Dimitrie O. Paun 1edcfe1fa9 - Optimize the heck out of Report drawing.
- A bit of organization, for sanity's sake.
- Many simplifications, cleanups, etc.
2002-09-17 18:29:17 +00:00
Francois Gouget bba4bb1bc4 Remove references to PCVOID and LPUINT.
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Sander van Leeuwen 6b25723cf7 Listview_ProcessLetterKeys: fixed never ending loop when end index is
zero.
2002-09-17 01:30:13 +00:00
Jerry Jenkins e944bbb954 Modified volume_effect8 for taking unsigned data as signed data, and
wodPlayer_WriteMaxFrags because of wrong data length which lead to
strange noise and volume control working incorrectly.
2002-09-17 01:29:26 +00:00
Jerry Jenkins 062425aee4 Added waveOutSetVolume when opening sound driver. Otherwise, there is
no sound if we use aRts.
2002-09-17 01:29:01 +00:00
Francois Gouget a258ab0fa7 Tests are regular Winelib applications and thus should not be compiled
with __WINE__.
2002-09-17 00:05:55 +00:00
Francois Gouget 71f8fc27e5 IDI_APPLICATIONW does not exist on Windows. Use IDI_APPLICATION
instead and cast to LPWSTR.
Fixed type cast warnings.
2002-09-17 00:05:34 +00:00
Francois Gouget 5e5f7bbb02 Change the #include order so that these tests compile on Windows. 2002-09-17 00:04:35 +00:00
Francois Gouget de0f015df0 Move all STATUS_* and RPC_NT_* to ntstatus.h as per Windows SDK.
Add some missing constants.
Include ntstatus.h in winnt.h.
2002-09-17 00:03:39 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +00:00
Francois Gouget 3a8601948d NetpGetComputerName, SHCopyKeyA and SHRegGetPathA don't exist on all
Windows platforms -> use GetModuleHandle + GetProcAddress.
2002-09-16 22:45:22 +00:00
Martin Wilck 27a91c782e Fix MoveFileEx() flags in MSVCRT rename()/_wrename(). 2002-09-16 22:39:50 +00:00
Dimitrie O. Paun 31aefe4036 - Reorganization and cleanup of selection code.
- Complete rewrite of focus handling and drawing code.
- Many bugs fixed (including a serious memory corruption).
- Many performance fixes.
- Lots of cleanups, simplifications, etc.
- Documentation updates.
2002-09-16 22:37:40 +00:00
Alexandre Julliard ac7b9d3797 Implemented NtDuplicateObject. 2002-09-16 19:32:50 +00:00
Duane Clark ffd54a9be0 Wait for app to come up before attempting DDE connection.
PathIsURL should fail on text without a proper "scheme".
2002-09-16 19:27:51 +00:00
Dimitrie O. Paun 43baa0acd8 - Grand rewrite for {Get,Set,Insert}Item & Co.
- Many bugs fixed.
- Callback items are better supported.
- Improvements in rendering speed.
- Change VOID to void.
- Many code cleanups, and simplifications.
- Documentation updates.
2002-09-16 19:25:41 +00:00
Alexandre Julliard f2ef2c2bb2 Handle special registry root keys directly in advapi32, and avoid
using them in kernel and ntdll.
2002-09-13 21:42:28 +00:00
Alexandre Julliard fb40a72f8f Copied the registry functions needed by VMM into device.c and got rid
of memory/registry.c.
2002-09-13 18:52:57 +00:00
Alexandre Julliard dafbc3f73f Removed remaining references to advapi32 registry functions from
kernel functions.
2002-09-13 18:52:01 +00:00
Alexandre Julliard c227edc5c3 RtlFormatCurrentUserKeyPath: return path containing the user name
instead of .Default.
2002-09-13 17:45:07 +00:00
Guy L. Albertelli b9df08216a - Improve LVM_GETITEMRECT values for LVS_ICON style. Now mostly
correct (or at least matches native).
- Handle focused and selected large icon text better.
- Handle internal erase.
- Additional debugging code.
2002-09-13 17:41:32 +00:00
Alexandre Julliard 16a303b376 Replaced 'heap' .spec statement by a command line option.
Updated winebuild manpage.
2002-09-12 22:51:20 +00:00
Alexandre Julliard 3507999f3d Delete registry key at exit. 2002-09-12 22:29:58 +00:00
Alexandre Julliard ab910c5085 Fixed AssocCreate declaration. 2002-09-12 22:29:36 +00:00
Alexandre Julliard 1668870f38 Fixed warnings caused by new winternl.h. 2002-09-12 22:28:01 +00:00
Dimitrie O. Paun e54fdf2142 - Implement custom draw support.
- Fix thumb drawing.
- Some cleanups, reorganizations, etc.
2002-09-12 22:26:26 +00:00
Dimitrie O. Paun 1da4ea287d Fix a bunch of bugs related to scrolling. 2002-09-12 22:26:08 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Alexandre Julliard a9298731fa Fixed requested access rights in RegDeleteKey[AW]. 2002-09-12 20:47:14 +00:00
Alexandre Julliard 5587d39e9c Fixed possible infinite loop in delete_key. 2002-09-12 20:46:06 +00:00
Patrik Stridvall 7e252cb5ef Fixed C++ comments. 2002-09-12 20:45:22 +00:00
Dimitrie O. Paun ee3fdd8038 - Complete rewrite of scrolling code: smaller, faster, cleaner.
We now properly scroll the window, rather than invalidating it on
  every scroll action.
- A bug or two got squashed.
- Many code cleanups, simplifications, etc.
- Some documentation updates.
2002-09-12 18:10:41 +00:00
Jon Griffiths 353ce51be7 Make hex digits static const & share them. 2002-09-12 18:03:11 +00:00
Jon Griffiths f5b34b5b69 Implementation and test for SHCopyKeyA/W. 2002-09-12 18:02:14 +00:00
Martin Wilck 2b54cf91fc Fix the behavior of GetOverlappedResult() and WSAGetOverlappedResult()
with non-manual-reset (auto-reset) events in the OVERLAPPED structures.
2002-09-12 17:56:30 +00:00
Alexandre Julliard dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Dimitrie O. Paun c01202b00e Move the name directive from the .spec file to the Makefile. 2002-09-12 17:24:14 +00:00
Marcus Meissner 228a2b3ae5 New CUPS libraries return "none" as default printer instead of NULL. 2002-09-12 00:52:59 +00:00
Dimitrie O. Paun f476a0fbdc Make all spec files grep-able. 2002-09-12 00:52:39 +00:00
Dimitrie O. Paun 0c6dd5b9e0 Greatly improved drawing code: eliminates all flicker, faster, cleaner
tics drawing, better tooltip positioning, code cleanups and
simplifications.
2002-09-12 00:51:29 +00:00
Dimitrie O. Paun 318817f723 - Rewrite the drawing code. It now is much smaller, easier to follow,
and faster. Moreover, it now supports the dwRop operation, and it is
  in good shape to support the missing features.
- Draw the dragged image semi-transparently (will work when we support
  alpha blending).
2002-09-12 00:51:09 +00:00
Andriy Palamarchuk b812c90c2a Implemented buffer management functions, a couple of workstation
information functions, created conformance tests.
2002-09-11 02:35:17 +00:00
Andriy Palamarchuk 025b52d950 A few more conformance tests for heap memory allocation. 2002-09-11 00:48:47 +00:00
Dimitrie O. Paun c1e3cb8d5b - Implement autopaging.
- Remove incorrect FIXMEs.
- Small cleanups.
2002-09-11 00:47:32 +00:00
Dimitrie O. Paun 70b2f44a47 Code cleanups and simplifications, documentation updates. 2002-09-11 00:47:09 +00:00
Jon Griffiths 1858d5309b Implement @163,164,168,175,182,187,286,SHSkipJunction.
Stub @201,202,203, Document many functions.
@165: Fix mask and flags parameter order.
@172: Works on IInternetSecurityMgrSite and IShellView too.
@199,@268: No return value, call @169.
2002-09-10 00:32:27 +00:00
Patrik Stridvall 1b32e5eca9 Add and use the header files mssip.h and sipbase.h. 2002-09-09 19:35:42 +00:00
Alexandre Julliard f4bf7185a7 Moved 16-bit registry functions to kernel dll and implemented them by
calling up to advapi32.
2002-09-09 19:34:48 +00:00
Patrik Stridvall a62a26ced0 Fixed some issues found by winapi_check. 2002-09-09 19:26:55 +00:00
Andriy Palamarchuk 442f5f56d1 RtlNtStatusToDosError: Added new NT status to error codes mapping,
added missed definitions of the used constants, created unit test for
subset of the mappings.
2002-09-09 19:25:29 +00:00
Dimitrie O. Paun db6c9b0d8e - Pass infoPtr around, instead of hwnd.
- Implement hot cursor.
- Update list of unimplemented messages.
- Simplify the code for editing labels.
- Start working towards more type-safe functions.
- Small code cleanups.
- Some docu updates.
2002-09-09 19:22:19 +00:00
Dimitrie O. Paun 856a91b734 - Fix bug in mouse position reading.
- Remove useless code.
- Small code cleanups.
2002-09-09 19:21:30 +00:00
Dimitrie O. Paun d71749798b - Fix the tics drawing code.
- Fix the selection area calculation & drawing.
- Implement TBS_DOWNISLEFT.
- Make use of fLocation (TBTS_{TOP,LEFT,BUTTOM,RIGHT}).
- Lots of code cleanups and simplifications.
2002-09-09 19:20:35 +00:00
Dimitrie O. Paun 71f99baf22 Add support for the TTM_GETBUBBLESIZE message. 2002-09-09 19:20:05 +00:00
Marcus Meissner 75e4e943e6 If the default CUPS printer has no ppd file, just use the first
printer that has one as Windows default printer.
Support PRINTER_ENUM_CONNECTIONS in the default way.
2002-09-09 19:19:18 +00:00
Uwe Bonnes 921eef3bde Make the scanf family recognize characters again. 2002-09-09 19:18:53 +00:00
Michael Stefaniuc e149b37f3a Finish the conversion of HWND to a void*. 2002-09-06 20:40:42 +00:00
Francois Gouget cbe88fc3a1 Some small typo / phrasing fixes. 2002-09-06 19:46:27 +00:00
Alexandre Julliard c3c587eb1d Added preliminary support for cross-compiling tests using mingw on
Linux if available.
2002-09-06 19:46:00 +00:00
Michael Stefaniuc 025c0b716b Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Andriy Palamarchuk d7922143dd LsaNtStatusToDosError implementation. 2002-09-06 19:36:37 +00:00
Martin Wilck 9dccb29447 WS2_register_async_shutdown(): Try immediate completion, in case an
app never waits for anything.
WS_accept(): Avoid crash if addr parameter is NULL.
2002-09-06 19:35:45 +00:00
Jon Griffiths 40681ff2e8 Implemented registry MIME type functions @324-329. 2002-09-06 19:35:08 +00:00
Alexandre Julliard cea2e825b2 Link all remaining dlls except kernel32 as separated dlls, by
temporarily exporting the few functions that are not properly
separated yet.
2002-09-06 18:51:31 +00:00
Francois Gouget b41ec51ff3 Do not include wine/unicode.h. 2002-09-06 18:36:42 +00:00
Jon Griffiths 67eaffd873 Add @138,@157,@180,@197,@204.
@151-157: Parameters are const.
@36 inserts MF_BITMAP's.
2002-09-06 18:35:39 +00:00
Martin Wilck c01cb754c3 Fixed typo in check_buffer_se(). 2002-09-06 18:35:04 +00:00
Rolf Kalbermatter 73ffe2ae8a Implemented SHCreateStdEnumFmtEtc. 2002-09-06 18:34:37 +00:00
Dimitrie O. Paun c514a78167 - Eliminate flicker.
- Much improved thumb dragging.
- Fix tooltip behaviour.
- Fix tick handling.
- Streamlined drawing code.
- Decent paging width.
- Handle OOM gracefully.
- Add proper notifications.
- Fix range setting.
- Start support for custom draw.
- Fix a bunch of bugs.
- Code cleanups.
- Update documentation.
- Spacing fixes.
2002-09-06 18:33:57 +00:00
Dimitrie O. Paun 1c628e06b9 Add generic notification support for the common controls. 2002-09-06 18:33:18 +00:00
Dimitrie O. Paun d969605b87 - Complete support for rgb{Fg,Bk} in DrawIndirect.
- Rename VOID to void.
- Documentation cleanup.
- Fix ILD_TRANSPARENT handling.
2002-09-06 18:32:46 +00:00
Alexandre Julliard 3dc3f403df PeekNamedPipe: Check if the pipe was closed when there are 0 available
bytes (based on a patch by Uwe Bonnes).
2002-09-04 23:34:03 +00:00
Jon Griffiths 4d88b6ec56 Added Assoc* funcs (but not underlying IQueryAssociations object). 2002-09-04 23:32:19 +00:00
Dimitrie O. Paun 4d1e49dc67 - Fix ImageList_GetIcon to use ImageList_* functions for
completeness.
- Tiny code cleanups.
- Documentation updates.
2002-09-04 23:31:48 +00:00
Dimitrie O. Paun e4ddd2ac7d - Unicodification (use Unicode functions & types consistently).
- Pass infoPtr around instead of hwnd.
- Proper type-safe signatures for functions processing messages.
- Fix the types for some of the control's parameters.
- Implement [GS]ET_UNICODEFORMAT.
- Few indentation and spacing fixes.
- Tidy up docu.
2002-09-04 23:31:21 +00:00
Michael Stefaniuc 2247af320d - Rename WIN_Handle16 to HWDN_16 and make it a macro.
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Alexandre Julliard 65ea73fedf Added DPMI segments structure and related function to avoid direct
references to dosmem internal variables.
Determine BIOS system offsets at compile time.
2002-09-04 18:52:22 +00:00
Andriy Palamarchuk 686e46b43f SHFileOperationA: improved, implemented FO_MOVE action, added more
conformance tests.
2002-09-04 18:46:29 +00:00
Dimitrie O. Paun cb1f1454ff Small updown cleanup. 2002-09-04 18:45:42 +00:00
Dimitrie O. Paun 7ad3d12a52 - implement support for xBitmap and yBitmap in ImageList_DrawIndirect
- small code, docs, and messages cleanups
2002-09-04 18:44:46 +00:00
David D. Hagood d6b6509301 Fixed Linux 2.2 event API code. 2002-09-04 18:43:05 +00:00
Eric Pouech d7d983641e Now passing some console parameters at wineconsole creation instead of
successive server requests.
Better prototypes for console functions in kernel.
Some minor console creation fixes.
2002-09-04 18:41:03 +00:00
Patrik Stridvall 51e6c0ccb1 MSVC compatibility fixes. 2002-08-31 19:04:14 +00:00
Alexandre Julliard 3fa613cf61 Moved internal context macros out of winnt.h.
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Steven Edwards 6123951a29 Update some .cvsignore files for building on Windows. 2002-08-30 00:04:03 +00:00
Alexandre Julliard 0d875e773e Fixed some dll separation issues. 2002-08-30 00:03:25 +00:00
Dimitrie O. Paun ca13564733 Implement CBES_EX_NOSIZELIMIT style. 2002-08-30 00:02:20 +00:00
Marcus Meissner c87c2c4f1a Use Iar (Instruction Address Register) instead of Fill[0].
siginfo.si_code uses the lower 16bit for the type of the exception.
2002-08-30 00:00:57 +00:00
Guy L. Albertelli 027034e221 - Reduce the number of messages being passed to itself by using the
internal routines.
- Fix problem in _SetIconSpacing found by recent change.
- Add initial support for correct icon sizing.
- A few extra traces.
2002-08-29 23:58:42 +00:00
Michael Stefaniuc 1033ffe423 Convert HPALETTE to a void*. 2002-08-29 01:55:55 +00:00
Alexandre Julliard a0b32d7c1b Added internal 32-bit versions of GDISelectPalette and
GDIRealizePalette.
2002-08-29 01:55:16 +00:00
Marco Pietrobono 0e79a4128c Use alsa/asoundlib.h instead of sys/asoundlib.h if possible. 2002-08-29 01:51:31 +00:00
Rein Klazes 3ad35f8a66 In WSAStartup() don't touch the lpVendorInfo field of the WSADATA
structure.
2002-08-29 01:48:55 +00:00
Mike McCormack 5ece353acd Rely on the window manager to show and hide popup windows for us. 2002-08-29 01:48:18 +00:00
Patrik Stridvall 1ee88a2bfb Removed trailing white space. 2002-08-28 23:43:43 +00:00
Patrik Stridvall 9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Per Nystrom e765bc1a41 Implemented GetCursorInfo. 2002-08-28 23:38:10 +00:00
Alexandre Julliard aface53759 Fixed a number of dll separation issues. 2002-08-28 22:35:23 +00:00
Alexandre Julliard c895879e2a Removed system specific GetTempPathA test. 2002-08-28 22:25:56 +00:00
Dimitrie O. Paun 69c9c432e4 - implement CBEN_DRAGBEGIN
- remove useless FIXMEs
2002-08-28 22:21:46 +00:00
Huw D M Davies e161c12e5b BitBlt and StretchBlt generate META_DIBSTRETCHBLT records. 2002-08-28 00:55:52 +00:00
Michael Stefaniuc 4a75c5c6ea Convert HACCEL to a void*. 2002-08-28 00:39:39 +00:00
Patrik Stridvall d8f50798b6 Implement wrapper calls for the 16 bit GlobalAtom* functions. 2002-08-28 00:38:42 +00:00
Alexander Gottwald 9c071eaefd Avoid crash if no default cups printer is set. 2002-08-27 22:33:09 +00:00
Mike McCormack d1b24defdc Change the icon spacing when setting the image list. 2002-08-27 19:41:56 +00:00
Aric Stewart 86198965ad Windows expects the edit window to hang around and be valid. 2002-08-27 19:36:33 +00:00
Ulrich Czekalla 651c5988aa - Add a max wait time for selection notifies.
- Add new function to the x11drv to get clipboard format names of
  externally registered formats.
- When a clipboard format is registered we should pass the global atom
  value as the format identifier.
- Clipboard format name should be treated as case insensitive.
- Serialize metafile bits when requested via a clipboard selection.
- Return format ids for native formats when mapping from properties.
2002-08-27 19:19:49 +00:00
Alexandre Julliard dba83c8bfc Added wine_get_user_name function and got rid of some of the getpwuid
portability stuff.
More portable printf formats for 64-bit types.
2002-08-27 18:30:53 +00:00
Patrik Stridvall ef0e2af708 MSVC long long fixes. 2002-08-27 18:17:49 +00:00
Dimitrie O. Paun f14b527f40 Implement CBES_EX_PATHWORDBREAKPROC for the ComboEx control. 2002-08-27 18:16:48 +00:00
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