Subversion Repositories Scribus


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

Filtering Options

Rev Age Author Path Log message Diff
4265 5810d 15h craig /branches/ Include <string> just in case it's necessary for some implementations  
4264 5810d 15h craig /branches/ Some more minor pdflib tidying  
4263 5810d 16h craig /branches/ Fix #2943  
4260 5810d 20h craig /branches/ Tweak some of the PDFExportDialog and TabPDFOptions arguments  
4259 5810d 21h craig /branches/ - Rename PDF_Opts to PDFExportDialog
- Make PDFExportDialog a friend of TabPDFOptions,
protect more TabPDFOptions members that the rest of the world
need not see.
4258 5810d 22h craig /branches/ Protect some non-GUI members that need not be public.  
4257 5810d 22h craig /branches/ Tweak prefs to use TabPDFOptions unit change method  
4256 5810d 22h craig /branches/ - Tweak workaround for #2964
- Delegate unit changes to TabPDFOptions rather than manipulating members
4255 5810d 23h craig /branches/ - Initialize protected members to 0 too
- Protect as many members as possible, so now it's possible to see which controls
- get poked at by the outside world.
4254 5811d 00h craig /branches/ Avoid crash by just not storing PDF view mode options. Need to confirm that
the proper fix is actually to always use these widgets even in prefs.
4253 5811d 00h craig /branches/ - Initialize all member pointers in tabpdfoptions to avoid unexpected surprises
when testing them for 0, and to make invalid acceses easier to find.
- Make the scribusview member pointer a const pointer
- Store a reference to the fonts array not a pointer
4252 5811d 00h craig /branches/ Fix access to TabPDFOptions::useLayers2 when it hasn't been initialized  
4244 5812d 10h mrdocs /branches/ some updates from S. Brabec at  
4243 5812d 11h mrdocs /branches/ patch from jghali for #2956  
4242 5812d 14h craig /branches/ Tweak last checkin  
4241 5812d 14h 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 5812d 14h craig /branches/ Help the compiler out by telling it we don't alter the ScText structs we work with  
4239 5812d 15h craig /branches/ Support QByteArray / QCString input to PutDoc  
4230 5812d 16h craig /branches/ Use 'c'har not "s"tring in encode  
4229 5812d 16h 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.

Show All