Commit graph

6723 commits

Author SHA1 Message Date
Jon Mease 43246c563b Viewport transition refinements for Find and Undo/Redo actions
REVIEW: 114060

This patch introduces viewport transitions for undo/redo actions on annotations and forms.  When an annotation/form action is undone/redone but the associated annotation/form is not currently visible, the viewport is updated to center on the undo/redo action. If the annotation/form is visible, the viewport is not updated.

The viewport transitions for the Find action have also been updated to this same algorithm.  Previously the viewport was moved to center on each matching search term even if the search term was already visible in the viewport. This lead to unnecessary viewport transitions if the search term matched several items in a single paragraph for example.

These proposed changes to the viewport transition behavior are consistent with the find and undo behavior of many existing applications including Kate, Open Office, and Foxit PDF Reader.
2013-12-29 23:27:30 +01:00
Albert Astals Cid b543a6b767 Merge remote-tracking branch 'origin/KDE/4.12' 2013-12-29 19:11:02 +01:00
Albert Astals Cid 4639aa817b Merge remote-tracking branch 'origin/KDE/4.11' into KDE/4.12 2013-12-29 19:10:43 +01:00
Mailson Menezes b43a4337af Fix adding and removing bookmarks in the thumbnail panel
Fix adding and removing bookmarks in the thumbnail panel

Add and removal of bookmarks via the thumbnail context menu was acting
on the current viewport instead of the clicked page. This patch checks
whether it should act on the viewport or in the right clicked page.

BUGS: 323267
FIXED-IN: 4.11.5
2013-12-29 19:09:50 +01:00
Albert Astals Cid 9200953765 Merge remote-tracking branch 'origin/KDE/4.12' 2013-12-16 00:20:13 +01:00
Albert Astals Cid f3418d0423 Merge remote-tracking branch 'origin/KDE/4.11' into KDE/4.12 2013-12-16 00:19:46 +01:00
Albert Astals Cid 96c78eae6f odt: Seems styles.xml and meta.xml are not mandatory
At least libreoffice opens the file from bug 324241 that has neither of them.
With this change we open it too, it looks crap when compared to libreoffice,
but that's just because our ooo generator needs to die in favour of a calligra one.

BUGS: 324241
FIXED-IN: 4.11.5
2013-12-16 00:18:03 +01:00
Albert Astals Cid 25f96c52ea Merge remote-tracking branch 'origin/KDE/4.12' 2013-12-15 23:47:49 +01:00
Albert Astals Cid 88e4bbbbf5 Merge remote-tracking branch 'origin/KDE/4.11' into KDE/4.12 2013-12-15 23:47:27 +01:00
Albert Astals Cid 5dfffec650 Make sure string passed to -J is no more than 255 bytes
lpr refuses to print referencing http://tools.ietf.org/search/rfc2911#section-4.1.2
Unfortunately cutting at 255 bytes may mess up the end of the name, but oh well
BUGS: 326617
FIXED-IN: 4.11.5
2013-12-15 23:46:27 +01:00
Albert Astals Cid 647762dbb6 Merge remote-tracking branch 'origin/KDE/4.12' 2013-12-12 23:45:50 +01:00
Albert Astals Cid 4d6c7ad5e3 Don't show the attachment bar if showOSD is disabled
BUGS: 327203
FIXED-IN: 4.12.1
2013-12-12 23:44:38 +01:00
Albert Astals Cid 899a8e7dcd Merge remote-tracking branch 'origin/KDE/4.12'
Conflicts:
	VERSION
	core/version.h
2013-12-11 20:14:59 +01:00
Albert Astals Cid 6c0299151f update for the release 2013-12-11 20:14:18 +01:00
l10n daemon script 8a8f7e891e SVN_SILENT made messages (.desktop file) 2013-12-10 04:04:26 +00:00
Albert Astals Cid 9dbb62137d Merge remote-tracking branch 'origin/KDE/4.12' 2013-12-09 18:47:29 +01:00
Nico Kruber 8c16e4a0b2 fix parttest not linking against okularpart on msvc
REVIEW: 114191
2013-12-09 18:46:36 +01:00
l10n daemon script 44f0202dc7 SVN_SILENT made messages (.desktop file) 2013-12-07 06:20:27 +00:00
Albert Astals Cid 49ed3edd5a Merge remote-tracking branch 'origin/KDE/4.12' 2013-11-30 23:09:35 +01:00
Albert Astals Cid 94f30e8343 Merge remote-tracking branch 'origin/KDE/4.11' into KDE/4.12 2013-11-30 23:08:26 +01:00
Albert Astals Cid 55011e0588 Don't create pages for files that are not images
The zip in bug #328182 has one
2013-11-30 23:07:29 +01:00
l10n daemon script 36baeaa00f SVN_SILENT made messages (.desktop file) 2013-11-29 04:25:56 +00:00
l10n daemon script 2141e7aeee SVN_SILENT made messages (.desktop file) 2013-11-28 06:36:41 +00:00
Albert Astals Cid 7264e77407 Merge remote-tracking branch 'origin/KDE/4.12' 2013-11-28 00:06:37 +01:00
Albert Astals Cid 56c6b61311 Merge remote-tracking branch 'origin/KDE/4.11' into KDE/4.12 2013-11-28 00:06:13 +01:00
Albert Astals Cid 9c3165d214 Going back and forward in history may also change the page
So notify those that care about tha page and not about the viewport
2013-11-28 00:05:24 +01:00
Egor Matirov f98f55db9d Extend AudioPlayer so that it gives info about if something is playing at the moment or not
Reviewed by Jaydeep Solanki

