Commit graph

680 commits

Author SHA1 Message Date
Pino Toscano 9e45d58aaf adapt to the recent debug areas
svn path=/trunk/KDE/kdegraphics/okular/; revision=752570
2007-12-24 22:09:22 +00:00
Pino Toscano c6a6c3873d better initialize the document structure to avoid crashing later
svn path=/trunk/KDE/kdegraphics/okular/; revision=752566
2007-12-24 21:28:26 +00:00
Pino Toscano 0a1668b6c1 Ignore a "transparent" background color for paragraphs.
BUG: 154221

svn path=/trunk/KDE/kdegraphics/okular/; revision=752536
2007-12-24 18:44:28 +00:00
Pino Toscano d22bd483f8 use the new icon for the backend
svn path=/trunk/KDE/kdegraphics/okular/; revision=752246
2007-12-23 23:43:23 +00:00
Pino Toscano bf50301758 polish
svn path=/trunk/KDE/kdegraphics/okular/; revision=752245
2007-12-23 23:42:42 +00:00
Pino Toscano 0d7a560490 copy temporary icon for the ghostscript backend from kappfinder, and install it locally
svn path=/trunk/KDE/kdegraphics/okular/; revision=752242
2007-12-23 23:38:15 +00:00
Script Kiddy 270b737e0d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=751972
2007-12-23 08:32:07 +00:00
Script Kiddy 98df549bc8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=750404
2007-12-19 08:08:54 +00:00
Pino Toscano e5c4c7c8c9 Properly apply the Document AA options when loading a document, or when asked to reload our configuration.
svn path=/trunk/KDE/kdegraphics/okular/; revision=749281
2007-12-16 23:39:40 +00:00
Tom Albers 2bfe44c45c RELICENSE: relicense to GPL2/3. All contributors agreed to the relicense. Received separate mail from Martin Pool:
--------------------------------------------
 > You are listed as copyright holder for the files 
 > in kdegraphics/okular/generators/comicbook/qnatsort.cpp. 
 > Please let me know if you approve of such a relicense.
 >
 > I hope you approce.
 
 I'm willing to relicence to GPL2/3.  I'm reluctant to sign a blank
 cheque by agreeing to all future versions of the licence.
 
 -- 
 Martin
--------------------------------------------
CCMAIL: mbp@sourcefrog.net

svn path=/trunk/KDE/kdegraphics/okular/; revision=749279
2007-12-16 23:34:09 +00:00
Allen Winter f4c249060d comment-out JPEG discovery as that is done in kdegraphics/CMakeLists.txt.
no need to look for JPEG twice.

also rearrange a bit

svn path=/trunk/KDE/kdegraphics/okular/; revision=748488
2007-12-14 16:18:25 +00:00
Allen Winter 045b1b4ee1 add a macro_log_feature for Freetype.
improve the existing macro_log_feature messages a bit.

svn path=/trunk/KDE/kdegraphics/okular/; revision=748473
2007-12-14 15:49:41 +00:00
Pino Toscano 080acb4344 one constness more, one ugly cast less
svn path=/trunk/KDE/kdegraphics/okular/; revision=747392
2007-12-11 21:41:19 +00:00
Pino Toscano 7b2e3d394e set a minimum required version, 8.56 for now
svn path=/trunk/KDE/kdegraphics/okular/; revision=747375
2007-12-11 20:40:37 +00:00
Script Kiddy e3d71f162d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=747149
2007-12-11 07:45:22 +00:00
Albert Astals Cid 93e1f66dfa fix the "destructor"
svn path=/trunk/KDE/kdegraphics/okular/; revision=746605
2007-12-09 16:41:58 +00:00
Script Kiddy 79b2b8355f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=746476
2007-12-09 07:38:47 +00:00
Pino Toscano 870980da75 correctly set the External flag for annotations loaded from documents
svn path=/trunk/KDE/kdegraphics/okular/; revision=746264
2007-12-08 13:45:06 +00:00
Laurent Montel 2eb9a53642 Add soname
svn path=/trunk/KDE/kdegraphics/okular/; revision=746258
2007-12-08 13:15:57 +00:00
Albert Astals Cid 8f0c595dfd Use pagesize with double values to divide, if not the rounding up and down and whatnow hits us and we get a page of the different size we wanted.
BUG: 153621

svn path=/trunk/KDE/kdegraphics/okular/; revision=746081
2007-12-07 19:17:53 +00:00
Script Kiddy 8d7e8be0c7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=745899
2007-12-07 08:14:18 +00:00
Pino Toscano 2354aebd55 remove the 'lib' prefix from the okularpart
make konqueror able to load again okular as embedded :/

svn path=/trunk/KDE/kdegraphics/okular/; revision=745740
2007-12-06 23:12:27 +00:00
Pino Toscano d1b62bbe5e link to less libraries
svn path=/trunk/KDE/kdegraphics/okular/; revision=744174
2007-12-02 21:09:17 +00:00
Pino Toscano 6aa123656a Port the plugin system to the standard KDE factory and loader, getting rid of the custom system okular had so far.
This requires a generator to have a
  MyGenerator(QObject *parent, const QVariantList &args)
constructor in order to be successfully loaded.
The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed.

Remove the 'lib' prefix from plugins, unneeded now.

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
2007-12-02 20:57:24 +00:00
Script Kiddy 4b1e246e87 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=743874
2007-12-02 08:05:31 +00:00
John Layt 1b1ed9451b Enable Okular printing features:
* Add FilePrinter class to enable printing via postscript files
* DJVU, PDF, and PS backends print FilePrinter
* All backends enable printing of bookmarked pages
* Print and Print Preview actions enabled/disabled depending on backends
  printing ability

