]>
Pileus Git - ~andy/gtk/log
Benjamin Otte [Sat, 14 Aug 2010 04:46:25 +0000 (06:46 +0200)]
API: Remove shape_combine_mask functions from gdk
This removes gdk_window_shape_combine_mask() and
gdk_window_input_shape_combine_mask(). GdkBitmap is going away and a
replacement exists via the combine_region() functions and
gdk_cairo_region_create_from_surface().
Benjamin Otte [Sat, 14 Aug 2010 04:38:11 +0000 (06:38 +0200)]
widget: shape_combine_mask => shape_cobine_region
Replace gtk_widget_shape_combine_region() with
gtk_widget_shape_combine_mask() and
gtk_widget_input_shape_combine_region() with
gtk_widget_input_shape_combine_mask().
As GdkBitmap is going away, and the region equivalents already exist,
this seems like pretty much the default step to take.
Includes code to fix up the users.
Benjamin Otte [Sat, 14 Aug 2010 03:37:24 +0000 (05:37 +0200)]
treeview: Port to gdk_window_shape_combine_region()
gdk_window_shape_combine_mask() is going away. It's using a GdkPixmap
and falls back to gdk_window_shape_combine_region() anyway.
Benjamin Otte [Sat, 14 Aug 2010 02:40:52 +0000 (04:40 +0200)]
API: Add gdk_cairo_region_create_from_surface()
The function converts the given surface into an alpha bitmap mask. This
is mostly useful for setting shape regions.
Also adds a new internal function _gdk_cairo_surface_extents() that
computes a surface's extents.
Benjamin Otte [Thu, 12 Aug 2010 13:43:23 +0000 (15:43 +0200)]
API: Remove gdk_cursor_new_from_pixmap()
gdk_cursor_new_from_pixbuf() is the proper replacement.
Benjamin Otte [Thu, 12 Aug 2010 13:28:16 +0000 (15:28 +0200)]
colorsel: Use gdk_cursor_new_from_pixbuf() to create the cursor
gdk_cursor_new_from_pixmap() is about to die.
Benjamin Otte [Thu, 12 Aug 2010 02:48:06 +0000 (04:48 +0200)]
API: remove gdk_window_set_icon()
gdk_window_set_icon_list() now does everything gdk_window_set_icon()
used to do.
Benjamin Otte [Thu, 12 Aug 2010 02:39:28 +0000 (04:39 +0200)]
testgtk: Convert WM hints example to use gdk_window_set_icon_list()
gdk_window_set_icon() is about to go away.
Also removes the circles.xbm file and uses the oncluded openfile logo
instead.
Benjamin Otte [Thu, 12 Aug 2010 02:33:16 +0000 (04:33 +0200)]
window: Remove call to gdk_window_set_icon()
Also remove all the functions taking care of it. This is now handled by
the X11 backend directly. And the other backends ignored this function
anyway.
Benjamin Otte [Thu, 12 Aug 2010 02:29:10 +0000 (04:29 +0200)]
x11: remove icon_window property, it's not used anymore
Benjamin Otte [Thu, 12 Aug 2010 02:21:49 +0000 (04:21 +0200)]
x11: Set icon based on icon list
Basically copies the code for setting the WM icon hint from GtkWindow to
GdkWindow. This achieves the following:
- Putting this X11 specific code into the X11 backend
- Enables removal of gdk_window_set_icon()
- Gets rid of Pixmap/Bitmap usage outside of GDK.
Benjamin Otte [Tue, 17 Aug 2010 03:15:31 +0000 (05:15 +0200)]
pixbuf-engine: remove unused theme_pixbuf_render_no_cairo()
Benjamin Otte [Mon, 16 Aug 2010 13:09:50 +0000 (15:09 +0200)]
style: Convert draw_spinner vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:13:26 +0000 (15:13 +0200)]
style: Convert draw_resize_grip vfunc to Cairo version
Includes removal of now unused draw_simple_image_no_cairo() function
from pixbuf engine.
Benjamin Otte [Mon, 16 Aug 2010 13:21:01 +0000 (15:21 +0200)]
style: Convert draw_layout vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:26:19 +0000 (15:26 +0200)]
style: Convert draw_expander vfunc to Cairo version
Benjamin Otte [Tue, 17 Aug 2010 01:26:20 +0000 (03:26 +0200)]
style: Convert draw_handle vfunc to Cairo version
Benjamin Otte [Tue, 17 Aug 2010 00:46:46 +0000 (02:46 +0200)]
style: Convert draw_slider vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:24:46 +0000 (22:24 +0200)]
style: Convert draw_focus vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:19:56 +0000 (22:19 +0200)]
style: Convert draw_extension vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:15:43 +0000 (22:15 +0200)]
style: Convert draw_box_gap vfunc to Cairo version
Includes removal of now unused draw_gap_image_no_cairo() function from
pixbuf theme engine.
Benjamin Otte [Mon, 16 Aug 2010 14:09:11 +0000 (16:09 +0200)]
style: Convert draw_shadow_gap vfunc to a Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:10:00 +0000 (22:10 +0200)]
style: Convert draw_tab vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 19:58:15 +0000 (21:58 +0200)]
style: Convert draw_option vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 19:55:02 +0000 (21:55 +0200)]
style: Convert draw_check vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 19:50:08 +0000 (21:50 +0200)]
style: Convert draw_flat_box vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:48:06 +0000 (15:48 +0200)]
style: Convert draw_shadow vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:40:03 +0000 (15:40 +0200)]
style: Convert draw_vline vfunc to a Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:35:58 +0000 (15:35 +0200)]
style: Convert draw_hline vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 19:36:49 +0000 (21:36 +0200)]
API: change gtk_style_apply_default_background()
It now takes a cr to apply the default background to. And it no longer
takes a set_bg parameter
Benjamin Otte [Tue, 17 Aug 2010 02:47:02 +0000 (04:47 +0200)]
pixbuf-engine: Add Cairo version for draw_gap_image()
Benjamin Otte [Tue, 17 Aug 2010 02:43:11 +0000 (04:43 +0200)]
pixbuf-engine: Add Cairo version for draw_simple_image()
Benjamin Otte [Tue, 17 Aug 2010 02:37:03 +0000 (04:37 +0200)]
pixbuf-engine: Make theme_pixbuf_render take a cairo_t
This is in preparation for the theme engine switch to Cairo. We keep the
old function around so that we can step-by-step upgrade all the vfuncs.
Benjamin Otte [Tue, 17 Aug 2010 02:30:10 +0000 (04:30 +0200)]
pixbuf-engine: Get rid of unused mask argument
Benjamin Otte [Sun, 26 Sep 2010 13:02:00 +0000 (15:02 +0200)]
notebook: Fix compilation warnings
A quark is not a pointer.
Benjamin Otte [Sun, 26 Sep 2010 13:01:52 +0000 (15:01 +0200)]
menu: Remove unused variable
Matthias Clasen [Sat, 25 Sep 2010 15:18:28 +0000 (11:18 -0400)]
GtkScrolledWindow: document changed default policy
Matthias Clasen [Sat, 25 Sep 2010 03:03:51 +0000 (23:03 -0400)]
Nuke the 'Types' section from the docs
Matthias Clasen [Sat, 25 Sep 2010 02:16:53 +0000 (22:16 -0400)]
Remove mention of input dialog from the docs
Matthias Clasen [Sat, 25 Sep 2010 02:13:42 +0000 (22:13 -0400)]
GtkOffscreenWindow: shorten doc title
Matthias Clasen [Sat, 25 Sep 2010 01:52:58 +0000 (21:52 -0400)]
GtkScale: Remove links from doc section title
Matthias Clasen [Fri, 24 Sep 2010 17:52:49 +0000 (13:52 -0400)]
GtkMenu: Add a destroy notify to gtk_menu_popup_for_device
This is necessary so language bindings can use gtk_menu_popup_for_device()
as a 'full' variant of gtk_menu_popup().
http://bugzilla.gnome.org/show_bug.cgi?id=623664
Matthias Clasen [Fri, 24 Sep 2010 17:41:29 +0000 (13:41 -0400)]
Update docs of GtkAboutDialog and GtkLinkButton
Remove references to global hooks from the docs. Also move remaining
docs inline, and remove the templates.
Matthias Clasen [Fri, 24 Sep 2010 17:23:47 +0000 (13:23 -0400)]
DND: don't use uninitialized memory
The dest_x/y members of GtkDragDestInfo were not initialized.
At the same time, switch some of the small temporary structs
to g_slice allocation.
https://bugzilla.gnome.org/show_bug.cgi?id=630532
Matthias Clasen [Fri, 24 Sep 2010 16:42:34 +0000 (12:42 -0400)]
GtkAboutDialog: correct a since tag
Christian Dywan [Fri, 24 Sep 2010 16:40:12 +0000 (18:40 +0200)]
gtkeditable: move documentation to inline comments
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=617316
Florian Müllner [Fri, 24 Sep 2010 16:03:25 +0000 (18:03 +0200)]
introspection: Fix typo in annotation
Tomeu Vizoso [Fri, 24 Sep 2010 14:30:07 +0000 (16:30 +0200)]
Don't try to unref event->dnd.context unconditionally.
As it's not set in gdk_event_new but eventually later.
https://bugzilla.gnome.org/show_bug.cgi?id=630520
Matthias Clasen [Fri, 24 Sep 2010 16:02:37 +0000 (12:02 -0400)]
GtkAboutDialog: escape mail addresses
This got lost when converting to the ::activate-link signal.
Matthias Clasen [Fri, 24 Sep 2010 15:53:20 +0000 (11:53 -0400)]
Remove gtk_notebook_set_window_creation_hook in testnotebookdnd.c
Matthias Clasen [Fri, 24 Sep 2010 15:31:23 +0000 (11:31 -0400)]
Another since tag
Matthias Clasen [Fri, 24 Sep 2010 15:29:17 +0000 (11:29 -0400)]
Correct since tags
Matthias Clasen [Fri, 24 Sep 2010 15:13:30 +0000 (11:13 -0400)]
GtkNotebook: replace group by group_name
Dealing with bare pointers is problematic for language bindings,
using interned strings is much more straightforward and more than
good enough for what is needed here.
http://bugzilla.gnome.org/show_bug.cgi?id=630521
Matthias Clasen [Fri, 24 Sep 2010 15:10:51 +0000 (11:10 -0400)]
GtkNotebook: remove gtk_notebook_set_window_creation_hook
http://bugzilla.gnome.org/show_bug.cgi?id=630521
Matthias Clasen [Fri, 24 Sep 2010 02:26:07 +0000 (22:26 -0400)]
docs: Add a CODING-STYLE document
This document mostly codifies the existing GTK+ coding style
conventions; it is strongly based on the clutter document of
the same name.
Matthias Clasen [Fri, 24 Sep 2010 02:19:35 +0000 (22:19 -0400)]
docs: remove defsformat.txt
We should not ship documentation for file formats we are no longer
using.
Matthias Clasen [Fri, 24 Sep 2010 02:18:24 +0000 (22:18 -0400)]
docs: remove gtk-config.txt
Considering that gtk-config has been obsoleted by pkg-config
a decade ago, we should stop shipping docs for it...
Matthias Clasen [Thu, 23 Sep 2010 20:46:58 +0000 (16:46 -0400)]
Bump gobject-introspection dep in INSTALL.in
Johan Dahlin [Thu, 23 Sep 2010 20:56:48 +0000 (17:56 -0300)]
Fix a couple of broken annotations
Matthias Clasen [Thu, 23 Sep 2010 17:16:54 +0000 (13:16 -0400)]
Fix the annotation of gtk_tree_view_create_row_drag_icon
Matthias Clasen [Thu, 23 Sep 2010 17:09:21 +0000 (13:09 -0400)]
fix a typo in the gtk_widget_render_icon annotations
Takayuki KUSANO [Thu, 23 Sep 2010 17:16:55 +0000 (02:16 +0900)]
Updated Japanese translation
Javier Jardón [Thu, 23 Sep 2010 15:22:13 +0000 (17:22 +0200)]
INSTALL.in: Automate the versions of the dependencies
Kenneth Nielsen [Wed, 22 Sep 2010 20:58:04 +0000 (22:58 +0200)]
Updated Danish translation
Tristan Van Berkom [Wed, 22 Sep 2010 07:03:37 +0000 (16:03 +0900)]
Fixed GtkWrapBox base requests for ALIGNED and FREE mode
Problems were; in FREE mode there was a simple typo where we were
repeatedly checking the size of the same item in get_largest_line_length(),
and in ALIGNED mode we were assuming something like HOMOGENEOUS which
was incorrect; added get_largest_aligned_line_length() which properly
adds up the collective max sizes of every index in the line.
Tristan Van Berkom [Wed, 22 Sep 2010 04:57:35 +0000 (13:57 +0900)]
Fixed gtk_distribute_natural_allocation() to place the g_newa *after* g_return_if_fail() guards.
Matthias Clasen [Wed, 22 Sep 2010 01:55:05 +0000 (21:55 -0400)]
Remove url hooks from GtkAboutDialog and GtkLinkButton
With gtk_show_uri, global configurability of link activation has
moved to GIO/gvfs. For local overrides, GtkLinkButton has the ::clicked
signal, and GtkAboutDialog gets an ::activate-link signal.
Bug 339745
Tristan Van Berkom [Wed, 22 Sep 2010 03:48:37 +0000 (12:48 +0900)]
Fixed GtkViewport to set adjustments properly for width-for-height widgets
Make GtkViewport calculate widget-for-height as well as height-for-width
cases when setting the scroll adjustment values, also base the scrolling
on the minimum size instead of the natural size in the interest of showing
as much content as possible when the viewport is smaller than the natural
size.
Javier Jardón [Wed, 22 Sep 2010 02:28:53 +0000 (04:28 +0200)]
Do not disable GDK deprecation guards
Javier Jardón [Wed, 22 Sep 2010 02:20:11 +0000 (04:20 +0200)]
Do not disable deprecation guards
Javier Jardón [Wed, 22 Sep 2010 01:53:23 +0000 (03:53 +0200)]
Add deprecation guards for gdk_device_get_core_pointer()
Javier Jardón [Mon, 13 Sep 2010 00:50:45 +0000 (02:50 +0200)]
Do not use deprecated gdk_display_get_core_pointer()
Use gdk_device_manager_get_client_pointer() instead
Matthias Clasen [Wed, 22 Sep 2010 01:10:15 +0000 (21:10 -0400)]
Fix an off-by-one error in serial range handling
trap->end_sequence is the first serial for which we don't
ignore errors anymore, so we know the trap is dead if
end_sequence <= processed_serial.
Bug 629608
Matthias Clasen [Wed, 22 Sep 2010 00:14:46 +0000 (20:14 -0400)]
GtkScrolledWindow: change default policy to 'automatic'
This change was proposed in bug 468672.
Cody Russell [Tue, 21 Sep 2010 21:19:10 +0000 (16:19 -0500)]
Merge branch 'notebooks-without-mouse-scrolling'
Cody Russell [Tue, 21 Sep 2010 21:18:22 +0000 (16:18 -0500)]
Remove mouse scrolling from GtkNotebook tabs. Bug #630226.
Matthias Clasen [Tue, 21 Sep 2010 16:45:51 +0000 (12:45 -0400)]
autogen.sh: run gtkdocize before aclocal
Tristan Van Berkom [Tue, 21 Sep 2010 09:31:02 +0000 (18:31 +0900)]
Split up GtkWrapBox:spreading property into two orientation specific properties.
Now GtkWrapBox has "horizontal-spreading" and "vertical-spreading" options,
before GtkWrapBox never spread out children across the opposing orientation
(i.e. it never grew "lines" larger then their natural width, they would
act as if set to GTK_WRAP_BOX_SPREAD_START, now they are completely configurable).
Michael Natterer [Tue, 21 Sep 2010 10:35:37 +0000 (12:35 +0200)]
configure.ac: remove check for sigsetjmp(), it belonged to gdk-pixbuf
Owen W. Taylor [Tue, 21 Sep 2010 04:30:46 +0000 (00:30 -0400)]
Use g_warning() for X errors and X IO errors
Currently fprintf(stderr, ...) is used for X error and X IO errors
(unless compiled with debugging, in which case g_error() is used for
X errors.)
But if an application is redirecting log messages, we really want
X errors to appear in that same log, so it's better to use a g_logv()
variant.
Though g_warning() isn't really appropriate for "lost connection to the
server", G_LOG_LEVEL_INFO isn't part of the "prefixed log levels"
so will produce output without the application name and PID.
https://bugzilla.gnome.org/show_bug.cgi?id=630216
Matthias Clasen [Tue, 21 Sep 2010 04:18:11 +0000 (00:18 -0400)]
Tons of transfer annotations
Tristan Van Berkom [Tue, 21 Sep 2010 03:52:49 +0000 (12:52 +0900)]
Reduced overall SizeRequestCache size
This patch changes the 'age' counting previous approach taken
verbatim from clutter and changes it for a counter of validated
caches and an index to the last cached value which we use to
round-robin through the cache if ever a widget is requested
for more than 3 contextual sizes (cache is reduced by 3 * sizeof (int)
per widget private data).
Johan Dahlin [Tue, 21 Sep 2010 02:45:01 +0000 (23:45 -0300)]
Add a couple of missing transfer annotations
Johan Dahlin [Tue, 21 Sep 2010 02:39:56 +0000 (23:39 -0300)]
Fixup gtk-doc comment syntax
Matthias Clasen [Mon, 20 Sep 2010 20:38:48 +0000 (16:38 -0400)]
More error trap cleanups
Remove syncs in front of gdk_error_trap_pop() calls, and convert
gdk_error_trap_pop() calls to gdk_error_trap_pop_ignored() in gdk.
Owen W. Taylor [Mon, 20 Sep 2010 20:12:11 +0000 (16:12 -0400)]
Only store error codes in inner-most X error trap
When an error occurs with nested traps in place, only the innermost
trap should have the error code stored in it; outer traps are
shielded by the inner trap.
https://bugzilla.gnome.org/show_bug.cgi?id=629608
Aron Xu [Mon, 20 Sep 2010 20:16:29 +0000 (20:16 +0000)]
Add a ug.po for po-properties, re-enable ug in LINGUAS.
Emmanuele Bassi [Mon, 20 Sep 2010 12:51:38 +0000 (13:51 +0100)]
po: Disable ug localization
The ug.po file is missing from the po-properties directory and it's
breaking the build.
Takayuki KUSANO [Mon, 20 Sep 2010 09:50:58 +0000 (18:50 +0900)]
Updated Japanese translation
Sweta Kothari [Mon, 20 Sep 2010 07:20:44 +0000 (12:50 +0530)]
Updated Gujarati Translations
Aron Xu [Mon, 20 Sep 2010 05:17:10 +0000 (05:17 +0000)]
Add ug to LINGUAS.
Matthias Clasen [Mon, 20 Sep 2010 02:42:19 +0000 (22:42 -0400)]
Add new error trap api to gdk.symbols and gdk3-sections.txt
Javier Jardón [Sun, 19 Sep 2010 15:46:13 +0000 (17:46 +0200)]
Add deprecation guards for gtk_cell_renderer_get_size()
Kenneth Nielsen [Sun, 19 Sep 2010 15:40:56 +0000 (17:40 +0200)]
Updated Danish translation
Wouter Bolsterlee [Sun, 19 Sep 2010 14:39:54 +0000 (16:39 +0200)]
Updated Dutch translation by Vincent van Adrighem
Matthias Clasen [Sun, 19 Sep 2010 05:58:46 +0000 (01:58 -0400)]
Fix a few dubious return values in return_if_fail calls
These were pointed out in bug 623958.
Matthias Clasen [Sun, 19 Sep 2010 05:15:17 +0000 (01:15 -0400)]
Add a rename-to annotation for gtk_tree_path_get_indices_with_depth
https://bugzilla.gnome.org/show_bug.cgi?id=621590
Matthias Clasen [Sun, 19 Sep 2010 05:01:09 +0000 (01:01 -0400)]
Point to the new GtkWidget align and margin properties
Matthias Clasen [Sun, 19 Sep 2010 04:54:50 +0000 (00:54 -0400)]
Another fix for the initial focus heuristic
We were trying to avoid selecting a label initially, but the code
was sometimes leaving labels selected when the focus eventually
ended up on a button instead.
Matthias Clasen [Sun, 19 Sep 2010 04:22:37 +0000 (00:22 -0400)]
Fix an annotation