REVIEW: 114019
2013-11-27 23:27:30 +01:00
l10n daemon script 88eddf4c5f SVN_SILENT made messages (.desktop file) 2013-11-27 06:42:31 +00:00
l10n daemon script 34c9c7fc8a SVN_SILENT made messages (.desktop file) 2013-11-27 04:08:23 +00:00
Albert Astals Cid 6bb402a9e5 Merge remote-tracking branch 'origin/KDE/4.12'
Conflicts:
	VERSION
	core/version.h
2013-11-25 22:23:58 +01:00
Albert Astals Cid d2d4528bea Increase versions for 4.12 RC 2013-11-25 22:23:02 +01:00
Albert Astals Cid dc1fb2fc7a Merge remote-tracking branch 'origin/KDE/4.12' 2013-11-24 16:38:32 +01:00
Jon Mease 126b9fdf8c Add unit tests for editing PDF forms
REVIEW: 114049
2013-11-24 16:37:23 +01:00
Yuri Chornoivan 0fdc8fe04f Fix sizes of GhostScript backend icons
BUG: 327958
FIXED-IN: 4.11.4
2013-11-23 19:33:38 +02:00
Yuri Chornoivan 43a4f2a2da Merge branch 'KDE/4.11' into KDE/4.12 2013-11-23 19:30:24 +02:00
Yuri Chornoivan b60eff3e21 Fix sizes of GhostScript backend icons
BUG: 327958
FIXED-IN: 4.11.4
2013-11-23 19:28:48 +02:00
Albert Astals Cid 7c9b1a1843 Merge remote-tracking branch 'origin/KDE/4.12' 2013-11-23 17:55:30 +01:00
Albert Astals Cid ec814654bc Merge remote-tracking branch 'origin/KDE/4.11' into KDE/4.12
Conflicts:
	VERSION
	core/version.h
2013-11-23 17:55:00 +01:00
Albert Astals Cid 7881731a2b Prepare for 4.11.4 release 2013-11-23 17:53:45 +01:00
Albert Astals Cid 883184b1ac Merge remote-tracking branch 'origin/KDE/4.12' 2013-11-21 00:03:27 +01:00
Albert Astals Cid db53b2f359 Do not show the sidebar if it was hidden when defaulting to show the toc
BUGS: 327641
FIXED-IN: 4.11.95
2013-11-21 00:03:02 +01:00
Albert Astals Cid 37c8d22b76 Merge remote-tracking branch 'origin/KDE/4.12'
Conflicts:
	VERSION
	core/version.h
	generators/mobipocket/libokularGenerator_mobi.desktop
	generators/mobipocket/okularApplication_mobi.desktop
2013-11-20 00:31:15 +01:00
Albert Astals Cid 78fa306931 Prepare for Beta3 2013-11-20 00:29:47 +01:00
Luigi Toscano 4c7c0aa6f3 Doc: fix the name of the criteria
fit-page was written twice.
2013-11-20 00:18:55 +01:00
l10n daemon script 6c0cfc8148 SVN_SILENT made messages (.desktop file) 2013-11-19 03:53:15 +00:00
l10n daemon script b9949c339b SVN_SILENT made messages (.desktop file) 2013-11-15 07:07:28 +00:00
l10n daemon script 4f077ed54b SVN_SILENT made messages (.desktop file) 2013-11-15 04:25:44 +00:00
l10n daemon script ca18efdfc9 SVN_SILENT made messages (.desktop file) 2013-11-14 06:34:37 +00:00
l10n daemon script 618efc300a SVN_SILENT made messages (.desktop file) 2013-11-11 06:35:09 +00:00
l10n daemon script 64cdd7908f SVN_SILENT made messages (.desktop file) 2013-11-10 06:47:48 +00:00