Kevin Slagle
8d501fc43a
getFreeMemory is called every two seconds when checking to see if the system is low on memory. Before this commit, half of these checks are useless (when okular is idle) since the cache is used when the cache is <=2 seconds old. This means that after they system is out of memory, up to 4 seconds (instead of 2) could go by before okular starts to free memory.
6 years ago
Albert Astals Cid
4019ec56e5
comicbook: Obey autotransform of images
...
BUGS: 410778
6 years ago
David Hurka
311cae2abe
Create mouse mode menu autotest
6 years ago
Albert Astals Cid
4964e7e42d
Merge remote-tracking branch 'origin/release/19.12'
6 years ago
Albert Astals Cid
81c005710c
Fix re-rendering of images when using partial updates
...
Partial updates trigger when the page is taking "too much" to render (>
500 ms).
When this happens we store a pixmap for the page, this meant that
Page::hasPixmap returned true, so when moving the viewport around we
would think that that page was already rendered, and thus needed no
rendering so we didn't add it to the list of requested pixmaps.
Then on document when seeing the new list of requested pixmaps we would
go and check and say "oh there's one request going on that we don't want
anymore, let's cancel it", so we would cancel the page that we actually
wanted (and clear the partial pixmap)
Then on the next scroll we would realize we did not have that page
pixmap and then request it again which since it's the current page would
immediately stop all other renders and start this one.
Then we would get a temporary pixmap and the loop of cancellations and
requesting again would keep happening as long as the user moved the
viewport.
We fix that my making hasPixmap return false if the pixmap we have is a
partial one, because that's what the function meant "forever" until we
recently introduced partial updates so all the calls to hasPixmap
actually mean "hasNonPartialPixmap"
BUGS: 418086
6 years ago
Christoph Feck
a7876ca013
GIT_SILENT Update Appstream for new release
6 years ago
Kevin Slagle
af99a04431
Use screen size when deciding if tile manager should be used
6 years ago
Pino Toscano
d8cad26be7
Merge remote-tracking branch 'origin/release/19.12'
6 years ago
Pino Toscano
76e972e950
appdata: use canonical cdn screenshot location
6 years ago
Christoph Feck
75b4e94608
GIT_SILENT Upgrade KDE Applications version to 19.12.3.
6 years ago
Simone Gaiarin
341875b342
Make clang-tidy in CI use the .clang-tidy config file
6 years ago
Simone Gaiarin
fa59b87bf3
Add .clang-tidy configuration file
6 years ago
Simone Gaiarin
04e6163b8c
clang-tidy: fix modernize-make-unique
6 years ago
Simone Gaiarin
31e2c29ef0
Set C++ minimum version to 14
...
Also set CXX_EXTENSIONS to OFF
6 years ago
l10n daemon script
a13ef3ecaa
GIT_SILENT made messages (after extraction)
6 years ago
Albert Astals Cid
af35ef4fbf
Merge remote-tracking branch 'origin/release/19.12'
6 years ago
Albert Astals Cid
ff7dff1d62
Fix rendering of stamps with non 100% opacity
6 years ago
Albert Astals Cid
3720833be4
Enable clazy qstring-allocations
6 years ago
Albert Astals Cid
07a1f616c0
Enable clazy qproperty-type-mismatch
6 years ago
Albert Astals Cid
9a32bd354d
Enable clazy raw-environment-function
6 years ago
Albert Astals Cid
dcf8f79481
Enable clazy isempty-vs-count and qhash-with-char-pointer-key
6 years ago
Albert Astals Cid
46d1ba0e20
Enable clazy missing-qobject-macro
6 years ago
Albert Astals Cid
6d0d61c2ad
Enable clazy copyable-polymorphic
6 years ago
Albert Astals Cid
93540ac16d
Enable most of clazy level2
6 years ago
Albert Astals Cid
968e9d6073
Enable clazy old-style-connect
6 years ago
Albert Astals Cid
a9598e83e8
Enable all of clazy level1
6 years ago
Albert Astals Cid
c10faf0926
Enable clazy qproperty-without-notify
6 years ago
Albert Astals Cid
edb44b1fd3
Enable clazy connect-3arg-lambda
6 years ago
Albert Astals Cid
91bce4a0a3
Enable clazy const-signal-or-slot
6 years ago
Albert Astals Cid
e03943fae9
Enable clazy qstring-lef
6 years ago
Albert Astals Cid
93de247795
Enable all of clazy level0
6 years ago
Albert Astals Cid
f85deae680
Enable clazy container-anti-pattern
...
Yes, this is a bit of cheating, but there's really no nicer way of doing
this and memory/speed here is not really important so we can trick clazy
6 years ago
Albert Astals Cid
3ca05fc1f8
Enable clazy qstring-insensitive-allocation
6 years ago
Albert Astals Cid
beb195c9e6
Enable clazy qcolor-from-literal
6 years ago
Albert Astals Cid
8e35b43a3d
Enable clazy unused-non-trivial-variable
6 years ago
Albert Astals Cid
0a60ab54c4
Enable clazy qstring-ref
6 years ago
Albert Astals Cid
95e19450c9
Enable clazy fully-qualified-moc-types
6 years ago
Albert Astals Cid
3b4dd35c9f
Enable clazy lambda-in-connect
6 years ago
Albert Astals Cid
eddbe03128
enable clazy strict-iterators
6 years ago
Albert Astals Cid
e54609b596
CI: rename to show we're also running clazy
6 years ago
Albert Astals Cid
468f4b64c2
CI: Enable clazy inefficient-qlist-soft
6 years ago
Albert Astals Cid
e2a1705703
CI: Enable clazy connect-not-normalized
6 years ago
Albert Astals Cid
3af705b3d7
CI: Enable clazy qdeleteall
6 years ago
Albert Astals Cid
a23709b097
CI: Enable clazy range-loop
6 years ago
Albert Astals Cid
82d5810493
CI: Enable clazy detaching-temporary
6 years ago
Albert Astals Cid
6ddb7e6cc9
CI: Enable clazy qhash-namespace
6 years ago
Albert Astals Cid
1a05112be1
CI: enable clazy incorrect-emit
6 years ago
Albert Astals Cid
96f00a4d29
CI: Enable clazy qstring-arg check
6 years ago
Albert Astals Cid
5ecbb51f77
Enable modernize-use-nullptr
6 years ago
Andi Sardina Ramos
d9069ef661
The shell and the part need to be independent of each other.
...
This reverts commit 931425987ab9138bd843e02488dfaa6fa1afd52f.
6 years ago