<feed xmlns='http://www.w3.org/2005/Atom'>
<title>inkscape/src/extension/implementation/script.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: Implement translationdomain functionality</title>
<updated>2019-10-19T12:33:34+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-10-17T00:16:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=76ce73061550ff42e97c1fec9836c35cc0e24d64'/>
<id>76ce73061550ff42e97c1fec9836c35cc0e24d64</id>
<content type='text'>
Inkscape will read the "translationdomain" attribute from the
&lt;inkscape-extension&gt; root element in the .inx file.

It will then attempt to lookup a message catalog that matches
this domain, register it with gettext, and use it for translations.

Message catalogs may be located in either
- the .inx file's location
- the root of the "extensions" directory containing the .inx
- the system location Inkscape's own catalog is loaded from

To make this functionality available to script extensions, Inkscape
will set the environment variables
  INKEX_GETTEXT_DOMAIN
and
  INKEX_GETTEXT_DIRECTORY
so extension scripts can then use something like
  bindtextdomain(INKEX_GETTEXT_DOMAIN, INKEX_GETTEXT_DIRECTORY)
  textdomain(INKEX_GETTEXT_DOMAIN)
to enable the feature.

See also
  https://gitlab.com/inkscape/inkscape/issues/333
  https://gitlab.com/inkscape/extensions/issues/117
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inkscape will read the "translationdomain" attribute from the
&lt;inkscape-extension&gt; root element in the .inx file.

It will then attempt to lookup a message catalog that matches
this domain, register it with gettext, and use it for translations.

Message catalogs may be located in either
- the .inx file's location
- the root of the "extensions" directory containing the .inx
- the system location Inkscape's own catalog is loaded from

To make this functionality available to script extensions, Inkscape
will set the environment variables
  INKEX_GETTEXT_DOMAIN
and
  INKEX_GETTEXT_DIRECTORY
so extension scripts can then use something like
  bindtextdomain(INKEX_GETTEXT_DOMAIN, INKEX_GETTEXT_DIRECTORY)
  textdomain(INKEX_GETTEXT_DOMAIN)
to enable the feature.

See also
  https://gitlab.com/inkscape/inkscape/issues/333
  https://gitlab.com/inkscape/extensions/issues/117
</pre>
</div>
</content>
</entry>
<entry>
<title>Extensions: Improve logic to lookup script extensions</title>
<updated>2019-10-14T17:36:29+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-10-13T18:02:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=bb3261782fa74919c3ee34baf60dc09da61aff1e'/>
<id>bb3261782fa74919c3ee34baf60dc09da61aff1e</id>
<content type='text'>
- Use identical logic for looking up &lt;dependency&gt;s and &lt;command&gt;s.
- Remove duplicate (but inconsistent and incomplete) logic from
  script.cpp that was used to search for the &lt;command&gt; again
- Remove &lt;check&gt; element from .inx format
  It seems unused (at the very least by core extensions) and
  redundant to &lt;dependency&gt; checking
- Deprecate the &lt;command&gt;-specific "reldir" attribute.
  Consistently use the functionally identical "location" attribute
  that was only used for &lt;dependency&gt;s before
- Introduce the new relative location value location="inx",
  which looks up &lt;dependencies&gt; and &lt;command&gt;s relative to the
  .inx file's location.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use identical logic for looking up &lt;dependency&gt;s and &lt;command&gt;s.
- Remove duplicate (but inconsistent and incomplete) logic from
  script.cpp that was used to search for the &lt;command&gt; again
- Remove &lt;check&gt; element from .inx format
  It seems unused (at the very least by core extensions) and
  redundant to &lt;dependency&gt; checking
- Deprecate the &lt;command&gt;-specific "reldir" attribute.
  Consistently use the functionally identical "location" attribute
  that was only used for &lt;dependency&gt;s before
- Introduce the new relative location value location="inx",
  which looks up &lt;dependencies&gt; and &lt;command&gt;s relative to the
  .inx file's location.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix various minor typos</title>
<updated>2019-07-01T23:35:16+00:00</updated>
<author>
<name>Yuri Chornoivan</name>
<email>yurchor@ukr.net</email>
</author>
<published>2019-07-01T23:35:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=7f3aa2882be5547d5308870bced554502ca4421c'/>
<id>7f3aa2882be5547d5308870bced554502ca4421c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More document.h cleanup.</title>
<updated>2019-04-06T18:54:25+00:00</updated>
<author>
<name>Tavmjong Bah</name>
<email>tavmjong@free.fr</email>
</author>
<published>2019-04-06T18:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=87eb273ceca7e4212a4bfbf2e04b616bac73a701'/>
<id>87eb273ceca7e4212a4bfbf2e04b616bac73a701</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>script.cpp: more cleanup</title>
<updated>2019-03-29T22:40:16+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-03-29T22:24:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=6225b656b339a86e6886b63aabb59fd0f7c87af8'/>
<id>6225b656b339a86e6886b63aabb59fd0f7c87af8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>script.cpp: Glib::spawn_async_with_pipes actually wants UTF-8</title>
<updated>2019-03-29T22:18:24+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-03-29T22:18:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=a90a46ec05952fa162f4285ef19239c9a167a066'/>
<id>a90a46ec05952fa162f4285ef19239c9a167a066</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop "RegistryTool" which is no longer in use.</title>
<updated>2019-03-29T22:05:23+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-03-29T22:05:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=622a199a829580e3b24fef60085ec8673bb1e2dd'/>
<id>622a199a829580e3b24fef60085ec8673bb1e2dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extensions: Use wperl as default perl interpreter on Windows</title>
<updated>2019-02-26T20:44:46+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-02-26T20:44:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=712f3c38ac88e86c4f66cc9ac1380e17e4604237'/>
<id>712f3c38ac88e86c4f66cc9ac1380e17e4604237</id>
<content type='text'>
This is the "GUI" version of the executable that does not have a
console attached to itself and therefore doesn't flash a terminal
whenever it's called by an extension.

Functionality should be identical otherwise.

Fixed issues:
  - https://gitlab.com/inkscape/inkscape/issues/66
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the "GUI" version of the executable that does not have a
console attached to itself and therefore doesn't flash a terminal
whenever it's called by an extension.

Functionality should be identical otherwise.

Fixed issues:
  - https://gitlab.com/inkscape/inkscape/issues/66
</pre>
</div>
</content>
</entry>
<entry>
<title>Give more descriptive names to document file related variables and functions.</title>
<updated>2019-02-20T09:50:38+00:00</updated>
<author>
<name>Tavmjong Bah</name>
<email>tavmjong@free.fr</email>
</author>
<published>2019-02-20T09:50:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=774bee47ed685bd666173cb4d1664933217371c9'/>
<id>774bee47ed685bd666173cb4d1664933217371c9</id>
<content type='text'>
Makes searching through code for them easier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makes searching through code for them easier.
</pre>
</div>
</content>
</entry>
<entry>
<title>modernize loops</title>
<updated>2019-01-02T09:41:30+00:00</updated>
<author>
<name>Marc Jeanmougin</name>
<email>marc@jeanmougin.fr</email>
</author>
<published>2019-01-02T09:41:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=169dff19d4da8d76e69b8e896aa25b0013639c03'/>
<id>169dff19d4da8d76e69b8e896aa25b0013639c03</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
