Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Francois Gouget
4c314000b9
Make the tests compile with Visual C++.
2002-05-23 02:40:07 +00:00
Alexandre Julliard
cc2ee7636d
Renamed Winelib apps to .exe.so to follow the dll naming convention.
2002-05-21 19:42:29 +00:00
Eric Pouech
9259cfa855
Added 16/32 DDE message conversion.
...
Finished the 16 bit implementation of DDEML.
2002-05-21 18:03:15 +00:00
Alexandre Julliard
4344c368cb
Got rid of GetSysColorPen.
2002-05-20 18:15:28 +00:00
Andreas Mohr
11b35c0b4c
Better error messages.
2002-05-20 18:11:08 +00:00
Andreas Mohr
012478c9d3
Spelling stuff.
2002-05-20 18:01:44 +00:00
Francois Gouget
ea668d1be1
Make the 'error' string of a couple of checks consistent with the
...
others.
2002-05-19 22:22:06 +00:00
Alexandre Julliard
2ab7625934
Removed most imports of ntdll since we no longer import Wine internal
...
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard
6044307c3a
A few fixes for mingw cross-compilation.
2002-05-17 03:31:08 +00:00
Alexandre Julliard
0aa28b5b8d
Export the debugging API from libwine instead of ntdll.
...
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard
ad53383f9b
Added winebuild support for generating a .dbg.c file containing the
...
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard
9bb05fc48e
Specify the complete source file list for a dll inside the main
...
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Alexandre Julliard
67371bcc8d
Added -res option to specify resources on winebuild command-line.
...
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
32459912dc
Moved imports specification from the .spec into the Makefile so that
...
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
David Hammerton
ca30e48f71
Added implementation of GetWindowInfo.
2002-05-06 20:11:18 +00:00
Robert O'Callahan
71a8a74b43
Fixed bug in TEXT_WordBreak that was variously throwing Lotus Notes
...
into an infinite loop or causing it to crash.
2002-04-27 00:14:16 +00:00
Alexandre Julliard
5769d1de00
Better support for configure detection of missing types, added check
...
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Bill Medland
61245b2867
First regression test for wsprintf.
2002-04-24 21:16:51 +00:00
Mike McCormack
0f7b48b890
Added a simple test set for window classes.
2002-04-21 22:05:42 +00:00
Bill Medland
28cbea801c
Correct handling of zero-padded negative numbers; transfer the sign
...
BEFORE adding the zeroes.
2002-04-20 20:53:59 +00:00
Stefan Leichter
32b6ef349d
Check for NULL pointer in DrawTextExA.
2002-04-05 21:17:00 +00:00
François Gouget
ffb6d763f4
Include wine/test.h before windows headers.
...
Add definitions for IDI_APPLICATIONA and IDC_ARROWA for Windows.
Fix a check in the SPI_{GET,SET}BORDER test.
Fix bad copy/paste in the SPI_{GET,SET}BORDER test.
Use eq macro to print values when something goes wrong.
2002-04-02 00:44:51 +00:00
Alexandre Julliard
740ba2ca65
Fixed pack/unpack routines for WM_DDE_EXECUTE.
2002-03-29 17:59:20 +00:00
Alexandre Julliard
a05e448d90
Renamed some 16-bit spec files to match the dll name.
2002-03-26 19:56:06 +00:00
Bill Medland
2162eb867a
Initialise a stack variable.
2002-03-22 00:12:15 +00:00
Alexandre Julliard
c1bfca04e1
Changed builtin dlls file names to make it clear they are not normal
...
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Francois Gouget
902540cf0b
Don't show the window.
2002-03-19 02:03:17 +00:00
Alexandre Julliard
302208f12a
Fixed inter-process packing of CB/LB_FINDSTRING, CB/LB_FINDSTRINGEXACT
...
and CB/LB_SELECTSTRING.
2002-03-11 05:06:04 +00:00
Hidenori Takeshima
e4745cbfe9
Added and fixed some Japanese resources.
2002-03-11 01:16:42 +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
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
Andriy Palamarchuk
812bc5298b
Added SystemParametersInfo unit test.
2002-02-27 21:32:18 +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
Eric Pouech
92e838f263
Fixed DdeGetData when called for getting size.
2002-02-26 00:37:57 +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
Bill Medland
7423dc0463
DrawText ellipsification on all lines, not just single-line.
2002-02-21 20:07:26 +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
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
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
Bill Medland
92d77c9bb2
DrawText should not split words just because of clipping.
2002-02-14 19:21:59 +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
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
Patrik Stridvall
57e5784c21
Move __stdcall/__cdecl to the right place.
2002-02-02 18:42:11 +00:00
Bill Medland
fdb799aa6a
Ensure that the whole modified text is returned from DrawTextExA.
2002-02-02 18:14:35 +00:00
Andreas Mohr
2295e87be8
Fixed some more missing parenthesis issues.
2002-02-02 18:06:03 +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
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
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