Changeset 95304 in webkit


Ignore:
Timestamp:
Sep 16, 2011 11:06:30 AM (13 years ago)
Author:
abarth@webkit.org
Message:

CodeGeneratorGObject should use C++ style comments for ENABLE guards
https://bugs.webkit.org/show_bug.cgi?id=68256

Reviewed by Darin Adler.

This patch should have not behavioral effect. It just cleans up the
GObject code generator to use C++-style comments for ENABLE guards and
to use the usual comment style for license blocks.

  • bindings/scripts/CodeGeneratorGObject.pm:
  • bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
  • bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
  • bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h:
  • bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
  • bindings/scripts/test/GObject/WebKitDOMTestInterface.h:
  • bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h:
  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:
  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h:
  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h:
  • bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:

(webkit_dom_test_obj_conditional_method1):
(webkit_dom_test_obj_conditional_method2):
(webkit_dom_test_obj_conditional_method3):
(webkit_dom_test_obj_get_conditional_attr1):
(webkit_dom_test_obj_set_conditional_attr1):
(webkit_dom_test_obj_get_conditional_attr2):
(webkit_dom_test_obj_set_conditional_attr2):
(webkit_dom_test_obj_get_conditional_attr3):
(webkit_dom_test_obj_set_conditional_attr3):
(webkit_dom_test_obj_set_property):
(webkit_dom_test_obj_get_property):
(webkit_dom_test_obj_class_init):

  • bindings/scripts/test/GObject/WebKitDOMTestObj.h:
  • bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h:
  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:
  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
  • bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h:
