Timeline
Dec 14, 2013:
- 10:32 PM Changeset in webkit [160616] by
-
- 4 edits1 copy in trunk/Source/WebKit2
Add page load delegate for WebProcessPlugInBrowsingContextController.
https://bugs.webkit.org/show_bug.cgi?id=125697
Add page load delegate for WebProcessPlugInBrowsingContextController so that a
WebProcess injected bundle can listen to page load events.
Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2013-12-14
Reviewed by Sam Weinig.
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInLoadDelegate.h: Added.
- WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.h:
- WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
(didStartProvisionalLoadForFrame):
(didFinishLoadForFrame):
(globalObjectIsAvailableForFrame):
(setUpPageLoaderClient):
(-[WKWebProcessPlugInBrowserContextController loadDelegate]):
(-[WKWebProcessPlugInBrowserContextController setLoadDelegate:]):
- 10:20 PM Changeset in webkit [160615] by
-
- 12 edits in trunk/Source/WebCore
CTTE: SVGResourcesCache::cachedResourcesForRenderObject() should take a reference
https://bugs.webkit.org/show_bug.cgi?id=125743
Patch by Sam Weinig <sam@webkit.org> on 2013-12-14
Reviewed by Dan Bernstein.
- rendering/svg/RenderSVGContainer.cpp:
(WebCore::RenderSVGContainer::selfWillPaint):
- rendering/svg/RenderSVGImage.cpp:
(WebCore::RenderSVGImage::imageChanged):
- rendering/svg/RenderSVGResource.cpp:
(WebCore::requestPaintingResource):
(WebCore::removeFromCacheAndInvalidateDependencies):
(WebCore::RenderSVGResource::markForLayoutAndParentResourceInvalidation):
- rendering/svg/RenderSVGResourceClipper.cpp:
(WebCore::RenderSVGResourceClipper::applyClippingToContext):
- rendering/svg/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::paintReplaced):
- rendering/svg/RenderSVGShape.cpp:
(WebCore::RenderSVGShape::shouldGenerateMarkerPositions):
(WebCore::RenderSVGShape::markerRect):
(WebCore::RenderSVGShape::drawMarkers):
- rendering/svg/SVGRenderSupport.cpp:
(WebCore::invalidateResourcesOfChildren):
(WebCore::SVGRenderSupport::layoutChildren):
(WebCore::SVGRenderSupport::intersectRepaintRectWithResources):
(WebCore::SVGRenderSupport::filtersForceContainerLayout):
(WebCore::SVGRenderSupport::pointInClippingArea):
- rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::prepareToRenderSVGContent):
- rendering/svg/SVGResourcesCache.cpp:
(WebCore::SVGResourcesCache::cachedResourcesForRenderObject):
(WebCore::SVGResourcesCache::clientLayoutChanged):
(WebCore::SVGResourcesCache::clientDestroyed):
- rendering/svg/SVGResourcesCache.h:
- rendering/svg/SVGResourcesCycleSolver.cpp:
(WebCore::SVGResourcesCycleSolver::resourceContainsCycles):
- 9:56 PM Changeset in webkit [160614] by
-
- 2 edits in trunk/Source/WebKit
[Win] Unreviewed build fix
QTMovieWin should not be build at the moment, but some builders
are continuing to attempt it. This change marks the project
file as excluded from building.
- WebKit.vcxproj/WebKit.sln: Mark QTMovieWin as excluded from build.
- 9:41 PM Changeset in webkit [160613] by
-
- 3 edits in trunk/Source/JavaScriptCore
FTL should *really* know when things are flushed
https://bugs.webkit.org/show_bug.cgi?id=125747
Reviewed by Sam Weinig.
Fix more codegen badness. This makes V8v7's crypto am3() function run faster in the FTL
than in DFG. This means that even if we just compile those functions in V8v7 that don't
make calls, the FTL gives us a 2% speed-up over the DFG. That's pretty good considering
that we have still more optimizations to fix and we can make calls work.
- dfg/DFGSSAConversionPhase.cpp:
(JSC::DFG::SSAConversionPhase::run):
- ftl/FTLCompile.cpp:
(JSC::FTL::fixFunctionBasedOnStackMaps):
- 9:29 PM Changeset in webkit [160612] by
-
- 2 edits in trunk/LayoutTests
[Win] Disable media tests while we sort out QTSDK issues.
Unreviewed patch to get test bots green
- platform/win/TestExpectations
- 8:47 PM Changeset in webkit [160611] by
-
- 2 edits1 add in trunk/Tools
stylebot should warn when FeatureDefines differ
https://bugs.webkit.org/show_bug.cgi?id=125748
Reviewed by Dan Bernstein.
Add a stylebot checker that ensures that FeatureDefines.xcconfig files
are always exactly equal (and warns people adding new FeatureDefines.xcconfig files,
an unlikely occurrance, to add them to the list).
It's a bit nontraditional for stylebot because it will warn on existing errors in the tree,
but that is the most straightforward way to implement it (and we're at zero diffs right now).
- Scripts/webkitpy/style/checker.py:
(_all_categories):
(FileType):
(CheckerDispatcher._file_type):
(CheckerDispatcher._create_checker):
- Scripts/webkitpy/style/checkers/featuredefines.py: Added.
(FeatureDefinesChecker):
(FeatureDefinesChecker.init):
(FeatureDefinesChecker.check):
- 7:08 PM Changeset in webkit [160610] by
-
- 3 edits in branches/jsCStack/Source/JavaScriptCore
FTL should *really* know when things are flushed
https://bugs.webkit.org/show_bug.cgi?id=125747
Not yet reviewed.
Fix more codegen badness. This makes V8v7's crypto am3() function run faster in the FTL
than in DFG. This means that even if we just compile those functions in V8v7 that don't
make calls, the FTL gives us a 2% speed-up over the DFG. That's pretty good considering
that we have still more optimizations to fix and we can make calls work.
- dfg/DFGSSAConversionPhase.cpp:
(JSC::DFG::SSAConversionPhase::run):
- ftl/FTLCompile.cpp:
(JSC::FTL::fixFunctionBasedOnStackMaps):
- 5:16 PM Changeset in webkit [160609] by
-
- 2 edits in trunk/Source/WebKit2
[iOS] Implement NetworkProcess::allowSpecificHTTPSCertificateForHost
https://bugs.webkit.org/show_bug.cgi?id=125744
Reviewed by Sam Weinig.
- NetworkProcess/ios/NetworkProcessIOS.mm:
(WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHost): Implemented by calling
+[NSURLRequest setAllowsSpecificHTTPSCertificate:forHost:].
- 5:09 PM Changeset in webkit [160608] by
-
- 43 edits1 move in trunk/Source/WebKit2
[WK2] Rename WebString to API::String
https://bugs.webkit.org/show_bug.cgi?id=125726
Reviewed by Anders Carlsson.
- Shared/API/Cocoa/WKRemoteObjectCoder.mm:
- Shared/API/Cocoa/WKRemoteObjectRegistry.mm:
- Shared/API/c/WKPluginInformation.cpp:
- Shared/API/c/WKSharedAPICast.h:
- Shared/API/c/WKString.cpp:
- Shared/API/c/cf/WKStringCF.mm:
- Shared/APIArray.cpp:
- Shared/APIArray.h:
- Shared/APIString.h: Copied from Source/WebKit2/Shared/WebString.h.
- Shared/Cocoa/WKNSString.h:
- Shared/Cocoa/WKNSString.mm:
- Shared/ImmutableDictionary.cpp:
- Shared/Plugins/Netscape/PluginInformation.cpp:
- Shared/Plugins/Netscape/mac/PluginInformationMac.mm:
- Shared/UserData.cpp:
- Shared/UserMessageCoders.h:
- Shared/WebArchiveResource.h:
- Shared/WebOpenPanelParameters.cpp:
- Shared/WebRenderLayer.cpp:
- Shared/WebRenderObject.cpp:
- Shared/WebString.h: Removed.
- UIProcess/API/C/WKCredential.cpp:
- UIProcess/API/C/WKDatabaseManager.cpp:
- UIProcess/API/C/WKPage.cpp:
- UIProcess/API/C/mac/WKContextPrivateMac.mm:
- UIProcess/API/Cocoa/WKBrowsingContextGroup.mm:
- UIProcess/APINavigationData.h:
- UIProcess/Authentication/WebCredential.h:
- UIProcess/Notifications/WebNotificationManagerProxy.cpp:
- UIProcess/Plugins/PlugInAutoStartProvider.cpp:
- UIProcess/Plugins/WebPluginSiteDataManager.cpp:
- UIProcess/WebContext.cpp:
- UIProcess/WebDatabaseManagerProxy.cpp:
- UIProcess/WebFormClient.cpp:
- UIProcess/WebLoaderClient.cpp:
- UIProcess/WebPageGroup.cpp:
- UIProcess/WebUIClient.cpp:
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
- WebProcess/InjectedBundle/InjectedBundle.cpp:
- WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
- WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
- WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
- WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm:
- 4:43 PM Changeset in webkit [160607] by
-
- 2 edits in branches/jsCStack/Source/JavaScriptCore
Unreviewed, revert r156746, "FTL: split overflow checks into non-overflow arithmetic and an additional call to the overflow intrinsic check."
This introduces redundancies that LLVM can't handle. Reverting this change brings the
FTL up to being on-par with the DFG on V8v7/encrypt.
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileAddSub):
(JSC::FTL::LowerDFGToLLVM::compileArithMul):
(JSC::FTL::LowerDFGToLLVM::compileArithNegate):
- 4:21 PM Changeset in webkit [160606] by
-
- 2 edits in trunk/Source/WebCore
Clean up the project after r160487
- WebCore.xcodeproj/project.pbxproj: Moved reference to Security.framework from the top
level of the project to the Frameworks group, and made it SDK-relative.
- 4:11 PM Changeset in webkit [160605] by
-
- 6 edits in trunk/Source
Unify FeatureDefines.xcconfig
https://bugs.webkit.org/show_bug.cgi?id=125741
Rubber-stamped by Dan Bernstein.
Source/JavaScriptCore:
- Configurations/FeatureDefines.xcconfig: Enable ENABLE_MEDIA_SOURCE.
Source/WebKit/mac:
- Configurations/FeatureDefines.xcconfig: Remove a stray space in
FEATURE_DEFINES.
Source/WebKit2:
- Configurations/FeatureDefines.xcconfig: Remove a space in
FEATURE_DEFINES and fix a typo in ENABLE_CSS3_TEXT_DECORATION.
- 3:57 PM Changeset in webkit [160604] by
-
- 2 edits in trunk/Source/WebKit2
iOS build fix.
- UIProcess/API/Cocoa/WKBrowsingContextController.h: Declared
observedRenderingProgressEvents as nonatomic.
- 3:28 PM Changeset in webkit [160603] by
-
- 3 edits in trunk/Source/WebKit2
[Cocoa] Expose WebContext::allowSpecificHTTPSCertificateForHost
https://bugs.webkit.org/show_bug.cgi?id=125738
Reviewed by Mark Rowe.
- UIProcess/API/Cocoa/WKProcessGroup.mm:
(-[WKProcessGroup _setAllowsSpecificHTTPSCertificate:forHost:]): Added. Calls through to
WebContext::allowSpecificHTTPSCertificateForHost.
- UIProcess/API/Cocoa/WKProcessGroupPrivate.h: Declared new method.
- 3:24 PM Changeset in webkit [160602] by
-
- 4 edits in trunk/Source/WebKit2
[Cocoa] Expose some layout milestones
https://bugs.webkit.org/show_bug.cgi?id=125721
Reviewed by Sam Weinig.
- UIProcess/API/Cocoa/WKBrowsingContextController.h:
(WKRenderingProgressEvents): Declared new enum.
(@interface WKBrowsingContextController): Declared new observedRenderingProgressEvents
property.
- UIProcess/API/Cocoa/WKBrowsingContextController.mm:
(layoutMilestones): Added helper to translate rendering progress events into layout
milestones.
(-[WKBrowsingContextController setObservedRenderingProgressEvents:]): Added this setter.
Sets the ivar and calls WebPageProxy::listenForLayoutMilestones.
(renderingProgressEvents): Added helper to translate layout milestones into rendering
progress events.
(didLayout): Implemented this WKPageLoaderClient callback by calling the load delegate.
(setUpPageLoaderClient): Set the above callback in the client structure.
- UIProcess/API/Cocoa/WKBrowsingContextLoadDelegate.h: Declared new delegate method.
- 1:49 PM Changeset in webkit [160601] by
-
- 2 edits in trunk/Source/WebKit2
Clarify Owners’ role
https://bugs.webkit.org/show_bug.cgi?id=125739
Reviewed by Anders Carlsson.
- Owners: Clarify that a patch authored by an Owner does not have to be reviewed by one, as
decided during the 2013 WebKit Contributors Meeting.
- 1:38 PM Changeset in webkit [160600] by
-
- 31 edits in branches/jsCStack
cStack: Calling into FTL-generated code should be fast
https://bugs.webkit.org/show_bug.cgi?id=125649
Not yet reviewed.
- assembler/AbstractMacroAssembler.h:
- bytecode/StructureStubInfo.h:
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::cachedGetById):
(JSC::DFG::SpeculativeJIT::cachedPutById):
- ftl/FTLAbbreviations.h:
(JSC::FTL::arrayType):
- ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
- ftl/FTLCompile.cpp:
(JSC::FTL::fixFunctionBasedOnStackMaps):
- ftl/FTLExitValue.h:
(JSC::FTL::ExitValue::withVirtualRegister):
- ftl/FTLIntrinsicRepository.h:
- ftl/FTLJITCode.cpp:
(JSC::FTL::JITCode::initializeEntrypoint):
(JSC::FTL::JITCode::initializeAddressForCall):
(JSC::FTL::JITCode::addressForCall):
(JSC::FTL::JITCode::executableAddressAtOffset):
- ftl/FTLJITCode.h:
- ftl/FTLJITFinalizer.cpp:
(JSC::FTL::JITFinalizer::finalizeFunction):
- ftl/FTLLink.cpp:
(JSC::FTL::link):
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::lower):
(JSC::FTL::LowerDFGToLLVM::compileGetById):
(JSC::FTL::LowerDFGToLLVM::compilePutById):
(JSC::FTL::LowerDFGToLLVM::buildExitArguments):
(JSC::FTL::LowerDFGToLLVM::payloadFor):
(JSC::FTL::LowerDFGToLLVM::tagFor):
(JSC::FTL::LowerDFGToLLVM::addressFor):
- ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileStub):
- ftl/FTLOutput.h:
(JSC::FTL::Output::ptrToInt):
- ftl/FTLSlowPathCall.cpp:
(JSC::FTL::callOperation):
- ftl/FTLSlowPathCall.h:
- ftl/FTLState.h:
- ftl/FTLThunks.cpp:
(JSC::FTL::osrExitGenerationThunkGenerator):
- ftl/FTLThunks.h:
- heap/Heap.cpp:
(JSC::Heap::collectIfNecessaryOrDefer):
- heap/Heap.h:
(JSC::Heap::isDeferred):
- jit/AssemblyHelpers.h:
(JSC::AssemblyHelpers::tagFor):
(JSC::AssemblyHelpers::payloadFor):
- jit/JITInlineCacheGenerator.cpp:
(JSC::JITByIdGenerator::JITByIdGenerator):
(JSC::JITPutByIdGenerator::JITPutByIdGenerator):
- jit/JITInlineCacheGenerator.h:
(JSC::JITGetByIdGenerator::JITGetByIdGenerator):
- jit/JITPropertyAccess.cpp:
(JSC::JIT::emit_op_get_by_id):
(JSC::JIT::emit_op_put_by_id):
- jit/Repatch.cpp:
(JSC::tryBuildGetByIDList):
(JSC::emitPutTransitionStub):
- runtime/JSCJSValue.h:
- runtime/Options.h:
- 10:58 AM Changeset in webkit [160599] by
-
- 42 edits in trunk/Source
Page::theme() should return a reference.
<https://webkit.org/b/125737>
There's always a RenderTheme, and not a single call site was checking
for null pointers anyway. Updated RenderObject::theme() as well.
Reviewed by Antti Koivisto.
- 10:05 AM Changeset in webkit [160598] by
-
- 53 edits in trunk/Source/WebCore
CTTE: Convert Element and RenderObject iterator usage to use range-based for loops
https://bugs.webkit.org/show_bug.cgi?id=125731
Reviewed by Andreas Kling.
Perform straight forward conversions. A few stragglers that do odd things remain.
- 9:53 AM Changeset in webkit [160597] by
-
- 4 edits in trunk/Source/WebCore
Small string improvements to JSInjectedScriptHost::type and other bindings
https://bugs.webkit.org/show_bug.cgi?id=125722
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-12-14
Reviewed by Timothy Hatcher.
- bindings/js/JSInjectedScriptHostCustom.cpp:
(WebCore::JSInjectedScriptHost::type):
Use SmallStrings, jsNontrivialString and ASCIILiteral.
- bindings/js/JSJavaScriptCallFrameCustom.cpp:
(WebCore::JSJavaScriptCallFrame::type):
Use jsNontrivialString.
- bridge/c/c_instance.cpp:
(JSC::Bindings::CInstance::stringValue):
Use jsNontrivialString and ASCIILiteral.
- 4:40 AM Changeset in webkit [160596] by
-
- 4 edits in trunk/Source/WebCore
Move a couple of inlines from RenderObject to RenderElement.
<https://webkit.org/b/125734>
Take most of the inline functions on RenderObject that call style()
and move them over to RenderElement where style() is branchless.
Reviewed by Antti Koivisto.
- 4:39 AM Changeset in webkit [160595] by
-
- 6 edits in trunk/Source/WebCore
RenderElement::rendererForRootBackground() should return a reference.
<https://webkit.org/b/125735>
This function always finds a renderer to return.
Reviewed by Antti Koivisto.
- 2:13 AM Changeset in webkit [160594] by
-
- 4 edits in trunk/Source
Build fix after r160557.
Source/JavaScriptCore:
r160557 added the first generated header to JavaScriptCore that needs to be installed in to
the framework wrapper. Sadly JavaScriptCore's Derived Sources target was not set to generate
headers when invoked as part of the installhdrs action. This resulted in the build failing
due to Xcode being unable to find the header file to install. The fix for this is to configure
the Derived Sources target to use JavaScriptCore.xcconfig, which sets INSTALLHDRS_SCRIPT_PHASE
to YES and allows Xcode to generate derived sources during the installhdrs action.
Enabling INSTALLHDRS_SCRIPT_PHASE required tweaking the Generate Derived Sources script build
phase to skip running code related to offlineasm that depends on JSCLLIntOffsetExtractor
having been compiled, which isn't the case at installhdrs time.
- JavaScriptCore.xcodeproj/project.pbxproj:
Source/WebCore:
- Configurations/WebCore.xcconfig: Find JavaScriptCore.framework below SDKROOT so that we'll pick
up the built version in production builds rather than the system version.
- 1:03 AM Changeset in webkit [160593] by
-
- 3 edits in trunk/Source/WebCore
[GStreamer] Use GMutexLocker instead of g_mutex_lock
https://bugs.webkit.org/show_bug.cgi?id=125588
Reviewed by Philippe Normand.
No new tests because this is just code simplification.
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::updateTexture):
(WebCore::MediaPlayerPrivateGStreamerBase::triggerRepaint):
(WebCore::MediaPlayerPrivateGStreamerBase::paint):
- platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
(webkitVideoSinkTimeoutCallback):
(webkitVideoSinkRender):
(unlockBufferMutex):
(webkitVideoSinkUnlockStop):
(webkitVideoSinkStart):
Dec 13, 2013:
- 11:53 PM Changeset in webkit [160592] by
-
- 8 edits in trunk
Some Set and Map prototype functions have incorrect function lengths
https://bugs.webkit.org/show_bug.cgi?id=125732
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-12-13
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
- runtime/MapPrototype.cpp:
(JSC::MapPrototype::finishCreation):
- runtime/SetPrototype.cpp:
(JSC::SetPrototype::finishCreation):
LayoutTests:
- js/basic-map-expected.txt:
- js/basic-set-expected.txt:
- js/script-tests/basic-map.js:
- js/script-tests/basic-set.js:
- 11:43 PM Changeset in webkit [160591] by
-
- 10 edits in branches/jsCStack/Source
CStack Branch: Remove WTF_USE_SEPARATE_C_AND_JS_STACK
https://bugs.webkit.org/show_bug.cgi?id=125733
Reviewed by Mark Lam.
WTF_USE_SEPARATE_C_AND_JS_STACK is only set for ENABLE(LLINT_C_LOOP) and is
therefore not needed. Replaced #if USE(SEPARATE_C_AND_JS_STACK) with
#if ENABLE(LLINT_C_LOOP) and eliminated WTF_USE_SEPARATE_C_AND_JS_STACK.
Source/JavaScriptCore:
- assembler/MaxFrameExtentForSlowPathCall.h:
- heap/Heap.cpp:
(JSC::Heap::markRoots):
- interpreter/JSStack.cpp:
(JSC::JSStack::gatherConservativeRoots):
- interpreter/JSStackInlines.h:
(JSC::JSStack::updateStackLimit):
- runtime/CommonSlowPaths.h:
(JSC::CommonSlowPaths::arityCheckFor):
- runtime/VM.cpp:
(JSC::VM::VM):
- runtime/VM.h:
Source/WTF:
- wtf/Platform.h:
- 11:29 PM Changeset in webkit [160590] by
-
- 5 edits in trunk/Source/WebCore
Move RenderObject::repaintAfterLayoutIfNeeded() to RenderElement.
<https://webkit.org/b/125712>
This function is only ever called on RenderElements, so move it there.
Removes some RenderObject::style() branchiness.
Reviewed by Darin Adler.
- 11:17 PM Changeset in webkit [160589] by
-
- 5 edits in branches/jsCStack/Source
cStack: Crypto crashes in GC
https://bugs.webkit.org/show_bug.cgi?id=125730
Reviewed by Filip Pizlo.
Need to disable visiting the JSStack when we are on the C stack.
Made visiting the JSStack conditional on USE(SEPARATE_C_AND_JS_STACK)
and then turned off WTF_USE_SEPARATE_C_AND_JS_STACK in platform.h.
Source/JavaScriptCore:
- heap/Heap.cpp:
(JSC::Heap::markRoots):
- interpreter/JSStack.cpp:
(JSC::JSStack::gatherConservativeRoots):
Source/WTF:
- wtf/Platform.h:
- 10:50 PM Changeset in webkit [160588] by
-
- 26 edits2 moves1 add in trunk
Web Inspector: Move Inspector and Debugger protocol domains into JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=125707
Reviewed by Timothy Hatcher.
Source/JavaScriptCore:
- CMakeLists.txt:
- DerivedSources.make:
- GNUmakefile.am:
- inspector/protocol/Debugger.json: Renamed from Source/WebCore/inspector/protocol/Debugger.json.
- inspector/protocol/GenericTypes.json: Added.
- inspector/protocol/InspectorDomain.json: Renamed from Source/WebCore/inspector/protocol/InspectorDomain.json.
Add new files to inspector generation.
- inspector/scripts/CodeGeneratorInspector.py:
(Generator.go):
Only build TypeBuilder output if the domain only has types. Avoid
backend/frontend dispatchers and backend commands.
(TypeBindings.create_type_declaration_.EnumBinding.get_setter_value_expression_pattern):
(format_setter_value_expression):
(Generator.process_command):
(Generator.generate_send_method):
- inspector/scripts/CodeGeneratorInspectorStrings.py:
Export and name the get{JS,Web}EnumConstant function.
Source/WebCore:
- Switch TypeBuilder::Page::SearchMatch to TypeBuilder::GenericTypes::SearchMatch which comes from InspectorJSTypeBuilders.
- Remove domains that moved to JavaScriptCore.
No new tests, this only moves code around. There are no functional changes.
- CMakeLists.txt:
- DerivedSources.make:
- GNUmakefile.am:
Add new files.
- inspector/ContentSearchUtils.cpp:
(WebCore::ContentSearchUtils::buildObjectForSearchMatch):
(WebCore::ContentSearchUtils::searchInTextByLines):
- inspector/ContentSearchUtils.h:
- inspector/InspectorAgent.cpp:
- inspector/InspectorAgent.h:
- inspector/InspectorDebuggerAgent.h:
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::searchInResource):
- inspector/InspectorPageAgent.h:
- inspector/protocol/Page.json:
Update includes and type builder type names.
- inspector/InspectorDebuggerAgent.cpp:
(WebCore::breakpointActionTypeForString):
(WebCore::InspectorDebuggerAgent::searchInContent):
- inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
Use the new getEnum function names.
Source/WebInspectorUI:
- UserInterface/InspectorJSBackendCommands.js:
- UserInterface/InspectorWebBackendCommands.js:
Regenerate now that domains have moved around.
LayoutTests:
- http/tests/inspector-protocol/resources/InspectorTest.js:
(InspectorTest.checkForError):
Since having a protocol error is likely wrong, make the output
for it as detailed as possible.
- 10:33 PM Changeset in webkit [160587] by
-
- 32 edits in trunk/Source/JavaScriptCore
Get rid of forward exit on UInt32ToNumber by adding an op_unsigned bytecode instruction
https://bugs.webkit.org/show_bug.cgi?id=125553
Reviewed by Oliver Hunt.
UInt32ToNumber was a super complicated node because it had to do a speculation, but it
would do it after we already had computed the urshift. It couldn't just back to the
beginning of the urshift because the inputs to the urshift weren't necessarily live
anymore. We couldn't jump forward to the beginning of the next instruction because the
result of the urshift was not yet unsigned-converted.
For a while we solved this by forward-exiting in UInt32ToNumber. But that's really
gross and I want to get rid of all forward exits. They cause a lot of bugs.
We could also have turned UInt32ToNumber to a backwards exit by forcing the inputs to
the urshift to be live. I figure that this might be a bit too extreme.
So, I just created a new place that we can exit to: I split op_urshift into op_urshift
followed by op_unsigned. op_unsigned is an "unsigned cast" along the lines of what
UInt32ToNumber does. This allows me to get rid of all of the nastyness in the DFG for
forward exiting in UInt32ToNumber.
This patch enables massive code carnage in the DFG and FTL, and brings us closer to
eliminating one of the DFG's most confusing concepts. On the flipside, it does make the
bytecode slightly more complex (one new instruction). This is a profitable trade. We
want the DFG and FTL to trend towards simplicity, since they are both currently too
complicated.
- bytecode/BytecodeUseDef.h:
(JSC::computeUsesForBytecodeOffset):
(JSC::computeDefsForBytecodeOffset):
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dumpBytecode):
- bytecode/Opcode.h:
(JSC::padOpcodeName):
- bytecode/ValueRecovery.cpp:
(JSC::ValueRecovery::dumpInContext):
- bytecode/ValueRecovery.h:
(JSC::ValueRecovery::gpr):
- bytecompiler/NodesCodegen.cpp:
(JSC::BinaryOpNode::emitBytecode):
(JSC::emitReadModifyAssignment):
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::toInt32):
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGClobberize.h:
(JSC::DFG::clobberize):
- dfg/DFGNodeType.h:
- dfg/DFGOSRExitCompiler32_64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
- dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileMovHint):
(JSC::DFG::SpeculativeJIT::compileUInt32ToNumber):
- dfg/DFGSpeculativeJIT.h:
- dfg/DFGSpeculativeJIT32_64.cpp:
- dfg/DFGSpeculativeJIT64.cpp:
- dfg/DFGStrengthReductionPhase.cpp:
(JSC::DFG::StrengthReductionPhase::handleNode):
(JSC::DFG::StrengthReductionPhase::convertToIdentityOverChild):
(JSC::DFG::StrengthReductionPhase::convertToIdentityOverChild1):
(JSC::DFG::StrengthReductionPhase::convertToIdentityOverChild2):
- ftl/FTLFormattedValue.h:
(JSC::FTL::int32Value):
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileUInt32ToNumber):
- ftl/FTLValueFormat.cpp:
(JSC::FTL::reboxAccordingToFormat):
(WTF::printInternal):
- ftl/FTLValueFormat.h:
- jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
(JSC::JIT::privateCompileSlowCases):
- jit/JIT.h:
- jit/JITArithmetic.cpp:
(JSC::JIT::emit_op_urshift):
(JSC::JIT::emitSlow_op_urshift):
(JSC::JIT::emit_op_unsigned):
(JSC::JIT::emitSlow_op_unsigned):
- jit/JITArithmetic32_64.cpp:
(JSC::JIT::emitRightShift):
(JSC::JIT::emitRightShiftSlowCase):
(JSC::JIT::emit_op_unsigned):
(JSC::JIT::emitSlow_op_unsigned):
- llint/LowLevelInterpreter32_64.asm:
- llint/LowLevelInterpreter64.asm:
- runtime/CommonSlowPaths.cpp:
(JSC::SLOW_PATH_DECL):
- runtime/CommonSlowPaths.h:
- 10:25 PM Changeset in webkit [160586] by
-
- 2 edits in branches/jsCStack/Source/JavaScriptCore
cStack: Crypto doesn't work at all unless LLInt is disabled
https://bugs.webkit.org/show_bug.cgi?id=125729
Reviewed by Filip Pizlo.
At the end of the functionArityCheck() macro, updated the stack pointer with the
amount the frame moved. This change has already been made in the
arityFixup thunk generator.
- llint/LowLevelInterpreter64.asm:
- 8:55 PM Changeset in webkit [160585] by
-
- 2 edits in trunk/Source/WebInspectorUI
Web Inspector: Exception: TypeError: undefined is not a function (evaluating 'marker.find()')
https://bugs.webkit.org/show_bug.cgi?id=125724
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-12-13
Reviewed by Darin Adler.
- UserInterface/CSSStyleDeclarationTextEditor.js:
(WebInspector.CSSStyleDeclarationTextEditor.prototype.):
(WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches):
The callback changed to returning WebInspector.TextMarkers, however
this class expected a raw CodeMirror marker. Since this class knows
about CodeMirror and expects to access these markers later go
directly to the CodeMirror marker.
- 8:42 PM Changeset in webkit [160584] by
-
- 6 edits in trunk/Source/WebKit2
[WK2] Fix the build and enable the NetworkProcess by default on iOS
https://bugs.webkit.org/show_bug.cgi?id=125723
Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-12-13
Reviewed by Sam Weinig.
- Configurations/WebKit2.xcconfig:
Fix the list of excluded file to get the processes building.
- NetworkProcess/ios/NetworkProcessIOS.mm:
(WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHosAt):
Update PlatformCertificateInfo->CertificateInfo match the new name after r159647.
- UIProcess/API/Cocoa/WKProcessGroup.mm:
(-[WKProcessGroup initWithInjectedBundleURL:]):
Enable the NetworkProcess by default.
- UIProcess/Network/mac/NetworkProcessProxyMac.mm:
(WebKit::shouldUseXPC):
Use the right macro.
- WebKit2Prefix.h:
Eanble the flags NETWORK_PROCESS and CUSTOM_PROTOCOLS.
- 7:41 PM Changeset in webkit [160583] by
-
- 2 edits in trunk/Source/WebKit2
Demoted ActivityAssertion.h to a project header.
Rubber-stamped by Sam Weinig.
- WebKit2.xcodeproj/project.pbxproj:
- 7:16 PM Changeset in webkit [160582] by
-
- 2 edits in trunk/Tools
Fix API tests.
- TestWebKitAPI/Tests/WebKit2/WillLoad.cpp:
(TestWebKitAPI::TEST_F):
- 7:14 PM Changeset in webkit [160581] by
-
- 10 edits in trunk
Source/WebCore: [Win] Remove pre-VS2013 support code.
https://bugs.webkit.org/show_bug.cgi?id=125693
Reviewed by Darin Adler.
- Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::setQuota): Use C99 format arguments
- loader/FTPDirectoryParser.cpp:
(WebCore::parseOneFTPLine): Ditto
- loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::pruneUnretainedIcons): Ditto
- platform/sql/SQLiteDatabase.cpp:
(WebCore::SQLiteDatabase::setMaximumSize): Ditto
Source/WTF: [Win] Remove Pre-VS2013 support code.
https://bugs.webkit.org/show_bug.cgi?id=125693
Reviewed by Darin Adler.
- wtf/StringPrintStream.cpp:
(WTF::StringPrintStream::vprintf): Use va_copy, like a civilized person.
Tools: [Win] Remove Pre-VS2013 support code.
https://bugs.webkit.org/show_bug.cgi?id=125693
Reviewed by Darin Adler.
- DumpRenderTree/cg/ImageDiffCG.cpp: Remove strtof stub now supplied by
the math library.
- DumpRenderTree/win/ImageDiffCairo.cpp: Ditto.
- 6:53 PM Changeset in webkit [160580] by
-
- 2 edits in trunk/Source/WTF
Incorrect handling of non-ASCII characters in WTF::base64DecodeInternal
https://bugs.webkit.org/show_bug.cgi?id=125658
Reviewed by Alexey Proskuryakov.
- wtf/text/Base64.cpp:
(WTF::base64EncodeInternal): Use a reference to an array instead of a pointer
for the table argument type so we check the size of the array at the call site.
(WTF::base64DecodeInternal): Ditto. Also added an bounds check before using the
table so we don't load some random value for non-ASCII characters.
- 6:02 PM Changeset in webkit [160579] by
-
- 2 edits in trunk/WebKitLibraries
[Win] Unreviewed build fix for VS2013
- win/lib32/WebKitSystemInterface.lib: Updated to use VS2013 _MSC_VER symbols
for linking.
- 5:53 PM Changeset in webkit [160578] by
-
- 2 edits in trunk/Source/WebCore
SVG bindings are improperly being generated with "fastGetAttribute"
https://bugs.webkit.org/show_bug.cgi?id=125670
Reviewed by Darin Adler.
A bug was introduced in r152845 that improperly called the
IsSVGAnimatedType using the $attribute hash, rather than the
expected $attribute->signature->type.
- bindings/scripts/CodeGenerator.pm:
(GetterExpression): Clean up attribute type confusion.
- 5:43 PM Changeset in webkit [160577] by
-
- 3 edits in trunk/Source/WebCore
[Win] Unreviewed build fix after r160548
- WebCore.vcxproj/WebCore.vcxproj: Exclude MediaPlayerPrivateQuickTimeVisualContext from
Windows build.
- platform/graphics/MediaPlayer.cpp: Don't use QuickTime as the PlatformMediaEngine.
- 5:23 PM Changeset in webkit [160576] by
-
- 2 edits in trunk/Source/WebKit
Unreviewed build correction after r160548.
- WebKit.vcxproj/WebKit/WebKitApple.props: Exclude linking with QTMoveWin, which does
not build with VS2013.
- 5:16 PM Changeset in webkit [160575] by
-
- 2 edits in trunk/Source/WebKit
Unreviewed build correction after r160548
- WebKit.vcxproj/WebKit.sln: Revise build order to avoid errors with ANGLE included.
- 5:01 PM Changeset in webkit [160574] by
-
- 9 edits in trunk/Source
[Win] Unreviewed build fix after r160548
Source/ThirdParty/ANGLE:
I missed the ANGLE files, since we aren't building these
on the Apple Windows port at the moment.
- ANGLE.vcxproj/libEGL.vcxproj: Update to VS2013
- ANGLE.vcxproj/libGLESv2.vcxproj: Ditto
- ANGLE.vcxproj/preprocessor.vcxproj: Ditto
- ANGLE.vcxproj/translator_common.vcxproj: Ditto
- ANGLE.vcxproj/translator_glsl.vcxproj: Ditto
- ANGLE.vcxproj/translator_hlsl.vcxproj: Ditto
Source/WebKit:
- WebKit.vcxproj/WebKit.sln: Revised to build under VS2013.
- 4:39 PM Changeset in webkit [160573] by
-
- 7 edits in branches/jsCStack/Source/JavaScriptCore
Fix exception handling for the LLINT.
https://bugs.webkit.org/show_bug.cgi?id=125672.
Reviewed by Geoffrey Garen.
The baseline JIT exception handling is still broken.
- JavaScriptCore.order:
- llint/LLIntSlowPaths.cpp:
- llint/LLIntSlowPaths.h:
- llint/LowLevelInterpreter.asm:
- llint/LowLevelInterpreter32_64.asm:
- updated the 32bit file with some of the changes to keep track with the 64bit one though it doesn't build yet. The build failure will clearly tell us some of the things that need to be fixed later.
- llint/LowLevelInterpreter64.asm:
- Called restoreStackPointerAfterCall() in op_catch and nativeCallTrampoline to restore the appropriate stack pointer.
- Renamed the restoreStackPointerAfterJSCall() macro to restoreStackPointerAfterCall because we also need to call it after a call to a native / host function.
- Removed llint_throw_from_native_call because it no longer does anything useful.
- Moved call to functionEpilogue() in nativeCallTrampoline before the exception check because we should have returned from the native / host function already.
The Interpreter::unwind() code also relies on this. The VM will unwind and "pop"
JS frames, but will stop at host frames. The host frame should pop itself. Then,
we call Interpreter::unwind() again to continue for caller frames further up
the stack.
- Removed the check for the sentinel frame in handleUncaughtException because we're guaranteed to be at the frame above the sentinel frame.
- 3:59 PM Changeset in webkit [160572] by
-
- 9 edits in trunk/Source/WebKit2
[WK2] Start removing calls to String::characters()
https://bugs.webkit.org/show_bug.cgi?id=125699
Reviewed by Anders Carlsson.
- Shared/mac/WebCoreArgumentCodersMac.mm:
(CoreIPC::::decodePlatformData):
- UIProcess/Plugins/PluginInfoStore.cpp:
(WebKit::PluginInfoStore::defaultLoadPolicyForPlugin):
(WebKit::PluginInfoStore::findPlugin):
- UIProcess/Plugins/PluginInfoStore.h:
- UIProcess/Plugins/mac/PluginInfoStoreMac.mm:
(WebKit::PluginInfoStore::pluginsDirectories):
(WebKit::PluginInfoStore::pluginPathsInDirectory):
- UIProcess/cf/WebPreferencesCF.cpp:
(WebKit::makeKey):
- WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:
(WebKit::InjectedBundle::load):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::loadStringImpl):
(WebKit::WebPage::loadHTMLString):
(WebKit::WebPage::loadAlternateHTMLString):
(WebKit::WebPage::loadPlainTextString):
(WebKit::WebPage::loadWebArchiveData):
- WebProcess/WebPage/WebPage.h:
- 3:57 PM Changeset in webkit [160571] by
-
- 3 edits in trunk/Source/JavaScriptCore
LLInt should not conditionally branch to to labels outside of its function
https://bugs.webkit.org/show_bug.cgi?id=125713
Reviewed by Geoffrey Garen.
Conditional branches are insufficient for jumping to out-of-function labels.
The fix is to use an unconditional jmp to the label combined with a conditional branch around the jmp.
- llint/LowLevelInterpreter32_64.asm:
- llint/LowLevelInterpreter64.asm:
- 3:56 PM Changeset in webkit [160570] by
-
- 2 edits in trunk/Websites/webkit.org
Update build instructions for Windows following upgrade to VS2013.
- building/tools.html:
- 3:29 PM Changeset in webkit [160569] by
-
- 2 edits in trunk/Tools
Update Webkit bots.
Unreviewed.
- BuildSlaveSupport/build.webkit.org-config/config.json:
- 3:28 PM Changeset in webkit [160568] by
-
- 6 edits in trunk
[GTK] Remove Warnings in building about duplicate INSPECTOR variables
https://bugs.webkit.org/show_bug.cgi?id=125710
Reviewed by Tim Horton.
- GNUmakefile.am:
Source/JavaScriptCore:
- GNUmakefile.am:
Source/WebCore:
- GNUmakefile.am:
- 3:04 PM Changeset in webkit [160567] by
-
- 6 edits in trunk
[WebGL] Check for global variable precision mismatch between vertex and fragment shaders.
https://bugs.webkit.org/show_bug.cgi?id=125546.
<rdar://problem/15203364>
Reviewed by Brent Fulgham.
Covered Khronos conformances tests:
webgl/1.0.2/glsl/misc/shader-with-global-variable-precision-mismatch.html
- html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::linkProgram):
- platform/graphics/GraphicsContext3D.h: Rename areProgramSymbolsValid since it currently only serves one purpose.
- platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::precisionsMatch):
- platform/mac/TestExpectations:
Unskip webgl/1.0.2/glsl/misc/shader-with-global-variable-precision-mismatch.html
- 2:09 PM Changeset in webkit [160566] by
-
- 13 edits in trunk/Source/WebKit2
WK2: Add support for inline candidates on iOS.
https://bugs.webkit.org/show_bug.cgi?id=125667
Reviewed by Benjamin Poulain.
The state required to support inline candidates is cached in the UI process.
Asynchronous messages are used to set and confirm the composition.
- Shared/EditorState.cpp:
(WebKit::EditorState::encode):
(WebKit::EditorState::decode):
- Shared/EditorState.h:
- UIProcess/API/ios/WKInteractionView.mm:
(-[WKInteractionView textFirstRect]):
(-[WKInteractionView textLastRect]):
(-[WKInteractionView hasMarkedText]):
(-[WKInteractionView markedText]):
(-[WKInteractionView setMarkedText:selectedRange:]):
(-[WKInteractionView unmarkText]):
(-[WKInteractionView _selectionChanged]):
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::editorStateChanged):
- UIProcess/WebPageProxy.h:
- UIProcess/WebPageProxy.messages.in:
- UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::setComposition):
(WebKit::WebPageProxy::confirmComposition):
(WebKit::WebPageProxy::notifyRevealedSelection):
- WebProcess/WebCoreSupport/ios/WebChromeClientIOS.mm:
(WebKit::WebChromeClient::notifyRevealedSelectionByScrollingFrame):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::editorState):
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/WebPage.messages.in:
- WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::setComposition):
(WebKit::WebPage::confirmComposition):
- 1:57 PM Changeset in webkit [160565] by
-
- 2 edits in trunk/Source/JavaScriptCore
Cleanup CodeGeneratorInspectorStrings a bit
https://bugs.webkit.org/show_bug.cgi?id=125705
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2013-12-13
Reviewed by Timothy Hatcher.
- inspector/scripts/CodeGeneratorInspectorStrings.py:
Use ${foo} variable syntax and add an ASCIILiteral.
- 1:52 PM Changeset in webkit [160564] by
-
- 2 edits in trunk/Source/JavaScriptCore
[Win] Unreviewed build fix after r160563
- JavaScriptCore.vcxproj/JavaScriptCoreGenerated.vcxproj: Missed the Debug
target in my last patch.
- 1:49 PM Changeset in webkit [160563] by
-
- 10 edits in trunk
[Win] Unreviewed build fix after r160548
Source/JavaScriptCore:
- JavaScriptCore.vcxproj/JavaScriptCoreGenerated.vcxproj: Specify
that we are using the vs12_xp target for Makefile-based projects.
- JavaScriptCore.vcxproj/LLInt/LLIntAssembly/LLIntAssembly.vcxproj: Ditto
- JavaScriptCore.vcxproj/LLInt/LLIntDesiredOffsets/LLIntDesiredOffsets.vcxproj: Ditto.
Source/WebCore:
- WebCore.vcxproj/WebCoreGenerated.vcxproj: Specify that we are
using the vs120_xp build target for Makefile-based projects.
Source/WTF:
- WTF.vcxproj/WTFGenerated.vcxproj: Specify that we are using
the vs12_xp target for Makefile-based projects.
Tools:
- win/AssembleBuildLogs/AssembleBuildLogs.vcxproj: Specify
we are using vs12_xp target for Makefile-based projects.
- 1:36 PM Changeset in webkit [160562] by
-
- 4 edits in branches/jsCStack/Source/JavaScriptCore
jsCStack:REGRESSION: "print(“My object: “ + { });” crashes LLINT in op_call
https://bugs.webkit.org/show_bug.cgi?id=125694
Reviewed by Filip Pizlo.
We were clobbering the rbx value saved on the stack at the top of callToJavaScript
and callToNativeFunction. This is due to a difference between the JSStack's notion
of top of stack being the first usable location and the stack pointer register
pointing to the last used location. I changed the allocation of the sentinel frame
accordingly.
In the process I cleaned up the rounding of paddedArgsCount in ProtoCallFrame::init
to use WTF::roundUpToMultipleOf<> since the rounding had to change to keep the stack
pointer aligned.
- interpreter/ProtoCallFrame.cpp:
(JSC::ProtoCallFrame::init):
- llint/LowLevelInterpreter64.asm:
- 1:36 PM Changeset in webkit [160561] by
-
- 5 edits in trunk/Source/WTF
Require variadic templates to build WebKit
https://bugs.webkit.org/show_bug.cgi?id=125701
Reviewed by Andreas Kling.
- wtf/Compiler.h:
Add an #error if variadic templates are disabled.
- wtf/NeverDestroyed.h:
- wtf/PassRef.h:
- wtf/StdLibExtras.h:
Remove a bunch of COMPILER_SUPPORTS(CXX_VARIADIC_TEMPLATES) #ifdefs.
- 1:26 PM Changeset in webkit [160560] by
-
- 2 edits in trunk/Tools
Update Apple Webkit Bots
Unreviewed.
- BuildSlaveSupport/build.webkit.org-config/config.json:
- 1:18 PM Changeset in webkit [160559] by
-
- 2 edits in trunk/Source/WebKit
Post-process exported WebKit headers based on PLATFORM_NAME
https://bugs.webkit.org/show_bug.cgi?id=125682
Reviewed by Dan Bernstein.
Added a build phase that calls unifdef(1) on each of WebKit's Public
and Private headers, defining TARGET_OS_EMBEDDED, TARGET_OS_IPHONE, and
TARGET_IPHONE_SIMULATOR based on the value of PLATFORM_NAME. This has
the effect of stripping out bits not needed by the SDK being built for.
- WebKit.xcodeproj/project.pbxproj:
- 1:08 PM Changeset in webkit [160558] by
-
- 2 edits in trunk/Source/JavaScriptCore
Make inspector folder groups smarter in JavaScriptCore.xcodeproj
https://bugs.webkit.org/show_bug.cgi?id=125663
Reviewed by Darin Adler.
- JavaScriptCore.xcodeproj/project.pbxproj:
- 1:07 PM Changeset in webkit [160557] by
-
- 78 edits7 moves6 adds in trunk
Web Inspector: Add Inspector Code Generation to JavaScriptCore for Runtime Domain
https://bugs.webkit.org/show_bug.cgi?id=125595
Reviewed by Timothy Hatcher.
- GNUmakefile.am:
Source/JavaScriptCore:
- Move CodeGeneration scripts from WebCore into JavaScriptCore/inspector/scripts
- For ports that build WebKit frameworks separately, export the scripts as PrivateHeaders
- Update CodeGeneratorInspector.py in a few ways:
- output dynamic filenames, so JavaScriptCore generates InspectorJSFoo.* and WebCore generates InspectorWebFoo.*
- take in more then one protocol JSON file. The first contains domains to generate, the others are dependencies that are generated elsewhere that we can depend on for Types.
- Add DerivedSources build step to generate the Inspector Interfaces
- CMakeLists.txt:
- DerivedSources.make:
- GNUmakefile.am:
- GNUmakefile.list.am:
- JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
- JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
- JavaScriptCore.vcxproj/copy-files.cmd:
- JavaScriptCore.xcodeproj/project.pbxproj:
Add scripts and code generation.
- inspector/protocol/Runtime.json: Renamed from Source/WebCore/inspector/protocol/Runtime.json.
Move protocol file into JavaScriptCore so its types will be generated in JavaScriptCore.
- inspector/scripts/CodeGeneratorInspector.py: Renamed from Source/WebCore/inspector/CodeGeneratorInspector.py.
Updates to the script as listed above.
- inspector/scripts/CodeGeneratorInspectorStrings.py: Renamed from Source/WebCore/inspector/CodeGeneratorInspectorStrings.py.
- inspector/scripts/generate-combined-inspector-json.py: Renamed from Source/WebCore/inspector/Scripts/generate-combined-inspector-json.py.
Moved from WebCore into JavaScriptCore for code generation.
Source/WebCore:
- CodeGeneration changed to output Frontend and Backend dispatchers in namespace Inspector. So update all the agent's appropriately.
- Update Derived Sources code generation to use the Scripts that had moved to JavaScriptCore. Some ports just use JSC/inspector/scripts directly, but others have to use the Scripts exported by JSC in JavaScriptCore's PrivateHeaders.
- Add ForwardingHeaders for the files generated in JavaScriptCore.
- Update the names of Inspector DerivedSources files, since they were renamed to InspectorWeb*.
No new tests, this only moves code around. There are no functional changes.
- CMakeLists.txt:
- DerivedSources.make:
- ForwardingHeaders/inspector/InspectorJSBackendDispatchers.h: Added.
- ForwardingHeaders/inspector/InspectorJSFrontendDispatchers.h: Added.
- ForwardingHeaders/inspector/InspectorJSTypeBuilders.h: Added.
- GNUmakefile.am:
- GNUmakefile.list.am:
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- WebCore.vcxproj/build-generated-files.sh:
- WebCore.xcodeproj/project.pbxproj:
Remove files, rename files, update code generation.
- make-generated-sources.sh:
Update this standalone developer script to fill in the new InspectorScripts variable.
- inspector/ConsoleMessage.h:
- inspector/InjectedScriptHost.cpp:
- inspector/InspectorAgent.cpp:
- inspector/InspectorAgent.h:
- inspector/InspectorApplicationCacheAgent.cpp:
- inspector/InspectorApplicationCacheAgent.h:
- inspector/InspectorCSSAgent.h:
- inspector/InspectorCanvasAgent.cpp:
- inspector/InspectorCanvasAgent.h:
- inspector/InspectorConsoleAgent.cpp:
- inspector/InspectorConsoleAgent.h:
- inspector/InspectorController.cpp:
- inspector/InspectorDOMAgent.cpp:
- inspector/InspectorDOMAgent.h:
- inspector/InspectorDOMDebuggerAgent.cpp:
- inspector/InspectorDOMDebuggerAgent.h:
- inspector/InspectorDOMStorageAgent.cpp:
- inspector/InspectorDOMStorageAgent.h:
- inspector/InspectorDatabaseAgent.cpp:
- inspector/InspectorDatabaseAgent.h:
- inspector/InspectorDatabaseResource.cpp:
- inspector/InspectorDatabaseResource.h:
- inspector/InspectorDebuggerAgent.cpp:
- inspector/InspectorDebuggerAgent.h:
- inspector/InspectorFrontendClientLocal.cpp:
- inspector/InspectorHeapProfilerAgent.h:
- inspector/InspectorIndexedDBAgent.cpp:
- inspector/InspectorIndexedDBAgent.h:
- inspector/InspectorInputAgent.h:
- inspector/InspectorLayerTreeAgent.cpp:
- inspector/InspectorLayerTreeAgent.h:
- inspector/InspectorMemoryAgent.cpp:
- inspector/InspectorMemoryAgent.h:
- inspector/InspectorPageAgent.cpp:
- inspector/InspectorPageAgent.h:
- inspector/InspectorProfilerAgent.cpp:
- inspector/InspectorProfilerAgent.h:
- inspector/InspectorResourceAgent.cpp:
- inspector/InspectorResourceAgent.h:
- inspector/InspectorRuntimeAgent.h:
- inspector/InspectorTimelineAgent.cpp:
- inspector/InspectorTimelineAgent.h:
- inspector/InspectorWorkerAgent.cpp:
- inspector/InspectorWorkerAgent.h:
- inspector/PageRuntimeAgent.h:
- inspector/ScriptCallFrame.cpp:
- inspector/WorkerInspectorController.cpp:
- inspector/WorkerRuntimeAgent.h:
Updates header names and class namespace changes.
Source/WebInspectorUI:
- Scripts/copy-user-interface-resources.sh:
Copy all the different backend commands files.
- Scripts/update-InspectorBackendCommands.rb:
Update with respect to new script location and new file names.
- WebInspectorUI.xcodeproj/project.pbxproj:
Remove Inputs and Outputs of build phase, which were wrong.
Now this build phase always runs, and not by accident.
- UserInterface/InspectorJSBackendCommands.js: Added.
- UserInterface/InspectorWebBackendCommands.js: Renamed from Source/WebInspectorUI/UserInterface/InspectorBackendCommands.js.
- UserInterface/Legacy/6.0/InspectorWebBackendCommands.js: Renamed from Source/WebInspectorUI/UserInterface/Legacy/6.0/InspectorBackendCommands.js.
- UserInterface/Legacy/7.0/InspectorWebBackendCommands.js: Renamed from Source/WebInspectorUI/UserInterface/Legacy/7.0/InspectorBackendCommands.js.
- UserInterface/LoadInspectorBackendCommands.js:
- WebInspectorUI.vcxproj/WebInspectorUI.vcxproj:
- WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters:
LayoutTests:
- http/tests/inspector-protocol/resources/InspectorTest.js:
(InspectorTest.importInspectorScripts):
Update for the new backend commands files.
- 12:54 PM Changeset in webkit [160556] by
-
- 2 edits in trunk/Tools
Unreviewed build fix after r160548.
- Scripts/webkitdirs.pm:
(setupCygwinEnv): VCExpress.exe is now called WDExpress.exe.
- 12:43 PM Changeset in webkit [160555] by
-
- 2 edits in trunk/Source/WebKit2
Fix the build.
Work around a problem in Functional.h by making the DatabaseProcess destructor public.
- DatabaseProcess/DatabaseProcess.h:
- 12:15 PM Changeset in webkit [160554] by
-
- 2 edits in trunk/Source/WebKit2
[wk2] Handle pinch-to-zoom gesture
https://bugs.webkit.org/show_bug.cgi?id=125604
Reviewed by Sam Weinig.
- UIProcess/API/mac/WKView.mm:
(-[WKView magnifyWithEvent:]):
(-[WKView endGestureWithEvent:]):
Forward the event up the chain if we're not going to handle it.
- 12:04 PM Changeset in webkit [160553] by
-
- 22 edits2 moves in trunk
Adding RTCPeerConnectionErrorCallback
https://bugs.webkit.org/show_bug.cgi?id=125574
Reviewed by Eric Carlson.
According to the spec there should be a RTCPeerConnectionErrorCallback function type for createOffer/Answer,
setLocal/RemoteDescription and updateIce function calls. This callback must handle a DOMError object.
Source/WebCore:
Existing tests were updated.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::createOffer):
(WebCore::RTCPeerConnection::createAnswer):
(WebCore::RTCPeerConnection::setLocalDescription):
(WebCore::RTCPeerConnection::setRemoteDescription):
(WebCore::RTCPeerConnection::addIceCandidate):
- Modules/mediastream/RTCErrorCallback.h: Removed.
- Modules/mediastream/RTCErrorCallback.idl: Removed.
- Modules/mediastream/RTCPeerConnection.h:
- Modules/mediastream/RTCPeerConnection.idl:
- Modules/mediastream/RTCPeerConnectionErrorCallback.h: Added.
- Modules/mediastream/RTCPeerConnectionErrorCallback.idl: Added.
- Modules/mediastream/RTCSessionDescriptionRequestImpl.cpp:
(WebCore::RTCSessionDescriptionRequestImpl::create):
(WebCore::RTCSessionDescriptionRequestImpl::RTCSessionDescriptionRequestImpl):
(WebCore::RTCSessionDescriptionRequestImpl::requestFailed):
- Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
- Modules/mediastream/RTCVoidRequestImpl.cpp:
(WebCore::RTCVoidRequestImpl::create):
(WebCore::RTCVoidRequestImpl::RTCVoidRequestImpl):
(WebCore::RTCVoidRequestImpl::requestFailed):
- Modules/mediastream/RTCVoidRequestImpl.h:
- WebCore.xcodeproj/project.pbxproj:
- platform/mediastream/RTCPeerConnectionHandler.cpp:
(WebCore::RTCPeerConnectionHandler::incompatibleConstraintsErrorName):
(WebCore::RTCPeerConnectionHandler::invalidSessionDescriptionErrorName):
(WebCore::RTCPeerConnectionHandler::incompatibleSessionDescriptionErrorName):
(WebCore::RTCPeerConnectionHandler::internalErrorName):
- platform/mediastream/RTCPeerConnectionHandler.h:
- platform/mock/RTCNotifiersMock.cpp:
(WebCore::SessionRequestNotifier::SessionRequestNotifier):
(WebCore::SessionRequestNotifier::fire):
(WebCore::VoidRequestNotifier::VoidRequestNotifier):
(WebCore::VoidRequestNotifier::fire):
- platform/mock/RTCNotifiersMock.h:
- platform/mock/RTCPeerConnectionHandlerMock.cpp:
(WebCore::RTCPeerConnectionHandlerMock::createOffer):
(WebCore::RTCPeerConnectionHandlerMock::createAnswer):
LayoutTests:
- fast/mediastream/RTCPeerConnection-createAnswer-expected.txt:
- fast/mediastream/RTCPeerConnection-createAnswer.html:
- fast/mediastream/RTCPeerConnection-createOffer-expected.txt:
- fast/mediastream/RTCPeerConnection-createOffer.html:
- 11:32 AM Changeset in webkit [160552] by
-
- 7 edits1 add in trunk/Source/WebInspectorUI
Web Inspector: provide an abstraction for CodeMirror's TextMarker
https://bugs.webkit.org/show_bug.cgi?id=125695
Reviewed by Timothy Hatcher.
Introduce a new WebInspector.TextMarker class which is used by code with CodeMirror knowledge
to return information related to text markers to objects that should have no direct knowledge
of CodeMirror. Start using this class in TextEditor and SourceCodeTextEditor to remove the
last remaining pieces of CodeMirror knowledge added to SourceCodeTextEditor to fix
https://webkit.org/b/124364.
- UserInterface/CodeMirrorAdditions.js:
Stop using markedColor to identify a color marker and instead use the type on the matching
WebInspector.TextMarker. Additionally, create a WebInspector.TextMarker with type
WebInspector.TextMarker.Type.Color in createColorMarkers().
- UserInterface/CodeMirrorColorEditingController.js:
(WebInspector.CodeMirrorColorEditingController):
Use a WebInspector.TextRange to track the edited range and obtain it directly from the
WebInspector.TextMaker used to instantiate the object. We also use the new "text" public
property to create the color.
(WebInspector.CodeMirrorColorEditingController.prototype.set color):
Simply assing the serialized color to the new "text" public property.
(WebInspector.CodeMirrorColorEditingController.prototype.get text):
(WebInspector.CodeMirrorColorEditingController.prototype.set text):
New public property to set get and set the text for the edited range, automatically updating
the range upon setting to a new text.
(WebInspector.CodeMirrorColorEditingController.prototype.presentHoverMenu):
Obtain the bounds directly from the WebInspector.TextMarker object.
- UserInterface/CodeMirrorTokenTrackingController.js:
(WebInspector.CodeMirrorTokenTrackingController.prototype._updateHoveredTokenInfo):
Since we're now tracking the hoveredMarker as a WebInspector.TextMarker, get the CodeMirror
TextMarker from that object to check if it's contained within the text markers at the
hovered position.
- UserInterface/Main.html:
Add the new TextMarker class source.
- UserInterface/SourceCodeTextEditor.js:
(WebInspector.SourceCodeTextEditor.prototype._hasColorMarkers):
Use the WebInspector.TextMarker type to identify a given text marker is marking a color.
(WebInspector.SourceCodeTextEditor.prototype.tokenTrackingControllerNewHighlightCandidate):
Use the renamed markersAtPosition() method from TextEditor.
(WebInspector.SourceCodeTextEditor.prototype._tokenTrackingControllerHighlightedMarkedExpression):
Use the WebInspector.TextMarker type to identify a given text marker is marking a color.
(WebInspector.SourceCodeTextEditor.prototype.colorEditingControllerDidFinishEditing):
Since the CodeMirrorColorEditingController is now using a WebInspector.TextRange for its range,
update to use a WebInspector.TextRange API to get the range's start line.
- UserInterface/TextEditor.js:
(WebInspector.TextEditor.prototype.get markers):
Return WebInspector.TextMarker objects instead of CodeMirror TextRange objects.
(WebInspector.TextEditor.prototype.markersAtPosition):
Rename method to a better name instead of using the CodeMirror-influenced name. Also, return
WebInspector.TextMarker objects instead of CodeMirror TextRange objects.
- UserInterface/TextMarker.js: Added.
(WebInspector.TextMarker):
Create a WebInspector.TextMarker with a CodeMirror TextMarker and an optional type.
(WebInspector.TextMarker.textMarkerForCodeMirrorTextMarker):
Static method to either obtain the existing WebInspector.TextMarker for a given CodeMirror
TextMarker, or create a new WebInspector.TextMarker.
(WebInspector.TextMarker.prototype.get codeMirrorTextMarker):
Public property to access the CodeMirror TextMarker objects for classes that have direct
knowledge of CodeMirror.
(WebInspector.TextMarker.prototype.get type):
Public property to access the type used to create this text marker.
(WebInspector.TextMarker.prototype.get range):
(WebInspector.TextMarker.prototype.get bounds):
Public properties allowing easy access to generally useful information related to marked text.
(WebInspector.TextMarker.prototype.clear):
Wrapper for the CodeMirror TextMarker clear() method.
- 11:27 AM Changeset in webkit [160551] by
-
- 2 edits in trunk/Tools
Update Apple bots.
Unreviewed.
- BuildSlaveSupport/build.webkit.org-config/config.json:
- 11:24 AM Changeset in webkit [160550] by
-
- 6 edits in trunk/Source
Delete INTEL C compiler related code parts.
https://bugs.webkit.org/show_bug.cgi?id=125625
Patch by Peter Szanka <h868064@stud.u-szeged.hu> on 2013-12-13
Reviewed by Darin Adler.
Source/JavaScriptCore:
- jsc.cpp:
- testRegExp.cpp:
Source/WTF:
- wtf/Assertions.h:
- wtf/Compiler.h:
- 11:21 AM Changeset in webkit [160549] by
-
- 8 edits in trunk/Source/WebKit2
Put classes in the IPC directory in the IPC namespace
https://bugs.webkit.org/show_bug.cgi?id=125665
Reviewed by Sam Weinig.
Also add a hack to config.h that lets us use CoreIPC and IPC interchangeably.
- Platform/IPC/DataReference.cpp:
- Platform/IPC/DataReference.h:
- Platform/IPC/MessageSender.cpp:
- Platform/IPC/MessageSender.h:
- Platform/IPC/StringReference.cpp:
- Platform/IPC/StringReference.h:
- config.h:
- 11:17 AM Changeset in webkit [160548] by
-
- 34 edits in trunk
[Win] Switch WebKit solution to Visual Studio 2013
https://bugs.webkit.org/show_bug.cgi?id=125192
Reviewed by Anders Carlsson.
Source/JavaScriptCore:
- JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: Update for VS2013
- JavaScriptCore.vcxproj/LLInt/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcxproj:
Ditto
- JavaScriptCore.vcxproj/jsc/jsc.vcxproj: Ditto
- JavaScriptCore.vcxproj/testRegExp/testRegExp.vcxproj: Ditto
- JavaScriptCore.vcxproj/testapi/testapi.vcxproj: Ditto
Source/ThirdParty:
- gtest/msvc/gtest-md.vcxproj: Update for VS2013
Source/WebCore:
- WebCore.vcxproj/WebCore.vcxproj: Update for VS2013
- WebCore.vcxproj/WebCore.vcxproj.filters: Ditto
- WebCore.vcxproj/WebCoreTestSupport.vcxproj: Ditto
Source/WebInspectorUI:
- WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Update for VS2013
Source/WebKit:
- WebKit.vcxproj/Interfaces/Interfaces.vcxproj: Update for VS2013
- WebKit.vcxproj/WebKit.sln: Ditto
- WebKit.vcxproj/WebKit/WebKit.vcxproj: Ditto
- WebKit.vcxproj/WebKitExportGenerator/WebKitExportGenerator.vcxproj: Ditto
- WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj: Ditto
Source/WTF:
- WTF.vcxproj/WTF.vcxproj: Update for VS2013
- WTF.vcxproj/WTF.vcxproj.filters: Ditto
Tools:
Project files must reference vs12_xp for 32-bit builds.
- DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
Update for VS2013
- DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
Ditto
- DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj:
Ditto
- DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj:
Ditto
- DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
Ditto
- Scripts/webkitdirs.pm:
(visualStudioInstallDir): Specify VS2013
(visualStudioVersion): Ditto.
(setupAppleWinEnv): Use VS2013 in messages
(setupCygwinEnv): Ditto
- TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
Update for VS2013
- WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj:
Ditto
- WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
Ditto
- win/record-memory/record-memory.vcxproj:
Ditto
- 11:10 AM Changeset in webkit [160547] by
-
- 32 edits in trunk
WebCrypto Key.usages should be ordered alphabetically
https://bugs.webkit.org/show_bug.cgi?id=125696
Reviewed by Darin Adler.
Source/WebCore:
- crypto/CryptoKey.cpp: (WebCore::CryptoKey::usages): Do it.
LayoutTests:
- crypto/subtle/aes-cbc-192-encrypt-decrypt-expected.txt:
- crypto/subtle/aes-cbc-192-encrypt-decrypt.html:
- crypto/subtle/aes-cbc-256-encrypt-decrypt-expected.txt:
- crypto/subtle/aes-cbc-256-encrypt-decrypt.html:
- crypto/subtle/aes-cbc-encrypt-decrypt-expected.txt:
- crypto/subtle/aes-cbc-encrypt-decrypt-with-padding-expected.txt:
- crypto/subtle/aes-cbc-encrypt-decrypt-with-padding.html:
- crypto/subtle/aes-cbc-encrypt-decrypt.html:
- crypto/subtle/aes-cbc-generate-key-expected.txt:
- crypto/subtle/aes-cbc-generate-key.html:
- crypto/subtle/aes-cbc-invalid-length-expected.txt:
- crypto/subtle/aes-cbc-invalid-length.html:
- crypto/subtle/aes-kw-wrap-unwrap-aes-expected.txt:
- crypto/subtle/aes-kw-wrap-unwrap-aes.html:
- crypto/subtle/aes-postMessage-expected.txt:
- crypto/subtle/aes-postMessage.html:
- crypto/subtle/hmac-postMessage-expected.txt:
- crypto/subtle/hmac-postMessage.html:
- crypto/subtle/jwk-import-use-values-expected.txt:
- crypto/subtle/jwk-import-use-values.html:
- crypto/subtle/postMessage-worker-expected.txt:
- crypto/subtle/postMessage-worker.html:
- crypto/subtle/resources/postMessage-worker.js:
(onmessage):
- crypto/subtle/rsa-oaep-key-manipulation-expected.txt:
- crypto/subtle/rsa-oaep-key-manipulation.html:
- crypto/subtle/rsa-oaep-wrap-unwrap-aes-expected.txt:
- crypto/subtle/rsa-oaep-wrap-unwrap-aes.html:
- crypto/subtle/rsaes-pkcs1-v1_5-wrap-unwrap-aes-expected.txt:
- crypto/subtle/rsaes-pkcs1-v1_5-wrap-unwrap-aes.html:
- 8:27 AM Changeset in webkit [160546] by
-
- 2 edits in trunk/Source/WebCore
Make some optimizations for DOM bindings involving vectors
https://bugs.webkit.org/show_bug.cgi?id=125680
Reviewed by Andreas Kling.
- bindings/js/JSDOMBinding.h:
(WebCore::toJS): Removed unnecessary copying of vectors when converting them
to JavaScript values.
(WebCore::toRefPtrNativeArray): Use reserveInitialCapacity and uncheckedAppend.
(WebCore::toNativeArray): Ditto.
(WebCore::toNativeArguments): Ditto.
- 7:41 AM Changeset in webkit [160545] by
-
- 5 edits in trunk/Source/WebCore
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.
- 6:13 AM Changeset in webkit [160544] by
-
- 5 edits2 adds in trunk
Clean up SVGScriptElement
https://bugs.webkit.org/show_bug.cgi?id=125527
Reviewed by Darin Adler.
Source/WebCore:
From the Blink port of this bug it becomes clear that svg/dom/SVGScriptElement/script-set-href.svg and
svg/dom/svg-element-attribute-js-null.xhtml still hit an assert in Debug because SVGNames::typeAttr can't
be used with fastGetAttribute in all cases, because it can be animatable. However for SVGScriptElement
it is not animatable, so make isAnimatableAttribute virtual (note Debug only method) and allow typeAttr
in the SVGScriptElement case to be useable for fastGetAttribute.
Test: svg/dom/SVGScriptElement/script-type-attribute.svg
- svg/SVGElement.h:
- svg/SVGScriptElement.cpp:
(WebCore::SVGScriptElement::isAnimatableAttribute):
- svg/SVGScriptElement.h:
LayoutTests:
Add test to verify the new type getter/setter behavior on SVScriptElement.
Specifically, the old behavior was setting the JS type property did not reflect in
the actual content attribute being set, the new behavior is to do set the content
attribute when setting the JS type property.
- svg/dom/SVGScriptElement/script-type-attribute-expected.txt: Added.
- svg/dom/SVGScriptElement/script-type-attribute.svg: Added.
- 4:40 AM Changeset in webkit [160543] by
-
- 3 edits in trunk/Source/WebCore
[GTK] Expose also webkit_dom_document_get_url
https://bugs.webkit.org/show_bug.cgi?id=125691
Reviewed by Martin Robinson.
For some reason we expose the URL property, so it can be accessed
with g_object_get(), but we have a special case to not provide a
public getter.
- bindings/gobject/webkitdom.symbols: Add new symbol.
- bindings/scripts/CodeGeneratorGObject.pm:
(GenerateFunctions): Remove the special case of URL property.
- 4:36 AM Changeset in webkit [160542] by
-
- 1 edit2 deletes in trunk/LayoutTests
Unreviewed EFL gardening
Remove wrong http baselines.
- platform/efl/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: Removed.
- platform/efl/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt: Removed.
- platform/efl/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt: Removed.
- 2:32 AM Changeset in webkit [160541] by
-
- 6 edits in trunk/Source/WebCore
CSSFilterImageValue constructor should require both image and filter.
<https://webkit.org/b/125056>
Make the CSSFilterImageValue::create() helper take both the image and
filter CSSValues by PassRef since they should never be null.
Tweaked ComputedStyleExtractor::valueForFilter() to return a PassRef
for this to work.
Reviewed by Anders Carlsson.
- 2:24 AM Changeset in webkit [160540] by
-
- 3 edits in trunk/Source/WebKit2
[GTK] Add a unit tests to WebKit2 to test node names
https://bugs.webkit.org/show_bug.cgi?id=125686
Reviewed by Gustavo Noronha Silva.
- UIProcess/API/gtk/tests/DOMNodeTest.cpp:
(WebKitDOMNodeTest::testTagNames):
(WebKitDOMNodeTest::runTest):
(registerTests):
- UIProcess/API/gtk/tests/TestDOMNode.cpp:
(testWebKitDOMNodeTagNames):
(beforeAll):
- 1:56 AM Changeset in webkit [160539] by
-
- 7 edits in trunk/Source/WebCore
StyleResolver::adjustRenderStyle() should take RenderStyle references.
<https://webkit.org/b/125623>
This function doesn't handle null styles being passed, so prevent
it at compile time.
Reviewed by Anders Carlsson.
- 1:41 AM Changeset in webkit [160538] by
-
- 2 edits in trunk
[GTK] Remove the -Wno-c++11-extensions compiler option for Clang builds
https://bugs.webkit.org/show_bug.cgi?id=125639
Reviewed by Anders Carlsson.
- Source/autotools/SetupCompilerFlags.m4: The -Wno-c++11-extensions compiler option was in use
when building with Clang. It is now removed as the C++11 standard is enabled throughout the project.
- 1:16 AM Changeset in webkit [160537] by
-
- 3 edits in trunk/Source/WebKit2
Unreviewed. Further GTK WK2 build fixes after r160504.
- UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_get_snapshot):
- WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
(didInitiateLoadForResource):
(willSendRequestForFrame):
(didReceiveResponseForResource):
(didReceiveContentLengthForResource):
(didFinishLoadForResource):
(didFailLoadForResource):
(webkitWebPageDidReceiveMessage):
- 1:14 AM Changeset in webkit [160536] by
-
- 7 edits in trunk/Source/WebCore
Eliminate awkward virtualComputedStyle construction
https://bugs.webkit.org/show_bug.cgi?id=125681
Reviewed by Andreas Kling.
- dom/Element.cpp:
(WebCore::Element::computedStyle): Tweak coding style a bit.
- dom/Element.h: Marked computedStyle virtual and got rid of virtualComputedStyle.
This fixes a bug that we would not call SVGElement::computedStyle if we called
it through an Element pointer or reference. Not sure how to get test coverage for this.
- dom/Node.cpp:
(WebCore::Node::computedStyle): Use a loop instead of recursive virtual calls.
- dom/Node.h: Made computedStyle virtual and got rid of virtualComputedStyle.
- svg/SVGElement.cpp:
(WebCore::SVGElement::computedStyle): Tweak coding style a bit.
- svg/SVGElement.h: Made computedStyle virtual (and FINAL) and got rid fo
virtualComputedStyle.
- 1:10 AM Changeset in webkit [160535] by
-
- 2 edits in trunk/Source/WebCore
Fix a couple stray uses of RefPtr that should release
https://bugs.webkit.org/show_bug.cgi?id=125679
Reviewed by Andreas Kling.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseFilter): Add calls to release, in
one case rearranging the order of operations slightly so we
don't release the pointer before using it.
- 12:56 AM Changeset in webkit [160534] by
-
- 3 edits4 adds in trunk
WebCrypto wrapKey operation doesn't check key usage
https://bugs.webkit.org/show_bug.cgi?id=125675
Reviewed by Darin Adler.
Source/WebCore:
Tests: crypto/subtle/unwrapKey-check-usage.html
crypto/subtle/wrapKey-check-usage.html
- bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::JSSubtleCrypto::wrapKey):
Added accidentally omitted code. Other operations are fine.
LayoutTests:
- crypto/subtle/unwrapKey-check-usage-expected.txt: Added.
- crypto/subtle/unwrapKey-check-usage.html: Added.
- crypto/subtle/wrapKey-check-usage-expected.txt: Added.
- crypto/subtle/wrapKey-check-usage.html: Added.
- 12:35 AM Changeset in webkit [160533] by
-
- 2 edits in trunk/Source/WebKit2
Unreviewed GTK build fix after r160509.
- GNUmakefile.list.am: MessageSender.(cpp|h) files were moved to Platform/IPC.
- 12:24 AM Changeset in webkit [160532] by
-
- 2 edits in trunk/Source/WebKit2
GTK buildfix after r160504.
Patch by Dániel Bátyai <Batyai.Daniel@stud.u-szeged.hu> on 2013-12-13
Reviewed by Csaba Osztrogonác.
- UIProcess/API/gtk/WebKitWebContext.cpp:
(webkit_web_context_prefetch_dns):
- 12:16 AM Changeset in webkit [160531] by
-
- 4 edits1 add in trunk
Adding a .ycm_extra_conf file for webkitGtk
https://bugs.webkit.org/show_bug.cgi?id=119618
Patch by Martin Robinson <mrobinson@igalia.com> and Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> on 2013-12-11
Reviewed by Gustavo Noronha Silva.
Added a YouCompleteMe flag discovery script for Vim and the GTK+ port. The script
read the GTK+ build files to determine dynamically what flags to compile a source
file with. This allows Vim to provide auto-complete for C++/C language. See
https://github.com/Valloric/YouCompleteMe for how to use this file.
.:
- .gitignore: Ignore the YCM symlinks in the tree.
Tools:
- gtk/common.py:
(get_build_path): Added a fatal argument to build_path to avoid crashing YCM on failure.
- gtk/ycm_extra_conf.py: Added.