summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog/parameter-description.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-31Add WidgetLabel replacing the former ParamDescriptionPatrick Storz1-115/+0
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.
2019-08-31Rename Parameter -> InxParameter for consistencyPatrick Storz1-1/+1
2019-08-31Create new InxWidget base class for extension widgets.Patrick Storz1-1/+1
2019-08-31Add function to get proper translation within context of ParameterPatrick Storz1-6/+1
2019-08-31Refactor a lot of the parameter handling codePatrick Storz1-44/+33
Many fixes, improvements and simplifications to existing code. Implements the first part of the changes discussed in https://gitlab.com/inkscape/inkscape/issues/333
2019-08-31Remove unused define ESCAPE_DOLLAR_COMMANDLINEPatrick Storz1-4/+0
2019-08-31Rename parameter source files to avoid name conflictsPatrick Storz1-1/+2
2019-08-31Move prefdialog to own directoryPatrick Storz1-0/+0
2019-06-16Remove leftover GTK/gtkmm >= 3.16 checkKarl Cheng1-4/+0
This was mostly done in 630be82740, but it seems this file was missed. Refs: https://gitlab.com/inkscape/inkscape/commit/630be8274013c5eef5f19e19a14bc6d759aada5a
2018-11-08Clarify licensesMax Gaukler1-1/+2
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-8/+8
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-4/+4
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-4/+4
2017-04-24Cleanup for previous commitEduard Braun1-4/+3
(bzr r15637)
2017-04-24Extensions: Fix "param"s of type "description" were always translated (as ↵Eduard Braun1-27/+30
opposed to only the underscored variant "_param") (bzr r15636)
2017-04-09Some code refactoring for consistencyEduard Braun1-15/+15
(notably "gui_hidden" -> hidden", "guitext" -> "text", "desc" -> "description") (bzr r15633.1.3)
2017-04-09Remove unused field "scope"Eduard Braun1-2/+1
(bzr r15633.1.2)
2017-04-09Remove unused field "gui_tip"Eduard Braun1-2/+1
("gui_description" does now what "gui_tip" was supposed to do) (bzr r15633.1.1)
2017-03-25Extensions: Correctly handle the xml:space="preserve" attribute for ↵Eduard Braun1-9/+33
"description"s This also fixes multiline descriptions (and other descriptions containing additional whitespace) not being translatable if xml:space="preserve" is not specified. Fixed bugs: - https://launchpad.net/bugs/1668115 (bzr r15607)
2017-03-11Use Gtkmm version test instead of Gtk+Alex Valavanis1-1/+1
(bzr r15584)
2017-03-08Repair functionality broken by Alex Valvani's "Gtk+ 3 deprecation fixes"Eduard Braun1-2/+5
(see in r15547 [1]) Gtk::Label::set_halign() is *not* the same as Gtk::Label::set_xalign() or the deprecated Gtk::Label::set_alignment() The former sets the alignment of the widget itself while the latter two set the alignment of the text within the widget's size allocation. Is it really more important to eradicate deprecations then to have working code? http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15547 (bzr r15580)
2017-02-26Gtk+ 3 deprecation fixesAlex Valavanis1-1/+1
(bzr r15547)
2017-02-13Extensions: Add 'appearance="url"' to desccription parameters.Eduard Braun1-0/+3
It allows to create and add a clickable plain text link to extensions The description parameter's text is escaped and converted to a URL as-is preventing potential security issues The Scour extension shows a first example implementation (bzr r15519)
2017-02-13Extensions: Fix potential security issue with "description" parameters.Eduard Braun1-5/+5
When using 'appearance="header"' arbitrary markup could be inlcuded (including URLs) (bzr r15518)
2017-02-13Extensions: Fix for old versions of gtkmmEduard Braun1-1/+2
Use "Gtk::Misc::set_alignment()" as "Gtk::Label::set_xalign()" is only available since gtkmm 3.16 (bzr r15512)
2017-02-13Extensions: Work around gtk3 width/height calculation bug for long labelsEduard Braun1-1/+14
Also use constants for most dimensions so they can easily be chaned in future. (bzr r15511)
2017-02-12Extensions: Make "indent" attribute a common attribute for all parameters ↵Eduard Braun1-22/+17
that behaves more consistent and predictable than before. - Every "Parameter" now has an "_indent" member variable (specifying the indentation level; set in "Parameter::make()", see parameter.cpp) - Indentation is achieved by using "set_margin_left()" on the parameter's widget. This fixes bug #1662035 (comment #4 contains some more details about this patch). - Specifying "indent" on a parameter will now work consistently for all parameters. Previously the "indent" attribute often had no effect at all, e.g. for notebooks but also for parameters with 'appearance="full"' which was reasonable in most cases but made the outcome of using this attribute often unpredictable and is unnecessarily restrictive. - Most visible change: "description"s always used an indentation level of at least one (even if no indentation was specified). For the sake of consistency this discrepancy was dropped. Previous appearance can easily be restored by setting 'indent="1"'. Fixed bugs: - https://launchpad.net/bugs/1662035 (bzr r15508)
2016-12-26Fix Gtkmm deprecations in extensionsAlex Valavanis1-1/+2
(bzr r15359)
2015-04-27Fix unnecessary inclusion of glibmm/threads.h. This can be resolved by ↵Alex Valavanis1-4/+0
ensuring that glibmm headers always preceed glib.h headers. Same applies with gtkmm/gtk+ etc (bzr r14064)
2013-12-26Fix for bug #1204732 (Inkscape crashed with SIGABRT in ↵Nicolas Dufour1-1/+4
__gnu_cxx::__verbose_terminate_handler()). Fixed bugs: - https://launchpad.net/bugs/1204732 (bzr r12861)
2013-06-06Added configure/ifdef guards to only bring in the needed #include if glibmm ↵Jon A. Cruz1-0/+2
has it. (bzr r12353)
2013-06-04Correct to compile against recent gtkmm, including updated macports ↵Jon A. Cruz1-0/+2
versions. Fixes bug #1179338. Fixed bugs: - https://launchpad.net/bugs/1179338 (bzr r12346.1.1)
2012-07-05Drop GTK+ 2.20 support.Alex Valavanis1-8/+0
Fixed bugs: - https://launchpad.net/bugs/1020494 (bzr r11529)
2012-02-25Header cleaningAlex Valavanis1-3/+1
(bzr r11016)
2012-02-25Header cleaningAlex Valavanis1-3/+1
(bzr r11015)
2012-02-09Backward compat fix for Gtkmm 2.20Alex Valavanis1-0/+8
Fixed bugs: - https://launchpad.net/bugs/928520 (bzr r10956)
2012-02-06Extensions: replace deprecated gtkmm symbolsAlex Valavanis1-2/+2
(bzr r10943)
2012-01-03Janitorial tasks: get rid of deprecated repr wrapper functionsKris De Gussem1-2/+2
(bzr r10830)
2011-08-06Extensions. New "indent" attribute to add an indent level to extension elements.Nicolas Dufour1-8/+18
Filters. Adding the new "indent" attribute to parameters groups. (bzr r10529)
2011-03-25Extensions. Replacing the groupheader element with an appearance mode in the ↵Nicolas Dufour1-5/+21
description element. (bzr r10129)
2010-10-09Extensions, i18n. Adding context to description, groupheader and radiobutton ↵Nicolas Dufour1-2/+13
extension parameters. (bzr r9821)
2010-09-07Extensions. General UI improvements (gnome HIG). New group header extension ↵Nicolas Dufour1-2/+2
parameter. (bzr r9748)
2009-08-06Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert1-1/+1
which cannot be fixed easily. (bzr r8422)
2009-08-05SPDocument->Documentjohnce1-1/+1
(bzr r8408)
2008-10-27From trunkTed Gould1-6/+2
(bzr r6885)
2008-04-04r18381@shi: ted | 2008-03-07 20:11:34 -0800Ted Gould1-5/+7
New work branch r18391@shi: ted | 2008-03-08 21:36:03 -0800 Moving the parameters around to clean up the directories. r18392@shi: ted | 2008-03-08 21:57:14 -0800 Moving the 'get' function to cpp r18870@shi: ted | 2008-04-03 21:10:20 -0700 Adding in to the parameter prototype the ability to have a gui-tip and a gui-hidden parameter r18871@shi: ted | 2008-04-03 21:17:39 -0700 Using the _gui-hidden parameter to block the creation of the widget if set. r18890@shi: ted | 2008-04-03 21:53:55 -0700 Merge from r18024 which got lost in the shuffle. (bzr r5322)
2008-02-28Warning cleanupJon A. Cruz1-1/+1
(bzr r4891)
2007-08-10r16217@tres: ted | 2007-08-10 10:36:27 -0700Ted Gould1-0/+67
ImageMagick effects patch from Chris Brown. Google Summer of Code project. (bzr r3450)