Commit Graph

8365 Commits

Author SHA1 Message Date
Emmanuele Bassi
77ec8774a0 WARNING: Massive revert commit
Revert all the work that happened on the master branch.

Sadly, this is the only way to merge the current development branch back
into master.

It is now abundantly clear that I merged the 1.99 branch far too soon,
and that Clutter 2.0 won't happen any time soon, if at all.

Since having the development happen on a separate branch throws a lot of
people into confusion, let's undo the clutter-1.99 → master merge, and
move back the development of Clutter to the master branch.

In order to do so, we need to do some surgery to the Git repository.

First, we do a massive revert in a single commit of all that happened
since the switch to 1.99 and the API version bump done with the
89a2862b05 commit. The history is too long
to be reverted commit by commit without being extremely messy.
2015-01-03 20:34:20 +00:00
Muhammet Kara
c3c89332f6 Updated Turkish translation 2014-12-09 20:37:12 +00:00
Jordi Mas
acbfb2bbb5 Fixes to Catalan translation 2014-11-29 09:44:34 -05:00
Pawan Chitrakar
d482016d7a Added Nepali translation 2014-11-22 11:42:58 +00:00
Olav Vitters
ddda4aec18 doap category core 2014-07-30 19:38:35 +02:00
Yosef Or Boczko
85bde59549 Updated Hebrew translation 2014-05-16 04:35:40 +03:00
Carles Ferrando
d3fc867840 [l10n] Updated Catalan (Valencian) translation 2014-05-12 23:45:55 +02:00
Pau Iranzo
f05eac4305 [l10n] Update Catalan translation 2014-05-12 23:45:52 +02:00
Daniel Mustieles
810e16c44f Updated Spanish translation 2014-05-10 19:39:59 +02:00
Gustavo Noronha Silva
266eac1ebb clutter-canvas: cache the texture to avoid uploads
When an actor carrying canvas content is repainted, it will currently reupload
the data from the buffer to a texture. While this is not a performance problem
on a desktop, some mobile environments take a big performance hit. This
change tracks data changes and only recreates the texture if necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=729144
2014-04-28 17:55:36 -03:00
Gustavo Noronha Silva
bfba8cd5c8 clutter-main: start mainloop timer on clutter_init()
By creating and starting the timer on clutter_main() an assumption is made
that that is how the main loop will be run for all clutter applications.
With more and more applications moving to GApplication, this assumption no
longer holds true.

Moving to clutter_init() means we are starting the timer earlier than we
should, and by not stopping it when the main loop quits we are taking a
measure that is later than we should. I believe it is safe to consider
those are close enough to the actual beginning and quitting of the main
loop in practice.

https://bugzilla.gnome.org/show_bug.cgi?id=728521
2014-04-18 19:03:52 -03:00
Inaki Larranaga Murgoitio
447dda82df Updated Basque language 2014-04-16 17:16:14 +02:00
Piotr Drąg
9c5d84c0fe doap: update URLs 2014-03-30 18:35:35 +02:00
Alexandre Franke
9e59f61133 Updated French translation 2014-03-21 08:35:08 +00:00
Ask H. Larsen
df4dad55fd Updated Danish translation 2014-03-19 22:36:31 +01:00
Ask H. Larsen
6a3e336ee0 Updated Danish translation 2014-03-19 22:27:35 +01:00
Changwoo Ryu
592e969254 Added Korean translation 2014-03-12 09:38:37 +09:00
Bastian Winkler
25a092b604 grid-layout: Use correct orientation when requesting preferred child size
Otherwise width and height are swapped.

https://bugzilla.gnome.org/show_bug.cgi?id=725722
2014-03-12 00:39:54 +01:00
Yuri Myasoedov
408b7eb625 Updated Russian translation 2014-03-11 16:20:26 +04:00
Rūdolfs Mazurs
17e03eb8fc Updated Latvian translation 2014-03-08 19:45:42 +02:00
Chun-wei Fan
ae58ad8c46 Fix The Win32 Backend for Newer Visual Studio Versions
The GetSystemMetrics() function returns wrong values for SM_CXSIZEFRAME,
SM_CYSIZEFRAME, SM_CXFIXEDFRAME and SM_CYFIXEDFRAME when built with Visual
Studio 2012 and 2013 (unless the XP compatibility setting for the
PlatformToolset entry is turned on), causing the window of Clutter programs
to automatically shrink to a point where they become unusable.

This patch uses AdjustWindowRectEx() for builds using Visual Studio 2012
and later, which deduces the required height and width of the Window
properly.  Unfortunately we can't use this for the VS 2008/2010 builds as
they cause the Window to continually expand as the program is run.

https://bugzilla.gnome.org/show_bug.cgi?id=725873
2014-03-08 18:38:19 +08:00
Carlos Garnacho
45935fbe29 x11: Avoid invalid ClutterInputDevice pointers in the device list
Due to the way add_device() invariably adds to the master/slave device
lists, while keeping ClutterInputDevices 1:1 with device IDs, it may
leave invalid pointers in the list if add_device() is called multiple
times for the same device ID. There are two situations where this may
happen:

1) If devices are disabled and later enabled: devices are added invariably
   to the master/slave lists on constructed(), but then on XIDeviceEnabled
   they'd get added yet again.
2) Racy cases where the ClutterDeviceManager is created around the same time
   XIHierarchyEvents are sent. When getting the XIDeviceInfo on constructed(),
   these devices may already appear as enabled, even though XIDeviceEnabled
   is seen through XIHierarchyEvents processed in the event loop sortly after.

   This last case can be seen when starting gnome-shell on a different tty,
   and entering in the one it's been spawned on, clutter initialization
   happens around the same time devices are added back because of the tty
   switch, and multiple extra ClutterInputDevices are created.

