Subversion Repositories Scribus

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4230 5649d 10h craig /branches/Version13x/Scribus/ Use 'c'har not "s"tring in encode  
4229 5649d 10h craig /branches/Version13x/Scribus/ PDFlib colour caching:
- Cache most recently used colour in SetFarbe(...)
- Cache most recently used (Color, shade) pair for bg & fg in putColor(...)
Both of these help avoid extremely large number of re-generations of the same
tiny colour definition string snippets when outputting certain types of objects.
In particular, text output should improve.
PDFlib tidying:
- Avoid string copies wherever possible (QString is cheap to copy, but
we should actually not be using QString for most of this, and free is
better than cheap).
- get rid of Dokument member in favour of using seek position in file,
make PutDoc inlineable.
- use QString::number instead of IToStr wrapper
- make FToStr a small static-linkage inlineable convenience wrapper
for QString::number
- rename PDFlib::t to PDFlib::outputStream
- Provide a `const char*' overload for PDFlib::PutDoc(...) to write
a plain byte string. Saves on converting constant strings.
- Make some fixed data `static const' to make it shareable and fit in the
read only section of the binary.
- Make a few trivial member functions easily inlineable.
- Move many local variable declarations closer to use
- Convert some very convoluted (should I say "complexificated"? :-P)
string building into the equivalent constant string.
 
4225 5649d 16h craig /branches/Version13x/Scribus/ Initialize progressDialog pointer  
4224 5649d 16h craig /branches/Version13x/Scribus/ Delete progress dialog when PDFLib is deleted. We were leaking it before.
Note that we don't need to test for usingGUI or progressDialog==0 because
it's entirely legal (a no-op) to delete a 0 pointer.
 
4223 5649d 16h craig /branches/Version13x/Scribus/ Use an initializer list for pdflib, make all members that need not be public
private.
 
4222 5649d 17h craig /branches/Version13x/Scribus/ Dead code elimination in scimage, make methods private where possible,
use reference params, minimally document functions.
 
4221 5650d 14h fschmid /branches/Version13x/Scribus/ Added a check for useable default font to the initDefaults function in the PrefsManager. Currently it checks for Arial Regular and Times New Roman Regular.  
4220 5650d 16h fschmid /branches/Version13x/Scribus/ Fixed Bug #2945.  
4219 5650d 18h fschmid /branches/Version13x/Scribus/ Patch from Jean to fix #2956 and another one for a problem in CollectforOutput  
4218 5651d 04h mrdocs /branches/Version13x/Scribus/ resolves # 2957 updated Polish translation  
4215 5651d 10h subik /branches/Version13x/Scribus/ 2647: Show guides in the rulers.  
4214 5651d 17h fschmid /branches/Version13x/Scribus/ Fixed bug with incorrect Canvas size after editing MasterPages.  
4213 5651d 18h fschmid /branches/Version13x/Scribus/ Fixed Bug #2912.  
4212 5651d 18h fschmid /branches/Version13x/Scribus/ Fixed Bug #2951.  
4211 5652d 08h subik /branches/Version13x/Scribus/ ok, again. And right now :-/  
4210 5652d 08h subik /branches/Version13x/Scribus/ #2946: patch for faster insertText()  
4209 5652d 10h craig /branches/Version13x/Scribus/ Get rid of unncessary freestore use in fileloader (use stack based objects
where more appropriate)
 
4208 5652d 10h craig /branches/Version13x/Scribus/ Move ScribusMainWindow::~ScribusMainWindow() impl out of header, since
it's not performance critical and makes debugging easier.
 
4207 5652d 12h craig /branches/Version13x/Scribus/ Since I've broken most of the translations in scribusqapp already, bring the
rest of them into the ScribusQApp translation context too (instead of pushing
them out to QObject).
 
4206 5652d 13h craig /branches/Version13x/Scribus/ Finish off the last few incorrect encoding conversions with QString::local8Bit()  

Show All