Commit graph

443 commits

Author SHA1 Message Date
Albert Astals Cid 081559252f Remove a few return and add elses 2012-09-19 22:44:18 +02:00
Jaydeep Solanki 8765a06f52 Add warnings about --unique errors
BUGS: 306312
REVIEW: 106476
FIXED-IN: 4.10.0
2012-09-19 22:40:06 +02:00
Fabio D'Urso d22ad1c5f7 Do not show the Save changes prompt before the Open file dialog
Since 6d6a3bfce5, files are opened in a
new Shell instance and the current one is unaffected, therefore changes
to the current file do not get lost any more.
2012-09-08 19:42:17 +02:00
Jaydeep Solanki 6d6a3bfce5 Open a new Shell when opening a new file
BUGS: 166645
FIXED-IN: 4.10.0
REVIEW: 105965
GUI
2012-09-04 20:04:01 +02:00
Fabio D'Urso 77af86fddc Do not show the save changes prompt twice if the main window is closed
Call m_part->closeUrl with promptToSave=false in the Shell dtor, so that
the save changes prompt is not shown again (it's already shown because
of Shell::queryClose)
2012-08-22 13:20:32 +02:00
Fabio D'Urso 6d011cd2f0 Do not show the save changes prompt twice if the main window is closed
Call m_part->closeUrl with promptToSave=false in the Shell dtor, so that
the save changes prompt is not shown again (it's already shown because
of Shell::queryClose)
2012-08-22 00:42:47 +02:00
Albert Astals Cid 09067debaf Make --unique also raise the window
BUGS: 304526
FIXED-IN: 4.10.0
2012-08-22 00:41:31 +02:00
Albert Astals Cid 02b04e7e9b Make the openRecent just be open recent
Stop being too smart for own our good, try to merge open and openRecent actions in just one action
confuses the hell out of people, so let's KISS and just make open recent be open recent
BUGS: 302358
BUGS: 251335
FIXED-IN: 4.10.0
2012-08-21 00:35:41 +02:00
Albert Astals Cid aa042bd0f4 Close the url on shell destruction
Otherwise we end up in a busy loop on part deletion if there are pending requests
Should not happen but if this fixes it don't see the need to lose time investigating
why given the number of todo things
2012-08-18 18:38:28 +02:00
Albert Astals Cid d41f00e4bb Close the url on shell destruction
Otherwise we end up in a busy loop on part deletion if there are pending requests
Should not happen but if this fixes it don't see the need to lose time investigating
why given the number of todo things
2012-08-18 18:36:30 +02:00
Albert Astals Cid 035c32996e Do not delete the Part on the Shell destructor
The machinery in KParts/QObject is already doing it and this way we don't get the
KXMLGUIClient::~KXMLGUIClient: 0x15637528 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
warning

I'm not sure if calling this a kdelibs bug yet or not though :D

BUGS: 261538
FIXED-IN: 4.9.1
2012-08-12 13:56:01 +02:00
Albert Astals Cid 4eee1f3479 Do not delete the Part on the Shell destructor
The machinery in KParts/QObject is already doing it and this way we don't get the
KXMLGUIClient::~KXMLGUIClient: 0x15637528 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
warning

I'm not sure if calling this a kdelibs bug yet or not though :D

BUGS: 261538
FIXED-IN: 4.9.1
2012-08-12 13:50:41 +02:00
Fabio D'Urso ac695d448d Do not close the document in Shell::queryClose()
Because if we do, Shell::saveProperties will find it closed and won't
save the session correctly.

BUG: 300985
2012-06-05 00:49:03 +02:00
Fabio D'Urso e3f1c388de Ask "Save annotation changes?" if there are unsaved annotations that cannot be saved locally
This patch turns Okular into a ReadWritePart. Annotation editing is always
disabled if we're loaded as ReadOnlyPart, no matter the document type.

REVIEW: 105020
2012-05-23 23:43:44 +02:00
Script Kiddy 76f96438e7 SVN_SILENT made messages (.desktop file) 2012-01-29 11:39:01 +01:00
Aaron Seigo 63a0b4f3cb close the window currently viewing when selecting Quit, as per the KDE ui standards 2011-11-09 16:36:13 +01:00
Script Kiddy cfd881c2ee SVN_SILENT made messages (.desktop file) 2011-08-16 15:21:46 +02:00
Montel Laurent f9f65979f5 Normalize signals/slots 2011-07-31 21:22:04 +02:00
Albert Astals Cid 328efbc562 Do not crash if the part could not be found 2011-06-02 20:26:20 +01:00
Script Kiddy 84cc400fd0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1231700
2011-05-13 07:09:13 +00:00
Script Kiddy b815d7356d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1231185
2011-05-10 10:01:23 +00:00
Script Kiddy 805a8e7f89 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230986
2011-05-09 07:42:08 +00:00
Script Kiddy 64b8965b35 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230852
2011-05-08 07:37:44 +00:00
Script Kiddy 1b38da667b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230663
2011-05-06 07:24:37 +00:00
David Palacio e45e7d8594 Make the file dialog accept directories if a generator offers to handle them.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230524
2011-05-05 20:52:46 +00:00
Albert Astals Cid 054623a581 Obey the page argument when using the unique option
Patch by Victor Blazquez

svn path=/trunk/KDE/kdegraphics/okular/; revision=1218021
2011-01-30 16:40:51 +00:00
Aurélien Gâteau 7ba5a5e30a Revert "KStandardAction::showMenubar => showHideMenubar"
Shouldn't have pushed this, sorry.

