Commit graph

4640 commits

Author SHA1 Message Date
Laurent Montel f6828bab02 Not necessary
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=882088
2008-11-09 18:52:57 +00:00
Pino Toscano 065ab69e8b Add Emacs client as text editor.
Courtesy of Jochen Trumpf, thanks!

svn path=/trunk/KDE/kdegraphics/okular/; revision=882065
2008-11-09 17:23:46 +00:00
Pino Toscano 008fce9421 Hack around the fact that CBR or CBZ documents can ahve the wrong extension.
(And I wonder, if the only way to recognize them is via extension, wtf?)

BUG: 174701

svn path=/trunk/KDE/kdegraphics/okular/; revision=882007
2008-11-09 14:56:02 +00:00
Pino Toscano 9d8c52b5eb Shuffle a bit the way documents are opened:
- when there are no backends for handling the document mimetype, try harder using the mimetype from the file content only
- when the backend fails loading, try again with the backend that handles the mimetype of the file content
BUG: 166034

svn path=/trunk/KDE/kdegraphics/okular/; revision=881991
2008-11-09 14:21:20 +00:00
Pino Toscano b3cb7ec971 make DocumentPrivate access to it, too
svn path=/trunk/KDE/kdegraphics/okular/; revision=881956
2008-11-09 12:40:05 +00:00
Script Kiddy 0a358e719d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=881081
2008-11-07 12:48:08 +00:00
Script Kiddy f23fe88bd5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=879955
2008-11-04 12:35:29 +00:00
Script Kiddy 4f4c6a1688 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=878608
2008-11-01 14:06:48 +00:00
Pino Toscano ef8a4b9a83 be sure to close the file before sending it for printing
svn path=/trunk/KDE/kdegraphics/okular/; revision=875559
2008-10-24 20:13:53 +00:00
Enrique Matías Sánchez a8ea861f36 SVN_SILENT Fix typos in kdegraphics
svn path=/trunk/KDE/kdegraphics/okular/; revision=875357
2008-10-24 07:10:18 +00:00
Pino Toscano 5542445f04 replace the home-made placeholder replacements with KMacroExpander+KShell, and use KProcess
svn path=/trunk/KDE/kdegraphics/okular/; revision=873601
2008-10-19 19:40:17 +00:00
Pino Toscano 9572c6e4fc add kile to the config ui too
svn path=/trunk/KDE/kdegraphics/okular/; revision=873578
2008-10-19 18:15:12 +00:00
Pino Toscano 4e927f01f8 Add Kile as possible editor.
svn path=/trunk/KDE/kdegraphics/okular/; revision=873571
2008-10-19 18:08:19 +00:00
Pino Toscano 4da5b7a105 Add a configuration page for the text editor used for source references links (that is, the ones used also for inverse search).
Factor out the editor commands structure.

svn path=/trunk/KDE/kdegraphics/okular/; revision=873570
2008-10-19 18:01:16 +00:00
Pino Toscano 9deffda3d0 in the editors enum, put "custom" as first
svn path=/trunk/KDE/kdegraphics/okular/; revision=873569
2008-10-19 17:56:54 +00:00
Pino Toscano 97335bf267 simple optimization in the Google-like search: split the search terms just once
svn path=/trunk/KDE/kdegraphics/okular/; revision=873283
2008-10-19 10:07:48 +00:00
Pino Toscano 7183c172c2 Do not ignore (white)spaces in the search query when searching within the text of a page;
search verbatim in the text page, while any other change in the query should be done at a Document level.

BUG: 172244

svn path=/trunk/KDE/kdegraphics/okular/; revision=873277
2008-10-19 09:55:30 +00:00
Script Kiddy 06ef6b06dd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=872975
2008-10-18 13:06:55 +00:00
Pino Toscano 5448cfb0c3 oups, accidental typo
svn path=/trunk/KDE/kdegraphics/okular/; revision=872680
2008-10-17 20:19:55 +00:00
Frederik Schwarzer 39e964b2a0 typos
- smaller then -> smaller than
- bigger then -> bigger than
- ... then -> ... than

svn path=/trunk/KDE/kdegraphics/okular/; revision=872264
2008-10-16 18:54:01 +00:00
Frederik Schwarzer 5626a6d60c global typo
more then -> more than
other then -> other than

svn path=/trunk/KDE/kdegraphics/okular/; revision=872169
2008-10-16 13:59:07 +00:00
Script Kiddy 407c21ac59 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=872097
2008-10-16 11:12:37 +00:00
Dirk Mueller 4ddf62b23f fix accesses to freed currentEntry (CID 5770)
svn path=/trunk/KDE/kdegraphics/okular/; revision=870654
2008-10-12 23:35:39 +00:00
Pino Toscano 95b08ff0e6 Switch from a KSelectAction to a KActionMenu+KAction's, so the actions of the "View Mode" submenu can have custom shortcuts (and placed in toolbars, etc).
BUG: 172661

