Changeset 109068 in webkit
- Timestamp:
- Feb 27, 2012 8:41:18 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 8 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r109031 r109068 2449 2449 2450 2450 2451 GENERATE_EVENT_FACTORY(${WEBCORE_DIR}/dom/Event Factory.in EventFactory.cpp)2451 GENERATE_EVENT_FACTORY(${WEBCORE_DIR}/dom/EventNames.in EventFactory.cpp) 2452 2452 LIST(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventFactory.cpp) 2453 2453 -
trunk/Source/WebCore/ChangeLog
r109067 r109068 1 2012-02-27 Adam Barth <abarth@webkit.org> 2 3 EventFactory.in should be named EventNames.in 4 https://bugs.webkit.org/show_bug.cgi?id=79727 5 6 Reviewed by Kentaro Hara. 7 8 Originally EventFactory.in was just used to generate EventFactory.cpp, 9 but now we're able to generate a bunch of other Event-related code from 10 this "in" file. 11 12 In writing some documentation about how to use these mechanisms, the 13 name EventFactory.in didn't seem like the right name. This patch 14 renames EventFactory.in to EventNames.in, which more accurately 15 describes the role of this file (and matches the naming convention of 16 HTMLTagNames.in). 17 18 * CMakeLists.txt: 19 * DerivedSources.make: 20 * DerivedSources.pri: 21 * GNUmakefile.am: 22 * WebCore.gyp/WebCore.gyp: 23 * WebCore.gyp/scripts/action_makenames.py: 24 (main): 25 * WebCore.xcodeproj/project.pbxproj: 26 * dom/EventNames.in: Copied from Source/WebCore/dom/EventFactory.in. 27 * dom/EventFactory.in: Removed. 28 1 29 2012-02-27 Yoshifumi Inoue <yosin@chromium.org> 2 30 -
trunk/Source/WebCore/DerivedSources.make
r109036 r109068 867 867 # Register event constructors and targets 868 868 869 EventFactory.cpp EventHeaders.h EventInterfaces.h : dom/make_event_factory.pl dom/Event Factory.in870 perl -I $(WebCore)/bindings/scripts $< --input $(WebCore)/dom/Event Factory.in869 EventFactory.cpp EventHeaders.h EventInterfaces.h : dom/make_event_factory.pl dom/EventNames.in 870 perl -I $(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventNames.in 871 871 872 872 EventTargetHeaders.h EventTargetInterfaces.h : dom/make_event_factory.pl dom/EventTargetFactory.in -
trunk/Source/WebCore/DerivedSources.pri
r109036 r109068 44 44 HTML_ENTITIES = $$PWD/html/parser/HTMLEntityNames.in 45 45 46 EVENT _FACTORY = $$PWD/dom/EventFactory.in46 EVENTS_NAMES = $$PWD/dom/EventNames.in 47 47 48 48 EVENT_TARGET_FACTORY = $$PWD/dom/EventTargetFactory.in … … 816 816 # GENERATOR 5-E: 817 817 eventfactory.output = EventFactory.cpp 818 eventfactory.input = EVENT _FACTORY818 eventfactory.input = EVENTS_NAMES 819 819 eventfactory.script = $$PWD/dom/make_event_factory.pl 820 eventfactory.commands = perl -I$$PWD/bindings/scripts $$eventfactory.script --input $$EVENT _FACTORY--outputDir ${QMAKE_FUNC_FILE_OUT_PATH}821 eventfactory.depends = $$PWD/dom/make_event_factory.pl $$EVENT _FACTORY820 eventfactory.commands = perl -I$$PWD/bindings/scripts $$eventfactory.script --input $$EVENTS_NAMES --outputDir ${QMAKE_FUNC_FILE_OUT_PATH} 821 eventfactory.depends = $$PWD/dom/make_event_factory.pl $$EVENTS_NAMES 822 822 GENERATORS += eventfactory 823 823 -
trunk/Source/WebCore/GNUmakefile.am
r109036 r109068 721 721 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in --outputDir "$(GENSOURCES_WEBCORE)" 722 722 723 DerivedSources/WebCore/EventFactory.cpp DerivedSources/WebCore/EventHeaders.h DerivedSources/WebCore/EventInterfaces.h: $(WebCore)/dom/make_event_factory.pl $(WebCore)/dom/Event Factory.in724 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/Event Factory.in --outputDir "$(GENSOURCES_WEBCORE)"723 DerivedSources/WebCore/EventFactory.cpp DerivedSources/WebCore/EventHeaders.h DerivedSources/WebCore/EventInterfaces.h: $(WebCore)/dom/make_event_factory.pl $(WebCore)/dom/EventNames.in 724 $(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $< --input $(WebCore)/dom/EventNames.in --outputDir "$(GENSOURCES_WEBCORE)" 725 725 726 726 DerivedSources/WebCore/EventTargetHeaders.h DerivedSources/WebCore/EventTargetInterfaces.h: $(WebCore)/dom/make_event_factory.pl $(WebCore)/dom/EventTargetFactory.in … … 959 959 Source/WebCore/css/view-source.css \ 960 960 Source/WebCore/css/WebKitFontFamilyNames.in \ 961 Source/WebCore/dom/Event Factory.in \961 Source/WebCore/dom/EventNames.in \ 962 962 Source/WebCore/dom/EventTargetFactory.in \ 963 963 Source/WebCore/dom/make_dom_exceptions.pl \ -
trunk/Source/WebCore/WebCore.gyp/WebCore.gyp
r109036 r109068 729 729 'inputs': [ 730 730 '../dom/make_event_factory.pl', 731 '../dom/Event Factory.in',731 '../dom/EventNames.in', 732 732 ], 733 733 'outputs': [ -
trunk/Source/WebCore/WebCore.gyp/scripts/action_makenames.py
r98793 r109068 131 131 assert attrInput == None 132 132 attrInput = inputAbsPosix 133 elif inputBasename.endswith('Event Factory.in') \134 or inputBasename.endswith('Event TargetFactory.in') \133 elif inputBasename.endswith('EventTargetFactory.in') \ 134 or inputBasename.endswith('EventNames.in') \ 135 135 or inputBasename.endswith('DOMExceptions.in'): 136 136 eventsInput = inputAbsPosix -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r109036 r109068 12288 12288 BC99812D0DBE807A008CE9EF /* DOMAbstractViewFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMAbstractViewFrame.h; sourceTree = "<group>"; }; 12289 12289 BC9A6141146859D9006057FD /* DOMExceptions.in */ = {isa = PBXFileReference; lastKnownFileType = text; path = DOMExceptions.in; sourceTree = "<group>"; }; 12290 BC9A6142146859D9006057FD /* Event Factory.in */ = {isa = PBXFileReference; lastKnownFileType = text; path = EventFactory.in; sourceTree = "<group>"; };12290 BC9A6142146859D9006057FD /* EventNames.in */ = {isa = PBXFileReference; lastKnownFileType = text; path = EventNames.in; sourceTree = "<group>"; }; 12291 12291 BC9A6144146859D9006057FD /* make_dom_exceptions.pl */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; path = make_dom_exceptions.pl; sourceTree = "<group>"; }; 12292 12292 BC9A6145146859D9006057FD /* make_event_factory.pl */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; path = make_event_factory.pl; sourceTree = "<group>"; }; … … 19251 19251 isa = PBXGroup; 19252 19252 children = ( 19253 A83B538014FBB2EC00720D9D /* preprocess-idls.pl */,19254 19253 B5D31DF711CF60E5009F22B4 /* generic */, 19255 19254 BC1A3793097C6FB10019F3D8 /* js */, … … 19260 19259 14813BF309EDF88E00F757E1 /* IDLParser.pm */, 19261 19260 93F8B3080A300FEA00F61AB8 /* IDLStructure.pm */, 19261 A83B538014FBB2EC00720D9D /* preprocess-idls.pl */, 19262 19262 C0F2A43F13869A280066C534 /* preprocessor.pm */, 19263 19263 8C6EA61711EF7E0400FD8EE3 /* RuntimeEnabledFeatures.cpp */, … … 20684 20684 BC60D6E80D28D83400B9918F /* DOMCoreException.h */, 20685 20685 BC60D6EB0D28D99900B9918F /* DOMCoreException.idl */, 20686 BC9A6142146859D9006057FD /* EventNames.in */, 20686 20687 BC9A6141146859D9006057FD /* DOMExceptions.in */, 20687 20688 A8185F3609765765005826D9 /* DOMImplementation.cpp */, … … 20726 20727 BC60D90A0D2A17CE00B9918F /* EventException.idl */, 20727 20728 97665011144FAA4200F6BB51 /* EventFactory.h */, 20728 BC9A6142146859D9006057FD /* EventFactory.in */,20729 20729 935FBC4409BA00B900E230B1 /* EventListener.h */, 20730 20730 85AFA7410AAF298400E84305 /* EventListener.idl */, … … 23524 23524 BC4368E80C226E32005EFB5F /* Rect.h in Headers */, 23525 23525 BCAB418213E356E800D8AAF3 /* Region.h in Headers */, 23526 8ABAFBA014F5107500A4984B /* RegionNodeList.h in Headers */, 23526 23527 85031B4C0A44EFC700F992E0 /* RegisteredEventListener.h in Headers */, 23527 23528 B2C3DA2D0D006C1D00EF6F26 /* RegularExpression.h in Headers */, … … 24380 24381 977E2E0F12F0FC9C00C13379 /* XSSAuditor.h in Headers */, 24381 24382 FD537353137B651800008DCE /* ZeroPole.h in Headers */, 24382 8ABAFBA014F5107500A4984B /* RegionNodeList.h in Headers */,24383 24383 ); 24384 24384 runOnlyForDeploymentPostprocessing = 0; … … 26639 26639 FD31603D12B0267600C1A359 /* RealtimeAnalyserNode.cpp in Sources */, 26640 26640 BCAB418113E356E800D8AAF3 /* Region.cpp in Sources */, 26641 8ABAFB9F14F5107500A4984B /* RegionNodeList.cpp in Sources */, 26641 26642 85031B4B0A44EFC700F992E0 /* RegisteredEventListener.cpp in Sources */, 26642 26643 B2C3DA2C0D006C1D00EF6F26 /* RegularExpression.cpp in Sources */, … … 27334 27335 977E2E0E12F0FC9C00C13379 /* XSSAuditor.cpp in Sources */, 27335 27336 FD537352137B651800008DCE /* ZeroPole.cpp in Sources */, 27336 8ABAFB9F14F5107500A4984B /* RegionNodeList.cpp in Sources */,27337 27337 ); 27338 27338 runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset
for help on using the changeset viewer.