Commit Graph

33975 Commits

Author SHA1 Message Date
Gheyret Kenji
bf28168d42 Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
2013-04-06 18:21:55 +09:00
Shankar Prasad
78f02cc5b6 Updated kn translations 2013-04-06 00:24:14 +05:30
Shankar Prasad
afadd23d0a Updated kn translations 2013-04-05 21:14:42 +05:30
Shankar Prasad
51a0f35d83 Updated kn translations 2013-04-05 21:14:42 +05:30
Alexander Larsson
e9848b7db4 broadway: Unsure we clear the grab on window hide 2013-04-05 17:06:47 +02:00
Alexander Larsson
ee4c1ded51 broadway: Fix warning
Don't pass NULL source_device in grab/ungrab events
2013-04-05 17:06:47 +02:00
Shankar Prasad
2e6697b588 Updated kn translations 2013-04-05 19:22:07 +05:30
Shankar Prasad
49c9db74b4 Updated kn translations 2013-04-05 17:51:00 +05:30
Balázs Úr
0ba7d68d50 Updated Hungarian translation 2013-04-04 21:53:17 +02:00
Alexander Larsson
0104f5c1bd Fix gtk_window_set_opacity()
We *do* want to call gdk_window_set_opacity() on toplevels, because
this particular case does work.

https://bugzilla.gnome.org/show_bug.cgi?id=697263
2013-04-04 15:41:02 +02:00
Alexander Larsson
db98346844 broadway: Ensure we allocate shm surface space early
This is nicer then getting random sigbus later
2013-04-03 15:58:05 +02:00
Alexander Larsson
2c552820dc Broadway: Fix shm names
We were sometimes getting zero chars in the name, making them
shorter, due to an off-by-zero in the size.
2013-04-03 15:57:58 +02:00
Alexander Larsson
4d24c714c0 broadway: destroy old surface before creating new one
We were not using the old one anyway, and this may in some cases
use less memory (although in most cases the server has a ref to the
surface anyway).
2013-04-03 15:57:52 +02:00
Kjartan Maraas
ed548bac49 Updated Norwegian bokmål translation 2013-04-03 11:54:20 +02:00
Cosimo Cecchi
66b0b287f1 window: don't schedule a display of mnemonics if window has no modifier
When the window has no mnemonics modifier set, as in the case of a
GtkMenu, never schedule a display of mnemonics on focus-in.

Previously, for those windows, the GdkModifierType mask fetched from the
device would typically have been zero, leading to the

mnemonic_modifier == (mask & gtk_accelerator_get_default_mod_mask ())

check to succeed, so we would always trigger a display for popup menus.

https://bugzilla.gnome.org/show_bug.cgi?id=697144
2013-04-02 16:52:09 -04:00
Cosimo Cecchi
4a8203abff window: refactor a function
Instead of having maybe_set_mnemonics_visible(), separate the checks
from the actual scheduling of mnemonics display.

https://bugzilla.gnome.org/show_bug.cgi?id=697144
2013-04-02 16:52:09 -04:00
Cosimo Cecchi
1b3f5d39a2 window: rename functions dealing with mnemonic delayed display
Don't mention "auto mnemonics", since those methods are purely about
scheduling a delayed display, and that makes understanding the code a
bit harder.

https://bugzilla.gnome.org/show_bug.cgi?id=697144
2013-04-02 16:52:09 -04:00
Cosimo Cecchi
a101e85931 window: reset timeout source id before setting property
gtk_window_set_mnemonics_visible() will try to g_source_remove() it
otherwise, which seems harmless, but conceptually wrong.

https://bugzilla.gnome.org/show_bug.cgi?id=697144
2013-04-02 16:52:08 -04:00
Wojciech Szczęsny
f08c27542b Updated Polish translation 2013-04-02 16:05:11 +02:00
Alexander Larsson
cdc93acb25 broadway: Use wss: on https: uris 2013-04-01 17:29:43 +02:00
Ville-Pekka Vainio
255511a44b Finnish translation update by Jiri Grönroos 2013-03-31 20:17:23 +03:00
Carles Ferrando
d150a9f887 [l10n] Updated Catalan (Valencian) translation 2013-03-31 17:03:50 +02:00
Carles Ferrando
c0e374dbbd [l10n] Updated Catalan (Valencian) translation 2013-03-30 16:23:25 +01:00
Pau Iranzo
6238ed3c97 [l10n] Update Catalan translation 2013-03-30 16:22:56 +01:00
Matej Urbančič
7caa7aa6aa Updated Slovenian translation 2013-03-30 11:33:21 +01:00
Matej Urbančič
05137833af Updated Slovenian translation 2013-03-30 11:17:13 +01:00
Matej Urbančič
5240cc79db Updated Slovenian translation 2013-03-30 11:12:18 +01:00
Matej Urbančič
e292243e9a Updated Slovenian translation 2013-03-30 11:06:20 +01:00
Matej Urbančič
72abb9ea1e Updated Slovenian translation 2013-03-30 10:57:41 +01:00
Matej Urbančič
9244c8e74a Updated Slovenian translation 2013-03-30 10:55:18 +01:00
Matej Urbančič
f93f666446 Updated Slovenian translation 2013-03-30 09:42:45 +01:00
Andika Triwidada
f7bbbd51bf Updated Indonesian translation; minor fixes on source references 2013-03-30 13:03:41 +07:00
Alexander Larsson
03bb44ae2f broadway: Reuse surfaces passed to server
This way we don't have to reopen all the time for pure updates,
and we can immediately unlink the shm file to avoid "leaking" them
on improper shutdown.
2013-03-29 14:10:27 +01:00
Alexander Larsson
468daefa21 broadway: Move surface open to server
This way we can cache the last opened surface
2013-03-29 14:10:27 +01:00
Alexander Larsson
4e997cda73 broadway: Make chrome work again 2013-03-29 14:10:27 +01:00
Alexander Larsson
1045dca148 broadway: Add support for password authentication 2013-03-29 14:10:27 +01:00
Alexander Larsson
f713111232 broadway: Limit window resize based on window geometry 2013-03-29 14:10:26 +01:00
Alexander Larsson
f741a4b64f broadway: Sync surface updates with paint clock
We now only update surface data after we have painted. Before we painted
in an idle, which meant we might send black data some times if we e.g.
resized the window and had not painted yet. Also, it means we're updating
less often to the daemon, saving resources.