svn path=/trunk/KDE/kdegraphics/okular/; revision=870510
2008-10-12 16:36:14 +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
Pino Toscano ba01e51526 convert most of the QAction to KAction, so shortcut change on them works again
yay for compatibility!

svn path=/trunk/KDE/kdegraphics/okular/; revision=870269
2008-10-12 09:00:37 +00:00
Pino Toscano fba08521c0 consider annotBoundary as boundary *without* cropping to the requested limits
this should fix drawing problems with note, stamp, and geometric annotations

BUG: 160396

svn path=/trunk/KDE/kdegraphics/okular/; revision=870163
2008-10-11 22:56:33 +00:00
Pino Toscano e0f2e1dd13 disable the "no results found" dialog when searching. search users should use the proper signal to get the search result (and do proper feedback)
CCBUG: 155858

svn path=/trunk/KDE/kdegraphics/okular/; revision=870011
2008-10-11 15:03:46 +00:00
Pino Toscano d54ea7975f Select all the text when opening the find bar.
BUG: 172585

svn path=/trunk/KDE/kdegraphics/okular/; revision=869968
2008-10-11 13:46:37 +00:00
Script Kiddy 8e1d5d9da8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=869167
2008-10-08 11:43:07 +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 27e703f878 always deal with memory measures as ulonglong, this way systems with >4 GB of memory work for real now
svn path=/trunk/KDE/kdegraphics/okular/; revision=867871
2008-10-04 19:31:36 +00:00
Pino Toscano f1f52f4124 do not forget to init m_maxAllocatedTextPages
svn path=/trunk/KDE/kdegraphics/okular/; revision=867869
2008-10-04 19:13:33 +00:00
Script Kiddy 1abc126380 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=867762
2008-10-04 12:55:09 +00:00
Script Kiddy bd32183b79 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=866925
2008-10-02 11:11:54 +00:00
Pino Toscano b1f070d6c6 when no extension is set, assume png (fix the previous check)
reported by Fathi Boudra

svn path=/trunk/KDE/kdegraphics/okular/; revision=866614
2008-10-01 13:12:51 +00:00
Frederik Schwarzer 62668cdb2c let me introduce: typo of the year "the the"
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)

svn path=/trunk/KDE/kdegraphics/okular/; revision=864814
2008-09-25 15:05:22 +00:00
Script Kiddy aacce91d6a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=864280
2008-09-24 11:58:49 +00:00
Script Kiddy f2907adf19 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=863858
2008-09-23 11:25:23 +00:00
Pino Toscano 1080a193b9 - make sure to properly unregister all the observers before the Document gets destroyed
- keep ownership of the "export as" menu, and check before manipulating its child widgets: avoid crashes in case the part widget is destroyed before the pa
rt is
both the problems discovered and debugged with the precious help of Armin Berres, thanks!
CCMAIL: trigger@space-based.de

svn path=/trunk/KDE/kdegraphics/okular/; revision=863716
2008-09-22 22:58:32 +00:00
Pino Toscano 4eae142459 Add a D-Bus call for reloading the current document.
svn path=/trunk/KDE/kdegraphics/okular/; revision=863704
2008-09-22 22:18:07 +00:00
Pino Toscano d3b0b62cfc Make Okular able to distinguish the LilyPond "Point and click" links,
and make them act as source references when activated.

FEATURE: 163569

svn path=/trunk/KDE/kdegraphics/okular/; revision=863572
2008-09-22 13:41:28 +00:00
Script Kiddy 6e48adde56 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=863512
2008-09-22 10:46:08 +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
Pino Toscano 0eab41cc97 do not use the specified widget as parent for the Document, but just keep it
svn path=/trunk/KDE/kdegraphics/okular/; revision=863377
2008-09-21 22:44:42 +00:00
Script Kiddy 43c35e9101 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=863152
2008-09-21 10:58:41 +00:00
Pino Toscano f04be93084 read-only text fields should be read-only, not disabled
svn path=/trunk/KDE/kdegraphics/okular/; revision=863145
2008-09-21 10:45:11 +00:00
Script Kiddy 5fc9db9fd9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=862928
2008-09-20 12:06:37 +00:00
Pino Toscano e5b6967e06 scale smoothly
svn path=/trunk/KDE/kdegraphics/okular/; revision=862881
2008-09-20 09:01:02 +00:00