Commit Graph

3133 Commits

Author SHA1 Message Date
Martin Dalecki be951f359a Some artwork on the default icons. 2002-02-14 19:23:01 +00:00
Bill Medland 92d77c9bb2 DrawText should not split words just because of clipping. 2002-02-14 19:21:59 +00:00
Rein Klazes 0753967327 In ShellExecute16, make sure there is a space between command and
parameters.
2002-02-14 19:20:30 +00:00
Lawson Whitney f6a3a52180 Protect against NULL wsaddrlen in ws_sockaddr_alloc. 2002-02-14 19:20:12 +00:00
Guy L. Albertelli 6f22d775e3 Partially implement SHRegWriteUSValue{A|W}. 2002-02-12 18:44:14 +00:00
Guy L. Albertelli d3a52c2890 When the commandID was being treated as the index, no check for index
greater than number of buttons was done. Now fixed.
2002-02-12 18:43:56 +00:00
Guy L. Albertelli d2ace6addd Fix regression in some programs due to CLR_DEFAULT fix. Noticed in
control-spy rebar.exe.
2002-02-12 18:43:24 +00:00
Guy L. Albertelli 8961f1624e Correct tests involved with processing the LVIF_DI_SETITEM flag. 2002-02-12 18:42:25 +00:00
Guy L. Albertelli 683c00ae3f Initialize pszText to 0 for internal ->ceItem to eliminate moves to
garbage locations.
2002-02-12 18:41:48 +00:00
Bill Medland cabe8ca580 Put in place a proper tab model within DrawText (also includes
simplifying TEXT_NextLineW to remove duplicate code).
2002-02-12 18:40:36 +00:00
C. Scott Ananian 48a87e6107 Filled out the implementation of fscanf and _cscanf. 2002-02-08 17:17:11 +00:00
Eric Pouech 91f3fc7d59 Fixed bug in cache init. 2002-02-08 17:11:22 +00:00
Aric Stewart 1282ef9420 Use the supplied buffer when copying item text. 2002-02-08 17:10:49 +00:00
Lawson Whitney d23cf08262 Fix off-by-one error in placing trailing \0. 2002-02-08 17:09:11 +00:00
Ori Pessach 023b1aae0a Set WS_EX_TOOLWINDOW in a tooltip's dwExStyle. 2002-02-08 17:03:57 +00:00
Aric Stewart 20a4cc3116 Don't return overflow if no class buffer was specified. 2002-02-05 19:45:55 +00:00
Rein Klazes 861d7c83c0 In X11DRV_ScrollDC only move pixels that are within the clip
rectangle, before and after they are scrolled.
2002-02-05 19:44:31 +00:00
Alexandre Julliard 7904acf1bd Authors: Guy L. Albertelli <galberte@neo.lrun.com>, Aric Stewart <aric@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
Misc fixes:
- cache text metrics for the font we're using
- improved item hit detection
- more debugging output
- implement LVM_SETICONSPACING
- lots of bugs squashed
2002-02-05 18:13:57 +00:00
Marcus Meissner 0749fc2034 Implemented Local Server COM.
Implemented the Typelib based Marshaler.
2002-02-05 18:11:17 +00:00
Patrik Stridvall 395e8bafc4 MSVC compile fixes. 2002-02-05 18:09:29 +00:00
Dmitry Timoshkov 94d5cd4203 Remove PROGRESS_Refresh, always do InvalidateRect() to repaint.
Add WM_ERASEBKGND handler as in Windows.
Be slightly smarter whether invalidate background or not.
Always treat wParam as INT to not lose signed values.
2002-02-05 18:08:38 +00:00
Dimitrie O. Paun 07869ec403 Various cleanups:
- get rid of the static data member
- pass the infoPtr around instead of the hwnd
- fix indentatin/style a bit to make it consistent with the rest of
  the file.
