summaryrefslogtreecommitdiffstats
path: root/src/extension/param (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression introduced in r15634Eduard Braun2017-04-281-2/+2
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1686549 (bzr r15647)
* Restore r14978 which was reverted in r15047 due to messed up mergeEduard Braun2017-04-244-4/+0
| | | | | | http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14978 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15047 (bzr r15638)
* Cleanup for previous commitEduard Braun2017-04-242-6/+3
| | | (bzr r15637)
* Extensions: Fix "param"s of type "description" were always translated (as ↵Eduard Braun2017-04-241-27/+30
| | | | | opposed to only the underscored variant "_param") (bzr r15636)
* Extensions: Fixes and improvements for "gui-description" parameter attribute ↵Eduard Braun2017-04-242-1/+9
| | | | | | | | along the lines of r14955 - "gui-description" was always translated (as opposed to only "_gui-description") - Added possibility to specify "msgctxt" for "_gui-description" (bzr r15635)
* Some code refactoring for consistencyEduard Braun2017-04-0920-197/+197
| | | | | (notably "gui_hidden" -> hidden", "guitext" -> "text", "desc" -> "description") (bzr r15633.1.3)
* Remove unused field "scope"Eduard Braun2017-04-0920-85/+24
| | | (bzr r15633.1.2)
* Remove unused field "gui_tip"Eduard Braun2017-04-0920-65/+25
| | | | | ("gui_description" does now what "gui_tip" was supposed to do) (bzr r15633.1.1)
* Restore r14955 which was reverted in r15047 due to messed up mergeEduard Braun2017-04-247-9/+19
| | | | | | | | | http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14955 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15047 Fixed bugs: - https://launchpad.net/bugs/1669951 (bzr r15633)
* Extensions: Correctly handle the xml:space="preserve" attribute for ↵Eduard Braun2017-03-252-9/+34
| | | | | | | | | | "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)
* Use Gtkmm version test instead of Gtk+Alex Valavanis2017-03-111-1/+1
| | | (bzr r15584)
* Repair functionality broken by Alex Valvani's "Gtk+ 3 deprecation fixes"Eduard Braun2017-03-081-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)
* Gtk+ 3 deprecation fixesAlex Valavanis2017-02-262-1/+5
| | | (bzr r15547)
* Extensions: Add 'appearance="url"' to desccription parameters.Eduard Braun2017-02-133-5/+12
| | | | | | | | 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)
* Extensions: Fix potential security issue with "description" parameters.Eduard Braun2017-02-131-5/+5
| | | | | When using 'appearance="header"' arbitrary markup could be inlcuded (including URLs) (bzr r15518)
* Extensions: Do not require name for pure UI elements (i.e. parameters that ↵Eduard Braun2017-02-131-2/+9
| | | | | do not store a value and therefore do not need to have a name) (bzr r15515)
* Extensions: Fix for old versions of gtkmmEduard Braun2017-02-131-1/+2
| | | | | Use "Gtk::Misc::set_alignment()" as "Gtk::Label::set_xalign()" is only available since gtkmm 3.16 (bzr r15512)
* Extensions: Work around gtk3 width/height calculation bug for long labelsEduard Braun2017-02-139-12/+29
| | | | | Also use constants for most dimensions so they can easily be chaned in future. (bzr r15511)
* Extensions: Make "int" and "float" parameters specifying ↵Eduard Braun2017-02-132-2/+2
| | | | | 'appearance="full"'expand in horizontal direction when the window is expanded (bzr r15510)
* Extensions: Harmonize appearance and try to simplify layouting a bitEduard Braun2017-02-122-3/+13
| | | (bzr r15509)
* Extensions: Make "indent" attribute a common attribute for all parameters ↵Eduard Braun2017-02-1220-167/+258
| | | | | | | | | | | | | 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)
* Fix Gtkmm deprecations in extensionsAlex Valavanis2016-12-261-1/+2
| | | (bzr r15359)
* Merged trunkAdrian Boguszewski2016-08-095-41/+7
|\ | | | | (bzr r14954.1.30)
| * extensions: Drop GTKMM2 fallbacksAlex Valavanis2016-07-285-41/+7
| | | | | | (bzr r15023.2.5)
* | Replaced old selection containersAdrian Boguszewski2016-06-124-3/+5
|\| | | | | (bzr r14954.1.6)
| * Clean up includes after r14955Eduard Braun2016-06-114-4/+2
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1589300 (bzr r14978)
| * Extensions: Fixes and improvements for "gui-text" parameter attributeEduard Braun2016-06-057-8/+19
|/ | | | | | | - "gui-text" was always translated (as opposed to only "_gui-text") - This made it impossible to have parameters without label (since the empty string returns the whole .po file header when translated), which caused an issue in restack extension - Added possibility to specify "msgctxt" for "gui-text" (bzr r14955)
* Fix more GThreads issuesAlex Valavanis2015-12-271-5/+2
| | | (bzr r14546)
* minor typos (mail to inkscape-translator)Yuri Chornoivan2015-12-261-1/+1
| | | (bzr r14541)
* Templates. Fix for Bug #1402182 (Crash with color widget used in procedural ↵Nicolas Dufour2015-06-301-2/+4
| | | | | | | | template). Fixed bugs: - https://launchpad.net/bugs/1402182 (bzr r14223)
* Introduced fixes after merge proposal reviewTomasz Boczkowski2015-05-031-1/+1
| | | (bzr r14059.1.16)
* gtk3 compile fixTomasz Boczkowski2015-05-021-1/+0
| | | (bzr r14059.1.13)
* merge with trunkTomasz Boczkowski2015-05-029-36/+0
|\ | | | | (bzr r14059.1.12)
| * Fix unnecessary inclusion of glibmm/threads.h. This can be resolved by ↵Alex Valavanis2015-04-279-36/+0
| | | | | | | | | | ensuring that glibmm headers always preceed glib.h headers. Same applies with gtkmm/gtk+ etc (bzr r14064)
* | Using SelectedColor instead of SPColorSelectorTomasz Boczkowski2015-04-263-43/+39
|\ \ | | | | | | (bzr r14059.1.10)
| * | ColorNotebook is Gtk::Widget and uses ColorSelectorTomasz Boczkowski2014-06-011-2/+3
| | | | | | | | | (bzr r13341.6.52)
| * | moved ColorNotebook to ui/widgetTomasz Boczkowski2014-06-012-3/+2
| | | | | | | | | (bzr r13341.6.51)
| * | disconnecting in ParamColor destructorTomasz Boczkowski2014-06-011-1/+1
| | | | | | | | | (bzr r13341.6.47)
| * | Using SelectedColor in extenstion/param/colorTomasz Boczkowski2014-06-012-32/+28
| | | | | | | | | (bzr r13341.6.45)
* | | merged SPNotebook c++-sification from svgpaints branchTomasz Boczkowski2015-04-261-0/+4
|\| | | |/ |/| (bzr r14059.1.5)
| * SPColorNotebok c++-sification - available pages listTomasz Boczkowski2014-05-301-0/+4
| | | | | | (bzr r13341.6.28)
* | Extensions. Fix for Bug #1426684 (INX optiongroup does not trigger a refresh).Nicolas Dufour2015-03-021-17/+24
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1426684 (bzr r13963)
* | fix potential nullptr deref.Johan B. C. Engelen2014-11-081-1/+1
| | | | | | (bzr r13685)
* | Extension enumeration/dropdownbox parameter: fix potential NULL-deref crash ↵Johan B. C. Engelen2014-10-121-27/+28
| | | | | | | | | | on xml == nullptr. (bzr r13599)
* | Fix "Argument with 'nonnull' attribute passed null" API bug in extension ↵Johan B. C. Engelen2014-10-111-5/+7
| | | | | | | | | | | | | | | | | | | | color parameter construction. Clang static analyzer has found an "Argument with 'nonnull' attribute passed null". The applied fix here checks if the defaulthex argument is nullptr before making the call. A default initialization value is added to the constructor in case defaulthex == nullptr. (with additional whitespace improvements) (bzr r13587)
* | i18n. Fix for Bug #1318339 (Tooltips in extensions page elements are not ↵Nicolas Dufour2014-05-221-1/+1
|/ | | | | | | | translated). Fixed bugs: - https://launchpad.net/bugs/1318339 (bzr r13396)
* Fix for bug #1204732 (Inkscape crashed with SIGABRT in ↵Nicolas Dufour2013-12-261-1/+4
| | | | | | | | __gnu_cxx::__verbose_terminate_handler()). Fixed bugs: - https://launchpad.net/bugs/1204732 (bzr r12861)
* Added configure/ifdef guards to only bring in the needed #include if glibmm ↵Jon A. Cruz2013-06-069-0/+18
| | | | | has it. (bzr r12353)
* Add command line option to specify PDF export version. Patch from schwieni.Vinícius dos Santos Oliveira2013-06-054-1/+46
| | | | | | | | | | | | | From the patch's author: Additional command line option added to export to different PDF-versions supported by cairo (currently only "PDF 1.4" and "PDF 1.5"). The user must provide the exact string found in the PDF-export dialog of Inkscape. This feature was previously only accessible via the GUI of Inkscape. This option is useful for people opting for PDF-a conformance in their PDFs. Moreover, the Extension and Parameter classes are extended by setters for enum parameters (used in combo boxes). (bzr r12348)
* Correct to compile against recent gtkmm, including updated macports ↵Jon A. Cruz2013-06-049-0/+17
| | | | | | | | versions. Fixes bug #1179338. Fixed bugs: - https://launchpad.net/bugs/1179338 (bzr r12346.1.1)