Commit Graph

8412 Commits

Author SHA1 Message Date
Bill Medland 8513907f2c Drawtext tidying up ready for the next big change:
- Fix brainfade in previous delta
- Move ellipsification results to static memory; they are going to
  have to be referenced inside NextLineW and the arg list is too big
  already.
- Add the missing ellipsification result (len_under) to simplify coding.
- Slight correction to prefix tracking for when there are several
  underlined characters on a single line (DT_EXPANDTABS only).
- Allocate and free the temporary copy required for DT_MODIFYSTRING
  rather than using a fixed size stack array.
- Introduce lastline into the main loop; it simplifies the code and we
  are going to need it.
2002-02-20 18:56:18 +00:00
Lawson Whitney 8777effb78 Protect PathIsUNCServerShare from null lpszPath. 2002-02-20 18:55:06 +00:00
Lawson Whitney 533e7eeaf4 Support for nonstandard baud rate in SetCommState. 2002-02-19 18:41:56 +00:00
Andriy Palamarchuk be49563060 Implemented parsing of file name, passed in command line, loading new
file on startup.
2002-02-19 18:38:22 +00:00
Stefan Leichter 55cc7d746c Added two missing exports. 2002-02-19 18:37:26 +00:00
Phillip Ezolt 76198ce262 Fixed the scrollbar position overflows using MulDiv. 2002-02-19 18:36:55 +00:00
Ondrej Macek 13f1fb23fe Fix of ListView invalidation in LISTVIEW_SetBkColor. 2002-02-19 18:32:12 +00:00
Gerard Patel 000e7606ab HCR_GetDefaultIcon should set icon number to 0 if it's missing from
the reg entry.
2002-02-19 18:31:22 +00:00
Adam D. Moss 49185ac25f Make wineinstall work in the new-autoconf-version world. 2002-02-19 18:30:54 +00:00
Hidenori Takeshima 6a32d2ce46 Fixed some deadlocks. 2002-02-19 18:30:26 +00:00
Hidenori Takeshima b5cb1a347a Fixes for compatibility. 2002-02-19 18:29:54 +00:00
Hidenori Takeshima 824b94c55f Added msrle32.dll (decompressor of MRLE). 2002-02-19 18:29:16 +00:00
Hidenori Takeshima d65f49a041 Fixed bugs in processing DELTA. 2002-02-19 18:26:54 +00:00
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