Commit graph

6723 commits

Author SHA1 Message Date
Luigi Toscano 9a59b49d8c Code cleanup: remove references to the old KDVI statusbar 2014-02-23 01:44:40 +01:00
Luigi Toscano b27d890812 Use signals to display messages in fontpool
- replace KMessageBox usage
- cleanup/rewrite few message strings
2014-02-23 01:44:39 +01:00
Luigi Toscano 2c5672ea74 Use signals to display messages in dviRenderer*
- replace KMessageBox usage
- readd and clean few notice/warning/error messages (previously commented)
2014-02-23 01:44:39 +01:00
Luigi Toscano 4ae6ece82e Use signals to propagate notifications in dviexport and psgs
Change KMessageBox into notifications (PageViewMessage).

REVIEW: 115925
2014-02-23 01:44:39 +01:00
l10n daemon script 5a8d7e34aa SVN_SILENT made messages (.desktop file) 2014-02-22 04:22:37 +00:00
Michal Humpula c07ee043a3 Multiple Tiles Managers per Page
It's straighforward implementation. Every single place, where there were call for (or with) TilesManager, now has a DocumentObserver as companion. The m_tiledManager reference in PagePrivate was changed to QMap<DocumentObserver, TilesManager>.

REVIEW: 113986
2014-02-19 23:41:22 +01:00
l10n daemon script 41d55ee477 SVN_SILENT made messages (.desktop file) 2014-02-18 05:09:56 +00:00
Vishesh Handa a034265e75 QML PageItem: Handle document path changes
PageItem works quite well if the DocumentItem has the path on
construction, but it does not update if the path is initially blank and
then later changed.

REVIEW: 115751
2014-02-17 13:18:31 +01:00
l10n daemon script d751245137 SVN_SILENT made messages (.desktop file) 2014-02-17 07:20:35 +00:00
l10n daemon script e1f7b5c512 SVN_SILENT made messages (.desktop file) 2014-02-17 04:40:59 +00:00
Albert Astals Cid 52ad9eae5b Merge remote-tracking branch 'origin/KDE/4.12'
Conflicts:
	VERSION
	core/version.h
	generators/mobipocket/okularApplication_mobi.desktop
2014-02-16 18:10:35 +01:00
Alexander Potashev f68c26bbea Disable action "View -> Auto Fit" when no document is opened
REVIEW: 115776
2014-02-16 18:09:46 +01:00
Luigi Toscano 480df58d68 Few fixes to PageViewMessage
- support for multiline/long messages (properly wrapped)
- react (resize) on parent resize
- code refactoring (common code in private methods)

REVIEW: 115596
2014-02-15 23:40:36 +01:00
Jonathan Doman ecf1f28290 Set tabWidget's documentMode
REVIEW: 115636
2014-02-13 23:25:27 +01:00
l10n daemon script a385cb2831 SVN_SILENT made messages (.desktop file) 2014-02-09 08:16:27 +00:00
l10n daemon script ca320b1d9d SVN_SILENT made messages (.desktop file) 2014-02-09 05:43:48 +00:00
Yuri Chornoivan 5c8f3392ec Update docs to the new option to open docs in tabs 2014-02-08 14:45:43 +02:00
Albert Astals Cid 7681cdf004 Move the open new files in tabs setting to configure dialog
Also make it non enabled by default for now

GUI
BUGS: 155515
2014-02-08 12:15:15 +01:00
Jonathan Doman 0a982319f4 Tabbed interface
GUI
BUGS: 155515
REVIEW: 110914
2014-02-08 11:44:26 +01:00
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