2002-02-05 18:08:01 +00:00
Bill Medland afe92e8e8a Split the path and word/end ellipsification out of the main function
and do them thoroughly. The existing method would be incorrect where
tabs were involved and in some kerning situations.
2002-02-05 18:07:04 +00:00
Dimitrie O. Paun d15ed230a8 Complete Listview Unicodification.
Simplify the setting of (sub)item text by using common code.
2002-02-04 18:44:16 +00:00
Aric Stewart 9d366f1f40 Added implementation of SetItemW. 2002-02-04 18:37:32 +00:00
François Gouget d9c1fc339a Storing an IP address in a signed int results in bugs if it starts
with >=128.
2002-02-04 18:36:42 +00:00
Malte Starostik 4062cd924f Do not destroy ITypeLib held by ITypeInfo before the latter is freed. 2002-02-04 18:32:20 +00:00
Marcus Meissner a79dcc46eb VT_EMPTY can be coerced to VT_I4, value 0. 2002-02-04 18:31:53 +00:00
Dmitry Timoshkov ec7c2a80b2 Moved style correcting code to the WM_CREATE handler and added
clearing of WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE as in Windows.
Added SetWindowPos(SWP_FRAMECHANGED) to make changes take effect.
2002-02-04 18:31:17 +00:00
Guy L. Albertelli 75c2df8ede Fix problem exposed by the improvements in version 8b. Demonstrated by
OE 4.
2002-02-04 18:30:13 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Francois Gouget 62f083ce48 malloc.h is obsolete and stdlib.h should be used instead. 2002-02-02 18:16:25 +00:00
Bill Medland fdb799aa6a Ensure that the whole modified text is returned from DrawTextExA. 2002-02-02 18:14:35 +00:00
Alexandre Julliard 64781643dd Do not use the PEB lock as loader lock, use a separate critical
section for that (and for the graphics drivers).
2002-02-02 18:13:50 +00:00
Andreas Mohr 2295e87be8 Fixed some more missing parenthesis issues. 2002-02-02 18:06:03 +00:00
Huw D M Davies 83ff80b295 Flip A<->W conversion in dispinfo_notifyT. 2002-02-02 17:57:00 +00:00
Aric Stewart 5a64f285f2 Fix to GetItemW to stop whiping out the items text. 2002-02-01 19:54:10 +00:00
Guy Albertelli b10454965e Don't try to set fields in nonexistant lpLineCountryList.
Supply valid tapi codes.
2002-02-01 19:01:31 +00:00
Gerard Patel d6c7b62f59 Added missing parenthesis in ShGetFileInfoA. 2002-01-31 21:48:38 +00:00
Nog 867a874375 Fixed function 0xb. 2002-01-31 21:47:57 +00:00
Patrik Stridvall 5038c04efd Fixed some issues found by winapi_check. 2002-01-31 21:47:34 +00:00
Alexandre Julliard c72a9aa83e CodeWeavers
Minor fixes.
2002-01-31 21:05:05 +00:00
Alexandre Julliard 925d602766 CodeWeavers
Small fixes.
2002-01-31 21:01:35 +00:00
Guy Albertelli bb2eab5f79 - better trace output
- support string sent in by address, rather then index
- add FIXMEs for multiple image lists
- protect agains inexistent buttons
- call up to the DefWindowProc when erasing bkgnd when appropriate
2002-01-31 20:49:10 +00:00
Nog 30f307c4d0 Implement function 0xb (Read mouse motion counters) and 0xf (Set
mickey/pixel ratio).
2002-01-31 20:45:02 +00:00
Bill Medland 001e732c41 - Introduce a significant design decision.
- Recalculate the prefix location if ellipsification alters it.  This
  carefully does NOT emulate a Microsoft bug in which reprefixing is
  wrong when the first character removed by ellipsification is the one
  that would have been underlined (under Win98 at least).
