Commit graph

5002 commits

Author SHA1 Message Date
Albert Astals Cid 10ba02cbd5 in case we have a new enough poppler give a better error message when we can't save files with /Encrypt
BUGS: 208119

svn path=/trunk/KDE/kdegraphics/okular/; revision=1037771
2009-10-19 23:00:52 +00:00
Albert Astals Cid 2fd0a0124a Fix the name of the tool to represent what it is
BUGS: 210313

svn path=/trunk/KDE/kdegraphics/okular/; revision=1037764
2009-10-19 22:39:11 +00:00
Pino Toscano 90074bef90 check the actual mime type names and not their pointers
BUG: 210882

svn path=/trunk/KDE/kdegraphics/okular/; revision=1037414
2009-10-19 00:20:18 +00:00
Elvis Stansvik 4154fa8665 Support case sensitivity and regular expressions in the
Contents and Reviews side panel. The search options are
accessed using a context sub-menu in the search input
field. Fixes bug 204787.

I'm intentionally leaving out support for saving the current
search options to the config, as pinotree said he was
researching a more maintainable approach to this.

BUG: 204787

svn path=/trunk/KDE/kdegraphics/okular/; revision=1035766
2009-10-15 20:25:47 +00:00
Script Kiddy fd6072ae69 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1034715
2009-10-13 10:29:02 +00:00
Eike Hein 1f3536bc83 Kill two superfluous empty lines I added by mistake. SVN_SILENT
svn path=/trunk/KDE/kdegraphics/okular/; revision=1034542
2009-10-13 00:06:24 +00:00
Eike Hein 796958b1a7 Fix the mouse interaction model of the sidebar icon list
to allow changing sidebar pages by keeping the left mouse
button pressed and moving the cursor over the icon list,
similar to a popup menu or the treelist version of the
tab bar in Konversation.

A remaining bug in the sidebar is that switching iconlist
items using the keyboard arrow keys won't switch sidebar
pages. I will fix that next time, unless someone else is
faster.

svn path=/trunk/KDE/kdegraphics/okular/; revision=1034540
2009-10-13 00:03:54 +00:00
Pino Toscano 87320d1f08 Better check for libchmfile loading errors.
BUG: 210234

svn path=/trunk/KDE/kdegraphics/okular/; revision=1034049
2009-10-11 20:24:00 +00:00
Pino Toscano a7bdec3b40 Fix _synctex_error() on mingw: _vscprintf() is specific for MSVC, so for !MSVC use _vsnprintf() and grow the buffer until necessary.
Patch provided by Patrick Spendrin <ps_ml@gmx.de>, thanks!

svn path=/trunk/KDE/kdegraphics/okular/; revision=1033539
2009-10-10 12:57:58 +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
Albert Astals Cid 27830a988e Add a [hidden] config option to set hinting to fonts
Defaults to disabled
Made the dvi and pdf backends honor the hinting setting

svn path=/trunk/KDE/kdegraphics/okular/; revision=1032936
2009-10-08 21:55:51 +00:00
Pino Toscano ca9b4a14ec improve/add tests
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032934
2009-10-08 21:55:01 +00:00
Pino Toscano b4e301c0e0 start adding a unit test for the shell-related stuff
the single test case so far is for testing the url splitting

svn path=/trunk/KDE/kdegraphics/okular/; revision=1032845
2009-10-08 17:22:19 +00:00
Pino Toscano f04afe8220 hide the top bar when moving out of the presentation widget
for example when moving the cursor to another screen

svn path=/trunk/KDE/kdegraphics/okular/; revision=1032482
2009-10-07 22:28:06 +00:00
Burkhard Lück 78b1079c7f fix typos reported on kde-i18n-doc + use entities
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=1031605
2009-10-05 13:52:42 +00:00
Script Kiddy 326c235e17 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1031173
2009-10-04 09:35:39 +00:00
Albert Astals Cid 2ea878f4d9 return the mimetype in the kimgio generator
svn path=/trunk/KDE/kdegraphics/okular/; revision=1029805
2009-09-30 19:09:05 +00:00
Laurent Montel a61ccaa761 Fix warning
svn path=/trunk/KDE/kdegraphics/okular/; revision=1026023
2009-09-20 14:28:05 +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
Christian Ehrlicher 42354f1a7f add CheckCXXSourceCompiles
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1024495
2009-09-16 17:21:52 +00:00
Albert Astals Cid 966369332b move usage of m_dviRenderer to below the if it checks if it exists
svn path=/trunk/KDE/kdegraphics/okular/; revision=1023096
2009-09-13 21:53:24 +00:00
Albert Astals Cid 4d36e1d1ad Remove special casing for saving local files where we don't use the temporary file, fixes saving a pdf file over itself
BUGS: 207214

svn path=/trunk/KDE/kdegraphics/okular/; revision=1023085
2009-09-13 21:11:37 +00:00
Albert Astals Cid 2ca70770dd add a stretch at the end of the dialog so making it bigger is less ugly
BUG: 206856

