Subversion Repositories Scribus


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
11111 5074d 11h malex /branches/Version13x/Scribus/scribus/hyphenator.cpp Move dicts from libDir to shareDir  
7734 5398d 11h cbradney /branches/Version13x/Scribus/scribus/hyphenator.cpp Fix initialisation order warnings  
7029 5451d 00h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp dont hyphenate words which contain an explicit SmartHyphen  
6940 5455d 07h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp fix parstyle/alignment handling (some more)  
6932 5455d 07h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp and take language/dict from charstyle  
6931 5455d 07h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp dont hyphenate when Unicode SHYPHEN is present  
5781 5594d 19h cbradney /branches/Version13x/Scribus/scribus/hyphenator.cpp Remove the ScMW extern so we rely on the doc*s more and can exclude GUI interaction wherever possible, and possibly allow multiple ScMW's/SDI mode in the future. This has involved passing doc* or ScMW*s through to many functions, including the plugins. Rewrote many API to handle this change. Crashes may still exist in many places. Pleaasssee.. NO more externs. We cannot rely on them being consistent. The only extern I can see that should exist is the ScCore one.  
5721 5604d 15h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp commiting parstyle refactoring:
* ScText::cab is no more
* ScText::cselect is no more (uses start/end indices in StoryText now)
* each ScText with ch==PARSEP has a pointer to an anonymous ParagraphStyle
* each ScText has a CharStyle parent which points to the unnamed ParagraphStyle
by default
* unnamed ParagraphStyles have the StoryText's default style as parent
* a StoryText's default style has docParagraphStyles[0] as parent
* if the last paragraphs isn't terminated with a PARSEP, it has the StoryText's
default style as ParagraphStyle. I'm not perfectly happy with this; we have
to see how it works when we use it. Suggestions welcome

Known bugs:
- changing parstyle with palette doesn't work
- craig's linespacing error is still there it seems
- linked frames don't work

I will try to fix those as soon as possible.
5569 5625d 05h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp paragraphstyle cleanup, rightmargin in hruler, general cleanup  
5559 5627d 11h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp pageitem and font cleanup  
5291 5658d 07h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp more NLS API fixes  
5192 5670d 08h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp avoid "invalid int->StyleFlag" conversions  
5184 5670d 10h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp NLS Api changes: encapsulate ParagraphStyle fields, relate ParagraphStyle to CharStyle, use #ifdef NLS_PROTO  
4645 5723d 14h subik /branches/Version13x/Scribus/scribus/hyphenator.cpp make some items private. Fix Doxygen errors + move doxystrings into header files. 1st part.  
4430 5747d 08h cbradney /branches/Version13x/Scribus/scribus/hyphenator.cpp #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.  
4026 5795d 19h craig /branches/Version13x/Scribus/scribus/hyphenator.cpp Some bulk S&R changes:
- Renames after IRC discussion:
ScribusApp -> ScribusMainWindow
ScribusApp* ScApp -> ScribusMainWindow* ScMW
- Replace QStoInt and QStodouble with the built-in QString::toInt() and
QString::toDouble() now that those return 0 on failure as required.
3987 5801d 22h craig /branches/Version13x/Scribus/scribus/hyphenator.cpp - Use initializer lists for Hypenator, Page
- Fix construction order issue in ScribusDoc with hyphenator introduced by
prev patch
- Remove unnecessary ScribusApp argument to Hyphenator ctor
- Give MarginStruct a ctor for more convenient and faster construction,
and so it can be used from an initializer list.
3625 5849d 17h avox /branches/Version13x/Scribus/scribus/hyphenator.cpp pageitem: use PageItem::asXY in many places, first try at transfomring pageitems  
2856 5932d 20h cbradney /branches/Version13x/Scribus/scribus/hyphenator.cpp Move prefsFile into PrefsManager. Simplify PrefsManager init with a setup() function.  
2834 5938d 08h cbradney /branches/Version13x/Scribus/scribus/hyphenator.cpp Create a PrefsManager class where Preferences will be held in future. For now the old prefs variable is just public in this new class. This will be protected in future. PrefsManager is a singleton and can be accessed easily anywhere without the need to pass the preferences variable around. This has simplified many of the function calls and now some classes dont event need references to the prefs or even . More to come.... :)  

Show All