Commit graph

3953 commits

Author SHA1 Message Date
Pino Toscano
9ac1f51e59 easier debug output
svn path=/trunk/KDE/kdegraphics/okular/; revision=732877
2007-11-04 23:33:43 +00:00
Pino Toscano
6e37c43c8d don't print the debug stuff between " and "
svn path=/trunk/KDE/kdegraphics/okular/; revision=732875
2007-11-04 23:33:05 +00:00
Pino Toscano
ca0f9184d2 export correctly
svn path=/trunk/KDE/kdegraphics/okular/; revision=732873
2007-11-04 23:31:36 +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
Pino Toscano
0b35107505 fix icons
svn path=/trunk/KDE/kdegraphics/okular/; revision=732755
2007-11-04 17:03:47 +00:00
Pino Toscano
9e5f8163f7 recalc correctly the width of the sidebar when changing the icon size or toggling the text
svn path=/trunk/KDE/kdegraphics/okular/; revision=732427
2007-11-03 20:48:10 +00:00
Albert Astals Cid
9033cfdec8 aZoomFitText is not created atm, so don't try to update it
svn path=/trunk/KDE/kdegraphics/okular/; revision=732304
2007-11-03 12:58:46 +00:00
Pino Toscano
e789814651 use the 'cpu' icon
svn path=/trunk/KDE/kdegraphics/okular/; revision=732278
2007-11-03 12:03:21 +00:00
Pino Toscano
02e7c0abfb disable the "fit to text" zoom option, not yet implemented
svn path=/trunk/KDE/kdegraphics/okular/; revision=732156
2007-11-02 23:23:06 +00:00
Pino Toscano
6ae58b8250 properly pass a directory
svn path=/trunk/KDE/kdegraphics/okular/; revision=732148
2007-11-02 23:00:38 +00:00
Pino Toscano
30855b4e2b remove a deprecated from KIntNumInput
svn path=/trunk/KDE/kdegraphics/okular/; revision=732138
2007-11-02 21:56:52 +00:00
Pino Toscano
616d587c2f don't crash when trying to mapping an invalid proxy index in the group proxy model
svn path=/trunk/KDE/kdegraphics/okular/; revision=732110
2007-11-02 20:21:53 +00:00
Pino Toscano
b66872679e change strings to be like used everywhere else
svn path=/trunk/KDE/kdegraphics/okular/; revision=731837
2007-11-02 00:32:22 +00:00
Pino Toscano
36958659a5 Add very short descriptions for the "Rotate left" and "Rotate right" actions, so they take less space when added in the toolbar.
svn path=/trunk/KDE/kdegraphics/okular/; revision=731834
2007-11-02 00:07:32 +00:00
Pino Toscano
d51d279afb Make it possible to choose the size for the icons in the sidebar, by choosing it in the popup menu of the sidebar itself.
CCBUG: 151205

svn path=/trunk/KDE/kdegraphics/okular/; revision=731824
2007-11-01 22:58:09 +00:00
Laurent Montel
8702899c83 Fix separator
svn path=/trunk/KDE/kdegraphics/okular/; revision=731764
2007-11-01 20:10:05 +00:00
Pino Toscano
1cd4ae0a3e When reloading, properly remember the state of the sidebar.
CCBUG: 151130

svn path=/trunk/KDE/kdegraphics/okular/; revision=731721
2007-11-01 17:52:47 +00:00
Pino Toscano
2340d9c6d8 Save the rotation of the document, so when reopening the document the last rotation is kept.
This also fixed the problem of the lost rotation when reloading because of document change.

CCBUG: 151130

svn path=/trunk/KDE/kdegraphics/okular/; revision=731697
2007-11-01 16:15:34 +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
Christian Ehrlicher
ec72d7e654 mingw compile++
warnings--

svn path=/trunk/KDE/kdegraphics/okular/; revision=731467
2007-10-31 19:44:35 +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
Pino Toscano
6d375af868 Move all the bookmarking stuff into the BookmarkManager, that now updates the Document observers automatically.
svn path=/trunk/KDE/kdegraphics/okular/; revision=730404
2007-10-28 18:31:33 +00:00
Pino Toscano
a2ff1d85fd disable the "construct again the same annotation", it seems too confusing
svn path=/trunk/KDE/kdegraphics/okular/; revision=730290
2007-10-28 11:14:41 +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
Oswald Buddenhagen
77801a028d KConfig* API overhaul. only cosmetics, so don't panic.
KConfigBase:
- remove separator argument from list entry reading/writing functions
- introduce {read,write}XdgListEntry()
- kill readPathListEntry(), add readPathEntry() overload
  instead. the default value is not optional any more, as it defines the
  return type. this is consistent with the readEntry() functions.
- rename clean() => markAsClean(), remove rollback()
- rename ConfigState => AccessMode, getConfigState() => accessMode()
- rename {entry,group}IsImmutable() => is{Entry,Group}Immutable()
- remove NLS alias to Localized

