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
4240 5648d 04h craig /trunk/Scribus/scribus/pdflib_core.cpp Help the compiler out by telling it we don't alter the ScText structs we work with  
4230 5648d 06h craig /trunk/Scribus/scribus/pdflib_core.cpp Use 'c'har not "s"tring in encode  
4229 5648d 06h craig /trunk/Scribus/scribus/pdflib_core.cpp 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 5648d 12h craig /trunk/Scribus/scribus/pdflib_core.cpp Initialize progressDialog pointer  
4224 5648d 12h craig /trunk/Scribus/scribus/pdflib_core.cpp 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 5648d 12h craig /trunk/Scribus/scribus/pdflib_core.cpp Use an initializer list for pdflib, make all members that need not be public
private.
 
4201 5651d 10h fschmid /trunk/Scribus/scribus/pdflib_core.cpp Fixed Bug #273 too.  
4197 5653d 08h fschmid /trunk/Scribus/scribus/pdflib_core.cpp First part of fixing Bugs #273 and #1993.  
4184 5655d 14h fschmid /trunk/Scribus/scribus/pdflib_core.cpp Fixed Bug #2756.  
4084 5670d 10h cbradney /trunk/Scribus/scribus/pdflib_core.cpp Move the pageitem's annotation members into a class.  
4081 5670d 12h fschmid /trunk/Scribus/scribus/pdflib_core.cpp Fixed problem with Flate compression of images when exporting PDF with target "Printer"  
4073 5672d 23h cbradney /trunk/Scribus/scribus/pdflib_core.cpp Fix missing line in ScMW::slotStoryEditor.
Protect PageItem's font and fontsize members. Remove link between ScMW::AdjustItemFont and resetting the font on prop pal. emit from the PageItem's setFont and setFontSize members.
 
4061 5673d 19h craig /trunk/Scribus/scribus/pdflib_core.cpp - Convert PageItem::startArrowIndex and PageItem::endArrowIndex to protected
members
- Make get accessors in PageItem inlineable
- Make all PageItem get accessors `const' methods
- Add beginnings of master page editing to scripter
 
4037 5678d 01h cbradney /trunk/Scribus/scribus/pdflib_core.cpp Create printing progress dialog with print cancel ability (while the PS file is being created).  
4030 5679d 09h cbradney /trunk/Scribus/scribus/pdflib_core.cpp Show export item % per page on pdf export. Remove access to the main window progress bar.  
4029 5679d 10h cbradney /trunk/Scribus/scribus/pdflib_core.cpp Close progress dialog after use  
4028 5679d 10h cbradney /trunk/Scribus/scribus/pdflib_core.cpp 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.  
4026 5679d 11h craig /trunk/Scribus/scribus/pdflib_core.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.
 
4017 5680d 12h fschmid /trunk/Scribus/scribus/pdflib_core.cpp Fixed Bug #2892.  
4016 5680d 15h fschmid /trunk/Scribus/scribus/pdflib_core.cpp Fixed Bug #2894  

Show All