2007-08-13 Rodney Dawes * configure.in: Up version to 2.11.1 for release 2007-08-01 Rodney Dawes * libgtkhtml/css/cssparser.c (css_parser_parse_stylesheet): Ensure the {identifier} part of @{identifier} begins with [a-zA-Z] Fixes #461643 2007-06-27 Rodney Dawes * libgtkhtml/css/cssmatcher.c (css_matcher_match_simple_selector): * libgtkhtml/css/cssparser.c (css_parser_parse_simple_selector): * libgtkhtml/css/cssstylesheet.h (_CssTail.class_sel): s/class/css_class/ to work properly with C++ apps Fixes #398513 2007-06-27 Rodney Dawes * libgtkhtml/view/htmlevent.c (html_event_mouse_move): Use _unref instead of the deprecated _destroy Revert previous change to remove check for cursor's existence Fixes #444108 2006-11-07 Rodney Dawes * libgtkhtml/dom/html/dom-htmlinputelement.c: (dom_html_input_element_encode): Don't check if value exists before calling xmlFree * libgtkhtml/layout/html/htmlboxembeddedbutton.c: (html_box_embedded_button_set_label): Return value isn't a const free the value when we're done using it * libgtkhtml/view/htmlevent.c (html_event_mouse_move): Don't check if cursors exists before destroying it * tests/browser-window.c (browser_window_exit): Unref the baseURI object we were using 2006-11-07 Rodney Dawes * libgtkhtml/dom/core/dom-element.c (dom_Element_setAttribute): If the element doesn't exist, just return FALSE Patch from Colin Leroy 2006-09-09 Rodney Dawes * libgtkhtml/css/cssmatcher.c (css_matcher_html_to_css): Get the gtkhtml-minimum-font-size property and set the minimum size as the font's size, if the given one is smaller * libgtkhtml/document/htmldocument.c (html_document_class_init): Add the gtkhtml-minimum-font-size property so users can set a minimum font size through gtkrc or their application Fixes #336499 2006-08-18 Rodney dawes * libgtkhtml/css/cssparser.c (css_parser_parse_to_char): Don't treat quotes inside quoted strings as quoted strings themselves Patch from Nathan Conrad Fixes #330922 2006-08-16 Rodney Dawes * libgtkhtml/a11y/htmlboxaccessible.c (html_box_accessible_new): Add an #if 0 block around the while loop to set the box to its parent if it isn't an HtmlBoxBlock, and add a comment specifying the issue 2006-07-04 Chris Lord * libgtkhtml/layout/htmlbox.c (need_containing_width): Only return true if the box has a containing block, otherwise return FALSE 2006-03-18 Rodney Dawes * MAINTAINERS: Add MAINTAINERS file 2006-03-15 Rodney Dawes * libgtkhtml/a11y/htmlboxblocklinkaccessible.c: * libgtkhtml/a11y/htmlboxblocktextaccessible.c: * libgtkhtml/a11y/htmlboxtextaccessible.c: * libgtkhtml/a11y/htmlboxtextlinkaccessible.c: * libgtkhtml/a11y/htmllinkaccessible.c: * libgtkhtml/dom/html/dom-htmlselectelement.c: * libgtkhtml/layout/htmlboxlistitem.c: * libgtkhtml/layout/htmlboxlistitem.h: * libgtkhtml/layout/htmlstyle.c: * libgtkhtml/layout/html/htmlboxembeddedselect.c: * libgtkhtml/layout/html/htmlembedded.c: * libgtkhtml/view/htmlview.c: Fix compiler warnings to build with -Wall -Werror on gcc 3.3 at least 2006-03-15 Chris Lord * libgtkhtml/view/htmlview.c (html_view_style_updated): If the style is NULL or set to HTML_DISPLAY_NONE, just break, not remove the node Handle the properties on new_box Check box->parent before ->prev and ->next Create a temporary HtmlBox for the next child * libgtkhtml/graphics/htmlimage.c (html_image_init): Initialize the stream to NULL * libgtkhtml/graphics/htmlimagefactory.c: (html_image_factory_get_image): Use g_signal_connect_swapped instead of g_object_weak_ref to call html_image_shutdown Add a weak pointer to the stream 2006-03-14 Chris Lord * libgtkhtml/layout/htmlbox.c (html_box_check_min_max_width_heigh): Use else if rather than multiple if statements * libgtkhtml/layout/html/htmlboximage.[ch] (html_box_image_relayout): Guard against oscillation of the image between a size that requires a scrollbar to be shown, and one that does not, to avoid infinite loop conditions 2006-03-04 Rodney Dawes * libgtkhtml/css/cssparser.c (css_parser_prepare_stylesheet): Remove the block to treat // as a comment in CSS Patch from Nathan Conrad Fixes #330920 2006-03-04 Chris Lord * libgtkhtml/view/htmlview.c (html_view_realize): Rather than trying to copy the style and modify it directly, use gtk_widget_modify_bg (html_view_style_set): Call gtk_widget_modify_bg if the bg and base colors are not the same, and return to avoid an infinite loop condition 2006-02-04 Chris Lord * libgtkhtml/layout/htmlstyle.c (html_style_compare): Fix to compare s1->display against s2->display 2006-02-03 iSteve * libgtkhtml/layout/htmlboxblock.c (html_box_block_create_block_line): Fix a typo within a comment 2006-02-02 Chris Lord * libgtkhtml/css/cssmatcher.c (css_matcher_html_to_css_after): Check that the display style is not block for the align property * libgtkhtml/document/htmldocument.c (html_document_restyl_node): Remove workaround for recreation issues with dom nodes and layout boxes * libgtkhtml/graphics/htmlimagefactory.c (html_image_shutdown): Change the prototype to be used with g_object_weak_ref (html_image_factory_get_image): Use a weak ref for html_image_shutdown rather than connecting to the last_unref signal of the image * libgtkhtml/layout/htmlbox.c (html_box_{left,right}_margin): (html_box_check_min_max_width_height): Use the containing block of the box rather than box->parent * libgtkhtml/layout/htmlboxblock.c: (html_box_block_real_get_boundaries): Use the containing block of the box rather than the ->parent pointer * libgtkhtml/layout/htmlboxfactory.[ch]: (html_box_factory_new_box): Add the force_new argument * libgtkhtml/view/htmlview.c (html_view_insert_node): Call the html_box_factory_new_box method with FALSE for force_new (html_view_style_updated): Handle the CHANGE_RECREATE type of style change when the style gets updated Fixes #73643 2006-02-02 Chris Lord * libgtkhtml/layout/htmlbox.c (html_box_check_min_max_width_height): Maintain the aspect ratio of images when resizing * libgtkhtml/layout/html/htmlboximage.c (html_box_image_relayout): Recalculate the min/max width/height when doing a relayout 2006-02-02 Chris Lord * libgtkhtml/layout/htmlboxtext.c (html_box_text_finalize): Destroy the text box's slaves * libgtkhtml/layout/html/htmlboxembeddedimage.c: (html_box_embedded_image_finalize): Disconnect the signal handlers to resize and repaint the image (html_box_embedded_image_class_init): Override the finalize method * libgtkhtml/layout/html/htmlboximage.c (html_box_image_finalize): Disconnect the signal handlers to resize and repaint the image 2006-02-01 iSteve * libgtkhtml/layout/htmlstyleinherited.c (get_new_font_size): Handle symbolic font-size attributes Fixes #325689 2006-02-01 Chris Lord * libgtkhtml/css/cssmatcher.c (handle_background_image): (css_matcher_apply_rule): Handle the "background: none;" and "background-image: none;" properties for pages 2005-12-24 Rodney Dawes * libgtkhtml/layout/htmlstylesurround.c (html_style_set_margin_left): Only set the length on the style, if the value is >= 0 This is so that we do not draw items off the left side of the screen CSS2 specifices that negative values are acceptable, but does not define the behavior of such values See bug #324796 2005-11-25 Rodney Dawes * libgtkhtml/graphics/Makefile.am: Remove the extra images that we no longer need * libgtkhtml/graphics/images: Remove this directory and the images in it, as we no longer need them now that we use the icon theme 2005-11-25 Rodney Dawes * libgtkhtml/graphics/htmlpainter.c (html_painter_init): Use the icon theme to load the "image loading" icon in here using the naming spec, with a fallback to the old gnome-icon-theme name * libgtkhtml/layout/html/htmlboximage.c (html_box_image_paint_border): Use the icon theme for the image loading and missing icons here, using the naming spec, with fallbacks to the old g-i-t name, and the gtk+ stock image missing icon (html_box_image_relayout): Default to 20x20 for the image area, so that we have a nice box for the loading/missing icons to sit in, with the border drawn Fix a bug where we were checking the width type twice (html_box_image_init): Default to 20x20 for the image size 2005-10-26 Rodney Dawes * libgtkhtml/graphics/htmlstylepainter.c (html_style_painter_draw_background_color): Add HTML_DISPLAY_TABLE to the list of things to paint the background for 2005-10-25 Rodney Dawes * libgtkhtml/css/cssmatcher.c (css_matcher_apply_rule): Make sure values are not NULL before passing to strlen and strcat Patch from Pawel Salek Fixes #318192