We still have to queue a flush in the idle for non-draw operations,
otherwise e.g. resize of a toplevel will never be flushed if the clock
is frozen (e.g. during toplevel resize).
2013-03-29 14:10:26 +01:00
Alexander Larsson
859d502095 broadway: Ensure window sizes are synched right
We don't want to update the window size on configure event, only
the position, as the size is client side controlled. We were
updating to an old size during resizes which causes us to send
surfaces of the wrong size to the daemon.
2013-03-29 14:10:26 +01:00
Alexander Larsson
4400c21523 broadway: Clean up moveresize code 2013-03-29 14:10:26 +01:00
Alexander Larsson
83c9d0df8b broadway: Remove leftover cruft that caused resize to fail
getTransientToplevel() doesn't exist anymore so this broke.
2013-03-29 14:10:26 +01:00
Alexander Larsson
365612cfda broadway: Fix mouse position typo 2013-03-29 14:10:26 +01:00
Benjamin Otte
ff4c3bc5a8 reftests: Add a reftest for color resolving errors
This checks the fixes in the last two commits.
2013-03-29 00:30:36 +01:00
Benjamin Otte
818c590671 cssvalue: At cycle detection to color resolving
The following CSS would infloop:

@define-color self @self

as it would infinitely lookup the color named "self" and try to resolve
it. This patch adds detection of such cycles to the resolve function by
keeping a list of currently resolving colors in the cycle_list variable.
2013-03-29 00:30:36 +01:00
Benjamin Otte
450f9c6d1d cssvalue: Handle named colors not resolving
If a named color references a nonexistant named color, we didn't catch
that error and ended up crashing on a NULL-dereference.
This crashed Boxes, because its CSS referenced values from the theme
that didn't exist in any theme.
2013-03-29 00:30:36 +01:00
Andika Triwidada
5ddc5e6b62 Updated Indonesian translation of po-properties 2013-03-28 21:07:30 +07:00
Kristian Rietveld
12ffae5b1b quartz: move atom/pasteboard type conversions functions to GDK
(cherry picked from commit 6f607fc8b4)
2013-03-28 13:43:38 +01:00
Alexander Larsson
e495d318cb GtkOverlay: Respect overlay child min size
Never allocate an overlayed child less than its minimum request.
If the minimum doesn't fit we will gracefully clip via the
widget window.

https://bugzilla.gnome.org/show_bug.cgi?id=696623
2013-03-28 13:25:54 +01:00
Alexander Larsson
b54f277a9b GtkOverlay: Don't allocate child except in size_allocate
We were calling gtk_overlay_child_allocate() both in realize
and in add as we wanted to create and position the child windows
for the widgets. However, this call also actually called
gtk_widget_size_allocate() on the child, which it shouldn't. In some
cases the overlay is realized before being allocated, and thus it
will allocate the child at 0x0 which is an invalid size for it to be in.
In particular, if the child has margins set this will result in negative
allocations and warnings.

This fix splits out the allocation computation so that
gtk_overlay_create_child_window can use it without callers
having to call gtk_overlay_child_allocate() to move the windows.

https://bugzilla.gnome.org/show_bug.cgi?id=696623
2013-03-28 13:05:15 +01:00
Alexander Larsson
8c02e290c4 gdkwindow: Apply layered areas to the shape for native windows
If a window is overlapped by a layered (i.e. partially transparent)
window then that region will not disappear from the native window clip
region. This lets us handle compositing multiple layers of windows.

For native subwindows this doesn't really work. For them we apply the
clip region as a shape to the native window which lets us have client
side windows overlapping the native window. However, with the addition
of the layered stuff the "overlapped-by-alpha-csw" part got broken, as
this area is not removed from the clip region of the native window.

We fix this by also removing the layered area when applying the shape.
This means alpha and alpha backgrounds don't work over native windows,
but there is not much to do about that.

https://bugzilla.gnome.org/show_bug.cgi?id=696370
2013-03-27 11:53:40 +01:00