Source/WebCore/ChangeLog

 12012-01-01 Kentaro Hara <haraken@chromium.org>
 2
 3 Enable the [Supplemental] IDL on GTK/GObject
 4 https://bugs.webkit.org/show_bug.cgi?id=75411
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 This patch enables the [Supplemental] IDL on GObject bindings of GTK
 9 by changing the build flow of bindings/gobject/GNUmakefile.am as follows.
 10
 11 - Previous build flow:
 12 foreach $idl (all IDL files) {
 13 generate-bindings.pl depends on $idl;
 14 generate-bindings.pl reads $idl;
 15 generate-bindings.pl generates .h and .cpp files for $idl;
 16 }
 17
 18 - New build flow (See the discussions in bug 72138 for more details):
 19 resolve-supplemental.pl depends on all IDL files;
 20 resolve-supplemental.pl reads all IDL files;
 21 resolve-supplemental.pl resolves the dependency of [Supplemental=XXXX];
 22 resolve-supplemental.pl outputs supplemental_dependency.tmp;
 23 foreach $idl (all IDL files) {
 24 generate-bindings.pl depends on $idl and supplemental_dependency.tmp;
 25 generate-bindings.pl reads $idl;
 26 generate-bindings.pl reads supplemental_dependency.tmp;
 27 generate-bindings.pl generates .h and .cpp files for $idl,
 28 including all attributes in the IDL files that are implementing $idl;
 29 }
 30
 31 Tests: Confirm that build succeeds.
 32 http/tests/websocket/tests/*
 33
 34 * GNUmakefile.am:
 35 * bindings/gobject/GNUmakefile.am:
 36
1372012-01-01 Andreas Kling <awesomekling@apple.com>
238
339 Make HTMLCollections play nice after their base node is gone.

Source/WebCore/GNUmakefile.am

@@USER_AGENT_STYLE_SHEETS = \
665665# new-style JavaScript bindings
666666SCRIPTS_FOR_GENERATE_BINDINGS = \
667667 $(WebCore)/bindings/scripts/CodeGenerator.pm \
668  $(WebCore)/bindings/scripts/CodeGeneratorJS.pm \
669668 $(WebCore)/bindings/scripts/IDLParser.pm \
670669 $(WebCore)/bindings/scripts/IDLStructure.pm \
671670 $(WebCore)/bindings/scripts/InFilesCompiler.pm \

@@$(SUPPLEMENTAL_DEPENDENCY_FILE): $(SCRIPTS_FOR_RESOLVE_SUPPLEMENTAL) $(dom_bindi
781780 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/resolve-supplemental.pl --defines "LANGUAGE_JAVASCRIPT=1 $(FEATURE_DEFINES)" --idlFilesList $(IDL_FILES_TMP) --supplementalDependencyFile $@
782781
783782.SECONDARY:
784 DerivedSources/WebCore/JS%.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(SUPPLEMENTAL_DEPENDENCY_FILE)
 783DerivedSources/WebCore/JS%.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm $(SUPPLEMENTAL_DEPENDENCY_FILE)
785784 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl $(IDL_PATH:%=--include "%") --outputDir "$(GENSOURCES_WEBCORE)" --defines "LANGUAGE_JAVASCRIPT=1 $(FEATURE_DEFINES)" --generator JS --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<
786785
787786noinst_LTLIBRARIES += \

Source/WebCore/bindings/gobject/GNUmakefile.am

@@$(top_builddir)/DerivedSources/webkit/WebKitDOMCustom.h: $(WebCore)/bindings/gob
463463
464464# Filter out SVG and IndexedDB for now
465465gdom_feature_defines := $(filter-out ENABLE_INDEXED_DATABASE=1, $(filter-out ENABLE_SVG%, $(FEATURE_DEFINES)))
466 DerivedSources/webkit/WebKitDOM%.cpp DerivedSources/webkit/WebKitDOM%.h DerivedSources/webkit/WebKitDOM%Private.h: %.idl $(SCRIPTS_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorGObject.pm $(WebCore)/bindings/gobject/GNUmakefile.am
467  $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl --include $(WebCore)/dom --include $(WebCore)/html --include $(WebCore)/css --include $(WebCore)/page --include $(WebCore)/xml --include $(WebCore)/svg --outputDir "$(GENSOURCES_WEBKIT)" --defines "LANGUAGE_GOBJECT=1 $(gdom_feature_defines)" --generator GObject $<
468 
 466DerivedSources/webkit/WebKitDOM%.cpp DerivedSources/webkit/WebKitDOM%.h DerivedSources/webkit/WebKitDOM%Private.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorGObject.pm $(WebCore)/bindings/gobject/GNUmakefile.am $(SUPPLEMENTAL_DEPENDENCY_FILE)
 467 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl --include $(WebCore)/dom --include $(WebCore)/html --include $(WebCore)/css --include $(WebCore)/page --include $(WebCore)/xml --include $(WebCore)/svg --outputDir "$(GENSOURCES_WEBKIT)" --defines "LANGUAGE_GOBJECT=1 $(gdom_feature_defines)" --generator GObject --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<