Commit graph

546 commits

Author SHA1 Message Date
Enrico Ros 162d1a9cf9 CVS_SILENT commented out debug stuff. it works.
svn path=/trunk/kdegraphics/kpdf/; revision=377070
2005-01-09 23:45:43 +00:00
Enrico Ros 6dd95c9e06 Viewport MOD 1. Implemented the DocumentViewport class, owned by Document.
A const reference may be asked. When set all DocumentObservers will be
notified so they can update their gfx if needed. Converted TOC, Links
to the new usage. DocumentViewport can be saved/restored to/from QString
so it can be asked as metadata and saved on document's XML. When loading
a document the viewport is restored exactly where it was when the document
was closed. More fixes with Viewport class. Swapped groupboxes in Perform
dialog. Changed members naming in DocumentObservers and inherited classes.
PageView and ThumbnailsList now linked.

Still regressions / TODOs about the Viewport thing.

svn path=/trunk/kdegraphics/kpdf/; revision=377066
2005-01-09 23:37:07 +00:00
Tobias Koenig 3e317aab2f Add some variants of the basic transitions to the default transition menu.
svn path=/trunk/kdegraphics/kpdf/; revision=377061
2005-01-09 23:23:37 +00:00
Albert Astals Cid eef18e87b7 Update
svn path=/trunk/kdegraphics/kpdf/; revision=377016
2005-01-09 21:55:56 +00:00
Albert Astals Cid aca830739f Link to Xft libs
svn path=/trunk/kdegraphics/kpdf/; revision=376981
2005-01-09 20:20:08 +00:00
Jakub Stachowski f69c54b8a1 Restore old way of finding fonts (xpdfrc and hardcoded dirs) as backup
when fontconfig cannot find font or returns .pcf.gz. It may be removed again
when i find way to force fontconfig to match only truetype or type1 font.

svn path=/trunk/kdegraphics/kpdf/; revision=376970
2005-01-09 19:28:43 +00:00
Enrico Ros ecef2e9995 Gentoo compile fix. Using XFree 4.3.0, FontConfig 2.2.3, Freetype 2.1.9.
svn path=/trunk/kdegraphics/kpdf/; revision=376954
2005-01-09 18:49:43 +00:00
Albert Astals Cid 84cd9eb564 Terminal=0 -> Terminal=false
Add a ; add the end of Categories list
Blame icefox scripts if that is not correct

svn path=/trunk/kdegraphics/kpdf/; revision=376909
2005-01-09 16:59:04 +00:00
Albert Astals Cid 59a06e7da7 KPDFLinkBrowse( QString url ) { m_url = url; } -> KPDFLinkBrowse( const QString &url ) { m_url = url; }
Comment a unused variable so we don't get the warning

svn path=/trunk/kdegraphics/kpdf/; revision=376907
2005-01-09 16:56:21 +00:00
Jakub Stachowski 7713a20646 Use Xft for searching for external fonts instead of hard-coded directories.
svn path=/trunk/kdegraphics/kpdf/; revision=376902
2005-01-09 16:23:26 +00:00
Albert Astals Cid 9f39bfb756 Better search of non latin-1 characters (2)
svn path=/trunk/kdegraphics/kpdf/; revision=376534
2005-01-08 17:23:47 +00:00
Albert Astals Cid b901d81bb5 Better search of non latin-1 characters
svn path=/trunk/kdegraphics/kpdf/; revision=376531
2005-01-08 17:13:36 +00:00
Jakub Stachowski 6589342bf5 Fix copying non-latin1 chars when xpdfrc does not exist.
svn path=/trunk/kdegraphics/kpdf/; revision=376506
2005-01-08 16:21:43 +00:00
Albert Astals Cid d42321176a Render correctly Type 1 as CID fonts
Improves font rendering of fireforx nytimes pdf
BUG: 96085
CCMAIL: 95985@bugs.kde.org

