]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Wed, 4 Aug 2010 22:43:53 +0000 (18:43 -0400)]
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
Matthias Clasen [Wed, 4 Aug 2010 14:33:01 +0000 (10:33 -0400)]
Cleanup gdk_pixbuf_render_pixmap_and_mask_for_colormap()
Benjamin Otte [Sat, 31 Jul 2010 10:47:38 +0000 (12:47 +0200)]
API: remove gdk_colormap_query_color
Benjamin Otte [Sat, 31 Jul 2010 10:24:03 +0000 (12:24 +0200)]
style: Do not allocate colors anymore
Benjamin Otte [Sat, 31 Jul 2010 10:00:45 +0000 (12:00 +0200)]
gtkbuilder: Do not allocate colors when parsing GtkBuilder files
Benjamin Otte [Sat, 31 Jul 2010 09:27:34 +0000 (11:27 +0200)]
textview: remove GtkTextAttributes (un)realize code
It was unused (apart from a few assertion that indeed it was unused).
Benjamin Otte [Sat, 31 Jul 2010 09:20:46 +0000 (11:20 +0200)]
gdk: Don't require allocating window background colors anymore
X!! allocates the colors itself now.
Kristian Rietveld [Thu, 29 Jul 2010 12:20:32 +0000 (14:20 +0200)]
Fix compile warnings
Kristian Rietveld [Thu, 29 Jul 2010 12:15:41 +0000 (14:15 +0200)]
Add call to cairo_destroy() to gtk_text_layout_draw()
Kristian Rietveld [Tue, 27 Jul 2010 15:46:51 +0000 (17:46 +0200)]
Add missing calls to cairo_destroy()
Kristian Rietveld [Sat, 24 Jul 2010 08:52:37 +0000 (10:52 +0200)]
quartz: Make backend compile again
Kristian Rietveld [Sat, 24 Jul 2010 08:52:10 +0000 (10:52 +0200)]
quartz: Fix up _gdk_quartz_window_translate
Benjamin Otte [Thu, 22 Jul 2010 01:55:27 +0000 (03:55 +0200)]
API: remove GdkGC
XXX: Some traces in the win32 code are left. I suppose they'd best be
replaced using Cairo.
Benjamin Otte [Sat, 31 Jul 2010 12:01:49 +0000 (14:01 +0200)]
calendar: Remove unused GdkGC members
Benjamin Otte [Thu, 22 Jul 2010 01:25:11 +0000 (03:25 +0200)]
API: remove begin/end_direct_draw functions
They're not needed without GdkGCs.
FIXME: This breaks the win32 XP theme. Someone gotta fix it.
Benjamin Otte [Thu, 22 Jul 2010 00:55:26 +0000 (02:55 +0200)]
API: Remove gtk_gc_get() and gtk_gc_release()
With this change, GTK does not use GdkGC anymore.
Benjamin Otte [Thu, 22 Jul 2010 00:55:12 +0000 (02:55 +0200)]
API: Remove GC members from GtkStyle
Benjamin Otte [Thu, 22 Jul 2010 00:30:08 +0000 (02:30 +0200)]
textview: Replace GdkGC * argument with gpointer
The argument is unused.
That's also the reason why we can pass NULL instead of the real GC in
the caller.
Benjamin Otte [Thu, 22 Jul 2010 00:26:05 +0000 (02:26 +0200)]
gdk: Move scratch GC handling to X11
... and implement it directly instead of using GdkGC, as GdkGC is about
to be deleted, but we need this code.
Benjamin Otte [Thu, 22 Jul 2010 00:23:54 +0000 (02:23 +0200)]
x11: Remove unused code
These are function definitions and leftover variabl;es that weren't in
use for a while.
Benjamin Otte [Wed, 21 Jul 2010 23:56:00 +0000 (01:56 +0200)]
API: remove GdkPangoRenderer
Also removes the pango attributes for stipple, emboss and emboss color
Benjamin Otte [Wed, 21 Jul 2010 23:17:01 +0000 (01:17 +0200)]
textview: Make the PangoRenderer use Cairo exclusively
No more gdkpango usage, no more GdkGC required, yay!
Benjamin Otte [Wed, 21 Jul 2010 19:13:23 +0000 (21:13 +0200)]
gdk: remove get_composite_drawable vfunc
The vfunc is not used anymore.
Benjamin Otte [Wed, 21 Jul 2010 19:02:35 +0000 (21:02 +0200)]
API: remove gdk_draw_drawable()
Benjamin Otte [Wed, 21 Jul 2010 18:45:21 +0000 (20:45 +0200)]
quartz: Do repeated fill with Cairo
Some things are so easy with Cairo...
XXX: I did not compile this, this is just proof of concept.
Benjamin Otte [Wed, 21 Jul 2010 18:37:33 +0000 (20:37 +0200)]
gdk: Make window moves a custom vfunc
The window move code needs special attention for multiple reasons:
- invalid areas for expose events need to be modified
- self-copy is not supported by Cairo
- in X11, copying from an overlapped Window might cause unexposed areas
to be copied in, spo expose events for those need to be generated.
This was all special cased in various parts of the code. By making it an
explicit vfunc, we can work around it.
Benjamin Otte [Wed, 21 Jul 2010 12:54:44 +0000 (14:54 +0200)]
API: remove gdk_draw_layout_*()
Benjamin Otte [Wed, 21 Jul 2010 12:23:22 +0000 (14:23 +0200)]
label: Draw all text using PangoCairo
This includes the addition of a "small" helper function,
_gtk_pango_fill_layout() that ignores color information. This
functionality is not available inside Pango and until that happens, we
need this fix. The bug is filed at:
https://bugzilla.gnome.org/show_bug.cgi?id=624917
Benjamin Otte [Wed, 21 Jul 2010 01:16:47 +0000 (03:16 +0200)]
API: Remove GtkTextTag's stipple properties
They seem pretty much unused and the only reason why GtkTextView uses a
GdkPangoRenderer and not a PangoCairoRenderer.
Benjamin Otte [Wed, 21 Jul 2010 01:16:29 +0000 (03:16 +0200)]
gtk-demo: Adapt textview example for stipple removal
Benjamin Otte [Tue, 20 Jul 2010 00:25:09 +0000 (02:25 +0200)]
gdk: Remove _gdk_drawable_get_scratch_gc()
The function is unused now.
Benjamin Otte [Tue, 20 Jul 2010 00:19:29 +0000 (02:19 +0200)]
gdk: Draw redirected windows using Cairo
Benjamin Otte [Tue, 20 Jul 2010 00:02:26 +0000 (02:02 +0200)]
gdk: Refactor redirection code
This will make future patches easier
Benjamin Otte [Mon, 19 Jul 2010 23:21:38 +0000 (01:21 +0200)]
gdk: Simplify code
Use new Cairo APIs to make the code simpler.
Benjamin Otte [Mon, 19 Jul 2010 22:56:46 +0000 (00:56 +0200)]
gdk: Remove excess variables
Benjamin Otte [Mon, 19 Jul 2010 21:49:09 +0000 (23:49 +0200)]
gdk: Do end_implicit_paint copy with Cairo
Benjamin Otte [Mon, 19 Jul 2010 21:31:24 +0000 (23:31 +0200)]
gdk: Implement gdk_window_get_source_drawable() using Cairo
Do we have a test case for this?
Benjamin Otte [Mon, 19 Jul 2010 11:29:47 +0000 (13:29 +0200)]
gdk: Implement end_implicit_paint() with Cairo
Benjamin Otte [Sat, 17 Jul 2010 02:50:49 +0000 (04:50 +0200)]
API: remove gdk_draw_rectangle()
Benjamin Otte [Thu, 15 Jul 2010 17:23:27 +0000 (19:23 +0200)]
style: Replace last gdk_draw_rectangle() with Cairo
Benjamin Otte [Thu, 15 Jul 2010 16:07:42 +0000 (18:07 +0200)]
API: remove gdk_draw_point(s)
Benjamin Otte [Thu, 15 Jul 2010 15:58:50 +0000 (17:58 +0200)]
API: remove gdk_draw_{line,lines,segments}
Those were the 3 intermixed line drawing calls.
Benjamin Otte [Thu, 15 Jul 2010 13:08:56 +0000 (15:08 +0200)]
testgtk: Remove image from drawable test
The test only tested old APIs.
Benjamin Otte [Wed, 14 Jul 2010 22:55:26 +0000 (00:55 +0200)]
style: replace draw_frame_gap with Cairo calls
Benjamin Otte [Wed, 14 Jul 2010 22:35:15 +0000 (00:35 +0200)]
style: Replace draw_diamond vfunc with Cairo calls
Benjamin Otte [Wed, 14 Jul 2010 21:12:48 +0000 (23:12 +0200)]
tests: remove "draw drawable" button from testwindows test
draw_drawable is gone soon. And testing the proper functioning of
drawing calls is Cairo's job anyway.
Benjamin Otte [Wed, 14 Jul 2010 17:23:45 +0000 (19:23 +0200)]
API: remove gdk_draw_polygon()
Benjamin Otte [Wed, 14 Jul 2010 17:13:59 +0000 (19:13 +0200)]
API: remove gtk_paint_polygon()
Almost noone uses it in real applications and it's broken in most theme
engines.
Benjamin Otte [Wed, 14 Jul 2010 15:59:41 +0000 (17:59 +0200)]
iconview: Remove debug drawing code
It uses APIs I'm about to deprecate.
Benjamin Otte [Wed, 14 Jul 2010 15:45:26 +0000 (17:45 +0200)]
style: apply cleanup patch from bug 576988
Ideally this patch would be split up into chunks, but the git branch it
came from doesn't exist anymore. Only this patch is left in a bug
report.
It it's adapted to use accessors and contains some fixes that were
spotted while using the patch.
https://bugzilla.gnome.org/show_bug.cgi?id=576988
Benjamin Otte [Wed, 14 Jul 2010 14:03:51 +0000 (16:03 +0200)]
API: remove gdk_draw_glyphs() and gdk_draw_glyphs_transformed()
Benjamin Otte [Wed, 14 Jul 2010 12:37:23 +0000 (14:37 +0200)]
API: remove gdk_draw_trapezoids() and GdkTrapezoid struct
Benjamin Otte [Wed, 14 Jul 2010 12:07:21 +0000 (14:07 +0200)]
API: remove gdk_draw_arc()
Benjamin Otte [Wed, 14 Jul 2010 12:01:01 +0000 (14:01 +0200)]
gdk: Remove testgdk code
The file wasn't build anyway and it's using all the APIs that are
getting removed.
Benjamin Otte [Tue, 13 Jul 2010 22:22:45 +0000 (00:22 +0200)]
API: remove GdkImage
It was unused and buggy.
Benjamin Otte [Tue, 13 Jul 2010 21:28:20 +0000 (23:28 +0200)]
API: remove gdk_drawable_copy_to_image()
Benjamin Otte [Tue, 13 Jul 2010 21:10:33 +0000 (23:10 +0200)]
API: remove gdk_drawable_get_image()
Benjamin Otte [Tue, 13 Jul 2010 20:50:25 +0000 (22:50 +0200)]
API: remove gdk_pixbuf_get_from_image()
Benjamin Otte [Tue, 13 Jul 2010 20:12:50 +0000 (22:12 +0200)]
colorsel: Use gdk_pixbuf_get_from_drawable()
Instead of fiddling with GdkImage directly.
Benjamin Otte [Tue, 13 Jul 2010 19:39:16 +0000 (21:39 +0200)]
Implement gdk_pixbuf_get_from_drawable() with Cairo
Use gdk_pixbuf_get_from_surface() instead of
gdk_pixbuf_get_from_image().
Benjamin Otte [Tue, 13 Jul 2010 17:44:41 +0000 (19:44 +0200)]
API: Add gdk_pixbuf_get_from_surface()
New API to copy any cairo surface into a pixbuf.
Benjamin Otte [Tue, 13 Jul 2010 16:22:51 +0000 (18:22 +0200)]
API: remove gdk_draw_image()
Benjamin Otte [Tue, 13 Jul 2010 15:50:41 +0000 (17:50 +0200)]
API: Get rid of GdkRGB
Benjamin Otte [Tue, 13 Jul 2010 15:49:33 +0000 (17:49 +0200)]
demos: Convert testpixbuf-save to Cairo
Benjamin Otte [Tue, 13 Jul 2010 15:11:22 +0000 (17:11 +0200)]
demos: Remove testpixbuf
Another test mainly utilizing inline pixbufs and GdkRGB, both of which
are kinda outdated.
Benjamin Otte [Tue, 13 Jul 2010 15:08:33 +0000 (17:08 +0200)]
demos: remove testpixbuf-drawable
It only tested GdkRGB, and we're about to kill that.
Benjamin Otte [Tue, 13 Jul 2010 13:54:04 +0000 (15:54 +0200)]
testgtk: Remove alpha drawing test
We use Cairo for that these days.
Benjamin Otte [Tue, 13 Jul 2010 13:52:56 +0000 (15:52 +0200)]
Replace gdk_rgb_find_color()
Use gdk_colormap_alloc_color() instead.
Benjamin Otte [Tue, 13 Jul 2010 00:53:51 +0000 (02:53 +0200)]
debug: remove GdkRGB debuggability
GdkRGB is on its way out, so there's no need to have a debugging
category for it.
Benjamin Otte [Tue, 13 Jul 2010 00:48:08 +0000 (02:48 +0200)]
gdk: Remove unused gdkrgb.h includes
Benjamin Otte [Tue, 13 Jul 2010 00:40:12 +0000 (02:40 +0200)]
API: remove gdk_screen_get_rgb_colormap/visual()
People want to use gdk_screen_get_default_colormap/visual().
Also, GdkRGB is about to die.
Benjamin Otte [Tue, 13 Jul 2010 00:25:41 +0000 (02:25 +0200)]
tests: remove testrgb test
This is in preparation for the GdkRGB removal
Benjamin Otte [Mon, 12 Jul 2010 15:34:19 +0000 (17:34 +0200)]
image: remove GdkImage as a possible image type
GdkImage is about to be deprecated.
Benjamin Otte [Mon, 12 Jul 2010 14:50:00 +0000 (16:50 +0200)]
API: Remove gdk_draw_pixbuf()
Kristian Rietveld [Sun, 8 Aug 2010 16:02:35 +0000 (18:02 +0200)]
Add missing cairo_destroy() call
Benjamin Otte [Tue, 10 Aug 2010 18:52:58 +0000 (20:52 +0200)]
docs: Add sgml goo for new notebook APIs
Benjamin Otte [Tue, 10 Aug 2010 18:52:36 +0000 (20:52 +0200)]
docs: Add sgml goo for new GtkExpander APIs
Benjamin Otte [Tue, 10 Aug 2010 18:51:58 +0000 (20:51 +0200)]
docs: Add sgml goo for gdk_display_is_closed()
Benjamin Otte [Tue, 10 Aug 2010 18:50:48 +0000 (20:50 +0200)]
filechooser: Remove unused functions.
The last user is gone since
3a1ba3bd1ed261c8ea964f1dfcdfd29acbc477f8
Matthias Clasen [Tue, 10 Aug 2010 17:42:17 +0000 (13:42 -0400)]
Don't activate insensitive widgets
This was reported by Christian Becke in bug 626052.
Federico Mena Quintero [Tue, 10 Aug 2010 16:36:03 +0000 (11:36 -0500)]
bgo#625416 - Don't reload the filechooser's folder during a re-map event
Long ago, before we had file monitoring at the GIO/Glib level, we would
reload the current folder each time a file chooser gets (re)mapped.
This was basically to let the GIMP recycle the same file chooser for all
file/open or file/save operations, instead of creating a new one every time.
In that case, we reloaded the folder with each ::map() event so that the
file chooser would present an up-to-date view of the folder that was being
displayed. Now, the folder should always be up-to-date as we do
file monitoring all the time.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Matthias Clasen [Tue, 10 Aug 2010 11:30:21 +0000 (07:30 -0400)]
Allow to unset the tree selection function
This is not causing problems, and seems natural. Bug 626276.
Yaron Shahrabani [Tue, 10 Aug 2010 08:35:59 +0000 (11:35 +0300)]
Updated Hebrew translation.
Yaron Shahrabani [Tue, 10 Aug 2010 08:33:34 +0000 (11:33 +0300)]
Updated Hebrew translation.
Yaron Shahrabani [Tue, 10 Aug 2010 08:31:22 +0000 (11:31 +0300)]
Updated Hebrew translation.
Philip Withnall [Tue, 10 Aug 2010 08:23:49 +0000 (09:23 +0100)]
Bug 596125 — Property string fixes
Matthias Clasen [Tue, 10 Aug 2010 04:31:46 +0000 (00:31 -0400)]
Fix a sporadic segfault in treeview keynav
If a a treeview has frequent periodic additions and removals of
rows, it is possible that a page down keypress moves the cursor
out of the height of the treeview. In some of these cases, we
can be tricked into dereferencing a NULL pointer.
Bug 612919.
Gabor Kelemen [Tue, 10 Aug 2010 04:11:40 +0000 (00:11 -0400)]
Set translation domain for parameter_string in gtk_init_with_args
This was requested in bug 554926.
Emmanuele Bassi [Tue, 10 Aug 2010 04:00:15 +0000 (00:00 -0400)]
about: Add :license-type property
The :license-type property of GtkAboutDialog allows using a symbolic
enumeration value that will construct a placeholder license preamble
linking to a specific URL. This allows localization of the licensing
text without using a translation of the actual license, since it would
not be valid.
Bug 336225.
Matthias Clasen [Tue, 10 Aug 2010 03:08:39 +0000 (23:08 -0400)]
Make it possible to make the expander label fill the entire space
This adds a boolean GtkExpander::label-fill property and uses it
when allocating space to the label. Based on a patch by Matt Barnes,
bug 614049.
Matthias Clasen [Tue, 10 Aug 2010 02:22:03 +0000 (22:22 -0400)]
Fix gail_notebook_get_selection_count()
This function should return 0 for empty notebooks. Based on
a patch by Mike Gorse, bug 557263.
Javier Jardón [Thu, 20 May 2010 00:39:45 +0000 (02:39 +0200)]
gtkaccellabel: Remove unused class members
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=97414
Matthias Clasen [Tue, 10 Aug 2010 01:39:20 +0000 (21:39 -0400)]
Clarify the docs for gtk_widget_set_has_window()
The previous version of the docs did not make it clear that has-window
is the defaults. Pointed out by Magnus Hjorth, bug 615474.
Christian Dywan [Tue, 10 Aug 2010 01:35:26 +0000 (21:35 -0400)]
Clarify memory management of tree models
It helps to be explicit about these things.
Bug 609264.
Hiroyuki Ikezoe [Tue, 10 Aug 2010 01:31:25 +0000 (21:31 -0400)]
Drop xim-related configure options from the docs
These options have been dropped from configure a while ago,
so they should no longer be in the docs either. Bug 605190.
Sam Thursfield [Tue, 10 Aug 2010 01:20:07 +0000 (21:20 -0400)]
Add missing accessors for notebook details
The ms-windows theme engine needs to access the tab-{h,v}border,
so add accessors. Bug 625655.
Sam Thursfield [Tue, 10 Aug 2010 01:17:37 +0000 (21:17 -0400)]
Towards GSEAL-clean build on win32
Use accessors instead of direct member access in a few places.
Bug 625655.
Szilárd Pfeiffer [Tue, 10 Aug 2010 01:12:46 +0000 (21:12 -0400)]
Implement GailAdjustment::get_minimium_increment
...and use it in GailRange and GailSpinButton. Bug 625953.
Szilárd Pfeiffer [Tue, 10 Aug 2010 01:09:30 +0000 (21:09 -0400)]
Make Gail work with custom treemodels
Gail did set the role to ATK_ROLE_TABLE for anything that is
not a GtkTreeStore. The propery way to do this is to look at the
tree model flags for list-onlyness. Bug 580291.
Javier Jardón [Mon, 9 Aug 2010 11:21:24 +0000 (13:21 +0200)]
Revert "Added UG translation"
ug.po is not in po-properties directory
This reverts commit
623c6239acfaafbabfe091d15904663396cb8b75 .