Francois Gouget
9197f5c3df
riched20: Tweak a buffer declaration to fix the compilation with Visual C++.
2006-10-02 11:54:46 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Andrew Talbot
b038fa18ee
riched20: Cast-qual warning fix.
2006-09-26 11:40:06 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Matt Finnicum
abecd9e393
riched20: Rewrite of scrolling and some redrawing code.
...
Replaces duplicated scrolling code with re-usable functions.
Removes excessive boundary checking on scroll code, since that's done
in the scrollbar control anyways.
Properly separates repaint calls based on what has changed.
Send EN_UPDATE and EN_CHANGE at the right places.
Only call EnsureVisible on changes, not all repaints.
2006-09-11 11:29:42 +02:00
Hippocrates Sendoukas
0ad5638bf1
riched20: WM_CONTEXTMENU fix for custom context menus.
2006-09-07 16:06:56 +02:00
Hippocrates Sendoukas
0134e8f7d0
riched20: ME_SetSelection -1 to -1 behavior fix.
2006-09-07 16:06:14 +02:00
Brian Chang
1f2eb859ac
riched20: EM_EXSETSEL fixes and conformance tests.
2006-08-28 17:48:23 +02:00
Alexandre Julliard
5cf75e615a
makefiles: Only run test and documentation targets in directories that need them.
2006-08-28 13:37:44 +02:00
Matt Finnicum
0d15a6ae15
riched20: Remove two testing fixme's that were accidentally committed.
2006-08-28 11:36:49 +02:00
Clinton Stimpson
bbd05a4644
riched20: Add tests for EM_GETMODIFY.
2006-08-23 20:10:50 +02:00
Matthew Finnicum
9b47add3bf
riched20: Make EM_EXLINEFROMCHAR handle special case of lParam == -1.
2006-08-22 11:57:40 +02:00
Matt Finnicum
cba7238364
riched20: Swap two lines that were in wrong order / caused notification not to be sent.
2006-08-21 12:08:39 +02:00
Stefan Huehner
998e256c82
Fix some -Wstrict-prototype warnings () -> (void).
2006-08-21 12:06:26 +02:00
Matt Finnicum
e73890a72c
riched20: Send EN_LINK notifications. Properly underline / color links.
2006-08-17 11:44:12 +02:00
Phil Krylov
2aed652c01
riched20: Accept RTF header without a version number.
2006-08-11 11:56:07 +02:00
Phil Krylov
d360f1db51
riched20: Accept RTF group tokens inside colortbl destination.
2006-08-11 11:55:48 +02:00
Matt Finnicum
22bc001c08
riched20: Add conformance tests for WM_SETFONT.
2006-08-10 11:30:03 +02:00
Ken Myers
13e4ddd2df
riched20: Implement EM_EXLIMITTEXT, EM_GETLIMITTEXT and tests.
2006-08-10 11:28:43 +02:00
Clinton Stimpson
ea755999f1
riched20: Fix crash with NULL lParam in EM_SETTEXTEX.
2006-08-10 10:54:27 +02:00
Matt Finnicum
658c0cdd1a
riched20: Implement EM_SHOWSCROLLBAR, EM_SETSCROLLPOS, ES_DISABLENOSCROLL, and WS_VSCROLL.
2006-08-09 11:20:43 +02:00
Matt Finnicum
cba3b122ed
riched20: Modify ME_CharFromPoint to work properly with password controls.
2006-08-08 19:35:44 +02:00
Krzysztof Foltman
bad844d0a9
riched20: New, clean, simple selection repaint logic - should fix all outstanding refresh issues.
2006-08-07 19:59:58 +02:00
Krzysztof Foltman
3a0c15e939
riched20: Ensure text is wrapped before invalidating selection.
2006-08-07 13:09:27 +02:00
Matt Finnicum
2b92bf78d1
riched20: Implement EM_SETPASSWORDCHAR and EM_GETPASSWORDCHAR.
2006-08-05 11:25:34 +02:00
Krzysztof Foltman
f07740b28b
riched20: Make EM_LINELENGTH work correctly for non-final paragraphs containing exactly one screen line.
2006-08-03 22:27:57 +02:00
Krzysztof Foltman
9667a891ff
riched20: Make EM_GETLINE work properly in 1.0 emulation mode.
2006-08-03 22:27:45 +02:00
Krzysztof Foltman
5f32291ace
riched20: Ctrl+A should be allowed in read-only controls too.
2006-08-03 22:27:36 +02:00
Andrew Talbot
3f8e2efc18
riched20/tests: Write-strings warnings fix.
2006-08-03 22:22:48 +02:00
Alexandre Julliard
344389d6d5
riched20: Fixed handling of window private data for Win64.
2006-08-03 18:20:01 +02:00
Krzysztof Foltman
6f15b54ade
riched20: Handle incorrect calls of window procedure.
2006-08-03 18:18:14 +02:00
Krzysztof Foltman
9dd276bfd1
riched20: Added short descriptions to functions in run.c, just in case
...
anybody had any doubts about what they actually do.
2006-08-02 22:01:10 +02:00
Thomas Kho
3f19ffe809
riched20: Implement EM_GETLINE.
2006-07-31 17:18:56 +02:00
Andrew Talbot
0c96a42a59
riched20: Write-strings warnings fix.
...
The string members of the FINDTEXT and FINDTEXTEX structs are declared
constant in the SDK.
2006-07-24 12:57:32 +02:00
Krzysztof Foltman
d17591fdf9
riched20: WM_SETFONT support.
2006-07-17 13:44:04 +02:00
Alexandre Julliard
eb8a40c368
libs: Merged libwine_unicode into libwine.
...
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Juan Lang
10d6726b42
riched20: Add stub implementation of ITextDocument.
2006-07-11 12:41:17 +02:00
Alexandre Julliard
77dc0d9be5
.gitignore: Added wildcards to ignore generated resource files.
2006-07-10 21:39:00 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Michael Stefaniuc
c3f112e52d
riched20: Replace an if-statement with empty body with a FIXME comment.
2006-07-07 14:30:36 +02:00
Krzysztof Foltman
02bbf06c43
riched20: Fix message range for get_msg_name.
2006-06-22 12:29:04 +02:00
Krzysztof Foltman
8e85210144
riched20: EM_CHARFROMPOS didn't work properly with scrolling
...
(vertical scrollbar position was not taken into account).
2006-06-19 10:30:36 +02:00
Francois Gouget
9eb81363ad
Add trailing '\n's to ok() calls.
...
Remove spaces before '\n'.
2006-06-16 11:32:42 +02:00
Francois Gouget
11ae0f6386
Assorted spelling fixes.
2006-06-16 11:32:29 +02:00
Alexandre Julliard
fe4c4780eb
riched20: Fix an uninitialized variable bug.
...
Mark todo a test that depended on the bug to succeed.
2006-06-12 16:09:50 +02:00
Alexandre Julliard
49b3837504
riched32: Use the standard DEFINE_GUID macro to define GUIDs.
2006-06-09 21:10:01 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Marcus Meissner
09f0ea1c76
riched20: Removed useless double casts, just print the DWORD hexmask.
2006-05-17 10:41:17 +02:00
Matt Finnicum
a379ac9ef5
riched20: Implement EM_SETUNDOLIMIT and its conformance tests.
2006-05-16 12:41:21 +02:00
Michael Stefaniuc
a87520036f
janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
...
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Michael Jung
0dec18a3d6
riched20: Don't append '\r' to the last paragraph in EM_GETTEXTEX.
2006-05-08 17:39:59 +02:00
Phil Krylov
4e796854af
riched20: Allow inheriting table cell definitions from previous table row.
...
Allow inheriting of table cell definitions from a previous table row
when the current table row does not contain a \trowd, only an \intbl.
2006-04-12 11:17:25 +02:00
Huw Davies
d6ce9db80f
riched20: Take a ref on text host.
2006-03-27 21:41:20 +02:00
Mike McCormack
fedd5250e3
riched20: Add a version resource.
2006-03-22 11:20:02 +01:00
Lei Zhang
b4ee2ad0e4
riched20: Implements FR_WHOLEWORD for EM_FINDTEXT.
...
Add FR_WHOLEWORD to riched20's EM_FINDTEXT and fix a couple small bugs
introduced in earlier patches for EM_FINDTEXT. Additional test cases
have been added to check for corner cases. Also improve input
validation.
2006-03-21 20:11:04 +01:00
Alexandre Julliard
c9cc7e33ff
Fixed some compiler warnings on old gcc versions.
2006-03-02 18:03:32 +01:00
Brandon Woodmansee
dee813b5ff
riched20: Implement EM_AUTOURLDETECT & EM_GETAUTOURLDETECT.
2006-03-01 20:27:43 +01:00
Andrew de los Reyes
cd024942af
riched20: Implement EM_SCROLL and its tests.
2006-02-27 12:21:11 +01:00
Hamza Lakhani
6979719a90
riched20: EM_HIDESELECTION implementation.
2006-02-27 12:20:56 +01:00
Phil Krylov
69ae27ed2f
riched20: Added a comment to make life easier.
2006-02-24 21:10:13 +01:00
Francois Gouget
e092adfc9b
Add trailing '\n's to ok() calls.
2006-02-24 21:07:33 +01:00
Kevin Koltzau
53b74b0d56
riched20: Call GetClipboardData callback on cut/copy.
2006-02-23 11:52:03 +01:00
Kevin Koltzau
33af76f991
riched20: Enable retrieving data through the ole interface.
2006-02-23 11:51:33 +01:00
Kevin Koltzau
d52ae24b5e
riched20: Ensure copied text is terminated with a null.
2006-02-23 11:51:24 +01:00
Kevin Koltzau
27e2dcff1d
riched20: EM_GETOLEINTERFACE is not a stub.
2006-02-23 11:51:14 +01:00
Kevin Koltzau
58b2995311
riched20: Store reference to editor in ole interface.
2006-02-23 11:14:41 +01:00
Kevin Koltzau
c0cd38fbab
riched20: Allocate proper amount of memory for formatetc array.
2006-02-23 11:14:30 +01:00
Kevin Koltzau
a13245847f
riched20: Add IDataObject implementation and use it for cut/copy.
2006-02-22 22:23:49 +01:00
Brian Chang
8f6ba475e8
riched20: EM_SETOPTIONS/EM_GETOPTIONS base implementation.
...
ECO_READONLY implemented and tested.
2006-02-22 22:14:38 +01:00
Lei Zhang
805dc74809
riched20: Implement FR_MATCHCASE for EM_FINDTEXT.
...
Removed todo flag from affected FR_MATCHCASE tests.
2006-02-22 11:33:10 +01:00
Lei Zhang
0014e50465
riched20: Fix for EM_FINDTEXT input validation.
...
Fixed the cpMin/cpMax validation code for EM_FINDTEXT.
Removed todo flag from affected EM_FINDTEXT tests.
2006-02-21 11:27:51 +01:00
Roger Hoang
b03c70a845
riched20: Implemented EM_SETTEXTMODE options TM_RICHTEXT and TM_PLAINTEXT
...
and their tests.
2006-02-20 20:29:44 +01:00
Thomas Kho
bfb3c756eb
riched20: Implement EM_SCROLLCARET and EM_GETSCROLLPOS.
2006-02-16 19:33:19 +01:00
Thomas Kho
087af502ea
riched20: Extend EM_FINDTEXT conformance tests and fix 2 problems they expose.
2006-02-15 13:37:31 +01:00
Phil Krylov
9761b457ce
riched20: Support RTF text in WM_SETTEXT.
2006-02-14 17:38:57 +01:00
Thomas Kho
caffa53227
riched20: Fixed bounds error when finding text forward.
2006-02-11 18:39:17 +01:00
Thomas Kho
482ab27e8d
riched20: Added tests for EM_FINDTEXT and EM_FINDTEXTEX messages.
2006-02-11 18:39:07 +01:00
Kevin Koltzau
2d0ad0944c
riched20: Don't use EM_STREAMIN for paste.
2006-02-06 11:26:34 +01:00
Kevin Koltzau
58b308db6a
riched20: Separate stream state from editor state.
...
Somewhat improves thread safety.
2006-02-05 13:05:45 +01:00
Kevin Koltzau
4d74e1dbfb
riched20: Add method to stream data based on a range.
2006-02-05 13:05:06 +01:00
Kevin Koltzau
374106d136
riched20: Don't use EM_STREAMOUT for copy/cut.
2006-02-05 13:05:00 +01:00
Phil Krylov
9b1beea7d7
riched20: Empty undo stack after EM_STREAMIN without SFF_SELECTION flag.
2006-02-05 12:18:55 +01:00
Phil Krylov
08bf7180f3
riched20: Initial support for simple tables.
2006-02-04 17:01:01 +01:00
Phil Krylov
325e06d2c1
riched20: Removed an unused parameter.
2006-02-04 17:00:18 +01:00
Phil Krylov
baf25fc8ab
riched20: Simplified ME_InsertGraphicsFromCursor() function.
2006-02-04 16:59:48 +01:00
Phil Krylov
65fdee73b9
riched20: Fixed undo stack corruption.
2006-02-04 16:59:37 +01:00
Kevin Koltzau
fc2ce6779e
riched20: Handle context menu.
2006-02-02 13:18:20 +01:00
Kevin Koltzau
7f84cc48f3
riched20: Implement EM_SETOLECALLBACK.
2006-02-01 13:05:40 +01:00
Maarten Lankhorst
460e2ad7f6
riched20: Implement CreateTextServices.
...
Implement a stub interface that CreateTextServices returns.
2006-02-01 12:31:40 +01:00
Phil Krylov
1db48180f2
riched20: Fixed font cache corruption.
2006-02-01 12:30:26 +01:00
Phil Krylov
f0d6519ef5
riched20: Added support for hidden text.
2006-01-31 13:01:26 +01:00
Phil Krylov
17a83dc3e3
riched20: Paint the selection while it's being extended by dragging.
2006-01-31 12:58:59 +01:00
Maarten Lankhorst
7b6f85474e
riched20: Make CreateTextServices use ITextHost.
2006-01-30 18:16:05 +01:00
Alexandre Julliard
ba0d6bd0f7
riched20: Remove a couple of no longer used functions.
2006-01-27 12:20:21 +01:00
Phil Krylov
ecbccb9763
riched20: EM_STREAMIN should send a EN_UPDATE notification.
2006-01-26 13:28:35 +01:00
Phil Krylov
bb9631b196
riched20: Selection painting fixes.
2006-01-26 13:27:28 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00