Subversion Repositories Scribus

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4430 5724d 09h cbradney /branches/Version13x/Scribus/scribus/pdflib.h #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.  
4265 5739d 14h craig /branches/Version13x/Scribus/scribus/pdflib.h Include <string> just in case it's necessary for some implementations  
4264 5739d 14h craig /branches/Version13x/Scribus/scribus/pdflib.h Some more minor pdflib tidying  
4241 5741d 13h craig /branches/Version13x/Scribus/scribus/pdflib.h 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 5741d 13h craig /branches/Version13x/Scribus/scribus/pdflib.h Help the compiler out by telling it we don't alter the ScText structs we work with  
4239 5741d 14h craig /branches/Version13x/Scribus/scribus/pdflib.h Support QByteArray / QCString input to PutDoc  
4229 5741d 15h craig /branches/Version13x/Scribus/scribus/pdflib.h 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.
 
4224 5741d 21h craig /branches/Version13x/Scribus/scribus/pdflib.h 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 5741d 21h craig /branches/Version13x/Scribus/scribus/pdflib.h Use an initializer list for pdflib, make all members that need not be public
private.
 
4084 5763d 19h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Move the pageitem's annotation members into a class.  
4030 5772d 18h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Show export item % per page on pdf export. Remove access to the main window progress bar.  
4028 5772d 18h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Implement a multi progress bar dialog box. Use it in PDF lib (more data on progress dialog to come here). Enable PDF export to be cancelled.  
4017 5773d 21h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Fixed Bug #2892.  
3829 5800d 11h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Move the text frame key input code from scribus.cpp into pageitem_textframe.cpp. Have left in the old code commented out for now.  
3699 5814d 12h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Change and add some class declarations and includes.  
3544 5831d 22h avox /branches/Version13x/Scribus/scribus/pdflib.h Work on Foi API: replace SCName, Family, Effect with accessors, Drop QFont attribute  
3252 5857d 11h craig /branches/Version13x/Scribus/scribus/pdflib.h More header dependency cleanups  
3137 5868d 09h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Fixes for the PDFlib, and moved the dynamic tooltip code into an own file.  
3133 5868d 12h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Moved the pdflib to the main sources.