Commit graph

504 commits

Author SHA1 Message Date
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
Albert Astals Cid
23a61db873 Update authors file
svn path=/trunk/kdegraphics/kpdf/; revision=374980
2005-01-02 16:59:03 +00:00
Stephan Binner
5193d9ab3c Compile with srcdir!=builddir
svn path=/trunk/kdegraphics/kpdf/; revision=374977
2005-01-02 16:53:59 +00:00
Albert Astals Cid
256dade018 Annotatuions won't make it for 3.4
svn path=/trunk/kdegraphics/kpdf/; revision=374965
2005-01-02 16:23:49 +00:00
Stephan Binner
449ea39657 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdegraphics/kpdf/; revision=374963
2005-01-02 16:19:08 +00:00
Enrico Ros
3a8b826bf9 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
Compile fixes.

svn path=/trunk/kdegraphics/kpdf/; revision=374944
2005-01-02 15:33:18 +00:00
Enrico Ros
6e75cd1ff0 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
Compile fixes.

svn path=/trunk/kdegraphics/kpdf/; revision=374941
2005-01-02 15:18:50 +00:00
Enrico Ros
d0b406ad99 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
Fix compilation (include observer, not document for IDs)

svn path=/trunk/kdegraphics/kpdf/; revision=374933
2005-01-02 15:05:56 +00:00
Albert Astals Cid
d4644ab942 Copying kpdf_experiments into branch and reordering directories. Look there for the file naming map and file versioning. Please wait until the commit storm ends to report any bug. Albert and Enrico
Wrong include

svn path=/trunk/kdegraphics/kpdf/; revision=374930
2005-01-02 14:58:15 +00:00
Albert Astals Cid
fdaa03e90b Copying kpdf_experiments into branch and reordering directories. Look there for the file naming map and file versioning. Please wait until the commit storm ends to report any bug. Albert and Enrico
Build a bit :-D

svn path=/trunk/kdegraphics/kpdf/; revision=374929
2005-01-02 14:57:40 +00:00
Enrico Ros
d983cfdd76 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
Moved KPDFDocumentObserver in its own include file. Updated dependancies.

svn path=/trunk/kdegraphics/kpdf/; revision=374928
2005-01-02 14:55:14 +00:00
Enrico Ros
eee2673370 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
File namings change.

svn path=/trunk/kdegraphics/kpdf/; revision=374924
2005-01-02 14:37:49 +00:00
Enrico Ros
c25efeb7c4 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
Includes change.

svn path=/trunk/kdegraphics/kpdf/; revision=374922
2005-01-02 14:29:37 +00:00
Enrico Ros
ffe8ddaf9d Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico

svn path=/trunk/kdegraphics/kpdf/; revision=374920
2005-01-02 14:19:33 +00:00
Albert Astals Cid
af788a0b6c Copying kpdf_experiments into branch and reordering directories. Look there for the file naming map and file versioning. Please wait until the commit storm ends to report any bug. Albert and Enrico
svn path=/trunk/kdegraphics/kpdf/; revision=374914
2005-01-02 14:08:07 +00:00
Albert Astals Cid
3e5d5b4081 Fix typo in a comment
Add the X cross on pages that don't have the pixmap, helps the user see that there's nothing on that page because kpdf is "slow" and the page has not been rendered yet, not that it is empty because there's nothing on that pdf page, use with military_0604.pdf for example (google)

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374909
2005-01-02 13:40:40 +00:00
Albert Astals Cid
ee1fd5efeb Fix my cursor fix (i hope :D)
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374890
2005-01-02 11:50:38 +00:00
Enrico Ros
30649cfbb0 counting down seconds till Head merge
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374866
2005-01-02 10:55:01 +00:00
Enrico Ros
031844e84c gfx fix (small selection rects left on the page).
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374863
2005-01-02 10:46:33 +00:00
Albert Astals Cid
4ad59a899d ADD: Make kpdf aware of Find and GoToPage actions
FIX: Update cursor correctly when a link moves to a page and the cursor is over a link on that page

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374750
2005-01-01 21:50:34 +00:00
Albert Astals Cid
b20b0aeec5 Avoid warning abou key beign unused
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374733
2005-01-01 20:04:46 +00:00
Tobias Koenig
d67d3d16b0 Make kpdf aware of the /PageMode/FullScreen tag in PDF files, so it starts
in presentation mode when the flag is available.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374668
2005-01-01 15:44:44 +00:00
Tobias Koenig
6a3c3d6c97 Hide cursor in presentation mode after 3 seconds
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374489
2004-12-31 15:34:08 +00:00
Enrico Ros
2cd31678ce Implemented Tobias requests on presentation mode. Made them all
configurable. Presentation mode is fully configurable now (at least with
bools). We should remove some options in the future. Changed some bits in
configuration dialog's "general" page.
CCMAIL:tokoe@kde.org

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374340
2004-12-30 22:43:15 +00:00
Enrico Ros
5e13e0a1c1 Revered previous commit and hidden our menu entry.
Default "Settings->Full Screen Mode" entry remains and is visible in both
the Shell and when embedded in konqueror.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373859
2004-12-28 22:43:35 +00:00
Enrico Ros
571951fb1b Fix double Fullscreen item in menus (as reported by Albert)
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373830
2004-12-28 20:57:51 +00:00
Enrico Ros
207c2842cd more important items
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373816
2004-12-28 19:11:00 +00:00
Enrico Ros
160d6a4f7e Async generation fixes. I hope all segfaults and mutex overlocking have
been fixed. If someone finds one of those, please tell me.
Here are thread generator pros/cons:
- generation is ~20% slower
+ thumbnaillist or pageview scrolling is fast (never blocked anymore)
+ all UI feels so better and responsive
So:
o thumbnaillist will be all ASYNC.
o pageview will use ASYNC for _preloading_ next pages and a mixed A/S for
  scrolling/viewing the document
