Hidenori Takeshima
e4745cbfe9
Added and fixed some Japanese resources.
2002-03-11 01:16:42 +00:00
Guy L. Albertelli
8a8457e25a
Add support for WM_WINDOWPOSCHANGED to save new origin of window.
2002-03-11 01:16:02 +00:00
Bill Medland
7d983d244a
Pass information through arguments instead of static variables.
...
Add protection to prevent reading outside the buffer.
Better handling of degenerate cases.
2002-03-11 01:15:31 +00:00
Mehmet Yasar
78f41aeaf7
Prevent setup from crashing if a section in the INF is empty (no
...
entries) (this happens when installing IE5).
2002-03-11 01:15:01 +00:00
Turchanov Sergei
ae3d4261d5
Implement ordinal 342.
2002-03-11 01:14:17 +00:00
Guy L. Albertelli
68c7b55e1f
- Add scaffolding for TB_{GET|SET}PADDING.
...
- Replace wrong test for CCS_VERT with correct test for undocumented
TBSTYLE_EX_ style 0x04.
- Add support for undocumented TB_SETBUTTONSIZE where the size is
zero, sets to default value.
- Issue FIXMEs for unsupported extended styles.
- Implement first try at undocumented toolbar message 0x0463.
2002-03-11 01:11:19 +00:00
Andreas Mohr
e5df2830f9
Some small cleanups to dinput mouse code.
2002-03-11 01:09:44 +00:00
Andriy Palamarchuk
b8805b6bf0
Created dummy implementation of InternetSetOption function.
2002-03-11 01:09:25 +00:00
Duane Clark
f730157ce6
Test bUnicode and call appropriate DrawText routine.
2002-03-11 01:08:29 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
14c83358d1
Updated authors list from the Changelog. Please let me know if you
...
have been left out.
2002-02-28 23:00:28 +00:00
Alexandre Julliard
abfcb8bfb9
Added make check target to run unit tests too since this seems to be
...
standard.
2002-02-28 21:43:46 +00:00
Duane Clark
ad079d6cbb
Ask for correct number of chars in EditLblWndProcT.
2002-02-28 21:42:25 +00:00
Michael Cardenas
6ec9cc2bfb
More complete implementation of SHLWAPI_356.
2002-02-28 20:47:30 +00:00
Mike McCormack
c129764af1
Fixed merge error.
2002-02-28 20:46:31 +00:00
Duane Clark
bdd77388b9
LISTVIEW_InsertColumnT can be called with a width of
...
LVSCW_AUTOSIZE_USEHEADER.
Use the correct strings when column autosizing on columns other than
column 0.
LVSCW_AUTOSIZE_USEHEADER uses both item and header strings.
2002-02-28 20:41:39 +00:00
Andreas Mohr
f16b401e28
Various cosmetic changes.
2002-02-27 21:34:54 +00:00
Andriy Palamarchuk
812bc5298b
Added SystemParametersInfo unit test.
2002-02-27 21:32:18 +00:00
Alexandre Julliard
3c4538c8db
Reimplemented DebugBreakProcess.
2002-02-27 01:55:02 +00:00
Andreas Mohr
8bc7f16caa
Spelling/alignment fixes.
2002-02-27 01:34:08 +00:00
Eric Pouech
fbccb38e18
New XP debugging APIs: implemented DebugActiveProcessStop,
...
DebugSetProcessKillOnExit, DebugBreakProcess.
2002-02-27 01:28:30 +00:00
Bill Medland
df0f236038
Centre text correctly for the selected item.
...
Draw complete background for the selected item.
Calculate the size of a large icon more correctly (including multiline
labels).
2002-02-27 01:24:39 +00:00
Guy L. Albertelli
b2f0a6f5e9
- Support CCS_VERT as alternative for TBSTYLE_WRAPABLE.
...
- TB_INSERTBUTTONW was not as functional as the 'A' version. They now
match.
2002-02-27 01:22:58 +00:00
Eric Pouech
1056953e2c
Fixed ShellExecute functions when ddeexec was present in registry.
2002-02-27 01:22:15 +00:00
Marcus Meissner
c36e7b8937
Fixed cut&paste problem in SETRTS.
2002-02-26 00:39:55 +00:00
Bill Medland
bc39eeec40
Correct Word breaking in centred/right justified mode; it was leaving a
...
trailing space which it should only do for left-justified text.
Also tighten up some comments.
2002-02-26 00:39:30 +00:00
Guy L. Albertelli
8fe19fa7bb
Implement EM_FMTLINES message based on relay trace of native.
2002-02-26 00:38:42 +00:00
Eric Pouech
92e838f263
Fixed DdeGetData when called for getting size.
2002-02-26 00:37:57 +00:00
Lionel Ulmer
e88edac600
Fix crash in the X11 HAL when setting a NULL palette to a surface.
2002-02-26 00:36:21 +00:00
Guy L. Albertelli
9ce993206d
Fix another bad test. Caused regression in IE 4.
2002-02-26 00:34:48 +00:00
Charles Duffy
6a45c0b4b4
Stop TOOLBAR_MeasureString from dying on empty strings.
2002-02-26 00:34:19 +00:00
Dave Hawkes
770a5bfa2d
Partially repair hotspot handling.
2002-02-26 00:33:51 +00:00
Peter Hunnisett
73ab649ced
New file msvcrt/excpt.h. Move some stuff out of winnt.h into it.
2002-02-25 20:10:35 +00:00
Gerard Patel
019ae8a22f
LVM_GetItemRect should not take text size in account for LVIR_LABEL in
...
report mode.
2002-02-25 19:00:03 +00:00
Bill Medland
d10c9a47b8
Implement multiline labels in the Large Item view by using DrawText
...
Note that this now highlights weaknesses in the label measuring code
etc. which cannot correctly handle multiline labels.
2002-02-22 21:23:02 +00:00
Stefan Leichter
923861fbd2
Compile fix for GCC 2.7.x.
2002-02-22 21:22:06 +00:00
Peter Hunnisett
3290038929
Add spec stub for RtlGetNtVersionNumbers.
2002-02-22 21:21:38 +00:00
Gavriel State
fc86225450
Change useless warning into a TRACE.
2002-02-22 21:21:09 +00:00
Peter Hunnisett
618a4e916b
atexit doesn't take a _onexit_t parameter.
2002-02-22 21:20:39 +00:00
Peter Hunnisett
d1a79ea2eb
Add _lock,_unlock and header file for them.
...
Convert all msvcrt locks over to use _lock and _unlock.
Explicitly make msvcrt compile with multithreaded option.
Fix flag handling in _sopen. Add W->A call for new _swopen.
2002-02-21 20:22:00 +00:00
Guy L. Albertelli
df30690e04
- Forward ordinals 40, 41, 143, 362 to appropriate routines.
...
- Implement ordinals 155, 350, 351, 352, 418, 436.
- Fake implementation of SHGetInverseCMAP.
- Stub ordinal 209.
- Fix definition of ordinal 7.
- Implement SHGetThreadRef and SHSetThreadRef.
2002-02-21 20:09:17 +00:00
Guy L. Albertelli
a8bba78485
Fix problems in DPA_Merge exposed by previous code cleanup.
2002-02-21 20:08:29 +00:00
Bill Medland
7423dc0463
DrawText ellipsification on all lines, not just single-line.
2002-02-21 20:07:26 +00:00
Alexandre Julliard
caa03388bc
Preliminary version of the C unit tests run-time environment.
...
Added make rules for building and running C unit tests.
2002-02-20 19:03:59 +00:00
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
Stefan Leichter
55cc7d746c
Added two missing exports.
2002-02-19 18:37:26 +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
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
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
Patrik Stridvall
651a8ba880
Added some defines for compatibility with Windows headers.
2002-02-15 19:12:35 +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
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
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