| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-22 Eric Zhao <eric.zhao@sun.com>
Fixes #48974.
* gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): add a check
to see whether the corresponding AtkObject of ETableItem has been
initialized.
svn path=/trunk/; revision=25580
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-22 Eric Zhao <eric.zhao@sun.com>
Fixes bug #52935.
* gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_ref_at),
(eti_reinit_data), (eti_clear_rows),
(eti_tree_model_node_changed_cb), (gal_a11y_e_table_item_new),
(eti_a11y_cursor_changed_cb): add cell-data synchronization when the
table's model has been changed, prevent data inconsistency.
svn path=/trunk/; revision=25579
|
|
|
|
|
|
|
|
|
|
| |
2004-04-01 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_caret_offset): add some sanity check here.
* gal/a11y/e-table/gal-a11y-e-table-item.c: add atk_state_focused to focused cell, it is must.
(gal_a11y_e_table_item_new), (eti_a11y_cursor_changed_cb):
svn path=/trunk/; revision=25277
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-16 Yuedong Du <yuedong.du@sun.com>
Fixed bug 51917, add atk support for ClickToAdd
* gal/a11y/e-table/Makefile.am: add files.
* gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c:
(gal_a11y_e_table_click_to_add_factory_get_accessible_type),
(gal_a11y_e_table_click_to_add_factory_create_accessible),
(gal_a11y_e_table_click_to_add_factory_class_init),
(gal_a11y_e_table_click_to_add_factory_init),
(gal_a11y_e_table_click_to_add_factory_get_type): factory
for ClickToAdd
* gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h:
ditto
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c:
(etcta_get_n_actions), (etcta_get_description),
(etcta_action_get_name), (idle_do_action), (etcta_do_action),
(atk_action_interface_init): a "click" action interface.
(etcta_get_name),
(etcta_get_n_children), (etcta_ref_child): create accessible
according to which child is available. Either rect or row.
(etcta_class_init),
(etcta_init), (gal_a11y_e_table_click_to_add_get_type),
(etcta_event): listen to canvas event, emit children-changed signal
when it found rect/row was changed.
(gal_a11y_e_table_click_to_add_new):
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.h:
* gal/a11y/e-table/gal-a11y-e-table-item-factory.c:
(gal_a11y_e_table_item_factory_create_accessible):
* gal/a11y/e-table/gal-a11y-e-table.c: (init_child_item),
(et_get_n_children), (et_ref_child): change the trick way to
create a11y object for a table item. Because ClickToAdd is also
a table item, previous way do not work for clicktoadd.
* gal/e-table/e-table-click-to-add.c: (etcta_class_init):
atk_register the new a11y factory.
svn path=/trunk/; revision=23956
|
|
|
|
| |
svn path=/trunk/; revision=23671
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-08 Andrew Wu <yang.wu@sun.com>
Fixed #50844
* gal/a11y/e-table/gal-a11y-e-cell-popup.c:
* gal/a11y/e-table/gal-a11y-e-cell-popup.h:
a11y impl. for e-cell-popup.
svn path=/trunk/; revision=23670
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Bolian Yin <bolian.yin@sun.com>
Fixes #51145
* gal/a11y/gal-a11y-e-table-item (eti_get_column_header): new impl.
(eti_ref_child): add column headers as children
svn path=/trunk/; revision=23574
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Bolian Yin <bolian.yin@sun.com>
Fixes #51139
* gal/a11y/gal-a11y-e-table-item: (gal_a11y_e_table_item_ref_selection)
(gal_a11y_e_table_item_unref_selection): new functions.
* gal/e-table/e-table-item.c : change the place of emitting ""selection_model_removed" signal.
svn path=/trunk/; revision=23571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_text),
(ect_get_character_at_offset), (ect_get_caret_offset),
(ect_get_character_count), (ect_get_n_selections),
(ect_get_selection), (ect_add_selection), (ect_remove_selection),
(ect_set_selection), (ect_set_caret_offset),
(ect_set_text_contents), (ect_insert_text), (ect_copy_text),
(ect_delete_text), (ect_cut_text), (ect_paste_text),
(ect_class_init): a11y implementations for ECellText.
* gal/e-table/e-cell-text.c: (e_cell_text_set_selection),
(e_cell_text_get_selection), (e_cell_text_copy_clipboard),
(e_cell_text_paste_clipboard), (e_cell_text_delete_selection): new
functions to support corresponding atk operations.
* gal/e-table/e-cell-text.h: some APIs added to support atk operations.
svn path=/trunk/; revision=23568
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c:
(gal_a11y_e_cell_toggle_dispose): use table item to get the model.
(gal_a11y_e_cell_toggle_new): use table item to get the model.
* gal/a11y/e-table/gal-a11y-e-cell-tree.c:
(ectr_model_row_changed_cb): new function to deal with tree cell
expansion and collapse
(ectr_subcell_weak_ref): destroy the cell_tree a11y instance along
with it's subcell's a11y instance.
(gal_a11y_e_cell_tree_new): init the atk state of the tree cell,
and connect to the model_row_change signal of table model, so that
when the tree cell expands or collapses, the corresponding AtkState
could be set.
* gal/a11y/e-table/gal-a11y-e-cell-tree.h: add one member to save
the connected signal id.
svn path=/trunk/; revision=23567
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-table-item.c:
(gal_a11y_e_table_item_new): don't assert row=0 as fault, it cause bug
51199.
svn path=/trunk/; revision=23566
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c:
(gal_a11y_e_cell_toggle_dispose):
* gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_dispose),
(eti_header_structure_changed): handle the structure changed signal of
table model. Thus we can handle table column add/remove/delete.
(eti_real_initialize): connect to structure-changed signal.
(gal_a11y_e_table_item_new): initialize the new added field - columns,
which in turn record columns before change.
svn path=/trunk/; revision=23563
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-21 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_name): override
the function in base class, to retrieve the content of the text.
(ect_do_action_edit): begin edit the cell when issuing the action.
(ect_class_init): override the "get_name" function.
(ect_init): add an action "edit" to the object.
(gal_a11y_e_cell_text_get_type): add AtkAction interface to this type.
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c
(gal_a11y_e_cell_toggle_dispose): disconnect the connected signal when
disposing.
(gal_a11y_e_cell_toggle_class_init): to override the dispose function.
(toggle_cell_action): set position of the click event more precisely.
(model_change_cb): set or remove the ATK_STATE_CHECKED flag according
to the value in the model when it changes.
(gal_a11y_e_cell_toggle_new): init the ATK_STATE_CHECKED flag and
connect to the model cell change signal.
* gal/a11y/e-table/gal-a11y-e-cell-toggle.h: add one member to save
the connected signal id.
* gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_grab_focus):
notify the selection model that the cursor has been changed.
* gal/a11y/e-table/gal-a11y-e-table-item.c:
(eti_a11y_cursor_changed_cb): emiting a signal to notify the AT
applictions that the active descendant has been changed. (#51055)
svn path=/trunk/; revision=23466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-19 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell.c: (eti_dispose): don't reset
these fields, we need these info to a11y weak ref on each cell to
do cell_destroy() correctly.
* gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_dispose),
(cell_destroyed), (eti_ref_at), (eti_rows_inserted),
(eti_rows_deleted), (eti_real_initialize), (eti_class_init),
(gal_a11y_e_table_item_new): handle table model's row-inserted
and row-deleted signal
* gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): sanity
check to avoid crash.
svn path=/trunk/; revision=23456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-03 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/Makefile.am: new files (gal-a11y-e-cell-tree.c/h)
added
* gal/a11y/e-table/gal-a11y-e-cell.h: adding 2 new functions to add or
remove atk states
* gal/a11y/e-table/gal-a11y-e-cell.c (eti_dispose): unref the state_set
(eti_ref_state_set): new function
(eti_class_init): create and initialize the state_set
(eti_init): override the "ref_state_set" function in AtkObjectClass with
"eti_ref_state_set"
(gal_a11y_e_cell_add_state): adding a return value
(gal_a11y_e_cell_remove_state): new function
* gal/e-table/e-cell-tree.c: (e_cell_tree_class_init): register
GalA11yECellText as the a11y implementation for ECellText.
(e_cell_tree_view_get_subcell_view): new function to retrieve the cell_view
of subcell in ECellTree
* gal/e-table/e-cell-tree.h: adding 1 new function to retrieve the cell_view
of subcell in ECellTree
* gal/a11y/e-table/gal-a11y-e-cell-tree.c: new file. A11y implementation
for ECellTree
* gal/a11y/e-table/gal-a11y-e-cell-tree.h: new file. A11y implementation
for ECellTree
svn path=/trunk/; revision=23296
|
|
|
|
|
|
|
|
|
|
| |
2003-11-11 Bolian Yin <bolian.yin@sun.com>
Fixes # 50480
* gal/a11y/e-table/gal-a11y-e-table-item: listen on "selection_model_removed" and "selection_model_added".
svn path=/trunk/; revision=23282
|
|
|
|
|
|
|
|
| |
2003-10-30 Bolian Yin <bolian.yin@sun.com>
*e-table/gal-a11y-e-table-item: defunct widget checking, selection interface
svn path=/trunk/; revision=23167
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-30 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): new function
to deal with grabing table cell focus
(eti_atk_component_iface_init): Override "grab_focus" virtual function
with eti_grab_focus of AtkComponent interface. (#50131)
* gal/e-table/e-cell-text.c: (e_cell_text_class_init): register
GalA11yECellText as the a11y implementation for ECellText.
svn path=/trunk/; revision=23166
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-26 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/Makefile.am: add new file for toggle cell a11y
object.
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c: new a11y object toggle cell (gal_a11y_e_cell_toggle_get_type),
(gal_a11y_e_cell_toggle_class_init), (toggle_cell_action), the
implementation of toggle cell action.
(gal_a11y_e_cell_toggle_new):
* gal/a11y/e-table/gal-a11y-e-cell-toggle.h: ditto
* gal/a11y/e-table/gal-a11y-e-cell.c:
(_gal_a11y_e_cell_get_action_info),
(_gal_a11y_e_cell_destroy_action_info),
(gal_a11y_e_cell_add_action), (gal_a11y_e_cell_remove_action),
(gal_a11y_e_cell_remove_action_by_name),
(gal_a11y_e_cell_action_get_n_actions),
(gal_a11y_e_cell_action_get_name),
(gal_a11y_e_cell_action_get_description),
(gal_a11y_e_cell_action_set_description),
(gal_a11y_e_cell_action_get_keybinding), (idle_do_action),
(gal_a11y_e_cell_action_do_action),
(gal_a11y_e_cell_atk_action_interface_init),
(gal_a11y_e_cell_type_add_action_interface),
(gal_a11y_e_cell_add_state): helper functions for add a action,
stealed from gailcell.c
* gal/a11y/e-table/gal-a11y-e-cell.h:
* gal/e-table/e-cell-toggle.c: (e_cell_toggle_class_init): register
toggle's a11y object.
svn path=/trunk/; revision=23095
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-11 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/Makefile.am: add new files.
* gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_construct):
set the right role.
* gal/a11y/e-table/gal-a11y-e-table-item-factory.c: new file.
(gal_a11y_e_table_item_factory_get_accessible_type),
(gal_a11y_e_table_item_factory_create_accessible),
(gal_a11y_e_table_item_factory_class_init),
(gal_a11y_e_table_item_factory_init),
(gal_a11y_e_table_item_factory_get_type): factory for the table item
a11y object. in create_accessible, we judge the type of widget
then set correct role.
* gal/a11y/e-table/gal-a11y-e-table-item-factory.h: ditto.
* gal/a11y/e-table/gal-a11y-e-tree-factory.c: new file.
(gal_a11y_e_tree_factory_get_accessible_type),
(gal_a11y_e_tree_factory_create_accessible),
(gal_a11y_e_tree_factory_class_init),
(gal_a11y_e_tree_factory_init), (gal_a11y_e_tree_factory_get_type):
factory for a11y object of etree. Mostly copyed from
gal-a11y-e-table-factory.c.
* gal/a11y/e-table/gal-a11y-e-tree-factory.h: ditto
* gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item),
(et_ref_accessible_at_point), (et_get_n_children), (et_ref_child),
(et_class_init), (et_atk_component_iface_init), (et_init),
(gal_a11y_e_tree_get_type), (gal_a11y_e_tree_new):a11y object for
etree object, mostly copied from gal-a11y-e-table.c. init_child_item
set correct role for the table item.
* gal/a11y/e-table/gal-a11y-e-tree.h: ditto.
* gal/e-table/e-table-item.c: (eti_class_init): register factory
for table item a11y object.
* gal/e-table/e-tree.c: (e_tree_get_item), (e_tree_class_init):
add new access fuction to get the table item of etree.
* gal/e-table/e-tree.h: ditto
svn path=/trunk/; revision=22867
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* configure.in: call AC_LIBTOOL_WIN32_DLL which is necessary for
building shared library on win32 platform.
* gal/Makefile.am (libgal_2_0_la_LDFLAGS):
* gal/a11y/Makefile.am (libgal_a11y_2_0_la_LDFLAGS): add
-no-undefined which is necessary for building shared library on
some platforms (e.g. Win32, BeOS).
* gal/a11y/e-table/gal-a11y-e-cell-text.c: don't call undefined
functions e_cell_text_get_selection() and e_cell_text_set_selection().
* gal/a11y/Makefile.am (libgal_a11y_2_0_la_LIBADD):
add $(top_builddir)/gal/libgal-2.0.la and $(EXTRA_GNOME_LIBS).
* gal/Makefile.am:
(libgal_2_0_la_LIBADD): add $(EXTRA_GNOME_LIBS).
(ui_subdirs): add "." ahead of "a11y". because above change make
a11y/libgal-a11y-2.0.la to depend on libgal-2.0.la.
* gal/widgets/Makefile.am (test_color_LDADD,
test_e_font_LDADD, test_font_loading_LDADD): fix ordering.
$(EXTRA_GNOME_LIBS) should be behind other libraries that depend on it.
svn path=/trunk/; revision=21097
|
|
svn path=/trunk/; revision=18959
|