svn path=/trunk/KDE/kdegraphics/okular/; revision=1196649
2010-11-13 20:12:35 +00:00
Aurélien Gâteau a60cff7901 KStandardAction::showMenubar => showHideMenubar
svn path=/trunk/KDE/kdegraphics/okular/; revision=1195401
2010-11-10 23:30:45 +00:00
Laurent Montel 28fff2c988 Install as programs
svn path=/trunk/KDE/kdegraphics/okular/; revision=1187515
2010-10-19 17:00:35 +00:00
Albert Astals Cid 31dadc6ea3 forwardport SVN commit 1185956 by aacid:
rembemer the values of m_menuBarWasShown and m_toolBarWasShown
Patch based in a patch by Victor Blazquez

svn path=/trunk/KDE/kdegraphics/okular/; revision=1185957
2010-10-14 19:22:55 +00:00
David Faure 605c31e27c Make executable the Type=Application .desktop files we install,
so that they can be used even from a KDE running in another prefix (http://markmail.org/message/4p3krovtnzwx35zd)

svn path=/trunk/KDE/kdegraphics/okular/; revision=1182571
2010-10-04 23:51:07 +00:00
Script Kiddy 34cef01317 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1150134
2010-07-15 07:11:30 +00:00
Script Kiddy ff913d232f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108213
2010-03-28 07:14:45 +00:00
Script Kiddy bf36e688a5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1085570
2010-02-05 13:33:34 +00:00
Albert Astals Cid 846a3e3c83 Do the same treatment to paths passed from the command line
when we are starting a new shell and when we are passing the argument
through dbus
BUGS: 205076

svn path=/trunk/KDE/kdegraphics/okular/; revision=1067205
2009-12-29 08:38:49 +00:00
Script Kiddy c2390f3197 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1065022
2009-12-22 10:04:12 +00:00
Script Kiddy d819d858bd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1053122
2009-11-23 10:50:42 +00:00
Script Kiddy 1f786797a6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1051910
2009-11-20 10:32:28 +00:00
Pino Toscano a355d9fea4 isolate the argument -> url conversion code in an own function in the ShellUtils namespace
make the function able to be reused in unit tests (ie adding a function hook for the filename existance check)

svn path=/trunk/KDE/kdegraphics/okular/; revision=1032962
2009-10-08 23:48:04 +00:00
Pino Toscano d5dd8fce01 when we remove the file:/ from the argument, do the precent-encoding removal to avoid being percent-encoded more than needed
based on a patch by Albert, slightly changed + unit test by me
BUG: 207461

svn path=/trunk/KDE/kdegraphics/okular/; revision=1032944
2009-10-08 22:12:21 +00:00
Script Kiddy 309a641160 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1024784
2009-09-17 09:31:35 +00:00
Script Kiddy 3d403bc66b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1020829
2009-09-07 10:25:57 +00:00
Script Kiddy 00b149b380 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=997443
2009-07-15 20:30:11 +00:00
Pino Toscano 30a1f789f3 reencode the url from the argument, 'file:/' at the start (for local files)
then, do few checks to better strip the correct "ref" from other '#' in the path
BUG: 195909

svn path=/trunk/KDE/kdegraphics/okular/; revision=992393
2009-07-06 18:35:39 +00:00
Script Kiddy 9f0d409189 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=972275
2009-05-24 13:44:10 +00:00
Script Kiddy af1302e36b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=969584
2009-05-18 13:49:56 +00:00
Pino Toscano 37403a031a Small rework on the system used to pass parameters of the document:
- on command line, properly read the URL ref ('#foobar' at the end), avoiding a KCmdLineArgs behaviour which encodes it as part of the file name
- pass what was specified as ref or the page (as specified with -p/--page) to the kpart
- make the okularpart take out the ref from the URL it opens and then:
  a) if it is a number, assume it is the destination page number
  b) otherwise, use that string as named destination

CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=969227
2009-05-17 18:08:43 +00:00
Script Kiddy fa136bc6db SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=944478
2009-03-25 15:35:35 +00:00
Christian Ehrlicher be51224a3c KUrl::path() -> KUrl::toLocalFile() - fixes
svn path=/trunk/KDE/kdegraphics/okular/; revision=941468
2009-03-19 17:12:27 +00:00
Script Kiddy febf292a6f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=936841
2009-03-08 14:39:28 +00:00
Script Kiddy 878fce954f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=917792
2009-01-28 15:05:40 +00:00
Nick Shaforostoff 54e068e342 add fine-grained categories in (compliance with xdg menu spec)
svn path=/trunk/KDE/kdegraphics/okular/; revision=915866
2009-01-24 01:00:48 +00:00
Pino Toscano 5c200e59cb KXmlGuiWindow is smart and tracks the visibility of toolbars and menubar, so just show/hide those directly instead of triggers their actions.
This should fix hopefully for all their toggling, also between various runs.

svn path=/trunk/KDE/kdegraphics/okular/; revision=913715
2009-01-19 19:13:32 +00:00
Pino Toscano 03e8a1bc7e Make the window size at first startup big as 3/4 of the available screen size.
This currently does not seem to work as it should, because the max size is really contrained to 2/3 of the screen size, as per Qt behaviour (or bug?)
Anyway, even 2/3 is better than before.

svn path=/trunk/KDE/kdegraphics/okular/; revision=912463
2009-01-17 13:39:21 +00:00
Pino Toscano d77c997f94 Document that we can read from stdin when called with '-' as command line argument.
BUG: 175653

svn path=/trunk/KDE/kdegraphics/okular/; revision=906809
2009-01-06 21:58:38 +00:00
Christian Ehrlicher ebb92ad08e add win32 app icons where needed and possible
svn path=/trunk/KDE/kdegraphics/okular/; revision=904611
2009-01-02 16:22:10 +00:00
Script Kiddy fdf4e64fae SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=899359
2008-12-20 14:40:16 +00:00
Albert Astals Cid e8804c18f6 Update m_showMenuBarAction on the proper time
BUG: 178020

