Skip to content

Instantly share code, notes, and snippets.

View mattdangerw's full-sized avatar
🐶

Matt Watson mattdangerw

🐶
  • Google
  • San Francisco
View GitHub Profile
From 8f28c163346b4ca388320bd25f6d44ac767fa55d Mon Sep 17 00:00:00 2001
From: Matt Watson <mattdangerw@gmail.com>
Date: Fri, 8 Jan 2016 16:06:53 -0800
Subject: [PATCH] resource file: add cancel to dummy monitor
gfilemonitor has a cancel vfunc and will call into the in dispose.
If we don't stub it out we get a segfault.
---
gio/gresourcefile.c | 7 +++++++
1 file changed, 7 insertions(+)
From 9d5477d77febb7f6dbf1487270a5165922e35617 Mon Sep 17 00:00:00 2001
From: Matt Watson <mattdangerw@gmail.com>
Date: Fri, 8 Jan 2016 16:06:53 -0800
Subject: [PATCH] resource file: add cancel to dummy monitor
gfilemonitor has a cancel vfunc and will call into the in dispose.
If we don't stub it out we get a segfault.
---
gio/gresourcefile.c | 7 +++++++
1 file changed, 7 insertions(+)
From c7fcfd6effdd9acb300597180d329d12f6f33abf Mon Sep 17 00:00:00 2001
From: Matt Watson <mattdangerw@gmail.com>
Date: Mon, 11 Jan 2016 18:40:53 -0800
Subject: [PATCH] widget: remove queue_resize in set_sensitive
Calling gtk_widget_propagate_state is enough to queue a resize if
needed
See da7a4089fe82981d1412aaa295e76d47a81ad6df
---
diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am
index 8bd23a3..75ffe6c 100644
--- a/testsuite/reftests/Makefile.am
+++ b/testsuite/reftests/Makefile.am
@@ -180,6 +180,9 @@ testdata = \
box-shadow-spread.css \
box-shadow-spread.ref.ui \
box-shadow-spread.ui \
+ box-shadow-changes-modify-clip.css \
+ box-shadow-changes-modify-clip.ref.ui \
From e4f01a684743ef040319a959148451a306d2e847 Mon Sep 17 00:00:00 2001
From: Matt Watson <mattdangerw@gmail.com>
Date: Tue, 1 Mar 2016 18:26:47 -0800
Subject: [PATCH 2/2] reftests: add a test for animated box shadow updating
clip
---
testsuite/reftests/Makefile.am | 3 ++
.../reftests/box-shadow-changes-modify-clip.css | 19 ++++++++++++
.../reftests/box-shadow-changes-modify-clip.ref.ui | 23 +++++++++++++++
From df7155bb1ecac723fc97d205920a84fc2081bd78 Mon Sep 17 00:00:00 2001
From: Matt Watson <mattdangerw@gmail.com>
Date: Mon, 7 Mar 2016 14:45:39 -0800
Subject: [PATCH] cssanimation: fix fill mode forwards
We had some odd special casing when animation direction was normal
or reverse that was breaking animation-fill-mode: forwards
Removing it will hopefully fix things. Will fix animating in reverse
with fill mode forwards, and animating a non integer number of
From 9493822479a42c7a4bed157bc1c1b692fd91ffdf Mon Sep 17 00:00:00 2001
From: Matt Watson <mattdangerw@gmail.com>
Date: Mon, 7 Mar 2016 14:45:39 -0800
Subject: [PATCH] cssanimation: fixup fill modes
We had a few places where animations would fill to the wrong value
before or after then animation, such as
animation-fill-mode: forwards;
animation-direction: reverse;
or
const Gdk = imports.gi.Gdk;
const Gtk = imports.gi.Gtk;
const Mainloop = imports.mainloop;
Gtk.init(null, 0);
let CSS = '\
.red {\
color: red;\
}\
const Gdk = imports.gi.Gdk;
const Gtk = imports.gi.Gtk;
Gtk.init(null, 0);
let CSS = '\
* {\
font-size: 100px;\
}\
.bar {\
const Gdk = imports.gi.Gdk;
const Gtk = imports.gi.Gtk;
Gtk.init(null, 0);
let CSS = '\
* {\
font-size: 100px;\
}\
.bar {\