summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor formatting cleanup.Tavmjong Bah2018-01-301-61/+59
|
* Minor fixes and reorganizing 'object' README file.Tavmjong Bah2018-01-301-75/+73
|
* Add error output when file loading fails.Tavmjong Bah2018-01-301-3/+26
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-30548-2446/+3367
| | | | A lot of header clean-up.
* Don't translate the empty string.Eduard Braun2018-01-294-10/+10
| | | | | | | Really, please don't do it! - in the best case it shows a wall of useless text to the user - in the worst case it causes strange crashes for users with non-English locale
* OCAL dialog: make requests non-blocking on windowsEduard Braun2018-01-261-8/+9
| | | | | | | | | | - Revert 738e2fcae54ef8764d33d3a47bf7868641efdcfd (which introduced asynchronous call) - Instead properly catch exceptions from load_contents_finish() which were probably what caused the crashes in the first place Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1745521
* Fix handling of filenames of linked images in .odg exportEduard Braun2018-01-242-6/+1
| | | | | | | | | | | | | | | - export of .odg files was completely broken on Windows as "documentUri = Inkscape::URI(filename);" always failed (Windows paths are never valid URIs because of '\') - Linked images did not seem to be working on any OS (probably regression in 6f844ef457690c841b0be91d70b1e54b61c04812) I assume support for linked images is still sketchy but seems to work in the most common cases; support for embedded images seems to be non-existent, though. Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1654034
* Always show an error dialog on failed savesEduard Braun2018-01-241-0/+17
| | | | | | | | | As a result of 2b8d9986140cc36ea6c0a3c3b88571983490e0ef the actual exceptions are now catched (instead of the generic Inkscape::Extension::Output::save_failed) but were not handled yet. Implement this handling for generic exceptions and output any potentially helpful information on what went wrong.
* Minor include file cleanup.Tavmjong Bah2018-01-2310-17/+8
|
* Convert gradient-toolbar to use ink-select-one-action.Tavmjong Bah2018-01-221-617/+597
| | | | With lots of other clean-up.
* Add functions to return Gdk::Pixbuf's for gradients and gradient stops.Tavmjong Bah2018-01-222-0/+80
|
* Add pixmap and data (pointer) members to column.Tavmjong Bah2018-01-222-4/+16
|
* Add 5° rotation optionMarc Jeanmougin2018-01-201-3/+3
| | | | Fixes https://bugs.launchpad.net/inkscape/+bug/1744481
* Move general ellipsize text function out of gradient files.Tavmjong Bah2018-01-198-11/+81
|
* Don't allow dragging path at cap or line joinEduard Braun2018-01-181-0/+1
| | | | | | | | | This avoids a crash as dragging infinitesimally close to the node will cause undefined behavior (and we were actually dragging at the node itself in those two cases). Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1691406
* PreviewHolder: derive from Gtk::BinStefano Facchini2018-01-182-42/+20
| | | | | Also, remove an intermediate container between the bin and the scrolled window.
* Remove unused abstract class PreviewFillableStefano Facchini2018-01-186-96/+28
| | | | PreviewHolder is the only implementation.
* swatches: Code cleanupStefano Facchini2018-01-183-332/+166
| | | | | | | | | Now that all our code in a single file, it can be consolidated and cleaned up. The widgetry should be functionally identical to the previous one, with one exception: a Gtk::MenuButton replaces the old menu popper made up with an EventBox.
* Minor cleanup.Tavmjong Bah2018-01-181-21/+34
|
* Fixes https://bugs.launchpad.net/inkscape/+bug/1742305 (ungrouping can lose ↵Marc Jeanmougin2018-01-171-0/+1
| | | | group's opacity)
* Properly support palettes without color namesEduard Braun2018-01-171-2/+10
| | | | | | | | | | - use hexadecimal color code as a replacement in this case. - do not attempt to translate empty string / color name - fix an issue in the custom trim() function returning early for strings only consisting of a single whitespace character, e.g. "\n" Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1743708
* Fix possible divide by zero.Tavmjong Bah2018-01-171-1/+2
|
* panel: Cleanup codeStefano Facchini2018-01-173-29/+14
| | | | | | - fold _addResponseButton into addResponseButton - remove unused setDefaultResponse - includes cleanup
* Move code related to SwatchesPanel where it belongsStefano Facchini2018-01-1712-500/+478
| | | | | | | panel.cpp contains a lot of code which is actually used to build the SwatchesPanel. Move it to swatches.cpp. This is mostly just a cut-n-paste, plus some includes cleanup.
* Add change missed in last commit (due to incomplete cherry-pick).Tavmjong Bah2018-01-161-1/+1
|
* panel: Remove the unused "title" labelStefano Facchini2018-01-1638-80/+38
|
* Remove the dialog "showclose" optionStefano Facchini2018-01-163-17/+0
| | | | All the dialogs have a top-right "close" button, so this is now useless.
* panel: remove the "apply_label" APIStefano Facchini2018-01-166-39/+21
| | | | | It was used only by the Memory dialog, which can very well add the "Recalculate" button itself.
* Remove obsolete build definesStefano Facchini2018-01-161-11/+0
|
* Keep entries compact in Font Variant dialog.Tavmjong Bah2018-01-151-37/+37
|
* PDF+LaTeX: fix line spacing, add basic support for line-heightEduard Braun2018-01-141-19/+28
| | | | | | | | | Replace "\stackrel" with "\tabular" to achieve constant line spacing. The former varies line spacing depending on the content of the line (i.e. an line containing "-" will have a very small height) Add basic support for line-height. (currently only the top level text element is considered)
* Fix tiny default size of preferences dialogEduard Braun2018-01-122-13/+63
| | | | | | | Fixed bugs: - https://bugs.launchpad.net/inkscape/+bug/448728 - https://bugs.launchpad.net/inkscape/+bug/1360213 - https://bugs.launchpad.net/inkscape/+bug/1654469
* Merge branch 'baseline-shift' of gitlab.com:khaledhosny/inkscapeMarc Jeanmougin2018-01-121-1/+1
|\
| * Fix baseline shift movement directionKhaled Hosny2017-10-201-1/+1
| | | | | | | | | | | | This was broke in 2abe0bb681044d972e171189395a2afdbc39bf28 when delta_y was applied in the opposite Y direction but baseline_shift was kept unchanged.
* | Merge branch 'static_libs' of gitlab.com:Ede123/inkscapeMarc Jeanmougin2018-01-111-7/+8
|\ \
| * | Do not install static librariesEduard Braun2018-01-091-7/+8
| | |
* | | Merge branch 'escapefontspec' of gitlab.com:darktrojan/inkscapeMarc Jeanmougin2018-01-112-2/+3
|\ \ \
| * | | Don't double-escape names of used fontsGeoff Lankow2017-12-311-1/+1
| | | |
| * | | Escape font name when setting preview textGeoff Lankow2017-12-311-1/+2
| | | |
* | | | Merge branch 'clonetiler-negative-shift' of gitlab.com:thestr4ng3r/inkscapeMarc Jeanmougin2018-01-101-2/+4
|\ \ \ \
| * | | | Tiled Cloned: Remove check for 1.0 in shift exponent codeFlorian Märkl2018-01-101-8/+4
| | | | |
| * | | | Tiled Cloned: Simplify shift exponent codeFlorian Märkl2018-01-101-10/+4
| | | | |
| * | | | Tiled Cloned: Apply shift exponent to absolute shiftFlorian Märkl2018-01-101-2/+14
| | |/ / | |/| |
* | | | Convert mesh-toolbar to use ink-select-one-action.Tavmjong Bah2018-01-102-100/+123
| | | | | | | | | | | | | | | | | | | | | | | | Separate new gradient on fill or stroke preference for meshes from linear/radial gradients. This fixes a bug where changing the choice for the gradient tool is not reflected in the mesh toolbar properly (and visa-versa).
* | | | Add option for label with ComboBox in InkSelectOneAction.Tavmjong Bah2018-01-101-9/+9
|/ / /
* | | Fix and improve window size/position handling/restorationEduard Braun2018-01-0910-218/+254
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix broken window size/position restoration after gtk3 deprecation fixes in fa8a2ee7e2539b145a87ac9af0d9748effa91631 - Use monitor geometry of the monitor Inkscape will be shown on instead of defaulting to the primary monitor which is often wrong - Let gtk+ / window manager handle window size/position sanitization (confirmed working on Windows and Ubuntu 16.04) and remove custom code which was prone to errors and did not always work as desired - Make default window size "Small" work again (was broken in gtk3) and add a new preference "Default" which uses the native window size (i.e. tries to make just enough room for all controls)
| * | | Limit default window size to monitor dimensionsEduard Braun2018-01-071-0/+10
| | | |
| * | | Use convenience functions to obtain monitor geometryEduard Braun2018-01-073-84/+13
| | | |
| * | | Limit geometry from file to width/height of monitorEduard Braun2018-01-071-2/+4
| | | |
| * | | Make natural window size default and fix small window sizeEduard Braun2018-01-073-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Clamp "Small" window size to 600x600 Everything smaller seems pretty unusable but can be discussed. This fixes bug #1659256. - Make sure "Large" window size is at least as large as "Small" to avoid embarassing user reports. - add "Default" as new window size and (surprise) make it the default This will not influence the initial size request at all and should result in the natural window size (unless overriden by the window manager) and should be a suitable default for all cases. Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1659256