svn path=/trunk/KDE/kdegraphics/okular/; revision=898742
2008-12-18 22:08:39 +00:00
Script Kiddy 2eecd577ed SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=898588
2008-12-18 12:50:32 +00:00
Albert Astals Cid acf5922dd4 correctly restore m_showMenuBarAction status on startup
svn path=/trunk/KDE/kdegraphics/okular/; revision=894123
2008-12-07 23:33:15 +00:00
Pino Toscano 5d94111ce8 i18n fixes
svn path=/trunk/KDE/kdegraphics/okular/; revision=886194
2008-11-18 18:50:50 +00:00
Pino Toscano e5b13e2d5b claim support for application/vnd.kde.okular-archive in the correct way, ie via .desktop files
thanks Albert for waking me up

svn path=/trunk/KDE/kdegraphics/okular/; revision=884982
2008-11-16 13:19:35 +00:00
Pino Toscano 938ed4acfa claim support of the new application/vnd.kde.okular-archive mimetype, and check it where appropriate
svn path=/trunk/KDE/kdegraphics/okular/; revision=884851
2008-11-16 01:17:48 +00:00
Script Kiddy 2f35e0b6ed SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=884759
2008-11-15 18:56:39 +00:00
Laurent Montel dbd7fa12a9 Fix iterator
svn path=/trunk/KDE/kdegraphics/okular/; revision=882947
2008-11-11 18:24:06 +00:00
Pino Toscano 8583cda513 recent files: do not add '-' (aka stdin) when reading a document from it
svn path=/trunk/KDE/kdegraphics/okular/; revision=882131
2008-11-09 21:40:06 +00:00
Pino Toscano f108284296 Remove the "old" way of configuring the toolbars and just use the XMLGUI facilities.
This makes the toolbar editing safer.

BUGS: 168528, 171186

svn path=/trunk/KDE/kdegraphics/okular/; revision=870502
2008-10-12 16:28:57 +00:00
Nick Shaforostoff 50f9c25712 bring order back
Rafael:
new order contradicts with API docs:
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKXmlGuiWindow.html#e5ac6ec22a61a4d854600c0f5a41e8d4
if this is an exception (i.e. both docs and okular's calling order are fine),
then please add appropriate comment to the code.

also, I ask you to look into another problem: okular doesn't restore maximization on start.


CCMAIL:pino@kde.org
CCMAIL:ereslibre@kde.org


svn path=/trunk/KDE/kdegraphics/okular/; revision=868604
2008-10-06 18:34:28 +00:00
Nick Shaforostoff 601835fffb -call createGUI and setupGUI in proper order (see KXmlGuiWindow::setupGUI API doc)
-don't call setAutoSaveSettings() as it is called implicitly by kxmlgui system

the problem i was shooting at still doesn't solved though: maximization ain't restored properly.
it is saved correctly, but it seems that in restoreWindowSize calling KWindowSystem::setState doesn't do the job.
obviously, this must have smth to do with kparts framework.

CCMAIL:pino@kde.org



svn path=/trunk/KDE/kdegraphics/okular/; revision=868586
2008-10-06 17:39:30 +00:00
Pino Toscano bc966cb0f5 Add the --unique command line behaviour ala KDVI.
The "unique" instance is registered as "org.kde.okular".

BUG: 170151

svn path=/trunk/KDE/kdegraphics/okular/; revision=863380
2008-09-21 22:52:02 +00:00
Rafael Fernández López 269ef9b51a setupGUI goes before createGUI. Actions weren't properly updated (and for instance, the configure shortcuts menu entry wasn't shown, even with Keys
flag passed to setupGUI)

svn path=/trunk/KDE/kdegraphics/okular/; revision=855382
2008-08-31 16:09:34 +00:00
Rafael Fernández López 3bf585defb The save flag will try to load the state of the mainwindow when setupGUI is called. We always
need to call to createGUI before that (if no Create flag is passed to setupGUI, that isn't in
this case).

CCMAIL: pino@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=853433
2008-08-27 18:05:57 +00:00
Script Kiddy 9830f4e2aa SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=839175
2008-07-29 13:27:46 +00:00
Jakob Petsovits df5364da6c Copy Okular's app icon from Oxygen core as "okular",
in the hicolor namespace. Before, the non-specified
"graphics-viewer-document" icon was used, which caused
icon loaders from other toolkits not to find this icon
as they don't consider Oxygen by default.

Also update all the references that made use of the
"graphics-viewer-document" icon in the code and
the many .desktop files.

svn path=/trunk/KDE/kdegraphics/okular/; revision=819965
2008-06-12 18:51:36 +00:00
Script Kiddy 6048f67f48 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=815781
2008-06-02 15:15:51 +00:00
Laurent Montel 70513fa61e USe INSTALL_TARGETS_DEFAULT_ARGS
svn path=/trunk/KDE/kdegraphics/okular/; revision=813289
2008-05-27 11:08:26 +00:00
Script Kiddy 5ef72af455 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=808730
2008-05-17 12:47:22 +00:00
Script Kiddy da6f2d204e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=802309
2008-04-29 06:00:21 +00:00
Pino Toscano 1ed3928811 set the about data icon name in the right place
svn path=/trunk/KDE/kdegraphics/okular/; revision=801281
2008-04-26 09:10:12 +00:00
Friedrich W. H. Kossebau 56e1842069 set global program icon via KAboutData, not directly
svn path=/trunk/KDE/kdegraphics/okular/; revision=799282
2008-04-20 23:35:54 +00:00
Script Kiddy 3c387e94e9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=790023
2008-03-25 18:48:04 +00:00
Script Kiddy e81d64ff86 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=788506
2008-03-21 17:48:08 +00:00
Luboš Luňák a0e0a60258 Remove usage of QWidget::show[FullScreen|Maximized|Minimized|Normal](),
they do more then just change the state of the window and all these usage
cases were wrong (that is, all their usage).
For changing the state, use something like
window->setWindowState( window->windowState() | Qt::WindowFullScreen ); // set
window->setWindowState( window->windowState() & ~Qt::WindowFullScreen ); // reset
or simply use the new KToggleFullScreenAction::setFullScreen() helper.


