~vcs-imports/clutter/+git/clutter:wip/wayland-compositor-help

Last commit made on 2013-09-04
Get this branch:
git clone -b wip/wayland-compositor-help https://git.launchpad.net/~vcs-imports/clutter/+git/clutter

Branch merges

Branch information

Name:
wip/wayland-compositor-help
Repository:
lp:~vcs-imports/clutter/+git/clutter

Recent commits

85e2d9f... by Giovanni Campagna <email address hidden>

ClutterEvent: add API to query the full keyboard state when the event was generated

When talking to other applications or serializing the modifier
state (and in particular when implementing a wayland compositor),
the effective modifier state alone is not sufficient, one needs
to know the base, latched and locked modifiers.

Previously one could do with backend specific functionality
such as clutter_device_manager_evdev_get_xkb_state(), but the
problem is that the internal data structures are updated as
soon as the events are fetched from the upstream source, but
the events are reported to the application some time later,
and thus the two can get out of sync.
This way, on the other hand, the information is cached in the
event, and provided to the application with the value that
was current when the event was generated.

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

3f5efa4... by Giovanni Campagna <email address hidden>

evdev: update the state of the core pointer and core keyboard for all events

These two devices are logically tied togheter, and their state
should always be the same. Also, we need to update them after
the event is queued, as the current modifier state (as opposed to the
modifier mask in the event) should include also the effect of the last
key press/release.

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

c6096d5... by Giovanni Campagna <email address hidden>

evdev: use monotonic times for the events

The monotonic clock is what X uses too, so this way the timestamps
can be compared.

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

d3736da... by Giovanni Campagna <email address hidden>

evdev: add callback to constrain the pointer position

Add a new callback that is called prior to emitting pointer
motion events and that can modify the new pointer position.
The main purpose is allowing multiscreen apps to prevent the
pointer for entering the dead area that exists when the screens
are not the same size, but it could also used to implement
pointer barriers.
A callback is needed to make sure that the hook is called early
enough and the Clutter state is always consistent.

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

e5de61a... by Giovanni Campagna <email address hidden>

ClutterInputDevice: add new API for querying the modifier state

This way, the full state of the device is exposed.

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

daaec72... by Chun-wei Fan <email address hidden>

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

cb3a4ac... by Chun-wei Fan <email address hidden>

Visual C++ Builds: Update Header "Installation"

6083ec1... by aurisc4

Updated Lithuanian translation

cb00652... by Ján Kyselica

Added slovak translation

8db571f... by Jasper St. Pierre

tests: Fix compiler warnings