Changeset 160545 in webkit


Ignore:
Timestamp:
Dec 13, 2013 7:41:09 AM (10 years ago)
Author:
Carlos Garcia Campos
Message:

REGRESSION(r155784): [GTK] Some methods incorrectly removed in r155784 and deprecated in r158662
https://bugs.webkit.org/show_bug.cgi?id=125692

Reviewed by Martin Robinson.

In r155784 the build was fixed by skipping Console::profile() and
Console::profileEnd(), but the patch also skipped other methods
containing the profile method name. Those were incorrectly
deprecated in r158662 thinking that the property had been removed
in the idl.

  • bindings/gobject/WebKitDOMDeprecated.cpp: Undeprecate

webkit_dom_html_head_element_get_profile and
webkit_dom_html_head_element_set_profile.

  • bindings/gobject/WebKitDOMDeprecated.h: Ditto.
  • bindings/gobject/WebKitDOMDeprecated.symbols: Ditto.
  • bindings/scripts/CodeGeneratorGObject.pm:

(SkipFunction): Skip webkit_dom_console_profile and
webkit_dom_console_profile_end.

Location:
trunk/Source/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r160544 r160545  
     12013-12-13  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION(r155784): [GTK] Some methods incorrectly removed in r155784 and deprecated in r158662
     4        https://bugs.webkit.org/show_bug.cgi?id=125692
     5
     6        Reviewed by Martin Robinson.
     7
     8        In r155784 the build was fixed by skipping Console::profile() and
     9        Console::profileEnd(), but the patch also skipped other methods
     10        containing the profile method name. Those were incorrectly
     11        deprecated in r158662 thinking that the property had been removed
     12        in the idl.
     13
     14        * bindings/gobject/WebKitDOMDeprecated.cpp: Undeprecate
     15        webkit_dom_html_head_element_get_profile and
     16        webkit_dom_html_head_element_set_profile.
     17        * bindings/gobject/WebKitDOMDeprecated.h: Ditto.
     18        * bindings/gobject/WebKitDOMDeprecated.symbols: Ditto.
     19        * bindings/scripts/CodeGeneratorGObject.pm:
     20        (SkipFunction): Skip webkit_dom_console_profile and
     21        webkit_dom_console_profile_end.
     22
    1232013-12-13  Rob Buis  <rob.buis@samsung.com>
    224
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.cpp

    r159614 r160545  
    548548}
    549549
    550 // WebKitDOMHTMLHeadElement
    551 
    552 gchar* webkit_dom_html_head_element_get_profile(WebKitDOMHTMLHeadElement* self)
    553 {
    554     g_warning("%s: the HeadElement object has been removed from WebKit, this function does nothing.", __func__);
     550// WebKitDOMProcessingInstruction
     551
     552gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction* self)
     553{
     554    g_warning("%s: this functionality has been removed from WebKit, this function does nothing.", __func__);
    555555    return g_strdup("");
    556556}
    557557
    558 void webkit_dom_html_head_element_set_profile(WebKitDOMHTMLHeadElement* self, const gchar* value)
    559 {
    560     g_warning("%s: the HeadElement object has been removed from WebKit, this function does nothing.", __func__);
    561 }
    562 
    563 // WebKitDOMProcessingInstruction
    564 
    565 gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction* self)
    566 {
    567     g_warning("%s: this functionality has been removed from WebKit, this function does nothing.", __func__);
    568     return g_strdup("");
    569 }
    570 
    571558void webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction* self, const gchar* value, GError** error)
    572559{
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.h

    r159614 r160545  
    553553
    554554/**
    555  * webkit_dom_html_head_element_get_profile:
    556  * @self: A #WebKitDOMHTMLHeadElement
    557  *
    558  * This functionality has been removed from WebKit, this function does nothing.
    559  *
    560  * Returns: a #gchar
    561  *
    562  * Deprecated: 2.4
    563  */
    564 WEBKIT_DEPRECATED gchar*
    565 webkit_dom_html_head_element_get_profile(WebKitDOMHTMLHeadElement* self);
    566 
    567 /**
    568  * webkit_dom_html_head_element_set_profile:
    569  * @self: A #WebKitDOMHTMLHeadElement
    570  * @value: A #gchar
    571  *
    572  * This functionality has been removed from WebKit, this function does nothing.
    573  *
    574  * Deprecated: 2.4
    575  */
    576 WEBKIT_DEPRECATED void
    577 webkit_dom_html_head_element_set_profile(WebKitDOMHTMLHeadElement* self, const gchar* value);
    578 
    579 /**
    580555 * webkit_dom_processing_instruction_get_data:
    581556 * @self: A #WebKitDOMProcessingInstruction
  • trunk/Source/WebCore/bindings/gobject/WebKitDOMDeprecated.symbols

    r160172 r160545  
    4545gdouble webkit_dom_html_media_element_get_start_time(WebKitDOMHTMLMediaElement*)
    4646gdouble webkit_dom_html_media_element_get_initial_time(WebKitDOMHTMLMediaElement*)
    47 gchar* webkit_dom_html_head_element_get_profile(WebKitDOMHTMLHeadElement*)
    48 void webkit_dom_html_head_element_set_profile(WebKitDOMHTMLHeadElement*, const gchar*)
    4947gchar* webkit_dom_processing_instruction_get_data(WebKitDOMProcessingInstruction*)
    5048void webkit_dom_processing_instruction_set_data(WebKitDOMProcessingInstruction*, const gchar*, GError**)
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm

    r160543 r160545  
    305305    }
    306306
     307    # Skip Console::profile() and Console::profileEnd() as they're not correctly generated for the moment.
     308    if ($functionName eq "webkit_dom_console_profile" || $functionName eq "webkit_dom_console_profile_end") {
     309        return 1;
     310    }
     311
    307312    if ($function->signature->name eq "set" and $parentNode->extendedAttributes->{"TypedArray"}) {
    308313        return 1;
     
    325330    }
    326331
    327     if ($function->signature->name eq "timeEnd" || $function->signature->name eq "profile" || $function->signature->name eq "profileEnd") {
     332    if ($function->signature->name eq "timeEnd") {
    328333        return 1;
    329334    }
Note: See TracChangeset for help on using the changeset viewer.