svn path=/trunk/kdegraphics/kpdf/; revision=376349
2005-01-08 00:13:47 +00:00
Enrico Ros 61eaf43b54 Implemented all missing PDF 1.4 transitions. Added: blinds(2), box(2),
wipe(4), dissolve(1), glitter(4). Between parenthesis the number of
variants. Try it on (Tobias Koenig's testcase):
http://robotics.dei.unipd.it/~koral/KDE/transition_test.pdf
Fixuifiles script on configuration dialogs, icons in Performance Dialog,
fixed spacing on dialogs to look the same way.

svn path=/trunk/kdegraphics/kpdf/; revision=376348
2005-01-08 00:12:08 +00:00
Enrico Ros 6e13b8852f CVS_SILENT update TODO list to put in evidence current status, bugs that
need to be fixed and features to implement for a good+stable release.

svn path=/trunk/kdegraphics/kpdf/; revision=376182
2005-01-07 17:57:16 +00:00
Nicolas Goutte 39c7d814f9 As kpdf has a .rc file, rc.cpp needs to be used for the "messages" target
(Also do not delete rc.cpp, as it is part of the target dependencies.)

svn path=/trunk/kdegraphics/kpdf/; revision=376119
2005-01-07 15:29:39 +00:00
Enrico Ros 1051d4b909 FixCrash 3/3: More decoupling between PDFGenerator and KPDFOutputDevice
classes (moved code between classes). Threading stuff fixed. Add console
debug output if something threading related goes wrong.
BUG: 96274

svn path=/trunk/kdegraphics/kpdf/; revision=376087
2005-01-07 13:13:58 +00:00
Enrico Ros e06c3f4c18 FixCrash 2/3: getMetaData modified. mutex locks. performance fix for TOC
generation (was 50 times slower after the all-in-one generation patch)

svn path=/trunk/kdegraphics/kpdf/; revision=376083
2005-01-07 13:07:29 +00:00
Enrico Ros 4b86155caf FixCrash 1/3: comments/notes.
svn path=/trunk/kdegraphics/kpdf/; revision=376081
2005-01-07 13:03:10 +00:00
Stephan Kulow 4fd3493a03 non-recursive makes need special dependencies
svn path=/trunk/kdegraphics/kpdf/; revision=375674
2005-01-05 14:08:31 +00:00
Tobias Koenig 15fc647b59 CVS_SILENT: updated
svn path=/trunk/kdegraphics/kpdf/; revision=375461
2005-01-04 14:30:39 +00:00
Tobias Koenig 49fc18686b Euqalize the order of the zoom actions, kdvi/kghostview/kview/ksvgview do it the same
svn path=/trunk/kdegraphics/kpdf/; revision=375457
2005-01-04 14:22:46 +00:00
Tobias Koenig 98000ff903 Add some nice features for presentation mode:
- cursor modes: visible, hidden, hidden with delay
  - automatic advance
  - loop on last page
  - default transition

I know it's quite late in the release cycle, but the code is stable and kpdf rocks!

svn path=/trunk/kdegraphics/kpdf/; revision=375353
2005-01-03 23:31:40 +00:00
Albert Astals Cid abdc236de9 Updated following coolo's suggestion, hope the pot file now includes all the messages
svn path=/trunk/kdegraphics/kpdf/; revision=375340
2005-01-03 22:13:56 +00:00
Albert Astals Cid 50a8450174 More reorganization, needed so that the binary name does not clashes with an "old" directory
svn path=/trunk/kdegraphics/kpdf/; revision=375331
2005-01-03 21:59:57 +00:00
Enrico Ros 7e549f496e Sync with mates.
svn path=/trunk/kdegraphics/kpdf/; revision=375329
2005-01-03 21:56:41 +00:00
Albert Astals Cid 47db6126c7 When on non continous mode and using Up-key to go a page up, put the previous page at the bottom and not at the top
svn path=/trunk/kdegraphics/kpdf/; revision=375288
2005-01-03 19:48:53 +00:00
Enrico Ros 208b6a5cf3 Added a bottom toolbar to the thumbnailsList to enable/disable thumbnails
filtering and similar options (toolbar is not created now). Changed
Document::openDocument(..) functions order. Restore last active page when
opening an already viewed pdf. Fix margins around pages in all modes.
Presentation: page change by clicking on the round 'wheel' indicator too.
Updated TODO.

svn path=/trunk/kdegraphics/kpdf/; revision=375229
2005-01-03 15:51:05 +00:00
Enrico Ros 451134e54b Fixing the same bug ThumbnailList had about visiblity list.
svn path=/trunk/kdegraphics/kpdf/; revision=375104
2005-01-03 01:10:27 +00:00
Enrico Ros a6a2b7a0b5 Shame on me!! Why the hell I added visibility list without checking the
code first ??? (grr.. Thanks Albert)

svn path=/trunk/kdegraphics/kpdf/; revision=375099
2005-01-03 01:01:11 +00:00
Albert Astals Cid 90b663b7ca Fix typos, correct orderig a bit
svn path=/trunk/kdegraphics/kpdf/; revision=375091
2005-01-03 00:45:47 +00:00
Albert Astals Cid fb6e540547 Save and read the bookmarks to/from a file when opening/closing a document
svn path=/trunk/kdegraphics/kpdf/; revision=375083
2005-01-03 00:28:46 +00:00
Enrico Ros ad1cc07ccd This is the correct order of deleting things now that a generator thread
may be running.

svn path=/trunk/kdegraphics/kpdf/; revision=375082
2005-01-03 00:24:59 +00:00
Enrico Ros ca3f3b8ec3 Removed the 'Bugs fixed list' since they're now marked as fixed on BKO.
svn path=/trunk/kdegraphics/kpdf/; revision=375079
2005-01-03 00:04:39 +00:00
Enrico Ros d1cdcd5f1d SearchWidget back to work
svn path=/trunk/kdegraphics/kpdf/; revision=375078
2005-01-02 23:57:41 +00:00
Tobias Koenig 1e0f8af1b5 Tagged the documentinfo -> domtree item
svn path=/trunk/kdegraphics/kpdf/; revision=375068
2005-01-02 22:54:44 +00:00
Tobias Koenig b10d10a2bd Convert 'struct DocumentInfo' into a QDomDocument for more flexible information
passing.

svn path=/trunk/kdegraphics/kpdf/; revision=375065
2005-01-02 22:37:52 +00:00
Tobias Koenig 833ae4800f The compiler needs the PageTransition definition here... (gcc 3.4 complains about it)
svn path=/trunk/kdegraphics/kpdf/; revision=375061
2005-01-02 22:33:28 +00:00
Enrico Ros 87050538e5 fix: don't create a PageTransition object if there is no transition
specified or the transition is 'replace'.

svn path=/trunk/kdegraphics/kpdf/; revision=375057
2005-01-02 22:25:49 +00:00
Enrico Ros 92ad74aa2a notes
svn path=/trunk/kdegraphics/kpdf/; revision=375056
2005-01-02 22:14:26 +00:00
Enrico Ros 1550cedccd Updated TODO (added items in progress) and README.
svn path=/trunk/kdegraphics/kpdf/; revision=375053
2005-01-02 21:49:27 +00:00
Tobias Koenig 3d439fbf78 Test whether we show a real page or the intro, otherwise kpdf crashes
svn path=/trunk/kdegraphics/kpdf/; revision=375045
2005-01-02 21:05:51 +00:00
Enrico Ros 1c6feefdc7 Added tobias work. Added more TODOs.
svn path=/trunk/kdegraphics/kpdf/; revision=375044
2005-01-02 20:59:48 +00:00
Enrico Ros 148efda52f I love transitions.
svn path=/trunk/kdegraphics/kpdf/; revision=375036
2005-01-02 20:39:41 +00:00
Tobias Koenig f0d84a181f KPDF reads the transition effects from the PDF document now.
svn path=/trunk/kdegraphics/kpdf/; revision=375033
2005-01-02 20:32:58 +00:00
Albert Astals Cid d7ac1ce38f Put back the RMB menu
svn path=/trunk/kdegraphics/kpdf/; revision=374986
2005-01-02 17:24:50 +00:00
Jonathan Riddell 58d334a702 change clear search icon back to standard one used elsewhere in KDE
svn path=/trunk/kdegraphics/kpdf/; revision=374985
2005-01-02 17:16:53 +00:00
Enrico Ros a658b7ac28 Fix --enable-final compilation.
svn path=/trunk/kdegraphics/kpdf/; revision=374984
2005-01-02 17:16:29 +00:00
Stephan Binner 52e763dbf0 CVS_SILENT i18n style guide fix
svn path=/trunk/kdegraphics/kpdf/; revision=374983
2005-01-02 17:12:35 +00:00