- 03 Jul, 2022 12 commits
-
-
Rafał Siejakowski authored
Remove an old debug message that used to spam stdout.
-
Removed the blue color of user defined keyboard shortcuts from the preferences. The blue color was illegible. Now the user defined keyboard shortcuts are in bold. Fixes: inkscape/inkscape#910
-
When a style is set on a DrawingItem, copy the variables we need access to out of SPStyle and into DrawingItem member variables. (The number of such variables is very small, so this has no cost.) This reduces the reliance on SPStyle from future off-main-thread code. Minor changes: * Make SPStyle refcount mutable. * Make various style-related methods/arguments const. * Some reformatting in the DrawingItem hierarchy.
-
This outputs postscript and eps formats and moves some of the key code out of the pdf exporter to make it more generic. The printing postscript is refactored to allow multiple pages with both vector and raster output options.
-
- 02 Jul, 2022 2 commits
-
-
Jabier Arraiza authored
-
Nathan Lee authored
Use align dialog alignment target. Follow-up to e30a5ffc, b23fb719, and 6ed748a0.
-
- 01 Jul, 2022 2 commits
-
-
Rafał Siejakowski authored
* Ensure that the rasterization of filter effects on PDF export gets triggered for clones, whenever the <use> chain contains a filtered item. Make sure this happens also for filtered items inside groups, any clones of directly filtered groups, and any nested combinations of these. * Do not directly render items inside a marker's definition, even if the marker is defined outside of <defs>, but do render such markers on paths that reference them. * Ensure that "context-fill" and "context-stroke" styles are respected even when applied to a path contained in arbitrarily nested groups inside a marker definition. Fixes #3214 Fixes #3498 Fixes #3566 Fixes #3635
-
Rafał Siejakowski authored
These tests check the correctness of PDF export of items with filters and their clones when these items appear on page 2 of a multipage PDF file. Thus, they serve as regression tests for the referenced issues. Reference: #3214 Reference: #3635
-
- 30 Jun, 2022 5 commits
-
-
Members changed: - _router - _event_log
-
The function was previously returning a new vector while also taking a reference to a vector as an argument. This makes a static function get_avoided_items_rec() to handle the recursive search.
-
This change makes Inkscape::Selection a non GC object, we also replace the raw pointers in SPDesktop and SPDocument with std::unique_ptr's to make memory management easier.
-
This makes the selection object accessible only with an accessor method. This is preparation to removing the GC from Selection.
-
-
- 29 Jun, 2022 2 commits
-
-
aadilshabier authored
- Made DocumentSubset::_relations a smart ptr - Made SPDocument::_profileManager a smart ptr - Made SPDocument::getProfileManager() return a reference
-
- 28 Jun, 2022 1 commit
-
-
PDF and PostScript documents created by Cairo specify page dimensions as integers (in PostScript points), so the pages in export output end up slightly larger than what Inkscape requests. This change gives the user the option to either keep the relative size of the drawing (with respect to the page) or to keep the absolute sizes. The new option is selected from the PDF export dialog. Fixes #3569
-
- 26 Jun, 2022 4 commits
-
-
Fix a segfault occurring when a "maskhelper" group is ungrouped by the user manually. This is achieved by preventing the temporary removal of masks from destroying the group prematurely which would then crash the actual delete code in sp_item_group_ungroup(). Fixes #3616
-
René de Hesselle authored
Use the official numpy wheel and don't build it ourselves. This avoids an issue with a broken accelerator on macOS. Fixes #3551 Update jhb to v0.15.
-
PBS authored
Refactoring of /trace: * Bring code in line with C++/project guidelines. * Remove unnecessary/near-unnecessary code and classes. * Split out cielab.cpp. Design changes: * Foreground detection now creates its own temporary display tree rather than re-using that of the active desktop, eliminating a slight multithreading obstacle. * Foreground detection now rasterises the display tree rather than hit-testing every pixel, improving efficiency and allowing handling of alpha. Bugs fixed: * Instant crash when tracing image due to recent pixbuf immutability changes in 797be5a7. (See #3634 below.) * Flawed caching optimisations in siox and trace. * Various bugs with foreground detection. Fixes #3634.
-
PBS authored
This fixes the sort predicate used by the paint servers dialog to not return true if a == b, which on some implementations can crash std::sort.
-
- 25 Jun, 2022 1 commit
-
-
Nathan Lee authored
-
- 24 Jun, 2022 1 commit
-
-
PBS authored
Ensure SPShape::_curve is immutable to allow thread-safe sharing in the future. It essentially already was -this commit just enforces that in code while cleaning up a few immutability violators, mainly in the connector tool and SPPath::set_transform.
-
- 23 Jun, 2022 2 commits
-
-
Fixes #3516
-
Martin Owens authored
When the drawing items are mutated during a modification event cycle, there is the possibility that the drawing item hierarchy is not consistent and will crash. Also fixes lack of updates on selectionModified. Fixes #3638 Fixes #3582
-
- 21 Jun, 2022 3 commits
-
-
Rafał Siejakowski authored
In this revision, Inkscape cannot create margins while resizing the document to content. Once Martin's new margin functionality is ready, the relevant tests can be re-enabled. Maintainers: Feel free to revert this commit when that happens.
-
Rafał Siejakowski authored
When the y-axis points up, the reference point for shifting the drawing items and scrolling the canvas view should be the max() rather than the min() of the y-interval of the desired bounding box. Clean up the code and remove the remnants of margins functionality (soon to be replaced). Fixes #3609 Co-authored-by:
Martin Owens <doctormo@gmail.com>
-
Rafał Siejakowski authored
Make sure objects are aligned to visual top/bottom regardless of whether the y-axis points up or down. Additionally, prevent unnecessary copies. Fixes #3613
-
- 19 Jun, 2022 1 commit
-
-
- 18 Jun, 2022 3 commits
-
-
aadilshabier authored
-
When offset is too large, edges were cut off. See !2974
- 17 Jun, 2022 1 commit
-
-
Handle double mouse clicks on the tool buttons directly instead of relying on a time-based hack. Fixes #2537
-