Changeset 16248 in webkit
- Timestamp:
- Sep 6, 2006 12:09:41 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r16247 r16248 1 2006-09-05 MorganL <morlmor@yahoocom> 2 3 Reviewed/landed by aroben. 4 5 Fixes bug 10743: Windows build is busted. 6 7 * WebCore.vcproj/WebCore/WebCore.vcproj: 8 * bridge/win/FrameWin.h: 9 * platform/ResourceLoaderInternal.h: 10 * platform/TextEncodingRegistry.cpp: 11 * platform/win/ResourceLoaderWin.cpp: 12 (WebCore::ResourceLoaderWndProc): 13 (WebCore::ResourceLoader::start): 14 * platform/win/TemporaryLinkStubs.cpp: 15 (FrameWin::markMisspellings): 16 (FrameWin::shouldChangeSelection): 17 (FrameWin::respondToChangedSelection): 18 (FrameWin::respondToChangedContents): 19 (RenderThemeWin::adjustMenuListStyle): 20 1 21 2006-09-05 Darin Adler <darin@apple.com> 2 22 -
trunk/WebCore/WebCore.vcproj/WebCore/WebCore.vcproj
r16245 r16248 1136 1136 </File> 1137 1137 <File 1138 RelativePath="..\..\platform\CString.cpp" 1139 > 1140 </File> 1141 <File 1142 RelativePath="..\..\platform\CString.h" 1143 > 1144 </File> 1145 <File 1138 1146 RelativePath="..\..\platform\Cursor.h" 1139 1147 > … … 2473 2481 <File 2474 2482 RelativePath="..\..\css\CSSBorderImageValue.h" 2483 > 2484 </File> 2485 <File 2486 RelativePath="..\..\css\CSSCharsetRule.cpp" 2475 2487 > 2476 2488 </File> -
trunk/WebCore/bridge/win/FrameWin.h
r16190 r16248 88 88 89 89 virtual void markMisspellingsInAdjacentWords(const VisiblePosition&); 90 virtual void markMisspellings(const Selection Controller&);90 virtual void markMisspellings(const Selection&); 91 91 92 92 virtual bool lastEventIsMouseUp() const; … … 111 111 virtual void issuePasteAndMatchStyleCommand(); 112 112 virtual void issueTransposeCommand(); 113 virtual void respondToChangedSelection(const Selection Controller& oldSelection, bool closeTyping);114 void FrameWin::respondToChangedContents(const Selection Controller &endingSelection);115 virtual bool shouldChangeSelection(const Selection Controller& oldSelection, const SelectionController& newSelection, EAffinity affinity, bool stillSelecting) const;113 virtual void respondToChangedSelection(const Selection& oldSelection, bool closeTyping); 114 void FrameWin::respondToChangedContents(const Selection& endingSelection); 115 virtual bool shouldChangeSelection(const Selection& oldSelection, const Selection& newSelection, EAffinity affinity, bool stillSelecting) const; 116 116 virtual void partClearedInBegin(); 117 117 -
trunk/WebCore/platform/ResourceLoaderInternal.h
r16103 r16248 152 152 int m_formDataLength; 153 153 int m_bytesRemainingToWrite; 154 DeprecatedString m_postReferrer;154 String m_postReferrer; 155 155 #endif 156 156 #if PLATFORM(GDK) -
trunk/WebCore/platform/TextEncodingRegistry.cpp
r16245 r16248 39 39 #include "StreamingTextDecoderMac.h" 40 40 #endif 41 #if PLATFORM(WIN) 42 #include <ctype.h> 43 #endif 41 44 42 45 namespace WebCore { -
trunk/WebCore/platform/win/ResourceLoaderWin.cpp
r15730 r16248 122 122 123 123 // Need to actually send the request now. 124 DeprecatedString headers = "Content-Type: application/x-www-form-urlencoded\n";124 String headers = "Content-Type: application/x-www-form-urlencoded\n"; 125 125 headers += "Referer: "; 126 126 headers += job->d->m_postReferrer; 127 127 headers += "\n"; 128 DeprecatedString formData = job->postData().flattenToString();128 String formData = job->postData().flattenToString(); 129 129 INTERNET_BUFFERSA buffers; 130 130 memset(&buffers, 0, sizeof(buffers)); … … 291 291 // HttpSendRequest. 292 292 HINTERNET urlHandle; 293 DeprecatedString referrer = docLoader->frame()->referrer();293 String referrer = docLoader->frame()->referrer(); 294 294 if (method() == "POST") { 295 295 d->m_postReferrer = referrer; … … 303 303 if (fragmentIndex != -1) 304 304 urlStr = urlStr.left(fragmentIndex); 305 DeprecatedString headers;305 String headers; 306 306 if (!referrer.isEmpty()) 307 headers += DeprecatedString("Referer: ") + referrer + "\r\n";307 headers += String("Referer: ") + referrer + "\r\n"; 308 308 309 309 urlHandle = InternetOpenUrlA(internetHandle, urlStr.ascii(), headers.ascii(), headers.length(), -
trunk/WebCore/platform/win/TemporaryLinkStubs.cpp
r16190 r16248 172 172 void FrameWin::issuePasteCommand() { notImplemented(); } 173 173 void FrameWin::scheduleClose() { notImplemented(); } 174 void FrameWin::markMisspellings( WebCore::SelectionController const&) { notImplemented(); }174 void FrameWin::markMisspellings(const WebCore::Selection&) { notImplemented(); } 175 175 bool FrameWin::menubarVisible() { notImplemented(); return 0; } 176 176 bool FrameWin::personalbarVisible() { notImplemented(); return 0; } … … 229 229 bool FrameWin::lastEventIsMouseUp() const { return false; } 230 230 void FrameWin::addMessageToConsole(String const&,unsigned int,String const&) { } 231 bool FrameWin::shouldChangeSelection( SelectionController const&,SelectionController const&,WebCore::EAffinity,bool) const { return true; }232 void FrameWin::respondToChangedSelection( WebCore::SelectionController const&,bool) { }231 bool FrameWin::shouldChangeSelection(const WebCore::Selection&,const WebCore::Selection&,WebCore::EAffinity,bool) const { return true; } 232 void FrameWin::respondToChangedSelection(const WebCore::Selection&,bool) { } 233 233 static int frameNumber = 0; 234 234 Frame* FrameWin::createFrame(KURL const&,String const&,Element*,String const&) { return 0; } … … 237 237 String FrameWin::incomingReferrer() const { return String(); } 238 238 void FrameWin::markMisspellingsInAdjacentWords(WebCore::VisiblePosition const&) { } 239 void FrameWin::respondToChangedContents(const Selection Controller &endingSelection) { }239 void FrameWin::respondToChangedContents(const Selection&) { } 240 240 void FrameWin::handledOnloadEvents() { } 241 241 Plugin* FrameWin::createPlugin(Element*, const KURL&, const Vector<String>&, const Vector<String>&, const String&) { return 0; } … … 373 373 bool RenderThemeWin::paintMenuList(RenderObject *, const RenderObject::PaintInfo&, const IntRect&) { return false; } 374 374 void RenderThemeWin::adjustMenuListStyle(CSSStyleSelector*, RenderStyle*, Element*) const { } 375 376 CString::CString(const DeprecatedCString&) { }377 const char* CString::data() const { return 0; } -
trunk/WebKit/COM/WebView.cpp
r15754 r16248 128 128 bool handled = frame->keyPress(keyEvent); 129 129 if (!handled && !keyEvent.isKeyUp()) { 130 Node* start = frame->selection ().start().node();130 Node* start = frame->selectionController()->start().node(); 131 131 if (start && start->isContentEditable()) { 132 132 switch(keyEvent.WindowsKeyCode()) { … … 138 138 break; 139 139 case VK_LEFT: 140 frame->selection ().modify(SelectionController::MOVE, SelectionController::LEFT, CharacterGranularity);140 frame->selectionController()->modify(SelectionController::MOVE, SelectionController::LEFT, CharacterGranularity); 141 141 break; 142 142 case VK_RIGHT: 143 frame->selection ().modify(SelectionController::MOVE, SelectionController::RIGHT, CharacterGranularity);143 frame->selectionController()->modify(SelectionController::MOVE, SelectionController::RIGHT, CharacterGranularity); 144 144 break; 145 145 case VK_UP: 146 frame->selection ().modify(SelectionController::MOVE, SelectionController::BACKWARD, ParagraphGranularity);146 frame->selectionController()->modify(SelectionController::MOVE, SelectionController::BACKWARD, ParagraphGranularity); 147 147 break; 148 148 case VK_DOWN: 149 frame->selection ().modify(SelectionController::MOVE, SelectionController::FORWARD, ParagraphGranularity);149 frame->selectionController()->modify(SelectionController::MOVE, SelectionController::FORWARD, ParagraphGranularity); 150 150 break; 151 151 case VK_RETURN: -
trunk/WebKit/ChangeLog
r16246 r16248 1 2006-09-05 MorganL <morlmor@yahoocom> 2 3 Reviewed/landed by aroben. 4 5 Fixes bug 10743: Windows build is busted. 6 7 * COM/WebView.cpp: 8 (WebView::keyPress): 9 1 10 2006-09-05 Timothy Hatcher <timothy@apple.com> 2 11
Note: See TracChangeset
for help on using the changeset viewer.