Changeset 163862 in webkit
- Timestamp:
- Feb 10, 2014, 10:21:41 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 added
- 7 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r163860 r163862 1 2014-02-10 Dan Bernstein <mitz@apple.com> 2 3 Stop using PLATFORM(MAC) in WebKit2/platform except where it means “OS X but not iOS” 4 https://bugs.webkit.org/show_bug.cgi?id=128513 5 6 Reviewed by Dean Jackson. 7 8 * Platform/IPC/Connection.cpp: 9 (IPC::Connection::waitForSyncReply): Changed PLATFORM(MAC) to PLATFORM(COCOA) around use of 10 RunLoop::runForDuration, matching the guard around that function. 11 * Platform/Logging.cpp: Deleted unused definition of logLevelString. 12 * Platform/Module.cpp: 13 (WebKit::Module::Module): Changed PLATFORM(MAC) to USE(CF). 14 * Platform/Module.h: Changed PLATFORM(MAC) to USE(CF), since the “Mac” implementation is 15 just a CFBundle-based implementation. 16 * Platform/PlatformProcessIdentifier.h: Changed PLATFORM(MAC) to PLATFORM(COCOA). Arguably 17 this should be OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK). 18 * Platform/cf: Added. 19 * Platform/cf/ModuleCF.cpp: Renamed from Platform/mac/ModuleMac.mm. This file did not 20 contain any Objective-C code. 21 * Platform/foundation: Added. 22 * Platform/foundation/LoggingFoundation.mm: Renamed from Platform/mac/Logging.mac.mm. 23 * Platform/mac/Logging.mac.mm: Removed. 24 * Platform/mac/ModuleMac.mm: Removed. 25 * WebKit2.xcodeproj/project.pbxproj: Updated for renames. 26 1 27 2014-02-10 Commit Queue <commit-queue@webkit.org> 2 28 -
trunk/Source/WebKit2/Platform/IPC/Connection.cpp
r162777 r163862 546 546 // Notably, it can continue to process accessibility requests, which are on the main thread. 547 547 if (syncSendFlags & SpinRunLoopWhileWaitingForReply) { 548 #if PLATFORM( MAC)548 #if PLATFORM(COCOA) 549 549 // FIXME: Although we run forever, any events incoming will cause us to drop out and exit out. This however doesn't 550 550 // account for a timeout value passed in. Timeout is always NoTimeout in these cases, but that could change. -
trunk/Source/WebKit2/Platform/Logging.cpp
r156799 r163862 67 67 #endif 68 68 69 #if !PLATFORM(MAC) && !PLATFORM(GTK) && !PLATFORM(EFL)70 String logLevelString()71 {72 // FIXME: Each platform will need to define their own logLevelString();73 return emptyString();74 }75 #endif76 77 69 } // namespace WebKit 78 70 -
trunk/Source/WebKit2/Platform/Module.cpp
r139023 r163862 31 31 Module::Module(const String& path) 32 32 : m_path(path) 33 #if PLATFORM(MAC) && !defined(__LP64__)33 #if USE(CF) && !defined(__LP64__) 34 34 , m_bundleResourceMap(-1) 35 35 #endif -
trunk/Source/WebKit2/Platform/Module.h
r156799 r163862 30 30 #include <wtf/text/WTFString.h> 31 31 32 #if PLATFORM(MAC)32 #if USE(CF) 33 33 #include <wtf/RetainPtr.h> 34 34 #endif … … 55 55 void unload(); 56 56 57 #if PLATFORM(MAC)57 #if USE(CF) 58 58 String bundleIdentifier() const; 59 59 #endif … … 61 61 template<typename FunctionType> FunctionType functionPointer(const char* functionName) const; 62 62 63 #if PLATFORM(MAC) && !defined(__LP64__)63 #if USE(CF) && !defined(__LP64__) 64 64 CFBundleRefNum bundleResourceMap(); 65 65 #endif … … 69 69 70 70 String m_path; 71 #if PLATFORM(MAC)71 #if USE(CF) 72 72 RetainPtr<CFBundleRef> m_bundle; 73 73 #if !defined(__LP64__) -
trunk/Source/WebKit2/Platform/PlatformProcessIdentifier.h
r157643 r163862 34 34 namespace WebKit { 35 35 36 #if PLATFORM( MAC)36 #if PLATFORM(COCOA) 37 37 typedef pid_t PlatformProcessIdentifier; 38 38 #elif PLATFORM(GTK) -
trunk/Source/WebKit2/Platform/cf/ModuleCF.cpp
r163859 r163862 24 24 */ 25 25 26 #i mport"config.h"27 #i mport"Module.h"26 #include "config.h" 27 #include "Module.h" 28 28 29 29 namespace WebKit { -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r163666 r163862 710 710 515E773318402D510007203F /* UniqueIDBDatabaseIdentifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 515E773118402D510007203F /* UniqueIDBDatabaseIdentifier.cpp */; }; 711 711 515E773418402D510007203F /* UniqueIDBDatabaseIdentifier.h in Headers */ = {isa = PBXBuildFile; fileRef = 515E773218402D510007203F /* UniqueIDBDatabaseIdentifier.h */; }; 712 5160BFE113381DF900918999 /* Logging .mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5160BFE013381DF900918999 /* Logging.mac.mm */; };712 5160BFE113381DF900918999 /* LoggingFoundation.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5160BFE013381DF900918999 /* LoggingFoundation.mm */; }; 713 713 516311871858446600534647 /* WebCrossThreadCopier.h in Headers */ = {isa = PBXBuildFile; fileRef = 516311861858446600534647 /* WebCrossThreadCopier.h */; }; 714 714 516319921628980A00E22F00 /* NetworkProcessProxyMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 516319911628980A00E22F00 /* NetworkProcessProxyMac.mm */; }; … … 1345 1345 C0CE72A11247E71D00BC0EC4 /* WebPageMessages.h in Headers */ = {isa = PBXBuildFile; fileRef = C0CE729F1247E71D00BC0EC4 /* WebPageMessages.h */; }; 1346 1346 C0CE72AD1247E78D00BC0EC4 /* HandleMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = C0CE72AC1247E78D00BC0EC4 /* HandleMessage.h */; }; 1347 C0E3AA7A1209E83000A49D01 /* Module Mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = C0E3AA481209E45000A49D01 /* ModuleMac.mm*/; };1347 C0E3AA7A1209E83000A49D01 /* ModuleCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C0E3AA481209E45000A49D01 /* ModuleCF.cpp */; }; 1348 1348 C0E3AA7B1209E83500A49D01 /* Module.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C0E3AA451209E2BA00A49D01 /* Module.cpp */; }; 1349 1349 C0E3AA7C1209E83C00A49D01 /* Module.h in Headers */ = {isa = PBXBuildFile; fileRef = C0E3AA441209E2BA00A49D01 /* Module.h */; }; … … 2434 2434 515E773118402D510007203F /* UniqueIDBDatabaseIdentifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UniqueIDBDatabaseIdentifier.cpp; sourceTree = "<group>"; }; 2435 2435 515E773218402D510007203F /* UniqueIDBDatabaseIdentifier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UniqueIDBDatabaseIdentifier.h; sourceTree = "<group>"; }; 2436 5160BFE013381DF900918999 /* Logging .mac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = Logging.mac.mm; sourceTree = "<group>"; };2436 5160BFE013381DF900918999 /* LoggingFoundation.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = LoggingFoundation.mm; sourceTree = "<group>"; }; 2437 2437 516311861858446600534647 /* WebCrossThreadCopier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCrossThreadCopier.h; sourceTree = "<group>"; }; 2438 2438 516319911628980A00E22F00 /* NetworkProcessProxyMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = NetworkProcessProxyMac.mm; path = mac/NetworkProcessProxyMac.mm; sourceTree = "<group>"; }; … … 3134 3134 C0E3AA441209E2BA00A49D01 /* Module.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Module.h; sourceTree = "<group>"; }; 3135 3135 C0E3AA451209E2BA00A49D01 /* Module.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Module.cpp; sourceTree = "<group>"; }; 3136 C0E3AA481209E45000A49D01 /* Module Mac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ModuleMac.mm; sourceTree = "<group>"; };3136 C0E3AA481209E45000A49D01 /* ModuleCF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ModuleCF.cpp; sourceTree = "<group>"; }; 3137 3137 C517388012DF8F4F00EE3F47 /* DragControllerAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DragControllerAction.h; sourceTree = "<group>"; }; 3138 3138 C5237F5F12441CA300780472 /* WebEditorClientMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebEditorClientMac.mm; sourceTree = "<group>"; }; … … 3757 3757 BCE0937614FB128B001138D9 /* LayerHostingContext.h */, 3758 3758 BCE0937514FB128B001138D9 /* LayerHostingContext.mm */, 3759 5160BFE013381DF900918999 /* Logging.mac.mm */,3760 3759 1A24B5F011F531E800C38269 /* MachUtilities.cpp */, 3761 3760 1A24B5F111F531E800C38269 /* MachUtilities.h */, 3762 C0E3AA481209E45000A49D01 /* ModuleMac.mm */,3763 3761 1A24BF39120896A600FBB059 /* SharedMemoryMac.cpp */, 3764 3762 296BD85B15019BC30071F424 /* StringUtilities.h */, … … 4335 4333 sourceTree = "<group>"; 4336 4334 }; 4335 3709504118A88BA40087AE5D /* cf */ = { 4336 isa = PBXGroup; 4337 children = ( 4338 C0E3AA481209E45000A49D01 /* ModuleCF.cpp */, 4339 ); 4340 path = cf; 4341 sourceTree = "<group>"; 4342 }; 4343 3709504218A88CDE0087AE5D /* foundation */ = { 4344 isa = PBXGroup; 4345 children = ( 4346 5160BFE013381DF900918999 /* LoggingFoundation.mm */, 4347 ); 4348 path = foundation; 4349 sourceTree = "<group>"; 4350 }; 4337 4351 37C4C08318149C2A003688B9 /* Cocoa */ = { 4338 4352 isa = PBXGroup; … … 5502 5516 children = ( 5503 5517 1AE00D6818327C1200087DD7 /* IPC */, 5518 3709504118A88BA40087AE5D /* cf */, 5504 5519 1AA2E51A12E4C05600BC4966 /* cg */, 5520 3709504218A88CDE0087AE5D /* foundation */, 5505 5521 1A7E814E1152D2240003695B /* mac */, 5506 5522 51B15A7D138439B200321AD8 /* unix */, … … 7745 7761 1A8C728C1738477C000A6554 /* LocalStorageDatabaseTracker.cpp in Sources */, 7746 7762 51A7F2F5125BF8D4008AEB1D /* Logging.cpp in Sources */, 7747 5160BFE113381DF900918999 /* Logging .mac.mm in Sources */,7763 5160BFE113381DF900918999 /* LoggingFoundation.mm in Sources */, 7748 7764 1A24B5F211F531E800C38269 /* MachUtilities.cpp in Sources */, 7749 7765 1A232902162C867300D82F7A /* MessageDecoder.cpp in Sources */, … … 7752 7768 1A9E328E182165A900F5D04C /* WKRemoteObjectInterface.mm in Sources */, 7753 7769 C0E3AA7B1209E83500A49D01 /* Module.cpp in Sources */, 7754 C0E3AA7A1209E83000A49D01 /* Module Mac.mmin Sources */,7770 C0E3AA7A1209E83000A49D01 /* ModuleCF.cpp in Sources */, 7755 7771 370F34A21829BE1E009027C8 /* WKNavigationData.mm in Sources */, 7756 7772 BCB0AEEA122F53E300B1341E /* MutableDictionary.cpp in Sources */,
Note:
See TracChangeset
for help on using the changeset viewer.