<feed xmlns='http://www.w3.org/2005/Atom'>
<title>inkscape/src/extension/prefdialog/parameter.cpp, branch livecoding</title>
<subtitle>An experimental livecoding plugin for Inkscape</subtitle>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/'/>
<entry>
<title>Extensions: catch parameters and translatable values with empty name</title>
<updated>2019-10-19T23:13:33+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-10-19T23:13:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=ca217fbef0d064565dc1bf114b837e2b59276f7d'/>
<id>ca217fbef0d064565dc1bf114b837e2b59276f7d</id>
<content type='text'>
A parameter with empty name (or name consisting of whitespace only)
can cause undefined behavior and should be avoided at all cost.

Empty translatable values like "gui-text"/"gui-description", while
not encouraged, might be acceptable. However they must not be
translated as gettext would return the full metadata of the .po file
in this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A parameter with empty name (or name consisting of whitespace only)
can cause undefined behavior and should be avoided at all cost.

Empty translatable values like "gui-text"/"gui-description", while
not encouraged, might be acceptable. However they must not be
translated as gettext would return the full metadata of the .po file
in this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extensions: Handle optiongroup options without value</title>
<updated>2019-09-07T20:24:44+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-09-07T20:24:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=80b40def43613f64e765f1e282fa939bd94f92af'/>
<id>80b40def43613f64e765f1e282fa939bd94f92af</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new parameter of type "path"</title>
<updated>2019-08-31T14:50:39+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-08-12T20:49:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=10845e6925978cd9cf5bc9d0961802e06c9b3799'/>
<id>10845e6925978cd9cf5bc9d0961802e06c9b3799</id>
<content type='text'>
* 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make 'gui-text' required for visible parameters</title>
<updated>2019-08-31T14:50:39+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-08-12T16:10:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=bc25884ffbfc3eeba047fe49c0560083deee8ad8'/>
<id>bc25884ffbfc3eeba047fe49c0560083deee8ad8</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify pref_name() function</title>
<updated>2019-08-31T14:50:39+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-08-07T22:50:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=37e5d6dc66d7b98ce6716398f81eb5b0a89bded2'/>
<id>37e5d6dc66d7b98ce6716398f81eb5b0a89bded2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove completely unused "doc" and "node" parameters</title>
<updated>2019-08-31T14:50:39+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-08-07T21:47:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=c5233cd683c7df4a31eb68634e8876ca900b9676'/>
<id>c5233cd683c7df4a31eb68634e8876ca900b9676</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-implement get_param() locally using get_widgets()</title>
<updated>2019-08-31T14:50:39+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-08-07T00:28:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=c0317efc1e86f75ee72d6f65b978bfe634bd3b2c'/>
<id>c0317efc1e86f75ee72d6f65b978bfe634bd3b2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make parameter string generation a job of Inkscape::Extension</title>
<updated>2019-08-31T14:50:39+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-08-06T20:30:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=2bdffba8f4da0fe64d4a5b85096d057d389abef8'/>
<id>2bdffba8f4da0fe64d4a5b85096d057d389abef8</id>
<content type='text'>
For this take a first step towards properly tracking children
of each parameter and provide functions to look up all widgets.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For this take a first step towards properly tracking children
of each parameter and provide functions to look up all widgets.
</pre>
</div>
</content>
</entry>
<entry>
<title>Accept parameter type "bool"</title>
<updated>2019-08-31T14:50:39+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-08-06T20:29:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=c9833638d92157b40d12e02eb934aafe5f4ad589'/>
<id>c9833638d92157b40d12e02eb934aafe5f4ad589</id>
<content type='text'>
Seems more consistent with "int" and "float" types and should likely
be preferred over the old "boolean"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems more consistent with "int" and "float" types and should likely
be preferred over the old "boolean"
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize parameter string generation</title>
<updated>2019-08-31T14:50:39+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-08-05T22:11:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=26d8a32b7395d7bf1d1da7c32b9f2cdf5770510a'/>
<id>26d8a32b7395d7bf1d1da7c32b9f2cdf5770510a</id>
<content type='text'>
Also rename overloaded string() functions, so it's clear what they
actually do, as it's not the same thing at all...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also rename overloaded string() functions, so it's clear what they
actually do, as it's not the same thing at all...
</pre>
</div>
</content>
</entry>
</feed>
