<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gtk+.git, branch wip/ebassi/frame-marker</title>
<subtitle>gitlab.gnome.org: GNOME/gtk.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/'/>
<entry>
<title>gdk: Deprecate gdk_cairo_create()</title>
<updated>2016-06-08T13:40:08+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-06-07T16:06:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=3611fc9ab49ca559919984e0ddfc563b65f861a8'/>
<id>3611fc9ab49ca559919984e0ddfc563b65f861a8</id>
<content type='text'>
We have GdkDrawingContext, now, which is in charge of creating Cairo
contexts for drawing on a GdkWindow.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have GdkDrawingContext, now, which is in charge of creating Cairo
contexts for drawing on a GdkWindow.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</pre>
</div>
</content>
</entry>
<entry>
<title>gdk: Explicitly create a cairo context inside GdkDrawingContext</title>
<updated>2016-06-08T13:40:08+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-06-07T15:52:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=59bf3a08ed7cff43837dbff7d7024ec44a595061'/>
<id>59bf3a08ed7cff43837dbff7d7024ec44a595061</id>
<content type='text'>
Instead of using gdk_cairo_create(), which we'll soon deprecate.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of using gdk_cairo_create(), which we'll soon deprecate.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate the gdk_window_begin/end_paint family of functions</title>
<updated>2016-06-08T13:40:08+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-06-07T15:40:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=b1b0a251646407c04afd71bc8cac419711667a23'/>
<id>b1b0a251646407c04afd71bc8cac419711667a23</id>
<content type='text'>
They are replaced by the more appropriate gdk_window_begin_draw_frame()
and gdk_window_end_draw_frame() functions.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They are replaced by the more appropriate gdk_window_begin_draw_frame()
and gdk_window_end_draw_frame() functions.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</pre>
</div>
</content>
</entry>
<entry>
<title>Associate the drawing context to the Cairo context</title>
<updated>2016-06-08T13:40:08+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-06-07T15:34:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=bfb4fe771cbd726df55eeec39a9987ed9956ceee'/>
<id>bfb4fe771cbd726df55eeec39a9987ed9956ceee</id>
<content type='text'>
Instead of associating the GdkWindow that created the GdkDrawingContext
we can directly bind the Cairo context to the GDK drawing context.

Cairo contexts created via gdk_cairo_create() go back to not having a
GdkWindow associated to them, like they did before we introduced the
gdk_window_begin_draw_frame() API.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of associating the GdkWindow that created the GdkDrawingContext
we can directly bind the Cairo context to the GDK drawing context.

Cairo contexts created via gdk_cairo_create() go back to not having a
GdkWindow associated to them, like they did before we introduced the
gdk_window_begin_draw_frame() API.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: Add GdkDrawingContext to the GDK API reference</title>
<updated>2016-06-08T13:40:08+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-06-06T11:30:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=af6f9773ecbb90789d35bf69749fbc42a32359e8'/>
<id>af6f9773ecbb90789d35bf69749fbc42a32359e8</id>
<content type='text'>
https://bugzilla.gnome.org/show_bug.cgi?id=766675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.gnome.org/show_bug.cgi?id=766675
</pre>
</div>
</content>
</entry>
<entry>
<title>Add GdkDrawingContext</title>
<updated>2016-06-08T13:40:08+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-05-30T08:44:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=7510615893aa5167f3130d89a4d4423b7f218c27'/>
<id>7510615893aa5167f3130d89a4d4423b7f218c27</id>
<content type='text'>
Instead of giving out Cairo contexts, GdkWindow should provide a
"drawing context", which can then create Cairo contexts on demand; this
allows us to future proof the API for when we're going to use a
different rendering pipeline, like OpenGL.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of giving out Cairo contexts, GdkWindow should provide a
"drawing context", which can then create Cairo contexts on demand; this
allows us to future proof the API for when we're going to use a
different rendering pipeline, like OpenGL.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify the widget rendering entry point</title>
<updated>2016-06-08T13:40:08+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-05-20T15:59:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=45d33f2e3ab0e5cf27f3ad7c858ed0a7e28a7461'/>
<id>45d33f2e3ab0e5cf27f3ad7c858ed0a7e28a7461</id>
<content type='text'>
Now that GDK has the appropriate API, we can simplify the widget drawing
code into a single function.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that GDK has the appropriate API, we can simplify the widget drawing
code into a single function.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</pre>
</div>
</content>
</entry>
<entry>
<title>Add frame drawing API to GdkWindow</title>
<updated>2016-06-08T13:40:08+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-05-20T15:55:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=f0fa8e780b3c6a9cc145269382aee53220cc17db'/>
<id>f0fa8e780b3c6a9cc145269382aee53220cc17db</id>
<content type='text'>
Existing code drawing on a GDK window has to handle the direct drawing
and the buffered drawing by itself, by checking the window type and
whether or not the window is backed by a native windowing surface. After
that, the calling code has to create a Cairo context from the window and
keep an association between the context and the window itself.

