Commit graph

3605 commits

Author SHA1 Message Date
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
Laurent Montel fad62b2482 Use an uniq macro to create/install doc
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=702120
2007-08-20 06:31:40 +00:00
Pino Toscano cd0dd24193 i18n fixes
rename 'freetext' to 'inline note'

svn path=/trunk/KDE/kdegraphics/okular/; revision=701876
2007-08-19 16:15:55 +00:00
Pino Toscano b704eefcc8 don't use the deprecated version of KIO::NetAccess::exists()
svn path=/trunk/KDE/kdegraphics/okular/; revision=701293
2007-08-17 23:16:55 +00:00
Arto Hytönen e8ad05552b kdegraphics QString::null clean-up.
svn path=/trunk/KDE/kdegraphics/okular/; revision=701202
2007-08-17 15:52:06 +00:00
Arto Hytönen 6f00373e1b QString::null fixes and hiding from Krazy.
svn path=/trunk/KDE/kdegraphics/okular/; revision=700833
2007-08-16 15:28:21 +00:00
Pino Toscano afed3f475f update the information about menus, and a small paragraph more in the presentation mode section
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=700390
2007-08-15 12:44:58 +00:00
Pino Toscano 1e3e5a74bf Use a pencil cursor (when available) when drawing stuff in presentation mode.
svn path=/trunk/KDE/kdegraphics/okular/; revision=700158
2007-08-14 23:23:16 +00:00
Pino Toscano 96bb344e61 cache the free memory on Windows as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=699973
2007-08-14 13:03:38 +00:00
Pino Toscano 797c8d94d4 SVN_SILENT unused parameter
svn path=/trunk/KDE/kdegraphics/okular/; revision=699958
2007-08-14 12:26:08 +00:00
Pino Toscano 5acc8fcd0b extra ';'
svn path=/trunk/KDE/kdegraphics/okular/; revision=699740
2007-08-14 00:15:50 +00:00
Albert Astals Cid 41c25cb208 Back from holiday, let's do some comitting :-)
* Update some copyright years and mail addresses
 * Search does not block the GUI anymore YUHUUUUU
   Well, it it does but it's almost unperceptible, that means the searching methods of Document no longer return a bool but a void and the Document::searchFinished signal is used to know if something was found, nothing was found or the user pressed the cancel button !YES! one can cancel search now :-)
 * TextPage no longer holds the area and the current transformed area, it took TOO MUCH memory, now we transform the area each time, it's much more CPU intensive but i could not measure a time loss while searching big documents and i could measure HUNDREDS of MB of usage less.
 * MICRO optimization: Change some code to not detach some containers
 * I still don't have ADSL so this is something like a "blind" commit, Pino will check it compiles against current KDE, not against what's on my computers

svn path=/trunk/KDE/kdegraphics/okular/; revision=699701
2007-08-13 22:25:27 +00:00
Daniel Teske c93025abc2 Port to new API.
svn path=/trunk/KDE/kdegraphics/okular/; revision=699520
2007-08-13 10:51:17 +00:00
David Faure 6e3966da60 KParts::URLArgs split up [merged from branches/work/kparts_urlargs_split]
into KParts::OpenUrlArguments and KParts::BrowserArguments.
This also allows the part to set arguments().mimeType() is the host didn't set it.

svn path=/trunk/KDE/kdegraphics/okular/; revision=699514
2007-08-13 10:17:57 +00:00
Daniel Teske ab380eefc8 Port to KBookmark::addBookmark and KBookmark::createNewFolder
changes.


svn path=/trunk/KDE/kdegraphics/okular/; revision=699502
2007-08-13 09:28:00 +00:00
Laurent Montel f95c00585b Adapt to new cmake macro
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=699455
2007-08-13 06:25:00 +00:00
Pino Toscano 4fa5e016c6 port to the new kpart api:
- first use the mimetype from the OpenUrlArguments, or fallback on a manual mimetype detection
- get rid of the manual discover of the mimetype using the signal from the file transfer job - this is done in the base readOnlyPart, now

