1. 28 Aug, 2013 1 commit
    • zandobersek@gmail.com's avatar
      [GTK] Add support for building JSC with FTL JIT enabled · aa396195
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120270
      
      Reviewed by Filip Pizlo.
      
      .: 
      
      * Source/autotools/FindDependencies.m4: Disable FTL JIT if the JIT itself is disabled or if the C++ compiler
      being used is not Clang. Check for llvm-config and use it to properly test for the LLVM >= 3.4 dependency.
      * Source/autotools/PrintBuildConfiguration.m4: Print out the status of the FTL JIT support.
      * Source/autotools/ReadCommandLineArguments.m4: Add a configuration flag for enabling the feature, defaulting
      to 'no' used as the default value for now. This should switch to 'auto' at some point in future.
      * Source/autotools/SetupAutoconfHeader.m4: Define ENABLE_FTL_JIT to a specific value if possible.
      Also define HAVE_LLVM to 1 if the LLVM dependency was satisfied.
      
      Source/JavaScriptCore: 
      
      * GNUmakefile.am: Add LLVM_LIBS to the list of linker flags and LLVM_CFLAGS to the list of
      compiler flags for the JSC library.
      * GNUmakefile.list.am: Add the missing build targets.
      * ftl/FTLAbbreviations.h: Include the <cstring> header and use std::strlen. This avoids compilation
      failures when using the Clang compiler with the libstdc++ standard library.
      (JSC::FTL::mdKindID):
      (JSC::FTL::mdString):
      
      Source/WTF: 
      
      * wtf/Platform.h: Define ENABLE_FTL_JIT to the value of 1 for the GTK port if building for the x86-64
      architecture with LLVM present and the define not being previously defined. This is applicable when
      configuring the Automake build with '--enable-ftl-jit=auto'.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa396195
  2. 05 Aug, 2013 1 commit
    • zandobersek@gmail.com's avatar
      [Automake] Define ENABLE_JIT through the Autoconf header · a56af6cd
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119445
      
      Reviewed by Martin Robinson.
      
      .: 
      
      Instead of defining the ENABLE_JIT value through JSC_CPPFLAGS, the feature define is
      set to be either enabled or disabled through the Autoconf header, based on the value
      passed through the configuration flag. The 'auto' value is used as default, meaning
      that the feature is enabled or disabled in the Platform.h header based on the platform
      configuration (OS, architecture etc.).
      
      * Source/autotools/FindDependencies.m4: Remove the JSC_CPPFLAGS definition.
      * Source/autotools/ReadCommandLineArguments.m4: Change the default value to 'auto' instead
      of 'autodetect', as used by other configuration options that take a similar approach to enabling
      a specific feature.
      * Source/autotools/SetupAutoconfHeader.m4: Set a strict value for the ENABLE_JIT define through
      the Autoconf header if the feature was specifically enabled or disabled.
      
      Source/JavaScriptCore: 
      
      * GNUmakefile.am: Remove JSC_CPPFLAGS from the cpp flags for the JSC library.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a56af6cd
  3. 16 Jul, 2013 1 commit
  4. 08 Jul, 2013 1 commit
  5. 01 Jul, 2013 1 commit
    • kov@webkit.org's avatar
      [GTK] Remove unsupported AC backends · 30b49f1f
      kov@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=117362
      
      Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2013-07-01
      Reviewed by Martin Robinson.
      
      .:
      
      * Source/autotools/FindDependencies.m4: remove checks related to acceleration backend,
      turn them into a check for OpenGL being available, simply.
      * Source/autotools/ReadCommandLineArguments.m4: remove command line option to select
      accelerated backend, it's now auto-detected.
      * Source/autotools/SetupAutoconfHeader.m4: no longer defines USE_CLUTTER and
      USE_TEXTURE_MAPPER_CAIRO.
      * Source/autotools/SetupAutomake.m4: remove checks related to acceleration backend,
      turn them into a check for OpenGL being available, simply.
      * Source/autotools/Versions.m4: no longer check for clutter/clutter-gtk.
      
      Source/WebCore:
      
      * GNUmakefile.am:
      * GNUmakefile.list.am:
      * Source/WebCore/platform/graphics/PlatformLayer.h: Removed mentions of clutter
      and the texmap cairo backend.
      * platform/graphics/clutter/DrawingBufferClutter.cpp: Removed.
      * platform/graphics/clutter/GraphicsContext3DClutter.cpp: Removed.
      * platform/graphics/clutter/GraphicsContext3DPrivate.cpp: Removed.
      * platform/graphics/clutter/GraphicsContext3DPrivate.h: Removed.
      * platform/graphics/clutter/GraphicsLayerActor.cpp: Removed.
      * platform/graphics/clutter/GraphicsLayerActor.h: Removed.
      * platform/graphics/clutter/GraphicsLayerClutter.cpp: Removed.
      * platform/graphics/clutter/GraphicsLayerClutter.h: Removed.
      * platform/graphics/clutter/PlatformClutterAnimation.cpp: Removed.
      * platform/graphics/clutter/PlatformClutterAnimation.h: Removed.
      * platform/graphics/clutter/PlatformClutterLayerClient.h: Removed.
      * platform/graphics/clutter/TransformationMatrixClutter.cpp: Removed.
      * Source/WebCore/platform/graphics/transforms/TransformationMatrix.h: Removed cogl
      matrix type conversion.
      
      Source/WebKit/gtk:
      
      * GNUmakefile.am:
      * WebCoreSupport/AcceleratedCompositingContext.h: removed clutter and cairo
      additions.
      * WebCoreSupport/AcceleratedCompositingContextCairo.cpp: Removed.
      * WebCoreSupport/AcceleratedCompositingContextClutter.cpp: Removed.
      * webkit/webkitglobals.cpp:
      (webkitInit): removed clutter-gtk initialization.
      
      Tools:
      
      * gtk/jhbuild-optional.modules: no longer needs clutter-gtk, clutter
      and cogl, so removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30b49f1f
  6. 18 Jun, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [GTK][GStreamer] Fullscreen option in video element context menu not working · 8c6441c9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105191
      
      .:
      
      Fullscreen with native controls is outdated and even broken in
      [GTK][WK2], so they are deactivated for now.
      
      Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2013-06-18
      Reviewed by Philippe Normand.
      
      * Source/autotools/SetupAutoconfHeader.m4: Removed the use of
      fullscreen native media controls.
      
      LayoutTests:
      
      Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2013-06-18
      Reviewed by Philippe Normand.
      
      * platform/gtk-wk1/TestExpectations:
      fullscreen/video-controls-drag.html does not time out anymore.
      * platform/gtk-wk2/TestExpectations:
      media/video-display-aspect-ratio.html crashes sometimes.
      * platform/gtk/TestExpectations:
      media/video-playing-and-pause.html was already flaky.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c6441c9
  7. 12 May, 2013 1 commit
  8. 22 Apr, 2013 1 commit
    • mrobinson@webkit.org's avatar
      [GTK] Enable introspection always for developer builds · 0547d1d0
      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
      0547d1d0
  9. 15 Apr, 2013 1 commit
  10. 02 Apr, 2013 1 commit
    • 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
  11. 21 Feb, 2013 1 commit
    • mrobinson@webkit.org's avatar
      [GTK] Move feature overriding to the configure phase · 3e4076e3
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110293
      
      Reviewed by Gustavo Noronha Silva.
      
      .:
      
      Rework the feature overrides logic so all feature defines go into a
      header rather than the command line. This has a few benefits. Most
      notably, we can reuse the header in the gyp build. Another nice result
      is that changes to the configuration automatically result in a full
      rebuild and Debug and Release builds can have different configurations.
      
      All feature define processing happens now during the configuration phase,
      instead of when running autogen.sh. This means that we need to distribute
      the feature processing script.
      
      * GNUmakefile.am: Read feature defines from WebKitFeatures.txt when kicking
      off a build. Also include generate-feature-defines-files in the distribution.
      * Source/autotools/SetupAutoconfHeader.m4: Remove an extra ENABLE_3D_RENDERING
      from the autoconf header, as it is already provided by the feature configuration.
      * Source/autotools/SetupWebKitFeatures.m4: Added.
      * Source/autotools/webkitfeature.m4: Removed. The functionality has been moved
      to SetupWebKitFeatures.m4.
      * autogen.sh: Remove the call to override-feature-defines.
      * configure.ac: Now include SetupWebKitFeatures.
      
      Source/WebCore:
      
      * GNUmakefile.am: No longer include GNUmakefile.features.am. We don't
      have to process the result of this file or do any modification of
      feature_defines_override, because this variable is gone.
      
      Tools:
      
      * Scripts/webkitdirs.pm:
      (runAutogenForAutotoolsProjectIfNecessary): Rename the feature file to
      WebKitFeatureOverrides.txt to better match the other filenames used in
      the new feature processing.
      * gtk/generate-feature-defines-files: Added. A script which takes as an argument
      the default features, overrides them with the contents of WebKitFeatureOverrrides.txt
      and writes WebKitFeatures.txt and WebKitFeatures.h.
      * gtk/override-feature-defines: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e4076e3
  12. 13 Feb, 2013 2 commits
  13. 12 Feb, 2013 2 commits
    • commit-queue@webkit.org's avatar
      [GTK] Remove the GLib unicode backend · f9b3c2e3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109627
      
      Patch by Martin Robinson <mrobinson@igalia.com> on 2013-02-12
      Reviewed by Benjamin Poulain.
      
      .:
      
      Remove references to the GLib unicode backend from configuration.
      
      * Source/autotools/FindDependencies.m4:
      * Source/autotools/ReadCommandLineArguments.m4:
      * Source/autotools/SetupAutoconfHeader.m4:
      * Source/autotools/SetupAutomake.m4:
      
      Source/WebCore:
      
      Remove references to the GLib unicode backend from WebCore.
      
      * GNUmakefile.list.am: Update the source list.
      * platform/text/gtk/TextBreakIteratorGtk.cpp: Removed.
      * platform/text/gtk/TextCodecGtk.cpp: Removed.
      * platform/text/gtk/TextCodecGtk.h: Removed.
      
      Source/WTF:
      
      Remove references to the GLib unicode backend from WTF.
      
      * GNUmakefile.list.am: Remove GLib unicode files from the source list.
      * wtf/unicode/glib/UnicodeGLib.cpp: Removed.
      * wtf/unicode/glib/UnicodeGLib.h: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9b3c2e3
    • mrobinson@webkit.org's avatar
      [GTK] Remove the enable-debug-feature configuration option · afae6164
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109539
      
      Reviewed by Philippe Normand.
      
      Remove the --enable-debug-feature option from configuration. It doesn't
      do anything that --enable-debug doesn't.
      
      * Source/autotools/PrintBuildConfiguration.m4: Remove references to --enable-debug-features.
      * Source/autotools/ReadCommandLineArguments.m4: Ditto.
      * Source/autotools/SetupAutoconfHeader.m4: Ditto.
      * Source/autotools/SetupAutomake.m4: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afae6164
  14. 10 Feb, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Rename ENABLE(GLIB_SUPPORT) to USE(GLIB) · 245e4846
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=104266
      
      Patch by Jae Hyun Park <jae.park08@gmail.com> on 2013-02-10
      Reviewed by Philippe Normand.
      
      Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
      the existing macro naming conventions.
      
      From Platform.h
      USE() - use a particular third-party library or optional OS service
      ENABLE() - turn on a specific feature of WebKit
      
      .:
      
      * Source/autotools/SetupAutoconfHeader.m4:
      * Source/cmake/OptionsEfl.cmake:
      
      Source/WebCore:
      
      No new tests, no new functionality.
      
      * WebCore.pri:
      
      Source/WebKit/gtk:
      
      * gyp/Configuration.gypi:
      
      Source/WebKit/mac:
      
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:]):
      (-[WebView _close]):
      * WebView/WebViewData.h:
      * WebView/WebViewInternal.h:
      
      Source/WTF:
      
      * WTF.pri:
      * wtf/Platform.h:
      * wtf/gobject/GOwnPtr.cpp:
      * wtf/gobject/GOwnPtr.h:
      * wtf/gobject/GRefPtr.cpp:
      * wtf/gobject/GRefPtr.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      245e4846
  15. 08 Feb, 2013 1 commit
    • mrobinson@webkit.org's avatar
      [GTK] Split configure.ac into reusable portions · 38e753c5
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109246
      
      Reviewed by Philippe Normand.
      
      Split up configure.ac into sections based on different "phases"
      of configuration. This should make it easier to find what you are
      looking for as well as creating a "right" place to put things.
      A nice side effect of this is that we can share the different
      modules with a gyp build.
      
      * Source/autotools/CheckSystemAndBasicDependencies.m4: Added.
      * Source/autotools/FindDependencies.m4: Added.
      * Source/autotools/PrintBuildConfiguration.m4: Added.
      * Source/autotools/ReadCommandLineArguments.m4: Added.
      * Source/autotools/SetupAutoconfHeader.m4: Added.
      * Source/autotools/SetupAutomake.m4: Added.
      * Source/autotools/SetupCompilerFlags.m4: Added.
      * Source/autotools/SetupLibtool.m4: Added.
      * Source/autotools/Versions.m4: Added.
      * configure.ac:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38e753c5