svn path=/trunk/KDE/kdegraphics/okular/; revision=784333
2008-03-10 23:02:01 +00:00
Script Kiddy 936171d955 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=774940
2008-02-14 13:05:08 +00:00
Script Kiddy 28ef3c962f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=771981
2008-02-07 12:24:33 +00:00
Script Kiddy daad15e7d2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=767676
2008-01-28 14:23:23 +00:00
Script Kiddy 3e8a8d9d1d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=765166
2008-01-23 11:39:10 +00:00
Burkhard Lück 050d63153b unified the spelling of okular to Okular
svn path=/trunk/KDE/kdegraphics/okular/; revision=764676
2008-01-22 10:35:36 +00:00
Script Kiddy 0f9027a566 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=764259
2008-01-21 10:32:43 +00:00
Pino Toscano a0a3c239e2 Standardize our naming: Okular.
CCMAIL: okular-devel@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=763904
2008-01-20 15:35:19 +00:00
Script Kiddy c729c3d5db SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=758821
2008-01-09 10:38:24 +00:00
Stephan Binner c06deaf9fc i18n style guide fixes, the capitalization rules are explained on
http://developer.kde.org/documentation/standards/kde/style/basics/labels.html

svn path=/trunk/KDE/kdegraphics/okular/; revision=757596
2008-01-05 13:41:54 +00:00
Script Kiddy ff1e230a47 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=756424
2008-01-03 08:34:38 +00:00
Script Kiddy eea72c12c4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=755851
2008-01-02 08:28:33 +00:00
Pino Toscano 4a71603ab6 take the list of the supported mimetypes from the kpart .desktop, as they contain more mimetypes (including the compressed versions)
[the compressed versions are not in the "generator" .desktop files because okular can deal natively with any gzip- or bzip2- compressed version of the supported document types]

svn path=/trunk/KDE/kdegraphics/okular/; revision=755661
2008-01-02 00:37:51 +00:00
Script Kiddy c91bdf809c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=755336
2008-01-01 08:09:23 +00:00
Script Kiddy 4bc4f57855 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=753675
2007-12-28 07:59:25 +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 e3d71f162d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=747149
2007-12-11 07:45:22 +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 2cd01094a7 remove the 'lib' prefix from the okularpart
svn path=/trunk/KDE/kdegraphics/okular/; revision=744170
2007-12-02 21:02:57 +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
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
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
Craig Drummond 4863ab4e2d Fix parentless dialogs
svn path=/trunk/KDE/kdegraphics/okular/; revision=734688
2007-11-09 16:16:05 +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 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
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
Script Kiddy d5dc96cb3b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=720951
2007-10-04 05:56:53 +00:00
Pino Toscano 02d6dab204 adapt to the new icon names
svn path=/trunk/KDE/kdegraphics/okular/; revision=720180
2007-10-02 16:23:28 +00:00
Pino Toscano 211ab15c2e use KAboutData by value, and remove an old static method of the part
svn path=/trunk/KDE/kdegraphics/okular/; revision=719241
2007-09-30 16:52:27 +00:00
Script Kiddy 44dd16d127 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=717659
2007-09-27 09:33:48 +00:00
Albert Astals Cid 1b3945bfb4 generator_prefs shall not be the last settings option
svn path=/trunk/KDE/kdegraphics/okular/; revision=715686
2007-09-22 22:01:00 +00:00
Albert Astals Cid 46a6f7eb62 Make the about backend action appear in the correct place
svn path=/trunk/KDE/kdegraphics/okular/; revision=715265
2007-09-21 16:34:38 +00:00
Pino Toscano 8c060fb816 as starting directory in the open document dialog, use the path of the current document, not the one of the first file open
svn path=/trunk/KDE/kdegraphics/okular/; revision=714820
2007-09-20 17:30:41 +00:00
Script Kiddy 63b6301d12 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=714636
2007-09-20 05:45:54 +00:00
Script Kiddy 4c9b70db9d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=711908
2007-09-13 05:55:31 +00:00
Pino Toscano eaf827005b set the tooltip just once
svn path=/trunk/KDE/kdegraphics/okular/; revision=711306
2007-09-12 00:09:35 +00:00
Pino Toscano ef3769ea5b DocPath -> X-DocPath for .desktop of type Application
svn path=/trunk/KDE/kdegraphics/okular/; revision=709100
2007-09-06 15:07:23 +00:00
Pino Toscano 218b630460 port to the new library loading stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=706132
2007-08-29 14:16:06 +00:00
Script Kiddy a550d8c0d4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=705612
2007-08-28 07:29:37 +00:00
Pino Toscano 7e4b15542d Usability work on the toolbar:
- shorten the toolbar labels of the Previous/Next Page actions, and put them into the toolbar by default instead of the Back/Forward [history control]
- shorten the toolbar labels of the tool buttons
- remove the Open/Open recent button from the shell toolbar

