summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add fixes pointer in the MR by @speleo3Jabier Arraiza2019-09-071-40/+1
|
* Add line height UX improvementsJabier Arraiza2019-09-079-673/+590
|
* Add scrolled window to XMLDialog and CSS dialog to avoid auto growing when ↵Jabier Arraiza2019-09-072-4/+4
| | | | add new content II (formating)
* Add scrolled window to XMLDialog and CSS dialog to avoid auto growing when ↵Jabier Arraiza2019-09-072-4/+19
| | | | add new content
* Extensions: Handle optiongroup options without valuePatrick Storz2019-09-073-6/+12
| | | | | | | | | | We use the user visible GUI text as value in this case, which may or may not be translated. For backwards-compatibility with enum items use the untranslated value instead, if one of the deprecated tag-names is found. Fixes https://gitlab.com/inkscape/inkscape/issues/399
* Write out 'x' and 'y' attribute values to repr when some text property value ↵Tavmjong Bah2019-09-072-0/+12
| | | | | | | changes. Changes to property values may cause text to be relayed out, changing 'x' and 'y' attributes on tspans with sodipodi:role="line". Fix for issue 234.
* Update 2geomPatrick Storz2019-09-064-7/+14
| | | | | | | | | | Now at https://gitlab.com/inkscape/lib2geom/commit/5eb3544738724087f3b53e047df5a8ead3549e8b Fixes https://bugs.launchpad.net/inkscape/+bug/1525498 and possibly https://gitlab.com/inkscape/inkscape/issues/194
* Add listeners for when shapes used by text are changed.Tavmjong Bah2019-09-066-31/+121
|
* Fix issue https://gitlab.com/inkscape/inbox/issues/816 Stroke to Path ↵Jabier Arraiza2019-09-041-74/+34
| | | | conversion wrong on dashes w/ round caps
* 2geom: Use sincos function if availablePatrick Storz2019-09-021-0/+4
|
* Update internal extensions for latest .inx format changesPatrick Storz2019-09-0155-750/+750
|
* Add appearance="multiline" to parameters of type stringPatrick Storz2019-09-015-13/+102
| | | | | | | | | Renders a Gtk::TextView that automatically fills the available space in the extension's preferences dialog and can be used to accept longer multi-line strings. Newlines in the string value will be passed as "\\n" to the extension script (i.e. literal '\n' with the backspace escaped).
* Add appearance="colorbutton" to parameters of type colorPatrick Storz2019-09-013-14/+69
| | | | | | | | | | Renders a simple Gtk::ColorButton with label instead of the full ColorNotebook which is too large for many applications. Should likely be re-implemented bringing up a new Dialog that wraps an Inkscape::UI::Widget::ColorNotebook eventually, instead of relying on the Gtk::ColorButton's picker implementation which is inconsistent to existing pickers.
* Add new parameter of type "path"Patrick Storz2019-08-314-0/+362
| | | | | | | | | | | | | | | | | | * Similar to parameter's of type "string": Has a text entry and stores a string preference * Additionally offers a button to show a file chooser dialog * The node's content is the initial (default) file path. * Relative paths will be considered relative to the extension's .inx file. This allows to reference files/folders shipped with the extension in a portable way. The stored value as well as the parameter value passed to the script interpreter will always be absolute, though. * The attribute "mode" controls what type(s) of paths the file chooser allows to select. Valid values: - 'file', 'files', 'folder', 'folder' (pick existing items) - 'file_new', 'folder_new' (create a new file/folder) * Note that manually entered values will be passed as-is without checking for existence.
* Adjust <print> extensions for previous commit.Patrick Storz2019-08-313-48/+48
| | | | | (No idea what they do tbh, but I've never seen any of those parameters, so they likely *are* hidden in some way or another)
* Make 'gui-text' required for visible parametersPatrick Storz2019-08-314-30/+41
| | | | | | | | | We were actually crashing for visible parameters without 'gui-text' otherwise. Also make sure we actually *do* bail out if we have parameters missing required fields and throw/catch an exception instead of producing broken instances.
* Add new widget "image" which allows to display an image filePatrick Storz2019-08-314-1/+155
| | | | | | | | | * The node's content is the file path. Absolute paths should work, the preferred way is to specify a relative path, though, which will be interpreted relatively to the .inx file's location * The attributes "width/height" allows to override the native size of the image.
* Add base_directory for extensions loaded from a file.Patrick Storz2019-08-3113-44/+57
|
* Templates: Improve translatability for "More info" dialogPatrick Storz2019-08-311-19/+29
|
* Templates: Translate metadata within extension contextsPatrick Storz2019-08-312-24/+40
| | | | (i.e. implement "translationdomain" for procedural templates)
* Templates: Accept non-underscored variants of "inkscape:templateinfo"Patrick Storz2019-08-314-19/+40
|
* Templates: Remove unused "long_description" ("inkscape:_long" tag)Patrick Storz2019-08-313-7/+2
| | | | Probably fine to bring back, but it needs proper documentation.
* Add new widget "spacer" which adds an empty space between widgetsPatrick Storz2019-08-316-1/+138
| | | | | | | The attribute "size" allows to define the spacing in px. The special value "expand" can be used to make the spacer consume all available space in the parent.
* Add new widget "separator" which draws a line between widgetsPatrick Storz2019-08-314-1/+101
|
* Add new widgets "hbox" and "vbox" for layouting purposesPatrick Storz2019-08-316-8/+188
|
* Simplify pref_name() functionPatrick Storz2019-08-319-57/+23
|
* Make sure we have get_widget()Patrick Storz2019-08-312-2/+5
|
* Remove completely unused "doc" and "node" parametersPatrick Storz2019-08-3123-315/+195
|
* Re-implement get_param() locally using get_widgets()Patrick Storz2019-08-318-116/+59
|
* Inherit destructor and recursively delete all widgetsPatrick Storz2019-08-314-18/+5
| | | | let's hope this works as expected...
* Complete conversion of ParamNotebook to use _childrenPatrick Storz2019-08-312-14/+26
|
* Make parameter string generation a job of Inkscape::ExtensionPatrick Storz2019-08-317-94/+77
| | | | | For this take a first step towards properly tracking children of each parameter and provide functions to look up all widgets.
* Accept parameter type "bool"Patrick Storz2019-08-311-1/+1
| | | | | Seems more consistent with "int" and "float" types and should likely be preferred over the old "boolean"
* Parameter float: add note regarding rounding issuePatrick Storz2019-08-311-0/+3
|
* Optimize parameter string generationPatrick Storz2019-08-3117-76/+66
| | | | | Also rename overloaded string() functions, so it's clear what they actually do, as it's not the same thing at all...
* InxParameter::string(): remove useless overridesPatrick Storz2019-08-318-26/+7
|
* More cleanupPatrick Storz2019-08-3116-68/+85
|
* cleanup includes a bitPatrick Storz2019-08-3110-26/+68
|
* Switch Inkscape::Extension to use InxWidgets instead of InxParametersPatrick Storz2019-08-318-60/+106
|
* Translatable enum can be protectedPatrick Storz2019-08-311-5/+4
|
* Add WidgetLabel replacing the former ParamDescriptionPatrick Storz2019-08-315-22/+64
| | | | | | | This improves consistency, as "description" parameter were not actually parameters with a value that could be modified or saved. The old syntax is deprecated but still supported for now.
* Rename Parameter -> InxParameter for consistencyPatrick Storz2019-08-3122-91/+90
|
* Create new InxWidget base class for extension widgets.Patrick Storz2019-08-3114-135/+259
|
* Implement "translationdomain" attribute for extensionsPatrick Storz2019-08-3111-83/+140
| | | | | | | | | | | | Will allow extensions to ship their own message catalog used for translation of the extension#s strings. Needs to be set on the root <inkscape-extension> element of the .inx Currently supported values: - unset: use default textdomain (which happens to be 'inkscape') - 'inkscape': use Inkscape's message catalog - 'none': disable translation for the extension's strings
* Remove unused "nopref" variant of effectsPatrick Storz2019-08-312-10/+0
|
* Properly handle extensions without id or namePatrick Storz2019-08-313-101/+113
| | | | We used to fail silently, crashing later-on.
* Derive optiongroup options from ParameterPatrick Storz2019-08-312-46/+52
| | | | | | A bit hackish for now as <option>s are not really parameters and don't have a name, pending creation of a better base-class for non-parameter .inx elements.
* cleanup includes in parametersPatrick Storz2019-08-316-24/+23
|
* Add function to get proper translation within context of ParameterPatrick Storz2019-08-317-34/+33
|
* Parameter: remove unused constructorsPatrick Storz2019-08-312-56/+0
|