Changeset 428
- Timestamp:
- 08/04/08 10:58:21 (4 months ago)
- Files:
-
- trunk/BAL/ChangeLogOWB (modified) (1 diff)
- trunk/BAL/OWBAL/Concretizations/Memory/WK/BCTCSystemAllocWK.cpp (modified) (1 diff)
- trunk/BAL/OWBAL/Concretizations/Types/CMakeLists.txt (modified) (1 diff)
- trunk/BAL/OWBAL/Concretizations/Types/WK/BCTCSpinLockWK.h (modified) (3 diffs)
- trunk/BAL/OWBAL/Concretizations/Types/WK/BCTCSystemAllocWK.cpp (deleted)
- trunk/BAL/OWBAL/Concretizations/Types/WK/BCTCSystemAllocWK.h (deleted)
- trunk/BAL/OWBAL/Skeletons/Types/TCSystemAlloc.t (deleted)
- trunk/BAL/scripts/generators/data/balInputList.txt (modified) (2 diffs)
- trunk/BAL/scripts/patches/FileSystemPosix.patch (modified) (1 diff)
- trunk/BAL/scripts/patches/GraphicsContext.patch (modified) (2 diffs)
- trunk/BAL/scripts/patches/JPEGImageDecoder.patch (modified) (1 diff)
- trunk/BAL/scripts/patches/KURL.patch (modified) (2 diffs)
- trunk/BAL/scripts/patches/PNGImageDecoder.patch (modified) (1 diff)
- trunk/BAL/scripts/patches/Platform.patch (modified) (3 diffs)
- trunk/BAL/scripts/patches/ResourceHandleManager.patch (modified) (2 diffs)
- trunk/BAL/scripts/patches/TCSpinLock.patch (added)
- trunk/BAL/scripts/patches/TCSystemAlloc.patch (added)
- trunk/BAL/scripts/patches/index.txt (modified) (2 diffs)
- trunk/JavaScriptCore/API/JSContextRef.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BAL/ChangeLogOWB
r426 r428 1 2008-08-01 Olivier DOLE <odole@pleyo.com> 2 3 Reviewed by Mario Bensi. 4 Fix AmigaOS4 implementation by adding patches for future merge. 5 Fix all patches for merge to remove hunk offsets. 6 Remove duplicated BCTCSystemAllocWK files (was present in Memory and 7 Types). 8 9 * OWBAL/Concretizations/Memory/WK/BCTCSystemAllocWK.cpp: 10 * OWBAL/Concretizations/Types/CMakeLists.txt: 11 * OWBAL/Concretizations/Types/WK/BCTCSpinLockWK.h: 12 (TCMalloc_SlowLock): 13 * OWBAL/Concretizations/Types/WK/BCTCSystemAllocWK.cpp: Removed. 14 * OWBAL/Concretizations/Types/WK/BCTCSystemAllocWK.h: Removed. 15 * scripts/patches/FileSystemPosix.patch: 16 * scripts/patches/GraphicsContext.patch: 17 * scripts/patches/JPEGImageDecoder.patch: 18 * scripts/patches/KURL.patch: 19 * scripts/patches/PNGImageDecoder.patch: 20 * scripts/patches/Platform.patch: 21 * scripts/patches/ResourceHandleManager.patch: 22 * scripts/patches/TCSpinLock.patch: Added. 23 * scripts/patches/TCSystemAlloc.patch: Added. 24 * scripts/patches/index.txt: 25 1 26 2008-07-31 Joerg Strohmayer <j_s@gmx.de> 2 27 trunk/BAL/OWBAL/Concretizations/Memory/WK/BCTCSystemAllocWK.cpp
r427 r428 44 44 #include <errno.h> 45 45 #include <unistd.h> 46 #if !PLATFORM(AMIGAOS4) 46 47 #include <sys/mman.h> 48 #endif 47 49 #endif 48 50 #include <fcntl.h> trunk/BAL/OWBAL/Concretizations/Types/CMakeLists.txt
r394 r428 71 71 OWBLN (WK/BCSharedBufferWK.h OWBAL 0 0) 72 72 OWBLN (WK/BCStringExtrasWK.h OWBAL/wtf 0 0) 73 OWBLN (WK/BCTCSystemAllocWK.h OWBAL/wtf 0 0)74 73 OWBLN (WK/BCTCPackedCacheWK.h OWBAL/wtf 0 0) 75 74 OWBLN (WK/BCTCPageMapWK.h OWBAL/wtf 0 0) trunk/BAL/OWBAL/Concretizations/Types/WK/BCTCSpinLockWK.h
r427 r428 38 38 #include <time.h> /* For nanosleep() */ 39 39 40 #if PLATFORM(AMIGAOS4) 41 #include <unistd.h> 42 #else 40 43 #include <sched.h> /* For sched_yield() */ 44 #endif 41 45 42 46 #if HAVE(STDINT_H) … … 136 140 137 141 static void TCMalloc_SlowLock(volatile unsigned int* lockword) { 142 #if !PLATFORM(AMIGAOS4) 138 143 sched_yield(); // Yield immediately since fast path failed 144 #endif 139 145 while (true) { 140 146 int r; … … 182 188 #if PLATFORM(WIN_OS) 183 189 Sleep(2); 190 #elif PLATFORM(AMIGAOS4) 191 usleep(200); 184 192 #else 185 193 struct timespec tm; trunk/BAL/scripts/generators/data/balInputList.txt
r402 r428 434 434 ../../OWBAL/Skeletons/Types ../../../JavaScriptCore/wtf/ThreadSpecific.h 435 435 ../../OWBAL/Skeletons/Types ../../../JavaScriptCore/wtf/AVLTree.h 436 ../../OWBAL/Skeletons/Types ../../../JavaScriptCore/wtf/TCSystemAlloc.h437 436 ../../OWBAL/Skeletons/Types ../../../JavaScriptCore/wtf/HashFunctions.h 438 437 ../../OWBAL/Skeletons/Types ../../../JavaScriptCore/wtf/Assertions.h … … 493 492 ../../OWBAL/Concretizations/Types/WK ../../../JavaScriptCore/wtf/ThreadSpecific.h 494 493 ../../OWBAL/Concretizations/Types/WK ../../../JavaScriptCore/wtf/AVLTree.h 495 ../../OWBAL/Concretizations/Types/WK ../../../JavaScriptCore/wtf/TCSystemAlloc.h496 ../../OWBAL/Concretizations/Types/WK ../../../JavaScriptCore/wtf/TCSystemAlloc.cpp497 494 ../../OWBAL/Concretizations/Types/WK ../../../JavaScriptCore/wtf/HashFunctions.h 498 495 ../../OWBAL/Concretizations/Types/WK ../../../JavaScriptCore/wtf/Assertions.h trunk/BAL/scripts/patches/FileSystemPosix.patch
r297 r428 3 3 --- BAL/OWBAL/Concretizations/Facilities/Posix/BCFileSystemPosix.cpp (revision 2800) 4 4 +++ BAL/OWBAL/Concretizations/Facilities/Posix/BCFileSystemPosix.cpp (working copy) 5 @@ -1 57,4 +157,34 @@6 return dirname(fsRep.mutableData());5 @@ -165,4 +165,34 @@ 6 return entries; 7 7 } 8 8 trunk/BAL/scripts/patches/GraphicsContext.patch
r243 r428 3 3 --- BAL/WKAL/Concretizations/Graphics/WK/BCGraphicsContextWK.cpp (revision 2800) 4 4 +++ BAL/WKAL/Concretizations/Graphics/WK/BCGraphicsContextWK.cpp (working copy) 5 @@ -42 7,7 +427,7 @@5 @@ -426,7 +426,7 @@ 6 6 } 7 7 #endif … … 12 12 void GraphicsContext::clipToImageBuffer(const FloatRect&, const ImageBuffer*) 13 13 { 14 @@ -43 5,7 +435,7 @@14 @@ -434,7 +434,7 @@ 15 15 } 16 16 #endif trunk/BAL/scripts/patches/JPEGImageDecoder.patch
r243 r428 9 9 -#if PLATFORM(CAIRO) || PLATFORM(QT) || PLATFORM(WX) 10 10 +#if PLATFORM(CAIRO) || PLATFORM(QT) || PLATFORM(WX) || PLATFORM(BAL) 11 12 extern "C" {13 #include "jpeglib.h"11 12 #if COMPILER(MSVC) 13 // Remove warnings from warning level 4. trunk/BAL/scripts/patches/KURL.patch
r243 r428 3 3 --- BAL/OWBAL/Concretizations/Types/WK/BCKURLWK.cpp (revision 2823) 4 4 +++ BAL/OWBAL/Concretizations/Types/WK/BCKURLWK.cpp (working copy) 5 @@ -13 00,7 +1300,7 @@5 @@ -1317,7 +1317,7 @@ 6 6 return; 7 7 } … … 12 12 UErrorCode error = U_ZERO_ERROR; 13 13 int32_t numCharactersConverted = uidna_IDNToASCII(str, strLen, hostnameBuffer, 14 @@ -13 10,6 +1310,8 @@14 @@ -1327,6 +1327,8 @@ 15 15 #elif USE(QT4_UNICODE) 16 16 QByteArray result = QUrl::toAce(String(str, strLen)); trunk/BAL/scripts/patches/PNGImageDecoder.patch
r243 r428 9 9 -#if PLATFORM(CAIRO) || PLATFORM(QT) || PLATFORM(WX) 10 10 +#if PLATFORM(CAIRO) || PLATFORM(QT) || PLATFORM(WX) || PLATFORM(BAL) 11 12 namespace OWBAL {13 11 12 #if COMPILER(MSVC) 13 // Remove warnings from warning level 4. trunk/BAL/scripts/patches/Platform.patch
r416 r428 32 32 /* Operating system level dependencies for Windows that should be used */ 33 33 /* regardless of operating environment */ 34 @@ -7 2,6 +87,7 @@34 @@ -79,6 +94,7 @@ 35 35 || defined(unix) \ 36 36 || defined(__unix) \ … … 40 40 || defined(_AIX) 41 41 #define WTF_PLATFORM_UNIX 1 42 @@ - 95,7 +111,7 @@42 @@ -102,7 +118,7 @@ 43 43 #define WTF_PLATFORM_WX 1 44 44 #elif defined(BUILDING_GTK__) … … 49 49 #elif PLATFORM(WIN_OS) 50 50 #define WTF_PLATFORM_WIN 1 51 @@ -2 72,6 +288,13 @@51 @@ -284,6 +300,13 @@ 52 52 #define HAVE_SYS_TIMEB_H 1 53 53 #define HAVE_VIRTUALALLOC 1 trunk/BAL/scripts/patches/ResourceHandleManager.patch
r290 r428 3 3 --- BAL/WKAL/Concretizations/Network/Curl/BCResourceHandleManagerCurl.cpp (revision 286) 4 4 +++ BAL/WKAL/Concretizations/Network/Curl/BCResourceHandleManagerCurl.cpp (working copy) 5 @@ -46 6,8 +466,12 @@5 @@ -467,8 +467,12 @@ 6 6 outData = reinterpret_cast<char*>(g_base64_decode(data.utf8().data(), &outLength)); 7 7 #else … … 18 18 data = String(); 19 19 #endif 20 @@ -49 7,6 +501,9 @@20 @@ -498,6 +502,9 @@ 21 21 22 22 #ifdef USE_GLIB_BASE64 trunk/BAL/scripts/patches/index.txt
r396 r428 14 14 ../../WKAL/Concretizations/Widgets/Gtk/PasteboardHelperGtk.cpp 0:PasteboardHelperGtk.patch 15 15 ../../WKAL/Concretizations/Graphics/WK/BCGraphicsContextWK.cpp 0:GraphicsContext.patch 16 ../../OWBAL/Concretizations/ImageDecoder/BMP/WK/BCBMPImageDecoderWK.cpp 0:BMPImageDecoder.patch17 ../../OWBAL/Concretizations/ImageDecoder/GIF/WK/BCGIFImageDecoderWK.cpp 0:GIFImageDecoder.patch16 ../../OWBAL/Concretizations/ImageDecoder/BMP/WK/BCBMPImageDecoderWK.cpp 1:BMPImageDecoder.patch 17 ../../OWBAL/Concretizations/ImageDecoder/GIF/WK/BCGIFImageDecoderWK.cpp 1:GIFImageDecoder.patch 18 18 ../../OWBAL/Concretizations/ImageDecoder/GIF/WK/BCGIFImageReaderWK.cpp 0:GIFImageReader.patch 19 ../../OWBAL/Concretizations/ImageDecoder/ICO/WK/BCICOImageDecoderWK.cpp 0:ICOImageDecoder.patch19 ../../OWBAL/Concretizations/ImageDecoder/ICO/WK/BCICOImageDecoderWK.cpp 1:ICOImageDecoder.patch 20 20 ../../OWBAL/Concretizations/ImageDecoder/JPEG/WK/BCJPEGImageDecoderWK.cpp 0:JPEGImageDecoder.patch 21 21 ../../OWBAL/Concretizations/ImageDecoder/PNG/WK/BCPNGImageDecoderWK.cpp 0:PNGImageDecoder.patch 22 ../../OWBAL/Concretizations/ImageDecoder/XBM/WK/BCXBMImageDecoderWK.cpp 0:XBMImageDecoder.patch22 ../../OWBAL/Concretizations/ImageDecoder/XBM/WK/BCXBMImageDecoderWK.cpp 1:XBMImageDecoder.patch 23 23 ../../OWBAL/Concretizations/Facilities/Posix/BCFileSystemPosix.cpp 0:FileSystemPosix.patch 24 24 ../../WKAL/Concretizations/Fonts/WK/BCFontWK.cpp 0:Font.patch … … 30 30 ../../OWBAL/Concretizations/Types/WK/BCKURLWK.cpp 0:KURLI18N.patch 31 31 ../../OWBAL/Concretizations/Types/WK/BCThreadSpecificWK.h 0:ThreadSpecific.patch 32 ../../OWBAL/Concretizations/Memory/WK/BCTCSystemAllocWK.cpp 0:TCSystemAlloc.patch 33 ../../OWBAL/Concretizations/Types/WK/BCTCSpinLockWK.h 0:TCSpinLock.patch trunk/JavaScriptCore/API/JSContextRef.h
r424 r428 29 29 #include <JavaScriptCore/JSObjectRef.h> 30 30 #include <JavaScriptCore/JSValueRef.h> 31 #include <JavaScriptCore/WebKitAvailability.h> 31 32 32 33 #ifndef __cplusplus … … 48 49 @result The created JSContextGroup. 49 50 */ 50 JS_EXPORT JSContextGroupRef JSContextGroupCreate() ;51 JS_EXPORT JSContextGroupRef JSContextGroupCreate() AVAILABLE_AFTER_WEBKIT_VERSION_3_1; 51 52 52 53 /*! … … 56 57 @result A JSContextGroup that is the same as group. 57 58 */ 58 JS_EXPORT JSContextGroupRef JSContextGroupRetain(JSContextGroupRef group) ;59 JS_EXPORT JSContextGroupRef JSContextGroupRetain(JSContextGroupRef group) AVAILABLE_AFTER_WEBKIT_VERSION_3_1; 59 60 60 61 /*! … … 63 64 @param group The JSContextGroup to release. 64 65 */ 65 JS_EXPORT void JSContextGroupRelease(JSContextGroupRef group) ;66 JS_EXPORT void JSContextGroupRelease(JSContextGroupRef group) AVAILABLE_AFTER_WEBKIT_VERSION_3_1; 66 67 67 68 /*! … … 88 89 group equal to group. 89 90 */ 90 JS_EXPORT JSGlobalContextRef JSGlobalContextCreateInGroup(JSContextGroupRef group, JSClassRef globalObjectClass) ;91 JS_EXPORT JSGlobalContextRef JSGlobalContextCreateInGroup(JSContextGroupRef group, JSClassRef globalObjectClass) AVAILABLE_AFTER_WEBKIT_VERSION_3_1; 91 92 92 93 /*! … … 119 120 @result ctx's group. 120 121 */ 121 JS_EXPORT JSContextGroupRef JSContextGetGroup(JSContextRef ctx) ;122 JS_EXPORT JSContextGroupRef JSContextGetGroup(JSContextRef ctx) AVAILABLE_AFTER_WEBKIT_VERSION_3_1; 122 123 123 124 #ifdef __cplusplus
