Add 16 kHz sample rate and sundry.
This commit implements the change suggested in #2091 adding 16 kHz
audio sample rate (the default rate remains 44.1 kHz).
This commit also changes the 96.1 kHz rate to 96 kHz, which is more
commonly used, and fixes the unmatched combobox label 91000.
Add a 'saveAs' dialog function for the Lua api
Fixed the QuickScreenshot plugin to work with scrot (gnome-screenshot polluted the xournalpp window)
Fixed the comments in QuickScreenshot/main.lua to reflect current changes.
Fixed formatting in QuickScreenshot files and luapi_application.h
* Use a dark graph border color when using a black background
* Cleanup function to set alternative black background Graph lines
* Compare background color to middle gray to switch between dark and light graph lines
* Update src/view/background/GraphBackgroundPainter.cpp
Co-authored-by: Fabian Keßler <Fabian_Kessler@gmx.de>
* Fix formatting
Co-authored-by: Fabian Keßler <Fabian_Kessler@gmx.de>
* New translations
Afrikaans from Crowdin [skip ci]
Arabic from Crowdin [skip ci]
Basque from Crowdin [skip ci]
Catalan from Crowdin [skip ci]
Chinese Simplified from Crowdin [skip ci]
Chinese Traditional from Crowdin [skip ci]
Chinese Traditional, Hong Kong from Crowdin [skip ci]
Croatian from Crowdin [skip ci]
Czech from Crowdin [skip ci]
Danish from Crowdin [skip ci]
Dutch from Crowdin [skip ci]
English from Crowdin [skip ci]
Finnish from Crowdin [skip ci]
French from Crowdin [skip ci]
German from Crowdin [skip ci]
Greek from Crowdin [skip ci]
Hebrew from Crowdin [skip ci]
Hindi from Crowdin [skip ci]
Hungarian from Crowdin [skip ci]
Italian from Crowdin [skip ci]
Japanese from Crowdin [skip ci]
Klingon from Crowdin [skip ci]
Korean from Crowdin [skip ci]
Norwegian from Crowdin [skip ci]
Polish from Crowdin [skip ci]
Portuguese from Crowdin [skip ci]
Portuguese, Brazilian from Crowdin [skip ci]
Romanian from Crowdin [skip ci]
Russian from Crowdin [skip ci]
Serbian (Cyrillic) from Crowdin [skip ci]
Spanish from Crowdin [skip ci]
Swedish from Crowdin [skip ci]
Turkish from Crowdin [skip ci]
Ukrainian from Crowdin [skip ci]
Vietnamese from Crowdin [skip ci]
* New translations Hebrew from Crowdin [skip ci]
* Delete XournalView PDF cache when document changes
This prevent previous PDF pages being rendered instead of new PDF ones.
* PdfCache: set clearCache() public
* XournalView: clear PDF cache when document changes
* SidebarPreviewBase: clear PDF cache when document changes
* Reduce complexity of Document::findPdfPage
Adds an index from pdf to document page number.
This reduces the complexity of Docmunent::findPdfPage from O(n) to
constant for the document size.
To keep actions snappy, interactie actions such as altering the document
simply invalidates the index.
This change dramatically improves the load times of larger pdf documents
such as books.
* Add bulk loading to xoj LoadHandler.
Accumulates the pages while parsing and adds them in a single bulk call
when finished.
* Fix formatting
* Allow "tapping" when using the Select Rectangle and Select Region tools (in a similar way to tapping when drawing)
* Changed the implemetation of "tapping" selection to allow use with a stylus (that generates many more events than a mouse)
Co-authored-by: Luca Citi <lciti@ieee.org>