2007-07-03 Li Yuan
* object.c: (gtk_html_a11y_delete_object_cb):
Emit text_changed::delete based on the begining of the deleted text.
Bug #453320.
2007-01-28 Matthew Barnes
** Fixes bug #394182 ("Massive Code Cleanup")
* hyperlink.h: Split the 'a11y' field into a HTMLA11Y/gpointer union
for valid type punning.
* hyperlink.c:
* text.c:
Adapt to the new 'a11y' union.
2006-12-03 Matthew Barnes
* cell.c: (html_a11y_cell_finalize)
* html.c: (html_a11y_finalize)
* image.c: (html_a11y_image_finalize)
* object.c: (gtk_html_a11y_finalize)
* paragraph.c: (html_a11y_paragraph_finalize)
* table.c: (html_a11y_table_finalize)
Chain up to parent class.
* text.c: (html_a11y_text_finalize)
Unref 'util' field and chain up to parent class.
* object.c:
Remove unused 'tree' field from GtkHTMLA11Y struct.
2006-08-24 Li Yuan
* table.c: (is_valid):
Fix #351358.
Check whether table have parent first.
2006-08-22 Srinivasa Ragavan
** Fix for bug #327169 Patch from Rohini
* text.c: (html_a11y_text_get_text): Convert unnecessary g_return to
if. Patch from Rohini.
2006-06-13 Li Yuan
* text.c: (html_a11y_text_get_n_links):
Check whether the text still exists before use it.
Fixes #344190
2006-04-25 Li Yuan
* object.c: (gtk_html_a11y_new):
we should call our callback function first to set the gail-focus-object
field of html.
Fixes #339691
2006-03-01 Simon Zheng
* factory.c: (gtk_html_accessibility_init):Initilize only when accessibility
is enabled.
* object.c: (gtk_html_a11y_new): When engine is just initilized, clue is
possibly NULL. To avoid logging a critical message, check validity before
invoking html_utils_get_accessible().
Fixes #332807
2006-02-28 Kjartan Maraas
* html.c: Remove redundant prototype. Part of bug #323450.
2006-02-28 Harry Lu
Fix for #331546
* object.c: (gtk_html_a11y_grab_focus_cb): Fix a critical warning.
2006-02-28 Harry Lu
Fix for #331528.
* text.c: (html_a11y_text_ref_state_set): fix a CRITICAL assersion.
2005-08-10 Mengjie Yu
* text.c: (html_a11y_text_get_run_attributes):
Use html_text_prepare_attrs to get the PangoAttrList of a htmltext instead of
getting it directly from the htmltext object structure. The former's pango
infomation is more sufficient than the latter, e.g. the color of the link text,
the size and weight of the HEADER text.
Fixes #312189
2005-08-04 Mengjie Yu
* text.c: (atk_text_interface_init),
(html_a11y_text_get_run_attributes):
Implement get_run_attributes function to inform atktools the attributes of the text.
Fixes #312189
2005-07-06 Mengjie Yu
* object.c: (gtk_html_a11y_insert_object_cb),
(gtk_html_a11y_delete_object_cb), (gtk_html_a11y_new):
We should pass the correct offset of the text instead of the absolute position
of the whole document to the callback funtion.
* text.c: (html_a11y_text_get_text_at_offset):
We should assign the correct start_offset and end_offset and return the text content
if start_slave or end_slave doesn't exist.
Fixes #306238
2005-05-13 Changwoo Ryu
* Makefile.am (INCLUDES): use I18N_LIB_CFLAGS.
* html.c: include instead of to
specify the translation domain explicitly.
* object.c: likewise.
* image.c: likewise.
* text.c: likewise.
Fixes #301120
2005-04-07 Tor Lillqvist
* utils.c: Remove inclusion of now nonexistent link.h.
2005-04-04 Yu Mengjie
* Makefile.am:
remove link.h link.c
* hyperlink.c: (html_a11y_hyper_link_get_start_index),
(html_a11y_hyper_link_get_end_index),
(html_a11y_hyper_link_class_init), (html_a11y_hyper_link_new):
overload the atk_hyperlink_get_start_index and atk_hyperlink_get_end_index
function
* hyperlink.h:
add int num field indicating the number of links in a text object.
* link.c:
* link.h:
remove link.c and link.h.
* text.c: (html_a11y_text_get_type), (html_a11y_text_paste_text),
(atk_hyper_text_interface_init), (html_a11y_text_get_link),
(html_a11y_text_get_n_links), (html_a11y_text_get_link_index):
implement atkhypertext interface.
* utils.c: (create_accessible):
remove related link part
Fixes #74226
2005-03-01 Mengjie Yu
* object.c: (gtk_html_a11y_new):we need to notify gnopernicus
our current focus_object.
Fixes #73144
2005-02-22 Mengjie Yu
* object.c: (gtk_html_a11y_get_focus_object),
(gtk_html_a11y_grab_focus_cb), (gtk_html_a11y_cursor_changed_cb),
(gtk_html_a11y_insert_object_cb), (gtk_html_a11y_delete_object_cb):
use html_engine_get_focus_object to get the focus_object while
cared_mode is off and gtkhtml widget is not editable.
Fixes #72842
2005-01-02 Mengjie Yu
Fix for 70130 and 70683.
* html.c: (html_a11y_get_top_gtkhtml_parent): new function.
(html_a11y_get_extents): get correct value.
* html.h:
* text.c: (atk_text_interface_init), (html_a11y_text_get_extents):
get a max rect as the extents.
(html_a11y_text_get_size): call get_extents to get size.
(html_a11y_text_get_offset_at_point): new function.
(html_a11y_text_get_character_extents): new function.
2005-01-19 Mengjie Yu
* html.c: (html_a11y_get_n_children), (html_a11y_ref_child):
fix #70083 check defunct state before ref child.
* object.c: (gtk_html_a11y_get_n_children),
(gtk_html_a11y_ref_child):
fix #70083 refuse ref child when parsing. Add judgement to avoid a11y
component access null point.
* utils.c: (acc_unref):
fix #70083 Add defunct state after unref a atk object.
2005-01-05 Mengjie Yu
Fixes #70871
* image.c: (html_a11y_image_get_name):
Don't split sentence in gtkhtml.
2004-12-29 Mengjie Yu
* image.c: (html_a11y_image_get_name),
(html_a11y_image_get_image_description):
change image name/description, make gnopernicus happy.
2004-12-17 Mengjie Yu
* html.c: (html_a11y_ref_state_set): Add SHOWING state to stateset.
* text.c: (get_n_actions), (action_get_name), (do_action),
(atk_action_interface_init), (html_a11y_text_get_type): add action
interface to text so that it can be found by GOK.
(atk_component_interface_init): implement grab_focus.
(html_a11y_text_ref_state_set): add SENSITIVE and FOCUSABLE state.
(html_a11y_text_grab_focus): new function to implement grab_focus.
Above fix #70629
* table.c: (is_valid):new function to check whether the table is valid.
(html_a11y_table_ref_at),
(html_a11y_table_get_index_at),
(html_a11y_table_get_column_at_index),
(html_a11y_table_get_row_at_index),
(html_a11y_table_get_n_columns), (html_a11y_table_get_n_rows),
(html_a11y_table_get_column_extent_at),
(html_a11y_table_get_row_extent_at),
(html_a11y_table_get_column_header),
(html_a11y_table_get_row_header): call is_valid().
* utils.c: (create_accessible):
set the a11y name for the widget's atk object.
2004-12-15 Mengjie Yu
* object.c: (get_n_actions), (get_description), (action_get_name),
(do_action), (atk_action_interface_init), (gtk_html_a11y_get_type),
(gtk_html_a11y_get_name), (gtk_html_a11y_class_init):
fix #70088 make ui grab work by add a grab focus action interface.
2004-12-14 Mengjie Yu
* object.c: (gtk_html_a11y_cursor_changed_cb),
(gtk_html_a11y_insert_object_cb), (gtk_html_a11y_delete_object_cb),
(gtk_html_a11y_new):
fix #70078 listen and handle the insert/delete signal.
For text object, emit text_changed signal.
2004-11-01 Radek Doulik
* Makefile.am (AM_CFLAGS): use AM_FLAGS instead of CFLAGS
2004-08-09 Eric Zhao
* text.c: (html_a11y_text_get_text),
(html_a11y_text_get_character_at_offset),
(html_a11y_text_get_character_count),
(html_a11y_text_get_n_selections), (html_a11y_text_get_selection):
add missed check, fixes bug #62223.
Sat Jun 5 10:32:30 2004 Owen Taylor
* html.c (html_a11y_ref_state_set): Fix missing initialization.
* hyperlink.c (html_a11y_hyper_link_do_action): Fix shadowing
problem and memory leak.
2004-06-04 Radek Doulik
* text.c: removed unused variables
2004-05-26 Yuedong Du
* object.c: (gtk_html_a11y_get_type): GTK_HTML_A11Y change to
inherit from GAIL_WIDGET instead of GAIL_CONTAINER.
fix bug #42867.
2004-04-27 Eric Zhao
fixes #55250.
* text.c: (html_a11y_text_get_text_after_offset),
(html_a11y_text_get_text_at_offset),
(html_a11y_text_get_text_before_offset): the gail_text_util doesn't
know how we break lines in gtkhtml, so we should implement them by
ourselves.
2003-09-05 Yuedong Du
* text.c: (html_a11y_text_get_text_after_offset),
(html_a11y_text_get_text_at_offset),
(html_a11y_text_get_text_before_offset): re-setup string each time it
is required because in composer, the text content is dynamic.
2003-09-01 Yuedong Du
* text.c: (html_a11y_text_get_type), (atk_text_interface_init),
(html_a11y_text_class_init), (html_a11y_text_ref_state_set),
(html_a11y_text_get_caret_offset),
(atk_editable_text_interface_init),
(html_a11y_text_set_text_contents), (html_a11y_text_insert_text),
(html_a11y_text_copy_text), (html_a11y_text_cut_text),
(html_a11y_text_delete_text), (html_a11y_text_paste_text):implemented
atk editable text interface
* utils.c: (acc_unref), (html_utils_get_accessible): use new data list
instead the old ones.
* utils.h: ditto
2003-08-06 Yuedong Du
* html.c: (html_a11y_get_parent): use html_utils_get_accessible() to
find the a11y parent.
* object.c: (gtk_html_a11y_grab_focus_cb),
(gtk_html_a11y_cursor_move_cb), (gtk_html_a11y_new): when focus
change, or new gtkhtml a11y object, need to setup or re-setup
parent relationship between gtkhtml and corresponding cluev html
object.
* text.c: (atk_text_interface_init),
(html_a11y_text_get_caret_offset),
(html_a11y_text_set_caret_offset): add implementation of get/set
_caret_offset method.
2003-07-24 Yuedong Du
* object.c: (gtk_html_a11y_get_focus_object),
(gtk_html_a11y_grab_focus_cb), (gtk_html_a11y_cursor_move_cb),
(gtk_html_a11y_new): emit atk object when focus move from one
object to another, fix bug #45119
* utils.c: (create_accessible), (html_utils_get_accessible):add some
check to prevent crash
2002-05-07 Radek Doulik
* Makefile.am: fixed .la versioning