Commit graph

6654 commits

Author SHA1 Message Date
Luigi Toscano
90779f4a2a Comments cleanup: remove references to the old KDVI info dialog 2014-02-07 23:42:56 +01:00
Luigi Toscano
d04f30dc75 Use KStandardDirs::findExe instead of the custom find_exe 2014-02-07 23:42:12 +01:00
Albert Astals Cid
6a0d8c3c1e Make sure we set the correct group merge here 2014-02-04 00:30:30 +01:00
l10n daemon script
2a52fdfb93 SVN_SILENT made messages (.desktop file) 2014-02-03 06:38:54 +00:00
l10n daemon script
463e6b2ca8 SVN_SILENT made messages (.desktop file) 2014-02-02 04:20:04 +00:00
Albert Astals Cid
66c6432f5b Prepare for 4.12.2 2014-01-28 23:01:01 +01:00
Luigi Toscano
9d10be4f2e Fix debug statements still using Qt3 "style" (disabled by default) 2014-01-25 00:42:13 +01:00
Albert Astals Cid
1633066d47 This should help passing the unit tests again 2014-01-13 01:59:01 +01:00
Albert Astals Cid
8814a6fa3d Do not crash if we don't pass down a widget to show on 2014-01-13 01:47:31 +01:00
Eugene Shalygin
ed35594627 Use DPI of current screen for PDF rendering
Includes some fixes from Albert:
 * kscreen cmake fixes
   Don't make libkscreen mandatory, give the proper version we need
 * Fix the @since
 * Kill Resolution and use a QSizeF
   I first thought QSizeF didn't make sense, but well what's a dpi if not a number of pixels in width and some others in height?
 * Remove unwanted const
 * Remove unneeded utils.h includes
 * Fix comments on realDPIXY()
 * Make it compile in non X11

REVIEW: 111829
2014-01-13 01:37:56 +01:00
Albert Astals Cid
c5f1b35df1 Merge remote-tracking branch 'origin/KDE/4.12' 2014-01-12 22:21:03 +01:00
Albert Astals Cid
3a91b599a9 React to toolbar icon change when minibar is in the toolbar
BUGS: 329880
FIXED-IN: 4.12.2
2014-01-12 22:20:29 +01:00
Albert Astals Cid
52ab967075 Add the error message for the error 2014-01-12 19:21:11 +01:00
Albert Astals Cid
0aec32fc7d Don't try to print something with invalid sizes
Unfortunately as we can't add new strings to stable versions it'd say "unwnown error" if that happens
Don't think it's too bad since this shouldn't be happening much

BUGS: 329562
2014-01-12 19:21:10 +01:00
Albert Astals Cid
c324c532d1 Don't try to print something with invalid sizes
Unfortunately as we can't add new strings to stable versions it'd say "unwnown error" if that happens
Don't think it's too bad since this shouldn't be happening much

BUGS: 329562
2014-01-12 19:17:10 +01:00
Yuri Chornoivan
031a8cd1d7 Add info about the new shortcuts, bump version 2014-01-12 19:47:55 +02:00
Albert Astals Cid
0964555be9 Merge remote-tracking branch 'origin/KDE/4.12' 2014-01-12 18:29:34 +01:00
Saheb Preet Singh
c80c59b061 Add keyboard shortcut for 'search previous' action: Shift+Enter
REVIEW: 114754
FIXED-IN: 4.13.0
2014-01-12 18:28:19 +01:00
Yuri Chornoivan
c9dc2277cf Make the string in Save as widget translatable
BUG: 329863
2014-01-12 17:58:02 +02:00
Yuri Chornoivan
ab701045bd Make the string in Save as widget translatable
BUG: 329863
2014-01-12 17:52:28 +02:00
l10n daemon script
a98d7c8b2a SVN_SILENT made messages (.desktop file) 2014-01-12 06:39:24 +00:00
l10n daemon script
23347d6047 SVN_SILENT made messages (.desktop file) 2014-01-12 04:09:47 +00:00
Jan Kundrát
25d6407ffc Merge branch 'KDE/4.12' 2014-01-11 14:51:30 +01:00
Jan Kundrát
2bd0ec5fda The doesConsumeX method was defined but never used
Having functions which are defined but not used serves no gain. This patch
therefore removes the extra method and updates the comment reference in the
second one to make it standalone.

REVIEW: 114959
2014-01-11 00:25:28 +01:00
Jan Kundrát
677e0660fa Remove unused arguments
REVIEW: 114958
2014-01-11 00:25:09 +01:00
Albert Astals Cid
20c06903cb Merge remote-tracking branch 'origin/KDE/4.12'
Conflicts:
	VERSION
	core/version.h
2014-01-09 00:28:10 +01:00
Albert Astals Cid
59e8643697 Prepare for 4.12.1 2014-01-09 00:27:35 +01:00
l10n daemon script
9374b7adf4 SVN_SILENT made messages (.desktop file) 2014-01-05 06:38:05 +00:00
l10n daemon script
c49565282e SVN_SILENT made messages (.desktop file) 2014-01-05 04:07:16 +00:00
Albert Astals Cid
10b6560cf7 Merge remote-tracking branch 'origin/KDE/4.12' 2014-01-05 01:32:53 +01:00
Albert Astals Cid
9adbd054e4 Do not resetSearch if we're closing down
It's useless as it will be reset anyway on the close down procedure
and it will cause a crash if you are unlucky.

Reason:
  * In the document observers qset pageview comes before
  * We are closing and notifySetup with an empty vector
  * pageview empties its vector in notifySetip
  * part sees the notifySetup and resets the search
  * resetting the search calls another notifySetup with the non empty page vector
    that will be deleted asap when we go back to the first notifySetup

There are another billion ways to fix this:
 * Don't allow nested notifySetup
 * Clear the running searches before sending the first notifySetup
 * Empty the pagesVector before sending the first notifySetup
 * etc

But i feel this is the less invasive one (even if it may not be the most technically correct)

BUGS: 329582
FIXED-IN: 4.12.1
2014-01-05 01:32:19 +01:00
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