aboutsummaryrefslogtreecommitdiffstats
path: root/a11y
Commit message (Collapse)AuthorAgeFilesLines
* override the function in base class, to retrieve the content of the text.Tim Wo2003-11-215-5/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* don't reset these fields, we need these info to a11y weak ref on each cellYuedong Du2003-11-203-15/+224
| | | | | | | | | | | | | | | | | 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
* new files (gal-a11y-e-cell-tree.c/h) added adding 2 new functions to addTim Wo2003-11-124-0/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixes #50538Bolian Yin2003-11-117-9/+1518
| | | | | | | | | | | | | 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes #50538 * new files: widgets/ea-calendar-cell.[hc] * widgets/ea-calendar-item: impl. atk selection and atk table interface. * widgets/Makefile.am : use shared object library (.so) svn path=/trunk/; revision=23283
* Fixes # 50480Bolian Yin2003-11-111-2/+100
| | | | | | | | | | 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
* don't include toplevel libicalJP Rosevear2003-11-082-1/+4
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * calendar/Makefile.am (INCLUDES): don't include toplevel libical svn path=/trunk/; revision=23227
* Handle some more renamingJP Rosevear2003-11-075-8/+12
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * Handle some more renaming svn path=/trunk/; revision=23213
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-075-46/+50
| | | | svn path=/trunk/; revision=23206
* Fixes # 48509Bolian Yin2003-11-0416-223/+2554
| | | | | | | | | | | | | | | | | 2003-11-04 Bolian Yin <bolian.yin@sun.com> Fixes # 48509 * new files: ea-cell-table.h ea-cell-table.c * calendar/Makefile.am: add entries for new files * calendar/New files added: ea-day-view-main-item.c ea-day-view-main-item.h ea-day-view-cell.c ea-day-view-cell.h * Add debug info and remove some non-C99 compilers warnings. * calendar/ea-cal-view: add action interface. svn path=/trunk/; revision=23180
* *e-table/gal-a11y-e-table-item: defunct widget checking, selectionBolian Yin2003-11-032-43/+334
| | | | | | | | 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
* new function to deal with grabing table cell focusTim Wo2003-11-031-0/+22
| | | | | | | | | | | | 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
* add new file for toggle cell a11y object. new a11y object toggle cellYuedong Du2003-10-284-0/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* make sure the declation is at the beginning of the block.Larry Ewing2003-10-121-1/+2
| | | | | | | | | 2003-10-11 Larry Ewing <lewing@ximian.com> * gal/a11y/e-text/ChangeLog: make sure the declation is at the beginning of the block. svn path=/trunk/; revision=22868
* add new files. set the right role. new file.Yuedong Du2003-10-118-0/+446
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* set the role of the atk object in the initialization function ofTim Wo2003-10-102-25/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-27 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text-factory.c (gal_a11y_e_text_factory_create_accessible): set the role of the atk object in the initialization function of GalA11yEText * gal/a11y/e-text/gal-a11y-e-text.c (is_a_seperator), (find_word_start), (find_word_end), (find_sentence_start), (find_sentence_end), (find_line_start), (find_line_end): 7 new private functions, They are all used by text retrieving functions below. (et_get_text_after_offset): implementation added (et_get_text_at_offset): implementation added (et_get_text_before_offset): implementation added (et_get_character_extents): implementation added (et_get_offset_at_point): implementation added (et_set_caret_offset): use command to modify the cursor position, so that we can be notified and emit "text-caret-moved" signal in function _et_command_cb. (_et_reposition_cb): new function to emit "text-changed" signal for the atk object (_et_command_cb): new function to emit "text-caret-moved" and "text-selection-changed" signals for the atk object (et_real_initialize): new function to deal with initialization of GalA11yEText. It set some signal callbacks and the atk role of the atk object (set GalA11yEText's role to ATK_ROLE_TEXT). (et_class_init): override the virtual function "initialize" in baseclass (AtkObject) with "et_real_initialize" svn path=/trunk/; revision=22856
* INCLUDE path fixes for changes made to libical build.Jeffrey Stedfast2003-10-102-9/+24
| | | | | | | | | 2003-10-09 Jeffrey Stedfast <fejj@ximian.com> * calendar/Makefile.am: INCLUDE path fixes for changes made to libical build. svn path=/trunk/; revision=22843
* some checking code added to ensure that end_offset and start_offset bothTim Wo2003-09-241-45/+118
| | | | | | | | | | | | | | | | | | | | | | | | 2003-09-22 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): some checking code added to ensure that end_offset and start_offset both belong to [0, length of the text] and end_offset >= start_offset or it will lead to a crash (et_get_caret_offset):no need to deal with character encoding here, since the widget has already delt with it. (et_get_selection): dealing with character encoding and ensure end_offset >= start_offset, or it will lead to a crash (et_add_selection): we can not get the ETextEventProcessor here, so the old implementation leads to a crash. Modify the parameters "selection_start" and "selection_end" directly instead (et_remove_selection): implementation added (et_set_selection): implementation added (et_set_caret_offset): no need to deal with character encoding here, since the widget has already delt with it. Another change is when offset == -1, move the caret to the end of the text, this keeps the same behavior as GailTextview svn path=/trunk/; revision=22685
* make the code be compliant with C89, or it can't be compiled on solaris.Tim Wo2003-09-181-12/+59
| | | | | | | | | | | | | 2003-09-13 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text.c (et_insert_text): make the code be compliant with C89, or it can't be compiled on solaris. (et_copy_text): implementation added (et_cut_text): implementation added (et_delete_text): implementation added (et_paste_text): implementation added svn path=/trunk/; revision=22606
* GalA11yETextFactory should inherit from AtkObjectFactory not AtkObject.Tim Wo2003-09-122-2/+4
| | | | | | | | | | | | | 2003-09-08 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text-factory.h: GalA11yETextFactory should inherit from AtkObjectFactory not AtkObject. (#47097). * gal/a11y/e-text/gal-a11y-e-text.c (et_class_init): Set value for "component_parent_iface". (#47097) * gal/e-text/e-text.c (e_text_class_init): Added registration code for GalA11yETextFactory. (#47097) svn path=/trunk/; revision=22551
* addDan Winship2003-09-113-0/+10
| | | | svn path=/trunk/; revision=22518
* add widgets directory; move calendar idl stuff to calendar directory; stopBolian Yin2003-08-2711-56/+564
| | | | | | | | | | | | | | 2003-08-27 Bolian Yin <bolian.yin@sun.com> * Makefile.am: add widgets directory; move calendar idl stuff to calendar directory; stop make a single shared lib for whole a11y stuff. * ea-factory.h: make factory macros available to GOBJECT * calendar/Makefile.am: add calendar idl stuff * calendar/ea-cal-view-event.c: add atkcomponent interface. * calendar/ea-gnome-calendar.c (ea_gcal_switch_view_cb): add details for "children_changed". * new widgets directory for widgets a11y stuff, new files are: widgets/Makefile.am, widgets/ea-calendar-item.c, widgets/ea-calendar-item.h, widgets/ea-widgets.c, widgets/ea-widgets.h svn path=/trunk/; revision=22384
* adapted to changes in ECalViewEvent.Rodrigo Moya2003-08-202-11/+13
| | | | | | | | | 2003-08-20 Rodrigo Moya <rodrigo@ximian.com> * calendar/ea-cal-view-event.c (ea_cal_view_event_get_name): adapted to changes in ECalViewEvent. svn path=/trunk/; revision=22309
* add ea-factory.h into source listBolian Yin2003-08-201-1/+3
| | | | svn path=/trunk/; revision=22306
* setup the a11y directory for evolution accessibility work New files are:Bolian Yin2003-08-2018-0/+2190
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-20 Bolian Yin <bolian.yin@sun.com> setup the a11y directory for evolution accessibility work New files are: ChangeLog ea-factory.h Makefile.am calendar/ea-calendar.c calendar/ea-calendar.h calendar/ea-calendar-helpers.c calendar/ea-calendar-helpers.h calendar/ea-cal-view.c calendar/ea-cal-view.h calendar/ea-cal-view-event.c calendar/ea-cal-view-event.h calendar/ea-day-view.c calendar/ea-day-view.h calendar/ea-week-view.c calendar/ea-week-view.h calendar/ea-gnome-calendar.c calendar/ea-gnome-calendar.h calendar/Makefile.am svn path=/trunk/; revision=22302
* add libgal-a11y-2.0.so dependency change the build sequence for a11y partGilbert Fang2003-07-311-0/+94
| | | | | | | | | | | | 2003-07-31 Gilbert Fang <gilbert.fang@sun.com> * gal-2.0.pc.in: add libgal-a11y-2.0.so dependency * gal/Makefile.am: change the build sequence for a11y part * gal/a11y/Makefile.am: change a11y to build as normal so instead of gtk module. * gal/a11y/gal-a11y-factory.h: marcos for a11y factory generation. svn path=/trunk/; revision=22035
* call AC_LIBTOOL_WIN32_DLL which is necessary for building shared libraryMasahiro Sakai2003-05-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* gal a11y work from claheyChris Toshok2002-11-3020-0/+2587
svn path=/trunk/; revision=18959