Commit Graph

21969 Commits

Author SHA1 Message Date
Benjamin Otte
c989d3000a API: Add gdk_window_create_similar_surface() 2010-08-12 23:43:11 +02:00
Javier Jardón
97fbf97be2 GtkTextTagTable: move public members to private structure 2010-08-12 18:33:28 +02:00
Javier Jardón
1516c86ca4 Use accessor funcions to access GtkCalendar 2010-08-12 18:02:31 +02:00
Javier Jardón
e6ed4da215 GtkCalendar: move public members to private structure 2010-08-12 18:02:31 +02:00
Christian Persch
05134768fe Revert "Added UG translation" AGAIN
This reverts commit ac94b406a1.
2010-08-12 16:18:47 +02:00
Klemen Košir
8313c7fdbb Updated Slovenian translation 2010-08-12 14:12:17 +02:00
Claudio Saavedra
e4a83370c4 Improve the looks of the license text in GtkAboutDialog
It is not safe to assume that copyright text in applications is
one liner, therefore it's better to split it from the program name.

Also, the license text should be in a paragraph of its own, so
add an extra '\n' above it.

https://bugzilla.gnome.org/show_bug.cgi?id=626514
2010-08-12 14:23:58 +03:00
Sven Herzberg
cd00b0a490 avoid redundant recursion for executing tests
* Makefile.decl: make sure that check-local does not depend on a
  recursive target for the tests. This way check can recurse and call
  check-local in each folder which then invokes test-cwd. This will
  make sure that a toplevel check-local doesn't recurse into subfolders
  as well. The was resulting in test being run twice (for "/tests"), tree
  times (e.g. for "/gtk/tests") and potentially more often
