Commit graph

9900 commits

Author SHA1 Message Date
Phu Nguyen 57ea4a0be3 Remove leftover of a release element which made the syntax invalid 2022-12-01 09:14:53 +00:00
Max Mueggler 8c61b6a2b4 Fixed issue with occasional mis-sized tile
It turns out that there were two issues at play here: rounding errors
meant that pixmaps were almost never the same size as pagePainter
thought the tiles should be, and the tile-is-the-size-it-should-be code
path was broken (but only hit in rare cases, seemingly at random).

To help with rounding errors in the future, I added a geometryF function
to NormalizedRect that returns a QRectF. In general,
device-independent-pixel points/rects should be floating point, and
device-pixel rects should be integer.
2022-11-30 08:39:26 +00:00
Max Mueggler 521ea660ee Remove unnecessary copying from paintCroppedPageOnPainter
PagePainter::paintCroppedPageOnPainter had a few calls to
QPixmap::setDevicePixelRatio on pixmaps it does not own, which detaches
the pixmap, making a deep copy. It turns out these were all unnecessary.
It also copied scaled before drawing them onto the painter.

I've tested all the changes except for the annotation stamps, which I'm
just assuming works like the others.

Also ran clang-format.
2022-11-30 08:39:26 +00:00
Heiko Becker 95846eaf4e GIT_SILENT Update Appstream for new release
(cherry picked from commit 6076431f4b)
2022-11-30 09:03:22 +01:00
Heiko Becker 7a27483063 GIT_SILENT Update Appstream for new release
(cherry picked from commit cf4777477c)
2022-11-30 09:03:22 +01:00
l10n daemon script f7e56ba0fe GIT_SILENT Sync po/docbooks with svn 2022-11-29 02:02:57 +00:00
l10n daemon script dcc6cd77f2 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-11-29 01:49:28 +00:00
l10n daemon script 9a68d6189e GIT_SILENT Sync po/docbooks with svn 2022-11-27 01:58:41 +00:00
l10n daemon script 751fde0902 GIT_SILENT Sync po/docbooks with svn 2022-11-25 02:01:21 +00:00
l10n daemon script e3920241fe GIT_SILENT Sync po/docbooks with svn 2022-11-22 02:03:11 +00:00
l10n daemon script f5b834a205 GIT_SILENT Sync po/docbooks with svn 2022-11-21 01:57:31 +00:00
l10n daemon script b5da679ac3 GIT_SILENT Sync po/docbooks with svn 2022-11-20 02:18:36 +00:00
Albert Astals Cid d0beae60a9 Make signunsignedfieldtest pass again
the fake cert had expired ^_^
2022-11-20 01:25:46 +01:00
Albert Astals Cid b935e24876 Make the CloseDialogHelper work better on my setup 2022-11-19 20:39:55 +01:00
Albert Astals Cid 366464c012 parttext: Don't require pdflatex to run test
We can just run commit the files needed for it, makes life a bit easier
2022-11-19 20:39:51 +01:00
Albert Astals Cid fc8059575e Two more version checks that are not needed now 2022-11-19 11:10:16 +01:00
Albert Astals Cid 91afa74342 Set minimum requirement to Ubuntu 22.04 2022-11-19 09:48:15 +00:00
l10n daemon script b390ff665b GIT_SILENT Sync po/docbooks with svn 2022-11-19 01:59:30 +00:00
l10n daemon script 2fb2172b34 GIT_SILENT Sync po/docbooks with svn 2022-11-17 01:56:53 +00:00
l10n daemon script cb17fd97be GIT_SILENT Sync po/docbooks with svn 2022-11-16 02:08:52 +00:00
Nikola Nikolic e6002e798d Fix: Involuntary scrolling when annotations encounter the edge of the page
There are three reasons why scrolling happens (first two cases of scrolling are actually due to
viewport transition that is triggered by annotation being traslated/created):

1. VisiblePageRect are NormalizedRect and should be represented by four values in [0, 1] interval.
   Due to rounding errors caused by using QRect, they only reach the [0, 0.999] interval.
   That means that right and bottom edge of the page are never visible so if annotation
   is translated along the right/bottom edge viewport transition occurs (fixed in
   PageView::slotRequestVisiblePixmaps)

2. For freehand line there are some constants (dX, dY) that make a line to be drawn outside
   the page borders causing viewport transition. Removing these constants solves the problem (fixed
   in SmoothPathEngine::event)

