aboutsummaryrefslogtreecommitdiffstats
path: root/a11y
Commit message (Collapse)AuthorAgeFilesLines
* 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