KConfig:
- remove setGroup() & group()
- reshuffle OpenFlag enum, introduce NoCascade for symmetry
- remove setExtraConfigFiles() alias to addConfigSources()

KConfigGroup:
- inherit KConfigBase::deleteGroup() overloads
- make convertToQVariant() private, it will probably change somehow

- KConfig & KConfigGroup: deprecate entryMap()
- remove bogus declarations: KConfigGroup::setReadDefaults(),
  KConfig::readEntryUntranslated()
- apidox
- reshuffle the declarations in the headers


svn path=/trunk/KDE/kdegraphics/okular/; revision=728852
2007-10-24 13:08:37 +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
Oswald Buddenhagen
a99df4c192 follow path entry changes - auto-port, reviewed, not tested
svn path=/branches/work/kconfig_new_take3/KDE/kdegraphics/okular/; revision=728208
2007-10-22 18:21:51 +00:00
Pino Toscano
cd62fb8d6a icon renamings:
- find-next -> edit-find-next
- find-previous -> edit-find-previous

svn path=/trunk/KDE/kdegraphics/okular/; revision=727831
2007-10-21 21:40:12 +00:00
Pino Toscano
714952d5cf Titus Laska asked me to being removed from the list of the documentation authors.
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=727007
2007-10-19 12:57:29 +00:00
Pino Toscano
fb825ff1d4 add a form widget controller to prepare the pageview to possible changes when the content in a form widget changes
svn path=/trunk/KDE/kdegraphics/okular/; revision=726788
2007-10-18 22:09:49 +00:00
Pino Toscano
7f44aafa94 correctly hide the form widgets when a widget is focused
svn path=/trunk/KDE/kdegraphics/okular/; revision=726769
2007-10-18 20:35:34 +00:00
Pino Toscano
b975359158 make print preview working again
(of course, just for few document types, as QPrinter sucks and kdeprint is too good)

svn path=/trunk/KDE/kdegraphics/okular/; revision=726764
2007-10-18 20:25: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
Albert Astals Cid
c68ae02dcc this is a dummy commit to check if i still can commit as i'm having problems commiting to www/media, but while at it i update the C year and mail :-D
svn path=/trunk/KDE/kdegraphics/okular/; revision=724219
2007-10-11 18:57:28 +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
36e6e85b46 Make the text of the values in the Properties dialog selectable using mouse.
BUG: 150293

svn path=/trunk/KDE/kdegraphics/okular/; revision=723800
2007-10-10 18:41:10 +00:00
Pino Toscano
4060ef669e Make the document closing a bit more safe wrt internal threading - the closing waits for the background threads, to avoid aving them running with stale stuff.
This affects all the generators that use the internal generator threading, own threading models have to be fixed properly.

svn path=/trunk/KDE/kdegraphics/okular/; revision=723161
2007-10-08 21:49:27 +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
Pino Toscano
8ff3d1d705 more use of standard actions
svn path=/trunk/KDE/kdegraphics/okular/; revision=722702
2007-10-07 23:09:08 +00:00
Pino Toscano
0b26a91f1f use the standard action names
svn path=/trunk/KDE/kdegraphics/okular/; revision=722687
2007-10-07 22:21:13 +00:00
Pino Toscano
a580378469 no need for the PageViewToolBar to have the mouse tracking enabled
svn path=/trunk/KDE/kdegraphics/okular/; revision=722555
2007-10-07 15:30:02 +00:00
Pino Toscano
5e0c1a1671 hm, we always need to 'transform' all the annotations, so the internal data are (re)set correctly
svn path=/trunk/KDE/kdegraphics/okular/; revision=722543
2007-10-07 15:10:58 +00:00
Pino Toscano
b321f9ea21 when adding a rotated annotation to a rotated page, rotate its base coordinates to 0-degrees, then rotate again all its stuff correctly
svn path=/trunk/KDE/kdegraphics/okular/; revision=722456
2007-10-07 11:00:57 +00:00
Pino Toscano
b654434a0e add private helpers to properly transform the base coordinates of an annotation
svn path=/trunk/KDE/kdegraphics/okular/; revision=722451
2007-10-07 10:52:05 +00:00
Pino Toscano
8d2b86906e okular -> graphics-viewer-document
svn path=/trunk/KDE/kdegraphics/okular/; revision=722448
2007-10-07 10:44:59 +00:00
Albert Astals Cid
498c0fc0e0 QPixmap::toImage does not always give us QImage::Format_ARGB32_Premultiplied so enforce it
svn path=/trunk/KDE/kdegraphics/okular/; revision=722225
2007-10-06 23:04:28 +00:00
Pino Toscano
e38e9b397b no more need to show the 'debug' config page
svn path=/trunk/KDE/kdegraphics/okular/; revision=722138
2007-10-06 17:54:33 +00:00
Pino Toscano
61a5cee757 revert nonsense
svn path=/trunk/KDE/kdegraphics/okular/; revision=721905
2007-10-06 09:07:18 +00:00