<feed xmlns='http://www.w3.org/2005/Atom'>
<title>inkscape/src/preferences.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>Dialogs: improve opacity handling through use of CSS</title>
<updated>2019-10-26T15:50:43+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-10-26T15:34:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=0b91425b7fa1a652936686d8cb0b82981581b463'/>
<id>0b91425b7fa1a652936686d8cb0b82981581b463</id>
<content type='text'>
In particular this allows us to get rid of our custom implementation
for the opacity transition (which did not always work properly).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In particular this allows us to get rid of our custom implementation
for the opacity transition (which did not always work properly).
</pre>
</div>
</content>
</entry>
<entry>
<title>Preferences: hold-off on caching until fully instantiated</title>
<updated>2019-10-20T18:19:10+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-10-20T18:19:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=fe3c6f825131da03e278442d046565e4caaebb77'/>
<id>fe3c6f825131da03e278442d046565e4caaebb77</id>
<content type='text'>
This avoids caching "wrong" values when setting defaults in
Preferences::_loadDefaults().

(we did this since 7ca9dc4c53873955a31c1b71559da9f7b29b4a2e for
 OS-specific defaults)

Fixes https://gitlab.com/inkscape/inkscape/issues/99
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids caching "wrong" values when setting defaults in
Preferences::_loadDefaults().

(we did this since 7ca9dc4c53873955a31c1b71559da9f7b29b4a2e for
 OS-specific defaults)

Fixes https://gitlab.com/inkscape/inkscape/issues/99
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-Add blending modes UI using CSS instead filters</title>
<updated>2019-10-14T14:25:28+00:00</updated>
<author>
<name>Jabier Arraiza</name>
<email>jabier.arraiza@marker.es</email>
</author>
<published>2019-10-14T14:25:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=d58f1115618f0458496b0e0a081238d5fda64ef5'/>
<id>d58f1115618f0458496b0e0a081238d5fda64ef5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add extension to prefs backups</title>
<updated>2019-10-13T13:26:24+00:00</updated>
<author>
<name>Marc Jeanmougin</name>
<email>marc@jeanmougin.fr</email>
</author>
<published>2019-10-13T13:26:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=2a729d7534b586e775f233fa76ef4155facb288c'/>
<id>2a729d7534b586e775f233fa76ef4155facb288c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Backup prefs instead of deleting</title>
<updated>2019-10-09T23:14:00+00:00</updated>
<author>
<name>Marc Jeanmougin</name>
<email>marc@jeanmougin.fr</email>
</author>
<published>2019-10-09T23:14:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=83a3b443c3bc726126b9d9eea8233992a7fb7079'/>
<id>83a3b443c3bc726126b9d9eea8233992a7fb7079</id>
<content type='text'>
Fixes https://gitlab.com/inkscape/inbox/issues/850
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://gitlab.com/inkscape/inbox/issues/850
</pre>
</div>
</content>
</entry>
<entry>
<title>Preferences: add methods to set/get unsigned integers</title>
<updated>2019-07-22T23:15:57+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-07-22T20:33:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=624aeeae6ae43c2c298462cbd1108f2e5ad7fbef'/>
<id>624aeeae6ae43c2c298462cbd1108f2e5ad7fbef</id>
<content type='text'>
Those should be used for RGBA color values, which would overflow
the signed type otherwise.

Replacement will be seamless and fully backwards-compatible, as we
can read the overflowed (i.e. negative) signed integers we used to
save and they will be properly unwrapped.

Also reading the unsigned ints as signed ints in older versions of
Inkscape will still work, as we always depended on the undefined
behavior of atoi in case of out of range numbers (which luckily is
means overflowing in gcc).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Those should be used for RGBA color values, which would overflow
the signed type otherwise.

Replacement will be seamless and fully backwards-compatible, as we
can read the overflowed (i.e. negative) signed integers we used to
save and they will be properly unwrapped.

Also reading the unsigned ints as signed ints in older versions of
Inkscape will still work, as we always depended on the undefined
behavior of atoi in case of out of range numbers (which luckily is
means overflowing in gcc).
</pre>
</div>
</content>
</entry>
<entry>
<title>Preferences: Work around issue with parsing unsigned integers</title>
<updated>2019-06-08T17:02:14+00:00</updated>
<author>
<name>Patrick Storz</name>
<email>eduard.braun2@gmx.de</email>
</author>
<published>2019-06-08T16:45:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=85f5be05f66382c9f2095749d0edbd41f6e861a5'/>
<id>85f5be05f66382c9f2095749d0edbd41f6e861a5</id>
<content type='text'>
As we handle unsigned integers the same way as signed integers,
large unsigned values (notably RGBA values) overflow the signed type.

The issue became apparent when we switched from atoi to strtol in
  0e92e8e519b33b35ab63600c31feb7c639e347a6

While the former has undefined behavior for out of range numbers
it luckily seemed to "just" overflow as expected on supported OSs.

The latter however returns LONG_MAX (which for a 32-bit value is
0x7fffffff and turned out to show turquoise in unexpected places,
e.g. the default path highlighting color in node tool).

Avoid this by catching the error and try to parse as unsigned type
in this case (which will still overflow, but seems to have worked
as expected so far).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As we handle unsigned integers the same way as signed integers,
large unsigned values (notably RGBA values) overflow the signed type.

The issue became apparent when we switched from atoi to strtol in
  0e92e8e519b33b35ab63600c31feb7c639e347a6

While the former has undefined behavior for out of range numbers
it luckily seemed to "just" overflow as expected on supported OSs.

The latter however returns LONG_MAX (which for a 32-bit value is
0x7fffffff and turned out to show turquoise in unexpected places,
e.g. the default path highlighting color in node tool).

Avoid this by catching the error and try to parse as unsigned type
in this case (which will still overflow, but seems to have worked
as expected so far).
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove dead code.</title>
<updated>2019-03-27T07:54:30+00:00</updated>
<author>
<name>Tavmjong Bah</name>
<email>tavmjong@free.fr</email>
</author>
<published>2019-03-27T07:54:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=0c60a3925b92d1938877e48fe4dd211dcf9a0fba'/>
<id>0c60a3925b92d1938877e48fe4dd211dcf9a0fba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move Calligraphy preset names to more appropriate place.</title>
<updated>2019-03-13T10:46:40+00:00</updated>
<author>
<name>Tavmjong Bah</name>
<email>tavmjong@free.fr</email>
</author>
<published>2019-03-13T10:46:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=e1b67bb9b79034edc3b09348ff8653211a147ede'/>
<id>e1b67bb9b79034edc3b09348ff8653211a147ede</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't translate Caligraphy presets in Preferences::_loadDefaults.</title>
<updated>2019-03-11T17:49:11+00:00</updated>
<author>
<name>Tavmjong Bah</name>
<email>tavmjong@free.fr</email>
</author>
<published>2019-03-11T17:49:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.s-ol.nu/inkscape/commit/?id=ff16fd297eb4a5cb695129fc1c74f238503060f9'/>
<id>ff16fd297eb4a5cb695129fc1c74f238503060f9</id>
<content type='text'>
Fixes GitLab issue 128.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes GitLab issue 128.
</pre>
</div>
</content>
</entry>
</feed>
