Phil Krylov <[email protected]>
- Added support for EM_REQUESTRESIZE message, EN_REQUESTRESIZE
notification, and ENM_REQUESTRESIZE event mask.
- Cache background color brush instead of recreating it at each screen
update.
Mike McCormack <[email protected]>
- Convert all RTFPanic and RTFMsg calls to ERR calls.
svn path=/trunk/; revision=19315
Phil Krylov <[email protected]>
- Fixed encoding of non-ASCII chars.
Krzysztof Foltman <[email protected]>
- Bugfix in EM_GETTEXTEX
- Additional traces helpful in diagnosing similar (text
retrieval-related) bugs.
- Fix unnecessary (and harmful) repeated statement.
- Removed buffer overrun error (incrementing output pointer one time too
much in non-CRLF mode) making KeyNote fail to install.
- Style trace information is written to different debug channel (it's
not very useful anymore, reference counting looks correct for now).
- The document dump contains the character position of the end-of-text
mark.
- The previous implementation was a workaround for off-by-one bug in
ME_RunOfsFromCharOfs, this one relies on correct behavior of that
function introduced by the previous patch.
- Send verbose info to different debug channels (richedit_check for
output from offset checker, richedit_lists for the document list
dumps).
- Fix a bug in 1.0 emulation mode in EM_LINELENGTH (which broke PTE
installer).
- Fixed EOL detection in ME_RunOfsFromCharOfs in 1.0 emulation mode
(necessary for a non-workaround version of EM_POSFROMCHAR).
- Fix 1.0 emulation mode in ME_GetTextW.
- Remove another potential sources of infinite loops caused by EOF in
the middle of the font and color tables.
- Closing brace on text level is treated as EOF (effectively
protecting the control from trash after the end of RTF).
- Removed misleading comment about incomplete buffers (I was
definitely wrong).
- Implemented EM_GETFIRSTVISIBLELINE and EM_POSFROMCHAR (basic
suboptimal implementation, can be optimized to skip whole paragraphs
later if it's useful at all).
- Fixed another case of misunderstanding MSDN wrt StreamInProc, causing
license text to be truncated in Picasa installer (as well as some
other programs, especially those that display long texts with NSIS).
svn path=/trunk/; revision=18955
Rein Klazes <[email protected]>
- When scrolling, first update the new position of the control before
calling UpdateWindow().
Alexandre Julliard <[email protected]>
- Fixed gcc 4.0 warnings.
- We are no longer generating .dbg.c files.
Krzysztof Foltman <[email protected]>
- Reimplementation of EM_LINELENGTH.
- Some attempt at documentation of double-linked list of
ME_DisplayItem's.
- Optional destinations in stylesheets are now skipped properly (and
not treated as the "proper" styles as they were before).
- EOF condition in the middle of the stylesheet is no longer putting
the reader into infinite loop,
- Half-full input buffers don't trigger EOF anymore (although it
could, in theory, break some apps, I find it unlikely - and the
change makes Out from Boneville installer display license properly).
Marcus Meissner <[email protected]>
- The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
svn path=/trunk/; revision=18345
Phil Krylov <[email protected]>
- Added support for backward search to RichEdit EM_FINDTEXT[AW],
EM_FINDTEXTEX[AW] message handler.
- Fixed EM_SETEVENTMASK RichEdit message handler to return old event
mask.
- Added handling of deff RTF control word.
- Added common keyboard shortcuts for Select All, Undo, Redo, Cut, Copy
and Paste to RichEdit.
- Automatically set default font after parsing a font table in RichEdit
RTF reader.
- Fixed EM_EXLINEFROMCHAR to work for last row of a paragraph.
- Fixed UTF-8 RTF parsing.
- Fixed a bug in EM_STREAMOUT RichEdit message handler which truncated
some streamed text.
- Generate ending \par in RTF output of RichEdit when streaming out a
whole document.
- Fixed a RichEdit RTF reader bug which resulted in loss of text.
Eliminated unneeded recursion in ME_InsertTextFromCursor().
- Implemented EM_CHARFROMPOS RichEdit message.
- Added EM_SETRECT, EM_SETRECTNP, and WM_SETREDRAW message handling.
Added support for GT_SELECTION flag in EM_GETTEXTEX handler.
Mike McCormack <[email protected]>
- gcc 4.0 warning fixes for Interlocked* functions.
svn path=/trunk/; revision=17681
Phil Krylov <[email protected]>
- Added some useful TRACEs.
- Allow NULL parameter for WM_SETTEXT in RichEdit.
- Implemented EM_LINELENGTH RichEdit message.
- Fixed EM_LINEINDEX handler and added EM_LINEFROMCHAR handler.
- Implemented EM_EXLINEFROMCHAR, EM_LINEINDEX, EM_FINDTEXT,
EM_FINDTEXTW, EM_FINDTEXTEX, and EM_FINDTEXTEXW messages.
- Fixed a comment about EM_STREAMIN.
- Implemented EM_GETLINECOUNT RichEdit message.
- Fixed EM_GETCHARFORMAT for selection containing a single character.
- Fixed an off-by-one error in EM_GETLINECOUNT handler.
- Fixed an off-by-one error in EM_STREAMOUT handler for non-Unicode
plain text output.
- Fixed another couple of EM_STREAMOUT bugs.
- Removed junk from UTF-8 RTF output.
- Added emulation of RichEdit 1.0 behaviour when the 1.0 window class is
being used. This emulation (introduced in M$ RichEdit 3.0) counts
paragraph endings as 2 characters (CR+LF) instead of 1 (CR).
- Added EM_GETZOOM and EM_SETZOOM RichEdit message handlers.
- Added some missing but useful items to the TODO list.
Felix Nawothnig <[email protected]>
- Check structure size and fix return values in EM_GETCHARFORMAT.
Aric Stewart <[email protected]>
- Implementation for EM_GETTEXTEX.
Daniel Remenak <[email protected]>
- Basic handling of EM_SETTEXTEX.
Stefan Huehner <[email protected]>
- Make functions static to fix -Wmissing-declarations warnings.
- Change some char* to const char* to fix warnigns.
- Make some function static.
- Fix -Wmissing-declarations warnings.
svn path=/trunk/; revision=17335
Phil Krylov <[email protected]>
- Implemented EM_GETTEXTLENGTHEX RichEdit message.
Krzysztof Foltman <[email protected]>
- added support for \ulnone (turning underline off)
- support for basic subscript and superscript
- untested support for text offset
- Emit \tx for user-defined TABs.
Dmitry Timoshkov <[email protected]>
- Make remaining OLE interface vtables const.
Stefan Huehner <[email protected]>
- Fix some more -Wstrict-prototypes warnings.
Vitaly Lipatov <[email protected]>
- Allow null pointers for EM_GETSEL message (as MSDN says).
Robert Shearman <[email protected]>
- Richedit classes should be global.
svn path=/trunk/; revision=17041
Alexandre Julliard <[email protected]>
- Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
Ivan Leo Puoti <[email protected]>
- Fix crash in ME_GetRunSizeCommon(). Turn a FIXME into a TRACE.
Michael Stefaniuc <[email protected]>
- Change an assert to a WARN.
Hannu Valtonen <[email protected]>
- Use correct background color for the whole richedit control.
- Implement EM_LINESCROLL message handling
- Fix a problem with scrolling over the end of the text in
WM_WHEELMOUSE.
Vincent Beron <[email protected]>
- Provide minimal API documentation in advapi/eventlog.c to silence some
winapi_check output.
- Move around functions in riched20, richedit and rpcrt4 to achieve the
same goal.
Krzysztof Foltman <[email protected]>
- Added stubs for a couple of missing 2.0 and 3.0 messages.
Phil Krylov <[email protected]>
- Fixed an error in my previous commit which caused an infinite loop in
IE6 installer.
svn path=/trunk/; revision=15578
Krzysztof Foltman <[email protected]>
- removed trailing spaces from some files
- tab support
- indent support
- PageUp key support.
- Support for "normal" scroll bar functionality (line and page
scrolling).
- made string operations consistent wrt whitespace handling (which
should greatly improve stability of the wrap code and eliminate
regressions of the most recent versions)
- completely new scrollbar handling (much more reliable) and related
redraw fixes
- Page Down handler (no Page Up yet, fixing wrap/redraw/scrollbar bugs
was of higher priority)
- RTF reader doesn't use RichEdit messages anymore (which saves on
unnecessary repaints)
- added unicode character support to RTF import (like: \u12345 ?)
- small fixes
- fixed whitespace identification bug
- removed drawing of paragraph marks
- improved stub implementations for IRichEditOle
- Unknown destinations are now correctly skipped (so loading an RTF
file generated by, for example, OpenOffice doesn't produce lots of
garbage anymore).
- Format stack for RTF groups (so that RTF reader can correctly read
what RTF writer wrote :) )
- EM_STREAMIN can now deal with undo in a reasonable manner (no
multiple undo actions in one EM_STREAMIN).
- Related changes to undo code (umIgnore mode is now handled
correctly).
- Numerous improvements in the RTF reader: it reads some character
attributes now (you will have proper small print in license agreements
now).
- Fixed a memory overwrite bug in conversion from CHARFORMAT2A to
CHARFORMAT2W.
- Optimized repaint of the area below the text.
- ME_JoinRuns didn't mark the paragraph for rewrapping, fixed.
- Removed PostQuitMessage(0) from WM_DESTROY handler (duh!).
- Use of EM_GETOLEINTERFACE is reported with FIXME instead of TRACE
(any app using this message is likely to encounter major problems).
- WM_COPY (and WM_CUT) can now put both Unicode and RTF format (thanks
to Phil Krylov's RTF generator code).
- New message implemented - WM_PASTE.
- RTF reader: rtfPlain implemented (kind of).
- RTF writer: rewritten main loop (the old one crashed in some
circumstances when SFF_SELECTION was used).
- The meaning of the rewrap flag got inverted (MEPF_REWRAP instead of
MEPF_WRAPPED) for consistency.
- Major code cleanups in rewrap/repaint code, leading to "smarter"
behaviour wrt repainting selections.
- Old font management replaced by the cache-based one, which keeps
maximum of 10 HFONTs at once, instead of one per a couple of runs.
- EM_CANPASTE implemented
- updated TODO list (including list of (un)implemented messages)
- fixed WM_PASTE (the previous version might not close the clipboard
if it didn't contain a usable format)
- scrollbar operations (like clicking on arrows) should update
scrollbar's current position
Gerald Pfeifer <[email protected]>
- Make ME_ArrowLeft() return a value in every case.
Phil Krylov <[email protected]>
- Make RTF reader fall back to simple text if a correct RTF header is
not detected. This should fix some installers.
- Made RTF reader and writer handle codepages mostly similar to the
original riched20.dll.
- Fixed support for RTF documents using ANSI charset and added support
for multibyte charsets, so that BIG5 and UTF-8 RTF documents are
working now.
- Replaced slow and outdated character set handling in RTF reader by
Unicode/codepages support. Added charset->codepage conversion.
- Implemented hash table lookup for RTF keywords in RTF reader.
- Added "generator" RTF destination handling.
- Initial implementation of EM_STREAMOUT and RTF writer.
- Fixed \u keyword to output signed 16-bit values. Also fixed CP_SYMBOL
conversion and the detection of the default font's codepage.
- Improved RTF export.
Mike McCormack <[email protected]>
- Remove casts and unused code.
Hannu Valtonen <[email protected]>
- Added mousewheel support.
Vincent Beron <[email protected]>
- Use "" for Windows includes in dlls, instead of <>.
Jakob Eriksson <[email protected]>
- Get rid of HeapAlloc casts.
Jason Edmeades <[email protected]>
- Correct memory allocation macro.
svn path=/trunk/; revision=15014
This is not a correct implementation, it is just enough to get some applications
to work. A fully working riched20 will be developed in winehq.
svn path=/trunk/; revision=11718