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
4241 5771d 18h craig /branches/ Make some Page accessors inlineable, make Page useable in a const
context. Pass Page pointers around pdflib as const to help compiler, protect
against accidental change.
 
4240 5771d 18h craig /branches/ Help the compiler out by telling it we don't alter the ScText structs we work with  
4239 5771d 19h craig /branches/ Support QByteArray / QCString input to PutDoc  
4230 5771d 20h craig /branches/ Use 'c'har not "s"tring in encode  
4229 5771d 20h craig /branches/ 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 5772d 02h craig /branches/ Initialize progressDialog pointer  
4224 5772d 02h craig /branches/ 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 5772d 03h craig /branches/ Use an initializer list for pdflib, make all members that need not be public
private.
 
4222 5772d 04h craig /branches/ Dead code elimination in scimage, make methods private where possible,
use reference params, minimally document functions.
 
4221 5773d 01h fschmid /branches/ 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 5773d 03h fschmid /branches/ Fixed Bug #2945.  
4219 5773d 04h fschmid /branches/ Patch from Jean to fix #2956 and another one for a problem in CollectforOutput  
4218 5773d 15h mrdocs /branches/ resolves # 2957 updated Polish translation  
4215 5773d 20h subik /branches/ 2647: Show guides in the rulers.  
4214 5774d 03h fschmid /branches/ Fixed bug with incorrect Canvas size after editing MasterPages.  
4213 5774d 04h fschmid /branches/ Fixed Bug #2912.  
4212 5774d 05h fschmid /branches/ Fixed Bug #2951.  
4211 5774d 18h subik /branches/ ok, again. And right now :-/  
4210 5774d 18h subik /branches/ #2946: patch for faster insertText()  
4209 5774d 20h craig /branches/ Get rid of unncessary freestore use in fileloader (use stack based objects
where more appropriate)
 

Show All