svn path=/branches/work/kparts_urlargs_split/kdegraphics/okular/; revision=698689
2007-08-10 18:10:44 +00:00
Matthias Kretz 4e7fa038b4 adapt to phonon-Trolltech branch API changes
svn path=/trunk/KDE/kdegraphics/okular/; revision=698536
2007-08-10 09:43:33 +00:00
Pino Toscano 005267e0af restore the side bar correctly after show/hiding the whole sidebar
svn path=/trunk/KDE/kdegraphics/okular/; revision=698019
2007-08-08 19:22:26 +00:00
Pino Toscano 0ceee0b64e small tweaks to the prev/next buttons in the minibar:
- reduce their width of the 10%
- reduce their icon size, so they don't take 40px of height
- remove the custom hover code, Qt::WA_Hover does that for us
- make use of an already-there function to cut a pair of lines of code (yay for easiness!)

svn path=/trunk/KDE/kdegraphics/okular/; revision=698005
2007-08-08 17:50:47 +00:00
Pino Toscano a2bda2bebb explain a bit this cryptic lonely two-letters word
svn path=/trunk/KDE/kdegraphics/okular/; revision=697972
2007-08-08 15:44:26 +00:00
Laurent Montel 2171899347 Remove not necessary path
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=697086
2007-08-06 18:59:11 +00:00
Pino Toscano 17ad0df66c New sidebar for okular.
The old sidebar had many problems and limitations, usability issues as well.
This new sidebar tries to simplify and solve many of these issues (like the navigability with the keyboard), with a better looking.
Of course, some glitches are still there, but easily solvable.

svn path=/trunk/KDE/kdegraphics/okular/; revision=697060
2007-08-06 17:24:10 +00:00
Pino Toscano 5bfd0d5bd2 don't draw garbage in the progress widget when there's no document open
svn path=/trunk/KDE/kdegraphics/okular/; revision=696988
2007-08-06 13:21:10 +00:00
Pino Toscano ee200d286c adapt to the new naming of the 'mouse' device icon
svn path=/trunk/KDE/kdegraphics/okular/; revision=696589
2007-08-05 10:24:21 +00:00
Pino Toscano 9610c6a9c5 SVN_SILENT dead code
svn path=/trunk/KDE/kdegraphics/okular/; revision=696457
2007-08-04 21:47:48 +00:00
Pino Toscano 23016eacd4 Change/set the efault shortcuts for some actions:
- the tools now have Ctrl+1/2/3/4 for Normal, Zoom, Select, TextSelect modes resp.
- the Show/hide navigation panel has F7 now, Ctrl+L conflicts with Konqueror

svn path=/trunk/KDE/kdegraphics/okular/; revision=696405
2007-08-04 17:42:06 +00:00
Pino Toscano cf667d55b0 fixuifiles
svn path=/trunk/KDE/kdegraphics/okular/; revision=696247
2007-08-04 10:38:20 +00:00
Pino Toscano af7c661fb7 Change the names of two groups to be more coherent with the other settings.
svn path=/trunk/KDE/kdegraphics/okular/; revision=696236
2007-08-04 10:08:27 +00:00
Pino Toscano 80df7c8f59 As requested by Florian, set the defaul annotation author to the full name of the current user, or to the username if there's no full name available for it.
svn path=/trunk/KDE/kdegraphics/okular/; revision=696101
2007-08-03 20:34:04 +00:00
Pino Toscano 7bef230d46 draw the gradient of the review toolbar using QLinearGradient
svn path=/trunk/KDE/kdegraphics/okular/; revision=696071
2007-08-03 18:32:16 +00:00
Laurent Montel d7193013e2 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdegraphics/okular/; revision=695802
2007-08-02 23:54:14 +00:00
Pino Toscano dea213be87 use the proper zero-method with DDJVUAPI_VERSION >= 18
svn path=/trunk/KDE/kdegraphics/okular/; revision=695779
2007-08-02 23:05:45 +00:00
Pino Toscano a9f0d2eb46 Try to extract the text entities (thus the text) from a DjVu document.
At the moment the granularuty of the extracted text is "word", as "char" is quite difficult to find in documents.
Kind of works, let's hope it will like all the documents around.