svn path=/trunk/KDE/kdegraphics/okular/; revision=702549
2007-08-20 20:25:22 +00:00
Script Kiddy a688f5b331 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=702203
2007-08-20 07:38:48 +00:00
Script Kiddy b998bc9491 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=695423
2007-08-02 04:55:35 +00:00
Pino Toscano 9bbcbace43 in the remote case the shell cannot determine the mimetypes the okularpart can read, just filter any file instead of exiting with an error
svn path=/trunk/KDE/kdegraphics/okular/; revision=694038
2007-07-29 21:36:02 +00:00
Laurent Montel 2e59ada023 change XDG_APPS_DIR -> XDG_APPS_INSTALL_DIR, XDG_DIRECTORY_DIR->XDG_DIRECTORY_INSTALL_DIR, DBUS_INTERFACES_DIR->DBUS_INTERFACES_INSTALL_ DIR, DBUS_SERVICES_DIR->DBUS_SERVICES_INSTALL_DIR to have same naming convention as discussed with Alex.
svn path=/trunk/KDE/kdegraphics/okular/; revision=691222
2007-07-23 07:05:28 +00:00
Script Kiddy 0fc32d6b18 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=689368
2007-07-18 05:47:51 +00:00
Script Kiddy c1a3a10aa0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686774
2007-07-12 05:01:50 +00:00
Script Kiddy 94e66ff910 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=686331
2007-07-11 04:57:14 +00:00
Allen Winter 5110d1d3f2 remove kde4_automoc()
svn path=/trunk/KDE/kdegraphics/okular/; revision=686063
2007-07-10 14:11:49 +00:00
Script Kiddy ac29f76f55 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=684724
2007-07-07 04:51:50 +00:00
Chusslove Illich 968760cb6c Auto-conversion to new KCmdLineArgs/KAboutData/KComponentData API (trunk/KDE). Watch for the few remaining QString to QByteArray assignments that will not compile without extra specification (typically needs .toLocal8Bit() or .toUtf8()).
svn path=/trunk/KDE/kdegraphics/okular/; revision=682260
2007-07-02 08:52:55 +00:00
Script Kiddy 9fb2221299 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=679853
2007-06-25 05:24:26 +00:00
Script Kiddy 7c8a8bce4f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=678711
2007-06-22 05:13:04 +00:00
Script Kiddy 3211dbbaf5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=678319
2007-06-21 05:01:46 +00:00
Albert Astals Cid 7c92c4a497 Adapt to r676616
Start the part in dummy mode if one of the args we get passed is "Print/Preview"

svn path=/trunk/KDE/kdegraphics/okular/; revision=676617
2007-06-17 09:45:59 +00:00
Pino Toscano 4bc728d950 better check, in case of session restoring
svn path=/trunk/KDE/kdegraphics/okular/; revision=672273
2007-06-06 15:47:58 +00:00
Pino Toscano 2a1d70ab13 revert r672263 in okular, and do the cleanup in the proper place, otherwise we lose all the command line arguments
svn path=/trunk/KDE/kdegraphics/okular/; revision=672269
2007-06-06 15:33:17 +00:00
Laurent Montel 01f27ec687 Minor fix mem leak
svn path=/trunk/KDE/kdegraphics/okular/; revision=672263
2007-06-06 15:21:56 +00:00
Albert Astals Cid b883cbcfa6 The part starts in dummy mode (very few ui) by default
Can be deactivated using unsetDummyMode(), that is the first thing the okular shell does
that's useful because for example for print preview you don't want to embed all the okular ui to do the preview, you just want to see the ps

svn path=/trunk/KDE/kdegraphics/okular/; revision=671928
2007-06-05 20:49:00 +00:00
Pino Toscano a258885372 use the document interface, if available, to get the supported mimetypes
otherwise use an internal fileFormats() (polished and more correct now)

svn path=/trunk/KDE/kdegraphics/okular/; revision=668029
2007-05-24 20:41:29 +00:00
Script Kiddy 9984a73c33 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=667190
2007-05-22 05:16:03 +00:00
Script Kiddy 1d727e66f6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=662419
2007-05-08 05:06:32 +00:00
Script Kiddy 46781db872 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=658969
2007-04-29 05:00:55 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Albert Astals Cid b0339a4e40 fix some easy krazy issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=654317
2007-04-15 19:11:10 +00:00
Script Kiddy 2e5b353482 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=652113
2007-04-10 05:01:48 +00:00
Script Kiddy e54cfd797f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=651276
2007-04-07 04:57:03 +00:00
Albert Astals Cid 55a67a082e Each plugin installs a application desktop so that the supported mimetypes are exactly the ones supported by the plugins installed
svn path=/trunk/KDE/kdegraphics/okular/; revision=651194
2007-04-06 21:47:06 +00:00
Script Kiddy e46e391e7d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=650659
2007-04-05 04:45:45 +00:00
Pino Toscano ff25e151c5 new kdelibs API
svn path=/trunk/playground/graphics/okular/; revision=649300
2007-04-02 13:50:40 +00:00
David Faure 0c1b5314e9 Use standard mimetype names from shared-mime-info
svn path=/trunk/playground/graphics/okular/; revision=644959
2007-03-21 11:39:20 +00:00
Pino Toscano 9a10418505 move the about data in an own file, so it can be used from both the shell and the part
svn path=/trunk/playground/graphics/okular/; revision=641337
2007-03-10 23:45:12 +00:00
Pino Toscano 6d16cfd1f6 krazy issues
svn path=/trunk/playground/graphics/okular/; revision=641195
2007-03-10 13:51:47 +00:00
Pino Toscano a33baf4982 connect to the right signal
svn path=/trunk/playground/graphics/okular/; revision=640973
2007-03-09 16:17:45 +00:00
Pino Toscano 290ae2a264 really new KMainWindow API
svn path=/trunk/playground/graphics/okular/; revision=635975
2007-02-21 15:12:57 +00:00
Tobias Koenig fd73c59b97 Adapt to new KMainWindow API
svn path=/trunk/playground/graphics/okular/; revision=635671
2007-02-20 15:48:18 +00:00
Tobias Koenig e950a357d9 Make it compile with current SVN trunk
svn path=/trunk/playground/graphics/okular/; revision=635664
2007-02-20 15:25:05 +00:00
Pino Toscano beb8b93787 bump version to 0.5.82
svn path=/trunk/playground/graphics/okular/; revision=634987
2007-02-18 23:45:16 +00:00
Pino Toscano c40ccf4808 a simple plain list is enough
svn path=/trunk/playground/graphics/okular/; revision=631312
2007-02-07 17:25:51 +00:00
Albert Astals Cid 4586139282 Adapt to kdelibs changes
svn path=/trunk/playground/graphics/okular/; revision=628342
2007-01-29 20:18:39 +00:00
Pino Toscano ad036bf27a SVN_SILENT forgot this
svn path=/trunk/playground/graphics/okular/; revision=628219
2007-01-29 15:03:22 +00:00
Pino Toscano 5a81f6f920 - make the toolbar recent file action working again as kpdf
- move #include to the cpp
- kpdf -> okular

