Commit graph

1320 commits

Author SHA1 Message Date
Fabio D'Urso cebe8d6509 Merge remote-tracking branch 'origin/KDE/4.13' 2014-05-10 11:48:59 +02:00
Fabio D'Urso f7ec9df0af Don't leak temporary unpacked metadata files extracted from .okular files 2014-05-10 11:37:50 +02:00
Albert Astals Cid 7b7fef0bea Move the messagebox about continuing search from core to ui 2014-05-10 11:33:21 +02:00
Albert Astals Cid e759c94224 let's call it searchid, goes for better searching :) 2014-05-10 10:27:59 +02:00
Albert Astals Cid 4c553ac87f small docu fix 2014-05-10 10:26:30 +02:00
Albert Astals Cid c8697989a1 Do not duplicate the noDialogs storage in two structs 2014-05-10 10:09:38 +02:00
Albert Astals Cid 3c3d4373ab Do not reset the search if it's a different search id
Doesn't make any sense, why would we want a "running searches map" if we
always reset the previous one?

BUGS: 334568
FIXED-IN: 4.13.2
2014-05-10 10:07:23 +02:00
Albert Astals Cid 6bf6b14f3c Do not reset the search if it's a different search id
Doesn't make any sense, why would we want a "running searches map" if we
always reset the previous one?

BUGS: 334568
FIXED-IN: 4.13.2
2014-05-10 10:04:47 +02:00
Fabio D'Urso e514ddbf78 Added @since markers 2014-05-10 00:56:57 +02:00
Albert Astals Cid 630d3a8a5f Simplify search parameter passing 2014-05-10 00:49:01 +02:00
Albert Astals Cid b92f5b5188 remove old ifdefs, it's cool how we are now :) 2014-05-09 23:04:43 +02:00
Albert Astals Cid e93d5bda01 Move KWallet code from pdf backend to ui
This helps with the widget dependency removal in the core/backends
2014-05-09 19:58:43 +02:00
Albert Astals Cid 0c7791e87f Prepare for 4.13.1 2014-05-04 19:43:44 +02:00
Albert Astals Cid 60b7932c55 Merge remote-tracking branch 'origin/KDE/4.13' 2014-05-02 00:42:11 +02:00
Eugene Shalygin 88725241b8 Make sure edid and xrand sizes match before using them to calculate DPI
BUGS: 333456
2014-05-02 00:41:06 +02:00
Albert Astals Cid b3962b868e Merge remote-tracking branch 'origin/KDE/4.13' 2014-05-01 13:29:27 +02:00
Albert Astals Cid 9252044c0c KScreen::Config::current can return null 2014-05-01 13:27:19 +02:00
Albert Astals Cid 2c7baf1a9a Prepere for 4.13.0 2014-04-09 23:35:23 +02:00
Albert Astals Cid 0c2aa70aca Merge remote-tracking branch 'origin/KDE/4.13' 2014-04-02 23:44:22 +01:00
Albert Astals Cid a7f3a1ac37 Protect us against broken drivers/screens
Some drivers screens return 0x0 as their screen size so we can't use it
to calculate the dpi

BUGS: 332746
BUGS: 332494
FIXED-IN: 4.13.0
2014-04-02 23:43:38 +01:00
Albert Astals Cid 8ee72f3301 Merge remote-tracking branch 'origin/KDE/4.13' 2014-03-31 02:00:25 +02:00
Albert Astals Cid 444f66ac29 Some more output that can be of help 2014-03-31 02:00:09 +02:00
Albert Astals Cid 5f211f5646 Prepare for 4.13 RC 2014-03-25 20:25:17 +01:00
Albert Astals Cid 74d97571c3 Prepare for 4.12.4 2014-03-25 20:24:07 +01:00
Albert Astals Cid 6041d1fcd2 prepare for Beta3 2014-03-17 22:25:03 +01:00
Albert Astals Cid d175d829f2 Merge remote-tracking branch 'origin/KDE/4.13' 2014-03-12 23:08:04 +01:00
Christoph Feck 60cc5dc98e TextDocumentGenerator: Use black as default text color
REVIEW: 111681
BUGS: 253583
BUGS: 322547
FIXED-IN: 4.12.90
2014-03-12 23:01:42 +01:00
Albert Astals Cid 83c75c7d04 Prepare for 4.13 Beta 2 2014-03-11 19:48:44 +01:00
Albert Astals Cid 397557e458 Prepare for 4.13 Beta 1 2014-03-06 00:34:26 +01:00
Montel Laurent 5e16604fb3 Merge remote-tracking branch 'origin/KDE/4.13' 2014-03-02 14:00:25 +01:00
Montel Laurent 7b79ca1b36 Pedentic-- 2014-03-02 13:59:49 +01:00
Albert Astals Cid 9858322668 Merge remote-tracking branch 'origin/KDE/4.13' 2014-03-01 17:11:15 +01:00
Albert Astals Cid 3c79ac8ea1 Merge remote-tracking branch 'origin/KDE/4.12' into KDE/4.13 2014-03-01 17:03:23 +01:00
Albert Astals Cid a75a7ed086 Do not start a text generation thread if we're closing
Fixes occasional crash and makes no sense either :D
2014-03-01 17:01:14 +01:00
Albert Astals Cid b8778575f4 master is now 4.14 2014-02-28 00:12:35 +01:00
Albert Astals Cid 7829a47570 Prepare for 4.12.3 2014-02-28 00:10:30 +01:00
Jaan Vajakas a80922d45e Improve XY Cut layout recognition code
It was a simple bug in the XY Cut layout recognition code that made it too eager to see columns everywhere.
Also removed the dependence of the layout analysis algorithms on the display DPI (introduced by the recently added feature of using KScreen) to make their behavior more predictable and reproducible.

BUGS: 326207
BUGS: 331090
FIXED-IN: 4.13.0
REVIEW: 115759
2014-02-25 23:59:41 +01: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
Albert Astals Cid 66c6432f5b Prepare for 4.12.2 2014-01-28 23:01: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 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
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 59e8643697 Prepare for 4.12.1 2014-01-09 00:27:35 +01: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