Note that FilePrinter only works on *NIX platforms with Cups, lpr, or lp.



svn path=/trunk/KDE/kdegraphics/okular/; revision=741990
2007-11-26 21:43:54 +00:00
Albert Astals Cid 2153ec5edd resync with spectre
svn path=/trunk/KDE/kdegraphics/okular/; revision=741933
2007-11-26 19:15:23 +00:00
Pino Toscano 8a3af5a02a give it the correct name
svn path=/trunk/KDE/kdegraphics/okular/; revision=741326
2007-11-25 12:56:21 +00:00
Pino Toscano 10503cf472 Add stubs for about data for the backends that don't have one, but have translations.
I remember all the maintainers to fill them only after the KDE 4.0 unfreeze :)

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=741068
2007-11-24 18:08:30 +00:00
Albert Astals Cid e7a3f58308 KDVI -> Okular on visible messages
svn path=/trunk/KDE/kdegraphics/okular/; revision=739354
2007-11-20 22:05:09 +00:00
Allen Winter 1e34663484 remove deprecated Encoding
DocPath => X-DocPath
ServiceTypes => X-KDE-ServiceTypes
Keywords => X-KDE-Keywords

svn path=/trunk/KDE/kdegraphics/okular/; revision=737282
2007-11-15 22:38:18 +00:00
Pino Toscano f1fa4254f3 i18n fixes (s/KDVI/okular/) by Luigi Toscano.
CCMAIL: luigi.toscano@tiscali.it

svn path=/trunk/KDE/kdegraphics/okular/; revision=736814
2007-11-14 22:12:53 +00:00
Script Kiddy d9e6745bc7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=735260
2007-11-11 08:03:34 +00:00
Dirk Mueller 7ea0bce44a fix FSF address
svn path=/trunk/KDE/kdegraphics/okular/; revision=734468
2007-11-08 22:49:41 +00:00
Albert Astals Cid f3a717f412 resync with spectre git, fixes winterz render problem
svn path=/trunk/KDE/kdegraphics/okular/; revision=734041
2007-11-07 22:18:08 +00:00
Dirk Mueller 161ebbc47a adding license
svn path=/trunk/KDE/kdegraphics/okular/; revision=733478
2007-11-06 12:55:42 +00:00
Pino Toscano 5412f21664 simplify more
svn path=/trunk/KDE/kdegraphics/okular/; revision=732879
2007-11-04 23:35:38 +00:00
Pino Toscano 9ac1f51e59 easier debug output
svn path=/trunk/KDE/kdegraphics/okular/; revision=732877
2007-11-04 23:33:43 +00:00
Pino Toscano 2ae8000a77 delete the document info when closing a document
svn path=/trunk/KDE/kdegraphics/okular/; revision=732870
2007-11-04 23:17:17 +00:00
Albert Astals Cid 360e7cd95b i forgot the helper headers
svn path=/trunk/KDE/kdegraphics/okular/; revision=732863
2007-11-04 23:01:32 +00:00
Albert Astals Cid 402c93e622 Replace the ghostview generator by the spectre generator, both are based on libgs, but the spectre one is simpler
as it uses the yetToBeAnnounced freedesktop libspectre project. I'm actually adding libspectre sources for the kde4.0.x
timeframe as libspectre won't be released/packaged on time for 4.0 but will remove it for 4.1 and onwards.

libspectre is a shared project between okular and evince *hooraay* that aims to unify the developing of a layer on top of libgs

That closes my work on making ps *work* on okular for KDE 4.0, any reported problem will be of course investigated
Thanks for reading up to here :-D

svn path=/trunk/KDE/kdegraphics/okular/; revision=732860
2007-11-04 22:46:01 +00:00
Laurent Montel 8702899c83 Fix separator
svn path=/trunk/KDE/kdegraphics/okular/; revision=731764
2007-11-01 20:10:05 +00:00
Albert Astals Cid 3a15da028d poppler clearly states in its doc since 36 minutes ago that passwords have to be latin1 encoded
svn path=/trunk/KDE/kdegraphics/okular/; revision=731537
2007-10-31 23:24:52 +00:00
Nicolas Lécureuil 24024a20c2 Fix desktop files for XDG
svn path=/trunk/KDE/kdegraphics/okular/; revision=731368
2007-10-31 14:28:09 +00:00
Script Kiddy 4973559541 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=729164
2007-10-25 07:10:56 +00:00
Pino Toscano 3237f94761 use 'graphics-viewer-document' as icon in our .desktop files
svn path=/trunk/KDE/kdegraphics/okular/; revision=728493
2007-10-23 13:12:33 +00:00
John Layt 070285e039 Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS.
*** Note this is not a complete port, most of the generators use the 
printFiles method which Qt 4.3 does not support, these have simply
been commented out until we find a solution.  At least it removes
the dependency so we can remove from kdelibs.

svn path=/trunk/KDE/kdegraphics/okular/; revision=725660
2007-10-15 23:01:27 +00:00
Script Kiddy d5fcbc09a8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=724043
2007-10-11 08:09:20 +00:00
Pino Toscano 15155d8824 Rename the virtual closeDocument() to doCloseDocument(), and make it protected.
Added a non-virtual closeDocument() in the base Generator class: this way, particular closing routines can be implemented in the "low level" of a generator.
Apart the renaming, the logic of doCloseDocument() remains the same.

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=723046
2007-10-08 16:46:51 +00:00
Thomas Georgiou 5908d4e67d Compile. Thanks to hdh.
svn path=/trunk/KDE/kdegraphics/okular/; revision=721771
2007-10-06 03:08:55 +00:00