]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Sat, 23 Jul 2011 02:00:34 +0000 (22:00 -0400)]
some minor doc fixes
Matthias Clasen [Sat, 23 Jul 2011 01:54:08 +0000 (21:54 -0400)]
Try to make the docs build again
After some searching, it turns out that gtk-doc now interprets
markdown, and can no longer accept '-' in the docs without making
a mess. I hope that this does not affect more places in more
subtle ways.
Matthias Clasen [Sat, 23 Jul 2011 01:53:20 +0000 (21:53 -0400)]
Drop non-existing functions
Matthias Clasen [Fri, 22 Jul 2011 23:52:54 +0000 (19:52 -0400)]
Keep building libgail-util docs for now
Benjamin Otte [Fri, 22 Jul 2011 13:50:20 +0000 (15:50 +0200)]
tests: Fix stylecontext test that we changed semantics for
We don't have different priorities for superclasses anymore.
Philip Withnall [Fri, 15 Jul 2011 16:24:01 +0000 (17:24 +0100)]
Bug 654266 — No longer possible to set empty text on a GtkProgressBar
Change the semantics of GtkProgressBar:text slightly so that it behaves as
it did before GTK+ 3.
Closes: bgo#654266
Matthias Clasen [Fri, 22 Jul 2011 22:49:44 +0000 (18:49 -0400)]
Use generic marshaler
If only to keep people from refiling the same issue over
and over again...
Matthias Clasen [Fri, 22 Jul 2011 13:17:50 +0000 (09:17 -0400)]
Updates for 3.1.10
Patrick Welche [Fri, 1 Jul 2011 18:14:48 +0000 (19:14 +0100)]
XK_Num_Lock is called GDK_KEY_Num_Lock in this source tree.
Andre Klapper [Fri, 22 Jul 2011 17:56:49 +0000 (19:56 +0200)]
Don't use deprecated G_UNICODE_COMBINING_MARK
Javier Jardón [Fri, 22 Jul 2011 12:20:50 +0000 (14:20 +0200)]
configure.ac: Bump glib required version
GTK+ depends on Glib 2.29.14 because we are using the new added
g_format_size() glib function
Benjamin Otte [Thu, 21 Jul 2011 00:41:42 +0000 (02:41 +0200)]
tests: Move declaration tests to new test infrastructure
This way, we can test more feature of them, in particular check for
different errors, which were causing test failures.
Benjamin Otte [Thu, 21 Jul 2011 00:41:10 +0000 (02:41 +0200)]
themingengine: Return NULL for nonexistant theming engines
his also makes the function conform to its documentation.
Benjamin Otte [Thu, 21 Jul 2011 00:40:34 +0000 (02:40 +0200)]
css: Don't print both border-image-repeat values when they're identical
Benjamin Otte [Thu, 21 Jul 2011 00:40:06 +0000 (02:40 +0200)]
css: Ensure that font shorthand parsing sets font name and size
Benjamin Otte [Wed, 20 Jul 2011 22:43:00 +0000 (00:43 +0200)]
styleproperty: dump image surfaces as PNG data URLs
We're not able to load that (yet?), but it's useful for producing
diffable test dumps.
Benjamin Otte [Wed, 20 Jul 2011 21:41:21 +0000 (23:41 +0200)]
reftests: Add test for border radius clamping
Andrea Cimitan [Wed, 20 Jul 2011 21:37:26 +0000 (23:37 +0200)]
roundedbox: Clamp border radius to box size
Note that clamping in rounded_box_grow() is not necessary as that
function cannot lead to overlap unless the rounded box was overlapping
previously.
https://bugzilla.gnome.org/show_bug.cgi?id=655009
Benjamin Otte [Wed, 20 Jul 2011 11:07:12 +0000 (13:07 +0200)]
tests: Remove unused file from EXTRA_DIST
Benjamin Otte [Wed, 20 Jul 2011 10:53:41 +0000 (12:53 +0200)]
themingengine: Use the default way of indicating privates
Benjamin Otte [Wed, 20 Jul 2011 10:31:44 +0000 (12:31 +0200)]
styleproperty: An unnamed engine equals the default engine
Benjamin Otte [Wed, 20 Jul 2011 10:02:00 +0000 (12:02 +0200)]
tests: Declare previously invalid CSS as valid now
The CSS is valid, it might just not work (though most of it will for
siblings).
Benjamin Otte [Wed, 20 Jul 2011 10:01:36 +0000 (12:01 +0200)]
tests: Fix whitespace between url and (
It's not allowed according to CSS (and browsers).
Benjamin Otte [Wed, 20 Jul 2011 09:59:15 +0000 (11:59 +0200)]
cssprovider: Fix names for first and last child pseudo class
The correct name is :first-child, not :first
Ryan Lortie [Wed, 20 Jul 2011 18:22:26 +0000 (20:22 +0200)]
Switch to g_format_size()
g_format_size_for_display() has been deprecated in GLib and replaced with
g_format_size(). Follow that change.
Chun-wei Fan [Wed, 20 Jul 2011 02:40:54 +0000 (10:40 +0800)]
Update Visual Studio Project Files
-Change ATK dependency back to atk-1.0.lib, and the corresponding include
folder back to atk-1.0 for all projects as ATK-2.x will still retain the
1.0 suffixes. (ATK Commit
01cec72 )
-Update corresponding description in the VS README.txt files
-Also fix up the VS2010 README.txt file a bit.
Benjamin Otte [Wed, 20 Jul 2011 00:34:02 +0000 (02:34 +0200)]
tests: Move empty css parser test to new CSS tests
Benjamin Otte [Wed, 20 Jul 2011 00:26:50 +0000 (02:26 +0200)]
tests: Move stylecontext CSS tests
Use the new CSS infrastructure for part of the old CSS tests. This way
we can probably check for warning messages such as deprecations.
Benjamin Otte [Wed, 20 Jul 2011 00:11:51 +0000 (02:11 +0200)]
cssprovider: Emit an error when parsing a binding fails
Benjamin Otte [Wed, 20 Jul 2011 00:01:34 +0000 (02:01 +0200)]
cssprovider: Get the location right for semicolon warnings
Benjamin Otte [Tue, 19 Jul 2011 23:19:59 +0000 (01:19 +0200)]
cssprovider: @import <string> is valid CSS
The parser rewrite insisted on @import url(<string>) syntax, but CSS
xplicitly allows omitting the url string.
Benjamin Otte [Tue, 19 Jul 2011 13:54:09 +0000 (15:54 +0200)]
css: Use the correct free function
Benjamin Otte [Tue, 19 Jul 2011 11:25:02 +0000 (13:25 +0200)]
notebook: Remove unused private member variable
Matej Urbančič [Tue, 19 Jul 2011 20:28:46 +0000 (22:28 +0200)]
Updated Slovenian translation
Benjamin Otte [Tue, 19 Jul 2011 10:53:06 +0000 (12:53 +0200)]
notebook: Remove the homogenous private member variable
It's unused and therefor always FALSE, so we can remove the parts of the
code that branch based on it.
Benjamin Otte [Tue, 19 Jul 2011 09:57:27 +0000 (11:57 +0200)]
reftests: Add test for recent fix
https://bugzilla.gnome.org/show_bug.cgi?id=654678
Benjamin Otte [Tue, 19 Jul 2011 09:42:31 +0000 (11:42 +0200)]
styleproperties: Add unset functions for shorthands
This fixes calls to gtk_style_properties_unset_property() for
shorthand properties.
https://bugzilla.gnome.org/show_bug.cgi?id=654678
Benjamin Otte [Tue, 19 Jul 2011 09:11:12 +0000 (11:11 +0200)]
styleproperties: Add an unset vfunc to style properties
This makes unsetting work for shorthands.
Philip Withnall [Fri, 15 Jul 2011 16:36:45 +0000 (17:36 +0100)]
progressbar: Fix a signed/unsigned comparison
Benjamin Otte [Mon, 18 Jul 2011 17:41:07 +0000 (19:41 +0200)]
a11y: Merge gtksubmenuitem into gtkmenuitem
The reason why they were separate is historic, it's not useful to keep
the distinction.
Benjamin Otte [Mon, 18 Jul 2011 17:21:17 +0000 (19:21 +0200)]
a11y: Rename checksubmenuitem to checkmenuitem
Benjamin Otte [Mon, 18 Jul 2011 17:05:28 +0000 (19:05 +0200)]
a11y: Remove gtkcheckmneuitemaccessible.[ch]
COde uses gtkchecksubmenuitemaccessible exclusively now. And I totally
dig these long finger-twisting names.
Benjamin Otte [Mon, 18 Jul 2011 16:58:15 +0000 (18:58 +0200)]
a11y: Rename radiosubmenuitem to radiomenuitem
Benjamin Otte [Mon, 18 Jul 2011 16:46:30 +0000 (18:46 +0200)]
a11y: Remove gtkradiomenuitemaccessible.[ch]
We use gtkradiosubmenuitemaccessible exclusively these days.
Benjamin Otte [Mon, 18 Jul 2011 16:18:05 +0000 (18:18 +0200)]
checkbutton: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:15:47 +0000 (18:15 +0200)]
accellabel: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:14:00 +0000 (18:14 +0200)]
menubar: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:12:06 +0000 (18:12 +0200)]
toolbar: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:11:10 +0000 (18:11 +0200)]
viewport: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:07:43 +0000 (18:07 +0200)]
tearoffmenuitem: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:02:37 +0000 (18:02 +0200)]
plug: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:58:17 +0000 (17:58 +0200)]
fontsel: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:55:30 +0000 (17:55 +0200)]
messagedialog: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:54:40 +0000 (17:54 +0200)]
dialog: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:52:24 +0000 (17:52 +0200)]
colorsel: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:50:04 +0000 (17:50 +0200)]
filechooserdialog: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:41:01 +0000 (17:41 +0200)]
widget: Reset the accessible role when a new accessible type is set
We want the role to be kept in the accessible object. Using
gtk_widget_class_set_accessible_role() is only meant as a quick
workaround to requiring subclassing of the accessibles in the quite
common case where a subclass does not change the accessible
implementation at all and only has a different role.
Benjamin Otte [Mon, 18 Jul 2011 12:23:31 +0000 (14:23 +0200)]
separatormenuitem: Use gtk_widget_class_accessible_set_role()
Benjamin Otte [Mon, 18 Jul 2011 12:23:19 +0000 (14:23 +0200)]
separator: Use gtk_widget_class_accessible_set_role()
Benjamin Otte [Mon, 18 Jul 2011 12:22:51 +0000 (14:22 +0200)]
hsv: Use gtk_widget_class_accessible_set_role()
Benjamin Otte [Mon, 18 Jul 2011 12:22:03 +0000 (14:22 +0200)]
calendar: Use gtk_widget_class_accessible_set_role()
Benjamin Otte [Mon, 18 Jul 2011 11:06:52 +0000 (13:06 +0200)]
API: Add gtk_widget_class_set_accessible_role()
Easy access to modifying the roles of subclasses, as this is a thing
that commonly changes for various subclasses.
Benjamin Otte [Mon, 18 Jul 2011 16:28:58 +0000 (18:28 +0200)]
menushell: Use GtkMenuShellAccessible as a11y object
Previously it was only used by GtkMenuBar, and that's a naming mismatch.
Benjamin Otte [Mon, 18 Jul 2011 16:05:00 +0000 (18:05 +0200)]
a11y: Remove separator menu item special case
gtkseparator.c already takes care of this case.
Benjamin Otte [Thu, 14 Jul 2011 09:36:29 +0000 (11:36 +0200)]
assistant: Use gtk_container_remove() when removing pages
Ensures that we properly emit the "remove" signal.
Matthias Clasen [Mon, 18 Jul 2011 03:17:38 +0000 (23:17 -0400)]
Don't use object data for layer
Just add a regular member in GtkWidgetAccessible for it.
Matthias Clasen [Mon, 18 Jul 2011 03:04:00 +0000 (23:04 -0400)]
Get rid of the focus_gtk vfunc
Only GtkWidgetAccessible and GtkWindowAccessible had implementations,
and they could easily be converted to focus_event handlers.
Matthias Clasen [Mon, 18 Jul 2011 03:03:34 +0000 (23:03 -0400)]
Avoid a compiler warning
Matthias Clasen [Sun, 17 Jul 2011 23:38:23 +0000 (19:38 -0400)]
Update expected test output
There was some stipple left there, still.
Matthias Clasen [Sun, 17 Jul 2011 23:37:39 +0000 (19:37 -0400)]
Don't run testfocus in 'make check'
It is not meant for that.
Matthias Clasen [Sun, 17 Jul 2011 23:35:37 +0000 (19:35 -0400)]
Make destroying assistants work again
During destruction, we need to be careful to not ask the content
notebook to remove itself from itself.
Matthias Clasen [Sun, 17 Jul 2011 22:47:19 +0000 (18:47 -0400)]
Use canonical names
Use canonical names for both signals and properties.
Matthias Clasen [Sun, 17 Jul 2011 22:45:46 +0000 (18:45 -0400)]
Don't emit a nonexisting signal
The signal is called "popdown", not "podown".
Matthias Clasen [Sun, 17 Jul 2011 22:05:17 +0000 (18:05 -0400)]
Don't return a value from a void function
Reported in bug 654720, patch by Brian Cameron.
Aurimas Černius [Sat, 16 Jul 2011 14:23:39 +0000 (17:23 +0300)]
Updated Lithuanian translation.
Aurimas Černius [Sat, 16 Jul 2011 14:09:54 +0000 (17:09 +0300)]
Updated Lithuanian translation.
Matthias Clasen [Sat, 16 Jul 2011 14:03:20 +0000 (10:03 -0400)]
Add an initial focus testbed
This is an attempt to explore differences in GTK+'s and gails
notions of which widget currently has the focus. Since gail
does all its focus updates in an idle, we cannot do the
comparisons synchronously, so just check ever so often in
a timeout.
Matthias Clasen [Sat, 16 Jul 2011 13:44:02 +0000 (09:44 -0400)]
GtkLabelAccessible: avoid extra selection-changed emissions
This copies the same code that the entry accessible uses
to check for selection changes.
https://bugzilla.gnome.org/show_bug.cgi?id=654428
Florian Müllner [Fri, 15 Jul 2011 18:45:59 +0000 (20:45 +0200)]
theming-engine: Adjust register_property() to recent glib change
GParamSpec now uses an intern'ed string for 'name', so the code
in gtk_theming_engine_register_property() which prefixes the name
with a namespace has to be adjusted.
https://bugzilla.gnome.org/show_bug.cgi?id=654695
Carlos Garnacho [Fri, 15 Jul 2011 16:33:44 +0000 (18:33 +0200)]
x11: Skip GenericEvents with no cookie data in the xi2 device manager
https://bugzilla.gnome.org/show_bug.cgi?id=653947
It could happen that a cookie event has been already allocated/freed
in an event filter, as it can't be allocated a second time, all GDK
can do is skipping the event. Spotted by Guillaume Desmottes.
Carlos Garnacho [Thu, 14 Jul 2011 15:49:44 +0000 (17:49 +0200)]
gdk/x11: Add gdk_x11_device_manager_lookup()
This function can be used to find the GdkDevice wrapping
an XInput2 device ID. For core devices, the Virtual Core
Pointer/Keyboard IDs (2/3) may be used.
Carlos Garnacho [Thu, 14 Jul 2011 15:43:59 +0000 (17:43 +0200)]
gdk/x11: Add gdk_x11_device_get_id()
This function can be used to find out the XInput2 device ID
behind a GdkDevice, mostly useful when you need to interact
with say Clutter, or raw libXi calls.
Matthias Clasen [Fri, 15 Jul 2011 15:07:38 +0000 (11:07 -0400)]
Don't use deprecated style api
gtk_widget_modify_font() has been superseded by
gtk_widget_override_font(), so use that in GtkMessageDialog.
Yaron Shahrabani [Fri, 15 Jul 2011 08:03:43 +0000 (11:03 +0300)]
Updated Hebrew translation.
Matthias Clasen [Thu, 14 Jul 2011 23:50:21 +0000 (19:50 -0400)]
Add some GtkAccessible documentation
Describe the current thinking about how to provide
3rd party accessible implementations.
Matthias Clasen [Thu, 14 Jul 2011 23:42:12 +0000 (19:42 -0400)]
Drop private GtkAccessible api
We no longer use factories anywhere.
Matthias Clasen [Thu, 14 Jul 2011 23:38:17 +0000 (19:38 -0400)]
Drop unneeded includes
We no longer use the private GtkAccessible api here.
Matthias Clasen [Thu, 14 Jul 2011 23:28:07 +0000 (19:28 -0400)]
Revert "Add a getter for the accessible type of a widget class"
This reverts commit
9a212b31205e5c2566f2fc946812609b688c19ce .
Kristian Rietveld [Thu, 14 Jul 2011 12:22:38 +0000 (14:22 +0200)]
quartz: Remove call to deprecated gdk_pointer_ungrab
John Ralls [Sun, 3 Jul 2011 23:40:03 +0000 (16:40 -0700)]
Bug 653450 - gtkfilechooser crashes when added favorite
Ensure that display is set during drag-and-drop, and that string lists'
memory is zeroed after allocation to prevent g_strfreev() from
over-running.
Chun-wei Fan [Thu, 14 Jul 2011 03:57:22 +0000 (11:57 +0800)]
Dist the VS 2008 a11y/libgail-util projects
Accidently left out this item in my last commit...
Chun-wei Fan [Thu, 14 Jul 2011 03:52:58 +0000 (11:52 +0800)]
Added VS projects for a11y and libgail-util
-Added projects to compile the a11y portion of GTK+. This is now necessary
as a11y/GAIL is now integrated into the main GTK+ library, and it must
be built before compiling/linking GTK+. This project is done like the
GDK/GTK+ projects, where the source file listings for the VS2008/2010
projects are fed into templates (.vcprojin, .vcxprojin and
.vcxproj.filtersin) during 'make dist'
-Added projects to compile the libgail-util DLL (no templates for this
as this does not have source files added/removed often)
-Added the new projects into distribution, and headers, DLLs and .LIB files
into the "install" stage
Matthias Clasen [Thu, 14 Jul 2011 02:46:13 +0000 (22:46 -0400)]
Add a getter for the accessible type of a widget class
This will be necessary to port out-of-tree a11y implementations
from the atk object factory approach to this new way of doing
things.
Federico Mena Quintero [Wed, 13 Jul 2011 21:04:54 +0000 (16:04 -0500)]
Save selection to recent-files in the asynchronous Save cases
Various paths in SAVE or CREATE_FOLDER return from ::should_respond() but
leave an asynchronous process running. This process checks some things
in the user's selection, for example, 'does the file exist, and if so
do we need to bring up an overwrite-confirmation dialog?'. When these
async processes complete *and* it is indeed time for the dialog to
be terminated (via the response-requested signal), we also need to
save the selection to the recently-used list - as ::should_respond() does
by itself in the cases when it can request a response immediately.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Mario Blättermann [Wed, 13 Jul 2011 18:25:15 +0000 (20:25 +0200)]
[l10n] Updated German translation
Mario Blättermann [Wed, 13 Jul 2011 18:14:27 +0000 (20:14 +0200)]
[l10n] Updated German translation
Chun-wei Fan [Wed, 13 Jul 2011 08:05:20 +0000 (16:05 +0800)]
Update VS 2010 property sheet
The output folder of the .def files needs to be updated as well
Chun-wei Fan [Wed, 13 Jul 2011 07:27:28 +0000 (15:27 +0800)]
Don't include unistd.h unconditionally
Piotr Drąg [Wed, 13 Jul 2011 06:46:37 +0000 (08:46 +0200)]
Updated Polish translation
Rudolfs Mazurs [Tue, 12 Jul 2011 18:15:39 +0000 (21:15 +0300)]
Updated Latvian translation.