Changeset 12786 in webkit
- Timestamp:
- Feb 13, 2006, 3:13:47 PM (20 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
-
ChangeLog (modified) (1 diff)
-
WebCore.vcproj/WebCore/WebCore.vcproj (modified) (9 diffs)
-
platform/Timer.cpp (modified) (3 diffs)
-
platform/image-decoders/png/PNGImageDecoder.cpp (modified) (1 diff)
-
platform/win/SharedTimerWin.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r12785 r12786 1 2006-02-13 Dave Hyatt <hyatt@apple.com> 2 3 Fix Win32 bustage in WebCore. 4 5 Reviewed by darin 6 7 * WebCore.vcproj/WebCore/WebCore.vcproj: 8 * platform/Timer.cpp: 9 (WebCore::operator==): 10 (WebCore::operator!=): 11 (WebCore::TimerBase::heapPop): 12 13 HUGE_VAL can be used on both Windows and Mac, so replace 1e500 with 14 that. 15 16 Add == and != operators for the TimerHeapIterator. 17 18 * platform/image-decoders/png/PNGImageDecoder.cpp: 19 (WebCore::PNGImageDecoder::rowAvailable): 20 21 Fix my bustage in the PNG decoder where I left off a stray 22 parenthesis. 23 24 * platform/win/SharedTimerWin.cpp: 25 (WebCore::timerFired): 26 (WebCore::setSharedTimerFireTime): 27 (WebCore::stopSharedTimer): 28 29 KillTimer should take 2 arguments. Add some missing includes. 30 1 31 2006-02-12 Alexander Kellett <lypanov@kde.org> 2 32 -
trunk/WebCore/WebCore.vcproj/WebCore/WebCore.vcproj
r12782 r12786 1348 1348 </File> 1349 1349 <File 1350 RelativePath="..\..\page\FrameTree Node.cpp"1351 > 1352 </File> 1353 <File 1354 RelativePath="..\..\page\FrameTree Node.h"1350 RelativePath="..\..\page\FrameTree.cpp" 1351 > 1352 </File> 1353 <File 1354 RelativePath="..\..\page\FrameTree.h" 1355 1355 > 1356 1356 </File> … … 1662 1662 </File> 1663 1663 <File 1664 RelativePath="..\..\platform\SharedTimer.h" 1665 > 1666 </File> 1667 <File 1664 1668 RelativePath="..\..\platform\String.cpp" 1665 1669 > … … 1678 1682 </File> 1679 1683 <File 1684 RelativePath="..\..\platform\Timer.cpp" 1685 > 1686 </File> 1687 <File 1680 1688 RelativePath="..\..\platform\Timer.h" 1681 >1682 </File>1683 <File1684 RelativePath="..\..\platform\Timer.cpp"1685 >1686 </File>1687 <File1688 RelativePath="..\..\platform\SharedTimer.h"1689 1689 > 1690 1690 </File> … … 1701 1701 > 1702 1702 <File 1703 RelativePath="..\..\platform\win\SharedTimerWin.cpp" 1704 > 1705 </File> 1706 <File 1703 1707 RelativePath="..\..\platform\win\SystemTimeWin.cpp" 1704 >1705 </File>1706 <File1707 RelativePath="..\..\platform\win\SharedTimerWin.cpp"1708 1708 > 1709 1709 </File> … … 2904 2904 > 2905 2905 <File 2906 RelativePath="..\..\dom\CDATASectionImpl.cpp" 2907 > 2908 </File> 2909 <File 2910 RelativePath="..\..\dom\CDATASectionImpl.h" 2911 > 2912 </File> 2913 <File 2914 RelativePath="..\..\dom\CharacterDataImpl.cpp" 2915 > 2916 </File> 2917 <File 2918 RelativePath="..\..\dom\CharacterDataImpl.h" 2919 > 2920 </File> 2921 <File 2906 2922 RelativePath="..\..\dom\ChildNodeListImpl.cpp" 2907 2923 > … … 2912 2928 </File> 2913 2929 <File 2930 RelativePath="..\..\dom\CommentImpl.cpp" 2931 > 2932 </File> 2933 <File 2934 RelativePath="..\..\dom\CommentImpl.h" 2935 > 2936 </File> 2937 <File 2914 2938 RelativePath="..\..\dom\ContainerNodeImpl.cpp" 2915 2939 > … … 3008 3032 </File> 3009 3033 <File 3010 RelativePath="..\..\dom\dom_textimpl.cpp"3011 >3012 </File>3013 <File3014 RelativePath="..\..\dom\dom_textimpl.h"3015 >3016 </File>3017 <File3018 3034 RelativePath="..\..\dom\dom_xmlimpl.cpp" 3019 3035 > … … 3032 3048 </File> 3033 3049 <File 3050 RelativePath="..\..\dom\EditingTextImpl.cpp" 3051 > 3052 </File> 3053 <File 3054 RelativePath="..\..\dom\EditingTextImpl.h" 3055 > 3056 </File> 3057 <File 3034 3058 RelativePath="..\..\dom\EventNames.cpp" 3035 3059 > … … 3065 3089 <File 3066 3090 RelativePath="..\..\dom\NodeListImpl.h" 3091 > 3092 </File> 3093 <File 3094 RelativePath="..\..\dom\TextImpl.cpp" 3095 > 3096 </File> 3097 <File 3098 RelativePath="..\..\dom\TextImpl.h" 3067 3099 > 3068 3100 </File> -
trunk/WebCore/platform/Timer.cpp
r12774 r12786 30 30 #include "SystemTime.h" 31 31 #include <algorithm> 32 #include <math.h> 32 33 #include <kxmlcore/Assertions.h> 33 34 #include <kxmlcore/HashSet.h> … … 131 132 }; 132 133 134 inline bool operator==(TimerHeapIterator a, TimerHeapIterator b) { return a.index() == b.index(); } 135 inline bool operator!=(TimerHeapIterator a, TimerHeapIterator b) { return a.index() != b.index(); } 133 136 inline bool operator<(TimerHeapIterator a, TimerHeapIterator b) { return a.index() < b.index(); } 134 137 … … 254 257 // Temporarily force this timer to have the minimum key so we can pop it. 255 258 double fireTime = m_nextFireTime; 256 m_nextFireTime = - 1e500;259 m_nextFireTime = -HUGE_VAL; 257 260 heapDecreaseKey(); 258 261 heapPopMin(); -
trunk/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp
r12767 r12786 315 315 316 316 // For PNGs, the frame always fills the entire image. 317 buffer.setRect(IntRect(0, 0, m_size.width(), m_size.height()) ;317 buffer.setRect(IntRect(0, 0, m_size.width(), m_size.height())); 318 318 319 319 if (reader()->pngPtr()->interlaced) -
trunk/WebCore/platform/win/SharedTimerWin.cpp
r12774 r12786 27 27 #include "SharedTimer.h" 28 28 29 #include "SystemTime.h" 30 #include <kxmlcore/Assertions.h> 29 31 #include <windows.h> 30 32 … … 39 41 } 40 42 41 static CALLBACK timerFired(HWND, UINT, UINT_PTR, DWORD)43 static void CALLBACK timerFired(HWND, UINT, UINT_PTR, DWORD) 42 44 { 43 45 sharedTimerFiredFunction(); … … 61 63 62 64 if (timerID) 63 KillTimer( timerID);65 KillTimer(0, timerID); 64 66 timerID = SetTimer(0, 0, intervalInMS, timerFired); 65 67 } … … 68 70 { 69 71 if (timerID) { 70 KillTimer( timerID);72 KillTimer(0, timerID); 71 73 timerID = 0; 72 74 }
Note:
See TracChangeset
for help on using the changeset viewer.