Commit Graph

8198 Commits

Author SHA1 Message Date
Emanuele Aina
cb4620d14f version: Add 1.14 version macros
https://bugzilla.gnome.org/show_bug.cgi?id=685028
2012-10-10 20:27:44 +02:00
Tomeu Vizoso
36c2343001 actor: Place coordinate of the pivot point in the right pointer 2012-10-08 11:08:20 +02:00
Emmanuele Bassi
834c18c3fd Post-branch version bump to 1.13.1 2012-10-05 17:37:48 +01:00
Emmanuele Bassi
0da0e5122e main: Do not release the lock if it hasn't been acquired
On various systems, trying to release a mutex that hasn't been acquired
will result in a run-time error.

In order to avoid this, we trylock() the Big Clutter Lock™ and
immediately unlock() it, regardless of the result; if the lock was
already acquired, trylock() will immediately fail, and we can release
it; if the lock was not acquired, trylock() will succeed, and we can
release the lock immediately.

This is necessary to maintain binary compatibility and invariants for
Clutter applications doing:

  clutter_init()
  clutter_threads_enter()
  ...
  clutter_main()
  ...
  clutter_threads_leave()

instead of the correct:

  clutter_init()
  clutter_threads_enter()
  ...
  clutter_threads_leave()
  clutter_main()
  clutter_threads_enter()
  ...
  clutter_threads_leave()

With Clutter ≥ 1.12, the idiomatic form is:

  clutter_init()
  ...
  clutter_main()

given that the public Big Clutter Lock™ acquire/release API has been
deprecated, and nobody should take the lock outside of Clutter itself.

https://bugzilla.gnome.org/show_bug.cgi?id=679439
2012-10-05 17:36:06 +01:00
Marek Černocký
bacda24534 Updated Czech translation 2012-10-03 19:48:25 +02:00
Milo Casagrande
092389132e [l10n] Updated Italian translation. 2012-09-29 17:36:45 +02:00
Nishio Futoshi
ffbf3d47fc [l10n] Update Japanese translation 2012-09-28 20:36:21 +09:00
Chun-wei Fan
a87fd7aae4 Update Visual C++ projects
-Make things a bit cleaner by generating clutter.def in the intermediate
 build folder
-Fix the include paths as config.h is now in clutter/
-Make things a little bit more consistent between vs9 and vs10 in terms of
 the "install" stage
2012-09-28 18:59:27 +08:00
Emmanuele Bassi
696f1afc04 actor: Fix transform-set condition
The :transform-set property is set if the matrix in :transform is not
the identity matrix.
2012-09-25 09:12:54 +01:00
Rūdolfs Mazurs
21b32dbe7a Updated Latvian translation 2012-09-24 23:25:05 +03:00
Emmanuele Bassi
ab011c44ac Post-release version bump to 1.12.1 2012-09-24 17:46:10 +01:00
Emmanuele Bassi
075aa21b3a Release Clutter 1.12.0 2012-09-24 17:27:05 +01:00
Emmanuele Bassi
65bedbe42c docs: Fix typo in closing tag 2012-09-24 17:21:36 +01:00
Emanuele Aina
35faaf604c x11: set the stage for core events with no associated stage
When the last touch has been released the stage on the
corresponding master device (eg. the virtual core pointer) is set
to NULL and no mouse events can be delivered until an ENTER event
has occurred and the stage pointer restored.

This is due to the fact that the master devices can send both
touch events and mouse events, forwarding events coming from the
attached slave devices.

To restore delivery of mouse events we need to ensure that the
stage is set on each ButtonPress, ButtonRelease and Motion event
coming from master devices.

https://bugzilla.gnome.org/show_bug.cgi?id=684509
2012-09-24 17:08:24 +01:00
Emanuele Aina
a6abf86e94 input-device: print device number in debug messages
https://bugzilla.gnome.org/show_bug.cgi?id=684530
2012-09-24 17:04:08 +01:00
Emanuele Aina
d587fa4e28 tests: print coords and devices in test-events
Print event coordinates on events other than motion and also track
the device and source device ids in ./tests/interactive/test-events

https://bugzilla.gnome.org/show_bug.cgi?id=684552
2012-09-24 17:03:36 +01:00
Alexander Shopov
042677b920 Updated Bulgarian translation 2012-09-23 12:17:28 +03:00
Nishio Futoshi
cdb91a461d Updated Japanese translation. 2012-09-23 17:50:31 +09:00
Ani Peter
00f5e1286b Updated Malayalam file 2012-09-23 01:45:51 +05:30
Shankar Prasad
eb3b737484 Updated kn translation 2012-09-23 01:28:46 +05:30
Carles Ferrando
dc020c5e54 [l10n]Updated Catalan (Valencian) translation 2012-09-21 21:37:41 +02:00
Gil Forcada
4887f06970 [l10n] Updated Catalan translation 2012-09-21 21:37:41 +02:00
Krishnababu Krothapalli
c5f769cc07 Updated Telugu Translations 2012-09-20 15:56:41 +05:30
Chandan Kumar
bd8039ca67 Updated HINDI translation 2012-09-20 08:51:31 +05:30
Emmanuele Bassi
64c7973c74 bin-layout: Fix text direction checks
When using the new ActorAlign flags we must get the real alignment for
the horizontal axis, as clutter_actor_allocate() will compute the
effective alignment by itself; if we use the effective alignment then
ClutterActor.allocate() will swap it, and undo our work.