p previewwidget and others (searches, etc) are SYNC as obvious.
Btw now async generation is enabled everywhere.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373810
2004-12-28 18:50:11 +00:00
Enrico Ros
5136a86798 Asyncronous PDF Generator implementation. The threaded pixmap generation
is working and features an hyperLock BUG due to my ignorance.
What to expect: more responsiveness from the UI, preloading, 'really'
continous scrolling, bubblegum and naked penguins.
Gonna hount insects now.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373763
2004-12-28 16:06:11 +00:00
Enrico Ros
92c653cf55 Leak fix encrypted document opening.
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373695
2004-12-28 11:25:46 +00:00
André Wöbbeking
2fb64506de workaround for unsermake: add empty generator.cpp which only includes generator.moc
CCMAIL: coolo@kde.org

obviously automake can handle this. is this a bug or a missing feature in unsermake?

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373626
2004-12-27 23:30:59 +00:00
Albert Astals Cid
48b80d82e4 Fix leak
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373451
2004-12-26 22:34:50 +00:00
Albert Astals Cid
3b0cc84aaf - Update the cursor an wheelEvents
- Only put the pointingHandCursor where we are over a rect that is a link and not all the rects

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373440
2004-12-26 21:20:17 +00:00
Albert Astals Cid
ebdff63443 if there's no page over the cursor and we were showing the pointingHandCursor go back to the normal one
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373428
2004-12-26 19:23:44 +00:00
Enrico Ros
03ad75ea82 CVS_SILENT ++wishes;
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373127
2004-12-24 11:04:18 +00:00
Enrico Ros
6eb004c5eb sync
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373126
2004-12-24 11:02:34 +00:00
Enrico Ros
4502706beb Better policies for memory management. Auto memory clean when a document is
opened. More stuff for getting async generator to work. Leakfix.

Note: memory management coolness Vol.1 : now kpdf has memory profiles that
allow using up to xx% of the total memory and clip maximum usable memory to
a half of the free one. Example: an istance of kpdf is using all the
memory (as regular cache). You open some memory hungry app or another kpdf
and you'll see the first istance dropping cached pages (freeing memory!)
to leave room for the other app! It's dynamic, fast, avoids swap and
something cool from my programmer's viewpoint.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373123
2004-12-24 10:24:10 +00:00
Albert Astals Cid
41d4933460 Remove possible trigraph as per Scott Wheeler suggestion
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372828
2004-12-22 20:43:48 +00:00
Albert Astals Cid
174650af34 fix xpdf buffer overflow
By Dirk Mueller

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372821
2004-12-22 20:21:56 +00:00
Enrico Ros
16908b2f0c Changed pixmap requesting methods. Now each request is packed into a
PixmapRequest class. When requesting pixmaps, one or multiple requests are
sent to the Document that (frees memory as in current policy) and send each
PixmapRequest to the current Generator. Added a signal in generators to
notify the Document when a pixmap generation has finished.

PageView, ThumbnailsList, PreviewWidget have been unbroken after the memory
management commit. (mem management seems in pretty good shape..it's smart.)
Added 'visible widgets' list to those classes to speed up searching and
processing on visible widgets only.

Note: asyncronous pixmap requests can now be queued and we're getting very
close to the threaded generator.

Note2: Leakfixes and memory improvements.

Final NOTE: head merging is possible now, as all remaining work can be
considered bugfixes.. API is getting final. It will only change in xpdf
dep stuff, the already undefined Viewport object and some bits in
Generators.

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372787
2004-12-22 18:21:36 +00:00
Dirk Mueller
5d394eefb4 fix xpdf buffer overflow
svn path=/trunk/kdegraphics/kpdf/; revision=372724
2004-12-22 11:59:46 +00:00
Albert Astals Cid
c9dc4c5bc9 Commit the current changes of "authorship"
Enrico feel free to add your description on the main.cpp file and/or change your mail addreesses

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372585
2004-12-21 20:14:27 +00:00
Aaron J. Seigo
6511b29275 don't search after every single key press as that tends to freeze the gui
up nice and solid when viewing large PDFs, even on fast machines. instead
search after the user has paused typing

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=372580
2004-12-21 19:58:51 +00:00