svn path=/trunk/KDE/kdegraphics/okular/; revision=1023064
2009-09-13 19:52:50 +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
Aaron J. Seigo 5deac8b65b api change
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1019128
2009-09-02 23:05:16 +00:00
Burkhard Lück cbaa43bf56 add a reminder for the next doc update
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=1018510
2009-09-01 19:14:56 +00:00
Albert Astals Cid 537a88dbe2 add a InitialPreference bigger than karbon since we are better than karbon on previewing ps
svn path=/trunk/KDE/kdegraphics/okular/; revision=1015188
2009-08-24 20:35:18 +00:00
Script Kiddy 6961729c98 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1011292
2009-08-14 09:29:48 +00:00
Albert Astals Cid b55024cfd7 Do not start a search if it's already running
BUGS: 203142

svn path=/trunk/KDE/kdegraphics/okular/; revision=1009822
2009-08-10 22:28:54 +00:00
Albert Astals Cid b0938f12ad i wonder why gcc thinks this is an ambiguous if, but fix the warning
also add my beloved kate modeline

svn path=/trunk/KDE/kdegraphics/okular/; revision=1009816
2009-08-10 21:55:41 +00:00
Pino Toscano 438b35bcab make the gs kprocess collecct its output; disable an error message box (not doable in threads)
BUG: 192405

svn path=/trunk/KDE/kdegraphics/okular/; revision=1005981
2009-08-02 18:51:46 +00:00
Pino Toscano 54f6994c9d massage a bit the psdsync parser: instead of using regexp's for the lines, split the lines in tokens by space and then read the resulting token depending on the line type
should be slightly faster than the regexp approach

svn path=/trunk/KDE/kdegraphics/okular/; revision=1004360
2009-07-29 22:20:06 +00:00
Pino Toscano f397f800a3 remove the extra condition added, as it messes up with hidden fields
svn path=/trunk/KDE/kdegraphics/okular/; revision=1004279
2009-07-29 19:15:16 +00:00
Pino Toscano 6551b285eb 'z' looks a gnu extension, so use %lu
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003153
2009-07-27 19:11:06 +00:00
Pino Toscano a36b9042bd local synctex change: fix the printf specifier for a parameter (of type size_t), to be %zd instead of %d
add the change as local patch 05-fix-error-formats.diff

svn path=/trunk/KDE/kdegraphics/okular/; revision=1003109
2009-07-27 17:28:41 +00:00
Pino Toscano fe8ab0045e local synctex change: _synctex_error has a printf-like format, so use the proper gcc extensions to check its arguments (doing nothing for other compilers)
add the change as local patch 04-gcc-specify-printf-format.diff

svn path=/trunk/KDE/kdegraphics/okular/; revision=1003104
2009-07-27 17:17:24 +00:00
Albert Astals Cid bdfcd6e337 typos -= 2
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003103
2009-07-27 17:12:34 +00:00
Pino Toscano 5fa6a43122 local synctex change: make const the name parameter for _synctex_scan_named
add the change as local patch 03-fix-_synctex_scan_named.diff

svn path=/trunk/KDE/kdegraphics/okular/; revision=1003093
2009-07-27 16:42:48 +00:00
Pino Toscano eb474beeee local synctex change: make const the format-like message parameter for _synctex_error
add the change as local patch 02-fix-_synctex_error.diff

svn path=/trunk/KDE/kdegraphics/okular/; revision=1003084
2009-07-27 16:29:45 +00:00
Pino Toscano f732152653 local synctex change: fix the various #if _WIN32 to #ifdef _WIN32
add the change as local patch 01-fix-win32-define.diff

svn path=/trunk/KDE/kdegraphics/okular/; revision=1003065
2009-07-27 15:40:40 +00:00
Armin Berres 555cb3c9a1 add synctex support for pdf files
svn path=/trunk/KDE/kdegraphics/okular/; revision=1003016
2009-07-27 14:15:33 +00:00
Armin Berres a41f95bbd2 SVN_SILENT: typo
svn path=/trunk/KDE/kdegraphics/okular/; revision=1002277
2009-07-25 15:21:09 +00:00
Pino Toscano 077868de22 add a "Presentation" marker in presentation window titles
BUG: 193049

svn path=/trunk/KDE/kdegraphics/okular/; revision=1002256
2009-07-25 14:23:30 +00:00
Pino Toscano c08afdd0e6 use a per-dviRender-instance painter instead of a global (!) one, so different documents can be painted safely at the same time
BUG: 200409

svn path=/trunk/KDE/kdegraphics/okular/; revision=1002247
2009-07-25 13:59:37 +00:00
Pino Toscano e70a62ada6 use a stack for the source files, as they can nest
svn path=/trunk/KDE/kdegraphics/okular/; revision=1002219
2009-07-25 12:08:16 +00:00
Burkhard Lück 90c667dbf3 fixed typo not found by Yuri
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=1000674
2009-07-21 18:49:54 +00:00
Script Kiddy e18e4f4979 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1000563
2009-07-21 15:16:18 +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 a87963e39e ok, for now use the DPI we are told to use
svn path=/trunk/KDE/kdegraphics/okular/; revision=994522
2009-07-10 17:12:58 +00:00