2004-06-08 Padraig O'Briain * Release 2.6.2 * NEWS: Updated for 2.6.2 2004-06-08 Padraig O'Briain * libgtkhtml/a11y/htmlboxblocktextaccessible.c (get_text_near_offset): Add implementation for boundary_type ATK_TEXT_BOUNDARY_LINE_START and ATK_TEXT_BOUNDARY_LINE_END. Part of fix for bug #138091. * libgtkhtml/view/htmlview.c (move_cursor): Unset focus element if cursor is moved out of link. (html_view_move_focus_element): Call set_adjustment_clamped() only if cursor is visible. Fix for bug #143502. 2004-05-06 Padraig O'Briain * libgtkhtml/a11y/htmlboxblocktextaccessible.c ( html_box_block_text_accessible_get_default_attributes): Initialize variable len before using it. * libgtkhtml/a11y/htmlboxblockaccessible.c ( html_box_text_accessible_get_default_attributes): Initialize variable len before using it. * libgtkhtml/css/cssparser.c (css_parser_parse_value): Initialize variable term before using it. * libgtkhtml/layout/htmlboxtext.c (html_box_text_get_len): Use g_return_val_if_fail instead of g_return_if_fail. Fix for bug #141962 from Bart Martens. 2004-04-27 Padraig O'Briain * libgtkhtml/document/htmldocument.c (html_document_node_inserted_traverser): Remove call to html_stream_close. (bug #140522) 2004-04-22 Morten Welinder * libgtkhtml/css/cssmatcher.c (free_decl_entry): Unref entry->decl->expr. (css_matcher_get_style): Ref entry->decl->expr. Fixes #140747. 2004-04-21 Padraig O'Briain * libgtkhml/a11y/htmlboxtextaccessible.c (html_box_text_accessible_get_character_at_offset): Fix warnings. Bug #140738. 2004-04-21 Padraig O'Briain * libgtkhtml/css/cssparser.c (css_parser_parse_declaration): Avoid leaking CssValue. Fixes bug #140727. (css_parser_parse_ruleset): Avoid leaking CssRuleset. Fixes bug #140730. 2004-04-21 Padraig O'Briain * libgtkhtml/css/cssmatcher.c (css_matcher_apply_stylesheet): Increment reference count on CssValue (css_matcher_get_style): Call css_rulesset_destroy to free all memory for CssRuleset. * libgtkhtml/css/cssparser.c (css_parser_parse_style_attr): Initialize all field of CssRuleset. * libgtkhtml/css/cssstylesheet.c (css_ruleset_destroy): Make it non-static. * libgtkhtml/css/cssvalue.[ch]: Add new function css_value_ref. Fixes bug #140596. * libgtkhtml/layout/htmlboxtablecaption.c (html_box_table_caption_finalize): Chain up to call parent class finalize function. Fixes bug #140664. 2004-04-21 Padraig O'Briain * libgtkhtml/view/htmlview.c (html_view_finalize): Ensure that jump_to_anchor is not leaked. Bug #140628. 2004-04-20 Padraig O'Briain * configure.in: bumped to 2.6.2 * libgtkhtml/css/cssmatcher.c (css_matcher_apply_stylesheet): Copy CssDeclaration instead of assigning it. (css_matcher_get_style): Copy CssDeclaration instead of assigning it. Free declaration list. Fixes bug #140520. * libgtkhtml/document/htmldocument.c (html_document_node_inserted_traverser): Add call to html_stream_close. * libgtkhtml/util/htmlstreambuffer.c (html_stream_buffer_close): Add call to g_free (user_data); Fixes bug #140522.