summaryrefslogtreecommitdiffstats
path: root/src/extension/param (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-31Move prefdialog to own directoryPatrick Storz20-3496/+0
2019-07-01Fix various minor typosYuri Chornoivan1-1/+1
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
2019-05-26Rm unused code now Gtk+ >= 3.22 dependency is setAlexander Valavanis1-4/+0
2019-01-02modernize loopsMarc Jeanmougin3-5/+4
2018-11-08Clarify licensesMax Gaukler20-20/+40
- 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-22Remove 'document-private.h' where not needed plus some other header cleanup.Tavmjong Bah6-12/+20
2018-10-01Remove #include "config.h" wherever possibleEduard Braun10-40/+0
2018-06-19Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot17-41/+41
2018-06-18Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot1-1/+1
This replaces empty constructors and destructors with the default keyword.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot10-147/+147
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-06-18Run clang-tidy’s modernize-use-override pass.Emmanuel Gil Peyrot10-35/+35
This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
2018-05-14Misc. typosluz.paz1-1/+1
Found via `codespell` and `grep`
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin10-29/+29
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin10-29/+29
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah4-4/+1
A lot of header clean-up.
2018-01-08Misc. typosluz.paz2-2/+2
Found via `codespell`
2018-01-01Use Gtk::CheckButton label instead of a separate Gtk::LabelGeoff Lankow1-7/+3
2017-12-18Replace GimpSpinScale by InkSpinScale.Tavmjong Bah2-2/+8
2017-11-07Misc. typosUnknown1-1/+1
Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt` whereby whitelist file contained: ``` dum iff glight substract te upto ```
2017-10-01Removed all GSList occurences in .h filesMarc Jeanmougin6-141/+119
2017-04-28Fix regression introduced in r15634Eduard Braun1-2/+2
Fixed bugs: - https://launchpad.net/bugs/1686549 (bzr r15647)
2017-04-24Restore r14978 which was reverted in r15047 due to messed up mergeEduard Braun4-4/+0
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14978 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15047 (bzr r15638)
2017-04-24Cleanup for previous commitEduard Braun2-6/+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-24Extensions: Fixes and improvements for "gui-description" parameter attribute ↵Eduard Braun2-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)
2017-04-24Restore r14955 which was reverted in r15047 due to messed up mergeEduard Braun7-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)
2017-04-09Some code refactoring for consistencyEduard Braun20-197/+197
(notably "gui_hidden" -> hidden", "guitext" -> "text", "desc" -> "description") (bzr r15633.1.3)
2017-04-09Remove unused field "scope"Eduard Braun20-85/+24
(bzr r15633.1.2)
2017-04-09Remove unused field "gui_tip"Eduard Braun20-65/+25
("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 Braun2-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)
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 Valavanis2-1/+5
(bzr r15547)
2017-02-13Extensions: Add 'appearance="url"' to desccription parameters.Eduard Braun3-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)
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: Do not require name for pure UI elements (i.e. parameters that ↵Eduard Braun1-2/+9
do not store a value and therefore do not need to have a name) (bzr r15515)
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 Braun9-12/+29
Also use constants for most dimensions so they can easily be chaned in future. (bzr r15511)
2017-02-13Extensions: Make "int" and "float" parameters specifying ↵Eduard Braun2-2/+2
'appearance="full"'expand in horizontal direction when the window is expanded (bzr r15510)
2017-02-12Extensions: Harmonize appearance and try to simplify layouting a bitEduard Braun2-3/+13
(bzr r15509)
2017-02-12Extensions: Make "indent" attribute a common attribute for all parameters ↵Eduard Braun20-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)
2016-12-26Fix Gtkmm deprecations in extensionsAlex Valavanis1-1/+2
(bzr r15359)
2016-07-28extensions: Drop GTKMM2 fallbacksAlex Valavanis5-41/+7
(bzr r15023.2.5)
2016-06-11Clean up includes after r14955Eduard Braun4-4/+2
Fixed bugs: - https://launchpad.net/bugs/1589300 (bzr r14978)
2016-06-05Extensions: Fixes and improvements for "gui-text" parameter attributeEduard Braun7-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)
2015-12-27Fix more GThreads issuesAlex Valavanis1-5/+2
(bzr r14546)
2015-12-26minor typos (mail to inkscape-translator)Yuri Chornoivan1-1/+1
(bzr r14541)
2015-06-30Templates. Fix for Bug #1402182 (Crash with color widget used in procedural ↵Nicolas Dufour1-2/+4
template). Fixed bugs: - https://launchpad.net/bugs/1402182 (bzr r14223)
2015-05-03Introduced fixes after merge proposal reviewTomasz Boczkowski1-1/+1
(bzr r14059.1.16)