2009-11-26 Laszlo Gombos <laszlo.1.gombos@nokia.com>
authorlaszlo.1.gombos@nokia.com <laszlo.1.gombos@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Nov 2009 04:06:37 +0000 (04:06 +0000)
committerlaszlo.1.gombos@nokia.com <laszlo.1.gombos@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Nov 2009 04:06:37 +0000 (04:06 +0000)
        Reviewed by Oliver Hunt.

        Move GOwnPtr* from wtf to wtf/gtk
        https://bugs.webkit.org/show_bug.cgi?id=31793

        * GNUmakefile.am: Change the path for GOwnPtr.*.
        * JavaScriptCore.gyp/JavaScriptCore.gyp: Remove
          GOwnPtr.cpp from the exclude list.
        * JavaScriptCore.gypi: Change the path for GOwnPtr.*.
        * wscript: Remove GOwnPtr.cpp from the exclude list.
        * wtf/GOwnPtr.cpp: Removed.
        * wtf/GOwnPtr.h: Removed.
        * wtf/Threading.h: Change the path for GOwnPtr.h.
        * wtf/gtk/GOwnPtr.cpp: Copied from JavaScriptCore/wtf/GOwnPtr.cpp.
        * wtf/gtk/GOwnPtr.h: Copied from JavaScriptCore/wtf/GOwnPtr.h.
        * wtf/unicode/glib/UnicodeGLib.h: Change the path for GOwnPtr.h.

2009-11-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Oliver Hunt.

        Move GOwnPtr* from wtf to wtf/gtk
        https://bugs.webkit.org/show_bug.cgi?id=31793

        * webkit/webkitwebview.cpp: Change the path for GOwnPtr.h.

2009-11-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Oliver Hunt.

        Move GOwnPtr* from wtf to wtf/gtk
        https://bugs.webkit.org/show_bug.cgi?id=31793

        No new tests as there is no functional change.

        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: Change the
          path for GOwnPtr.h.
        * platform/text/TextEncoding.cpp: Ditto.
        * platform/text/gtk/TextCodecGtk.cpp: Ditto.

2009-11-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Oliver Hunt.

        Move GOwnPtr* from wtf to wtf/gtk
        https://bugs.webkit.org/show_bug.cgi?id=31793

        * GNUmakefile.am: Add JavaScriptCore/wtf/gtk to
          the include path.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51423 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 files changed:
ChangeLog
GNUmakefile.am
JavaScriptCore/ChangeLog
JavaScriptCore/GNUmakefile.am
JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp
JavaScriptCore/JavaScriptCore.gypi
JavaScriptCore/wscript
JavaScriptCore/wtf/Threading.h
JavaScriptCore/wtf/gtk/GOwnPtr.cpp [moved from JavaScriptCore/wtf/GOwnPtr.cpp with 100% similarity]
JavaScriptCore/wtf/gtk/GOwnPtr.h [moved from JavaScriptCore/wtf/GOwnPtr.h with 100% similarity]
JavaScriptCore/wtf/unicode/glib/UnicodeGLib.h
WebCore/ChangeLog
WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp
WebCore/platform/text/TextEncoding.cpp
WebCore/platform/text/gtk/TextCodecGtk.cpp
WebKit/gtk/ChangeLog
WebKit/gtk/webkit/webkitwebview.cpp

index 2db9fe1d8ce19bc32714d8212039496ebe79bddb..864a51edd2d4ceffe9477e093a0ca62370eb7016 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-11-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
+
+        Reviewed by Oliver Hunt.
+
+        Move GOwnPtr* from wtf to wtf/gtk
+        https://bugs.webkit.org/show_bug.cgi?id=31793
+
+        * GNUmakefile.am: Add JavaScriptCore/wtf/gtk to 
+          the include path.
+
 2009-11-24  Dmitry Titov  <dimich@chromium.org>
 
         Reviewed by Eric Seidel.
index a080f95b161198abb095f2c6f0080f715bedbe56..2c3208656dd9c75a26b3f09c606e20abe4af3248 100644 (file)
@@ -157,6 +157,7 @@ javascriptcore_cppflags += \
        -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
        -I$(srcdir)/JavaScriptCore/parser \
        -I$(srcdir)/JavaScriptCore/wtf \
+       -I$(srcdir)/JavaScriptCore/wtf/gtk \
        -I$(top_builddir)/DerivedSources
 
 nodist_EXTRA_libJavaScriptCore_la_SOURCES = \
