1. 12 Apr, 2013 3 commits
    • jer.noble@apple.com's avatar
      TimeRanges::nearest() returns incorrect results. · b6ea0d4a
      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
      b6ea0d4a
    • zandobersek@gmail.com's avatar
      Unreviewed, rolling out r148262. · a86b1954
      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
      a86b1954
    • zandobersek@gmail.com's avatar
      Unreviewed, rolling out r148247. · cd8dcdb6
      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
      cd8dcdb6
  2. 11 Apr, 2013 4 commits
    • commit-queue@webkit.org's avatar
      [GTK] Webkit fails to build with MinGW compiler after changeset 146468 · 5ab58687
      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
      5ab58687
    • mrobinson@webkit.org's avatar
      [GTK] Add accelerated 2D canvas support using cairo-gl · 6d6f5915
      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
      6d6f5915
    • zandobersek@gmail.com's avatar
      Unreviewed. · 00554f0e
      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
      00554f0e
    • commit-queue@webkit.org's avatar
      Incorrect evaluation of resolution media queries · 5314a9de
      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
      5314a9de
  3. 10 Apr, 2013 1 commit
    • mario@webkit.org's avatar
      [GTK] Add support for Page Visibility · 41e5cc3b
      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
      41e5cc3b
  4. 09 Apr, 2013 5 commits
    • rakuco@webkit.org's avatar
      [EFL] Declare TEST_THEME_DIR in a single place. · 58ad2803
      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
      58ad2803
    • commit-queue@webkit.org's avatar
      [GTK][AC] upversion of clutter and its dependecy · 88deaa45
      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
      88deaa45
    • thiago.santos@intel.com's avatar
      [WK2] Drop WebProcess capabilities on Linux using seccomp filters · 0ee9d4d0
      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
      0ee9d4d0
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix GTK+ 32 bit build. · 1a35730e
      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
      1a35730e
    • paroga@webkit.org's avatar
      Do not set CMAKE_BUILD_TYPE if it is not defined · faf83e24
      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
      faf83e24
  5. 08 Apr, 2013 6 commits
  6. 07 Apr, 2013 2 commits
    • paroga@webkit.org's avatar
      Remove references to Skia and V8 from CMake files · c705b342
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114130
      
      Reviewed by Geoffrey Garen.
      
      .:
      
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/WebKitPackaging.cmake:
      
      Source/JavaScriptCore:
      
      * shell/PlatformBlackBerry.cmake:
      
      Source/WebCore:
      
      * PlatformBlackBerry.cmake:
      
      Source/WebKit:
      
      * PlatformBlackBerry.cmake:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c705b342
    • ddkilzer@apple.com's avatar
      Remove the rest of SVG_DOM_OBJC_BINDINGS · 0cd46787
      ddkilzer@apple.com authored
      <http://webkit.org/b/114112>
      
      Reviewed by Geoffrey Garen.
      
      .:
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      - Remove references to ENABLE_SVG_DOM_OBJC_BINDINGS.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Source/WebCore:
      
      * Configurations/WebCore.xcconfig:
      - Remove EXCLUDED_SOURCE_FILE_NAMES_SVG_DOM_OBJC_BINDINGS.  Note
        that DOMHTMLIFrameElementPrivate.h should not have been in
        this list because the class contained methods other than just
        -getSVGDocument.
      
      * WebCore.xcodeproj/project.pbxproj:
      - Remove DOMHTMLFrameElementPrivate.h since the only method it
        contained was -[DOMHTMLFrameElement getSVGDocument], which was
        part of the SVG DOM Objective-C bindings.
      
      * bindings/objc/DOM.mm:
      (kitClass):
      * bindings/objc/DOMEvents.mm:
      (kitClass):
      * bindings/objc/ExceptionHandlers.mm:
      (WebCore::raiseDOMException):
      - Remove code in ENABLE(SVG_DOM_OBJC_BINDINGS).
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      - Remove reference to SVG_DOM_OBJC_BINDINGS.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      - Remove --svg-dom-objc-bindings switch.
      * qmake/mkspecs/features/features.pri:
      - Remove reference to ENABLE_SVG_DOM_OBJC_BINDINGS.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0cd46787
  7. 05 Apr, 2013 6 commits
    • commit-queue@webkit.org's avatar
      [EFL] --no-tiled-backing-store build fails because of not used #if USE(ACCELERATED_COMPOSITING) · e05faae5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113627
      
      Patch by Ed Bartosh <bartosh@gmail.com> on 2013-04-05
      Reviewed by Simon Fraser.
      
      .:
      
      * Source/cmake/OptionsEfl.cmake: Disabled 3D_GRAPHICS and WEB_GL when accelerated compositing is on
      
      Source/WebCore:
      
             Wrapped code with #if USE(ACCELERATED_COMPOSITING) to make it compilable
             with --no-tiled-backing-store build option:
      * page/animation/ImplicitAnimation.cpp:
      (WebCore::ImplicitAnimation::animate):
      * page/animation/KeyframeAnimation.cpp:
      (WebCore::KeyframeAnimation::animate):
      * platform/graphics/TextTrackRepresentation.cpp:
      (NullTextTrackRepresentation):
      * platform/graphics/TextTrackRepresentation.h:
      (TextTrackRepresentation):
      * testing/Internals.cpp:
      (WebCore::Internals::resetToConsistentState):
      (WebCore::Internals::setHeaderHeight):
      (WebCore::Internals::setFooterHeight):
      
      Source/WebKit2:
      
      Wrapped code with #if USE(ACCELERATED_COMPOSITING) to make it compilable
      with --no-tiled-backing-store build option:
      * UIProcess/API/C/efl/WKView.cpp:
      * UIProcess/API/efl/EvasGLContext.cpp:
      * UIProcess/API/efl/EvasGLContext.h:
      * UIProcess/API/efl/EvasGLSurface.cpp:
      * UIProcess/API/efl/EvasGLSurface.h:
      * UIProcess/API/efl/EwkView.cpp:
      (EwkView::EwkView):
      (EwkView::displayTimerFired):
      (EwkView::takeSnapshot):
      * UIProcess/API/efl/EwkView.h:
      (WebKit):
      (EwkView):
      * UIProcess/API/efl/SnapshotImageGL.cpp:
      * UIProcess/API/efl/SnapshotImageGL.h:
      * UIProcess/PageViewportController.cpp:
      * UIProcess/PageViewportController.h:
      * UIProcess/efl/PageViewportControllerClientEfl.cpp:
      * UIProcess/efl/ViewClientEfl.cpp:
      (WebKit::ViewClientEfl::didChangeContentsSize):
      * UIProcess/efl/WebView.cpp:
      (WebKit::WebView::didCommitLoad):
      (WebKit::WebView::updateViewportSize):
      (WebKit::WebView::didChangeViewportProperties):
      (WebKit::WebView::pageDidRequestScroll):
      (WebKit::WebView::didRenderFrame):
      (WebKit::WebView::pageTransitionViewportReady):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e05faae5
    • commit-queue@webkit.org's avatar
      [EFL] Enable indexed database · 6e763e91
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107248
      
      Patch by Rijubrata Bhaumik <rijubrata.bhaumik@intel.com> on 2013-04-05
      Reviewed by Alexis Menard.
      
      .:
      
      * Source/cmake/OptionsEfl.cmake:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      
      LayoutTests:
      
      * platform/efl-wk1/TestExpectations:
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e763e91
    • benjamin@webkit.org's avatar
      Fix GTK+ for real after r147712 · dface958
      benjamin@webkit.org authored
      Reviewed by Ryosuke Niwa.
      
      .: 
      
      * GNUmakefile.am:
      * Source/Platform: Added.
      * Source/Platform/GNUmakefile.am: Added.
      
      Source/Platform: 
      
      * GNUmakefile.am: Added.
      * Platform: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dface958
    • benjamin@webkit.org's avatar
      Fix GTK+ build after r147712 · 77e0c243
      benjamin@webkit.org authored
      Unreviewed.
      
      * GNUmakefile.am: remove the reference to
      Source/Platform/GNUmakefile.am. The file has been removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77e0c243
    • benjamin@webkit.org's avatar
      Remove WTFURL from WebKit · fee685df
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113994
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-05
      Reviewed by Ryosuke Niwa.
      
      .: 
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/WebCore: 
      
      * GNUmakefile.list.am:
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      * platform/KURL.cpp:
      (WebCore):
      (WebCore::KURL::reportMemoryUsage):
      (WebCore::KURL::isSafeToSendToAnotherThread):
      * platform/KURL.h:
      (KURL):
      (WebCore):
      * platform/KURLWTFURL.cpp: Removed.
      * platform/KURLWTFURLImpl.h: Removed.
      * platform/cf/KURLCFNet.cpp:
      (WebCore::KURL::KURL):
      (WebCore::KURL::createCFURL):
      (WebCore):
      * platform/mac/KURLMac.mm:
      (WebCore::KURL::KURL):
      (WebCore::KURL::createCFURL):
      
      Source/WebKit/blackberry: 
      
      * WebCoreSupport/AboutDataUseFeatures.in:
      
      Source/WTF: 
      
      Painful, but that is for the best now :(
      
      * GNUmakefile.list.am:
      * WTF.xcodeproj/project.pbxproj:
      * wtf/MemoryInstrumentationParsedURL.h: Removed.
      * wtf/url/api/ParsedURL.cpp: Removed.
      * wtf/url/api/ParsedURL.h: Removed.
      * wtf/url/api/URLBuffer.h: Removed.
      * wtf/url/api/URLQueryCharsetConverter.h: Removed.
      * wtf/url/api/URLString.cpp: Removed.
      * wtf/url/api/URLString.h: Removed.
      * wtf/url/src/RawURLBuffer.h: Removed.
      * wtf/url/src/URLCanon.h: Removed.
      * wtf/url/src/URLCanonEtc.cpp: Removed.
      * wtf/url/src/URLCanonFilesystemurl.cpp: Removed.
      * wtf/url/src/URLCanonFileurl.cpp: Removed.
      * wtf/url/src/URLCanonHost.cpp: Removed.
      * wtf/url/src/URLCanonICU.cpp: Removed.
      * wtf/url/src/URLCanonIP.cpp: Removed.
      * wtf/url/src/URLCanonInternal.cpp: Removed.
      * wtf/url/src/URLCanonInternal.h: Removed.
      * wtf/url/src/URLCanonMailto.cpp: Removed.
      * wtf/url/src/URLCanonPath.cpp: Removed.
      * wtf/url/src/URLCanonPathurl.cpp: Removed.
      * wtf/url/src/URLCanonQuery.cpp: Removed.
      * wtf/url/src/URLCanonRelative.cpp: Removed.
      * wtf/url/src/URLCanonStdURL.cpp: Removed.
      * wtf/url/src/URLCharacterTypes.cpp: Removed.
      * wtf/url/src/URLCharacterTypes.h: Removed.
      * wtf/url/src/URLComponent.h: Removed.
      * wtf/url/src/URLFile.h: Removed.
      * wtf/url/src/URLParse.cpp: Removed.
      * wtf/url/src/URLParse.h: Removed.
      * wtf/url/src/URLParseFile.cpp: Removed.
      * wtf/url/src/URLParseInternal.h: Removed.
      * wtf/url/src/URLSegments.cpp: Removed.
      * wtf/url/src/URLSegments.h: Removed.
      * wtf/url/src/URLUtil.cpp: Removed.
      * wtf/url/src/URLUtil.h: Removed.
      * wtf/url/src/URLUtilInternal.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fee685df
    • rniwa@webkit.org's avatar
      Remove the top level gyp directory and Platform/chromium · caabc53f
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113999
      
      Reviewed by Benjamin Poulain.
      
      .: 
      
      * Source/Platform: Removed.
      * Source/gyp: Removed.
      
      Source/Platform: 
      
      * Platform.gyp: Removed.
      * Platform.gyp/.gitignore: Removed.
      * Platform.gyp/Platform.gyp: Removed.
      * Platform.gypi: Removed.
      * chromium: Removed.
      * chromium/public: Removed.
      * chromium/public/Platform.h: Removed.
      * chromium/public/WebAnimation.h: Removed.
      * chromium/public/WebAnimationCurve.h: Removed.
      * chromium/public/WebAnimationDelegate.h: Removed.
      * chromium/public/WebAudioBus.h: Removed.
      * chromium/public/WebAudioDestinationConsumer.h: Removed.
      * chromium/public/WebAudioDevice.h: Removed.
      * chromium/public/WebBlobData.h: Removed.
      * chromium/public/WebBlobRegistry.h: Removed.
      * chromium/public/WebCString.h: Removed.
      * chromium/public/WebCanvas.h: Removed.
      * chromium/public/WebClipboard.h: Removed.
      * chromium/public/WebColor.h: Removed.
      * chromium/public/WebCommon.h: Removed.
      * chromium/public/WebCompositorOutputSurface.h: Removed.
      * chromium/public/WebCompositorSupport.h: Removed.
      * chromium/public/WebContentLayer.h: Removed.
      * chromium/public/WebContentLayerClient.h: Removed.
      * chromium/public/WebCookie.h: Removed.
      * chromium/public/WebCookieJar.h: Removed.
      * chromium/public/WebData.h: Removed.
      * chromium/public/WebDiscardableMemory.h: Removed.
      * chromium/public/WebDragData.h: Removed.
      * chromium/public/WebExternalTextureLayer.h: Removed.
      * chromium/public/WebExternalTextureLayerClient.h: Removed.
      * chromium/public/WebFileError.h: Removed.
      * chromium/public/WebFileInfo.h: Removed.
      * chromium/public/WebFileSystem.h: Removed.
      * chromium/public/WebFileSystemCallbacks.h: Removed.
      * chromium/public/WebFileSystemEntry.h: Removed.
      * chromium/public/WebFileSystemType.h: Removed.
      * chromium/public/WebFileUtilities.h: Removed.
      * chromium/public/WebFilterOperation.h: Removed.
      * chromium/public/WebFilterOperations.h: Removed.
      * chromium/public/WebFlingAnimator.h: Removed.
      * chromium/public/WebFloatAnimationCurve.h: Removed.
      * chromium/public/WebFloatKeyframe.h: Removed.
      * chromium/public/WebFloatPoint.h: Removed.
      * chromium/public/WebFloatQuad.h: Removed.
      * chromium/public/WebFloatRect.h: Removed.
      * chromium/public/WebFloatSize.h: Removed.
      * chromium/public/WebGamepad.h: Removed.
      * chromium/public/WebGamepads.h: Removed.
      * chromium/public/WebGestureCurve.h: Removed.
      * chromium/public/WebGestureCurveTarget.h: Removed.
      * chromium/public/WebGraphicsContext3D.h: Removed.
      * chromium/public/WebGraphicsMemoryAllocation.h: Removed.
      * chromium/public/WebGraphicsMemoryStats.h: Removed.
      * chromium/public/WebHTTPBody.h: Removed.
      * chromium/public/WebHTTPHeaderVisitor.h: Removed.
      * chromium/public/WebHTTPLoadInfo.h: Removed.
      * chromium/public/WebHyphenator.h: Removed.
      * chromium/public/WebImage.h: Removed.
      * chromium/public/WebImageLayer.h: Removed.
      * chromium/public/WebInputHandler.h: Removed.
      * chromium/public/WebInputHandlerClient.h: Removed.
      * chromium/public/WebLayer.h: Removed.
      * chromium/public/WebLayerPositionConstraint.h: Removed.
      * chromium/public/WebLayerScrollClient.h: Removed.
      * chromium/public/WebLayerTreeView.h: Removed.
      * chromium/public/WebLocalizedString.h: Removed.
      * chromium/public/WebMediaConstraints.h: Removed.
      * chromium/public/WebMediaStream.h: Removed.
      * chromium/public/WebMediaStreamCenter.h: Removed.
      * chromium/public/WebMediaStreamCenterClient.h: Removed.
      * chromium/public/WebMediaStreamSource.h: Removed.
      * chromium/public/WebMediaStreamSourcesRequest.h: Removed.
      * chromium/public/WebMediaStreamTrack.h: Removed.
      * chromium/public/WebMessagePortChannel.h: Removed.
      * chromium/public/WebMessagePortChannelClient.h: Removed.
      * chromium/public/WebMimeRegistry.h: Removed.
      * chromium/public/WebNonCopyable.h: Removed.
      * chromium/public/WebPluginListBuilder.h: Removed.
      * chromium/public/WebPoint.h: Removed.
      * chromium/public/WebPrerender.h: Removed.
      * chromium/public/WebPrerenderingSupport.h: Removed.
      * chromium/public/WebPrivateOwnPtr.h: Removed.
      * chromium/public/WebPrivatePtr.h: Removed.
      * chromium/public/WebRTCConfiguration.h: Removed.
      * chromium/public/WebRTCDTMFSenderHandler.h: Removed.
      * chromium/public/WebRTCDTMFSenderHandlerClient.h: Removed.
      * chromium/public/WebRTCDataChannelHandler.h: Removed.
      * chromium/public/WebRTCDataChannelHandlerClient.h: Removed.
      * chromium/public/WebRTCICECandidate.h: Removed.
      * chromium/public/WebRTCPeerConnectionHandler.h: Removed.
      * chromium/public/WebRTCPeerConnectionHandlerClient.h: Removed.
      * chromium/public/WebRTCSessionDescription.h: Removed.
      * chromium/public/WebRTCSessionDescriptionRequest.h: Removed.
      * chromium/public/WebRTCStatsRequest.h: Removed.
      * chromium/public/WebRTCStatsResponse.h: Removed.
      * chromium/public/WebRTCVoidRequest.h: Removed.
      * chromium/public/WebRect.h: Removed.
      * chromium/public/WebReferrerPolicy.h: Removed.
      * chromium/public/WebRenderingStats.h: Removed.
      * chromium/public/WebScreenInfo.h: Removed.
      * chromium/public/WebScrollbar.h: Removed.
      * chromium/public/WebScrollbarLayer.h: Removed.
      * chromium/public/WebScrollbarThemeGeometry.h: Removed.
      * chromium/public/WebScrollbarThemePainter.h: Removed.
      * chromium/public/WebSize.h: Removed.
      * chromium/public/WebSocketStreamError.h: Removed.
      * chromium/public/WebSocketStreamHandle.h: Removed.
      * chromium/public/WebSocketStreamHandleClient.h: Removed.
      * chromium/public/WebSolidColorLayer.h: Removed.
      * chromium/public/WebSpeechSynthesisUtterance.h: Removed.
      * chromium/public/WebSpeechSynthesisVoice.h: Removed.
      * chromium/public/WebSpeechSynthesizer.h: Removed.
      * chromium/public/WebSpeechSynthesizerClient.h: Removed.
      * chromium/public/WebStorageArea.h: Removed.
      * chromium/public/WebStorageNamespace.h: Removed.
      * chromium/public/WebString.h: Removed.
      * chromium/public/WebThread.h: Removed.
      * chromium/public/WebThreadSafeData.h: Removed.
      * chromium/public/WebTransformAnimationCurve.h: Removed.
      * chromium/public/WebTransformKeyframe.h: Removed.
      * chromium/public/WebTransformOperations.h: Removed.
      * chromium/public/WebURL.h: Removed.
      * chromium/public/WebURLError.h: Removed.
      * chromium/public/WebURLLoadTiming.h: Removed.
      * chromium/public/WebURLLoader.h: Removed.
      * chromium/public/WebURLLoaderClient.h: Removed.
      * chromium/public/WebURLRequest.h: Removed.
      * chromium/public/WebURLResponse.h: Removed.
      * chromium/public/WebUnitTestSupport.h: Removed.
      * chromium/public/WebVector.h: Removed.
      * chromium/public/WebWorkerRunLoop.h: Removed.
      * chromium/public/android: Removed.
      * chromium/public/android/WebSandboxSupport.h: Removed.
      * chromium/public/android/WebThemeEngine.h: Removed.
      * chromium/public/default: Removed.
      * chromium/public/default/WebThemeEngine.h: Removed.
      * chromium/public/linux: Removed.
      * chromium/public/linux/WebFontFamily.h: Removed.
      * chromium/public/linux/WebFontInfo.h: Removed.
      * chromium/public/linux/WebFontRenderStyle.h: Removed.
      * chromium/public/linux/WebSandboxSupport.h: Removed.
      * chromium/public/mac: Removed.
      * chromium/public/mac/WebSandboxSupport.h: Removed.
      * chromium/public/mac/WebThemeEngine.h: Removed.
      * chromium/public/win: Removed.
      * chromium/public/win/WebSandboxSupport.h: Removed.
      * chromium/public/win/WebThemeEngine.h: Removed.
      * chromium/src: Removed.
      * chromium/src/Platform.cpp: Removed.
      * chromium/src/WebActiveGestureAnimation.cpp: Removed.
      * chromium/src/WebActiveGestureAnimation.h: Removed.
      * chromium/src/WebCString.cpp: Removed.
      * chromium/src/WebFilterOperation.cpp: Removed.
      * chromium/src/WebFilterOperations.cpp: Removed.
      * chromium/src/WebFloatQuad.cpp: Removed.
      * chromium/src/WebPrerenderingSupport.cpp: Removed.
      * chromium/src/WebString.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      caabc53f
  8. 04 Apr, 2013 2 commits
  9. 03 Apr, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [GTK] Bump required versions of some dependencies · ba45fd9d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113282
      
      Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-04-03
      Reviewed by Martin Robinson.
      
      .:
      
      This patch updates the following dependencies:
      
       - libsoup 2.42.0: is the current stable release.
      
       - glib 2.36.0: libsoup 2.42 requires 2.35.0, but we don't want to
         depend on unstable versions and 2.36 is the next stable version
         after 2.35.
      
       - gtk+ 3.6.0: this is the previous stable release. We don't
         currently have any code using newer API, so we will be able to
         remove all the #ifdefed code.
      
       - at-spi2 2.5.3: is the version required by gtk+ 3.6.
      
       - GObject introspection 1.32.0: is the version required by gtk+ 3.6.
      
       - Pango 1.32.0: it's the current stable version and the first one
         depending on Harfbuzz.
      
       - Fontconfig 2.5: required by pango 1.32.0 when using Harfbuzz.
      
       - gtk+ 2.24.10: it allows us to remove a lot of deprecated code
         and #ifdefs.
      
      * Source/autotools/Versions.m4:
      
      Tools:
      
      * gtk/jhbuild.modules: Update libsoup, glib, at-spi2 and gtk+ versions.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba45fd9d
  10. 02 Apr, 2013 4 commits
    • mrobinson@webkit.org's avatar
      [GTK] Make libsecret optional · bbdc4083
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113821
      
      Reviewed by Gustavo Noronha Silva.
      
      .:
      
      Add a configuration option to disable credential storage and thus remove
      the libsecret dependency. This should make it possible to build WebKit 2.x
      on Windows again.
      
      * Source/autotools/FindDependencies.m4: Only look for libsecret if credential storage is active.
      * Source/autotools/PrintBuildConfiguration.m4: Print whether or not credential storage is active.
      * Source/autotools/ReadCommandLineArguments.m4: Added an option to control credential storage.
      * Source/autotools/SetupAutoconfHeader.m4: Expose credential storage setting to code.
      
      Source/WebCore:
      
      Don't try to use libsecret if credential storage is disabled.
      
      * platform/gtk/GRefPtrGtk.cpp: Protect libsecret sections.
      * platform/gtk/GRefPtrGtk.h: Ditto.
      * platform/network/gtk/CredentialBackingStore.cpp: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbdc4083
    • zandobersek@gmail.com's avatar
      Unreviewed, rolling out r147401. · 2b28751e
      zandobersek@gmail.com authored
      http://trac.webkit.org/changeset/147401
      https://bugs.webkit.org/show_bug.cgi?id=113767
      
      The patch makes it extremely hard to set up the dependencies
      properly on the GTK builders (Requested by zdobersek on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-04-02
      
      .: 
      
      * Source/autotools/Versions.m4:
      
      Tools: 
      
      * gtk/jhbuild.modules:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b28751e
    • carlosgc@webkit.org's avatar
      [GTK] Bump required versions of some dependencies · 2a4c3690
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113282
      
      Reviewed by Martin Robinson.
      
      .:
      
      This patch updates the following dependencies:
      
       - libsoup 2.42.0: is the current stable release.
      
       - glib 2.36.0: libsoup 2.42 requires 2.35.0, but we don't want to
         depend on unstable versions and 2.36 is the next stable version
         after 2.35.
      
       - gtk+ 3.6.0: this is the previous stable release. We don't
         currently have any code using newer API, so we will be able to
         remove all the #ifdefed code.
      
       - at-spi2 2.5.3: is the version required by gtk+ 3.6.
      
       - GObject introspection 1.32.0: is the version required by gtk+ 3.6.
      
       - Pango 1.32.0: it's the current stable version and the first one
         depending on Harfbuzz.
      
       - Fontconfig 2.5: required by pango 1.32.0 when using Harfbuzz.
      
       - gtk+ 2.24.10: it allows us to remove a lot of deprecated code
         and #ifdefs.
      
      * Source/autotools/Versions.m4:
      
      Tools:
      
      * gtk/jhbuild.modules: Update libsoup, glib, at-spi2 and gtk+ versions.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a4c3690
    • commit-queue@webkit.org's avatar
      [EFL][CMAKE] Move MOZ_X11 definition from OptionsCommon to OptionsEfl · d2925dbb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113685
      
      Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-04-02
      Reviewed by Martin Robinson.
      
      MOZ_X11 is added unconditionally in OptionsCommon for UNIX
      platforms, but not all UNIX platforms use X11 for plugins,
      BlackBerry doesn't. The only port using cmake that uses X11 is EFL
      and it already has checks for X11, so we can just move the
      definition to OptionsEfl.
      
      * Source/cmake/OptionsCommon.cmake:
      * Source/cmake/OptionsEfl.cmake:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147396 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2925dbb
  11. 01 Apr, 2013 1 commit
  12. 29 Mar, 2013 1 commit
  13. 28 Mar, 2013 2 commits
    • zandobersek@gmail.com's avatar
      [GTK] Build GTK-specific, non-layer-violating source code into... · f12ef742
      zandobersek@gmail.com authored
      [GTK] Build GTK-specific, non-layer-violating source code into WebCore-independent libPlatformGtk.la
      https://bugs.webkit.org/show_bug.cgi?id=112546
      
      Reviewed by Martin Robinson.
      
      .: 
      
      * GNUmakefile.am: Define the new platform_webcore_cppflags.
      
      Source/Platform: 
      
      * GNUmakefile.am: Only specify the very minimal set of inclusion directories, containing the Source/WebCore/platform
      directory and its subdirectories. This will allow only for the WebCore-independent GTK-specific sources to be built into
      libPlatformGtk.la. Also include the GTK, libsecret and libsoup dependencies' cflags amongst the libPlatformGtk's
      CPPFLAGS.
      * GNUmakefile.list.am: Removed. The build targets are now listed (and will be listed until the migration) in the
      GNUmakefile.list.am under Source/WebCore, following the common sense of specifying the build target in the
      GNUmakefile.list.am placed in the same framework directory in which the source file is located.
      
      Source/WebCore: 
      
      No new tests - no new functionality.
      
      * GNUmakefile.am: Passing the DATA_DIR value through the cppflags is not required anymore as the affected source is now
      built into libPlatformGtk.la.
      * GNUmakefile.list.am: Build the GTK-specific source files that are already independent of WebCore into the
      libPlatformGtk.la by assigning the build targets listing to the platformgtk_sources variable.
      * platform/gtk/GtkVersioning.c: Renamed from Source/Platform/gtk/GtkVersioning.c.
      * platform/gtk/GtkVersioning.h: Renamed from Source/Platform/gtk/GtkVersioning.h.
      
      Source/WebKit/gtk: 
      
      * GNUmakefile.am: The GtkVersioning.c file has moved back under Source/WebCore/platform.
      
      Source/WebKit2: 
      
      * GNUmakefile.am: Reference the platform_webcore_cppflags and GTK, libsecret and libsoup dependencies' cflags amongst the
      libPlatformGtk2's CPPFLAGS.
      * Scripts/generate-forwarding-headers.pl: Remove the Platform framework from the list of the frameworks to be searched
      for forwarding headers, it's at the moment not necessary to be included.
      * Shared/gtk/ArgumentCodersGtk.cpp: Adjust the forwarding header for GtkVersioning.h that's been moved back under the
      WebCore framework.
      * Shared/gtk/WebEventFactory.cpp: Ditto.
      * UIProcess/API/gtk/WebKitWebViewBase.cpp: Ditto.
      * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp: Ditto.
      
      Tools: 
      
      * GNUmakefile.am: Reference the platformgtk_cppflags amongst the libWebCoreInternals' CPPFLAGS. GtkVersioning.c file has
      moved back to Source/WebCore/platform. Fix an indentation issue as well.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f12ef742
    • zandobersek@gmail.com's avatar
      Unreviewed GTK build fix after r147039. · cc47434c
      zandobersek@gmail.com authored
      * Source/autotools/symbols.filter: Export the missing symbols.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc47434c
  14. 27 Mar, 2013 2 commits
    • paroga@webkit.org's avatar
      Set WTF_ARM_ARCH_VERSION to correct value when used with MSVC · 22bedfa6
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113436
      
      Reviewed by Benjamin Poulain.
      
      .:
      
      * Source/cmake/OptionsWinCE.cmake: CPU(ARM_TRADITIONAL) is now set correctly by Platform.h.
      
      Source/WTF:
      
      The Microsoft compiler defines _M_ARM with used ARM version.
      
      * wtf/Platform.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22bedfa6
    • timothy@apple.com's avatar
      Add support for dock-to-right of the Web Inspector in the Mac port. · 3e6451ee
      timothy@apple.com authored
      Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
      
      https://webkit.org/b/113341
      rdar://problem/10368152
      
      Reviewed by Joseph Pecoraro.
      
      .:
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * inspector/InspectorFrontendClient.h:
      (InspectorFrontendClient):
      * inspector/InspectorFrontendClientLocal.cpp:
      (WebCore):
      (WebCore::InspectorFrontendClientLocal::frontendLoaded):
      (WebCore::InspectorFrontendClientLocal::requestSetDockSide):
      (WebCore::InspectorFrontendClientLocal::canAttachWindow):
      (WebCore::InspectorFrontendClientLocal::changeAttachedWindowWidth):
      (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
      (WebCore::InspectorFrontendClientLocal::constrainedAttachedWindowWidth):
      * inspector/InspectorFrontendClientLocal.h:
      (InspectorFrontendClientLocal):
      * inspector/InspectorFrontendHost.cpp:
      (WebCore::InspectorFrontendHost::setAttachedWindowWidth):
      (WebCore):
      * inspector/InspectorFrontendHost.h:
      (InspectorFrontendHost):
      * inspector/InspectorFrontendHost.idl:
      * inspector/front-end/InspectorFrontendHostStub.js:
      (.WebInspector.InspectorFrontendHostStub.prototype.setAttachedWindowWidth):
      * inspector/front-end/externs.js:
      (InspectorFrontendHostAPI.prototype.setAttachedWindowWidth):
      * testing/Internals.cpp:
      
      Source/WebKit/chromium:
      
      * src/InspectorFrontendClientImpl.cpp:
      (WebKit::InspectorFrontendClientImpl::changeAttachedWindowWidth):
      * src/InspectorFrontendClientImpl.h:
      (InspectorFrontendClientImpl):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/InspectorClientEfl.cpp:
      (WebCore::InspectorFrontendClientEfl::attachWindow):
      (WebCore::InspectorFrontendClientEfl::setAttachedWindowWidth):
      * WebCoreSupport/InspectorClientEfl.h:
      (InspectorFrontendClientEfl):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/InspectorClientGtk.cpp:
      (WebKit::InspectorFrontendClient::attachWindow):
      (WebKit::InspectorFrontendClient::setAttachedWindowWidth):
      * WebCoreSupport/InspectorClientGtk.h:
      (InspectorFrontendClient):
      
      Source/WebKit/mac:
      
      * Resources/Dock.pdf: Updated.
      * WebCoreSupport/WebInspectorClient.h:
      (WebInspectorFrontendClient):
      * WebCoreSupport/WebInspectorClient.mm:
      (WebInspectorFrontendClient::frontendLoaded):
      (WebInspectorFrontendClient::attachWindow):
      (WebInspectorFrontendClient::setAttachedWindowWidth):
      (-[WebInspectorWindowController attachWindow:]):
      (-[WebInspectorWindowController attach]):
      (-[WebInspectorWindowController detach]):
      * WebInspector/WebInspectorFrontend.mm:
      (-[WebInspectorFrontend attach]):
      
      Source/WebKit/qt:
      
      * WebCoreSupport/InspectorClientQt.cpp:
      (WebCore::InspectorFrontendClientQt::frontendLoaded):
      (WebCore::InspectorFrontendClientQt::attachWindow):
      (WebCore::InspectorFrontendClientQt::setAttachedWindowWidth):
      * WebCoreSupport/InspectorClientQt.h:
      (InspectorFrontendClientQt):
      
      Source/WebKit/win:
      
      * WebCoreSupport/WebInspectorClient.cpp:
      (WebInspectorFrontendClient::frontendLoaded):
      (WebInspectorFrontendClient::attachWindow):
      (WebInspectorFrontendClient::setAttachedWindowWidth):
      * WebCoreSupport/WebInspectorClient.h:
      (WebInspectorFrontendClient):
      
      Source/WebKit2:
      
      * Resources/Dock.pdf: Removed.
      * Resources/DockBottom.pdf: Added.
      * Resources/DockRight.pdf: Added.
      * Shared/WebPreferencesStore.h:
      * UIProcess/WebInspectorProxy.cpp:
      (WebKit::WebInspectorProxy::WebInspectorProxy):
      (WebKit::WebInspectorProxy::attachBottom):
      (WebKit::WebInspectorProxy::attachRight):
      (WebKit::WebInspectorProxy::attach):
      (WebKit::WebInspectorProxy::detach):
      (WebKit::WebInspectorProxy::setAttachedWindowWidth):
      (WebKit::WebInspectorProxy::createInspectorPage):
      (WebKit::WebInspectorProxy::canAttach):
      * UIProcess/WebInspectorProxy.h:
      (WebInspectorProxy):
      * UIProcess/WebInspectorProxy.messages.in:
      * UIProcess/mac/WebInspectorProxyMac.mm:
      (-[WKWebInspectorProxyObjCAdapter attachRight:]):
      (-[WKWebInspectorProxyObjCAdapter attachBottom:]):
      (-[WKWebInspectorWindow _cursorForResizeDirection:]):
      (-[WKWebInspectorWindow _customTitleFrame]):
      (WebKit::createDockButton):
      (WebKit::WebInspectorProxy::createInspectorWindow):
      (WebKit::WebInspectorProxy::platformCreateInspectorPage):
      (WebKit::WebInspectorProxy::platformAttachAvailabilityChanged):
      (WebKit::WebInspectorProxy::inspectedViewFrameDidChange):
      (WebKit::WebInspectorProxy::platformInspectedWindowWidth):
      (WebKit::WebInspectorProxy::platformAttach):
      (WebKit::WebInspectorProxy::platformDetach):
      (WebKit::WebInspectorProxy::platformSetAttachedWindowHeight):
      (WebKit::WebInspectorProxy::platformSetAttachedWindowWidth):
      * WebKit2.xcodeproj/project.pbxproj:
      * WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:
      (WebKit::WebInspectorFrontendClient::attachWindow):
      (WebKit::WebInspectorFrontendClient::setAttachedWindowWidth):
      * WebProcess/WebCoreSupport/WebInspectorFrontendClient.h:
      (WebInspectorFrontendClient):
      * WebProcess/WebPage/WebInspector.cpp:
      (WebKit::WebInspector::attachBottom):
      (WebKit::WebInspector::attachRight):
      (WebKit::WebInspector::setAttachedWindowWidth):
      (WebKit::WebInspector::attachedBottom):
      (WebKit::WebInspector::attachedRight):
      (WebKit::WebInspector::detached):
      * WebProcess/WebPage/WebInspector.h:
      (WebInspector):
      * WebProcess/WebPage/WebInspector.messages.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e6451ee