https://bugzilla.gnome.org/show_bug.cgi?id=724971
2014-02-25 10:15:03 +01:00
Milo Casagrande
086190273b [l10n] Updated Italian translation. 2014-02-16 12:21:47 +01:00
Milo Casagrande
dd2debfc52 [l10n] Updated Italian translation. 2014-02-09 12:33:41 +01:00
Wylmer Wang
eb96602718 Update Chinese simplified translation 2014-01-24 21:12:20 +08:00
Daniel Mustieles
0258c72a5f Updated FSF's address 2014-01-23 12:47:12 +01:00
Sphinx Jiang
5be190a98a Update Chinese simplified translation 2014-01-02 09:42:43 +08:00
Milo Casagrande
7867c86c2b [l10n] Updated Italian translation. 2013-12-12 09:36:16 +01:00
Florian Müllner
f6ad53d9e0 input-device: Guard against double free
Dispose() may be called more than once, so calling g_free directly
on the device name is unsafe. Instead, use g_clear_pointer() to
make sure we don't attempt to free the memory again.

https://bugzilla.gnome.org/show_bug.cgi?id=719563
2013-12-02 00:29:47 +01:00
Owen W. Taylor
9a471cf08d Don't queue redraws when reallocating actor that haven't moved
When support for implicit animation of actor position was added,
the optimization for not queueing when allocating an actor back
to the same location was lost. This optimization is important
since when we are hierarchically allocating down from the top of
the stage we constantly reallocate the actors at the top of the
hierarchy back to the same place.

https://bugzilla.gnome.org/show_bug.cgi?id=719368
2013-11-26 12:35:33 -05:00
Owen W. Taylor
0d0248b31f Bind constraints: Don't force redraws on source relayout
When the source actor potentially changes size, that shouldn't
necessarily result in the target actor being redrawn - it should
be like when a child of a container is reallocated due to changes
in its siblings or parent - it should redraw only to the extent
that it is moved and resized. Privately export an internal function
from clutter-actor.c to allow getting this right.

https://bugzilla.gnome.org/show_bug.cgi?id=719367

Conflicts:
	clutter/clutter-actor.c
2013-11-26 12:35:07 -05:00
Lionel Landwerlin
90c05e98a8 stage: implement touch event throttling
https://bugzilla.gnome.org/show_bug.cgi?id=709761
2013-10-09 21:58:16 +01:00
Pavol Klačanský
7ae3b32cf1 Updated slovak translation 2013-10-08 23:34:58 +02:00
Bastien Nocera
79c2d3ede7 ClutterEvent: Mention _get_source_device() in docs
It's too easy getting bitten by the ->device red herring, thinking
that it's the original input device the event originated from.

https://bugzilla.gnome.org/show_bug.cgi?id=709620
2013-10-08 14:59:13 +02:00
Bastien Nocera
09085b3fee actor: Correct setting the offscreen-redirect property
It's a flags property, not an enum one.

https://bugzilla.gnome.org/show_bug.cgi?id=708922
2013-09-27 16:41:52 +02:00
Balázs Úr
bb983d6b5d Initial Hungarian translation 2013-09-26 00:20:44 +02:00
Kenneth Nielsen
935724e538 Updated Danish translation 2013-09-23 19:36:40 +02:00
António Lima
d8aecdbe78 Updated Portuguese translation 2013-09-23 00:05:49 +01:00
Benjamin Steinwender
a690668b65 Updated German translation 2013-09-16 18:59:53 +02:00
Rūdolfs Mazurs
e10276b26c Updated Latvian translation 2013-09-12 15:23:15 +03:00
Rob Bradford
29eef6de61 wayland: Check for NULL surface on pointer leave events
In the protocol this is the expected behaviour when the client has
destroyed the surface.

https://bugzilla.gnome.org/show_bug.cgi?id=707377
2013-09-09 18:19:28 +01:00
Yuri Myasoedov
c5468ddf52 Updated Russian translation 2013-09-06 13:23:15 +04:00
Jorge Pérez Pérez
cf214d71da Added Aragonese translation 2013-09-05 00:10:49 +02:00
Gil Forcada
752d932bdf [l10n] Update Catalan translation 2013-08-31 22:53:19 +02:00
Chun-wei Fan
e2f9841818 Clean up Visual Studio Build Files
-Combine entries in the property sheets and make it a bit more flexible,
 and drop some redundant items
-Use Custom Build Rules for generating enumeration and marshalling sources,
 and the .def file so that they can be wiped off when a "clean" is
 requested, and regenerate automatically when the templates/.symbols
 files are updated.
-Improve consistency by using ApiVersion rather than ClutterApiVersion
 with the Visual Studio project for other components of the Clutter/GTK+
 stack
-Get rid of unneeded configs in the "install" project
2013-08-29 17:35:13 +08:00
Chun-wei Fan
fbd0a0b479 Visual C++ Builds: Update Header "Installation"
This is taken directly from the 1.16 series, as it seems that the 1.x
development starts from here, so put this here first and make the
neccessary adjustments as we go on.
2013-08-29 10:52:37 +08:00
Ján Kyselica
dc05363545 Added slovak translation 2013-08-27 19:09:08 +02:00
Cheng Lu
03d10a19ec Update Chinese simplified translation 2013-08-23 21:21:05 +08:00
Alexandre Franke
275790f569 Update French translation 2013-08-22 14:25:27 +02:00
Piotr Drąg
aaebfc7826 Updated Polish translation 2013-08-20 22:14:57 +02:00