Pkgsrc changes:
* Xournal++ has its own smoothing/averaging options available, so the
Bezier curve patch for NetBSD and OpenBSD is not needed anymore.
* Enable the velocity Gaussian averaging option by default on NetBSD
and OpenBSD to avoid the "stepping" seen with raw input.
Changelog:
== 1.1.0
This is a new major version of Xournal++ with many new features, improvements,
and bug fixes thanks to over one year's worth of contributions from the
community.
* **Breaking changes**:
* Xournal++ now follows the [XDG Base Directory
Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)
(#1101, #1384). The configuration files will now be stored in an
appropriate platform-specific user data folder. Old configuration files
will be copied automatically if the new user data folder does not exist.
* For users that have non-default DPI settings, text elements in old
documents may be displayed with incorrect sizes/positions. A new plugin is
included to fix the positioning of these text elements. See the relevant
bug in the "Text tool" section below.
* The old input system has been removed, which may affect some users.
* Windows: The installer has been updated, fixing many issues such as:
incorrectly set up registry keys, missing uninstaller entry, missing
entries in Open With context menu in Explorer, missing icons, etc. (#2606,
#2585, #2387, #2141, #2036, #1903, #2666, #3215). When upgrading from
1.0.18, you **must not run the uninstaller**; instead, run the updated
installer, which will clean up files from the old install and fix the
registry key entries. **If you are downgrading from 1.1.0 to 1.0.18 or
older, you must run the uninstaller first.**
* Linux: Support for Ubuntu 16.04 (and older distros) has been dropped.
Please use a distro from 2018 or later, such as Ubuntu 18.04 or Debian
Buster. The dependency versions have been updated accordingly.
* Linux: The thumbnailer program has been renamed from `xournal-thumbnailer`
to `xournalpp-thumbnailer` in order to fix tab completion (#1752).
* Linux: Xournal++ now has a hard dependency on `librsvg`. This should not affect
end-users, only maintainers and packagers.
* The code has been updated to use C++17 (#1485) and must now be compiled
using a supported compiler version, such as GCC 7 or Clang 5 (or newer).
* MacOS: Dropped support for macOS High Sierra; minimal version is now Catalina (#2989)
* Document viewing
* Changed page selection system to now select the current page during
scrolling (#1613, #1184).
* Improved page load performance and memory consumption with new page
preload mechanism (#2603).
* Fixed a bug where scrolling would not work with zoom fit enabled until the
zoom level changes (#2541).
* Fixed some bugs that prevented documents from being displayed on ARM and
32-bit devices (#2576).
* Fixed vim-style `hjlk` keybindings being inconsistent with the arrow keys
(#2712).
* Added a shortcut for the default tool (#2872) and changed shortcuts for
page deletion and layer navigation (#2766)
* Fixed various issues related to zooming and scrolling (#2435, #2743,
#2023, #1830, #2821)
* Fixed zoom slider tick marks being set to the wrong values when DPI
calibration setting is different from the default (#2923)
* Fixed a freeze caused by scrolling between pages of different size (#2770,
#3099).
* Document export
* Added a "progressive mode" option to PDF file export dialog. This will
render layers from bottom to top, exporting a new page every time a layer
is rendered (#2589, #2609).
* Simplified background rendering to improve compatibility of exported SVGs
(#2598).
* Made line spacing equal in export and on view when pango version >= 1.48.5 is
available (#2182)
* Updated the Cairo version on Windows to fix a bug that created corrupt PDF
files on export (#2871)
* Fixed a crash that occurs when closing the application before export
finishes (#3159).
* Sidebar preview panel
* Added new "Layerstack Preview" tab that shows all layers up to the current
layer (#2795).
* Changed sidebar colors to be dark when using a dark theme (#2726).
* Changed layer previews to only show background in background layer (#2674)
* Moved close button from the bottom to the top to improve usability
(#2727).
* Fixed button tooltips not reflecting the page/layer tabs (#2776).
* Fixed a bug where the buttons would be enabled/disabled inconsistently
(#2776).
* Audio playback
* Added seeking functionality during playback (#1520)
* Fixed crashes caused by race conditions in the audio system
* Fixed bug where gaps in the audio stream could appear while recording
* Added an error message popup which displays when a recording fails to load
or play (#1573)
* Input System
* Removed the old input system and touch workaround, both of which have been
deprecated (#2308).
* Added a `Mouse+Keyboard` device class for handling e.g. wireless USB
mouse/keyboard receivers (#1769, #1785).
* Added Preference settings for minimum pressure level and pressure
multiplier (#2622).
* Added an experimental stroke smoothing / input stabilization feature
(#2512, #2856, #2863).
* Added a touchpad pinch gesture for zooming (#2651).
* Added a Preferences setting to ignore the first few pen input events when
starting a new stroke (#1854).
* Reimplemented zoom gestures for better compatibility (#1528)
* Improved tool handling (#2339)
* Fixed a bug where the touchscreen could not be used to pan and zoom when
touch drawing is enabled (#2435).
* Fixed a bug where two-finger zoom would be triggered even when zoom
gestures are disabled (#2510).
* Fixed touch drawing not working with the pen tool (#2123).
* LaTeX tool
* Reworked LaTeX tool implementation (#1952).
* Added a new tab in the Preferences window for LaTeX configuration.
* Added a `global template file` setting for custom LaTeX template files
to be used when rendering LaTeX formulas (#1188).
* Added a button in the Preferences window for testing LaTeX setup.
* Fixed a bug where closing the dialog before the initial render would crash
the application (#2728, #2798).
* Fixed a bug where line breaks would not be saved correctly (#2849).
* Windows: Fixed a bug where long user names would break the LaTeX tool
(#3046).
* Spline tool
* Added cubic splines as a drawing tool (#1688, #1798, #1861).
* Click to add anchor points (knots) and drag to create non-trivial
tangents. Backspace key, arrow keys, s and Shift+s allow to delete/modifiy
the last set knot/its tangent. Escape key and double click exit the spline
drawing mode.
* Snapping
* Added snapping for vertical space (#2011)
* Added snapping for moving and resizing selections (#1972, #2011)
* Added snapping for recognized shapes (optional setting; #2011)
* Added a Preferences settings to preserve line width while resizing a
selection (#2011)
* Added a Preferences setting to change the snap grid size (#1920).
* Fixed a bug in the grid snapping tolerance (#2779).
* Selections
* Added ability to mirror selected elements when scaling in a negative
direction (#2723).
* Added `Edit > Arrange` menu items and the corresponding actions for
rearranging selected elements (#2794).
* Changed element selection to not automatically rearrange items (#1680).
Instead, rearranging must be performed with the newly added menu entries.
* Fixed some bugs where selections would not be copied correctly (#2277,
#2090, #2733) and would cause strokes to become invalid/missing when
saving (#2857, #2464).
* Fixed a bug in the Select Object algorithm (#2478)
* Pen and eraser tools
* Added Preferences settings to configure the radius, color, and border of
the cursor highlight when `Highlight cursor position` is enabled (#1891,
#1898).
* Added a new "no cursor" cursor type and changed "Big pen" checkbox in
Preferences into a combo box (#2111).
* Renamed "fill transparency" to "fill opacity" to avoid confusion (#2590).
* Added thick/thin settings to default tool preferences (#2611).
* Added ability to change line styles of existing strokes (#2641).
* Changed name of "Draw Circle" to "Draw Ellipse" (#2708).
* Changed name of "Ruler" to "Draw Line" (#2959).
* Improved circle drawing controls (#2707).
* Improved the accuracy of the eraser tool (#1818).
* Changed pen/highlighter cursor to be in the shape of a circle with the
approximate stroke size (#1945, #1513).
* Fixed a cursor update bug (#1954).
* Fixed strange behavior of color switches when temporarily using the eraser
(#2004, #1546, #1712).
* Text tool
* Added support for text edit blinking to be enabled/disabled through
standard GTK configuration settings (#2170).
* Fixed several serious bugs and user experience issues with IME pre-edit
strings (#2789, #2788, #2826, #2851).
* Fixed a bug where the font button would not be updated when editing a text
field (#2620).
* Fixed a bug where text elements would not be displayed at the correct
positions when an image is used as the page background (#2725).
* Fixed a bug where text would be displayed with an incorrect size when DPI
is set to a non-default value. A plugin for migrating documents with wrong
font sizes has been added (#2724).
* Fixed a bug where selected text would be highlighted incorrectly (#3131).
* Toolbars
* Added a print button to the default toolbar (#1921).
* Added a menu toggle item for showing/hiding the toolbar, bound to F9
(#2112).
* Added a vertical mode for the pagespinner tool (#2624).
* Added color indicators to toolbars when customizing the toolbars (#2726).
* Improved appearance of the floating toolbar (#2726).
* Fixed a crash that occurs when the application is closed with the toolbar
customization dialog open (#1189).
* Fixed multiple bugs involving the toolbar customizer (#2860).
* Plugins
* Extended plugin API with many new features and functions, including page
and layer operations (#2406, #2950).
* Added a Lua plugin for taking a screenshot and saving it to a file
(#2086, #2787).
* Added a Lua plugin for cycling though a color list (#1835, #2251).
* Added Lua plugin support for MacOS (#2986)
* Allow using the system Lua package path (#2968)
* Paper backgrounds
* Added an isometric paper background type (#1994).
* Changed background types to use lighter line colors when a dark background
is set. The colors can be set in `pagetemplates.ini` (#2055, #2352).
* Fixed the confusing behavior of the `Apply to current/all pages` buttons
used to change the page backgrounds (#2730).
* Fixed cloned background images not loading correctly (#3170).
* Packaging changes
* AppImage: Fixed AppImages not running on more recent Linux distros
(#2600).
* Linux: Fixed an issue with dock icons not appearing correctly in some
desktop environments (#2881, #1791).
* Debian packages: added man pages (#2701)
* The `lua-lgi` package has been added to the list of `Recommended`
dependencies. It is useful for creating GUI in Lua plugins.
* Streamlined and updated package metadata (#3094).
* Misc
* Updated author information and About dialog appearance (#3209)
* New action icons (#3154) and new application icon (#2557).
* Changed the error dialog for missing PDF backgrounds to display the full
path of the missing PDF (#3140).
* Changed default key binding of middle mouse button from nothing to hand
tool (#3121).
* Changed the `Help > Help` menu item to point to the new website
[www.xournalpp.github.io](www.xournalpp.github.io), which replaces the
User Manual wiki.
* Added a setting in the Preferences window for selecting the language
(#2188). Simplified language translation file names (#3166, #3201).
* Added a feature to allow the user to modify the locale directory via the
TEXTDOMAINDIR environment variable (#2600, #2845).
* Added support for more export options in command line and GUI (#2449)
* Added a command line option to create a xopp file (#1919).
* Added the `Journal > Rename Layer` menu entry to rename layers (#2321).
* Added the `Journal > Append New PDF Pages` menu entry to append PDF pages
that are not in the current annotation file (#2146)
* Improved look of the Preferences window (#2592).
* Improved Print Dialog verbosity and error handling (#3002)
* Fixed a bug where the `Autoloading Journals` option would only autoload
annotation files with `.pdf.xopp` or `.pdf.xoj` extensions. (#2911,
#3217).
* Fixed bugs in element cloning, which previously could have caused elements
to become invalid (#2733, #2720, #2464).
* Fixed a bug where the thumbnailer would not correctly render previews in
file managers that sandbox their thumbnailers (#2738).
* Fixed a bug where some error message dialogs would not display the message
correctly (#3214).
* Fixed keyboard shortcuts not working when the menubar is hidden (#2324)
* Fixed the undo operation for moving objects across page borders (#3068)
* Updated the translation files.
* Non-visible refactoring and code cleanup (#1279, #2150, #1944, #2199,
#2213, #2252, etc.)
* MacOS: Fixed the startup crash on BigSur and removed the integration
of Xournal++ into the Mac Menu Bar (#2836, #2976)
* Windows: Fixed a crash that occurs when closing the application (#2218).