The check to see if the dwOutputBuffer is full was performed incorrectly
in RTFPutUnicodeString, however, this mistake was actually harmless
since it would just cause an extra loop that does nothing, then the
check would work properly with the variable fit equal to 0.
Checks were added for hexadecimal values that did not have valid
characters, and for EOF received before the final closing brace of the
rich text stream. The error values were tested on richedit versions 1,
2, 3 & 4.1, and they were all the same for these cases.
Document remaining uses of bEmulateVersion10 and other checks for CRLF in editor.c.
Make RTF reader emit a \r or a \r\n according to emulation, not a \n, which breaks streaming tests.
Remove todo_wine from a bunch of riched32 tests that now succeed.
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).
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).
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
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 :) )
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.