Commit Graph

8449 Commits

Author SHA1 Message Date
Bill Medland 7af9098f6b Change the way that DrawText parses the next line to display, ready to
support multiline ellipsification etc.  Rather than measuring the text
each time we add a character and breaking once it is too long and
WORDBREAK is enabled, we copy a whole text segment and then measure
it; GetTextExtentPointEx is designed to tell us how much fitted.  This
may result in a little rescanning if wordbreak is enabled but will be
well worth while when multiline path ellipsification is brought down
into the NextLine function.  Note also that the wordbreak calculation
is a little more complete (e.g.  including break-within-word for
DT_EDITCONTROL).
2002-02-19 18:25:53 +00:00
Patrick Haller 0e3c9d454b Fix crash in VariantTimeToDosDateTime. 2002-02-19 18:23:09 +00:00
Sander van Leeuwen 3ad8d3f0d0 Must make a copy of global handle returned by GetClipboardData; it is
not valid after we call CloseClipboard. Application is responsible for
freeing the memory (fixes copy/paste in mail body in Forte Agent).
2002-02-19 18:22:28 +00:00
Alexandre Julliard fed8f1cbf2 Modified makedep to handle #include <> correctly (based on a patch by
Patrik Stridvall).
2002-02-15 19:57:27 +00:00
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
Jukka Heinonen 3fead8fa3b Convert some invalid offsets in GetWindowLong16 into valid offsets. 2002-02-15 18:22:23 +00:00
Bill Medland 0f9013f7e0 Measure the text more reasonably. This handles intercharacter spacing
and should handle any kerning etc. that might happen. Also ensure no
wordbreaking on singleline text.
2002-02-15 18:21:59 +00:00
Dave Hawkes 95d8c95f11 Added a keyboard matched to VNC. 2002-02-15 18:21:16 +00:00
Ron Gage 9cd889af9e Added several structures. 2002-02-15 18:20:46 +00:00
Rein Klazes 6748e6992c In SHFileOperation() when requested to copy files, figure out when the
destination is to be treated as a directory and handle those cases.
2002-02-15 18:20:18 +00:00
Alexandre Julliard 4cd31e42b9 Fixed installation issues caused by new configure script. 2002-02-15 15:13:25 +00:00
Alexandre Julliard 70437035e3 version.h is now in include/wine directory. 2002-02-14 19:48:16 +00:00
Alexandre Julliard f5818d2f7a Upgraded configure script to use autoconf 2.50 features, and renamed
to configure.ac.
Changed a few things to better follow the autoconf guidelines.
2002-02-14 19:47:29 +00:00
Alexandre Julliard fb2b1c85b7 Updated to newer version. 2002-02-14 19:43:53 +00:00
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
Gavriel State f98c52b11f Some older versions of GDB need to have the filename data available
for each section, so we need to output it again for the data section.
2002-02-12 18:46:14 +00:00
Dmitry Timoshkov dac9dfc95d Make Home, End and Enter on the keypad work in the debugger. 2002-02-12 18:45:46 +00:00
Jukka Heinonen 8691c8ec4b SetFileAttributes returns now an error if target file is on CDROM. 2002-02-12 18:45:26 +00:00
Jukka Heinonen 34f5563dab Added missing break statement. 2002-02-12 18:45:06 +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
Dmitry Timoshkov f40fb64d6f Allow ToAscii/ToUnicode to work with scanCode = 0. 2002-02-12 18:42:50 +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
Marcus Meissner b8b0d3c2fc Added default function marshaller registry entry. 2002-02-12 18:40:53 +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
Huw D M Davies d44b4280cb Fix PAN_FAMILYSTYLE_INDEX name. 2002-02-08 17:10:18 +00:00
Huw D M Davies c1d38132ac We need fttrigon.h, so don't define HAVE_FREETYPE if we don't have it. 2002-02-08 17:09:50 +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
Gerhard Gruber 024a0ac158 WritePrivateProfileSection should allow to create duplicate keys
because it takes the buffer as it is without any modifications.
2002-02-05 19:44:54 +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
Dave Hawkes 314b9fdd63 Fix for GetNearestColor so it returns the true color rather than the
system palette if the device does not support a palette.
2002-02-05 19:44:07 +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
Dmitry Timoshkov 93a5b8681d Support for generation of .def files from .spec files. 2002-02-04 18:48:18 +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
Eric Pouech 5ef8871c62 - wineconsole now exits if the started program inside it terminates
before the console actually starts up.
- Removed the last Ansi imported APIs since now Propsheet has a decent
  Unicode interface.
- Fixed a couple of menu related bugs (states were wrong).
- Finished input selection code (mark and key for selection moving are
  operational, generating mouse events to programs attached to the
  console).
2002-02-04 18:41:32 +00:00