2002-01-31 20:44:39 +00:00
Alexandre Julliard 362cb2c05b Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Eric Kohl <ekohl@codeweavers.com>
Implemented CheckTokenMembership and GetAce.
2002-01-31 20:44:02 +00:00
Gerard Patel 776cb279f2 Don't repaint header when scrolling a listview vertically. 2002-01-31 20:38:25 +00:00
Guy Albertelli 1cc881772c - fix order of parameters is SendNotify
- always use the dlg cntrl ID of the sender
2002-01-31 20:37:49 +00:00
Dmitry Timoshkov 1e55094e8a Added LdrDisableThreadCalloutsForDll. 2002-01-29 18:30:16 +00:00
Alexandre Julliard e1ff66a814 Authors: Aric Stewart <aric@codeweavers.com>, Huw D M Davies <hdavies@codeweavers.com>
Added stubs for CheckEscapes[AW] and ExtractAssociatedIconExW.
2002-01-29 18:21:20 +00:00
Eric Kohl e4d4f2d59f Added location of local application data. 2002-01-29 18:19:59 +00:00
Dmitry Timoshkov 263341484c Fixed RtlAddAccessAllowedAce return value. 2002-01-29 18:17:46 +00:00
Mike McCormack de5316b801 Added stubs for NdrDllCanUnloadNow and NdrDllGetClassObject. 2002-01-29 18:16:39 +00:00
Dmitry Timoshkov 000b180a11 Added GetComputerNameEx[AW] semi-stub. 2002-01-29 18:15:11 +00:00
Eric Kohl 5320a42a9c Added FindFirstUrlCacheEntry[AW] stubs. 2002-01-29 18:12:28 +00:00
Aric Stewart 71a081ca58 Added some MAPI stubs. 2002-01-29 18:10:53 +00:00
Aric Stewart c2a5ebc9e3 Added a pass-through msvcrt20. 2002-01-29 18:09:46 +00:00
Eric Kohl eba84bb564 Added Extract stub. 2002-01-29 18:03:36 +00:00
Eric Kohl 231f2594d2 Added ImmDisableIME stub. 2002-01-29 18:02:13 +00:00
Dmitry Timoshkov 08af06c183 Implemented _wmakepath. 2002-01-29 18:00:44 +00:00
Jukka Heinonen fd33517a41 Added support for DOS EMS memory. 2002-01-29 17:55:21 +00:00
Gerard Patel 815997ffe0 Fix problems with listview notification. 2002-01-29 17:51:00 +00:00
Dimitrie O. Paun 187a6795c4 - add new SetRange functions (instead of duplicating the code)
- pass the infoPtr around instead of the hwnd
- use W-functions instead of A-functions
- more checks in case of failures
- make indentation and style consistent throughout the file
2002-01-29 17:15:48 +00:00
Alexandre Julliard d328085efa Authors: Guy Albertelli <guy@codeweavers.com>, Mike McCormack <mike_mccormack@start.com.au>
Property sheet Unicodification.
Support additional wizard flags.
2002-01-29 17:14:53 +00:00
Charles Loep 02cbb360e8 Implemented ImageList_Write. 2002-01-29 17:12:20 +00:00
Guy Albertelli 9ef01a23c5 Eliminate some useless error messages. 2002-01-29 17:11:30 +00:00
Rein Klazes e2a55be486 Correct optlen when WS_setsockopt is called with SO_LINGER. 2002-01-29 17:06:11 +00:00
Huw D M Davies eb16e1b055 Weird thing with lcid of library is that if sublang is neutral then we
return the primary lang else we return 0.
2002-01-29 17:05:11 +00:00
Charles Loep 2b74e91df5 Fixed file extension problem in the file dialog. 2002-01-29 16:58:39 +00:00
Huw D M Davies 8ebf7c292f Removed IsBadStringPtrA call that caused trouble. 2002-01-29 16:56:48 +00:00
Charles Loep 2d783f70f5 Fix errors resulting from missing parenthesis. 2002-01-29 16:54:50 +00:00
Guy Albertelli 390c6dfb93 Text/Bkgnd color fixes. 2002-01-29 16:52:24 +00:00
Dimitrie O. Paun 6d694d8ed6 Simplify and fix listview ellipsification of large text labels. 2002-01-29 16:50:40 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Gerard Patel 3dbbb0b297 Avoid converting nonexistent text from A->W. 2002-01-29 03:08:24 +00:00
Huw D M Davies 6f7fc50424 Uses Xrender extension to allow client side font rendering.
Adds nice things like anti-aliased text.
2002-01-29 03:07:21 +00:00
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Alexandre Julliard 18d7573c5e Authors: Huw D M Davies <hdavies@codeweavers.com>, Charles Loep <charles@codeweavers.com>
Various fixes for gdi font handling code including:
- Using TTs VDMX table to ensure that we get exactly that same size
  font that Windows uses.
