]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Sat, 9 Jul 2011 23:19:38 +0000 (19:19 -0400)]
Convert GailRendererCell to GtkRendererCellAccessible
Matthias Clasen [Sat, 9 Jul 2011 23:02:42 +0000 (19:02 -0400)]
Convert GailBooleanCell to GtkBooleanCellAccessible
Including assorted cleanups and _-prefixing of exported API.
Matthias Clasen [Sat, 9 Jul 2011 22:51:27 +0000 (18:51 -0400)]
Convert GailContainerCell to GtkContainerCellAccessible
Including assorted cleanups and _-prefixing of exported API.
Matthias Clasen [Sat, 9 Jul 2011 22:30:59 +0000 (18:30 -0400)]
Convert GailCell to GtkCellAccessible
Including _-prefixing the API to reduce unwanted exports.
Matthew Barnes [Sat, 9 Jul 2011 18:48:04 +0000 (14:48 -0400)]
GtkAssistant doesn't notice destroyed pages
Listen for GtkContainer::remove signals from the internal notebook.
https://bugzilla.gnome.org/show_bug.cgi?id=653705
Matthias Clasen [Sat, 9 Jul 2011 20:43:39 +0000 (16:43 -0400)]
Drop a few more unwanted exports
Remaining now are just cell accessibles.
Matthias Clasen [Sat, 9 Jul 2011 20:32:40 +0000 (16:32 -0400)]
Reduce the number of unwanted exports
_-prefix most of the get_type functions in a11y/.
There are still some more symbols left.
Matthias Clasen [Sat, 9 Jul 2011 20:04:45 +0000 (16:04 -0400)]
Another forgotten static
Matthias Clasen [Sat, 9 Jul 2011 20:04:13 +0000 (16:04 -0400)]
Another forgotten static
Matthias Clasen [Sat, 9 Jul 2011 03:43:31 +0000 (23:43 -0400)]
Add a forgotten static
Matthias Clasen [Sat, 9 Jul 2011 03:42:01 +0000 (23:42 -0400)]
Drop the fake GailUtil subclass
Since it is not a subclass at all. Instead, just have a function
that overrides the vfuncs in AtkUtilClass.
Benjamin Otte [Sat, 9 Jul 2011 19:24:41 +0000 (21:24 +0200)]
filechooser: Fix set-but-not-used warning from gcc
Benjamin Otte [Sat, 9 Jul 2011 19:20:39 +0000 (21:20 +0200)]
a11y: Fix warnings when removing widgets that don't have accessibles
The remove handler would not check that removed widgets do indeed have
an accessible associated with them and would happily run all the removal
code with a NULL object. Not good.
Ignacio Casal Quinteiro [Sat, 9 Jul 2011 10:53:34 +0000 (12:53 +0200)]
gtkaccelmap: the data gtk_accel_map_foreach needs to be annotated as allow-none
Matthias Clasen [Sat, 9 Jul 2011 03:21:53 +0000 (23:21 -0400)]
Add a test for AtkUtil functions
This test revealed the horrors commented on in the previous
commit.
Matthias Clasen [Sat, 9 Jul 2011 03:20:06 +0000 (23:20 -0400)]
This is more horrible than I had realized
Due to tragic misunderstandings at the birth of ATK, AtkUtil
can't actually be properly derived. Instead, each implementation
has to poke its vfuncs directly into the AtkUtilClass struct.
So painful to have shipped this stuff for 10 years...
Matthias Clasen [Sat, 9 Jul 2011 03:05:51 +0000 (23:05 -0400)]
Clean up gailutil.c a bit
Matthias Clasen [Sat, 9 Jul 2011 02:52:03 +0000 (22:52 -0400)]
Separate GailUtil and GailMisc
Not sure how these ended up as siamese twins in the same
source file. Of course, separating them doesn't make them
any more beautiful.
Matthias Clasen [Sat, 9 Jul 2011 02:39:00 +0000 (22:39 -0400)]
Convert GailToplevel to GtkToplevelAccessible
Matthias Clasen [Sat, 9 Jul 2011 02:03:13 +0000 (22:03 -0400)]
Drop remaining uses of gail_misc api
Fold them into their last remaining user, in gailtextcell.c
Matthias Clasen [Sat, 9 Jul 2011 00:12:45 +0000 (20:12 -0400)]
Drop now unused gail_misc API
Matthias Clasen [Fri, 8 Jul 2011 22:38:05 +0000 (18:38 -0400)]
Drop gailtextutil from gtk/a11y
The last user was GailTextCell, and that can use gtk_pango
api instead.
Matthias Clasen [Fri, 8 Jul 2011 20:59:30 +0000 (16:59 -0400)]
No longer need to strip the decorations when generating gtk.def, either
Matthias Clasen [Fri, 8 Jul 2011 20:55:39 +0000 (16:55 -0400)]
gtk.symbols: remove remaining G_GNUC_ decorations
These are no longer used for anything
Juan Pablo Ugarte [Fri, 8 Jul 2011 22:14:41 +0000 (19:14 -0300)]
Fixed bug #654125 "gdkoffscreenwindow set any impl handlers to null but adhoc gdk_window_set_* do not cope"
Matthias Clasen [Fri, 8 Jul 2011 20:37:07 +0000 (16:37 -0400)]
We're no longer a module
And we don't support not loading the module anymore, either.
So take out the code that looks at environment variables for
that purpose, and don't print a misleading message about
module loading.
Matthias Clasen [Fri, 8 Jul 2011 20:31:48 +0000 (16:31 -0400)]
gail_misc_add_attribute no longer used outside gailmisc.c
This reduces the number of unwanted exported gail symbols
from 90 to 89. Still some way to go...
Federico Mena Quintero [Fri, 8 Jul 2011 16:43:32 +0000 (11:43 -0500)]
Merge bgo593793-filechooser-recent-folders-master branch.
The file chooser now starts up in recent-files mode, or in recent-folders mode,
if the caller didn't set a current_folder on it. Setting a current_folder is
now discouraged, so that the file chooser can have a chance of presenting
useful locations to the user.
See https://live.gnome.org/DocumentCentricGnome/Help%20the%20user%20choose%20a%20place%20to%20put%20a%20new%20file
for the rationale behind these changes.
Cosimo Cecchi [Thu, 7 Jul 2011 17:25:24 +0000 (13:25 -0400)]
iconview: make it possible for selected cells to render a border
Call gtk_render_frame() after gtk_render_background() there.
https://bugzilla.gnome.org/show_bug.cgi?id=654179
Johan Dahlin [Thu, 7 Jul 2011 18:39:28 +0000 (15:39 -0300)]
Clarify that gtk_builder_connect_signals can only be connected once
Abduxukur Abdurixit [Thu, 7 Jul 2011 15:06:54 +0000 (17:06 +0200)]
Added UG translation
Javier Jardón [Thu, 7 Jul 2011 12:49:26 +0000 (13:49 +0100)]
tests/a11y/Makefile.am: Use AM_CPPFLAGS instead deprecated INCLUDES
Javier Jardón [Thu, 7 Jul 2011 12:47:59 +0000 (13:47 +0100)]
Revert "asd"
Not appropriate commit message
This reverts commit
f02812c0d65ca6c0dc6e6bb845d6be11714f4af6 .
Javier Jardón [Thu, 7 Jul 2011 12:47:41 +0000 (13:47 +0100)]
Revert "docs: fix building for libgail-util"
libgail-util is going away
This reverts commit
13db79db63ba21a74055e6d83243cd070a4d7665 .
Rico Tzschichholz [Thu, 7 Jul 2011 07:05:19 +0000 (09:05 +0200)]
docs: fix building for libgail-util
Javier Jardón [Wed, 6 Jul 2011 16:08:34 +0000 (17:08 +0100)]
asd
Matthias Clasen [Thu, 7 Jul 2011 03:19:40 +0000 (23:19 -0400)]
Drop gail_misc_buffer_get_run_attributes
Instead fold the code into the sole caller and get rid
of gailmisc usage in the text view accessible altogether.
Matthias Clasen [Thu, 7 Jul 2011 03:18:52 +0000 (23:18 -0400)]
Drop an unneeded include
One step close to dropping gailmisc.
Benjamin Otte [Thu, 7 Jul 2011 01:37:52 +0000 (03:37 +0200)]
gtkpango: Count letters properly
The code was using the wrong variable and that then caused assertions
Benjamin Otte [Wed, 6 Jul 2011 18:55:11 +0000 (20:55 +0200)]
a11y: Make submenu code handle non-existing submenus
As we're going to merge the two accessibles for submenus, we need to
make sure the code that insisted on submenus can handle the case where
no submenu exists.
Benjamin Otte [Wed, 6 Jul 2011 18:48:35 +0000 (20:48 +0200)]
a11y: Fix leaking of state sets
Benjamin Otte [Wed, 6 Jul 2011 18:41:31 +0000 (20:41 +0200)]
styleproperty: Fix leak
Benjamin Otte [Wed, 6 Jul 2011 16:43:07 +0000 (18:43 +0200)]
menuitems: Use submenuitem accessible exclusively
Submenus can come and go, so we cannot use an accessible that doesn't
allow for that.
Also, this fixes a rather large refleak.
Benjamin Otte [Wed, 6 Jul 2011 16:34:50 +0000 (18:34 +0200)]
assistant: Use gtk_widget_class_set_accessible_type()
Less code and no leaks!
Javier Jardón [Mon, 16 May 2011 11:47:17 +0000 (12:47 +0100)]
Use AM_CPPFLAGS instead the obsolete INCLUDES
Benjamin Otte [Tue, 5 Jul 2011 21:43:07 +0000 (23:43 +0200)]
a11y: Redo TextView cursor/selection signal handling
As part of the removal of idles, redo how we emit signals on the
accessible. Should work as good or better than before, but with a lot
less code.
Benjamin Otte [Tue, 5 Jul 2011 21:34:13 +0000 (23:34 +0200)]
tests: Update text test for textview
1) Allow inserting text to move the cursor to after the inserted text
2) Implement selecting text for GtkTextView. Also assert if it's an
unsupported widget type.
3) Select an inside part of the widget, not the end.
Benjamin Otte [Tue, 5 Jul 2011 20:33:22 +0000 (22:33 +0200)]
modules: Blacklist gail
And print a message when somebody has it enabled that indicates that
something is wrong but doesn't sound too scary.
Benjamin Otte [Tue, 5 Jul 2011 15:34:55 +0000 (17:34 +0200)]
a11y: Use the canonical way to connect to signals
No functional changes at all, the generated code should in fact be
identical.
Benjamin Otte [Tue, 5 Jul 2011 15:31:00 +0000 (17:31 +0200)]
a11y: Simplify code
Benjamin Otte [Tue, 5 Jul 2011 12:39:12 +0000 (14:39 +0200)]
a11y: Remove idle handler for switch action handling
Benjamin Otte [Tue, 5 Jul 2011 12:36:39 +0000 (14:36 +0200)]
a11y: Remove set_description handling from GtkSwitch
The function is unused in AT-SPI.
Benjamin Otte [Tue, 5 Jul 2011 12:34:10 +0000 (14:34 +0200)]
range: Do not use idles to trigger actions
Benjamin Otte [Tue, 5 Jul 2011 12:30:49 +0000 (14:30 +0200)]
a11y: Don't use an idle handler for entry actions
Rico Tzschichholz [Wed, 6 Jul 2011 14:24:46 +0000 (16:24 +0200)]
Fix two typos in Makefiles
Javier Jardon [Wed, 6 Jul 2011 13:36:29 +0000 (14:36 +0100)]
gtktreeviewaccessible: free the string in the correct position
Javier Jardon [Wed, 6 Jul 2011 13:25:06 +0000 (14:25 +0100)]
Do not initialize the priv pointer before check type
Javier Jardon [Wed, 6 Jul 2011 10:59:56 +0000 (11:59 +0100)]
Fix few typos in the migration docs
gdk_pixbuf_get_from_surface() don't take 8 args but 5
Matthias Clasen [Tue, 5 Jul 2011 20:57:46 +0000 (16:57 -0400)]
Fix the build
I didn't pay enough attention when merging, it seems.
Matthias Clasen [Tue, 5 Jul 2011 11:19:38 +0000 (07:19 -0400)]
Update assistant tests
Matthias Clasen [Mon, 4 Jul 2011 01:46:50 +0000 (21:46 -0400)]
Drop the factory from the icon view accessible
Matthias Clasen [Mon, 4 Jul 2011 01:34:54 +0000 (21:34 -0400)]
Drop the factory from GtkAssistantAccessible
Matthias Clasen [Sun, 3 Jul 2011 20:53:41 +0000 (16:53 -0400)]
Update expected test output
The recent change to notebook page parent handling is showing
up in the output of the notebook.ui test.
Matthias Clasen [Sun, 3 Jul 2011 20:24:55 +0000 (16:24 -0400)]
GtkSeparatorMenuItem: Drop the accessible factory
Matthias Clasen [Sun, 3 Jul 2011 19:34:06 +0000 (15:34 -0400)]
Add api for setting the layer
Add api for setting the component layer, instead of open-coding
the object data key, and use it.
Matthias Clasen [Sun, 3 Jul 2011 19:33:27 +0000 (15:33 -0400)]
Silence compiler warnings
Matthias Clasen [Sun, 3 Jul 2011 19:06:44 +0000 (15:06 -0400)]
Set accessible parents of notebook children
Explicitly set the notebook page object as the accessible parent
of the page, otherwise, AtkObject follows the widget parents chain
and makes the notebook accessible the parent.
Matthias Clasen [Sun, 3 Jul 2011 19:06:11 +0000 (15:06 -0400)]
Verify that notify::accessible parent is emitted
Matthias Clasen [Sun, 3 Jul 2011 16:40:40 +0000 (12:40 -0400)]
Drop use of factories for cell accessibles
Matthias Clasen [Sun, 3 Jul 2011 16:16:43 +0000 (12:16 -0400)]
Add an initial focus handling test
This is failing currently, since focus handling is all
in defer-to-idle country.
Matthias Clasen [Sun, 3 Jul 2011 03:49:28 +0000 (23:49 -0400)]
Change the toolkit name in GailUtil to 'gtk', too
Matthias Clasen [Sat, 2 Jul 2011 22:44:12 +0000 (18:44 -0400)]
Change the toolkit attribute from gail to gtk
Update test results to match.
Matthias Clasen [Sat, 2 Jul 2011 22:46:04 +0000 (18:46 -0400)]
Move GtkSwitchAccessible to a11y/
Matthias Clasen [Sat, 2 Jul 2011 19:48:55 +0000 (15:48 -0400)]
Move GtkSpinnerAccessible to a11y/
Matthias Clasen [Sat, 2 Jul 2011 19:33:32 +0000 (15:33 -0400)]
Drop the atk_component_add/remove_focus_handler implementation
Instead, just connect to focus-event directly.
Matthias Clasen [Sat, 2 Jul 2011 19:23:52 +0000 (15:23 -0400)]
Initial conversion of GailWidget to GtkWidgetAccessible
Matthias Clasen [Sat, 2 Jul 2011 03:29:06 +0000 (23:29 -0400)]
Convert GailContainer to GtkContainerAccessible
Matthias Clasen [Sat, 2 Jul 2011 02:42:25 +0000 (22:42 -0400)]
Convert GailMenuShell to GtkMenuShellAccessible
Matthias Clasen [Sat, 2 Jul 2011 02:30:54 +0000 (22:30 -0400)]
Convert GailMenu to GtkMenuAccessible
Matthias Clasen [Sat, 2 Jul 2011 02:10:27 +0000 (22:10 -0400)]
Convert GailWindow to GtkWindowAccessible
While doing this, drop the get_mdi_zorder implementation
that really should come from the window manager side. Dropping
this saves some 500 lines.
Matthias Clasen [Sat, 2 Jul 2011 01:25:53 +0000 (21:25 -0400)]
Convert GailButton to GtkButtonAccessible
This drops the AtkText implementation, and also strips handling
of children out. Instead of listening for enter/leave/press/released,
just listen for state changes on the widget.
Matthias Clasen [Fri, 1 Jul 2011 21:08:30 +0000 (17:08 -0400)]
Drop unneeded includes of gdkkeysyms.h
Just a minor cleanup; gtk.h includes this header in GTK+ 3.
Matthias Clasen [Fri, 1 Jul 2011 21:05:43 +0000 (17:05 -0400)]
Drop unneeded includes gailtextutil.h
Almost done with getting rid of GailTextUtil.
Matthias Clasen [Fri, 1 Jul 2011 20:59:46 +0000 (16:59 -0400)]
Convert Gail(Sub)MenuItem to GtkAccessible classes
This is along the same lines as the previous commit,
with the same caveat.
Matthias Clasen [Fri, 1 Jul 2011 16:38:39 +0000 (12:38 -0400)]
Convert GailCheck(Sub)MenuItem to GtkAccessible classes
This is along the same lines as the previous commit,
with the same caveat.
Matthias Clasen [Fri, 1 Jul 2011 15:41:45 +0000 (11:41 -0400)]
Convert GailRadio(Sub)MenuItem to GtkAccessible classes
The way submenus are handled here isn't really right, since
they can come and go at runtime, but I've left it like this
for now. A side-effect is that we can't use
gtk_widget_class_set_accessible_type here, but have to
override get_accessible.
Matthias Clasen [Fri, 1 Jul 2011 23:18:18 +0000 (19:18 -0400)]
Add a test for menus
Matthias Clasen [Fri, 1 Jul 2011 14:15:36 +0000 (10:15 -0400)]
Convert GailExpander to GtkExpanderAccessible
At the same time, drop the AtkText implementation.
Also, reintroduce a GtkBoxAccessible, since the previous
way of setting the role in get_accessible was affecting
GtkBox subclasses negatively.
Adjust expected test output to match.
Matthias Clasen [Fri, 1 Jul 2011 04:51:56 +0000 (00:51 -0400)]
Add a placeholder-text test
Contributed by Joanmarie Diggs.
Matthias Clasen [Fri, 1 Jul 2011 04:47:41 +0000 (00:47 -0400)]
Convert GailStatusbar to GtkStatusbarAccessible
And drop the AtkText implementation at the same time.
Update test results to match.
Matthias Clasen [Fri, 1 Jul 2011 04:10:39 +0000 (00:10 -0400)]
Convert GailNotebookPage to GtkNotebookPageAccessible
At the same time, drop the AtkText implementation, and simplify
accordingly. Test output has been updated to match.
Matthias Clasen [Fri, 1 Jul 2011 04:48:25 +0000 (00:48 -0400)]
Don't overwrite roles
Otherwise, every GtkBox subclass will have to override
get_accessible just to keep their roles.
Matthias Clasen [Fri, 1 Jul 2011 02:12:31 +0000 (22:12 -0400)]
Avoid excessive child_changed::added emissions
We are listening to page-added and emit child_changed::added
in response to that, so don't let the add_gtk handler add
extraneous extra signal emissions. This fixes the child-handling
test for GtkNotebook.
Matthias Clasen [Fri, 1 Jul 2011 02:11:13 +0000 (22:11 -0400)]
Convert GailNotebook to GtkNotebookAccessible
Matthias Clasen [Thu, 30 Jun 2011 00:50:50 +0000 (20:50 -0400)]
Convert GailTreeView to GtkTreeViewAccessible
Mostly code rearrangement and cleanup, but also a memory
leak fix in gtk_tree_view_accessible_get_column_description().
Matthias Clasen [Thu, 30 Jun 2011 02:22:19 +0000 (22:22 -0400)]
Add more children tests
Matthias Clasen [Wed, 29 Jun 2011 21:31:09 +0000 (17:31 -0400)]
Convert GailComboBox to GtkComboBoxAccessible
Benjamin Otte [Wed, 29 Jun 2011 16:16:23 +0000 (18:16 +0200)]
tests: Don't print selection count
Selection count is tested via assertions and can be inferred from
looking at the number of selected children.
And I'd like to reduce the output of the tests. We're outputting way too
much anyway.
Benjamin Otte [Wed, 29 Jun 2011 16:11:07 +0000 (18:11 +0200)]
tests: Make accessibility-dump output selected children by name
And put one child in every row to make diffing easier.
Benjamin Otte [Wed, 29 Jun 2011 16:00:37 +0000 (18:00 +0200)]
tests: Fix compiler warnings