summaryrefslogtreecommitdiffstats
path: root/src/extension/param/parameter.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-31Move prefdialog to own directoryPatrick Storz1-461/+0
2019-01-02modernize loopsMarc Jeanmougin1-3/+2
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-22Remove 'document-private.h' where not needed plus some other header cleanup.Tavmjong Bah1-9/+13
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-06-19Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot1-2/+2
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-38/+38
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
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 Jeanmougin1-2/+2
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-2/+2
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-1/+1
A lot of header clean-up.
2017-04-24Restore r14978 which was reverted in r15047 due to messed up mergeEduard Braun1-1/+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-24Extensions: Fixes and improvements for "gui-description" parameter attribute ↵Eduard Braun1-0/+8
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 Braun1-0/+11
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 Braun1-44/+44
(notably "gui_hidden" -> hidden", "guitext" -> "text", "desc" -> "description") (bzr r15633.1.3)
2017-04-09Remove unused field "scope"Eduard Braun1-29/+13
(bzr r15633.1.2)
2017-04-09Remove unused field "gui_tip"Eduard Braun1-26/+14
("gui_description" does now what "gui_tip" was supposed to do) (bzr r15633.1.1)
2017-02-13Extensions: Add 'appearance="url"' to desccription parameters.Eduard Braun1-4/+8
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: 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-12Extensions: Make "indent" attribute a common attribute for all parameters ↵Eduard Braun1-15/+28
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-06-11Clean up includes after r14955Eduard Braun1-1/+2
Fixed bugs: - https://launchpad.net/bugs/1589300 (bzr r14978)
2016-06-05Extensions: Fixes and improvements for "gui-text" parameter attributeEduard Braun1-0/+11
- "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)
2014-06-01moved ColorNotebook to ui/widgetTomasz Boczkowski1-2/+1
(bzr r13341.6.51)
2014-05-30SPColorNotebok c++-sification - available pages listTomasz Boczkowski1-0/+4
(bzr r13341.6.28)
2013-06-05Add command line option to specify PDF export version. Patch from schwieni.Vinícius dos Santos Oliveira1-0/+18
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)
2012-02-29Header tidying, suppress all gdk deprecation errors in gtkmmAlex Valavanis1-0/+1
(bzr r11030)
2011-12-19Const correctness fixes that also correct bug #893146.Jon A. Cruz1-147/+122
Fixed bugs: - https://launchpad.net/bugs/893146 (bzr r10783)
2011-10-28one constructor cannot call the other to initialize the object. See ↵Johan B. C. Engelen1-2/+18
C++faq-lite 10.3 (bzr r10699)
2011-10-23Warning cleanup.Jon A. Cruz1-3/+2
(bzr r10691)
2011-06-04Removed outdated/unsafe SP_DOCUMENT_DEFS macro and reduced usage of ↵Jon A. Cruz1-1/+1
SP_ROOT() gtk type function/macro. (bzr r10254)
2011-04-16remove unnecessary includes.Johan B. C. Engelen1-4/+0
(bzr r10174)
2011-03-25Extensions. Replacing the groupheader element with an appearance mode in the ↵Nicolas Dufour1-4/+5
description element. (bzr r10129)
2011-03-15Extensions. Float and Int default mode set to minimal. Filters' mode changed ↵Nicolas Dufour1-6/+6
to full. (bzr r10106)
2011-03-14Extensions. Slider in Float and Int extension widgets.Nicolas Dufour1-2/+10
(bzr r10103)
2011-02-22Finished cleanup of outdated SP_OBJECT_REPR C macro.Jon A. Cruz1-1/+1
(bzr r10067)
2010-12-03Extensions. Notebooks now work with internal extensions.Nicolas Dufour1-2/+7
(bzr r9933)
2010-11-17Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan1-1/+1
fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
2010-09-07Extensions. General UI improvements (gnome HIG). New group header extension ↵Nicolas Dufour1-1/+5
parameter. (bzr r9748)
2010-03-18Added wrappers for the "optiongroup" type that correspond to existing ↵Jon A. Cruz1-0/+21
"float", "enum" etc. wrappers. (bzr r9201)
2009-08-06Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert1-13/+13
which cannot be fixed easily. (bzr r8422)
2009-08-05SPDocument->Documentjohnce1-13/+13
(bzr r8408)
2008-10-27From trunkTed Gould1-6/+6
(bzr r6885)
2008-09-20release reprs properlybulia byak1-0/+2
(bzr r6855)
2008-05-24Added an 'appearance' hint to .inx optiongroups to allow for dropdowns ↵Jon A. Cruz1-1/+6
instead of radio buttons. (bzr r5748)
2008-04-15Fixes Bug #216584 (Effects/Color/Replace color not accepting UC) and also ↵Marcin Floryan1-0/+5
implements max_length attribute for string parameters in inx files. (bzr r5450)
2008-04-04r18381@shi: ted | 2008-03-07 20:11:34 -0800Ted Gould1-93/+42
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-03-01Warning and whitespace cleanupJon A. Cruz1-13/+13
(bzr r4914)
2008-02-29r18220@shi: ted | 2008-02-29 13:18:55 -0800Ted Gould1-15/+33
Okay, sadly I'm not keeping the version history because I'm not convenced that SVK will do it right. One mega-patch, but that's life. Reshuffle the exection-env and prefdialog code so that the state machines aren't intertwines, which fixes a whole host of bugs with them. I think the behavior is correct now. Make it so that the effects can count how many preferences they have to determine if the dialog should be shown (fix above). Once this code was written it was easy to make it show an ellipsis on the verb if there is a dialog or not. This involved removing ellipsis from those effects that had it hard coded. Make it so that the parameters know that their command line options are going into a list. They don't have to acknowledge it, but they can, and specifically notebook does and handles it differently. This should fix the notebooks on Win32, but doesn't apparently completely. Change the script extension on windows to use pythonw instead of python so that the command line doesn't appear all the time. (bzr r4908)
2008-02-28Warning cleanupJon A. Cruz1-11/+11
(bzr r4891)