- Fixes to many members of the metrics structures.
- Font cache.
- Rotated text support.
- Support for GGO_GRAY?_BITMAP (ready for anti-aliased text).
- Support for GGO_NATIVE.
2002-01-29 03:02:50 +00:00
Andreas Mohr bfbe3b5c62 Fixed ==/!= mismatch. 2002-01-29 02:56:50 +00:00
Francois Gouget f885024344 Rename s_addr to src_addr to avoid a conflict on Solaris.
Rename d_addr to dst_addr for symmetry.
2002-01-29 02:55:24 +00:00
Nog 42a314dea6 Implement function number 0x5 (Return mouse button press information). 2002-01-29 02:51:47 +00:00
Guy L. Albertelli 5d93b6ede9 Fix PathCreateFromUrl{A|W} to return the corrrect error code in all
cases.
2002-01-29 02:47:46 +00:00
Guy L. Albertelli ce4f093def Fix SHRegOpenUSKey{A|W} and SHRegQueryUSValue{A|W} to actually use
previously open keys.
2002-01-29 02:47:17 +00:00
Jukka Heinonen a900cb8797 Low-resolution and low-color VGA modes are now mapped into mode
640x480x8. Added preliminary support for four bit modes.
2002-01-29 02:46:43 +00:00
Bill Medland a4605ac000 Put the prefix-underline-drawing away into it's own function so we can
see what is happening.
2002-01-29 02:46:09 +00:00
Bill Medland a51ff76b86 A couple of additions. 2002-01-29 02:44:44 +00:00
Marcus Meissner de46c22917 The \\<nr> magic in LoadTypeLibEx found directories, which was not
intended. Return error in that case.
2002-01-22 18:28:51 +00:00
Alexandre Julliard bd1689ec0a Don't include debugtools.h in the header file, moved it to the C files
that need it (and used the new wine/debug.h while we are at it).
2002-01-22 00:57:16 +00:00
Alexandre Julliard 18f4d651c5 Removed use of SET_DEBUGGING, it's broken anyway. 2002-01-22 00:54:20 +00:00
Uwe Bonnes e0ab2b7f2a Consistent usage of istring, use STR_[Get|Set]Ptr where appropriate. 2002-01-22 00:51:16 +00:00
Mark G. Adams a0324f7172 Add GetDefaultPrinter() functions. 2002-01-22 00:49:24 +00:00
Francois Gouget 7aa67c1d6a Make the Wine trace facilities accessible from Winelib applications. 2002-01-21 23:39:36 +00:00
Francois Gouget 5f30ee0651 Comment out/ifdef out unused code and variables. 2002-01-21 23:37:53 +00:00
Ove Kaaven 77e7fd7a24 Added support for MWM hints. 2002-01-21 18:41:27 +00:00
Francois Gouget 54697dd302 Print the strerror instead of just the errno. 2002-01-21 18:00:42 +00:00
Francois Gouget 0881f2048d Add missing cast. 2002-01-21 18:00:24 +00:00
Francois Gouget 8aceb00c52 Fix invalid C code (undefined behavior). 2002-01-21 18:00:05 +00:00
Francois Gouget e6ebf42c2b Fix a couple of warnings and a typo. 2002-01-21 17:59:38 +00:00
Eric Pouech 01ff68943d Fixed initialisation messages for raw DDE.
Fixed DdeCreateDataHandle for non NULL or CF_TEXT formats.
Various fixes (cosmetics, better error checking).
2002-01-18 19:30:15 +00:00