Diff
Modified: trunk/Source/WebCore/ChangeLog (221616 => 221617)
--- trunk/Source/WebCore/ChangeLog 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/ChangeLog 2017-09-05 15:52:32 UTC (rev 221617)
@@ -1,3 +1,52 @@
+2017-09-05 Tim Horton <[email protected]>
+
+ Remove some unused bits of code and resources
+ https://bugs.webkit.org/show_bug.cgi?id=176275
+
+ Reviewed by Dan Bernstein.
+
+ No new tests, just removing things.
+
+ * Resources/textAreaResizeCorner.tiff: Removed.
+ * Resources/missingImage.tiff: Removed.
+ These files have PNG versions that include more resolutions.
+
+ * Resources/hScrollControl_left.png: Removed.
+ * Resources/hScrollControl_middle.png: Removed.
+ * Resources/hScrollControl_right.png: Removed.
+ * Resources/vScrollControl_bottom.png: Removed.
+ * Resources/vScrollControl_middle.png: Removed.
+ * Resources/vScrollControl_top.png: Removed.
+ * Resources/decrementArrow.tiff: Removed.
+ * Resources/incrementArrow.tiff: Removed.
+ * Resources/markedLeft.png: Removed.
+ * Resources/markedMiddle.png: Removed.
+ * Resources/markedRight.png: Removed.
+ These were added in r161638 as part of the iOS upstreaming, but were
+ unused even then.
+
+ * Resources/inputSpeech.tiff: Removed.
+ The feature this image was for was removed in r172259; the PNG version
+ of this image was removed in r172384.
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/ios/FileSystemIOS.h: Removed.
+ * platform/ios/FileSystemIOS.mm: Removed.
+ Remove FileSystemIOS; one function is unused, the other is not at all
+ iOS-specific and can be folded into FileSystemCocoa.
+
+ * platform/FileSystem.h:
+ * platform/cocoa/FileSystemCocoa.mm:
+ (WebCore::createTemporaryDirectory):
+ Move this in from FileSystemIOS.
+
+ * platform/PlatformEvent.cpp: Removed.
+ Remove this unused file.
+
+ * platform/ios/QuickLook.mm:
+ * platform/ios/WebItemProviderPasteboard.mm:
+ Include FileSystem instead of FileSystemIOS.
+
2017-09-05 Frederic Wang <[email protected]>
Use TilesBacking for iframes when async frame scrolling is enabled
Deleted: trunk/Source/WebCore/Resources/decrementArrow.tiff (221616 => 221617)
--- trunk/Source/WebCore/Resources/decrementArrow.tiff 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/Resources/decrementArrow.tiff 2017-09-05 15:52:32 UTC (rev 221617)
@@ -1 +0,0 @@
-MM��*����L��������������������������������������������������������������;������x��������������������������������������������;������x������\xB3������\xB3����������������������������;������w������\xB3������\xB3������\xB3������\xB3������������<������x������\xB3������\xB3������\xB3������\xB3������\xB3������\xB3������:������\xB2������\xB2������\xB2������\xB2������\xB2������\xB2������\xB2������\xB2��������������:������w������\xB2������\xB3������\xB2������\xB2������\xB2������\xB2������������������������������:������v������\xB2������\xB3������\xB3������\xB3����������������������������������������������:������v������\xB1������\xB2��������������������������������������������������������������:������v�������������� �������������� ��������������������������������������������������������������������������������������������������D��������������������������������������(��������������R��������������S���������
�������������������H������������H��������������������
\ No newline at end of file
Deleted: trunk/Source/WebCore/Resources/hScrollControl_left.png
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/hScrollControl_middle.png
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/hScrollControl_right.png
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/incrementArrow.tiff (221616 => 221617)
--- trunk/Source/WebCore/Resources/incrementArrow.tiff 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/Resources/incrementArrow.tiff 2017-09-05 15:52:32 UTC (rev 221617)
@@ -1 +0,0 @@
-MM��*����L������x������;��������������������������������������������������������������\xB3������\xB3������x������;��������������������������������������������\xB3������\xB3������\xB3������\xB3������w������;����������������������������\xB3������\xB3������\xB3������\xB3������\xB3������\xB3������x������<������������\xB2������\xB2������\xB2������\xB2������\xB2������\xB2������\xB2������\xB2������:������\xB2������\xB2������\xB2������\xB2������\xB3������\xB2������w������:��������������\xB3������\xB3������\xB3������\xB2������v������:������������������������������\xB2������\xB1������v������:����������������������������������������������v������:���������������������������������������������������������������������� �������������� ��������������������������������������������������������������������������������������������������D��������������������������������������(��������������R��������������S���������
�������������������H������������H��������������������
\ No newline at end of file
Deleted: trunk/Source/WebCore/Resources/inputSpeech.tiff (221616 => 221617)
--- trunk/Source/WebCore/Resources/inputSpeech.tiff 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/Resources/inputSpeech.tiff 2017-09-05 15:52:32 UTC (rev 221617)
@@ -1,53 +0,0 @@
-MM��*����\xFA\x80�� P8$-\x84BaP\xB83\x89\xC0\xE1\xB1\xE2@\xA3\xD5\xEBF@B!��
-��0\xC9$\x96M'\x94JePGs\xB1\xDA\xFFO'\xD3\xC0[-\x98��\x83A\x80��H(��P@\xCA \xE7G��\x8A\xA5`\x80\xC2`\x91\xCA\xEAU:\xA5V-\x97\xA5\xA9@��
-\xBC��-\xD8@��\xB0\\xEE\xFF\x81\xD4`m\xD6\xF3t��\xD5j5��k\xA0��\xDCo7ڪ\xE5\xF6\xB1X,\xEDV\xB3X��\x87@��P(h\x83Z\xB27#\x95\xCA��i\xE6@c!\x94��:\xEFW\xED&\x96J\xEEv\xBB\x9F\xE9\xDD`��\xAF\x9C\x81\xB0l\x9E\x8E\x92\xC8fZ@\xDB\xF1\xF8��E\xF0v\xDAn'\xD6j5_\xEB\xE6\xFE> \xD4\xF2Pg\xB7T��\xD1h\xB4��n\xE0��9\x89\xE1\xF1\xBCW\xB6 \x86\xFFm6\x9B3\xC9\xEE>Ӂ|6\xFE\xE6\x8BKv[-\x80\xE1x\xBF\xC2\xF1\xC0
-\x91\x8Cb\xA7\xF9\xB6n`����\x80\xE4\xFF\xB6\x8BK܁0\xA8��*\x8Ab\xA3\xF6?\xD0<\xAB\x86\xCEm\xC0\xE0��\xC1\xA0&\x84>Hb\xA2\xF5@��\xA9\x80|9C\xF1\xCA\xF2\x98P4J\xC8; ��\xB6\xC7\xFC\x871\xEBDnFQ\xA0`\x86Du)\xA0\xA6\x82`\xBD\xD4��pt\xBC\xB4Ep\x92\xCE\xF7\xC2h\xB93ɰԞ\xCAR\xA4\xDC`\x98\xFF
-\xC60\\xBAᶨ<\xC2\xF8̳<\x98*Ɓ\x90fͳt\xA6\xE6\x97\xF2\xCCbH1T\xC91ϐ\x8D"\x82\xB4\xAC/@\xD0t--\x97\xD4\xEC\xE7��\x90ZU<\xD2R\xF5*\xB7
-\xB4����\x86\x81\xA55M\xC3\xC5\xF1z_NoT\xAF\xCFr\xF5!]!i\xC0��-\xABp\xAC+
-\xF5XiBVJ
-^\x97\x85\xE9\xFEl\xBC!1jUS\xA95H��\xAE\x95}\x94\xF1\x85\xD1v\x9A\xE6ɱZ\x94t\xF51Z\xC8M+&
-\xF6%\xB6\x86\xD6\xF5\xBE\x83\xE7sTp\x9C'��b`-s`.\x8B\xC2\xEB\xC2]\xDCW!\xAFiK\x93\xD4\xF9\xD7pzl
-\xF7\x8A\xE6\x86\xEF ,J\x92̂Ў\xA0��L\x84׳\x88m\xBD'\xF9F\x91\xA0㗀\xA9\xE8z��\x9El\xA6\x8C#
-\xF4\\xE7\x96~H5\xCD\xDB^W(!\xBF\xA3\x80\xC6+\x8B\xE3(#\x82E\x9F\xE6n\xA4��'\xC1\x899\xAD\xE4\xCD3\xB2h\x9F\xE5\xBEĞ@H��t\xE78��\x9F'\xE3\xE8\xFC?/E\xD1r]\\x96\x8C"b7]'\xA1 \xC7\xFDl\xA9\x81\xC0r/DA\xE0H \xB3\xA0��N\xA4\xE6\xBAҚO\xA9\xFE]\xE1@\x97'\x82\x80-@/F9\x8Cc\x9F\xE6WU2\xE8t,\xF2q\x9Cw\xF0\xBC/\xEF\xD8^/D)B\x9F\xE8\xCA\xCDG3+\x97!\xC9[\xE7\x8E\x95\xC5y_\xBB\xA4yy\xE2��O\xC0I\xE9\xBC$\xAD\xCFuH\x82\xD7'G\xBC��?
-\xF4k\xB0\xA7\xF9S\xF3\xB5\xC0\x80 \x82\xE8\xE6\xF8��I~\x9BHvgY\xFES\xE58��~7\xB4\x89\x9C3Fp��g!\x80��28^\x85 \xE5v+\xB6|\xC3]M\xE0~\x8F\xC1\xFA����\xD0 ��-\x85\xC0\xB8^\x85\xB0\xB5\xC3\xFDӌ`��\x80\x88��\xF4Aq\xF5\xC0��{\x86O\xC8\xE2?\x91N?̱\x97-G\xA5\x828|vøw<"DH \xFEo\x8D\xF9\x91L\xAA\x94\x91\x927@?\x80��u\x8AG\x84?\xB6\xF1\xFEW\x92\xE9l\xC4\xEB\xB8\xBC\xCDY\xB444\xC3\xF1\x8A1\x86)\x81\x80����\xE4C\x90��\xC0\xFC\xA4`\xE5\xDC\xC8\xF5:Ĭ\xC7\xD0��d\xE1\xE2\xB8W\xF1\x80\x95\xC0��\x91M.\x8E\xD2\��c@��\xC9X\xC4q\x84\x9C\x99\xE7T{8\xD4,<ǐ\xF2��(E\xB0��A!<"\xFDO>\xD8@\xC0<\xB1��$G(\xE8xFd\xB9\xE2n^����//\xCBd \xA4\xE4ن\xA9\x8D%\xD0\xAAC\xFEV\xE2o\x87\xD8��`\xD7��\xE0]\x83xn?`\xB9\xDC)\x9A?\xC5@\xA9��\xF5>\xB8PP\x90\xF1O</\xBB9(
-D\xC8C\xE2\x88P\x8A(p9\xA1\xD1"\xD2u#8��`M \xA6l3hh\xB0G\xFC"\xC4Кș\x81gCwW\x80\x90\x82T\xD3<\x94\xDB\xA3\xFCx3?i����\x87 ؎3x\xFF����=\xA5R\x9C\x82��\xA9\x82\xBC#\xA8u\xF2\xE2��\xC9\xE9\xA5\xF4\xC4 \xD3ك\xC8@$1\xFE\x82х\xEE@\xA4ȓ\xF2\x86QA"H \xB8\xEAt\xD4x\xF7=:\x9Ex\xFBSE;S\xF9|\x80\xB9\xB16m\x94\x9F\x80TR2 d����\x9EXu\xA3\x9A\x83T\xA7E\xE8��ak\x9D"+\xE5Ԟ\xE0\x8Diy\x87\xB9<\xAB\xEA\xD3Pc\x9BV,��\xB0v\x9A\xC1"\xA8\xE9\xB8R
-1F?\xC6\xF0\xDE}\xCAJ\xC0\xBD\xB7\xB6@\x8Ck\x9B\x85\x88 \x84 \x84����1\x8D\xA5\xE0\WK&^Ւ\xB42\xA3\x91`Y\x96 \xC3\xC1H(2\xCCę\xFBk\xADz\x9B-0\x99\xE5(����\x8E\xB9W\xE0\xD4p\xEE\x83\xB8\xFF��\xE0 \x90TH\x82a\xB5̹\xAB|6\xB0\xD8?΄* \x87\xD8ݘav\xAE٤W\xAC\x8B+\xDC��U3R0d-��\xDF}\xE9\xD8 \xA3B\xFE\xE2\xC5>Ԉ#@\x8C��v\x94��'\x84\xF1\xBD)L4p\xD1R\xEEC\x8Al\xC0-FV#cZ'Qš\x99\xB3H\x90��\xD0\xF9j\xE3\xDC|\x80��\xFDGX��\xAC��\x8C]z0Y\xD1H\x98\xD3\xD0\xCB\xE8\xF7\xC7Xe͈\x91"q\x861 \xA2@G\xC4jf:P\xFE%\xC4\xD8$��|\x9D\x90r{à\x8E%\xF8|l1h\xAF\xA9,e\xCB\xB10Y\x8EA\x9C\xA0BH����������������)��������������)����������������\xD8������������������������������������������������������������������������������\xAA����������������\xF1������������\xE0������������\xE8��������������(��������������=��������������R��������������S������������\xF0\x87s������H����\xF8�������
���������HN��������HN��������������������HLino����mntrRGB XYZ \xCE���� ����1����acspMSFT��������IEC sRGB����������������������������\xF6\xD6����������\xD3-HP ��������������
��������������������������������������������������������������������������������cprt����P������3desc����\x84������lwtpt����\xF0������bkpt����������rXYZ����������gXYZ����,������bXYZ����@������dmnd����T������pdmdd����\xC4������\x88vued����L������\x86view����\xD4������$lumi����\xF8������meas����������$tech����0������rTRC����<����gTRC����<����bTRC����<����text��������Copyright (c) 1998 Hewlett-Packard Company����desc��������������sRGB IEC61966-2.1����������������������sRGB IEC61966-2.1����������������������������������������������������������������������������������������������������XYZ ������������\xF3Q��������\xCCXYZ ��������������������������������XYZ ������������o\xA2����8\xF5����\x90XYZ ������������b\x99����\xB7\x85����\xDAXYZ ������������$\xA0����\x84����\xB6\xCFdesc��������������IEC http://www.iec.ch����������������������IEC http://www.iec.ch���������������������������������������������������������������������������������������
�����desc��������������.IEC 61966-2.1 Default RGB colour space - sRGB����������������������.IEC 61966-2.1 Default RGB colour space - sRGB��������������������������������������������desc��������������,Reference Viewing Condition in IEC61966-2.1����������������������,Reference Viewing Condition in IEC61966-2.1����������������������������������������������������view����������\xA4\xFE��_.��\xCF��\xED\xCC
����\\x9E������XYZ ����������L V��P������W\xE7meas��������������������������������������������������\x8F������sig ��������CRT curv����������������������
-����������#��(��-��2��7��;��@��E��J��O��T��Y��^��c��h��m��r��w��|��\x81��\x86��\x8B��\x90��\x95��\x9A��\x9F��\xA4��\xA9��\xAE��\xB2��\xB7��\xBC��\xC1��\xC6��\xCB��\xD0��\xD5��\xDB��\xE0��\xE5��\xEB��\xF0��\xF6��\xFB-%+28>ELRY`gnu|\x83\x8B\x92\x9A\xA1\xA9\xB1\xB9\xC1\xC9\xD1\xD9\xE1\xE9\xF2\xFA&/8AKT]gqz\x84\x8E\x98\xA2\xAC\xB6\xC1\xCB\xD5\xE0\xEB\xF5��!-8COZfr~\x8A\x96\xA2\xAE\xBA\xC7\xD3\xE0\xEC\xF9 -;HUcq~\x8C\x9A\xA8\xB6\xC4\xD3\xE1\xF0\xFE-+:IXgw\x86\x96\xA6\xB5\xC5\xD5\xE5\xF6'7HYj{\x8C\x9D\xAF\xC0\xD1\xE3\xF5+=Oat\x86\x99\xAC\xBF\xD2\xE5\xF82FZn\x82\x96\xAA\xBE\xD2\xE7\xFB % : O d y \x8F \xA4 \xBA \xCF \xE5 \xFB
-
-'
-=
-T
-j
-\x81
-\x98
-\xAE
-\xC5
-\xDC
-\xF3"9Qi\x80\x98\xB0\xC8\xE1\xF9*C\u\x8E\xA7\xC0\xD9\xF3---&-@-Z-t-\x8E-\xA9-\xC3-\xDE-\xF8.Id\x9B\xB6\xD2\xEE %A^z\x96\xB3\xCF\xEC &Ca~\x9B\xB9\xD7\xF51Om\x8C\xAA\xC9\xE8&Ed\x84\xA3\xC3\xE3#Cc\x83\xA4\xC5\xE5'Ij\x8B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J\xB9º;\xBA\xB5\xBB.\xBB\xA7\xBC!\xBC\x9B\xBD\xBD\x8F\xBE
-\xBE\x84\xBE\xFF\xBFz\xBF\xF5\xC0p\xC0\xEC\xC1g\xC1\xE3\xC2_\xC2\xDB\xC3X\xC3\xD4\xC4Q\xC4\xCE\xC5K\xC5\xC8\xC6F\xC6\xC3\xC7Aǿ\xC8=ȼ\xC9:ɹ\xCA8ʷ\xCB6˶\xCC5̵\xCD5͵\xCE6ζ\xCF7ϸ\xD09к\xD1<Ѿ\xD2?\xD2\xC1\xD3D\xD3\xC6\xD4I\xD4\xCB\xD5N\xD5\xD1\xD6U\xD6\xD8\xD7\\xD7\xE0\xD8d\xD8\xE8\xD9l\xD9\xF1\xDAv\xDA\xFBۀ\xDC܊\xDDݖ\xDEޢ\xDF)߯\xE06\xE0\xBD\xE1D\xE1\xCC\xE2S\xE2\xDB\xE3c\xE3\xEB\xE4s\xE4\xFC\xE5\x84\xE6-\xE6\x96\xE7\xE7\xA9\xE82\xE8\xBC\xE9F\xE9\xD0\xEA[\xEA\xE5\xEBp\xEB\xFB\xEC\x86\xED\xED\x9C\xEE(\xEE\xB4\xEF@\xEF\xCC\xF0X\xF0\xE5\xF1r\xF1\xFF\xF2\x8C\xF3\xF3\xA7\xF44\xF4\xC2\xF5P\xF5\xDE\xF6m\xF6\xFB\xF7\x8A\xF8\xF8\xA8\xF98\xF9\xC7\xFAW\xFA\xE7\xFBw\xFC\xFC\x98\xFD)\xFD\xBA\xFEK\xFE\xDC\xFFm\xFF\xFF
\ No newline at end of file
Deleted: trunk/Source/WebCore/Resources/markedLeft.png
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/markedMiddle.png
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/markedRight.png
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/missingImage.tiff
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/textAreaResizeCorner.tiff
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/vScrollControl_bottom.png
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/vScrollControl_middle.png
(Binary files differ)
Deleted: trunk/Source/WebCore/Resources/vScrollControl_top.png
(Binary files differ)
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (221616 => 221617)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2017-09-05 15:52:32 UTC (rev 221617)
@@ -1094,8 +1094,6 @@
26B999971804D54200D01121 /* SelectorCompiler.h in Headers */ = {isa = PBXBuildFile; fileRef = 26B999951804D54200D01121 /* SelectorCompiler.h */; };
26C15CF61857E15D00F15C03 /* ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26C15CF41857E15D00F15C03 /* ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp */; };
26C15CF71857E15E00F15C03 /* ResourceHandleCFURLConnectionDelegateWithOperationQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 26C15CF51857E15D00F15C03 /* ResourceHandleCFURLConnectionDelegateWithOperationQueue.h */; };
- 26C17A3E1491D2D400D12BA2 /* FileSystemIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 26C17A3C1491D2D400D12BA2 /* FileSystemIOS.h */; settings = {ATTRIBUTES = (Private, ); }; };
- 26C17A3F1491D2D400D12BA2 /* FileSystemIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 26C17A3D1491D2D400D12BA2 /* FileSystemIOS.mm */; };
26D4E8461B42539D00E033A2 /* DFANode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26D4E8451B42539D00E033A2 /* DFANode.cpp */; };
26E944D81AC4B2DD007B85B5 /* CombinedURLFilters.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26E944D41AC4B2DD007B85B5 /* CombinedURLFilters.cpp */; };
26E944D91AC4B2DD007B85B5 /* CombinedURLFilters.h in Headers */ = {isa = PBXBuildFile; fileRef = 26E944D51AC4B2DD007B85B5 /* CombinedURLFilters.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -8717,8 +8715,6 @@
26B999951804D54200D01121 /* SelectorCompiler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SelectorCompiler.h; sourceTree = "<group>"; };
26C15CF41857E15D00F15C03 /* ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp; sourceTree = "<group>"; };
26C15CF51857E15D00F15C03 /* ResourceHandleCFURLConnectionDelegateWithOperationQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceHandleCFURLConnectionDelegateWithOperationQueue.h; sourceTree = "<group>"; };
- 26C17A3C1491D2D400D12BA2 /* FileSystemIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FileSystemIOS.h; sourceTree = "<group>"; };
- 26C17A3D1491D2D400D12BA2 /* FileSystemIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = FileSystemIOS.mm; sourceTree = "<group>"; };
26D4E8451B42539D00E033A2 /* DFANode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DFANode.cpp; sourceTree = "<group>"; };
26E944D41AC4B2DD007B85B5 /* CombinedURLFilters.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CombinedURLFilters.cpp; sourceTree = "<group>"; };
26E944D51AC4B2DD007B85B5 /* CombinedURLFilters.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CombinedURLFilters.h; sourceTree = "<group>"; };
@@ -21550,8 +21546,6 @@
3140379A124BEA7F00AF40E4 /* DeviceOrientationClientIOS.mm */,
0FDA7C22188330A900C954B5 /* DragImageIOS.mm */,
26F40D4914904A6300CA67C4 /* EventLoopIOS.mm */,
- 26C17A3C1491D2D400D12BA2 /* FileSystemIOS.h */,
- 26C17A3D1491D2D400D12BA2 /* FileSystemIOS.mm */,
265541371489811C000DFC5D /* KeyEventCodesIOS.h */,
265541381489811C000DFC5D /* KeyEventIOS.mm */,
E4C3B1F90F0E4161009693F6 /* LegacyTileCache.h */,
@@ -27742,7 +27736,6 @@
83FB33731F508A5800986E54 /* FileSystemEntry.h in Headers */,
838F86DB1F509E7B00E8CFC5 /* FileSystemEntryCallback.h in Headers */,
83FB33751F508A5B00986E54 /* FileSystemFileEntry.h in Headers */,
- 26C17A3E1491D2D400D12BA2 /* FileSystemIOS.h in Headers */,
BC5EB69F0E81DAEB00B25965 /* FillLayer.h in Headers */,
845E72F80FD261EE00A87D79 /* Filter.h in Headers */,
08C9251A0FCC7C4A00480DEC /* FilterEffect.h in Headers */,
@@ -31777,7 +31770,6 @@
839680B41F54C6AD00752690 /* FileSystemEntriesCallback.cpp in Sources */,
83FB33721F508A5800986E54 /* FileSystemEntry.cpp in Sources */,
83FB33741F508A5B00986E54 /* FileSystemFileEntry.cpp in Sources */,
- 26C17A3F1491D2D400D12BA2 /* FileSystemIOS.mm in Sources */,
A1CC11641E493D0100EFA69C /* FileSystemMac.mm in Sources */,
5160300B0CC4251200C8AC25 /* FileSystemPOSIX.cpp in Sources */,
BC5EB69E0E81DAEB00B25965 /* FillLayer.cpp in Sources */,
Modified: trunk/Source/WebCore/platform/FileSystem.h (221616 => 221617)
--- trunk/Source/WebCore/platform/FileSystem.h 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/platform/FileSystem.h 2017-09-05 15:52:32 UTC (rev 221617)
@@ -44,6 +44,8 @@
typedef const struct __CFData* CFDataRef;
#endif
+OBJC_CLASS NSString;
+
#if PLATFORM(WIN)
typedef void *HANDLE;
#endif
@@ -177,6 +179,10 @@
String roamingUserSpecificStorageDirectory();
#endif
+#if PLATFORM(COCOA)
+WEBCORE_EXPORT NSString *createTemporaryDirectory(NSString *directoryPrefix);
+#endif
+
class MappedFileData {
public:
MappedFileData() { }
Deleted: trunk/Source/WebCore/platform/PlatformEvent.cpp (221616 => 221617)
--- trunk/Source/WebCore/platform/PlatformEvent.cpp 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/platform/PlatformEvent.cpp 2017-09-05 15:52:32 UTC (rev 221617)
@@ -1,27 +0,0 @@
-/*
- * Copyright (C) 2011 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "PlatformEvent.h"
Modified: trunk/Source/WebCore/platform/cocoa/FileSystemCocoa.mm (221616 => 221617)
--- trunk/Source/WebCore/platform/cocoa/FileSystemCocoa.mm 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/platform/cocoa/FileSystemCocoa.mm 2017-09-05 15:52:32 UTC (rev 221617)
@@ -99,4 +99,33 @@
return true;
}
+NSString *createTemporaryDirectory(NSString *directoryPrefix)
+{
+ NSString *tempDirectory = NSTemporaryDirectory();
+ if (!tempDirectory || ![tempDirectory length])
+ return nil;
+
+ if (!directoryPrefix || ![directoryPrefix length])
+ return nil;
+
+ NSString *tempDirectoryComponent = [directoryPrefix stringByAppendingString:@"-XXXXXXXX"];
+ const char* tempDirectoryCString = [[tempDirectory stringByAppendingPathComponent:tempDirectoryComponent] fileSystemRepresentation];
+ if (!tempDirectoryCString)
+ return nil;
+
+ const size_t length = strlen(tempDirectoryCString);
+ ASSERT(length <= MAXPATHLEN);
+ if (length > MAXPATHLEN)
+ return nil;
+
+ const size_t lengthPlusNullTerminator = length + 1;
+ Vector<char, MAXPATHLEN + 1> path(lengthPlusNullTerminator);
+ memcpy(path.data(), tempDirectoryCString, lengthPlusNullTerminator);
+
+ if (!mkdtemp(path.data()))
+ return nil;
+
+ return [[NSFileManager defaultManager] stringWithFileSystemRepresentation:path.data() length:length];
+}
+
} // namespace WebCore
Deleted: trunk/Source/WebCore/platform/ios/FileSystemIOS.h (221616 => 221617)
--- trunk/Source/WebCore/platform/ios/FileSystemIOS.h 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/platform/ios/FileSystemIOS.h 2017-09-05 15:52:32 UTC (rev 221617)
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2011 Apple Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef FileSystemIOS_h
-#define FileSystemIOS_h
-
-@class NSString;
-
-namespace WebCore {
-
-WEBCORE_EXPORT NSString *createTemporaryDirectory(NSString *directoryPrefix);
-NSString *createTemporaryFile(NSString *directoryPath, NSString *filePrefix);
-
-} // namespace WebCore
-
-#endif // FileSystemIOS_h
Deleted: trunk/Source/WebCore/platform/ios/FileSystemIOS.mm (221616 => 221617)
--- trunk/Source/WebCore/platform/ios/FileSystemIOS.mm 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/platform/ios/FileSystemIOS.mm 2017-09-05 15:52:32 UTC (rev 221617)
@@ -1,97 +0,0 @@
-/*
- * Copyright (C) 2011 Apple Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "config.h"
-#import "FileSystemIOS.h"
-
-#import "FileSystem.h"
-
-namespace WebCore {
-
-NSString *createTemporaryDirectory(NSString *directoryPrefix)
-{
- NSString *tempDirectory = NSTemporaryDirectory();
- if (!tempDirectory || ![tempDirectory length])
- return nil;
-
- if (!directoryPrefix || ![directoryPrefix length])
- return nil;
-
- NSString *tempDirectoryComponent = [directoryPrefix stringByAppendingString:@"-XXXXXXXX"];
- const char* tempDirectoryCString = [[tempDirectory stringByAppendingPathComponent:tempDirectoryComponent] fileSystemRepresentation];
- if (!tempDirectoryCString)
- return nil;
-
- const size_t length = strlen(tempDirectoryCString);
- ASSERT(length <= MAXPATHLEN);
- if (length > MAXPATHLEN)
- return nil;
-
- const size_t lengthPlusNullTerminator = length + 1;
- Vector<char, MAXPATHLEN + 1> path(lengthPlusNullTerminator);
- memcpy(path.data(), tempDirectoryCString, lengthPlusNullTerminator);
-
- if (!mkdtemp(path.data()))
- return nil;
-
- return [[NSFileManager defaultManager] stringWithFileSystemRepresentation:path.data() length:length];
-}
-
-NSString *createTemporaryFile(NSString *directoryPath, NSString *filePrefix)
-{
- if (!directoryPath || ![directoryPath length] || !filePrefix || ![filePrefix length])
- return nil;
-
- NSString *tempFileComponent = [filePrefix stringByAppendingString:@"-XXXXXXXX"];
- const char* templatePathCString = [[directoryPath stringByAppendingPathComponent:tempFileComponent] fileSystemRepresentation];
- if (!templatePathCString)
- return nil;
-
- const size_t length = strlen(templatePathCString);
- ASSERT(length <= MAXPATHLEN);
- if (length > MAXPATHLEN)
- return nil;
-
- const size_t lengthPlusNullTerminator = length + 1;
- Vector<char, MAXPATHLEN + 1> path(lengthPlusNullTerminator);
- memcpy(path.data(), templatePathCString, lengthPlusNullTerminator);
-
- int fd = mkstemp(path.data());
- if (fd < 0)
- return nil;
-
- int err = fchmod(fd, S_IRUSR | S_IWUSR);
- if (err < 0) {
- close(fd);
- unlink(path.data());
- return nil;
- }
-
- close(fd);
- return [[NSFileManager defaultManager] stringWithFileSystemRepresentation:path.data() length:length];
-}
-
-} // namespace WebCore
-
Modified: trunk/Source/WebCore/platform/ios/QuickLook.mm (221616 => 221617)
--- trunk/Source/WebCore/platform/ios/QuickLook.mm 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/platform/ios/QuickLook.mm 2017-09-05 15:52:32 UTC (rev 221617)
@@ -28,7 +28,7 @@
#if USE(QUICK_LOOK)
-#import "FileSystemIOS.h"
+#import "FileSystem.h"
#import "PreviewConverter.h"
#import "ResourceRequest.h"
#import "SchemeRegistry.h"
Modified: trunk/Source/WebCore/platform/ios/WebItemProviderPasteboard.mm (221616 => 221617)
--- trunk/Source/WebCore/platform/ios/WebItemProviderPasteboard.mm 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebCore/platform/ios/WebItemProviderPasteboard.mm 2017-09-05 15:52:32 UTC (rev 221617)
@@ -34,7 +34,7 @@
#import <UIKit/NSItemProvider+UIKitAdditions.h>
#import <UIKit/UIColor.h>
#import <UIKit/UIImage.h>
-#import <WebCore/FileSystemIOS.h>
+#import <WebCore/FileSystem.h>
#import <WebCore/Pasteboard.h>
#import <pal/spi/ios/UIKitSPI.h>
#import <wtf/BlockPtr.h>
Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (221616 => 221617)
--- trunk/Source/WebKitLegacy/mac/ChangeLog 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog 2017-09-05 15:52:32 UTC (rev 221617)
@@ -1,3 +1,13 @@
+2017-09-05 Tim Horton <[email protected]>
+
+ Remove some unused bits of code and resources
+ https://bugs.webkit.org/show_bug.cgi?id=176275
+
+ Reviewed by Dan Bernstein.
+
+ * Misc/WebNSFileManagerExtras.mm:
+ Include FileSystem instead of FileSystemIOS.
+
2017-09-03 Darin Adler <[email protected]>
[Cocoa] Tidy a few things in legacy WebHTMLView
Modified: trunk/Source/WebKitLegacy/mac/Misc/WebNSFileManagerExtras.mm (221616 => 221617)
--- trunk/Source/WebKitLegacy/mac/Misc/WebNSFileManagerExtras.mm 2017-09-05 15:44:20 UTC (rev 221616)
+++ trunk/Source/WebKitLegacy/mac/Misc/WebNSFileManagerExtras.mm 2017-09-05 15:52:32 UTC (rev 221617)
@@ -36,10 +36,6 @@
#import <wtf/Assertions.h>
#import <wtf/ObjcRuntimeExtras.h>
-#if PLATFORM(IOS)
-#import <WebCore/FileSystemIOS.h>
-#endif
-
@implementation NSFileManager (WebNSFileManagerExtras)
#if !PLATFORM(IOS)