svn path=/trunk/playground/graphics/okular/; revision=628216
2007-01-29 14:55:40 +00:00
Pino Toscano d37f6a80ff no need to include config.h anymore
svn path=/trunk/playground/graphics/okular/; revision=628210
2007-01-29 14:35:07 +00:00
Leandro Emanuel López 1f478d57fb The boolean variable is not needed
svn path=/trunk/playground/graphics/okular/; revision=625256
2007-01-19 17:08:08 +00:00
Albert Astals Cid 2904258674 I for one welcome our new overlord^Wmantainer
svn path=/trunk/playground/graphics/okular/; revision=623465
2007-01-14 21:50:10 +00:00
Leandro Emanuel López 26f4618ae3 Moved the handleCompressed method to part
svn path=/trunk/playground/graphics/okular/; revision=622784
2007-01-12 23:54:26 +00:00
Laurent Montel 34edbef72d Port to new api
svn path=/trunk/playground/graphics/okular/; revision=621624
2007-01-09 11:02:04 +00:00
Pino Toscano edecb5b1b3 SVN_SILENT clean up
svn path=/trunk/playground/graphics/okular/; revision=620359
2007-01-05 19:17:00 +00:00
Albert Astals Cid 9194097545 Fix strange behaviour reported by dimsuz on #kpdf regarding the rightclick event when on zoom mode
svn path=/trunk/playground/graphics/okular/; revision=619948
2007-01-04 21:06:44 +00:00
Pino Toscano 20661ff61e Add an interface (implemented by the Part) for controlling the really basic document viewer functionalities. This (along with a small refactor in the okular shell) gives the user the possibility to start okular with:
-p, --page <page> : to select the startup page
      --presentation : to start directly in presentation mode
implementing also KPDF wishes #134115 and #137905.

svn path=/trunk/playground/graphics/okular/; revision=619681
2007-01-04 00:20:50 +00:00
Pino Toscano bd14706edb leak a bit less memory
svn path=/trunk/playground/graphics/okular/; revision=619558
2007-01-03 17:57:03 +00:00
Leandro Emanuel López 5f60f757a7 Let's use KTemporaryFile instead of K3TempFile
svn path=/trunk/playground/graphics/okular/; revision=618017
2006-12-30 20:16:09 +00:00
Laurent Montel 06b79cdf27 Compile++
svn path=/trunk/playground/graphics/okular/; revision=614897
2006-12-19 12:23:43 +00:00
Laurent Montel 79b01fa27d Fix i18n api
svn path=/trunk/playground/graphics/okular/; revision=611278
2006-12-07 14:01:19 +00:00
Pino Toscano afa2e5a999 iterator -> const_iterator
svn path=/trunk/playground/graphics/okular/; revision=607842
2006-11-25 22:32:13 +00:00
Albert Astals Cid 9099fbecf7 Some krazy fixes
svn path=/trunk/playground/graphics/okular/; revision=605992
2006-11-18 21:36:56 +00:00
Laurent Montel acb44a49d5 Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro

svn path=/trunk/playground/graphics/okular/; revision=598341
2006-10-23 09:29:10 +00:00
Pino Toscano e7bbe08957 trying to port to KTemporaryFile where possible, and still rely on K3TempFile where it needs more work
svn path=/trunk/playground/graphics/okular/; revision=596083
2006-10-16 17:57:44 +00:00
Laurent Montel 9f317e53ca Port to new kde4_automoc macro
Necessary to change KDE4_AUTOMOC macro to support
enable-final argument

(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)

Regards

svn path=/trunk/playground/graphics/okular/; revision=595060
2006-10-13 08:13:52 +00:00
Pino Toscano bd7f6f8071 bump version
svn path=/trunk/playground/graphics/okular/; revision=594923
2006-10-12 20:10:46 +00:00
Tobias Koenig df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed
nearly all references to kpdf (knewstuff still missing).

svn path=/trunk/playground/graphics/okular/; revision=586993
2006-09-21 08:45:36 +00:00
Albert Astals Cid 46e28192f7 the standard says %m is deprecated
svn path=/trunk/playground/graphics/okular/; revision=586865
2006-09-20 19:58:37 +00:00
Albert Astals Cid 4e04b301f1 Almost foget to fordwardport r582561
Fix bug 133507 that prevented the correct restoring of the document viewport on session restore for remote documents

svn path=/trunk/playground/graphics/okular/; revision=584932
2006-09-15 21:08:48 +00:00
Tobias Koenig 4c923f00ac Don't connect twice to the selectUrl() signal, because the second time
the passed KUrl object was deleted by the slot of the first signal in the meantime.