2010-08-12 11:20:41 +02:00
Kristian Rietveld
8b917eeaf6 quartz: make it compile 2010-08-12 10:57:59 +02:00
Benjamin Otte
159caba3e2 Add gtk_license_get_type() to gtk.symbols 2010-08-11 21:43:47 +02:00
Benjamin Otte
ddc184ec79 gdk: Remove nonexistant symbols
These symbols have been deleted from the public API with the rendering
cleanup work.
2010-08-11 21:43:47 +02:00
Fran Diéguez
48c34b6868 Updated galician translations 2010-08-11 18:19:34 +02:00
Sahran
ac94b406a1 Added UG translation 2010-08-11 17:48:38 +02:00
Yinghua Wang
aa8a1a8a8e Update Simplified Chinese UI translation. 2010-08-11 22:42:48 +08:00
Yinghua Wang
a151eac4fb Update Simplified Chinese property nicks translation. 2010-08-11 22:37:13 +08:00
Benjamin Otte
416d132a72 docs: Some style fixes to the migration guide
Most importantly, I decided to not capitalize "cairo".
2010-08-11 05:12:49 +02:00
Matthias Clasen
2acf529b3b Beef up the migration guide
This includes a first cut at documenting the rendering cleanup changes
and the region removal.
2010-08-10 21:22:40 -04:00
Benjamin Otte
eff92cb1d6 dnd: Remove default_icon_pixmap variable and friends
The functions to set them were gone already, this is just cleanup
2010-08-11 02:30:29 +02:00
Kristian Rietveld
bde0f9a8f6 quartz: Misc. fixes for getting offscreen windows to work
Mainly fixes to properly differentiate between toplevel and offscreen
windows, since these sometimes need different treatment.  Furthermore,
usage of gdk_window_get_effective_foo() instead of gdk_window_get_foo()
where applicable.
2010-08-10 21:02:31 +02:00
Kristian Rietveld
d819bc4814 Invalidate cairo surface if resizing is not supported for target
While X11 surfaces can be resized, this is not the case for Quartz
surfaces.  Instead of resizing we will invalidate the surface instead.
By giving _gdk_windowing_set_cairo_surface_size() a boolean return
value, we can signal back whether or not resizing was possible.  If not
possible, we invalidate the surface.
2010-08-10 21:02:31 +02:00
Kristian Rietveld
9c6696dfcc quartz: Convert default background drawing to cairo
Includes some untested (read: uncompiled) simplifications from Benjamin
Otte.
2010-08-10 21:02:31 +02:00
Benjamin Otte
709e05cdb2 style: Use _gtk_pango_fill_layout() 2010-08-10 21:02:31 +02:00
Benjamin Otte
ccacd3a46a style: Apply same matrix conversion as gdk_draw_layout() did
This is only necessary for GtkLabel with an angle set as no other widget
rotates text.
Note that the label code does not need these adjustments as those paths
are only taken when the label is not rotated.
2010-08-10 21:02:31 +02:00
Benjamin Otte
c9d08d02e5 gdk: Remove data consructors for GdkPixmap
That is all of the gdk_pixmap/bitmap_create_from_* constructors.
2010-08-10 21:02:31 +02:00
Benjamin Otte
4f37e6833c x11: Create empty cursor without old functions
In particular, clear the bitmap manually instead of using
create_from_data.
2010-08-10 21:02:31 +02:00
Benjamin Otte
aaf70d1327 testgtk: Use Cairo to load XBM image
This should really use GdkPixbuf, but apparently we can't load XBM
images. And I'm too lazy to convert it.
2010-08-10 21:02:31 +02:00
Benjamin Otte
de285edc72 testgtk: Use Pixbufs in the shapes example 2010-08-10 21:02:31 +02:00
Benjamin Otte
2513636877 testgtk: Rename pixmap => pixbuf in various places
Now that we use Pixbufs for the tests instead of Pixmaps, we should name
the tests like that.
2010-08-10 21:02:31 +02:00
Benjamin Otte
6b19815f87 testgtk: Use pixbufs instead of pixmaps
This is for creating a GtkImage with an icon.
2010-08-10 21:02:31 +02:00
Benjamin Otte
ad571a3a5e testgtk: Make image test not use Pixmaps, but Pixbufs 2010-08-10 21:02:31 +02:00
Benjamin Otte
727122b8d6 testgtk: Fix types and get rid of casting 2010-08-10 21:02:31 +02:00
Benjamin Otte
f3c3e47db7 testdnd: Convert to use pixbufs as icons
Using Pixmaps is outdated.
2010-08-10 21:02:30 +02:00
Benjamin Otte
e98f760e9c x11: Make fallback pixbuf-cursor code not use old constructors
These bitmap constructors are about to die. The replacement is painting
with Cairo image surfaces and that's what we do here.
2010-08-10 21:02:30 +02:00
Benjamin Otte
e42033d2cc colorsel: Create cursor image using Cairo 2010-08-10 21:02:30 +02:00
Benjamin Otte
7b9e2b941c style: Don't use gdk_pixmap_create_from_xpm
Instead, do what that code did manually.
2010-08-10 21:02:30 +02:00
Kristian Høgsberg
1e706ed64f gdk: Drop Xrender configure.ac check
GTK+ no longer depends on the render extension!
2010-08-10 21:02:30 +02:00
Benjamin Otte
8868e77fa0 x11: Remove display_x11->have_render
Also remove setters and getters for the variable and the GdkTristate
enum, as it's the only place where it was used.
2010-08-10 21:02:30 +02:00
Benjamin Otte
7182a2dc19 gdk-xft: Don't call render about the subpixel order
Instead assume that the root window property is working properly. This
removes the last real Xrender call from GTK.
2010-08-10 21:02:30 +02:00
Kristian Høgsberg
c7bd2ad1c9 gdk: Remove picture pointer from X11 drawable
It's not used anymore
2010-08-10 21:02:30 +02:00
Benjamin Otte
c4f280651a gdk: Don't infinite loop when flushing moves
Spotted by Kristian Rietvield. Fixes testoffscreen test.
2010-08-10 21:02:30 +02:00
Matthias Clasen
075661d376 generic damage generation for offscreen windows
Generating damage from gdk drawing api doesn't help for cairo rendering
...and the gdk drawing api is gone anyway. Bug 621571
2010-08-10 21:02:30 +02:00
Matthias Clasen
7fd148fc59 Cleanup gdk_pixbuf_render_pixmap_and_mask_for_colormap() 2010-08-10 21:02:30 +02:00
Benjamin Otte
d0d2a6f12c API: remove gdk_colormap_query_color 2010-08-10 21:02:30 +02:00
Benjamin Otte
09fbed7bc9 style: Do not allocate colors anymore 2010-08-10 21:02:30 +02:00
Benjamin Otte
a50843e160 gtkbuilder: Do not allocate colors when parsing GtkBuilder files 2010-08-10 21:02:30 +02:00
Benjamin Otte
25fc4d97f8 textview: remove GtkTextAttributes (un)realize code
It was unused (apart from a few assertion that indeed it was unused).
2010-08-10 21:02:30 +02:00
Benjamin Otte
1308731580 gdk: Don't require allocating window background colors anymore
X!! allocates the colors itself now.
2010-08-10 21:02:30 +02:00
Kristian Rietveld
c3a59fbfcc Fix compile warnings 2010-08-10 21:02:30 +02:00
Kristian Rietveld
54ac92aaaf Add call to cairo_destroy() to gtk_text_layout_draw() 2010-08-10 21:02:29 +02:00
Kristian Rietveld
089892df27 Add missing calls to cairo_destroy() 2010-08-10 21:02:29 +02:00