| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Eliminate warning C4098 (returning value in a void function), which
is considered an error if building against GLib-2.68.x or later.
|
|
|
|
|
| |
We forgot to put into clutter-config.h the Windows items, which means
that we would actually build the Win32 parts in vain.
|
|
|
|
| |
Fix a typo.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=783791
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=783791
|
|
|
|
|
|
|
| |
The `leave` handler checks for NULL surfaces, but the `enter` handler
does not.
Fixes: #17
|
|
|
|
|
| |
Older versions of Meson do not deal with concatenation between mixed
values very well.
|
|
|
|
|
|
| |
Use non-deprecated syntax to generate the main pkg-config file; then,
generate all the backend-specific pkg-config files by simply depending
on clutter-1.0.
|
|
|
|
|
| |
The `install` argument for configure_file() is not needed if set to a
`true` constant value while passing `install_dir`.
|
|
|
|
| |
Cannot go to a new line in the middle of an if.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
ClutterActor took a reference in its transition 'stopped' handler,
aiming to keep the transition alive during signal emission even if it
was removed during. This is, however, already taken care of by
ClutterTimeline, by always taking a reference during its 'stopped'
signal emission, so no need to add another one.
This also has the bonus of making reference ownership simpler, as well
as avoidance of double free if an actor was destroyed before a
transition has finished.
|
|
|
|
|
|
|
|
|
| |
Implicit transitions had a referenced taken while emitting the
completion signals, but said reference would only be released if it was
had remove-on-complete set to TRUE.
Change this to instead remove the 'is_implicit' state and mark all
implicit transitions as remove-on-complete.
|
|
|
|
|
|
|
|
|
|
|
|
| |
GDK will only set the buffer scale for the surfaces it creates when
attaching an image or when using an egl window window. Neither will
happen for native clutter applications, thus directly set the buffer
scale from clutter in that case (so it's in sync with the rendering
scale)
Signed-off-by: Sjoerd Simons <sjoerd@luon.net>
https://bugzilla.gnome.org/show_bug.cgi?id=769190
|
| |
|
|
|
|
| |
clutter_grid_layout_attach_child() doesn't seem to have ever existed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Meson-generated pkg-config files are seeded from the shared library
object, but that will use the Requires.private field for the library
dependencies.
Since Clutter exposes types from other libraries, the dependencies
should go into the Requires field, to avoid under-linking of dependent
projects. Additionally, per-backend pkg-config files should have their
own dependencies expressed into the Requires field, if they expose types
from those dependencies in the public API.
|
|
|
|
| |
The soname needs to be compatible with libtool and gobject-introspection.
|
|
|
|
| |
We need to install it with Meson as well as Autotools.
|
|
|
|
| |
Whoopsie, we're missing installing the headers with Meson.
|
|\
| |
| |
| |
| | |
Use Unicode in translatable strings
See merge request GNOME/clutter!1
|
| |
| |
| |
| |
| |
| | |
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772213
|
| |
| |
| |
| |
| | |
Clutter has various additional pkgconfig files for things like backends
and Cally; we need to generate them all.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Both the API reference and the Cookbook.
This requires a little bit of surgery on the Autotools build as well,
namely that we need to stop generating the main gtk-doc XML file from
a template at configuration time; we should, instead, generate and
include a gtkdocentities.ent file both for the Meson build (where we
generate the file ourselves) and for the Autotools build (where
gtk-doc.make does it for us).
|
| |
| |
| |
| |
| |
| |
| | |
Having a 'build' directory makes is a bit awkward for tools packaging
Clutter, and the rapidly coalescing consensus on the GNOME platform,
pushed by the port to Meson, is to call the directory for ancillary
build files 'build-aux'.
|
| | |
|
| |
| |
| |
| |
| | |
We cannot add new device types in Clutter, but we should handle all
device types that GDK throws at us.
|
| |
| |
| |
| |
| | |
We're not going to move to g_object_new_with_properties(), at least for
the time being.
|
| |
| |
| |
| | |
And silence a compiler warning.
|
| |
| |
| |
| |
| | |
Move the single include guard after the include guard, and turn the
latter into a 'once' pragma while we're at it.
|
| |
| |
| |
| |
| | |
Use the 'once' pragma, and ensure that we don't mess us reproducible
builds by including full paths to file names.
|
|/
|
|
|
| |
Even if Clutter is an old project, it does not mean it shouldn't receive
some build system love.
|
|
|
|
|
|
|
|
| |
When using a gdk subsurface, destroy it on clutter_stage_gdk_unrealize()
to avoid keeping around an old existing subsurface pointing to a parent
surface which might be gone.
https://bugzilla.gnome.org/show_bug.cgi?id=781975
|
|
|
|
| |
They need to be exactly one line above a string to show up in .po files.
|
|
|
|
|
|
|
|
| |
GDK has all the bits required to deal with the subsurface, by using the
GDK Wayland API instead of the Wayland API directly, we can save a few
lines of code.
https://bugzilla.gnome.org/show_bug.cgi?id=774546
|
|
|
|
|
|
|
|
|
|
| |
this way, clutter-gtk applications work fine on wayland
without the need of exporting CLUTTER_BACKEND=wayland
as gtk+ checks for wayland and x11 in the same order
https://bugzilla.gnome.org/show_bug.cgi?id=762888
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
|
|
|
|
|
|
|
|
|
| |
Despite being a widely-used feature, it doesn’t seem to be obvious from
the documentation that the top-level node in a ClutterScript JSON file
can be an object, or an array of objects. Try to clarify that in the
documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=772412
|
|
|
|
|
|
| |
Document the ‘translatable’ key and friends.
https://bugzilla.gnome.org/show_bug.cgi?id=770288
|
| |
|
|
|
|
|
|
| |
Signed-off-by: Philip Withnall <philip.withnall@collabora.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=768898
|
|
|
|
|
|
|
| |
So if you want to reuse a ClutterEffect, make sure to
g_object_ref_sink() it yourself first.
https://bugzilla.gnome.org/show_bug.cgi?id=768734
|
|
|
|
|
|
|
|
|
|
| |
Since the check for backend->cogl_context was accidentally moved
to clutter_backend_do_real_create_context, the Glib source that
is created at the end of clutter_backend_do_create_context() is
created and added each time create_context() is called, though
create_context() is supposed to be idempotent.
https://bugzilla.gnome.org/show_bug.cgi?id=768243
|
|
|
|
|
|
|
|
| |
The 'select-all' action is currently only bound to <ctrl>a, which makes
it awkward to use when caps-lock is active, and is inconsistent with GTK+.
Just accept both upper- and lower-case variants.
https://bugzilla.gnome.org/show_bug.cgi?id=766326
|
|
|
|
|
|
|
|
| |
ClutterActor should warn if a user tries to add or remove an actor to,
and from, itself on the scene graph.
Clutter will likely crash, or warn way down the line, but if we can make
debugging simpler then we should.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the GDK backend We're using the GdkDeviceManager API, which maps to
Clutter's own device manager API. GDK has now moved to a per-seat device
management model, and deprecated the device manager singleton one.
In order to avoid the deprecation warnings, we'd have to implement a
model similar to the GDK one inside the generic Clutter API, but that
would also require moving all the others backend to it, which is pretty
pointless.
Instead, we can disable deprecation warnings for the
ClutterDeviceManager implementation inside the GDK backend.
|
|
|
|
|
|
| |
This updates config.h.win32.in to be in-sync with the entries that are in
the config.h.in that is generated by the autotools builds. In particular,
for Visual Studio builds, we default to enable all available drivers ("*").
|
|
|
|
|
|
|
| |
Clones may generate a temporary map/unmap on their source when painting;
this, in turn, will generate unnecessary ATK state changes.
https://bugzilla.gnome.org/show_bug.cgi?id=756371
|
|
|
|
|
|
|
|
| |
The function should return true not only if the actor is being painted
by a ClutterClone, but also if it's inside a sub-graph being painted by
a ClutterClone.
https://bugzilla.gnome.org/show_bug.cgi?id=756371
|