Commit Graph

3982 Commits

Author SHA1 Message Date
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