When using the old BinAlignment flags we should reverse the alignment
depending on whether the text direction of the child is RTL or LTR.

See bug: https://bugzilla.gnome.org/show_bug.cgi?id=684214
2012-09-19 11:40:33 +01:00
Emmanuele Bassi
4578a87d1d Add debug note for text direction
It would be nice to have the text direction inside the debug log.
2012-09-19 11:39:41 +01:00
Emmanuele Bassi
26eb599997 Post-release version bump to 1.11.17 2012-09-17 22:59:11 +01:00
Emmanuele Bassi
ec96435f2f Release Clutter 1.11.16 (snapshot) 2012-09-17 22:48:44 +01:00
Emmanuele Bassi
cd67c7fd24 drag-action: Allow destroying the dragged actor inside ::drag-end
It should be possible to destroy the actor currently being dragged from
within the ::drag-end signal. In order to do this, we need to keep a
reference on the action for the duration of the emit_drag_end() function
as well as resetting the action's state inside the dispose()
implementation, to avoid trying to access cleared data.

https://bugzilla.gnome.org/show_bug.cgi?id=681814
2012-09-17 19:54:27 +01:00
Yuri Myasoedov
c095de8705 Updated Russian translation 2012-09-17 15:55:50 +04:00
Emmanuele Bassi
8d53bbd34f docs: Document the states of a GestureAction
Useful notes for developers writing gesture recognizers.
2012-09-17 12:05:39 +01:00
Ask H. Larsen
838a6d9218 Updated Danish translation 2012-09-16 02:07:53 +02:00
Emanuele Aina
165871024c stage: fix typo and format identifiers in debug notes
https://bugzilla.gnome.org/show_bug.cgi?id=683937
2012-09-13 12:09:30 +02:00
Emanuele Aina
e6fcdb0644 click-action: add touch event support
Allow for touch events to trigger the "clicked" event on
ClickAction without introducing API changes.

https://bugzilla.gnome.org/show_bug.cgi?id=683936
2012-09-13 11:59:08 +02:00
Emanuele Aina
d616fd628b tests: style fixes to test-events
Oops, I pushed the commit without the style fixes. Followup commit
for 47347d5.
2012-09-12 20:08:16 +02:00
Emanuele Aina
47347d5f5c tests: handle smooth scroll events in test-events
Print the precise scroll delta for smooth scroll events and
correctly print the direction for left/right scrolls.

https://bugzilla.gnome.org/show_bug.cgi?id=683870
2012-09-12 15:31:55 +02:00
Emanuele Aina
8a69210363 tests: track touch events in test-events
Enable xinput support in the X11 backend form test-events to
receive touch[begin|update|end] events.

https://bugzilla.gnome.org/show_bug.cgi?id=683869
2012-09-12 14:57:48 +02:00
Emanuele Aina
19de5d2541 action: fix CLUTTER_GESTURE_ACTION_GET_CLASS()
Fix the same cut'n'paste error fixed for GestureAction in 609766fa,
this time in ClickAction, PanAction, RotateAction and SwipeAction.

https://bugzilla.gnome.org/show_bug.cgi?id=683430
2012-09-11 23:05:15 +02:00
Nilamdyuti Goswami
a6a96f0946 Assamese translation updated 2012-09-11 16:59:22 +05:30
Rui Matos
ea50df6bb6 text: Don't accept new line characters in single line mode
Modified Return key presses don't trigger ::activate so we would end
up adding an unprintable character to a single paragraph mode pango
layout which renders it as a box.

https://bugzilla.gnome.org/show_bug.cgi?id=623344
2012-09-09 23:48:46 +02:00
Ihar Hrachyshka
5e18c2f9b4 Updated Belarusian translation. 2012-09-09 15:29:05 +03:00
Duarte Loreto
69b83d1f70 Updated Portuguese translation 2012-09-09 01:17:39 +01:00
Martin Srebotnjak
67fa2e6809 Updated Slovenian translation 2012-09-08 20:39:51 +02:00
Tom Tryfonidis
6a4060c2d7 Updated Greek translation 2012-09-08 12:12:38 +03:00
Debarshi Ray
c3e574a389 actor: Fix the content box for CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT
The code for calculating the content box when the aspect ratio is
greater than 1 was broken. The same code that did the calculation for
aspect ratio less than 1 should be used in all cases.

Fixes: https://bugzilla.gnome.org/682161
2012-09-07 21:23:24 +01:00
Enrico Nicoletto
75e7fcdb2c Added Brazilian Portuguese translation. 2012-09-07 11:57:13 -04:00
Matej Urbančič
568c8e1919 Updated Slovenian translation 2012-09-07 15:19:30 +02:00
Christian Kirbach
f6d7cc5ee6 Updated German translation 2012-09-06 23:07:25 +02:00
Yuri Myasoedov
a71c38445a Updated Russian translation 2012-09-06 22:41:33 +04:00
Emanuele Aina
9caf9ffbbb gesture-action: unregister point on missed release events
When we miss button release events (eg. when they happen outside
of our window) we must ensure that the corresponding point is
removed from the array of tracked points, otherwise GestureAction
will get very confused and will cancel all subsequent gestures.

https://bugzilla.gnome.org/show_bug.cgi?id=683471
2012-09-06 12:16:24 +01:00