Revision 880087

Go back to digest for 9th November 2008

Other in KDE-PIM

Stephen Kelly committed changes in /trunk/playground/pim/richtextbuilders:

* Delete the email related classes. They were an experiment but didn't work out.
* Change the way anchors are dealt with. Still need to finish some stuff in the MarkupDirector to create anchors with a name but no href.
* Move richtext.html into the tests directory.
* Create image tags in a better way, not adding width and height attributes where not needed.
* Better way of determining when to create a newline. Includes unit tests. There's still a qt-bug to workaround in the newline stuff.
* Move the MarkupDirector::Private class to separate files.
* Some style and indentation fixes to the Director stuff.
* Process block contents in an entirely different way to close and open tags in the correct order. Includes many unittests.

I know much of this should be in separate commits, but it's still in playground anyway...

File Changes

Added 1 files
  • /trunk/playground/pim/richtextbuilders/tests/richtest.html
Deleted 8 files
  • /trunk/playground/pim/richtextbuilders
  •   /abstractemailbuilder.h
  •   /emaildocument.h
  •   /emaildocumentattachment.h
  •   /emaildocumentquotedata.h
  •   /emailmarkupdirector.h
  •   /plaintextemailbuilder.h
  •   /richemailbuilder.h
  •   /richtest.html
Modified 14 files
  • /trunk/playground/pim/richtextbuilders
  •   /abstractmarkupbuilder.h
  •   /bbcodebuilder.cpp
  •   /bbcodebuilder.h
  •   /CMakeLists.txt
  •   /htmlbuilder.cpp
  •   /htmlbuilder.h
  •   /krichtexteditor.cpp
  •   /markupdirector.cpp
  •   /mediawikimarkupbuilder.cpp
  •   /mediawikimarkupbuilder.h
  •   /plaintextmarkupbuilder.cpp
  •   /plaintextmarkupbuilder.h
  •   /tests/CMakeLists.txt
  •   /tests/htmlbuildertest.cpp
23 files changed in total