Location:
trunk/Source/WebCore
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r95302 r95304  
     12011-09-16  Adam Barth  <abarth@webkit.org>
     2
     3        CodeGeneratorGObject should use C++ style comments for ENABLE guards
     4        https://bugs.webkit.org/show_bug.cgi?id=68256
     5
     6        Reviewed by Darin Adler.
     7
     8        This patch should have not behavioral effect.  It just cleans up the
     9        GObject code generator to use C++-style comments for ENABLE guards and
     10        to use the usual comment style for license blocks.
     11
     12        * bindings/scripts/CodeGeneratorGObject.pm:
     13        * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
     14        * bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
     15        * bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h:
     16        * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
     17        * bindings/scripts/test/GObject/WebKitDOMTestInterface.h:
     18        * bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h:
     19        * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:
     20        * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h:
     21        * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h:
     22        * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
     23        (webkit_dom_test_obj_conditional_method1):
     24        (webkit_dom_test_obj_conditional_method2):
     25        (webkit_dom_test_obj_conditional_method3):
     26        (webkit_dom_test_obj_get_conditional_attr1):
     27        (webkit_dom_test_obj_set_conditional_attr1):
     28        (webkit_dom_test_obj_get_conditional_attr2):
     29        (webkit_dom_test_obj_set_conditional_attr2):
     30        (webkit_dom_test_obj_get_conditional_attr3):
     31        (webkit_dom_test_obj_set_conditional_attr3):
     32        (webkit_dom_test_obj_set_property):
     33        (webkit_dom_test_obj_get_property):
     34        (webkit_dom_test_obj_class_init):
     35        * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
     36        * bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h:
     37        * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:
     38        * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
     39        * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h:
     40
    1412011-09-16  Csaba Osztrogonác  <ossy@webkit.org>
    242
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm

    r90841 r95304  
    5454
    5555my $licenceTemplate = << "EOF";
    56 /*
    57     This file is part of the WebKit open source project.
    58     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    59 
    60     This library is free software; you can redistribute it and/or
    61     modify it under the terms of the GNU Library General Public
    62     License as published by the Free Software Foundation; either
    63     version 2 of the License, or (at your option) any later version.
    64 
    65     This library is distributed in the hope that it will be useful,
    66     but WITHOUT ANY WARRANTY; without even the implied warranty of
    67     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    68     Library General Public License for more details.
    69 
    70     You should have received a copy of the GNU Library General Public License
    71     along with this library; see the file COPYING.LIB.  If not, write to
    72     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    73     Boston, MA 02110-1301, USA.
    74 */
     56// This file is part of the WebKit open source project.
     57// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     58//
     59// This library is free software; you can redistribute it and/or
     60// modify it under the terms of the GNU Library General Public
     61// License as published by the Free Software Foundation; either
     62// version 2 of the License, or (at your option) any later version.
     63//
     64// This library is distributed in the hope that it will be useful,
     65// but WITHOUT ANY WARRANTY; without even the implied warranty of
     66// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     67// Library General Public License for more details.
     68//
     69// You should have received a copy of the GNU Library General Public License
     70// along with this library; see the file COPYING.LIB.  If not, write to
     71// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     72// Boston, MA 02110-1301, USA.
    7573EOF
    7674
     
    349347    push(@cBodyPriv, "#if ${conditionalString}\n") if $conditionalString;
    350348    push(@cBodyPriv, "    ${propEnum},\n");
    351     push(@cBodyPriv, "#endif /* ${conditionalString} */\n") if $conditionalString;
     349    push(@cBodyPriv, "#endif // ${conditionalString}\n") if $conditionalString;
    352350
    353351    my $propType = $attribute->signature->type;
     
    392390        push(@txtSetProps, ");\n");
    393391        push(@txtSetProps, "        break;\n    }\n");
    394         push(@txtSetProps, "#endif /* ${conditionalString} */\n") if $conditionalString;
     392        push(@txtSetProps, "#endif // ${conditionalString}\n") if $conditionalString;
    395393    }
    396394
     
    429427
    430428    push(@txtGetProps, "        break;\n    }\n");
    431     push(@txtGetProps, "#endif /* ${conditionalString} */\n") if $conditionalString;
     429    push(@txtGetProps, "#endif // ${conditionalString}\n") if $conditionalString;
    432430
    433431    my %param_spec_options = ("int", "G_MININT, /* min */\nG_MAXINT, /* max */\n0, /* default */",
     
    457455    push(@txtInstallProps, "#if ${conditionalString}\n") if $conditionalString;
    458456    push(@txtInstallProps, $txtInstallProp);
    459     push(@txtInstallProps, "#endif /* ${conditionalString} */\n") if $conditionalString;
     457    push(@txtInstallProps, "#endif // ${conditionalString}\n") if $conditionalString;
    460458}
    461459
     
    969967        }
    970968        if ($functionSigType eq "DOMObject") {
    971             push(@cBody, "    return NULL; /* TODO: return canvas object */\n");
     969            push(@cBody, "    return NULL; // TODO: return canvas object\n");
    972970        } else {
    973971            push(@cBody, "    return res;\n");
     
    984982            }
    985983        }
    986         push(@cBody, "#endif /* ${conditionalString} */\n") if $conditionalString;
     984        push(@cBody, "#endif // ${conditionalString}\n") if $conditionalString;
    987985    }
    988986
     
    11291127
    11301128    push(@hBody, "G_END_DECLS\n\n");
    1131     push(@hPrefixGuardEnd, "#endif /* $guard */\n");
     1129    push(@hPrefixGuardEnd, "#endif // $guard\n");
    11321130}
    11331131
     
    11871185} // namespace WebKit
    11881186
    1189 #endif /* ${guard} */
     1187#endif // ${guard}
    11901188EOF
    11911189    print PRIVHEADER $text;
     
    12671265    my $conditionalString = GenerateConditionalString($dataNode);
    12681266    push(@conditionGuardStart, "#if ${conditionalString}\n\n") if $conditionalString;
    1269     push(@conditionGuardEnd, "#endif /* ${conditionalString} */\n") if $conditionalString;
     1267    push(@conditionGuardEnd, "#endif // ${conditionalString}\n") if $conditionalString;
    12701268
    12711269    # Add the default impl header template
     
    13011299}
    13021300   
    1303 } // namespace WebKit //
     1301} // namespace WebKit
    13041302
    13051303EOF
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp

    r95294 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#include <glib-object.h>
     
    5856}
    5957   
    60 } // namespace WebKit //
     58} // namespace WebKit
    6159
    6260gboolean
     
    233231}
    234232} // namespace WebKit
    235 #endif /* ENABLE(SQL_DATABASE) */
     233#endif // ENABLE(SQL_DATABASE)
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h

    r90841 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WebKitDOMTestCallback_h
     
    104102G_END_DECLS
    105103
    106 #endif /* WebKitDOMTestCallback_h */
     104#endif // WebKitDOMTestCallback_h
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h

    r73238 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WEB_KIT_DOM_TEST_CALLBACK_PRIVATE_H
     
    3735} // namespace WebKit
    3836
    39 #endif /* WEB_KIT_DOM_TEST_CALLBACK_PRIVATE_H */
     37#endif // WEB_KIT_DOM_TEST_CALLBACK_PRIVATE_H
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp

    r76277 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#include <glib-object.h>
     
    5048}
    5149   
    52 } // namespace WebKit //
     50} // namespace WebKit
    5351
    5452
     
    149147}
    150148} // namespace WebKit
    151 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     149#endif // ENABLE(Condition1) || ENABLE(Condition2)
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.h

    r61133 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WebKitDOMTestInterface_h
     
    4947G_END_DECLS
    5048
    51 #endif /* WebKitDOMTestInterface_h */
     49#endif // WebKitDOMTestInterface_h
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h

    r73238 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WEB_KIT_DOM_TEST_INTERFACE_PRIVATE_H
     
    3735} // namespace WebKit
    3836
    39 #endif /* WEB_KIT_DOM_TEST_INTERFACE_PRIVATE_H */
     37#endif // WEB_KIT_DOM_TEST_INTERFACE_PRIVATE_H
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp

    r76277 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#include <glib-object.h>
     
    4846}
    4947   
    50 } // namespace WebKit //
     48} // namespace WebKit
    5149
    5250
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h

    r72552 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WebKitDOMTestMediaQueryListListener_h
     
    4947G_END_DECLS
    5048
    51 #endif /* WebKitDOMTestMediaQueryListListener_h */
     49#endif // WebKitDOMTestMediaQueryListListener_h
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h

    r73238 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WEB_KIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER_PRIVATE_H
     
    3735} // namespace WebKit
    3836
    39 #endif /* WEB_KIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER_PRIVATE_H */
     37#endif // WEB_KIT_DOM_TEST_MEDIA_QUERY_LIST_LISTENER_PRIVATE_H
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp

    r94354 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#include <glib-object.h>
     
    5553}
    5654   
    57 } // namespace WebKit //
     55} // namespace WebKit
    5856
    5957void
     
    395393#else
    396394    return NULL;
    397 #endif /* ENABLE(Condition1) */
     395#endif // ENABLE(Condition1)
    398396}
    399397
     
    406404    WebCore::TestObj * item = WebKit::core(self);
    407405    item->conditionalMethod2();
    408 #endif /* ENABLE(Condition1) && ENABLE(Condition2) */
     406#endif // ENABLE(Condition1) && ENABLE(Condition2)
    409407}
    410408
     
    417415    WebCore::TestObj * item = WebKit::core(self);
    418416    item->conditionalMethod3();
    419 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     417#endif // ENABLE(Condition1) || ENABLE(Condition2)
    420418}
    421419
     
    10101008#else
    10111009    return static_cast<glong>(0);
    1012 #endif /* ENABLE(Condition1) */
     1010#endif // ENABLE(Condition1)
    10131011}
    10141012
     
    10211019    WebCore::TestObj * item = WebKit::core(self);
    10221020    item->setConditionalAttr1(value);
    1023 #endif /* ENABLE(Condition1) */
     1021#endif // ENABLE(Condition1)
    10241022}
    10251023
     
    10351033#else
    10361034    return static_cast<glong>(0);
    1037 #endif /* ENABLE(Condition1) && ENABLE(Condition2) */
     1035#endif // ENABLE(Condition1) && ENABLE(Condition2)
    10381036}
    10391037
     
    10461044    WebCore::TestObj * item = WebKit::core(self);
    10471045    item->setConditionalAttr2(value);
    1048 #endif /* ENABLE(Condition1) && ENABLE(Condition2) */
     1046#endif // ENABLE(Condition1) && ENABLE(Condition2)
    10491047}
    10501048
     
    10601058#else
    10611059    return static_cast<glong>(0);
    1062 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     1060#endif // ENABLE(Condition1) || ENABLE(Condition2)
    10631061}
    10641062
     
    10711069    WebCore::TestObj * item = WebKit::core(self);
    10721070    item->setConditionalAttr3(value);
    1073 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     1071#endif // ENABLE(Condition1) || ENABLE(Condition2)
    10741072}
    10751073
     
    11621160#if ENABLE(Condition1)
    11631161    PROP_CONDITIONAL_ATTR1,
    1164 #endif /* ENABLE(Condition1) */
     1162#endif // ENABLE(Condition1)
    11651163#if ENABLE(Condition1) && ENABLE(Condition2)
    11661164    PROP_CONDITIONAL_ATTR2,
    1167 #endif /* ENABLE(Condition1) && ENABLE(Condition2) */
     1165#endif // ENABLE(Condition1) && ENABLE(Condition2)
    11681166#if ENABLE(Condition1) || ENABLE(Condition2)
    11691167    PROP_CONDITIONAL_ATTR3,
    1170 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     1168#endif // ENABLE(Condition1) || ENABLE(Condition2)
    11711169    PROP_DESCRIPTION,
    11721170    PROP_ID,
     
    13071305        break;
    13081306    }
    1309 #endif /* ENABLE(Condition1) */
     1307#endif // ENABLE(Condition1)
    13101308#if ENABLE(Condition1) && ENABLE(Condition2)
    13111309    case PROP_CONDITIONAL_ATTR2:
     
    13141312        break;
    13151313    }
    1316 #endif /* ENABLE(Condition1) && ENABLE(Condition2) */
     1314#endif // ENABLE(Condition1) && ENABLE(Condition2)
    13171315#if ENABLE(Condition1) || ENABLE(Condition2)
    13181316    case PROP_CONDITIONAL_ATTR3:
     
    13211319        break;
    13221320    }
    1323 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     1321#endif // ENABLE(Condition1) || ENABLE(Condition2)
    13241322    case PROP_ID:
    13251323    {
     
    14911489        break;
    14921490    }
    1493 #endif /* ENABLE(Condition1) */
     1491#endif // ENABLE(Condition1)
    14941492#if ENABLE(Condition1) && ENABLE(Condition2)
    14951493    case PROP_CONDITIONAL_ATTR2:
     
    14981496        break;
    14991497    }
    1500 #endif /* ENABLE(Condition1) && ENABLE(Condition2) */
     1498#endif // ENABLE(Condition1) && ENABLE(Condition2)
    15011499#if ENABLE(Condition1) || ENABLE(Condition2)
    15021500    case PROP_CONDITIONAL_ATTR3:
     
    15051503        break;
    15061504    }
    1507 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     1505#endif // ENABLE(Condition1) || ENABLE(Condition2)
    15081506    case PROP_DESCRIPTION:
    15091507    {
     
    177117690, /* default */
    17721770                                                           WEBKIT_PARAM_READWRITE));
    1773 #endif /* ENABLE(Condition1) */
     1771#endif // ENABLE(Condition1)
    17741772#if ENABLE(Condition1) && ENABLE(Condition2)
    17751773    g_object_class_install_property(gobjectClass,
     
    178217800, /* default */
    17831781                                                           WEBKIT_PARAM_READWRITE));
    1784 #endif /* ENABLE(Condition1) && ENABLE(Condition2) */
     1782#endif // ENABLE(Condition1) && ENABLE(Condition2)
    17851783#if ENABLE(Condition1) || ENABLE(Condition2)
    17861784    g_object_class_install_property(gobjectClass,
     
    179317910, /* default */
    17941792                                                           WEBKIT_PARAM_READWRITE));
    1795 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     1793#endif // ENABLE(Condition1) || ENABLE(Condition2)
    17961794    g_object_class_install_property(gobjectClass,
    17971795                                    PROP_DESCRIPTION,
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h

    r94354 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WebKitDOMTestObj_h
     
    10371035G_END_DECLS
    10381036
    1039 #endif /* WebKitDOMTestObj_h */
     1037#endif // WebKitDOMTestObj_h
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h

    r73238 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WEB_KIT_DOM_TEST_OBJ_PRIVATE_H
     
    3735} // namespace WebKit
    3836
    39 #endif /* WEB_KIT_DOM_TEST_OBJ_PRIVATE_H */
     37#endif // WEB_KIT_DOM_TEST_OBJ_PRIVATE_H
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp

    r80072 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#include <glib-object.h>
     
    5351}
    5452   
    55 } // namespace WebKit //
     53} // namespace WebKit
    5654
    5755WebKitDOMSerializedScriptValue*
     
    179177}
    180178} // namespace WebKit
    181 #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
     179#endif // ENABLE(Condition1) || ENABLE(Condition2)
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h

    r90841 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WebKitDOMTestSerializedScriptValueInterface_h
     
    5957G_END_DECLS
    6058
    61 #endif /* WebKitDOMTestSerializedScriptValueInterface_h */
     59#endif // WebKitDOMTestSerializedScriptValueInterface_h
  • trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h

    r80072 r95304  
    1 /*
    2     This file is part of the WebKit open source project.
    3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
    4 
    5     This library is free software; you can redistribute it and/or
    6     modify it under the terms of the GNU Library General Public
    7     License as published by the Free Software Foundation; either
    8     version 2 of the License, or (at your option) any later version.
    9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public License
    16     along with this library; see the file COPYING.LIB.  If not, write to
    17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    18     Boston, MA 02110-1301, USA.
    19 */
     1// This file is part of the WebKit open source project.
     2// This file has been generated by generate-bindings.pl. DO NOT MODIFY!
     3//
     4// This library is free software; you can redistribute it and/or
     5// modify it under the terms of the GNU Library General Public
     6// License as published by the Free Software Foundation; either
     7// version 2 of the License, or (at your option) any later version.
     8//
     9// This library is distributed in the hope that it will be useful,
     10// but WITHOUT ANY WARRANTY; without even the implied warranty of
     11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     12// Library General Public License for more details.
     13//
     14// You should have received a copy of the GNU Library General Public License
     15// along with this library; see the file COPYING.LIB.  If not, write to
     16// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     17// Boston, MA 02110-1301, USA.
    2018
    2119#ifndef WEB_KIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_PRIVATE_H
     
    3735} // namespace WebKit
    3836
    39 #endif /* WEB_KIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_PRIVATE_H */
     37#endif // WEB_KIT_DOM_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE_PRIVATE_H
Note: See TracChangeset for help on using the changeset viewer.