svn path=/trunk/playground/graphics/okular/; revision=582173
2006-09-08 13:09:09 +00:00
Tobias Koenig 90140c1479 warnings--
svn path=/trunk/playground/graphics/okular/; revision=578892
2006-08-30 14:17:22 +00:00
Tobias Koenig 5bfa5435a8 URL -> url renaming to reimplement the correct KPart::openUrl()...
svn path=/trunk/playground/graphics/okular/; revision=578859
2006-08-30 13:02:48 +00:00
Albert Astals Cid 760fdbcadb makeItBuild
svn path=/trunk/playground/graphics/okular/; revision=578661
2006-08-29 21:09:55 +00:00
Laurent Montel 3d62f697b2 Clean up
svn path=/trunk/playground/graphics/okular/; revision=566117
2006-07-25 13:08:23 +00:00
Pino Toscano 2d41c4459b clean up the CMakeLists.txt files from the auto* stuff
svn path=/trunk/playground/graphics/okular/; revision=559521
2006-07-07 15:08:46 +00:00
Pino Toscano 12edea34f8 adapt to the new snapshot
svn path=/trunk/playground/graphics/okular/; revision=558247
2006-07-04 23:09:39 +00:00
Pino Toscano 1285825aa5 use install instead of install_files
svn path=/trunk/playground/graphics/okular/; revision=558033
2006-07-04 15:24:52 +00:00
Albert Astals Cid e5d59dfca7 update my adress to the shiny kde one
svn path=/trunk/playground/graphics/okular/; revision=553056
2006-06-19 21:14:54 +00:00
Albert Astals Cid b95bcc5867 DjVu renderer and beign the only dude on http://cia.navi.cx/stats/project/kde/oKular guarantess a place in the about box i think
svn path=/trunk/playground/graphics/okular/; revision=553055
2006-06-19 21:14:12 +00:00
Pino Toscano 3ea724e75f less deprecated
svn path=/trunk/playground/graphics/okular/; revision=552878
2006-06-19 10:55:13 +00:00
Pino Toscano 854e1060e0 in case the url is a local file, start the filedialog from its directory
svn path=/trunk/playground/graphics/okular/; revision=552608
2006-06-18 14:06:21 +00:00
Pino Toscano 0e925faf02 KMimeType::mimeType can return an empty pointer, so better check for it
svn path=/trunk/playground/graphics/okular/; revision=552137
2006-06-16 17:48:40 +00:00
Albert Astals Cid eabbaeaead oKular is now okular
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550782
2006-06-12 18:25:18 +00:00
Albert Astals Cid 703ed15db3 port to dbus, at least compiles, but i'm not sure it'll work
svn path=/branches/work/kde4/playground/graphics/okular/; revision=548432
2006-06-05 14:55:36 +00:00
Pino Toscano d088e2f631 remove all the Makefile.am, as they are no more needed
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547662
2006-06-02 22:13:10 +00:00
Dirk Mueller 8ab527f601 fix memory leak (I love copy&paste code) (CID 2231)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=544253
2006-05-24 08:57:40 +00:00
Pino Toscano 7049feb8de port to the new kdelibs api; mainly ktrader usage and URL -> Url
svn path=/branches/work/kde4/playground/graphics/okular/; revision=543576
2006-05-22 14:02:24 +00:00
Pino Toscano ec385777e6 IO_ReadOnly -> QIODevice::ReadOnly
svn path=/branches/work/kde4/playground/graphics/okular/; revision=541290
2006-05-15 21:31:53 +00:00
Albert Astals Cid f35231d39c Piotr is not acting as mantainer, so the file is lying
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540833
2006-05-14 19:11:03 +00:00
Pino Toscano f8de9e780e adapt to the recent cmake changes
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540372
2006-05-13 09:10:26 +00:00
Albert Astals Cid c2da771144 compile
svn path=/branches/work/kde4/playground/graphics/okular/; revision=538754
2006-05-08 19:26:45 +00:00
Pino Toscano fc51c9b24e activate a missing connection; less deprecated functions
svn path=/branches/work/kde4/playground/graphics/okular/; revision=538064
2006-05-06 17:12:13 +00:00
Albert Astals Cid 4e1c6cfbb8 fordwardport r535156
svn path=/branches/work/kde4/playground/graphics/okular/; revision=535163
2006-04-28 18:08:04 +00:00
Pino Toscano 622cea4f92 put a toolbutton in the toolbar instead of the so loooong combobox, and fix the connection. still crashes, though
svn path=/branches/work/kde4/playground/graphics/okular/; revision=533654
2006-04-25 12:37:27 +00:00
Pino Toscano e3994658b6 make it compile with the new snapshot
port to the new i18n api

svn path=/branches/work/kde4/playground/graphics/okular/; revision=528345
2006-04-10 19:50:00 +00:00
Albert Astals Cid e1a52ccdd9 adapt to new snapshot
svn path=/branches/work/kde4/playground/graphics/okular/; revision=528321
2006-04-10 18:50:27 +00:00
Pino Toscano 8d25788703 less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525545
2006-04-02 12:36:55 +00:00
Pino Toscano 55bc51a6d0 less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525131
2006-03-31 21:51:45 +00:00
Pino Toscano 58a391e7a2 improve a bit
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524837
2006-03-31 11:22:29 +00:00
Pino Toscano 22c45feb7e less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524154
2006-03-29 20:43:48 +00:00
Pino Toscano 4bd3b60d6c less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524083
2006-03-29 17:16:46 +00:00
Laurent Montel 3d0eefb6d4 Add support for cmake (not tested for the moment)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522661
2006-03-26 12:19:40 +00:00
Albert Astals Cid cbb8e80154 some more compile changes, now let's see basketball
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521882
2006-03-23 19:02:55 +00:00
Albert Astals Cid b261381531 shell builds
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521181
2006-03-21 20:03:08 +00:00
Albert Astals Cid 30c2f8067d oKular goes poppler
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=520367
2006-03-19 18:03:43 +00:00
Albert Astals Cid 6cf12beee4 Piotr is the mantainer of oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=493541
2006-01-02 16:29:49 +00:00
Albert Astals Cid ae1278fec1 branch port 493109
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=493111
2006-01-01 16:00:37 +00:00
Piotr Szymanski d09fd28b89 - MERGE KPDF 3.5 CHANGES
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477586
2005-11-04 11:59:51 +00:00
Albert Astals Cid 3a09624824 some more kpdf -> oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471466
2005-10-17 19:16:31 +00:00
Piotr Szymanski d5c57158b5 - rename to oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471444
2005-10-17 18:34:58 +00:00
Piotr Szymanski 62c13336a3 - moving more
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471439
2005-10-17 18:27:21 +00:00
Piotr Szymanski 8b5a0e4746 - dont know what it does, but hey its a change and it works
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445398
2005-08-11 03:41:30 +00:00
Piotr Szymanski 36ab5c8965 - make generators plugins by:
* moving all xpdf stuff from core and part to inside generator_pdf
   * adding abstract KPDFText class and KPDFTextEntity to hold either
     glyph, or word or textline