This is completely unnecessary: GDK can determine whether or not it
should use a backing store to draw on a GdkWindow as well as create a
Cairo context, and keep track of it.

This allows to simplify the calling code, and enforce some of the
drawing behavior we want to guarantee to users.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Existing code drawing on a GDK window has to handle the direct drawing
and the buffered drawing by itself, by checking the window type and
whether or not the window is backed by a native windowing surface. After
that, the calling code has to create a Cairo context from the window and
keep an association between the context and the window itself.

This is completely unnecessary: GDK can determine whether or not it
should use a backing store to draw on a GdkWindow as well as create a
Cairo context, and keep track of it.

This allows to simplify the calling code, and enforce some of the
drawing behavior we want to guarantee to users.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix build</title>
<updated>2016-06-08T13:20:02+00:00</updated>
<author>
<name>Emmanuele Bassi</name>
<email>ebassi@gnome.org</email>
</author>
<published>2016-06-08T13:20:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=32885605c7d589773930f095b4ef55c902cbf36d'/>
<id>32885605c7d589773930f095b4ef55c902cbf36d</id>
<content type='text'>
Commit 023f406c9617284ee3b88727df489f20cd066fd6 has a typo that results
in this error:

../../../testsuite/gtk/notify.c: In function 'test_type':
../../../testsuite/gtk/notify.c:679:54: error: expected expression
before ')' token
    (g_str_equal (pspec-&gt;name, "max-content-width") ||)
                                                      ^
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 023f406c9617284ee3b88727df489f20cd066fd6 has a typo that results
in this error:

../../../testsuite/gtk/notify.c: In function 'test_type':
../../../testsuite/gtk/notify.c:679:54: error: expected expression
before ')' token
    (g_str_equal (pspec-&gt;name, "max-content-width") ||)
                                                      ^
</pre>
</div>
</content>
</entry>
<entry>
<title>wayland: Make sure window titles fit into a wl_buffer</title>
<updated>2016-06-08T13:06:51+00:00</updated>
<author>
<name>Timm Bäder</name>
<email>mail@baedert.org</email>
</author>
<published>2016-06-08T05:31:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gtk+.git/commit/?id=d9a6517d5f9371648c625e75b3deb413f960c2f3'/>
<id>d9a6517d5f9371648c625e75b3deb413f960c2f3</id>
<content type='text'>
A wl_buffer has a max size of 4096 bytes, of which 8 are needed for the
header and another 4 for the string argument length (in this case), so
make sure the we only save the first 4083 bytes that are still valid
UTF8.

https://bugzilla.gnome.org/show_bug.cgi?id=767241
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A wl_buffer has a max size of 4096 bytes, of which 8 are needed for the
header and another 4 for the string argument length (in this case), so
make sure the we only save the first 4083 bytes that are still valid
UTF8.

https://bugzilla.gnome.org/show_bug.cgi?id=767241
</pre>
</div>
</content>
</entry>
</feed>