svn path=/trunk/KDE/kdegraphics/okular/; revision=695740
2007-08-02 20:40:02 +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 5150419e81 adapt the debug stuff to the new kdebug way:
- make the output looking more or less like before (using nospace() or removing the spaces)
- remove endl and '\n' at the end of debug outputs
- fixing the QDebug operator<<'s around
- isolate the debug area number of the core into a separate header, and apply it instead of the numbers found in textpage.cpp

svn path=/trunk/KDE/kdegraphics/okular/; revision=694667
2007-07-31 10:19:48 +00:00
Pino Toscano 9b92fa1d41 no need to set the complete viewport of new page bookmarks, the page number is enough
svn path=/trunk/KDE/kdegraphics/okular/; revision=694538
2007-07-31 00:05:44 +00:00
Pino Toscano 09bae8bbc7 set the right position for the new viewport when requesting to open a page from command line
svn path=/trunk/KDE/kdegraphics/okular/; revision=694537
2007-07-31 00:04:09 +00:00
Thiago Macieira 000dc825e3 Use QDebug instead of kdbgstream
svn path=/trunk/KDE/kdegraphics/okular/; revision=694533
2007-07-30 23:58:04 +00:00
Pino Toscano 6254f609d8 really return an int where we are going to return an int, not a bool
svn path=/trunk/KDE/kdegraphics/okular/; revision=694515
2007-07-30 22:29:41 +00:00
Pino Toscano b59bca3b1b Small reordering into the General preferences tab:
- move the Center first page in row from the Features to the View options group, and state that it works not only in facing mode
- remove the Overview rows, never working

svn path=/trunk/KDE/kdegraphics/okular/; revision=694382
2007-07-30 15:16:44 +00:00
Pino Toscano e862d6beb6 use 3 as default value of the overview columns, so it does not look like single mode
svn path=/trunk/KDE/kdegraphics/okular/; revision=694373
2007-07-30 15:05:42 +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
Pino Toscano 1c9b4bae68 SVN_SILENT fixing the include guard, the revenge
svn path=/trunk/KDE/kdegraphics/okular/; revision=693932
2007-07-29 14:53:31 +00:00
Pino Toscano b43e10e788 KUrl can not be used in the D-Bus API, so change openDocument and currentDocument to use QString, making them work again.
svn path=/trunk/KDE/kdegraphics/okular/; revision=693927
2007-07-29 14:36:49 +00:00
Laurent Montel fb4fe2c52d Not necessary
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=693895
2007-07-29 12:35:19 +00:00
Pino Toscano d393001982 properly delete the temporary file when closing a document
svn path=/trunk/KDE/kdegraphics/okular/; revision=693871
2007-07-29 10:38:48 +00:00
Pino Toscano 1be1b40dd0 the compressed documents support should be done, more or less
svn path=/trunk/KDE/kdegraphics/okular/; revision=693784
2007-07-29 00:58:43 +00:00
Pino Toscano 456e98ae21 Move the compressed files handling from openUrl() to openFile(), this way we can really handle remove compressed files.
Tested with local files only, remove files should work but their download seems to give broken files at the moment (kdelibs bug, I think).

This should hopefully complete the support for compressed files (eg .pdf.gz, .ps.bz2, etc).

svn path=/trunk/KDE/kdegraphics/okular/; revision=693782
2007-07-29 00:55:17 +00:00
Pino Toscano 459192d34f temporarly disable the attachment size detection, as it breaks with poppler 0.6rc1
will be reactivated after the release of poppler 0.6

svn path=/trunk/KDE/kdegraphics/okular/; revision=693750
2007-07-28 22:05:16 +00:00