1. 05 Jun, 2017 1 commit
  2. 07 Oct, 2016 1 commit
  3. 29 Feb, 2016 2 commits
  4. 28 Oct, 2015 1 commit
  5. 30 Apr, 2014 1 commit
  6. 19 Mar, 2014 1 commit
  7. 11 Feb, 2014 1 commit
  8. 05 Dec, 2012 1 commit
  9. 04 Feb, 2010 1 commit
  10. 03 Dec, 2009 1 commit
  11. 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
  12. 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
  13. 26 May, 2009 2 commits
  14. 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
  15. 30 Jan, 2009 1 commit
  16. 29 Jan, 2009 4 commits
  17. 19 Jan, 2009 1 commit
  18. 06 Nov, 2008 1 commit
  19. 03 Nov, 2008 1 commit
  20. 06 Oct, 2008 1 commit
  21. 12 Sep, 2008 2 commits
  22. 11 Sep, 2008 1 commit
  23. 18 Aug, 2008 2 commits
  24. 05 Aug, 2008 1 commit
  25. 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
  26. 29 Apr, 2008 1 commit
  27. 17 Mar, 2008 3 commits
  28. 20 Dec, 2007 1 commit
  29. 08 Dec, 2007 2 commits