3. Browse mode is activated as soon as the cursor is moved outside the viewport.
   Instead, we should forward the move event to the annotation which than can ignore the event (fixed
   in PageView::mouseMoveEvent)

BUG: 436742
2022-11-15 13:30:55 +00:00
l10n daemon script e4b1d3d776 GIT_SILENT Sync po/docbooks with svn 2022-11-15 02:04:58 +00:00
l10n daemon script 00eb8d9a75 GIT_SILENT Sync po/docbooks with svn 2022-11-14 02:00:15 +00:00
Eugene Popov 40aa5fadb6 Increase scrolling speed with the touchpad
Currently, scrolling through a document using the touchpad is quite slow compared to scrolling through the standard Qt controls. This MR increases the speed of scrolling with the touchpad by removing the "magic" divider.

CCBUG: 455014
2022-11-13 18:12:25 +00:00
l10n daemon script f65a2b5f03 GIT_SILENT Sync po/docbooks with svn 2022-11-13 01:59:13 +00:00
l10n daemon script 24441bca1d GIT_SILENT Sync po/docbooks with svn 2022-11-12 02:00:42 +00:00
l10n daemon script bfd136edfc GIT_SILENT Sync po/docbooks with svn 2022-11-11 02:01:56 +00:00
l10n daemon script b44ac3af51 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-11-11 01:50:49 +00:00
l10n daemon script 3c4d8cbfd3 GIT_SILENT made messages (after extraction) 2022-11-11 00:43:49 +00:00
l10n daemon script 3910e8cf55 GIT_SILENT Sync po/docbooks with svn 2022-11-10 02:02:07 +00:00
l10n daemon script 9f1300c115 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-11-10 01:51:04 +00:00
l10n daemon script 88305153ee GIT_SILENT Sync po/docbooks with svn 2022-11-08 01:58:36 +00:00
l10n daemon script 00580701bc GIT_SILENT Sync po/docbooks with svn 2022-11-07 02:20:03 +00:00
Albert Astals Cid 77d2c6c703 GIT_SILENT Upgrade release service version to 23.03.70. 2022-11-05 21:32:00 +01:00
l10n daemon script c59ac54a76 GIT_SILENT Sync po/docbooks with svn 2022-11-04 02:00:03 +00:00
l10n daemon script 5ddc99fdd9 GIT_SILENT Sync po/docbooks with svn 2022-11-03 02:05:13 +00:00
Ilya Pominov a51de260f5 Fix build warning in pdf generator
warning: ‘void Poppler::Document::getPdfVersion(int*, int*) const’ is
deprecated [-Wdeprecated-declarations]
2022-11-03 01:05:40 +03:00
l10n daemon script d8dbe2f865 GIT_SILENT Sync po/docbooks with svn 2022-11-02 02:12:22 +00:00
l10n daemon script 673d153c4a GIT_SILENT Sync po/docbooks with svn 2022-11-01 02:02:54 +00:00
l10n daemon script a8a89b2d8c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-11-01 01:52:20 +00:00
l10n daemon script 547a0e2f76 GIT_SILENT made messages (after extraction) 2022-11-01 00:45:28 +00:00
l10n daemon script a7e98f4a24 GIT_SILENT Sync po/docbooks with svn 2022-10-31 02:25:58 +00:00
l10n daemon script dc22f55060 GIT_SILENT Sync po/docbooks with svn 2022-10-28 02:07:53 +00:00
l10n daemon script 9579a4540f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-10-28 01:51:08 +00:00
l10n daemon script 235c93c8ad GIT_SILENT made messages (after extraction) 2022-10-28 00:43:52 +00:00
Alexander Volkov 3b65ab4ad7 mobile: Fix loading of translations
Amends 5f8f84d53c
2022-10-26 21:11:49 +00:00
l10n daemon script 6095e54c96 GIT_SILENT Sync po/docbooks with svn 2022-10-26 02:01:13 +00:00
l10n daemon script b26167a37c GIT_SILENT Sync po/docbooks with svn 2022-10-25 01:59:50 +00:00
l10n daemon script 5426a0c8af GIT_SILENT made messages (after extraction) 2022-10-25 00:45:15 +00:00
l10n daemon script 6719228570 GIT_SILENT Sync po/docbooks with svn 2022-10-24 02:00:29 +00:00