index d5d506e1e50a03dfdfcfda927ae008bad633dcfb..7c75aa471a7aa67760883c6afd46f6bddcbfa9f6 100644 (file)
@@ -1,3 +1,22 @@
+2009-11-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
+
+        Reviewed by Oliver Hunt.
+
+        Move GOwnPtr* from wtf to wtf/gtk
+        https://bugs.webkit.org/show_bug.cgi?id=31793
+
+        * GNUmakefile.am: Change the path for GOwnPtr.*.
+        * JavaScriptCore.gyp/JavaScriptCore.gyp: Remove
+          GOwnPtr.cpp from the exclude list.
+        * JavaScriptCore.gypi: Change the path for GOwnPtr.*.
+        * wscript: Remove GOwnPtr.cpp from the exclude list.
+        * wtf/GOwnPtr.cpp: Removed.
+        * wtf/GOwnPtr.h: Removed.
+        * wtf/Threading.h: Change the path for GOwnPtr.h.
+        * wtf/gtk/GOwnPtr.cpp: Copied from JavaScriptCore/wtf/GOwnPtr.cpp.
+        * wtf/gtk/GOwnPtr.h: Copied from JavaScriptCore/wtf/GOwnPtr.h.
+        * wtf/unicode/glib/UnicodeGLib.h: Change the path for GOwnPtr.h.
+
 2009-11-24  Dmitry Titov  <dimich@chromium.org>
 
         Reviewed by Eric Seidel.
index df9f09c37f572c39ed196b40b778ec1961324996..2132f77f33a91d48c41a26e6fad42d9d8e03734c 100644 (file)
@@ -236,8 +236,6 @@ javascriptcore_sources += \
        JavaScriptCore/wtf/Deque.h \
        JavaScriptCore/wtf/DisallowCType.h \
        JavaScriptCore/wtf/Forward.h \
-       JavaScriptCore/wtf/GOwnPtr.cpp \
-       JavaScriptCore/wtf/GOwnPtr.h \
        JavaScriptCore/wtf/GetPtr.h \
        JavaScriptCore/wtf/HashCountedSet.h \
        JavaScriptCore/wtf/HashFunctions.h \
@@ -288,6 +286,8 @@ javascriptcore_sources += \
        JavaScriptCore/wtf/UnusedParam.h \
        JavaScriptCore/wtf/Vector.h \
        JavaScriptCore/wtf/VectorTraits.h \
+       JavaScriptCore/wtf/gtk/GOwnPtr.cpp \
+       JavaScriptCore/wtf/gtk/GOwnPtr.h \
        JavaScriptCore/wtf/gtk/MainThreadGtk.cpp \
        JavaScriptCore/wtf/gtk/ThreadingGtk.cpp \
        JavaScriptCore/wtf/unicode/Collator.h \
index 83bec5ea8be745bdb008e3539694fec4f699b18e..85fcebba71b2baf8e8f18a9a28dc87b1f50a6dc1 100644 (file)
         # ... Then include what we want.
         ['include', '../wtf/'],
         # GLib/GTK, even though its name doesn't really indicate.
-        ['exclude', '/(GOwnPtr|glib/.*)\\.(cpp|h)$'],
+        ['exclude', '/(glib/.*)\\.(cpp|h)$'],
         ['exclude', '(Default|Gtk|Mac|None|Qt|Win|Wx)\\.(cpp|mm)$'],
         ['exclude', 'wtf/CurrentTime\\.cpp$'],
         ['exclude', 'wtf/TC.*\\.(cpp|h)$'],
index c0c363a8cc92e9cbc8ee28009b863be94d018583..38097c9f4f88a51aef7aa1f0dc50a69f0dbb7472 100644 (file)
             'wtf/FastMalloc.h',
             'wtf/Forward.h',
             'wtf/GetPtr.h',
-            'wtf/GOwnPtr.cpp',
-            'wtf/GOwnPtr.h',
+            'wtf/gtk/GOwnPtr.cpp',
+            'wtf/gtk/GOwnPtr.h',
             'wtf/gtk/MainThreadGtk.cpp',
             'wtf/gtk/ThreadingGtk.cpp',
             'wtf/HashCountedSet.h',
index 7a5ba1bca6e06db3968fa2251efb0e9fcc551528..356950f20280acf8eae43a6bcfc632b6f41ddcf0 100644 (file)
@@ -29,7 +29,7 @@ import commands
 
 from settings import *
 
