1. 04 Feb, 2010 1 commit
  2. 03 Dec, 2009 1 commit
  3. 20 Jul, 2009 1 commit
    • Dylan Smith's avatar
      richedit: Properly restore style after end of rtf group. · c6cf5677
      Dylan Smith authored
      Rich text files have groupings of text, where styles are pushed onto
      the stack when encountering a start of the group, then popped at the
      end of the group.  This was being handled improperly before, because a
      single styleChanged flag was being stored to keep track of whether the
      style needed to be restored at the end of a group. This fails to work
      properly since the single flag isn't keeping track of all the levels
      of the stack, so some styles are not restored properly.
      c6cf5677
  4. 17 Jul, 2009 1 commit
    • Dylan Smith's avatar
      richedit: Handle missing colours in rtf colour table. · dde41d5c
      Dylan Smith authored
      When a colour table entry is empty, then the default colour is used.
      For an incomplete colour table entry 0 is used for the missing colours.
      
      Previously the -1 value used internally for missing colours was being
      converted into white, where it should be using the default colour that
      is normally black.
      
      This bug could be seen by loading the following rich text into wordpad:
      {\rtf{\colortbl;;}\cf1 text}
      dde41d5c
  5. 26 May, 2009 2 commits
  6. 24 Mar, 2009 1 commit
    • Dylan Smith's avatar
      richedit: Properly handle lack of semicolon after font name in rtf. · 78a7ea5a
      Dylan Smith authored
      This was partially handled by ungetting the end group token (i.e. '}')
      so that it was read again at the proper place.  Unfortunately there is a
      read hook that maintains a stackTop variable, which is decremented when
      receiving this end group token.  Therefore stackTop would get
      decremented twice, and the rich text file would end prematurely.
      
      This is fixed by incrementing the stackTop variable to compensate for it
      being decremented twice.
      78a7ea5a
  7. 30 Jan, 2009 1 commit
  8. 29 Jan, 2009 4 commits
  9. 19 Jan, 2009 1 commit
  10. 06 Nov, 2008 1 commit
  11. 03 Nov, 2008 1 commit
  12. 06 Oct, 2008 1 commit
  13. 12 Sep, 2008 2 commits
  14. 11 Sep, 2008 1 commit
  15. 18 Aug, 2008 2 commits
  16. 05 Aug, 2008 1 commit
  17. 27 Jun, 2008 2 commits
    • Dylan Smith's avatar
      richedit: Fixed mistake that didn't cause a bug. · ee6b6f33
      Dylan Smith authored
      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.
      ee6b6f33
    • Dylan Smith's avatar
      richedit: Set error codes and stop parsing for some rtf syntax errors. · 632015dc
      Dylan Smith authored
      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.
      632015dc
  18. 29 Apr, 2008 1 commit
  19. 17 Mar, 2008 3 commits
  20. 20 Dec, 2007 1 commit
  21. 08 Dec, 2007 2 commits
  22. 15 Aug, 2007 1 commit
  23. 27 Jun, 2007 1 commit
  24. 25 Jan, 2007 1 commit
  25. 21 Nov, 2006 1 commit
  26. 02 Nov, 2006 2 commits
  27. 24 Oct, 2006 1 commit
  28. 26 Sep, 2006 1 commit
  29. 11 Aug, 2006 1 commit