- 08 May, 2013 2 commits
-
-
zandobersek@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=115718 Reviewed by Martin Robinson. .: * Source/autotools/FindDependencies.m4: Check for the upower-glib dependency if the feature is enabled. * Source/autotools/PrintBuildConfiguration.m4: Print out the feature status. * Source/autotools/ReadCommandLineArguments.m4: Check for the --enable-battery-status option. The deafult, when the option is not given, is to disable the feature. * Source/autotools/SetupWebKitFeatures.m4: Treat the ENABLE_BATTERY_STATUS define as configurable. * Source/autotools/symbols.filter: Export a couple of symbols that are used in the WebCore internals library. Source/WebCore: No new tests - no new functionality. The feature is not enabled yet, though all the relevant tests pass when it is. * GNUmakefile.am: Add the Modules/battery directory to the list of search paths for header inclusions. Include the same directory under the IDL_PATH variable so the IDL files it contains are processed. List these IDL files using a wildcard under the EXTRA_DIST list. * GNUmakefile.list.am: Add the build targets for the module source files, IDLs and resulting JS bindings. * bindings/gobject/GNUmakefile.am: Add the build targets for the GObject DOM bindings. Tools: * Scripts/webkitdirs.pm: (buildAutotoolsProject): List battery-status as a configurable feature, meaning its value will be adjusted through the --(enable|disable)-battery-status flag passed to configure. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=115732 Reviewed by Gustavo Noronha Silva. * GNUmakefile.am: Pass the --no-demangle option to the linker by default. This is done by appending the flag to the LDFLAGS variable. While the AM_LDFLAGS variable would be more appropriate, it's not at all used when linking installable libraries like libwebkitgtk and libwebkit2gtk, so the LDFLAGS variable is used instead. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 May, 2013 1 commit
-
-
gyuyoung.kim@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=115712 Reviewed by Andreas Kling. Nobody uses SHADOW_DOM in cmake. * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 May, 2013 2 commits
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=113808 Patch by Mike Lattanzio <mlattanzio@blackberry.com> on 2013-05-06 Reviewed by Rob Buis. .: Set the ENABLE_TEXT_AUTOSIZING default to ON for BlackBerry. * Source/cmake/OptionsBlackBerry.cmake: Source/WebCore: Added TextAutosizer.cpp to the BlackBerry build. * PlatformBlackBerry.cmake: Source/WebKit/blackberry: Create a WebSetting for text autosizing. The default is off. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::didChangeSettings): * Api/WebSettings.cpp: (WebKit): (BlackBerry::WebKit::WebSettings::standardSettings): (BlackBerry::WebKit::WebSettings::isTextAutosizingEnabled): (BlackBerry::WebKit::WebSettings::setTextAutosizingEnabled): * Api/WebSettings.h: Tools: Modify FeatureList.pm and set ENABLE_TEXT_AUTOSIZING to default to true for BlackBerry. * Scripts/webkitperl/FeatureList.pm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=115635 Reviewed by Andreas Kling. Disable Shadow DOM at compile time for EFL port. Shadow DOM code is being removed from the tree. * Source/cmake/OptionsEfl.cmake: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 May, 2013 2 commits
-
-
dino@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dino@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=114915 Reviewed by Sam Weinig. .: Export AnimationController::isSuspended(). * Source/autotools/symbols.filter: Source/WebCore: When the Document's AnimationController was suspended, we still started new transitions and animations. Change this so that animations enter a paused-but-new state, where they are frozen until the AnimationController resumes. At that time, it is as if they had just appeared: any delay counts down before the animation starts. For transitions, the change in value must still happen, but it does so immediately. No transitionend event should be fired. This produces a slightly confusing behaviour, because any in-progress transitions are suspended, but any new style changes happen instantly. This might sound contradictory, but in general suspending the document is a rare (and dangerous) thing to do. Previously, the Document would call resumeAnimations as it loaded, effectively starting all the animations. This meant if you suspended animations before loading a document, it was ignored as soon as the load finished. Now there is a separate method startAnimationsIfNotSuspended which checks to see if the document is suspended as it loads. In order to handle this case, I added a new state to the Animation machinery: AnimationStatePausedNew. This is an animation that was created in the suspended state. Tests: animations/added-while-suspended.html transitions/started-while-suspended.html * WebCore.exp.in: Export AnimationController::isSuspended(). * dom/Document.cpp: (WebCore::Document::implicitClose): resumeAnimationsForDocument() -> startAnimationsIfNotSuspended() * page/animation/AnimationBase.cpp: (WebCore::nameForState): New name for AnimationStatePausedNew. (WebCore::AnimationBase::updateStateMachine): Handle new state AnimationStatePausedNew. The most important change is that when go from PausedNew to Running, we jump back into the New state and continue from there. (WebCore::AnimationBase::updatePlayState): suspended -> isSuspended * page/animation/AnimationBase.h: New state: AnimationStatePausedNew (WebCore::AnimationBase::waitingToStart): Add AnimationStatePausedNew. (WebCore::AnimationBase::paused): Add AnimationStatePausedNew. (WebCore::AnimationBase::isNew): Add AnimationStatePausedNew. * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::AnimationControllerPrivate): Initialise m_suspended. (WebCore::AnimationControllerPrivate::clear): suspended -> isSuspended (WebCore::AnimationControllerPrivate::updateAnimations): Ditto. (WebCore::AnimationControllerPrivate::updateAnimationTimerForRenderer): Ditto. (WebCore::AnimationControllerPrivate::suspendAnimations): Update m_suspended. (WebCore::AnimationControllerPrivate::resumeAnimations): Ditto. (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument): (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument): (WebCore::AnimationControllerPrivate::startAnimationsIfNotSuspended): New method that will only resume animations if we were not globally suspended. (WebCore::AnimationController::isSuspended): New method. (WebCore::AnimationController::suspendAnimations): Add logging. (WebCore::AnimationController::resumeAnimations): Add logging. (WebCore::AnimationController::suspendAnimationsForDocument): Add logging. (WebCore::AnimationController::resumeAnimationsForDocument): Add logging. (WebCore::AnimationController::startAnimationsIfNotSuspended): Calls private method. * page/animation/AnimationController.h: (AnimationController): Add isSuspended() and animationsForDocumentMayStart(). * page/animation/AnimationControllerPrivate.h: (WebCore::AnimationControllerPrivate::isSuspended): New method. (AnimationControllerPrivate): Add m_isSuspended member. * page/animation/CompositeAnimation.cpp: (WebCore::CompositeAnimation::CompositeAnimation): Moved from header - initialise m_isSuspended. (WebCore::CompositeAnimation::updateTransitions): Do not create ImplicitAnimation if suspended. (WebCore::CompositeAnimation::updateKeyframeAnimations): Move to AnimationStatePausedNew if suspended. (WebCore::CompositeAnimation::suspendAnimations): m_suspended -> m_isSuspended (WebCore::CompositeAnimation::resumeAnimations): Ditto. * page/animation/CompositeAnimation.h: (WebCore::CompositeAnimation::isSuspended): Renamed from suspended() * page/animation/KeyframeAnimation.cpp: (WebCore::KeyframeAnimation::animate): If we're in the AnimationStatePausedNew state, then we need to go to the first frame (to handle fill mode). * testing/Internals.cpp: (WebCore::Internals::animationsAreSuspended): New exposed method to reflect AnimationController. * testing/Internals.h: Add animationsAreSuspended. * testing/Internals.idl: Ditto. Source/WebKit: Export AnimationController::isSuspended * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Source/WebKit/mac: The WebView private API cssAnimationsSuspended did not necessarily reflect the reality of the Frame's AnimationController value because it was caching rather than asking directly. While the WebCore part of this patch ensured loading the Document wouldn't resume all animations, it is still better to ask directly. * WebView/WebView.mm: (-[WebView cssAnimationsSuspended]): Call into AnimationController. (-[WebView setCSSAnimationsSuspended:]): Ditto. * WebView/WebViewData.h: Remove cssAnimationsSuspended boolean. * WebView/WebViewData.mm: Ditto. (-[WebViewPrivate init]): Source/WebKit/win: Export AnimationController::isSuspended * WebKit.vcproj/WebKitExports.def.in: LayoutTests: Two new tests. Add an animation or transition to the document when the global animation controller is suspended. In the animation case, nothing should happen until the animations are resumed. In the transition case, the style change should happen immediately and not fire any events. * animations/added-while-suspended-expected.txt: Added. * animations/added-while-suspended.html: Added. * animations/suspend-transform-animation.html: Make sure to resume suspended animations before quitting the test. * transitions/started-while-suspended-expected.txt: Added. * transitions/started-while-suspended.html: Added. * transitions/suspend-transform-transition.html: Make sure to resume suspended animations before quitting the test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 May, 2013 2 commits
-
-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=115459 Reviewed by Andreas Kling. .: * wscript: Removed. Source/JavaScriptCore: * wscript: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sergio@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114819 Reviewed by Ryosuke Niwa. .: * Source/autotools/symbols.filter: export some extra symbols for testing purposes. Source/WebCore: Test: editing/selection/block-cursor-overtype-mode.html Overtype mode will use block cursor instead of a caret to highlight the next character to be replaced. It will fully cover the next character to be replaced (except at the end of a line where the usual blinking caret will be shown). This new block cursor is internally implemented as a selection (not exposed to JavaScript) because the selection code knows how to deal with bidi text. * WebCore.exp.in: Export symbols for testing purposes. * WebCore.order: Ditto. * editing/Editor.cpp: (WebCore::Editor::toggleOverwriteModeEnabled): Added a call to FrameLoader::setShouldShowBlockCursor. (WebCore): * editing/Editor.h: (Editor): * editing/FrameSelection.cpp: (WebCore::FrameSelection::FrameSelection): (WebCore::FrameSelection::updateAppearance): Use a 1-character long selection to paint the cursor in overtype mode. (WebCore::FrameSelection::setShouldShowBlockCursor): (WebCore): * editing/FrameSelection.h: (WebCore::FrameSelection::shouldShowBlockCursor): (FrameSelection): * testing/Internals.cpp: (WebCore): (WebCore::Internals::selectionBounds): Added a new method which returns the IntRect issued by FrameSelection::bounds(). * testing/Internals.h: Ditto. * testing/Internals.idl: Ditto. Source/WebKit: Export three more WebCore symbols. * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Source/WebKit/win: Export three more WebCore symbols. * WebKit.vcproj/WebKitExports.def.in: LayoutTests: New test case for the new block cursor to be used in overtype mode. The test verifies that the 1-pixel long caret is replaced by a selection like 1-character long block cursor when in overtype mode. This test covers LTR and RTL text in LTR and RTL blocks and bidi text. * editing/selection/block-cursor-overtype-mode-expected.txt: Added. * editing/selection/block-cursor-overtype-mode.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Apr, 2013 2 commits
-
-
ch.dumez@sisa.samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=106242 Reviewed by Gyuyoung Kim. .: Enable MOUSE_CURSOR_SCALE flag for EFL port. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitFeatures.cmake: Source/WebCore: Correctly copy WebCore::Cursor's m_imageScaleFactor member in CursorEfl.cpp when MOUSE_CURSOR_SCALE is enabled. No new tests, already covered by existing tests. * platform/efl/CursorEfl.cpp: (WebCore::Cursor::Cursor): (WebCore::Cursor::operator=): Tools: Enable ENABLE_MOUSE_CURSOR_SCALE for EFL port. * Scripts/webkitperl/FeatureList.pm: LayoutTests: Unskip fast/css/cursor-parsing-image-set.html for EFL port now that scaled cursors are enabled. Update expectation for fast/events/mouse-cursor-image-set.html to explain the reason why it is failing and set its bug URL. * platform/efl/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=115374 Reviewed by Martin Robinson. Disable the Shadow DOM feature on the GTK port, the feature is planned for removal. .: * Source/autotools/SetupWebKitFeatures.m4: Tools: * Scripts/webkitperl/FeatureList.pm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Apr, 2013 1 commit
-
-
ryuan.choi@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=115339 Reviewed by Gyuyoung Kim. r149259 used c++11 features(Right angle bracket, Range-based for-loop). This patch enforces c++0x when cmake based ports build WebKit2 using gcc. * Source/cmake/WebKitHelpers.cmake: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Apr, 2013 3 commits
-
-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114931 Reviewed by Andreas Kling. .: * Source/autotools/symbols.filter: Source/JavaScriptCore: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def: * JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExports.def.in: Source/WebCore: The Memory Instrumentation code is unfinished and has already become out of sync the objects it is supposed to represent. The current approach does not seem maintainable, it is better to remove it before someone gets hurt. By removing the code, the binary become 1240976 bytes smaller. Yep, almost 1 Mb, bringing WebCore to the size it has 5 months ago :) * MostWebCoreFiles: remove the support for memory instrumentation. Source/WebKit: * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Source/WebKit/mac: * WebView/WebRenderLayer.mm: Source/WebKit/win: * WebKit.vcproj/WebKitExports.def.in: Source/WTF: On Mac x86_64, the code removal cause the binary to be 9224 bytes smaller. * GNUmakefile.list.am: * WTF.pro: * WTF.vcproj/WTF.vcproj: * WTF.vcxproj/WTF.vcxproj: * WTF.vcxproj/WTF.vcxproj.filters: * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/Forward.h: * wtf/ListHashSet.h: (ListHashSet): (ListHashSetNodeAllocator): (WTF::ListHashSetNodeAllocator::pool): (WTF::ListHashSetNodeAllocator::pastPool): * wtf/MemoryInstrumentation.cpp: Removed. * wtf/MemoryInstrumentation.h: Removed. * wtf/MemoryInstrumentationArrayBufferView.h: Removed. * wtf/MemoryInstrumentationHashCountedSet.h: Removed. * wtf/MemoryInstrumentationHashMap.h: Removed. * wtf/MemoryInstrumentationHashSet.h: Removed. * wtf/MemoryInstrumentationListHashSet.h: Removed. * wtf/MemoryInstrumentationSequence.h: Removed. * wtf/MemoryInstrumentationString.h: Removed. * wtf/MemoryInstrumentationVector.h: Removed. * wtf/MemoryObjectInfo.h: Removed. * wtf/text/AtomicString.h: * wtf/text/StringImpl.h: (WTF::StringImpl::isASCIILiteral): * wtf/text/WTFString.h: Tools: * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp: Removed. LayoutTests: * inspector/profiler/memory-instrumentation-cached-images-expected.txt: Removed. * inspector/profiler/memory-instrumentation-cached-images.html: Removed. * inspector/profiler/memory-instrumentation-canvas-expected.txt: Removed. * inspector/profiler/memory-instrumentation-canvas.html: Removed. * inspector/profiler/memory-instrumentation-external-array-expected.txt: Removed. * inspector/profiler/memory-instrumentation-external-array.html: Removed. * inspector/profiler/memory-instrumentation-external-string-expected.txt: Removed. * inspector/profiler/memory-instrumentation-external-string.html: Removed. * inspector/profiler/memory-instrumentation-test.js: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114983 Reviewed by Gustavo Noronha Silva. .: * Source/autotools/SetupAutoconfHeader.m4: No longer expose the ENABLE_INTROSPECTION autoconf header variable. It isn't used and it means that when introspection is enabled or disabled, there is an unnecessary full rebuild. Source/WebKit/gtk: * GNUmakefile.am: Make warnings during gir scanning cause the build to fail. Eliminate warnings about deprecated API that the g-ir-scanner uses when generating the scanner program. Use --quiet to avoid printing lots of output to non-verbose builds. Source/WebKit2: * GNUmakefile.am: Make warnings during gir scanning cause the build to fail. Eliminate warnings about deprecated API that the g-ir-scanner uses when generating the scanner program. Use --quiet. Tools: * Scripts/webkitdirs.pm: (runAutogenForAutotoolsProjectIfNecessary): Always enable introspection when using build-webkit. * gtk/jhbuildrc: Enable documentation for all jhbuild modules and explicitly choose the memory gsettings backend while in the jhbuild. This eliminates warnings from programs that fall back to the memory backend. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=114168 Reviewed by Martin Robinson. .: * GNUmakefile.am: Define the platform_cppflags and platform_sources variables. Source/Platform: * GNUmakefile.am: Set up the libPlatform.la static library to build the source files listed in platform_sources. As with the libPlatformGtk.la library, only the Source/WebCore/platform and its subdirectories are allowed to be searched for headers to include, providing a convenient way to detect any platform violations. These directories are listed in the platform_webcore_cppflags variable. Source/WebCore: No new tests - no new functionality. * GNUmakefile.am: Also add the LevelDB-specific cppflags to the platform_cppflags if required as the LevelDB code is now built into the new libPlatform.la library. * GNUmakefile.list.am: Build a small set of non-GTK-specific platform source files that are already free of platform violations into the new libPlatform.la library. Source/WebKit/gtk: * GNUmakefile.am: Add the new libPlatform.la library to the libwebkitgtk library. Source/WebKit2: * GNUmakefile.am: Add the new libPlatform.la library to the libwebkitgtk library. Link the WebKitPluginProcess executable against libPlatform.la as well. Tools: * GNUmakefile.am: Link the DumpRenderTree executable against both libPlatform.la and libPlatformGtk.la libraries. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 Apr, 2013 2 commits
-
-
zandobersek@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=94792 Reviewed by Martin Robinson. * Source/autotools/SetupWebKitFeatures.m4: Enable the subpixel layout. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abecsi@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114750 Reviewed by Jocelyn Turcotte. This workaround made default builds fail with recent Qt5 because it removed the major version number from the library name, producing QtWebKitWidgets, whereas the linking command line tried to link against Qt5WebKitWidgets. Debug builds are possible with and without framework-enabled builds of Qt, but the debug versions of the Qt libraries have to be present. Debug builds with a release version of Qt are not possible on Mac since for debug builds qmake produces a linker command line where all the Qt libraries have the "_debug" suffix, therefore if the debug libraries are missing the build fails. * Source/widgetsapi.pri: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Apr, 2013 1 commit
-
-
mrobinson@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114710 Reviewed by Philippe Normand. .: * GNUmakefile.am: Move common GIR initialization here from WebKit1. * configure.ac: Updated to reflect new JSC gir file location. Source/JavaScriptCore: * GNUmakefile.am: Add the gobject introspection steps for JavaScriptCore here, because they are shared between WebKit1 and WebKit2. * JavaScriptCore.gir.in: Added. Moved from the WebKit1 directory. Now written as foreign interfaces and referencing the javascriptcoregtk library. Source/WebKit/gtk: * GNUmakefile.am: Updated to reflect new name and location of JavaScriptCore-x.0.gir. * JSCore.gir.in: Removed. Source/WebKit2: * GNUmakefile.am: Updated to reflect new location of JavaScriptCore gir file. Share the same autotools data task as the WebKit1 and JavaScriptCore gir installations. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 Apr, 2013 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114835 Unreviewed build fix. Patch by Ryuan Choi <ryuan.choi@gmail.com> on 2013-04-18 * Source/cmake/OptionsEfl.cmake: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Apr, 2013 3 commits
-
-
paroga@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114265 Reviewed by Brent Fulgham. * Source/cmake/WebKitMacros.cmake: Removed macro GENERATE_HASH_LUT. Source/JavaScriptCore: [CMake] Do not use JAVASCRIPTCORE_DIR in add_custom_command() of JavaScriptCore project https://bugs.webkit.org/show_bug.cgi?id=114265 Reviewed by Brent Fulgham. Use CMAKE_CURRENT_SOURCE_DIR instead, since it provides the same value and is more understandable. Also move the GENERATE_HASH_LUT macro into the CMakeLists.txt of JavaScriptCore to avoid the usage of JAVASCRIPTCORE_DIR there too. * CMakeLists.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aestes@apple.com authored
Rubber-stamped by Dan Bernstein. * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
philn@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=113927 Patch by Manuel Rego Casasnovas <rego@igalia.com> on 2013-04-16 Reviewed by Gyuyoung Kim. Update libsoup required version to v2.42.0 and GLib to v2.36.0 as required by libsoup for EFL port. .: * Source/cmake/OptionsEfl.cmake: Tools: * efl/jhbuild.modules: * efl/patches/libsoup-2.40-auth-fix.patch: Removed as it's already included in v2.42.0. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 Apr, 2013 2 commits
-
-
paroga@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114556 Reviewed by Brent Fulgham. WTF_USE_ICU_UNICODE and WTF_USE_WCHAR_UNICODE are used to reduce duplication in the platform specific CMake files. .: * Source/cmake/OptionsBlackBerry.cmake: * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWinCE.cmake: Source/JavaScriptCore: * CMakeLists.txt: * PlatformEfl.cmake: Source/WebCore: * CMakeLists.txt: * PlatformBlackBerry.cmake: * PlatformEfl.cmake: * PlatformWinCE.cmake: Source/WTF: * wtf/CMakeLists.txt: * wtf/PlatformBlackBerry.cmake: * wtf/PlatformEfl.cmake: * wtf/PlatformWinCE.cmake: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114613 Reviewed by Carlos Garcia Campos. * Source/autotools/SetupAutoconfHeader.m4: Correct definition of ENABLE_CREDENTIAL_STORAGE so that the ENABLE(CREDENTIAL_STORAGE) macro work properly. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Apr, 2013 4 commits
-
-
mrobinson@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114520 Reviewed by Carlos Garcia Campos. * Source/autotools/Versions.m4: Only depend on Pango 1.30.0 instead of Pango 1.32.0. 1.32.0 isn't strictly necessary and the version of GTK+ that we depend on (3.6.0) depends on 1.30.0. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=114483 Reviewed by Eric Carlson. .: Add symbols needed by WebCoreTestSupport to exports list. * Source/autotools/symbols.filter: Source/WebCore: Test: media/timeranges-nearest.html TimeRanges::nearest() has had an incorrect algorithm since its addition, which has gone unnoticed because no media engine supports seekable ranges with greater than one entry, and no media engine seekable ranges with startTime values > 0. Fix the algorithm used to walk a TimeRanges object; return the closest time, not the smallest delta between range and target time. * html/TimeRanges.cpp: (TimeRanges::nearest): Add some internal functions to allow us to write LayoutTests for TimeRanges objects: * WebCore.exp.in: * testing/Internals.cpp: (WebCore::Internals::createTimeRanges): (WebCore::Internals::closestTimeToTimeRanges): * testing/Internals.h: * testing/Internals.idl: Source/WebKit: Add symbols needed by WebCoreTestSupport to the exports list. * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Source/WebKit/win: Add symbols needed by WebCoreTestSupport to the exports list. * WebKit.vcproj/WebKitExports.def.in: LayoutTests: * media/timeranges-nearest-expected.txt: Added. * media/timeranges-nearest.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
http://trac.webkit.org/changeset/148262 https://bugs.webkit.org/show_bug.cgi?id=114493 Cairo dep should now build, rolling r148247 back in (Requested by zdobersek on #webkit). Patch by Commit Queue <rniwa@webkit.org> on 2013-04-12 .: * Source/autotools/FindDependencies.m4: * Source/autotools/PrintBuildConfiguration.m4: * Source/autotools/SetupWebKitFeatures.m4: Source/WebCore: * platform/graphics/GraphicsContext.cpp: (WebCore): * platform/graphics/ImageBuffer.cpp: (WebCore): * platform/graphics/cairo/GLContext.h: (GLContext): * platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::isAcceleratedContext): (WebCore): * platform/graphics/cairo/ImageBufferCairo.cpp: (WebCore::ImageBufferData::ImageBufferData): (WebCore): (WebCore::createCairoGLSurface): (WebCore::ImageBuffer::ImageBuffer): (WebCore::ImageBuffer::platformTransformColorSpace): (WebCore::mapSurfaceToImage): (WebCore::unmapSurfaceFromImage): (WebCore::getImageData): (WebCore::ImageBuffer::putByteArray): (WebCore::ImageBufferData::paintToTextureMapper): (WebCore::ImageBuffer::platformLayer): * platform/graphics/cairo/ImageBufferDataCairo.h: (ImageBufferData): * platform/graphics/egl/GLContextEGL.cpp: (WebCore::GLContextEGL::GLContextEGL): (WebCore::GLContextEGL::~GLContextEGL): (WebCore::GLContextEGL::cairoDevice): (WebCore): * platform/graphics/egl/GLContextEGL.h: * platform/graphics/glx/GLContextGLX.cpp: (WebCore::GLContextGLX::GLContextGLX): (WebCore::GLContextGLX::~GLContextGLX): (WebCore::GLContextGLX::cairoDevice): (WebCore): * platform/graphics/glx/GLContextGLX.h: (GLContextGLX): Tools: * Scripts/webkitdirs.pm: (buildAutotoolsProject): * gtk/jhbuild.modules: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
http://trac.webkit.org/changeset/148247 https://bugs.webkit.org/show_bug.cgi?id=114490 Cairo dep fails to build on builders due to missing EGL headers (Requested by zdobersek on #webkit). Patch by Commit Queue <rniwa@webkit.org> on 2013-04-11 .: * Source/autotools/FindDependencies.m4: * Source/autotools/PrintBuildConfiguration.m4: * Source/autotools/SetupWebKitFeatures.m4: Source/WebCore: * platform/graphics/GraphicsContext.cpp: (WebCore): * platform/graphics/ImageBuffer.cpp: (WebCore): * platform/graphics/cairo/GLContext.h: (GLContext): * platform/graphics/cairo/GraphicsContextCairo.cpp: * platform/graphics/cairo/ImageBufferCairo.cpp: (WebCore::ImageBufferData::ImageBufferData): (WebCore::ImageBuffer::ImageBuffer): (WebCore::ImageBuffer::platformTransformColorSpace): (WebCore::getImageData): (WebCore::ImageBuffer::putByteArray): (WebCore): * platform/graphics/cairo/ImageBufferDataCairo.h: (ImageBufferData): * platform/graphics/egl/GLContextEGL.cpp: (WebCore::GLContextEGL::GLContextEGL): (WebCore::GLContextEGL::~GLContextEGL): * platform/graphics/egl/GLContextEGL.h: * platform/graphics/glx/GLContextGLX.cpp: (WebCore::GLContextGLX::GLContextGLX): (WebCore::GLContextGLX::~GLContextGLX): * platform/graphics/glx/GLContextGLX.h: (GLContextGLX): Tools: * Scripts/webkitdirs.pm: (buildAutotoolsProject): * gtk/jhbuild.modules: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Apr, 2013 4 commits
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114473 Patch by Paweł Forysiuk <tuxator@o2.pl> on 2013-04-11 Reviewed by Martin Robinson. * Source/autotools/CheckSystemAndBasicDependencies.m4: Fix typo. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=104672 Reviewed by Alejandro G. Castro. .: Detect that we can activate accelerated canvas when CairoGL is present and TextureMapperGL is enabled. * Source/autotools/FindDependencies.m4: Look for CairoGL. * Source/autotools/PrintBuildConfiguration.m4: Print the status of accelerated canvas activation. * Source/autotools/SetupWebKitFeatures.m4: Set the feature. Source/WebCore: No new tests. We do not yet have the ability to run tests against accelerated content. * platform/graphics/GraphicsContext.cpp: (WebCore): We don't use the stub implementation of isAcceleratedContext any longer. * platform/graphics/ImageBuffer.cpp: (WebCore): Ditto for ImageBuffer::platformLayer. * platform/graphics/cairo/GLContext.h: (GLContext): Added method to get a cairo_device_t from the context. * platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::isAcceleratedContext): Return true when we are a CairoGL surface. * platform/graphics/cairo/ImageBufferCairo.cpp: (WebCore::ImageBufferData::ImageBufferData): Initialize the size and the texture to 0. (WebCore::createCairoGLSurface): Added this helper. (WebCore::ImageBuffer::ImageBuffer): When we are in accelerated rendering mode, create a CairoGL surface. (WebCore::ImageBuffer::platformTransformColorSpace): Do not implement this for accelerated contexts yet. (WebCore::mapSurfaceToImage): Added this helper, since we don't require Cairo 1.12 yet, which provides an builtin implementation. (WebCore::unmapSurfaceFromImage): Ditto. (WebCore::getImageData): Map the surface to an image surface first. (WebCore::ImageBuffer::putByteArray): Ditto. (WebCore::ImageBufferData::paintToTextureMapper): Connect the accelerated canvas into the TextureMapper infrastructure. (WebCore::ImageBuffer::platformLayer): This lets the TextureMapper at the ImageBufferData. * platform/graphics/cairo/ImageBufferDataCairo.h: (ImageBufferData): Subclass TexturMapperPlatformLayer where appropriate. * platform/graphics/egl/GLContextEGL.cpp: Added implementation of cairoDevice. * platform/graphics/egl/GLContextEGL.h: Ditto. * platform/graphics/glx/GLContextGLX.cpp: Ditto * platform/graphics/glx/GLContextGLX.h: Ditto. Tools: Since the value of ACCELERATED_2D_CANVAS relies on some somewhat unusual dependencies, don't override value of the setting determined by configure. This will make it easier for people using build-webkit, but not the WebKit JHBuild. * Scripts/webkitdirs.pm: (buildAutotoolsProject): Add a blacklist for settings to never override. * gtk/jhbuild.modules: Build CairoGL. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
* Source/autotools/symbols.filter: Stop exporting redundant symbols. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114029 Patch by Rune Lillesveen <rune@opera.com> on 2013-04-11 Reviewed by Kenneth Rohde Christiansen. .: Removed setResolutionOverride from exports. * Source/autotools/symbols.filter: Source/WebCore: The implementation used the physical resolution to evaluate the resolution media features. Changed to use the actual CSS resolution, also known as the device-pixel-ratio, instead. Unified the code for evaluating the resolution and device-pixel-ratio media features. No new tests, covered by existing tests. * WebCore.exp.in: * css/CSSPrimitiveValue.h: (WebCore::CSSPrimitiveValue::isResolution): * css/MediaQueryEvaluator.cpp: (WebCore::evalResolution): (WebCore::device_pixel_ratioMediaFeatureEval): (WebCore::resolutionMediaFeatureEval): * page/Screen.cpp: * page/Screen.h: * page/Settings.cpp: (WebCore): * page/Settings.h: (Settings): * testing/InternalSettings.cpp: (WebCore::InternalSettings::Backup::Backup): (WebCore::InternalSettings::Backup::restoreTo): * testing/InternalSettings.h: (Backup): (InternalSettings): * testing/InternalSettings.idl: Source/WebKit: Removed setResolutionOverride from exports. * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Source/WebKit/win: Removed setResolutionOverride from exports. * WebKit.vcproj/WebKitExports.def.in: LayoutTests: Modified tests to change CSS resolution instead of physical resolution. * fast/media/mq-resolution.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Apr, 2013 1 commit
-
-
mario@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=97324 Patch by Anton Obzhirov <a.obzhirov@samsung.com> on 2013-04-10 Reviewed by Sam Weinig. .: Page Visibility has been enabled for GTK port. New GTK unittest has been added. * Source/autotools/SetupWebKitFeatures.m4: Source/WebKit/gtk: Implemented access to page visibility API for GTK test runner. * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::setPageVisibility): * WebCoreSupport/DumpRenderTreeSupportGtk.h: Source/WebKit2: Added new unittest to test page visibility using GTK Widget visibility API. * UIProcess/API/gtk/tests/TestWebKitWebView.cpp: (testWebViewPageVisibility): (beforeAll): * UIProcess/API/gtk/tests/WebViewTest.cpp: (WebViewTest::showInWindow): * UIProcess/API/gtk/tests/WebViewTest.h: Tools: Implemented test runner API for page visibility layout tests. * DumpRenderTree/gtk/TestRunnerGtk.cpp: (TestRunner::resetPageVisibility): (TestRunner::setPageVisibility): * Scripts/webkitperl/FeatureList.pm: LayoutTests: * platform/gtk/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 09 Apr, 2013 5 commits
-
-
rakuco@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114285 Reviewed by Anders Carlsson. .: Instead of adding the `THEME_DIR' preprocessor variable in many different CMakeList.txt files in the tree, declare it in OptionsEfl.cmake so that we avoid needlessly duplicating code around. While here, rename it to `TEST_THEME_DIR', which is the name used our WebKit2 infrastructure, to better reflect the purpose of this value. * Source/cmake/OptionsEfl.cmake: Add the TEST_THEME_DIR preprocessor definition. Source/WebKit2: * PlatformEfl.cmake: Remove definition of `TEST_THEME_DIR', which is now defined in OptionsEfl.cmake. Tools: Adapt to the renaming of `THEME_DIR' to `TEST_THEME_DIR'. * DumpRenderTree/efl/CMakeLists.txt: * DumpRenderTree/efl/DumpRenderTreeChrome.cpp: (DumpRenderTreeChrome::createView): (DumpRenderTreeChrome::createInspectorView): (DumpRenderTreeChrome::initialize): (DumpRenderTreeChrome::onDownloadRequest): * EWebLauncher/CMakeLists.txt: * EWebLauncher/main.c: (findThemePath): * EWebLauncher/url_bar.c: (url_bar_add): * MiniBrowser/efl/CMakeLists.txt: * MiniBrowser/efl/main.c: (window_create): * TestWebKitAPI/PlatformEfl.cmake: * TestWebKitAPI/efl/PlatformWebView.cpp: (TestWebKitAPI::PlatformWebView::PlatformWebView): * WebKitTestRunner/PlatformEfl.cmake: * WebKitTestRunner/efl/PlatformWebViewEfl.cpp: (WTR::PlatformWebView::PlatformWebView): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114016 Patch by ChangSeok Oh <changseok.oh@collabora.com> on 2013-04-09 Reviewed by Gustavo Noronha Silva. Upversion of clutter to 1.14, cogl to 1.14 and clutter-gtk to 1.4.4. .: * Source/autotools/Versions.m4: Tools: * gtk/jhbuild-optional.modules: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thiago.santos@intel.com authored
https://bugs.webkit.org/show_bug.cgi?id=89875 Reviewed by Maciej Stachowiak. .: Added the bits to EFL/CMake buildsystem to find the libseccomp library. * Source/cmake/FindLibSeccomp.cmake: Added. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: Source/WebCore: Make the DATA_DIR global since it is now needed for WebCore and WebKit2. It is now used to set a sandbox policy for the EFL port. * PlatformEfl.cmake: Source/WebKit2: Introduce the foundations of the SeccompFilter-based sandbox. The hardening of the WebProcess (and potentially PluginProcess, etc) works by a combination of the two things: - Blocking syscalls that are not used, reducing the size of the attack surface. - Trapping sensitive syscalls and delegating the execution of these syscalls to a separated trusted process subject to a set of policies. The initial implementation traps the open()-family of syscalls on WebKit EFL's and Qt's WebProcess, but it could be easily used by any Linux port, since the code is suppose to be Linux-compliant. The list of syscalls handled by the broker process should definitely grow as we mature the implementation. Other syscalls needs to be handled to get this sandbox fully functional, like unlink(), mkdir(), etc. The broker process should be initialized as early as possible on the sandboxed process main() function, because it only does a fork(), which is cheap on Linux. That also aims to minimize the resident memory footprint of the broker process. Opening of files for upload and saving downloads is not supported yet, since it should be handled to the UIProcess in a similar fashion as the Mac port does. * PlatformEfl.cmake: * Shared/linux/SeccompFilters/OpenSyscall.cpp: Added. (WebKit): (WebKit::OpenSyscall::createFromOpenatContext): (WebKit::OpenSyscall::createFromCreatContext): (WebKit::OpenSyscall::OpenSyscall): (WebKit::OpenSyscall::setResult): (WebKit::OpenSyscall::execute): (WebKit::OpenSyscall::encode): (WebKit::OpenSyscall::decode): (WebKit::OpenSyscallResult::OpenSyscallResult): (WebKit::OpenSyscallResult::~OpenSyscallResult): (WebKit::OpenSyscallResult::encode): (WebKit::OpenSyscallResult::decode): * Shared/linux/SeccompFilters/OpenSyscall.h: Added. (CoreIPC): (WebKit): (OpenSyscall): (WebKit::OpenSyscall::setPath): (WebKit::OpenSyscall::setFlags): (WebKit::OpenSyscall::setMode): (OpenSyscallResult): (WebKit::OpenSyscallResult::fd): (WebKit::OpenSyscallResult::errorNumber): * Shared/linux/SeccompFilters/SeccompBroker.cpp: Added. (WebKit): (SeccompBrokerClient): (WebKit::sendMessage): (WebKit::receiveMessage): (WebKit::SIGSYSHandler): (WebKit::registerSIGSYSHandler): (WebKit::SeccompBrokerClient::shared): (WebKit::SeccompBrokerClient::SeccompBrokerClient): (WebKit::SeccompBrokerClient::~SeccompBrokerClient): (WebKit::SeccompBrokerClient::dispatch): (WebKit::SeccompBrokerClient::handleIfOpeningOnlineCPUCount): (WebKit::SeccompBroker::launchProcess): (WebKit::SeccompBroker::initialize): (WebKit::SeccompBroker::runLoop): * Shared/linux/SeccompFilters/SeccompBroker.h: Added. (WebKit): (SeccompBroker): (WebKit::SeccompBroker::setSyscallPolicy): (WebKit::SeccompBroker::SeccompBroker): * Shared/linux/SeccompFilters/SeccompFilters.cpp: Added. (WebKit): (WebKit::SeccompFilters::SeccompFilters): (WebKit::SeccompFilters::~SeccompFilters): (WebKit::SeccompFilters::addRule): (WebKit::SeccompFilters::initialize): * Shared/linux/SeccompFilters/SeccompFilters.h: Added. (WebKit): (SeccompFilters): (WebKit::SeccompFilters::context): (WebKit::SeccompFilters::platformInitialize): * Shared/linux/SeccompFilters/SigactionSyscall.cpp: Added. (WebKit): (WebKit::SigactionSyscall::createFromContext): * Shared/linux/SeccompFilters/SigactionSyscall.h: Added. (WebKit): (SigactionSyscall): * Shared/linux/SeccompFilters/SigprocmaskSyscall.cpp: Added. (WebKit): (WebKit::SigprocmaskSyscall::createFromContext): * Shared/linux/SeccompFilters/SigprocmaskSyscall.h: Added. (WebKit): (SigprocmaskSyscall): * Shared/linux/SeccompFilters/Syscall.cpp: Added. (WebKit): (WebKit::Syscall::createFromContext): (WebKit::Syscall::createFromDecoder): (WebKit::Syscall::Syscall): (WebKit::SyscallResult::createFromDecoder): (WebKit::SyscallResult::SyscallResult): * Shared/linux/SeccompFilters/Syscall.h: Added. (CoreIPC): (WebKit): (Syscall): (WebKit::Syscall::~Syscall): (WebKit::Syscall::type): (WebKit::Syscall::setContext): (WebKit::Syscall::context): (SyscallResult): (WebKit::SyscallResult::~SyscallResult): (WebKit::SyscallResult::type): * Shared/linux/SeccompFilters/SyscallPolicy.cpp: Added. (WebKit): (WebKit::removeTrailingSlash): (WebKit::SyscallPolicy::hasPermissionForPath): (WebKit::SyscallPolicy::addFilePermission): (WebKit::SyscallPolicy::addDirectoryPermission): (WebKit::SyscallPolicy::addDefaultWebProcessPolicy): * Shared/linux/SeccompFilters/SyscallPolicy.h: Added. (WebKit): (SyscallPolicy): * Target.pri: * WebKit2.pri: * WebProcess/efl/SeccompFiltersWebProcessEfl.cpp: Added. (WebKit): (WebKit::SeccompFiltersWebProcessEfl::SeccompFiltersWebProcessEfl): (WebKit::SeccompFiltersWebProcessEfl::platformInitialize): * WebProcess/efl/SeccompFiltersWebProcessEfl.h: Added. (WebKit): (SeccompFiltersWebProcessEfl): * WebProcess/qt/SeccompFiltersWebProcessQt.cpp: Added. (WebKit): (WebKit::SeccompFiltersWebProcessQt::SeccompFiltersWebProcessQt): (WebKit::SeccompFiltersWebProcessQt::platformInitialize): * WebProcess/qt/SeccompFiltersWebProcessQt.h: Added. (WebKit): (SeccompFiltersWebProcessQt): * WebProcess/qt/WebProcessQt.cpp: (WebKit::WebProcess::platformInitializeWebProcess): * WebProcess/soup/WebProcessSoup.cpp: (WebKit::WebProcess::platformInitializeWebProcess): Tools: Add unit tests to verify if the handling of the open, openat, creat syscall is being done right. We check if the Read/Write/ReadAndWrite permissions are respected, if the canonical path is being resolved and if the permissions are falling back to the topmost parent directory with a policy set when the directory being opened has no policy. We also test if any attempt of blocking SIGSYS is silently ignored. SIGSYS cannot be blocked because in it's handler is where we hook syscalls to the broker process. Also added libseccomp to EFL's jhbuild to make the life of developers willing to help easier. * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/PlatformEfl.cmake: * TestWebKitAPI/Tests/WebKit2/SeccompFilters.cpp: Added. (TestWebKitAPI): (SeccompEnvironment): (TestWebKitAPI::SeccompEnvironment::SetUp): (TestWebKitAPI::SeccompEnvironment::TearDown): (TestWebKitAPI::dummyHandler): (TestWebKitAPI::TEST): (TestWebKitAPI::stressTest): * efl/jhbuild.modules: * qmake/mkspecs/features/features.pri: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
carlosgc@webkit.org authored
* Source/autotools/symbols.filter: Add some symbols that are mangled differently in 32 bits due to size_t. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114243 Reviewed by Geoffrey Garen. Setting the CMAKE_BUILD_TYPE causes some problem with Visual Studio. Adopt the current usage of the variable to better CMake style. * CMakeLists.txt: * Source/cmake/OptionsCommon.cmake: * Source/cmake/OptionsEfl.cmake: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Apr, 2013 2 commits
-
-
mrobinson@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=113349 Reviewed by Gustavo Noronha Silva. * Source/autotools/SetupWebKitFeatures.m4: Pass the default feature set to the feature script in a more portable way. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114065 Patch by Jeff Rogers <jrogers@rim.com> on 2013-04-08 Reviewed by Rob Buis. .: Internal PR 317350 Export JSC symbols in BlackBerry build. * Source/cmake/OptionsBlackBerry.cmake: Source/WebKit: Internal PR 317350 Remove obsolete files. * PlatformBlackBerry.cmake: Source/WebKit/blackberry: Internal PR 317350 Add new API for determining if user gesture is being processed. Remove obsolete files. Properly expose JSC global context. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate): (BlackBerry::WebKit::WebPage::executeJavaScriptFunction): (BlackBerry::WebKit::WebPage::globalContext): (BlackBerry::WebKit::WebPage::isProcessingUserGesture): (WebKit): * Api/WebPage.h: * Api/WebPageClient.h: * Api/WebPage_p.h: (WebPagePrivate): * WebCoreSupport/ChromeClientBlackBerry.cpp: * WebCoreSupport/ChromeClientBlackBerry.h: (ChromeClientBlackBerry): * WebCoreSupport/ClientExtension.cpp: Removed. * WebCoreSupport/ClientExtension.h: Removed. * WebCoreSupport/ExternalExtension.cpp: Removed. * WebCoreSupport/ExternalExtension.h: Removed. * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: (WebCore::FrameLoaderClientBlackBerry::dispatchDidClearWindowObjectInWorld): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-