- support for importing PS files as pdf like on annots branch
- synced with annots branch
- abstract text layer with search for words in different lines
- added RegularArea<NormalizedShape,Shape> template class
  which inherits QValueList<NormalizedShape*> and is used
  to hold regular areas of given shape (finite collections of the shape)
- loading of relevant generators via ktrader for given mimetype
- the deliverables 1 and 2 of my SoC proposition are delivered
  next: 1. fix one spotted regression and 2. code ghostview backend


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434883
2005-07-15 18:20:57 +00:00
Piotr Szymanski f5bbf89218 - support for taking getting a list of suported mimelsit and nice generation of it
based on what generators provide via ktrader, includes caching the mimetype list
- handling of compressed files added too
- both fucntions basedo kviewshell's version that Wilfried Huss suggested, although with 
  significant remodelling by myself, still i see no problem on adding relevant copyrights
  to this file for the original functions' author just tell me how he/she is

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=434859
2005-07-15 17:17:13 +00:00
Piotr Szymanski 6e8a08f692 - make the Page column in TOC configurable with secret config option instead of compile time switch
- mark one function to remove later
- add one more category to desktop file to be more vfolders compliant

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=431970
2005-07-05 19:10:48 +00:00
Enrico Ros e7fadb9ab5 merged patch_088 (tinyurl.com/8t5ec)
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=428593
2005-06-24 16:43:45 +00:00
Albert Astals Cid daf99824ee Change "Get new stuff" to something more meaningfull
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=427164
2005-06-19 21:01:28 +00:00
Enrico Ros cec5d1143f applying patch_081
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=425033
2005-06-13 17:40:58 +00:00
Enrico Ros cdec4298f9 applying patch_058,061,063,073
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424916
2005-06-13 12:15:41 +00:00
Enrico Ros 08e1cfaa2d applied patch_034
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424887
2005-06-13 11:32:52 +00:00
Albert Astals Cid bc1806e218 - Do not reattach the dcop client
- Keep the original url on the document so we can open relative file names
 - Add Enrico and my copyright

svn path=/trunk/kdegraphics/kpdf/; revision=386244
2005-02-04 22:35:44 +00:00
Enrico Ros 93c1d3845d Implemented history (implementation is inside Document. actions (2) are in
Part). Implemented 'history (xpdf's LinkAction) links'. History depth is
 100 steps by default (this is enough for sure, clicking 100 times on a
 button is not an easy task :-).

Minor issues (removed half TODOs in code, all FIXMEs are already removed):
Invoke mailer on 'mailto:' links inst instead of konqueror.
Actions cleanup: disable actions like 'print', 'preview', 'save to..', etc
 when there isn't an active document. Added history actions to the toolbar
 in place of the 'prev_page' and 'next_page' ones. Fixed open+open_recent
 action tooltip and behavior.
Move definition and implementation of PagePainter class to ui/pagepainter
 from core/page.
Valgrinded and leakchecked (2 memory leaks spotted and fixed (missing
 contents deletion in KPDFGeneratorThread and missing deletion of
 PixmapRequests on cancel in Document::requestPixmaps())).

svn path=/trunk/kdegraphics/kpdf/; revision=382960
2005-01-27 17:31:07 +00:00
Enrico Ros e65c7058c3 Added the MiniBar class, a layouted widget that displays current page
number, the total number of pages and a little grahical 'progress'
 indicator. Moved 'next page' and 'prev page' buttons from the main toolbar
 to the MiniBar. Minibar lets you edit the page number, click or wheel on
 progress, go to next/prev page, show the gotoPage dialog.
Added rmb popup when clicking on thumbnails. When clicking, the
 ThumbnailList only emits the same signal emitted by PageView so the same
 context menu is displayed.
Misc fixes: [MEM] enabled allocated pages raising in queue when displayed
 again, [ThumbnailList] enabled PageUp/PageDown.

svn path=/trunk/kdegraphics/kpdf/; revision=382597
2005-01-26 10:42:07 +00:00
Enrico Ros 3ba7c53676 Fix preloading. It does real good now.
Fix cache deallocator. Hard avoids swapping memory or filling it up to the
limit (allocated pages are referenced in an internal add/remove FIFO).
Merged open and open_recent buttons as many users requested.
Using viewmag icon for find-as-you-type popup.
Disabled debug output. Updated todo with the roadmap to release.
- Need to audit the memory code and choose good default policies now.

svn path=/trunk/kdegraphics/kpdf/; revision=380494
2005-01-20 17:33:05 +00:00
Stephan Binner 6d12abbcff Set InitialPreference=7
svn path=/trunk/kdegraphics/kpdf/; revision=378493
2005-01-14 18:07:37 +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 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