Commit Graph

18921 Commits

Author SHA1 Message Date
05d39e4085 Add a missing include
This was reported in bug 593606.
2009-09-02 22:14:47 -04:00
908b6620bd Remove sincos use
It turns out to be not worth the portability pain. Bug 593877
2009-09-02 22:11:28 -04:00
36a73586ce Fix a merge conflict 2009-09-02 21:39:36 -04:00
4e6e46d621 Bump version 2009-09-02 21:37:47 -04:00
781e878efb 2.17.10 2009-09-02 21:37:46 -04:00
e1b0e76196 Hungarian translation updated 2009-09-03 02:48:08 +02:00
4ab7255b0a Hungarian translation updated 2009-09-03 00:08:59 +02:00
d5125660c1 Add test for gdk_window_restack 2009-09-02 23:39:57 +02:00
d67a7eda16 Add gdk_window_restack
This lets you restack a window above or below a specified sibling.
At least eclipse wants this functionallity.
2009-09-02 23:38:55 +02:00
45956aea21 Add gdk_cairo_reset_clip
This is required to get back the original drawable clip due to
non-native windows on a cairo_t.
2009-09-01 17:06:41 +02:00
f97a33ad9c Move timer removal in dispose
Move removal of timer function in dispose to prevent potentially running
them on a diposed-but-not-finalized tooltip
2009-09-01 15:50:42 +02:00
b31f1cd80a Updated Hebrew translation 2009-09-01 16:17:13 +03:00
ce0cfa2620 Update Norwegian bokmål translation. 2009-09-01 10:49:44 +02:00
42f2549303 Updated French translation 2009-09-01 09:43:36 +02:00
32d59d174e Documentation fixes 2009-09-01 00:53:44 -04:00
39c714ddc0 More updates 2009-09-01 00:01:13 -04:00
036aada543 Fix the cups checks
This was reported in bug 593712.
2009-08-31 23:59:44 -04:00
0b1a1e200f More updates 2009-08-31 23:02:49 -04:00
9be22cb574 Document gdk_window_geometry_changed 2009-08-31 19:51:19 -04:00
45d6752a3c Handle geometry change correctly
This makes sure that the button is properly prelighted when rotating it
underneath the pointer by using keynav on the scale.
2009-08-31 19:41:09 -04:00
d22b79f1b6 Add another offscreen demo
This demo shows rendering multiple times, to achieve a reflection effect.
Inspired by an earlier demo by macslow.
2009-08-31 19:38:17 -04:00
582b281761 Make sure the paper dialog is destroyed with the parent 2009-08-31 21:56:14 +02:00
0bb51bca9b Remove unneeded call of begin/end user action
delete_interactive already uses them so no need to wrap the call.
2009-08-31 21:47:49 +02:00
3e40146c04 Fix order of cairo clip setting when drawing text
We need to set the window clip region before applying the gc clip region,
otherwise we will reset the gc clip region. Fixes bug 593595
2009-08-31 16:39:54 +02:00
36809d400f Describe how gdk_x11_drawable_get_xid() works wrt CSW in docs 2009-08-31 16:29:17 +02:00
3959ae91d1 Updated Telugu Translations 2009-08-31 19:48:13 +05:30
168e9d0708 Updated Telugu Translations 2009-08-31 19:47:32 +05:30
21efe59aa0 Don't delay showing windows until viewable in GDK_NATIVE_WINDOWS mode
If all windows are native there is no need for delaying the operations
so we just do all shows/hides directly.
2009-08-31 15:06:01 +02:00
b18afe9054 Don't propagate GDK_NATIVE_WINDOWS to child processes
Generally you only need to work around bugs in one specific app, so we
don't want to affect the applications that application will start.
Thus we unset GDK_NATIVE_WINDOWS after reading it.
2009-08-31 15:06:01 +02:00
4d3b19fa7c Update shape handling
For toplevels, never apply clip as shape, instead apply shape.
This way we don't have to re-set it all the time as the window size
changes. Furthermore, this change fixes unsetting a shape on a
toplevel window which didn't actually unset the shape before.

Additionally we never apply clips as shape if the shape would just
be the same as the regular window size. This means we won't unnecessarily
add a useless shape to most native child windows (and additionally this
helps apps that do weird X stuff that don't expect these shaped windows).
2009-08-31 15:06:01 +02:00
cc5b22cc81 Don't update window->shaped from backends
This is properly updated from the main code these days and
should not be touched by the backend code.
2009-08-31 15:06:01 +02:00
154be115ec Use temporary impl_iface variable to make lines shorter
I.e. we use:
 impl_iface = GDK_WINDOW_IMPL_GET_IFACE (private->impl);
And then use impl_iface instead of the full macro when calling vfuncs.

Also, in some places we avoid getting the iface multiple times.
2009-08-31 15:06:01 +02:00
397951cc85 Add and use gdk_window_is_toplevel when possible
This makes a lot of code cleaner and easier to understand
2009-08-31 15:06:01 +02:00
028610b104 Add window type an shape to window print for nicer debugging 2009-08-31 15:06:01 +02:00
d3d7070995 Support DEBUG_WINDOW_PRINTING even with GDK_NATIVE_WINDOWS 2009-08-31 15:06:00 +02:00
c5621f857b Updated Polish translation 2009-08-31 14:51:43 +02:00
de89bf3e71 Updated Bengali India Translations 2009-08-31 17:59:19 +05:30
e2f561aae0 Updated Kannada(kn) translation 2009-08-31 15:20:18 +05:30
ced22b1540 Updated Kannada(kn) translation 2009-08-31 14:36:51 +05:30
b6b64353a1 Add an migration chapter for CSW 2009-08-31 01:26:11 -04:00
953d391a34 Cosmetic fixes 2009-08-31 01:08:31 -04:00
f649237bf2 Minor doc fix 2009-08-31 00:55:57 -04:00
5e5ab90a57 Improve CSW docs 2009-08-31 00:55:32 -04:00
97d4b25d02 Add an offscreen window demo 2009-08-31 00:20:39 -04:00
ab93e1b8e8 Updated Czech translation 2009-08-30 18:31:22 +02:00
2421e641f4 Warn when a parent is destroyed
Previously gdk_window_new would silently return NULL. Bug 590921.
2009-08-30 11:14:40 -04:00
13147323d7 Forgotten part of the lpi change 2009-08-30 11:11:46 -04:00
f117777c20 Return meaningful default values for lpi and resolution
Change default values returned by gtk_print_settings_get_printer_lpi()
and gtk_print_settings_get_resolution{_x, _y}(). New values are 150 for
lpi and 300 for resolution (instead of 0) (#590861).
2009-08-29 21:34:05 -04:00
3b336186ee Add CUPS events as soon as possible when printing
CUPS events are added in prepare part of the main loop. These
events are initialized before their addition (#434318, #586466).
2009-08-29 21:32:01 -04:00
2d8b8e054a buffer_backspace should delete \r\n in one go
Special case \r\n in gtk_text_buffer_backspace since \r should not be
reinserted even if we are deleting one char at a time. Also add
corresponding unit test. Fixes bug #544724.
2009-08-29 21:29:57 -04:00