Changeset 27899 in webkit
- Timestamp:
- Nov 19, 2007 4:37:13 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r27898 r27899 1 2007-11-19 Kevin Ollivier <kevino@theolliviers.com> 2 3 Update wx port build sources with recent changes, update 4 wx FontPlatformData to be a class (MSVC7 gets confused 5 otherwise...) and implement its hash() method. 6 7 Reviewed by Adam. 8 9 * WebCoreSources.bkl: 10 * platform/wx/FontPlatformData.h: 11 (WebCore::FontPlatformData::hash): 12 1 13 2007-11-19 Julien Chaffraix <julien.chaffraix@gmail.com> 2 14 -
trunk/WebCore/WebCoreSources.bkl
r27631 r27899 41 41 bindings/js/JSCSSStyleDeclarationCustom.cpp 42 42 bindings/js/JSCSSValueCustom.cpp 43 bindings/js/JSCustomSQLCallback.cpp 44 bindings/js/JSCustomVersionChangeCallback.cpp 43 bindings/js/JSCustomSQLStatementCallback.cpp 44 bindings/js/JSCustomSQLStatementErrorCallback.cpp 45 bindings/js/JSCustomSQLTransactionCallback.cpp 46 bindings/js/JSCustomSQLTransactionErrorCallback.cpp 47 bindings/js/JSCustomVoidCallback.cpp 45 48 bindings/js/JSCustomXPathNSResolver.cpp 46 49 bindings/js/JSDatabaseCustom.cpp … … 52 55 bindings/js/JSEventTargetNode.cpp 53 56 bindings/js/JSHTMLAppletElementCustom.cpp 57 bindings/js/JSHTMLAudioElementConstructor.cpp 54 58 bindings/js/JSHTMLCollectionCustom.cpp 55 59 bindings/js/JSHTMLDocumentCustom.cpp … … 74 78 bindings/js/JSNodeListCustom.cpp 75 79 bindings/js/JSSQLResultSetRowListCustom.cpp 80 bindings/js/JSSQLTransactionCustom.cpp 76 81 bindings/js/JSStyleSheetCustom.cpp 77 82 bindings/js/JSStyleSheetListCustom.cpp … … 252 257 DerivedSources/WebCore/JSRect.cpp 253 258 DerivedSources/WebCore/JSScreen.cpp 254 DerivedSources/WebCore/JSSQL Callback.cpp259 DerivedSources/WebCore/JSSQLError.cpp 255 260 DerivedSources/WebCore/JSSQLResultSet.cpp 256 261 DerivedSources/WebCore/JSSQLResultSetRowList.cpp 262 DerivedSources/WebCore/JSSQLTransaction.cpp 257 263 DerivedSources/WebCore/JSStyleSheet.cpp 258 264 DerivedSources/WebCore/JSStyleSheetList.cpp … … 556 562 platform/ScrollBar.cpp 557 563 platform/SecurityOrigin.cpp 564 platform/SecurityOriginData.cpp 558 565 platform/SegmentedString.cpp 559 566 platform/SharedBuffer.cpp … … 593 600 platform/network/ResourceHandle.cpp 594 601 platform/network/ResourceRequestBase.cpp 595 platform/network/ResourceResponse .cpp602 platform/network/ResourceResponseBase.cpp 596 603 platform/sql/SQLiteAuthorizer.cpp 597 604 platform/sql/SQLiteDatabase.cpp … … 599 606 platform/sql/SQLiteTransaction.cpp 600 607 platform/sql/SQLValue.cpp 601 </set>602 603 <set append="1" var="WEBCORE_SOURCES_STORAGE">604 storage/Database.cpp605 storage/DatabaseAuthorizer.cpp606 storage/DatabaseCallback.cpp607 storage/DatabaseTask.cpp608 storage/DatabaseThread.cpp609 storage/DatabaseTracker.cpp610 storage/SQLResultSet.cpp611 storage/SQLResultSetRowList.cpp612 608 </set> 613 609 … … 651 647 platform/image-decoders/xbm/XBMImageDecoder.cpp 652 648 </set> 653 654 649 655 650 <set append="1" var="WEBCORE_SOURCES_RENDERING"> … … 711 706 </set> 712 707 708 <set append="1" var="WEBCORE_SOURCES_STORAGE"> 709 storage/ChangeVersionWrapper.cpp 710 storage/Database.cpp 711 storage/DatabaseAuthorizer.cpp 712 storage/DatabaseTask.cpp 713 storage/DatabaseThread.cpp 714 storage/DatabaseTracker.cpp 715 storage/SQLResultSet.cpp 716 storage/SQLResultSetRowList.cpp 717 storage/SQLStatement.cpp 718 storage/SQLTransaction.cpp 719 </set> 720 713 721 <set append="1" var="WEBCORE_SOURCES_XML"> 714 722 xml/DOMParser.cpp -
trunk/WebCore/platform/wx/FontPlatformData.h
r27186 r27899 34 34 #include "StringImpl.h" 35 35 36 class wxFont; 36 #include <wx/defs.h> 37 #include <wx/font.h> 37 38 38 39 namespace WebCore { 39 40 40 struct FontPlatformData { 41 class FontPlatformData { 42 public: 41 43 class Deleted {}; 42 44 … … 62 64 63 65 unsigned hash() const 64 { 65 return StringImpl::computeHash((UChar*)0, 0); 66 { 67 uintptr_t hashCodes[1] = { reinterpret_cast<uintptr_t>(m_font) }; 68 return StringImpl::computeHash(reinterpret_cast<UChar*>(hashCodes), sizeof(hashCodes) / sizeof(UChar)); 66 69 } 67 70 -
trunk/WebKit/wx/ChangeLog
r27883 r27899 1 2007-11-19 Kevin Ollivier <kevino@theolliviers.com> 2 3 Add pcre directory to JSCore includes, and update the wx port 4 to reflect the Shared -> RefCounted name change. Also, fix 5 WebFrame.cpp to re-enable code that should never have been 6 committed disabled. 7 8 Reviewed by Adam. 9 10 * WebFrame.cpp: 11 (wxWebFrame::wxWebFrame): 12 * WebKitSupport/FrameLoaderClientWx.cpp: 13 (WebCore::FrameLoaderClientWx::ref): 14 (WebCore::FrameLoaderClientWx::deref): 15 * WebKitSupport/FrameLoaderClientWx.h: 16 * presets/wxwebkit.bkl: 17 1 18 2007-11-17 Timothy Hatcher <timothy@apple.com> 2 19 -
trunk/WebKit/wx/WebFrame.cpp
r27631 r27899 132 132 // ... and attach this menu bar to the frame 133 133 SetMenuBar(menuBar); 134 /* 134 135 135 wxToolBar* toolbar = CreateToolBar(); 136 136 toolbar->SetToolBitmapSize(wxSize(32, 32)); … … 150 150 151 151 SetToolBar(toolbar); 152 */ 152 153 153 // Create the wxWebView Window 154 154 webview = new wxWebView((wxWindow*)this, 1001, wxDefaultPosition, wxSize(200, 200)); -
trunk/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp
r27631 r27899 90 90 void FrameLoaderClientWx::ref() 91 91 { 92 Shared<FrameLoaderClientWx>::ref();92 RefCounted<FrameLoaderClientWx>::ref(); 93 93 } 94 94 95 95 void FrameLoaderClientWx::deref() 96 96 { 97 Shared<FrameLoaderClientWx>::deref();97 RefCounted<FrameLoaderClientWx>::deref(); 98 98 } 99 99 -
trunk/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h
r27631 r27899 32 32 #include "FrameLoader.h" 33 33 #include "KURL.h" 34 #include "RefCounted.h" 34 35 #include "ResourceResponse.h" 35 #include "Shared.h"36 36 37 37 … … 48 48 struct LoadErrorResetToken; 49 49 50 class FrameLoaderClientWx : public FrameLoaderClient, public Shared<FrameLoaderClientWx> {50 class FrameLoaderClientWx : public FrameLoaderClient, public RefCounted<FrameLoaderClientWx> { 51 51 public: 52 52 FrameLoaderClientWx(); -
trunk/WebKit/wx/presets/wxwebkit.bkl
r27631 r27899 73 73 74 74 <template id="jscore"> 75 <include>$(WK_ROOT)</include> 75 76 <include>$(WK_ROOT)/JavaScriptCore</include> 76 <include>$(WK_ROOT)</include>77 77 <include>$(WK_ROOT)/JavaScriptCore/kjs</include> 78 <include>$(WK_ROOT)/JavaScriptCore/pcre</include> 78 79 <include>$(WK_ROOT)/JavaScriptCore/wtf</include> 79 80 <include>$(WK_ROOT)/WebKitLibraries/unix/include</include> -
trunk/WebKitTools/ChangeLog
r27891 r27899 1 2007-11-19 Kevin Ollivier <kevino@theolliviers.com> 2 3 Build script fixes to ensure they do the right thing for the 4 wx port, and update build-wxwebkit to reflect the way the 5 build scripts now work. 6 7 Reviewed by Adam. 8 9 * Scripts/build-testkjs: 10 * Scripts/build-webkit: 11 * Scripts/run-javascriptcore-tests: 12 * Scripts/webkitdirs.pm: 13 * wx/build-wxwebkit: 14 1 15 2007-11-18 Eric Seidel <eric@webkit.org> 2 16 -
trunk/WebKitTools/Scripts/build-testkjs
r27500 r27899 46 46 } elsif (isCygwin()) { 47 47 $result = buildVisualStudioProject("JavaScriptCore.vcproj/JavaScriptCore.sln"); 48 } elsif (isQt() or isGtk() ) {48 } elsif (isQt() or isGtk() or isWx()) { 49 49 # Qt and Gtk build everything in one-shot. No need to build anything here. 50 50 $result = 0; -
trunk/WebKitTools/Scripts/build-webkit
r27889 r27899 84 84 if (isWx()) { 85 85 my @opts = (); 86 $ENV{"WEBKITOUTPUTDIR"} = productDir(); 86 87 foreach (@ARGV) { 87 88 if ($_ eq "wxgc" || $_ eq "wxpython") { … … 93 94 } 94 95 system "WebKitTools/wx/build-wxwebkit @opts"; 95 exit 0;96 exit exitStatus($?); 96 97 } 97 98 -
trunk/WebKitTools/Scripts/run-javascriptcore-tests
r27891 r27899 66 66 if( $arg =~ /root=(.*)/ ){ 67 67 $root = $1; 68 } elsif( $arg =~ /^--gtk$/i || $arg =~ /^--qt$/i ){68 } elsif( $arg =~ /^--gtk$/i || $arg =~ /^--qt$/i || $arg =~ /^--wx$/i ){ 69 69 } elsif( $arg =~ /^-/ or !($arg =~/=/)){ 70 70 push( @jsArgs, $arg ); … … 84 84 push(@xcodeArgs, "--qt") if isQt(); 85 85 push(@xcodeArgs, "--gtk") if isGtk(); 86 push(@xcodeArgs, "--wx") if isWx(); 86 87 87 88 my $buildResult = system "perl", "WebKitTools/Scripts/build-testkjs", @xcodeArgs; -
trunk/WebKitTools/Scripts/webkitdirs.pm
r27889 r27899 172 172 return if defined $configurationProductDir; 173 173 determineBaseProductDir(); 174 if(isCygwin() ) {174 if(isCygwin() && !isWx()) { 175 175 $configurationProductDir = "$baseProductDir/bin"; 176 176 } else { -
trunk/WebKitTools/wx/build-wxwebkit
r27889 r27899 38 38 cd $scriptDir 39 39 40 export WXWEBKIT=141 40 if [ -z $WEBKITOUTPUTDIR ]; then 42 WEBKITOUTPUTDIR=`cd $WK_ROOT/WebKitTools/Scripts; perl -e "use webkitdirs; print baseProductDir()"`41 WEBKITOUTPUTDIR=`cd $WK_ROOT/WebKitTools/Scripts; perl -e "use webkitdirs; print productDir()"` 43 42 fi 44 43 … … 147 146 make -C $dir -f GNUmakefile $MAKE_ARGS CXXFLAGS="$cxxflags" $@ 148 147 fi 148 if [ $? != 0 ]; then 149 exit $? 150 fi 149 151 } 150 152 … … 309 311 echo "Next steps:" 310 312 echo "" 311 echo "-- Add WXWEBKIT=1 to your environment variables. This will let WebKit scripts know you're using the wx build."312 echo ""313 313 if [ "${OSTYPE:0:5}" = "linux" ]; then 314 314 echo "-- Add /usr/local/lib and $WEBKITOUTPUTDIR to your LD_LIBRARY_PATH environment variable." 315 315 echo "" 316 316 fi 317 echo "-- Run the 'run-javascriptcore-tests' scriptto ensure JSCore tests pass."317 echo "-- Run '$WK_ROOT/WebKitTools/Scripts/run-javascriptcore-tests --wx' to ensure JSCore tests pass." 318 318 echo "" 319 319 echo "-- Run $WEBKITOUTPUTDIR/$BROWSERAPP to test your wxWebKit build."
Note: See TracChangeset
for help on using the changeset viewer.