-jscore_excludes = ['jsc.cpp', 'ucptable.cpp', 'GOwnPtr.cpp']
+jscore_excludes = ['jsc.cpp', 'ucptable.cpp']
 jscore_excludes.extend(get_excludes(jscore_dir, ['*CF.cpp', '*Symbian.cpp']))
 
 sources = []
index b24e7c892dd0e5d2f3e681afea17ff28d9476d33..2a2e9c477a072dcd2f45a3f0a980f7f51057926a 100644 (file)
@@ -86,7 +86,7 @@
 #if USE(PTHREADS)
 #include <pthread.h>
 #elif PLATFORM(GTK)
-#include <wtf/GOwnPtr.h>
+#include <wtf/gtk/GOwnPtr.h>
 typedef struct _GMutex GMutex;
 typedef struct _GCond GCond;
 #endif
index b5e70d4cab23af6c1081b100a9ad39ce2091b0d5..d72e707abcd46c9494480835b8d722aed4c84424 100644 (file)
@@ -26,7 +26,7 @@
 #define UnicodeGLib_h
 
 #include "UnicodeMacrosFromICU.h"
-#include <wtf/GOwnPtr.h>
+#include <wtf/gtk/GOwnPtr.h>
 
 #include <glib.h>
 #include <pango/pango.h>
index 983170be5ab131d61e9be5d5f8fe23d7527d1d70..a6f140288624c3d2c886c03849c46afd91452484 100644 (file)
@@ -1,3 +1,17 @@
+2009-11-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
+
+        Reviewed by Oliver Hunt.
+
+        Move GOwnPtr* from wtf to wtf/gtk
+        https://bugs.webkit.org/show_bug.cgi?id=31793
+
+        No new tests as there is no functional change.
+
+        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: Change the
+          path for GOwnPtr.h.
+        * platform/text/TextEncoding.cpp: Ditto.
+        * platform/text/gtk/TextCodecGtk.cpp: Ditto.
+
 2009-11-26  Yury Semikhatsky  <yurys@chromium.org>
 
         Not reviewed. Build fix: revert r51421.
index c0242a14ee2abf1f651aee775430e35256d71ef2..92de392a5b27603545f9d534c5c06b8ecc5ba4d8 100644 (file)
@@ -46,7 +46,7 @@
 #include <gst/video/video.h>
 #include <limits>
 #include <math.h>
-#include <wtf/GOwnPtr.h>
+#include <wtf/gtk/GOwnPtr.h>
 
 using namespace std;
 
index 0c07b11a5be0134e9927216555f7ca78e355a374..ec9a8b04623a120ede5c5b4e276e56b22618b671 100644 (file)
@@ -38,7 +38,7 @@
 #include <QString>
 #elif USE(GLIB_UNICODE)
 #include <glib.h>
-#include <wtf/GOwnPtr.h>
+#include <wtf/gtk/GOwnPtr.h>
 #endif
 #include <wtf/HashSet.h>
 #include <wtf/OwnPtr.h>
index eef421eb356ad057541cbcf769d442b23ff19b71..31da3b7bf61fa204202c711faff42135f776d36a 100644 (file)
@@ -33,7 +33,7 @@
 #include "PlatformString.h"
 #include <wtf/Assertions.h>
 #include <wtf/HashMap.h>
-#include <wtf/GOwnPtr.h>
+#include <wtf/gtk/GOwnPtr.h>
 #include "Logging.h"
 
 using std::min;
index 0dad90c31cee0eb20db13e84404cd448b9048562..2f6adfb10bdea5a33bcbff06477c0628f70fcedf 100644 (file)
@@ -1,3 +1,12 @@
+2009-11-26  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
+
+        Reviewed by Oliver Hunt.
+
+        Move GOwnPtr* from wtf to wtf/gtk
+        https://bugs.webkit.org/show_bug.cgi?id=31793
+
+        * webkit/webkitwebview.cpp: Change the path for GOwnPtr.h.
+
 2009-11-24  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
 
         Reviewed by Xan Lopez.
index b8048e34cd32b3f8a80b61507e637a0597ffad45..4da65aaebcef6e48fd2644aad74970bef7339a42 100644 (file)
@@ -73,7 +73,7 @@
 #include "RenderView.h"
 #include "ScriptValue.h"
 #include "Scrollbar.h"
-#include <wtf/GOwnPtr.h>
+#include <wtf/gtk/GOwnPtr.h>
 
 #include <gdk/gdkkeysyms.h>