<feed xmlns='http://www.w3.org/2005/Atom'>
<title>inkscape/src/extension/prefdialog, 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: add a few missing calls to Gtk::manage()</title>
<updated>2019-09-25T21:28:10+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-09-25T21:28:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=4df8b7c3ca9156577b0e8146b0050f33ec067bab'/>
<id>4df8b7c3ca9156577b0e8146b0050f33ec067bab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extensions: Warn for duplicate page names and option names/values</title>
<updated>2019-09-25T21:14:22+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-09-25T21:14:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=faf45cfec5d2161aa7ccafad41f6d5f4f54a18bf'/>
<id>faf45cfec5d2161aa7ccafad41f6d5f4f54a18bf</id>
<content type='text'>
This is easy to miss and causes confusing behavior
(e.g. wrong page/option selected)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is easy to miss and causes confusing behavior
(e.g. wrong page/option selected)
</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>Update internal extensions for latest .inx format changes</title>
<updated>2019-09-01T18:28:08+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-09-01T18:28:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=22c4b9e1b4964bf244d2c563217cc431194dc20a'/>
<id>22c4b9e1b4964bf244d2c563217cc431194dc20a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add appearance="multiline" to parameters of type string</title>
<updated>2019-09-01T16:56:35+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-09-01T16:56:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=c6067b75a239a1322598f2d85ef0ce7cc59df0d4'/>
<id>c6067b75a239a1322598f2d85ef0ce7cc59df0d4</id>
<content type='text'>
Renders a Gtk::TextView that automatically fills the available
space in the extension's preferences dialog and can be used
to accept longer multi-line strings.

Newlines in the string value will be passed as "\\n" to the
extension script (i.e. literal '\n' with the backspace escaped).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Renders a Gtk::TextView that automatically fills the available
space in the extension's preferences dialog and can be used
to accept longer multi-line strings.

Newlines in the string value will be passed as "\\n" to the
extension script (i.e. literal '\n' with the backspace escaped).
</pre>
</div>
</content>
</entry>
<entry>
<title>Add appearance="colorbutton" to parameters of type color</title>
<updated>2019-09-01T12:25:53+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-08-31T16:33:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=11ed8504c3c821297d906acf4a42e83f558c305d'/>
<id>11ed8504c3c821297d906acf4a42e83f558c305d</id>
<content type='text'>
Renders a simple Gtk::ColorButton with label instead of the full
ColorNotebook which is too large for many applications.

Should likely be re-implemented bringing up a new Dialog that wraps
an Inkscape::UI::Widget::ColorNotebook eventually, instead of
relying on the Gtk::ColorButton's picker implementation which is
inconsistent to existing pickers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Renders a simple Gtk::ColorButton with label instead of the full
ColorNotebook which is too large for many applications.

Should likely be re-implemented bringing up a new Dialog that wraps
an Inkscape::UI::Widget::ColorNotebook eventually, instead of
relying on the Gtk::ColorButton's picker implementation which is
inconsistent to existing pickers.
</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>Add new widget "image" which allows to display an image file</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-11T20:12:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=f7414de1bfeb11007f6cb02ce730c38b660bcc73'/>
<id>f7414de1bfeb11007f6cb02ce730c38b660bcc73</id>
<content type='text'>
* The node's content is the file path.
  Absolute paths should work, the preferred way is to specify a
  relative path, though, which will be interpreted relatively to the
  .inx file's location
* The attributes "width/height" allows to override the native size
  of the image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* The node's content is the file path.
  Absolute paths should work, the preferred way is to specify a
  relative path, though, which will be interpreted relatively to the
  .inx file's location
* The attributes "width/height" allows to override the native size
  of the image.
</pre>
</div>
</content>
</entry>
</feed>
