|
1 2010-07-21 Brady Eidson <beidson@apple.com> |
|
2 |
|
3 Reviewed by Geoffrey Garen. |
|
4 |
|
5 Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry |
|
6 https://bugs.webkit.org/show_bug.cgi?id=42783 |
|
7 |
|
8 * WebView.cpp: |
|
9 (WebView::registerURLSchemeAsLocal): |
|
10 (WebView::registerURLSchemeAsSecure): |
|
11 |
|
12 2010-07-20 Steve Falkenburg <sfalken@apple.com> |
|
13 |
|
14 Reviewed by Adam Roben. |
|
15 |
|
16 WebKit on Windows should build optionally with an unversioned ICU DLL |
|
17 https://bugs.webkit.org/show_bug.cgi?id=42722 |
|
18 <rdar://problem/8211767> WebKit needs to link against unversioned ICU |
|
19 |
|
20 To get the proper value for U_DISABLE_RENAMING into all source files, we force |
|
21 the include of ICUVersion.h (our generated header) via the compiler options. |
|
22 |
|
23 * WebKit.vcproj/WebKit.vcproj: Add forced include of ICUVersion.h. |
|
24 |
|
25 2010-07-21 Adam Roben <aroben@apple.com> |
|
26 |
|
27 Update WebKit.sln for InjectedBundle's Debug_Internal configuration |
|
28 |
|
29 Fixes <http://webkit.org/b/42749> InjectedBundle's build |
|
30 configurations are screwy |
|
31 |
|
32 Reviewed by Darin Adler. |
|
33 |
|
34 * WebKit.vcproj/WebKit.sln: Build the Debug_Internal variant of |
|
35 InjectedBundle when we're using the Debug_Internal solution |
|
36 configuration. |
|
37 |
|
38 2010-07-21 Adam Roben <aroben@apple.com> |
|
39 |
|
40 Add MiniBrowser to WebKit.sln |
|
41 |
|
42 It is the last project to build. |
|
43 |
|
44 Fixes <http://webkit.org/b/42747> build-webkit should build |
|
45 MiniBrowser |
|
46 |
|
47 Reviewed by Darin Adler. |
|
48 |
|
49 * WebKit.vcproj/WebKit.sln: Added MiniBrowser, and made it depend on |
|
50 WebKitTestRunner. |
|
51 |
|
52 2010-07-20 Adam Roben <aroben@apple.com> |
|
53 |
|
54 Add WebKitTestRunner and friends to WebKit.sln |
|
55 |
|
56 We added these projects to WebKit2.sln in r63585, but removed them |
|
57 again in r63600 because WebKitTestRunner required getopt, which |
|
58 doesn't exist in WebKitAuxiliaryLibrary. r63700 and r63788 removed the |
|
59 use of getopt in WebKitTestRunner, so we can now add it to WebKit.sln |
|
60 (which has replaced WebKit2.sln). |
|
61 |
|
62 Fixes <http://webkit.org/b/42711> WebKit.sln should build |
|
63 WebKitTestRunner |
|
64 |
|
65 Reviewed by Steve Falkenburg. |
|
66 |
|
67 * WebKit.vcproj/WebKit.sln: Added the following projects to the end of |
|
68 the build order (in first-built to last-built order): |
|
69 InjectedBundleGenerated, InjectedBundle, WebKitTestRunner. Also |
|
70 removed an unnecessary dependency from testapi on WebKit2WebProcess. |
|
71 |
|
72 2010-07-19 Daniel Bates <dbates@rim.com> |
|
73 |
|
74 Reviewed by Adam Roben. |
|
75 |
|
76 [Win] Implement LayoutTestController::markerTextForListItem() |
|
77 https://bugs.webkit.org/show_bug.cgi?id=37930 |
|
78 |
|
79 Implements support for markerTextForListItem in the Windows port. |
|
80 |
|
81 * DOMCoreClasses.cpp: |
|
82 (DOMElement::markerTextForListItem): Added. |
|
83 * DOMCoreClasses.h: |
|
84 * Interfaces/DOMPrivate.idl: Added declaration for markerTextForListItem(). |
|
85 * Interfaces/IWebViewPrivate.idl: Added declaration for elementFromJS(). |
|
86 * Interfaces/WebKit.idl: Touch it to force a rebuild (and for good luck :-)). |
|
87 * WebView.cpp: |
|
88 (WebView::elementFromJS): Added. |
|
89 * WebView.h: |
|
90 |
|
91 2010-07-16 Zhe Su <suzhe@chromium.org> |
|
92 |
|
93 Reviewed by Darin Adler. |
|
94 |
|
95 REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms |
|
96 https://bugs.webkit.org/show_bug.cgi?id=42253 |
|
97 |
|
98 Dummy implementation of EditorClient::willSetInputMethodState. |
|
99 |
|
100 * WebCoreSupport/WebEditorClient.cpp: |
|
101 (WebEditorClient::willSetInputMethodState): |
|
102 * WebCoreSupport/WebEditorClient.h: |
|
103 |
|
104 2010-07-16 Mikhail Naganov <mnaganov@chromium.org> |
|
105 |
|
106 Reviewed by Pavel Feldman. |
|
107 |
|
108 Make JS memory stats available via 'Performance' object (Web Timing). |
|
109 This statistics is populated only if 'WebKitMemoryInfoEnabled' |
|
110 preference is set. |
|
111 |
|
112 'console.memory' is kept until Web Timing object becomes visible by |
|
113 default (currently it is hidden under compile-time flag). These stats |
|
114 are guarded with the same preference. |
|
115 |
|
116 https://bugs.webkit.org/show_bug.cgi?id=41617 |
|
117 |
|
118 * Interfaces/IWebPreferencesPrivate.idl: |
|
119 * WebPreferenceKeysPrivate.h: |
|
120 * WebPreferences.cpp: |
|
121 (WebPreferences::initializeDefaultSettings): |
|
122 (WebPreferences::memoryInfoEnabled): |
|
123 (WebPreferences::setMemoryInfoEnabled): |
|
124 * WebPreferences.h: |
|
125 * WebView.cpp: |
|
126 (WebView::notifyPreferencesChanged): |
|
127 |
|
128 2010-07-14 Brent Fulgham <bfulgham@webkit.org> |
|
129 |
|
130 Reviewed by Steve Falkenburg. |
|
131 |
|
132 Patch for https://bugs.webkit.org/show_bug.cgi?id=42299 |
|
133 Correct WinCairo build for new WebKit2 project structure. |
|
134 |
|
135 * WebKit.vcproj/WebKit.sln: |
|
136 |
|
137 2010-07-14 Sam Weinig <sam@webkit.org> |
|
138 |
|
139 Reviewed by Darin Adler. |
|
140 |
|
141 Patch for https://bugs.webkit.org/show_bug.cgi?id=42232 |
|
142 Make changing Cursors work in WebKit2. |
|
143 |
|
144 * WebCoreSupport/WebChromeClient.cpp: |
|
145 (WebChromeClient::setCursor): |
|
146 We now need to grab the native cursor out of the WebCore cursor. |
|
147 |
|
148 (WebChromeClient::setLastSetCursorToCurrentCursor): |
|
149 Sets the WebView's "last set cursor" to be the current cursor so that |
|
150 the cursor is set correctly for plugins. |
|
151 * WebCoreSupport/WebChromeClient.h: |
|
152 * WebView.cpp: |
|
153 (WebView::WebView): |
|
154 (WebView::WebViewWndProc): |
|
155 * WebView.h: |
|
156 (WebView::setLastCursor): |
|
157 Change the "last set cursor" to be stored as a member instead of a global. |
|
158 |
|
159 2010-07-13 Steve Falkenburg <sfalken@apple.com> |
|
160 |
|
161 Windows build fix. |
|
162 Make WebKit.sln build WebKit.dll as it used to in the past. |
|
163 (sln is updated to include necessary projects) |
|
164 |
|
165 * WebKit.vcproj/WebKit.sln: |
|
166 |
|
167 2010-07-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
168 |
|
169 Windows build fix |
|
170 |
|
171 * Interfaces/WebKit.idl: Touched to force a build |
|
172 |
|
173 2010-07-07 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
174 |
|
175 Reviewed by Darin Adler. |
|
176 |
|
177 Prevent assertion/duplicate loads for non-deferred subtitute-data loads |
|
178 |
|
179 https://bugs.webkit.org/show_bug.cgi?id=30879 |
|
180 |
|
181 MainResourceLoader uses the member m_initialRequest to store requests for future |
|
182 deferred loads. When doing the actual load in handleDataLoadNow(), we therefore |
|
183 have to clear this request so that subsequent entries into the loader will not |
|
184 start yet another load. |
|
185 |
|
186 This can happen as a result of a PageGroupLoadDeferrer going out of scope when |
|
187 returning from Chrome::runJavaScriptAlert(), which calls setDeferredLoading(false), |
|
188 but only in the case of using both substitute-data and non-deferred main resource |
|
189 load together. That's why two new DRT functions were added: |
|
190 |
|
191 * queueLoadHTMLString() |
|
192 * setDeferMainResourceLoad() |
|
193 |
|
194 The change adds DRT hooks for Mac, Win and Qt for these two functions. For Mac |
|
195 and Win the hook uses new SPI in WebDataSource. For Qt a new static member was |
|
196 added to the FrameLoaderClientQt and accessed though DumpRenderTreeSupportQt. |
|
197 |
|
198 * Interfaces/IWebDataSource.idl: |
|
199 * WebDataSource.cpp: |
|
200 (WebDataSource::setDeferMainResourceDataLoad): |
|
201 * WebDataSource.h: |
|
202 |
|
203 2010-07-12 Steve Falkenburg <sfalken@apple.com> |
|
204 |
|
205 Reviewed by Alice Liu. |
|
206 |
|
207 <rdar://problem/8113038> WebKit1 and WebKit2 should build as a single DLL |
|
208 https://bugs.webkit.org/show_bug.cgi?id=40921 |
|
209 |
|
210 Pre-WebKit2 WebKit now builds into a static library named WebKitLib.lib. |
|
211 WebKit.dll now links in WebCore.lib, WebKitLib.lib and WebKit2 code. |
|
212 |
|
213 This is a first step. We'll likely want to migrate the remainder of |
|
214 the non-deprecated WebKit code (strings, DLLMain, resources) into WebKit2. |
|
215 |
|
216 * WebKit.vcproj/WebKit.def: Removed. |
|
217 * WebKit.vcproj/WebKit.make: Don't fail if WebKit doesn't produce a DLL. |
|
218 * WebKit.vcproj/WebKit.vcproj: Build WebKit as a static lib. |
|
219 Renamed project name to WebKitLib to avoid confusion and naming conflicts. |
|
220 Generate intermediate pdb file for debuggability of static lib. |
|
221 Removed DLL-related options. |
|
222 * WebKit.vcproj/deleteButton.png: Removed. |
|
223 * WebKit.vcproj/deleteButtonPressed.png: Removed. |
|
224 * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Removed. |
|
225 * WebKit.vcproj/fsVideoAudioVolumeLow.png: Removed. |
|
226 * WebKit.vcproj/fsVideoExitFullscreen.png: Removed. |
|
227 * WebKit.vcproj/fsVideoPause.png: Removed. |
|
228 * WebKit.vcproj/fsVideoPlay.png: Removed. |
|
229 * WebKit.vcproj/missingImage.png: Removed. |
|
230 * WebKit.vcproj/nullplugin.png: Removed. |
|
231 * WebKit.vcproj/panEastCursor.png: Removed. |
|
232 * WebKit.vcproj/panIcon.png: Removed. |
|
233 * WebKit.vcproj/panNorthCursor.png: Removed. |
|
234 * WebKit.vcproj/panNorthEastCursor.png: Removed. |
|
235 * WebKit.vcproj/panNorthWestCursor.png: Removed. |
|
236 * WebKit.vcproj/panSouthCursor.png: Removed. |
|
237 * WebKit.vcproj/panSouthEastCursor.png: Removed. |
|
238 * WebKit.vcproj/panSouthWestCursor.png: Removed. |
|
239 * WebKit.vcproj/panWestCursor.png: Removed. |
|
240 * WebKit.vcproj/searchCancel.png: Removed. |
|
241 * WebKit.vcproj/searchCancelPressed.png: Removed. |
|
242 * WebKit.vcproj/searchMagnifier.png: Removed. |
|
243 * WebKit.vcproj/searchMagnifierResults.png: Removed. |
|
244 * WebKit.vcproj/textAreaResizeCorner.png: Removed. |
|
245 * WebKit.vcproj/verticalTextCursor.png: Removed. |
|
246 * WebKit.vcproj/zoomInCursor.png: Removed. |
|
247 * WebKit.vcproj/zoomOutCursor.png: Removed. |
|
248 |
|
249 2010-07-08 Aaron Boodman <aa@chromium.org> |
|
250 |
|
251 Reviewed by Timothy Hatcher. |
|
252 |
|
253 Add the ability for user scripts and user styles to affect just the top frame. |
|
254 |
|
255 https://bugs.webkit.org/show_bug.cgi?id=41529 |
|
256 |
|
257 * WebView.cpp: |
|
258 (WebView::addUserScriptToGroup): |
|
259 (WebView::addUserStyleSheetToGroup): |
|
260 |
|
261 2010-07-08 Adele Peterson <adele@apple.com> |
|
262 |
|
263 Reviewed by Jon Honeycutt, Adam Roben, and Darin Adler. |
|
264 |
|
265 Fix for https://bugs.webkit.org/show_bug.cgi?id=41721 |
|
266 <rdar://problem/8158561> Missing plug-in indicator should have a pressed state |
|
267 |
|
268 Implement shouldMissingPluginMessageBeButton. |
|
269 |
|
270 * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::shouldMissingPluginMessageBeButton): |
|
271 * WebCoreSupport/WebChromeClient.h: |
|
272 |
|
273 2010-07-07 Anders Carlsson <andersca@apple.com> |
|
274 |
|
275 Reviewed by Simon Fraser. |
|
276 |
|
277 Rename TestNetscapePlugin.subproj and move platform specific files to subdirectories |
|
278 https://bugs.webkit.org/show_bug.cgi?id=41781 |
|
279 |
|
280 * WebKit.vcproj/WebKit.sln: |
|
281 |
|
282 2010-07-07 Sam Weinig <sam@webkit.org> |
|
283 |
|
284 Reviewed by Anders Carlsson. |
|
285 |
|
286 Patch for https://bugs.webkit.org/show_bug.cgi?id=41772 |
|
287 Add basic piping for BackForwardControllerClient. |
|
288 |
|
289 * WebView.cpp: |
|
290 (WebView::initWithFrame): |
|
291 |
|
292 2010-07-07 Adam Roben <aroben@apple.com> |
|
293 |
|
294 Windows build fix |
|
295 |
|
296 * Interfaces/WebKit.idl: Touched to force a build. |
|
297 |
|
298 2010-07-06 Steve Falkenburg <sfalken@apple.com> |
|
299 |
|
300 Reviewed by Simon Fraser. |
|
301 |
|
302 Expose URL matching from WebUserContentURLPattern |
|
303 https://bugs.webkit.org/show_bug.cgi?id=41726 |
|
304 <rdar://problem/7910144> |
|
305 |
|
306 We previously had a way to construct WebUserContentURLPattern |
|
307 instances via WebKit, but no way for callers to perform matching. |
|
308 This patch adds the matchesURL functionality to allow for this. |
|
309 |
|
310 * Interfaces/IWebUserContentURLPattern.idl: Added matchesURL. |
|
311 * Interfaces/IWebView.idl: Touch to force a build. |
|
312 * WebUserContentURLPattern.cpp: |
|
313 (WebUserContentURLPattern::matchesURL): Added. Calls through to WebCore::UserContentURLPattern::matches. |
|
314 * WebUserContentURLPattern.h: Added matchesURL. |
|
315 |
|
316 2010-07-03 Jon Honeycutt <jhoneycutt@apple.com> |
|
317 |
|
318 The missing plug-in indicator should be clickable |
|
319 |
|
320 https://bugs.webkit.org/show_bug.cgi?id=41550 |
|
321 <rdar://problem/8132162> |
|
322 |
|
323 From an original patch by Kevin Decker. |
|
324 |
|
325 Reviewed by Darin Adler. |
|
326 |
|
327 * Interfaces/IWebUIDelegatePrivate.idl: |
|
328 Added a new delegate interface, and declare a function |
|
329 didPressMissingPluginButton(). |
|
330 |
|
331 * Interfaces/WebKit.idl: |
|
332 Touch this file to force interfaces to be rebuilt. |
|
333 |
|
334 * WebCoreSupport/WebChromeClient.cpp: |
|
335 (WebChromeClient::missingPluginButtonClicked): |
|
336 Get the UI delegate, and query it for IWebUIDelegatePrivate3. Call its |
|
337 didPressMissingPluginButton() function. |
|
338 |
|
339 * WebCoreSupport/WebChromeClient.h: |
|
340 Declare an override of missingPluginButtonClicked(). |
|
341 |
|
342 2010-07-03 Erik Arvidsson <arv@chromium.org> |
|
343 |
|
344 Reviewed by Ojan Vafai. |
|
345 |
|
346 Fix issue where a contextmenu event was reporting the wrong target |
|
347 if the context menu was shown due to pressing the context menu key |
|
348 (or Shift+F10). |
|
349 |
|
350 * WebView.cpp: |
|
351 (WebView::handleContextMenuEvent): |
|
352 |
|
353 2010-07-01 Steve Falkenburg <sfalken@apple.com> |
|
354 |
|
355 Reviewed by Adele Peterson. |
|
356 |
|
357 Provide a WebView preference to disable DNS prefetching on Windows |
|
358 https://bugs.webkit.org/show_bug.cgi?id=41504 |
|
359 <rdar://problem/8151939> |
|
360 |
|
361 * Interfaces/IWebPreferencesPrivate.idl: Added isDNSPrefetchingEnabled, setDNSPrefetchingEnabled. |
|
362 * Interfaces/WebKit.idl: Touched to force IDL build. |
|
363 * WebPreferenceKeysPrivate.h: Added WebKitDNSPrefetchingEnabledPreferenceKey. |
|
364 * WebPreferences.cpp: |
|
365 (WebPreferences::initializeDefaultSettings): Default prefetch to true. |
|
366 (WebPreferences::setDNSPrefetchingEnabled): Added. |
|
367 (WebPreferences::isDNSPrefetchingEnabled): Added. |
|
368 * WebPreferences.h: Added isDNSPrefetchingEnabled, setDNSPrefetchingEnabled. |
|
369 * WebView.cpp: |
|
370 (WebView::notifyPreferencesChanged): Propagate prefetch pref into settings. |
|
371 |
|
372 2010-06-21 Nate Chapin <japhet@chromium.org> |
|
373 |
|
374 Unreviewed, Windows build fix. |
|
375 |
|
376 Update WebFrame to use FrameLoaderStateMachine in |
|
377 firstLayoutDone(). |
|
378 |
|
379 * WebFrame.cpp: |
|
380 (WebFrame::firstLayoutDone): |
|
381 |
|
382 2010-06-15 Dumitru Daniliuc <dumi@chromium.org> |
|
383 |
|
384 Reviewed by Adam Barth. |
|
385 |
|
386 Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase. |
|
387 https://bugs.webkit.org/show_bug.cgi?id=39041 |
|
388 |
|
389 * WebView.cpp: |
|
390 (WebView::notifyPreferencesChanged): |
|
391 |
|
392 2010-06-16 Adam Roben <aroben@apple.com> |
|
393 |
|
394 Add a "forPrinting" boolean parameter to |
|
395 IWebFramePrivate::renderTreeAsExternalRepresentation |
|
396 |
|
397 Fixes <http://webkit.org/b/40727> Respect |
|
398 LayoutTestController::isPrinting on Windows. |
|
399 |
|
400 Reviewed by Dan Bernstein. |
|
401 |
|
402 * Interfaces/IWebFramePrivate.idl: Renamed the current |
|
403 renderTreeAsExternalRepresentation to unused1, and added a new version |
|
404 that takes a boolean "forPrinting" parameter. |
|
405 |
|
406 * Interfaces/WebKit.idl: Touched to force a build. |
|
407 |
|
408 * WebFrame.cpp: |
|
409 (WebFrame::renderTreeAsExternalRepresentation): Added a boolean |
|
410 "forPrinting" parameter, and used it to tell externalRepresentation |
|
411 what kind of behavior to use. |
|
412 |
|
413 * WebFrame.h: Renamed the old renderTreeAsExternalRepresentation and |
|
414 added the new one. |
|
415 |
|
416 2010-06-15 Darin Adler <darin@apple.com> |
|
417 |
|
418 Reviewed by Adam Barth. |
|
419 |
|
420 Move functions out of Frame class that were marked "move to Chrome" |
|
421 https://bugs.webkit.org/show_bug.cgi?id=39636 |
|
422 |
|
423 * WebView.cpp: |
|
424 (WebView::shouldClose): Call shouldClose on FrameLoader instead of |
|
425 going through Frame. |
|
426 |
|
427 2010-06-14 Adam Roben <aroben@apple.com> |
|
428 |
|
429 Add WebKitLauncherWin to WebKit.sln |
|
430 |
|
431 Fixes <http://webkit.org/b/40583>. |
|
432 |
|
433 Reviewed by Darin Adler. |
|
434 |
|
435 * WebKit.vcproj/WebKit.sln: Added WebKitLauncherWin.vcproj. It depends |
|
436 on WebKitAPITest, so is the last project to build. (Also removed |
|
437 QTMovieWin's direct dependency on JavaScriptCore, since it already has |
|
438 an indirect dependency on it.) |
|
439 |
|
440 2010-06-14 Chang Shu <chang.shu@nokia.com> |
|
441 |
|
442 Reviewed by Kenneth Rohde Christiansen. |
|
443 |
|
444 [win] Make windows compile after API changes. |
|
445 |
|
446 https://bugs.webkit.org/show_bug.cgi?id=40434 |
|
447 |
|
448 * WebKitGraphics.cpp: |
|
449 (WebDrawText): |
|
450 |
|
451 2010-06-14 Ilya Tikhonovsky <loislo@chromium.org> |
|
452 |
|
453 Reviewed by Pavel Feldman. |
|
454 |
|
455 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc |
|
456 data from inspected page to WebInspector as JSON string via http. The native |
|
457 serialization to JSON string is supported by InspectorValue's classes. This patch |
|
458 has the implementation of sendMessageToFrontend function. WebKit version of it still |
|
459 uses ScriptFunctionCall and will be switched to another transport a little bit later. |
|
460 https://bugs.webkit.org/show_bug.cgi?id=40134 |
|
461 |
|
462 * WebCoreSupport/WebInspectorClient.cpp: |
|
463 (WebInspectorClient::WebInspectorClient): |
|
464 (WebInspectorClient::~WebInspectorClient): |
|
465 (WebInspectorClient::openInspectorFrontend): |
|
466 * WebCoreSupport/WebInspectorClient.h: |
|
467 |
|
468 2010-06-10 Eric Seidel <eric@webkit.org> |
|
469 |
|
470 Reviewed by Adam Barth. |
|
471 |
|
472 Reduce FrameView.h includes to speed up build times |
|
473 https://bugs.webkit.org/show_bug.cgi?id=40408 |
|
474 |
|
475 Another fix for Windows. |
|
476 |
|
477 * WebView.cpp: |
|
478 |
|
479 2010-06-09 Sheriff Bot <webkit.review.bot@gmail.com> |
|
480 |
|
481 Unreviewed, rolling out r60889. |
|
482 http://trac.webkit.org/changeset/60889 |
|
483 https://bugs.webkit.org/show_bug.cgi?id=40365 |
|
484 |
|
485 gtk bot has some kind of memory corruption (Requested by |
|
486 loislo on #webkit). |
|
487 |
|
488 * WebCoreSupport/WebInspectorClient.cpp: |
|
489 (WebInspectorClient::WebInspectorClient): |
|
490 (WebInspectorClient::~WebInspectorClient): |
|
491 (WebInspectorClient::openInspectorFrontend): |
|
492 * WebCoreSupport/WebInspectorClient.h: |
|
493 (WebInspectorClient::frontendClosing): |
|
494 |
|
495 2010-06-07 Ilya Tikhonovsky <loislo@chromium.org> |
|
496 |
|
497 Reviewed by Pavel Feldman. |
|
498 |
|
499 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc |
|
500 data from inspected page to WebInspector as JSON string via http. The native |
|
501 serialization to JSON string is supported by InspectorValue's classes. This patch |
|
502 has the implementation of sendMessageToFrontend function. WebKit version of it still |
|
503 uses ScriptFunctionCall and will be switched to another transport a little bit later. |
|
504 https://bugs.webkit.org/show_bug.cgi?id=40134 |
|
505 |
|
506 * WebCoreSupport/WebInspectorClient.cpp: |
|
507 (WebInspectorClient::WebInspectorClient): |
|
508 (WebInspectorClient::~WebInspectorClient): |
|
509 (WebInspectorClient::openInspectorFrontend): |
|
510 * WebCoreSupport/WebInspectorClient.h: |
|
511 |
|
512 2010-06-08 Antonio Gomes <tonikitoo@webkit.org> |
|
513 |
|
514 Reviewed by Ojan Vafai and Darin Adler. |
|
515 |
|
516 Refactor platform dependent editing behavior code out of Settings |
|
517 https://bugs.webkit.org/show_bug.cgi?id=39854 |
|
518 |
|
519 EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to |
|
520 EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly. |
|
521 |
|
522 * WebView.cpp: |
|
523 (WebView::notifyPreferencesChanged): |
|
524 |
|
525 2010-06-04 Alice Liu <alice.liu@apple.com> |
|
526 |
|
527 Reviewed by Jon Honeycutt. |
|
528 |
|
529 WebFrame::paintDocumentRectToContextAtPoint doesn't paint scrollbars |
|
530 https://bugs.webkit.org/show_bug.cgi?id=40034 |
|
531 <rdar://problem/7799848> |
|
532 |
|
533 * WebFrame.cpp: |
|
534 (WebFrame::paintScrollViewRectToContextAtPoint): Renamed from paintDocumentRectToContextAtPoint. |
|
535 Call paint() instead of paintContents(). Also move the dirtyRect to counteract the moving that happens in paint(). |
|
536 |
|
537 Just renaming changes: |
|
538 * Interfaces/IWebFramePrivate.idl: |
|
539 * Interfaces/IWebViewPrivate.idl: |
|
540 * WebFrame.h: |
|
541 * WebView.cpp: |
|
542 (WebView::paintScrollViewRectToContextAtPoint): |
|
543 * WebView.h: |
|
544 |
|
545 * Interfaces/WebKit.idl: Touched for rebuild. |
|
546 |
|
547 2010-05-30 Daniel Bates <dbates@rim.com> |
|
548 |
|
549 Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418. |
|
550 |
|
551 * WebFrame.cpp: |
|
552 (WebFrame::elementWithName): |
|
553 (WebFrame::controlsInForm): |
|
554 |
|
555 2010-05-22 Jer Noble <jer.noble@apple.com> |
|
556 |
|
557 Reviewed by Adam Roben. |
|
558 |
|
559 Full screen doesn't work for video elements |
|
560 https://bugs.webkit.org/show_bug.cgi?id=39557 |
|
561 rdar://problem/8011813 |
|
562 |
|
563 Modified FullscreenVideoController to work with MediaPlayerPrivateFullscreenWindow. The FullscreenVideoController |
|
564 is now MediaPlayerPrivate agnostic.. |
|
565 |
|
566 * FullscreenVideoController.cpp: |
|
567 (FullscreenVideoController::LayoutClient::LayoutClient): New helper class which implements WKCACFLayerLayoutClient. |
|
568 (FullscreenVideoController::LayoutClient::layoutSublayersOfLayer): |
|
569 (FullscreenVideoController::FullscreenVideoController): |
|
570 (FullscreenVideoController::~FullscreenVideoController): |
|
571 (FullscreenVideoController::enterFullscreen): |
|
572 (FullscreenVideoController::exitFullscreen): |
|
573 (FullscreenVideoController::fullscreenClientWndProc): Handle WM_KEYDOWN. |
|
574 (FullscreenVideoController::createHUDWindow): |
|
575 (FullscreenVideoController::hudWndProc): Handle WM_KEYDOWN. |
|
576 (FullscreenVideoController::onChar): |
|
577 (FullscreenVideoController::onKeyDown): New function: handles the VK_ESCAPE case more reliably than WM_CHAR. |
|
578 * FullscreenVideoController.h: |
|
579 * WebView.h: |
|
580 (WebView::viewWindow): Added a simple viewWindow() accessor. |
|
581 |
|
582 2010-05-25 Brady Eidson <beidson@apple.com> |
|
583 |
|
584 Reviewed by Darin Adler. |
|
585 |
|
586 Database origins aren't populated at launch (missing db in prefs sheet, possible other symptoms) |
|
587 <rdar://problem/8013233> and https://bugs.webkit.org/show_bug.cgi?id=39486 |
|
588 |
|
589 * WebDatabaseManager.cpp: |
|
590 (WebKitInitializeWebDatabasesIfNecessary): Call initializeTracker() instead of trying to set the path on |
|
591 an already created tracker that already has its origins populated. |
|
592 * WebDatabaseManager.h: |
|
593 |
|
594 * WebView.cpp: |
|
595 (WebView::initWithFrame): Call a renamed method instead. |
|
596 |
|
597 2010-05-25 Ada Chan <adachan@apple.com> |
|
598 |
|
599 Reviewed by Steve Falkenburg. |
|
600 |
|
601 https://bugs.webkit.org/show_bug.cgi?id=39651 |
|
602 |
|
603 Make m_closeWindowTimer a SuspendableTimer, so it is properly suspended |
|
604 when page loading is deferred. |
|
605 |
|
606 * WebView.cpp: |
|
607 (WebView::WebView): m_closeWindowTimer is now a pointer to a SuspendableTimer. |
|
608 (WindowCloseTimer::create): |
|
609 (WindowCloseTimer::WindowCloseTimer): |
|
610 (WindowCloseTimer::contextDestroyed): Make sure we delete the WindowCloseTimer in the end. |
|
611 (WindowCloseTimer::fired): |
|
612 (WebView::closeWindowSoon): |
|
613 (WebView::closeWindowTimerFired): |
|
614 (WebView::notifyPreferencesChanged): Can just check for the existence m_closeWindowTimer, since |
|
615 we only create it when we need to start the timer. |
|
616 * WebView.h: |
|
617 |
|
618 2010-05-24 Darin Adler <darin@apple.com> |
|
619 |
|
620 Reviewed by Eric Seidel. |
|
621 |
|
622 Move view-related functions from Frame to FrameView |
|
623 https://bugs.webkit.org/show_bug.cgi?id=39366 |
|
624 |
|
625 * WebFrame.cpp: |
|
626 (WebFrame::setTextSizeMultiplier): Call function on FrameView. |
|
627 * WebView.cpp: |
|
628 (WebView::setZoomMultiplier): Ditto. |
|
629 |
|
630 2010-05-24 Anders Carlsson <andersca@apple.com> |
|
631 |
|
632 Yet another Windows build fix. |
|
633 |
|
634 * WebView.cpp: |
|
635 (WebView::canShowMIMEType): |
|
636 Use the right capitalizatinon of 'MIME' (which also happens to be incorrect according to our guidelines). |
|
637 |
|
638 2010-05-24 Anders Carlsson <andersca@apple.com> |
|
639 |
|
640 Another Windows build fix. |
|
641 |
|
642 * WebView.cpp: |
|
643 Don't include PlugInInfoStore.h, instead include PluginData.h |
|
644 |
|
645 2010-05-24 Anders Carlsson <andersca@apple.com> |
|
646 |
|
647 Fix Windows build. |
|
648 |
|
649 * WebView.cpp: |
|
650 (WebView::canShowMIMEType): |
|
651 |
|
652 2010-05-21 Steve Block <steveblock@google.com> |
|
653 |
|
654 Reviewed by Jeremy Orlow. |
|
655 |
|
656 Add DeviceOrientation and DeviceOrientationClient |
|
657 https://bugs.webkit.org/show_bug.cgi?id=39479 |
|
658 |
|
659 * WebView.cpp: |
|
660 (WebView::initWithFrame): |
|
661 |
|
662 2010-05-20 Simon Fraser <simon.fraser@apple.com> |
|
663 |
|
664 Build fix, no review. |
|
665 |
|
666 Fix the non-accelerated-compositing Windows build with some |
|
667 #if USE(ACCELERATED_COMPOSITING) loving. |
|
668 |
|
669 * WebView.cpp: |
|
670 * WebView.h: |
|
671 |
|
672 2010-05-20 Simon Fraser <simon.fraser@apple.com> |
|
673 |
|
674 Reviewed by Adam Roben. |
|
675 |
|
676 Avoid flushing CA layers when a layout is pending |
|
677 https://bugs.webkit.org/show_bug.cgi?id=39463 |
|
678 |
|
679 <rdar://problem/7999463> |
|
680 |
|
681 Avoid rendering the compositing layers to the screen if there's a layout pending, |
|
682 since the layer tree not in a state that should be presented to the user. |
|
683 |
|
684 This fixes flashes in some types of content that dynamically add and remove layers. |
|
685 |
|
686 Have the WebView implement WKCACFLayerRendererClient so that the |
|
687 WKCACFLayerRenderer can ask whether it's a good time to render. If the FrameView |
|
688 has a layout pending, say no. |
|
689 |
|
690 * WebView.h: |
|
691 * WebView.cpp: |
|
692 (WebView::setAcceleratedCompositing): |
|
693 (WebView::shouldRender): |
|
694 |
|
695 2010-05-18 Brent Fulgham <bfulgham@webkit.org> |
|
696 |
|
697 Reviewed by Adam Roben. |
|
698 |
|
699 [WinCairo] Correct scaling for print preview |
|
700 https://bugs.webkit.org/show_bug.cgi?id=39329 |
|
701 |
|
702 Cairo does not properly deal with Windows HDCs that have been |
|
703 scaled using MM_ANISOTROPIC mapping mode, and a WindowExt and |
|
704 ViewportExt setting. |
|
705 (see http://bugs.freedesktop.org/show_bug.cgi?id=28161) |
|
706 |
|
707 Instead, reset the HDC's WorldTransform to be unscaled, then |
|
708 scale the cairo context to the desired scaling, and perform |
|
709 the drawing operation. |
|
710 |
|
711 * WebFrame.cpp: |
|
712 (WebFrame::drawHeader): Use pre-positioned context to simplify |
|
713 this method. |
|
714 (WebFrame::drawFooter): Use pre-positioned context to simplify |
|
715 this method. |
|
716 (WebFrame::spoolPage): Revise scaling logic to turn off HDC |
|
717 scaling, and scale using only Cairo. Revert scaling at end |
|
718 so that user-defined GDI-based routines (e.g., header/footer) |
|
719 will draw in the right position. |
|
720 (WebFrame::spoolPages): Identify print preview case, and |
|
721 retrieve scaling factors from preview context. Set the |
|
722 Cairo context to use these factors during the spoolPage |
|
723 operation. |
|
724 |
|
725 2010-05-20 Martin Robinson <mrobinson@igalia.com> |
|
726 |
|
727 Unreviewed. |
|
728 |
|
729 Touch WebKit.idl to ensure that interfaces rebuild. |
|
730 |
|
731 * Interfaces/WebKit.idl: Touched. |
|
732 |
|
733 2010-05-20 Martin Robinson <mrobinson@igalia.com> |
|
734 |
|
735 Reviewed by Adam Roben. |
|
736 |
|
737 Fix the Windows build and move new IDL declarations to the bottom of the file. |
|
738 |
|
739 * Interfaces/IWebPreferences.idl: Move new API to the bottom of the IDL file to prevent vtable mismatch. |
|
740 * WebPreferences.cpp: |
|
741 (WebPreferences::setEditingBehavior): Change the type of the parameter to setEditingBehavior to the proper type. |
|
742 |
|
743 2010-05-20 Martin Robinson <mrobinson@igalia.com> |
|
744 |
|
745 Unreviewed. |
|
746 |
|
747 Fix the Windows build. |
|
748 |
|
749 * WebView.cpp: |
|
750 (WebView::notifyPreferencesChanged): Change behavior to 'editingBehavior'. |
|
751 |
|
752 2010-05-20 Martin Robinson <mrobinson@webkit.org> |
|
753 |
|
754 Reviewed by Ojan Vafai. |
|
755 |
|
756 Expose the editing behavior setting in DRT to test all editing code paths |
|
757 https://bugs.webkit.org/show_bug.cgi?id=38603 |
|
758 |
|
759 Expose the EditingBehavior setting in the Windows API. |
|
760 |
|
761 * Interfaces/IWebPreferences.idl: Add the API point for setting the editing behavior. |
|
762 * WebPreferenceKeysPrivate.h: Add a key for the editing behavior setting. |
|
763 * WebPreferences.cpp: |
|
764 (WebPreferences::editingBehavior): Added. |
|
765 (WebPreferences::setEditingBehavior): Added. |
|
766 * WebPreferences.h: Add method declarations. |
|
767 * WebView.cpp: |
|
768 (WebView::notifyPreferencesChanged): Update the WebCore setting based on the WebPreferences setting. |
|
769 |
|
770 2010-05-20 Chris Jerdonek <cjerdonek@webkit.org> |
|
771 |
|
772 Reviewed by Eric Seidel. |
|
773 |
|
774 Modified FrameLoader::urlSelected() to accept a KURL instead of a |
|
775 ResourceRequest. |
|
776 |
|
777 https://bugs.webkit.org/show_bug.cgi?id=39320 |
|
778 |
|
779 Since ResourceRequest has non-explicit single-parameter constructors for |
|
780 String and KURL, urlSelected() previously accepted any of String, KURL, |
|
781 and ResourceRequest. This revision changes urlSelected() to accept only |
|
782 a KURL to make the API tighter and easier to refactor. |
|
783 |
|
784 * WebCoreSupport/WebContextMenuClient.cpp: |
|
785 (WebContextMenuClient::searchWithGoogle): |
|
786 - Updated the call to urlSelected(). |
|
787 |
|
788 2010-05-13 Brian Weinstein <bweinstein@apple.com> |
|
789 |
|
790 Reviewed by Tim Hatcher. |
|
791 |
|
792 <rdar://problem/7982652> |
|
793 |
|
794 Allow reporting exceptions that occur when using JavaScriptCore APIs to the Web Inspector. |
|
795 |
|
796 * Interfaces/IWebViewPrivate.idl: Add a reportException function off of IWebViewPrivate. |
|
797 * Interfaces/WebKit.idl: Touch WebKit.idl to make sure Interfaces rebuild. |
|
798 * WebView.cpp: |
|
799 (WebView::reportException): Make sure the function was called with a context from a WebView, and call |
|
800 WebCore::reportException. |
|
801 * WebView.h: |
|
802 |
|
803 2010-05-12 Jer Noble <jer.noble@apple.com> |
|
804 |
|
805 Reviewed by Darin Adler. |
|
806 |
|
807 Bug 38689: #34005 will break fullscreen video playback |
|
808 https://bugs.webkit.org/show_bug.cgi?id=38689 |
|
809 |
|
810 Use the new definition of PlatformMedia to check the actual type |
|
811 returned by MediaPlayer. |
|
812 |
|
813 * FullscreenVideoController.cpp: |
|
814 (FullscreenVideoController::movie): |
|
815 |
|
816 2010-05-11 Jer Noble <jer.noble@apple.com> |
|
817 |
|
818 No Review. |
|
819 |
|
820 Fix build error: The QTMovieWin project is dependent on the JavaScriptCore project. |
|
821 |
|
822 * WebKit.vcproj/WebKit.sln: |
|
823 |
|
824 2010-05-11 Alice Liu <alice.liu@apple.com> |
|
825 |
|
826 Rubber-stamped by Gavin Barraclough. |
|
827 |
|
828 Fix build error when enabling debugging block in WebKit win painting code |
|
829 |
|
830 * WebView.cpp: |
|
831 (WebView::paintIntoBackingStore): |
|
832 |
|
833 2010-05-11 Alice Liu <alice.liu@apple.com> |
|
834 |
|
835 Reviewed by Steve Falkenburg. |
|
836 |
|
837 https://bugs.webkit.org/show_bug.cgi?id=38937 |
|
838 W7 window preview paints content at the wrong location |
|
839 |
|
840 * WebFrame.cpp: |
|
841 (WebFrame::paintDocumentRectToContext): Revert r58895 |
|
842 (WebFrame::paintDocumentRectToContextAtPoint): Added |
|
843 |
|
844 * Interfaces/IWebFramePrivate.idl: Added paintDocumentRectToContextAtPoint |
|
845 * Interfaces/IWebViewPrivate.idl: ditto |
|
846 * Interfaces/WebKit.idl: touch to rebuild |
|
847 * WebFrame.h: ditto |
|
848 * WebView.cpp: ditto |
|
849 (WebView::paintDocumentRectToContextAtPoint): ditto |
|
850 * WebView.h: ditto |
|
851 |
|
852 2010-05-07 Jer Noble <jer.noble@apple.com> |
|
853 |
|
854 Reviewed by Adele Peterson. |
|
855 |
|
856 Safari pegs CPU and drops tons of frames using HTML5 Vimeo player |
|
857 https://bugs.webkit.org/show_bug.cgi?id=34005 |
|
858 |
|
859 QTMovieWin is now QTMovieGWorld. |
|
860 * FullscreenVideoController.cpp: |
|
861 (FullscreenVideoController::movie): |
|
862 * FullscreenVideoController.h: |
|
863 |
|
864 2010-05-06 Adam Roben <aroben@apple.com> |
|
865 |
|
866 Bail out of WebView::paint when there's nothing to paint |
|
867 |
|
868 Fixes <http://webkit.org/b/38670> <rdar://problem/7947105> REGRESSION |
|
869 (r58067): Crash in WebView::paint when Web Inspector is docked and |
|
870 window is resized so small that WebView disappears |
|
871 |
|
872 When the WebView is 0-sized, ensureBackingStore() bails out without |
|
873 creating a bitmap, leaving m_backingStoreBitmap null. Before r58067, |
|
874 m_backingStoreBitmap was an HBITMAP, so we were happily passing along |
|
875 a null HBITMAP to various Windows APIs. These calls would fail but not |
|
876 crash. r58067 changed m_backingStoreBitmap to a RefCountedHBITMAP, and |
|
877 dereferencing a null RefCountedHBITMAP* of course crashes. |
|
878 |
|
879 Reviewed by Steve Falkenburg. |
|
880 |
|
881 * WebView.cpp: |
|
882 (WebView::paint): Bail if the rect to paint is empty. |
|
883 |
|
884 2010-05-06 Steve Falkenburg <sfalken@apple.com> |
|
885 |
|
886 Reviewed by Adam Roben. |
|
887 |
|
888 WebFrame::paintDocumentRectToContext paints content at the wrong location |
|
889 https://bugs.webkit.org/show_bug.cgi?id=38651 |
|
890 |
|
891 * WebFrame.cpp: |
|
892 (WebFrame::paintDocumentRectToContext): |
|
893 |
|
894 2010-05-05 Stuart Morgan <stuartmorgan@chromium.org> |
|
895 |
|
896 Reviewed by Darin Fisher. |
|
897 |
|
898 Update setFocus for the new boolean argument; no behavioral change. |
|
899 |
|
900 https://bugs.webkit.org/show_bug.cgi?id=37961 |
|
901 |
|
902 * WebCoreSupport/EmbeddedWidget.cpp: |
|
903 (EmbeddedWidget::setFocus): |
|
904 * WebCoreSupport/EmbeddedWidget.h: |
|
905 |
|
906 2010-05-03 Abhishek Arya <inferno@chromium.org> |
|
907 |
|
908 Reviewed by Adam Barth. |
|
909 |
|
910 Add support for controlling clipboard access from javascript. |
|
911 Clipboard access from javascript is disabled by default. |
|
912 https://bugs.webkit.org/show_bug.cgi?id=27751 |
|
913 |
|
914 * Interfaces/IWebPreferencesPrivate.idl: |
|
915 * WebPreferenceKeysPrivate.h: |
|
916 * WebPreferences.cpp: |
|
917 (WebPreferences::initializeDefaultSettings): |
|
918 (WebPreferences::javaScriptCanAccessClipboard): |
|
919 (WebPreferences::setJavaScriptCanAccessClipboard): |
|
920 * WebPreferences.h: |
|
921 * WebView.cpp: |
|
922 (WebView::notifyPreferencesChanged): |
|
923 |
|
924 2010-05-03 Jens Alfke <snej@chromium.org> |
|
925 |
|
926 Reviewed by Darin Fisher. |
|
927 |
|
928 [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient |
|
929 https://bugs.webkit.org/show_bug.cgi?id=38397 |
|
930 |
|
931 No tests (functionality is exposed only through native WebKit API.) |
|
932 |
|
933 * WebFrame.h: |
|
934 |
|
935 2010-04-30 Jon Honeycutt <jhoneycutt@apple.com> |
|
936 |
|
937 Caret may fail to blink if a focus handler brings up a modal dialog |
|
938 https://bugs.webkit.org/show_bug.cgi?id=38372 |
|
939 |
|
940 Reviewed by Darin Adler. |
|
941 |
|
942 * WebView.cpp: |
|
943 (WebView::handleMouseEvent): |
|
944 If the message is WM_CANCELMODE, which indicates that we our capturing |
|
945 of mouse events has been cancelled, tell the EventHandler. |
|
946 It's possible to re-enter this function if handling a mouse event allows |
|
947 the message loop to run; moved up the call to setMouseActivated(), so |
|
948 that if we do re-enter this function, the later mouse event will not be |
|
949 considered as activating the window. |
|
950 (WebView::WebViewWndProc): |
|
951 Handle WM_CANCELMODE by calling handleMouseEvent(). |
|
952 |
|
953 2010-04-29 Anders Carlsson <andersca@apple.com> |
|
954 |
|
955 Reviewed by Dan Bernstein. |
|
956 |
|
957 First part of |
|
958 https://bugs.webkit.org/show_bug.cgi?id=20784 |
|
959 move npapi.h to C99 integer types. |
|
960 |
|
961 * WebKit.vcproj/WebKit.vcproj: |
|
962 |
|
963 2010-04-28 Beth Dakin <bdakin@apple.com> |
|
964 |
|
965 Reviewed by Darin Adler. |
|
966 |
|
967 Fix for <rdar://problem/7474349> |
|
968 |
|
969 Add a synchronous display mechanism for WKCACFLayerRenderer. |
|
970 |
|
971 * Interfaces/IWebViewPrivate.idl: |
|
972 * Interfaces/WebKit.idl: |
|
973 * WebView.cpp: |
|
974 (WebView::WebView): |
|
975 (WebView::updateRootLayerContents): |
|
976 (WebView::nextDisplayIsSynchronous): |
|
977 * WebView.h: |
|
978 |
|
979 2010-04-28 Steve Falkenburg <sfalken@apple.com> |
|
980 |
|
981 Reviewed by Maciej Stachowiak. |
|
982 |
|
983 WebView drawing code may access null backing store dirty region |
|
984 https://bugs.webkit.org/show_bug.cgi?id=38245 |
|
985 <rdar://problem/7916101> REGRESSION (r58067): All loaded pages fail to display after running iBench HTML test (intermittent) |
|
986 |
|
987 * WebView.cpp: |
|
988 (WebView::updateBackingStore): Add null check for m_backingStoreDirtyRegion. |
|
989 |
|
990 2010-04-27 Jon Honeycutt <jhoneycutt@apple.com> |
|
991 |
|
992 <rdar://problem/7911140> Hitting the "delete" key goes back twice |
|
993 |
|
994 Reviewed by Maciej Stachowiak. |
|
995 |
|
996 * WebView.cpp: |
|
997 (WebView::keyDown): |
|
998 Return true if we navigated back or forward from the key event to |
|
999 prevent the event from being propagated further. |
|
1000 |
|
1001 2010-04-25 Sam Weinig <sam@webkit.org> |
|
1002 |
|
1003 Reviewed by Maciej Stachowiak. |
|
1004 |
|
1005 Fix for https://bugs.webkit.org/show_bug.cgi?id=38097 |
|
1006 Disentangle initializing the main thread from initializing threading |
|
1007 |
|
1008 * WebKitClassFactory.cpp: |
|
1009 (WebKitClassFactory::WebKitClassFactory): Add call to initializeMainThread. |
|
1010 * WebView.cpp: |
|
1011 (WebView::WebView): Ditto. |
|
1012 |
|
1013 2010-04-25 Yury Semikhatsky <yurys@chromium.org> |
|
1014 |
|
1015 Reviewed by Pavel Feldman. |
|
1016 |
|
1017 Web Inspector: inspector client shouldn't check if it can be opened |
|
1018 docked if it is already in that state. |
|
1019 |
|
1020 https://bugs.webkit.org/show_bug.cgi?id=37946 |
|
1021 |
|
1022 * WebCoreSupport/WebInspectorClient.cpp: |
|
1023 (WebInspectorFrontendClient::WebInspectorFrontendClient): |
|
1024 (WebInspectorFrontendClient::showWindowWithoutNotifications): |
|
1025 * WebCoreSupport/WebInspectorClient.h: |
|
1026 |
|
1027 2010-04-24 Steve Falkenburg <sfalken@apple.com> |
|
1028 |
|
1029 Reviewed by Sam Weinig. |
|
1030 |
|
1031 Typo in Geolocation code causes crashes when updates are stopped |
|
1032 https://bugs.webkit.org/show_bug.cgi?id=38089 |
|
1033 <rdar://problem/7904104> Crash closing geolocation tab after allowing to use geolocation |
|
1034 |
|
1035 * WebCoreSupport/WebGeolocationControllerClient.cpp: |
|
1036 (WebGeolocationControllerClient::stopUpdating): Call unregister instead of register. |
|
1037 |
|
1038 2010-04-23 Andy Estes <aestes@apple.com> |
|
1039 |
|
1040 Rubber stamped by Steve Falkenburg. |
|
1041 |
|
1042 Roll out http://trac.webkit.org/changeset/55385. |
|
1043 |
|
1044 <rdar://problem/7884444> |
|
1045 |
|
1046 * Interfaces/IWebUIDelegatePrivate.idl: |
|
1047 * Interfaces/WebKit.idl: |
|
1048 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
1049 (WebFrameLoaderClient::createPlugin): |
|
1050 |
|
1051 2010-04-22 Dave Moore <davemoore@chromium.org> |
|
1052 |
|
1053 Reviewed by Dimitri Glazkov. |
|
1054 |
|
1055 Added notification when the favicons for a page are changed |
|
1056 from a script. |
|
1057 The Document object will notify the frame loader, which will |
|
1058 notify the client. Implementations of FrameLoaderClient will |
|
1059 have to add one method; dispatchDidChangeIcons(). |
|
1060 |
|
1061 https://bugs.webkit.org/show_bug.cgi?id=33812 |
|
1062 |
|
1063 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: |
|
1064 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
1065 (WebFrameLoaderClient::dispatchDidChangeIcons): |
|
1066 * WebCoreSupport/WebFrameLoaderClient.h: |
|
1067 * WebFrame.cpp: |
|
1068 (WebFrame::didChangeIcons): |
|
1069 * WebFrame.h: |
|
1070 |
|
1071 2010-04-22 Adam Barth <abarth@webkit.org> |
|
1072 |
|
1073 Unreviewed, rolling out r58069. |
|
1074 http://trac.webkit.org/changeset/58069 |
|
1075 https://bugs.webkit.org/show_bug.cgi?id=27751 |
|
1076 |
|
1077 Broke compile on Windows. |
|
1078 |
|
1079 * Interfaces/IWebPreferencesPrivate.idl: |
|
1080 * WebPreferenceKeysPrivate.h: |
|
1081 * WebPreferences.cpp: |
|
1082 (WebPreferences::initializeDefaultSettings): |
|
1083 * WebPreferences.h: |
|
1084 * WebView.cpp: |
|
1085 (WebView::notifyPreferencesChanged): |
|
1086 |
|
1087 2010-04-22 Abhishek Arya <inferno@chromium.org> |
|
1088 |
|
1089 Reviewed by Adam Barth. |
|
1090 |
|
1091 Add support for controlling clipboard access from javascript. |
|
1092 Clipboard access from javascript is disabled by default. |
|
1093 https://bugs.webkit.org/show_bug.cgi?id=27751 |
|
1094 |
|
1095 * Interfaces/IWebPreferencesPrivate.idl: |
|
1096 * WebPreferenceKeysPrivate.h: |
|
1097 * WebPreferences.cpp: |
|
1098 (WebPreferences::initializeDefaultSettings): |
|
1099 (WebPreferences::javaScriptCanAccessClipboard): |
|
1100 (WebPreferences::setJavaScriptCanAccessClipboard): |
|
1101 * WebPreferences.h: |
|
1102 * WebView.cpp: |
|
1103 (WebView::notifyPreferencesChanged): |
|
1104 |
|
1105 2010-04-21 Andy Estes <aestes@apple.com> |
|
1106 |
|
1107 Reviewed by Maciej Stachowiak. |
|
1108 |
|
1109 Reference count WebView's backing store bitmap to prevent |
|
1110 deleteBackingStore() from freeing the bitmap while it is still being |
|
1111 referenced by Core Animation. |
|
1112 |
|
1113 https://bugs.webkit.org/show_bug.cgi?id=37954 |
|
1114 |
|
1115 * WebView.cpp: |
|
1116 (WebView::ensureBackingStore): |
|
1117 (WebView::addToDirtyRegion): |
|
1118 (WebView::scrollBackingStore): |
|
1119 (WebView::updateBackingStore): |
|
1120 (WebView::paint): |
|
1121 (WebView::backingStore): |
|
1122 (releaseBackingStoreCallback): deref m_backingStoreBitmap once Core |
|
1123 Animation has dropeed its reference to the memory. |
|
1124 (WebView::updateRootLayerContents): ref m_backingStoreBitmap before |
|
1125 passing the memory to Core Animation to prevent deleteBackingStore() |
|
1126 from freeing it while it is still referenced by CA. |
|
1127 * WebView.h: Make m_backingStoreBitmap a RefCountedGDIHandle<HBITMAP>, |
|
1128 and make m_backingStoreDirtyRegion a RefCountedGDIHandle<HRGN>. |
|
1129 |
|
1130 2010-04-20 Adam Barth <abarth@webkit.org> |
|
1131 |
|
1132 Reviewed by Eric Seidel. |
|
1133 |
|
1134 Factor DocumentWriter out of FrameLoader |
|
1135 https://bugs.webkit.org/show_bug.cgi?id=37175 |
|
1136 |
|
1137 Update these callsites because the method moved to DocumentWriter. |
|
1138 |
|
1139 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
1140 (WebFrameLoaderClient::receivedData): |
|
1141 |
|
1142 2010-04-20 Kent Tamura <tkent@chromium.org> |
|
1143 |
|
1144 Reviewed by Darin Adler. |
|
1145 |
|
1146 Change a parameter type of chooseIconForFiles() |
|
1147 https://bugs.webkit.org/show_bug.cgi?id=37504 |
|
1148 |
|
1149 * WebCoreSupport/WebChromeClient.cpp: |
|
1150 (WebChromeClient::chooseIconForFiles): |
|
1151 * WebCoreSupport/WebChromeClient.h: |
|
1152 |
|
1153 2010-04-16 Gavin Barraclough <barraclough@apple.com> |
|
1154 |
|
1155 Reviewed by NOBODY (Windows build fix). |
|
1156 |
|
1157 * WebFrame.cpp: |
|
1158 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): |
|
1159 * WebView.cpp: |
|
1160 (WebView::stringByEvaluatingJavaScriptFromString): |
|
1161 |
|
1162 2010-04-16 Adam Roben <aroben@apple.com> |
|
1163 |
|
1164 Make it possible for clients to instantiate a WebUserContentURLPattern |
|
1165 |
|
1166 Reviewed by Tim Hatcher. |
|
1167 |
|
1168 * ForEachCoClass.h: Added WebUserContentURLPattern to the FOR_EACH_COCLASS macro, which |
|
1169 lists all our instantiatable classes. |
|
1170 |
|
1171 * WebKitClassFactory.cpp: Added a now-required #include. |
|
1172 |
|
1173 2010-04-15 Adam Roben <aroben@apple.com> |
|
1174 |
|
1175 Expose UserContentURLPattern as WebKit SPI |
|
1176 |
|
1177 Fixes <http://webkit.org/b/37354>. |
|
1178 |
|
1179 Reviewed by Tim Hatcher. |
|
1180 |
|
1181 * Interfaces/IWebUserContentURLPattern.idl: Added. |
|
1182 |
|
1183 * Interfaces/WebKit.idl: Added WebUserContentURLPattern. |
|
1184 |
|
1185 * WebKit.vcproj/Interfaces.vcproj: Added IWebUserContentURLPattern. |
|
1186 |
|
1187 * WebKit.vcproj/WebKit.vcproj: Added WebUserContentURLPattern. |
|
1188 |
|
1189 * WebUserContentURLPattern.cpp: Added. |
|
1190 (WebUserContentURLPattern::WebUserContentURLPattern): |
|
1191 (WebUserContentURLPattern::~WebUserContentURLPattern): |
|
1192 (WebUserContentURLPattern::createInstance): |
|
1193 (WebUserContentURLPattern::AddRef): |
|
1194 (WebUserContentURLPattern::Release): |
|
1195 (WebUserContentURLPattern::QueryInterface): |
|
1196 Standard COM implementations. |
|
1197 |
|
1198 (WebUserContentURLPattern::parse): Parse the string into a |
|
1199 UserContentURLPattern and store it. |
|
1200 |
|
1201 (WebUserContentURLPattern::isValid): |
|
1202 (WebUserContentURLPattern::scheme): |
|
1203 (WebUserContentURLPattern::host): |
|
1204 (WebUserContentURLPattern::matchesSubdomains): |
|
1205 Call through to UserContentURLPattern. |
|
1206 |
|
1207 * WebUserContentURLPattern.h: Added. |
|
1208 |
|
1209 2010-04-14 Adam Roben <aroben@apple.com> |
|
1210 |
|
1211 Expose DOMWrapperWorld::unregisterWorld as WebKit SPI on Windows |
|
1212 |
|
1213 Fixes <http://webkit.org/b/37619>. |
|
1214 |
|
1215 Reviewed by Steve Falkenburg. |
|
1216 |
|
1217 * Interfaces/IWebScriptWorld.idl: Added unregisterWorld. |
|
1218 |
|
1219 * Interfaces/WebKit.idl: Touched to force a build. |
|
1220 |
|
1221 * WebScriptWorld.cpp: |
|
1222 (WebScriptWorld::unregisterWorld): |
|
1223 * WebScriptWorld.h: |
|
1224 Added. Just calls through to DOMWrapperWorld::unregisterWorld. |
|
1225 |
|
1226 2010-04-12 Timothy Hatcher <timothy@apple.com> |
|
1227 |
|
1228 SecurityOrigin needs a way to remove individual OriginAccessEntries |
|
1229 https://bugs.webkit.org/show_bug.cgi?id=37449 |
|
1230 |
|
1231 Reviewed by Dave Hyatt. |
|
1232 |
|
1233 * Interfaces/IWebViewPrivate.idl: |
|
1234 * WebView.cpp: |
|
1235 (WebView::removeOriginAccessWhitelistEntry): Call SecurityOrigin::removeOriginAccessWhitelistEntry. |
|
1236 * WebView.h: Added removeOriginAccessWhitelistEntry. |
|
1237 |
|
1238 2010-04-13 Timothy Hatcher <timothy@apple.com> |
|
1239 |
|
1240 Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry. |
|
1241 And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists. |
|
1242 |
|
1243 SecurityOrigin needs a way to remove individual OriginAccessEntries |
|
1244 https://bugs.webkit.org/show_bug.cgi?id=37449 |
|
1245 |
|
1246 Reviewed by Dave Hyatt. |
|
1247 |
|
1248 * Interfaces/IWebViewPrivate.idl: |
|
1249 * WebView.cpp: |
|
1250 (WebView::addOriginAccessWhitelistEntry): |
|
1251 (WebView::resetOriginAccessWhitelists): |
|
1252 * WebView.h: |
|
1253 |
|
1254 2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com> |
|
1255 |
|
1256 Unreviewed, rolling out r57468. |
|
1257 http://trac.webkit.org/changeset/57468 |
|
1258 https://bugs.webkit.org/show_bug.cgi?id=37433 |
|
1259 |
|
1260 Broke the world... Must have applied the patch wrong |
|
1261 (Requested by abarth on #webkit). |
|
1262 |
|
1263 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
1264 (WebFrameLoaderClient::receivedData): |
|
1265 |
|
1266 2010-04-11 Adam Barth <abarth@webkit.org> |
|
1267 |
|
1268 Reviewed by Eric Seidel. |
|
1269 |
|
1270 Factor DocumentWriter out of FrameLoader |
|
1271 https://bugs.webkit.org/show_bug.cgi?id=37175 |
|
1272 |
|
1273 Update these callsites because the method moved to DocumentWriter. |
|
1274 |
|
1275 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
1276 (WebFrameLoaderClient::receivedData): |
|
1277 |
|
1278 2010-04-09 Adam Roben <aroben@apple.com> |
|
1279 |
|
1280 Windows Debug/Release build fix after r57244 |
|
1281 |
|
1282 * WebKit.vcproj/WebKit.vcproj: Don't delay-load QuartzCore.dll or |
|
1283 QuartzCoreInterface.dll in any configurations. r57244 made this change |
|
1284 only for Debug_Internal. |
|
1285 |
|
1286 2010-04-08 Steve Falkenburg <sfalken@apple.com> |
|
1287 |
|
1288 Reviewed by Darin Adler. |
|
1289 |
|
1290 WebView::isLoading should null check m_mainFrame |
|
1291 https://bugs.webkit.org/show_bug.cgi?id=37294 |
|
1292 |
|
1293 * WebView.cpp: |
|
1294 (WebView::isLoading): |
|
1295 |
|
1296 2010-04-07 Chris Marrin <cmarrin@apple.com> |
|
1297 |
|
1298 Reviewed by Steve Falkenburg. |
|
1299 |
|
1300 Remove QuartzCoreInterface from the build |
|
1301 |
|
1302 No longer needed since QuartzCore.dll is now included in the latest Safari release (4.0.5). |
|
1303 |
|
1304 * WebKit.vcproj/WebKit.vcproj:Removed delay load for QuartzCore and QuartzCoreInterface |
|
1305 |
|
1306 2010-04-07 Andrey Kosyakov <caseq@chromium.org> |
|
1307 |
|
1308 Reviewed by Yury Semikhatsky. |
|
1309 |
|
1310 Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest() |
|
1311 https://bugs.webkit.org/show_bug.cgi?id=36949 |
|
1312 |
|
1313 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
1314 * WebCoreSupport/WebFrameLoaderClient.h: |
|
1315 |
|
1316 2010-04-05 Peter Nelson <charn.opcode@gmail.com> |
|
1317 |
|
1318 Reviewed by Eric Seidel. |
|
1319 |
|
1320 Fixed style errors in DOMCoreClasses.h to bring it up to scratch |
|
1321 for https://bugs.webkit.org/show_bug.cgi?id=34979. |
|
1322 |
|
1323 * DOMCoreClasses.h: |
|
1324 (DOMObject::throwException): |
|
1325 (DOMObject::callWebScriptMethod): |
|
1326 (DOMObject::evaluateWebScript): |
|
1327 (DOMObject::removeWebScriptKey): |
|
1328 (DOMObject::stringRepresentation): |
|
1329 (DOMObject::webScriptValueAtIndex): |
|
1330 (DOMObject::setWebScriptValueAtIndex): |
|
1331 (DOMObject::setException): |
|
1332 (DOMNodeList::throwException): |
|
1333 (DOMNodeList::callWebScriptMethod): |
|
1334 (DOMNodeList::evaluateWebScript): |
|
1335 (DOMNodeList::removeWebScriptKey): |
|
1336 (DOMNodeList::stringRepresentation): |
|
1337 (DOMNodeList::webScriptValueAtIndex): |
|
1338 (DOMNodeList::setWebScriptValueAtIndex): |
|
1339 (DOMNodeList::setException): |
|
1340 (DOMDocument::throwException): |
|
1341 (DOMDocument::callWebScriptMethod): |
|
1342 (DOMDocument::evaluateWebScript): |
|
1343 (DOMDocument::removeWebScriptKey): |
|
1344 (DOMDocument::stringRepresentation): |
|
1345 (DOMDocument::webScriptValueAtIndex): |
|
1346 (DOMDocument::setWebScriptValueAtIndex): |
|
1347 (DOMDocument::setException): |
|
1348 (DOMDocument::nodeName): |
|
1349 (DOMDocument::nodeValue): |
|
1350 (DOMDocument::setNodeValue): |
|
1351 (DOMDocument::nodeType): |
|
1352 (DOMDocument::parentNode): |
|
1353 (DOMDocument::childNodes): |
|
1354 (DOMDocument::firstChild): |
|
1355 (DOMDocument::lastChild): |
|
1356 (DOMDocument::previousSibling): |
|
1357 (DOMDocument::nextSibling): |
|
1358 (DOMDocument::attributes): |
|
1359 (DOMDocument::ownerDocument): |
|
1360 (DOMDocument::insertBefore): |
|
1361 (DOMDocument::replaceChild): |
|
1362 (DOMDocument::removeChild): |
|
1363 (DOMDocument::appendChild): |
|
1364 (DOMDocument::hasChildNodes): |
|
1365 (DOMDocument::cloneNode): |
|
1366 (DOMDocument::isSupported): |
|
1367 (DOMDocument::namespaceURI): |
|
1368 (DOMDocument::prefix): |
|
1369 (DOMDocument::setPrefix): |
|
1370 (DOMDocument::localName): |
|
1371 (DOMDocument::hasAttributes): |
|
1372 (DOMDocument::isSameNode): |
|
1373 (DOMDocument::isEqualNode): |
|
1374 (DOMDocument::textContent): |
|
1375 (DOMDocument::setTextContent): |
|
1376 (DOMElement::throwException): |
|
1377 (DOMElement::callWebScriptMethod): |
|
1378 (DOMElement::evaluateWebScript): |
|
1379 (DOMElement::removeWebScriptKey): |
|
1380 (DOMElement::stringRepresentation): |
|
1381 (DOMElement::webScriptValueAtIndex): |
|
1382 (DOMElement::setWebScriptValueAtIndex): |
|
1383 (DOMElement::setException): |
|
1384 (DOMElement::nodeName): |
|
1385 (DOMElement::nodeValue): |
|
1386 (DOMElement::setNodeValue): |
|
1387 (DOMElement::nodeType): |
|
1388 (DOMElement::parentNode): |
|
1389 (DOMElement::childNodes): |
|
1390 (DOMElement::firstChild): |
|
1391 (DOMElement::lastChild): |
|
1392 (DOMElement::previousSibling): |
|
1393 (DOMElement::nextSibling): |
|
1394 (DOMElement::attributes): |
|
1395 (DOMElement::ownerDocument): |
|
1396 (DOMElement::insertBefore): |
|
1397 (DOMElement::replaceChild): |
|
1398 (DOMElement::removeChild): |
|
1399 (DOMElement::appendChild): |
|
1400 (DOMElement::hasChildNodes): |
|
1401 (DOMElement::cloneNode): |
|
1402 (DOMElement::isSupported): |
|
1403 (DOMElement::namespaceURI): |
|
1404 (DOMElement::prefix): |
|
1405 (DOMElement::setPrefix): |
|
1406 (DOMElement::localName): |
|
1407 (DOMElement::hasAttributes): |
|
1408 (DOMElement::isSameNode): |
|
1409 (DOMElement::isEqualNode): |
|
1410 (DOMElement::textContent): |
|
1411 (DOMElement::setTextContent): |
|
1412 |
|
1413 2010-04-05 Alexey Proskuryakov <ap@apple.com> |
|
1414 |
|
1415 Reviewed by Darin Adler. |
|
1416 |
|
1417 https://bugs.webkit.org/show_bug.cgi?id=37111 |
|
1418 <rdar://problem/7790327> Draw replacement text when plug-in host crashes |
|
1419 |
|
1420 * WebCoreLocalizedStrings.cpp: (WebCore::crashedPluginText): Added a stub string for plug-in |
|
1421 failure. |
|
1422 |
|
1423 2010-04-02 Rafael Weinstein <rafaelw@chromium.org> |
|
1424 |
|
1425 Reviewed by Adam Barth. |
|
1426 |
|
1427 Clean up unused calls after changes to checkPermission and requestPermission argument lists. |
|
1428 |
|
1429 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: |
|
1430 (WebDesktopNotificationsDelegate::requestPermission): |
|
1431 * WebCoreSupport/WebDesktopNotificationsDelegate.h: |
|
1432 |
|
1433 2010-04-01 Chris Marrin <cmarrin@apple.com> |
|
1434 |
|
1435 Reviewed by Simon Fraser. |
|
1436 |
|
1437 Added layerTreeAsText function to DRT (for Mac) |
|
1438 https://bugs.webkit.org/show_bug.cgi?id=36782 |
|
1439 |
|
1440 This is the WebKit side for Windows. It plumbs the |
|
1441 call from WebCore to DRT. |
|
1442 |
|
1443 * Interfaces/IWebFramePrivate.idl: |
|
1444 * WebFrame.cpp:WebKit (Windows) side of plumbing |
|
1445 (WebFrame::layerTreeAsText): |
|
1446 * WebFrame.h: |
|
1447 |
|
1448 2010-03-31 Marcus Bulach <bulach@chromium.org> |
|
1449 |
|
1450 Reviewed by Jeremy Orlow. |
|
1451 |
|
1452 Adds Geolocation param for cancelGeolocationPermissionRequestForFrame. |
|
1453 https://bugs.webkit.org/show_bug.cgi?id=35031 |
|
1454 |
|
1455 * WebCoreSupport/WebChromeClient.h: |
|
1456 (WebChromeClient::cancelGeolocationPermissionRequestForFrame): |
|
1457 |
|
1458 2010-03-30 Gavin Barraclough <barraclough@apple.com> |
|
1459 |
|
1460 Rubber stamped by Sam Weinig. |
|
1461 |
|
1462 https://bugs.webkit.org/show_bug.cgi?id=36866 |
|
1463 Move CString to WTF |
|
1464 |
|
1465 * WebDownload.cpp: |
|
1466 * WebDownloadCFNet.cpp: |
|
1467 * WebDownloadCurl.cpp: |
|
1468 * WebHistoryItem.cpp: |
|
1469 * WebLocalizableStrings.cpp: |
|
1470 * WebMutableURLRequest.cpp: |
|
1471 * WebPreferences.cpp: |
|
1472 (WebPreferences::migrateWebKitPreferencesToCFPreferences): |
|
1473 * WebView.cpp: |
|
1474 |
|
1475 2010-03-30 Adam Roben <aroben@apple.com> |
|
1476 |
|
1477 Windows build fix |
|
1478 |
|
1479 * Interfaces/WebKit.idl: Touched this to force a build. |
|
1480 |
|
1481 2010-03-29 Steve Falkenburg <sfalken@apple.com> |
|
1482 |
|
1483 Reviewed by Adele Peterson. |
|
1484 |
|
1485 Default value of accelerated compositing should be false for Windows |
|
1486 https://bugs.webkit.org/show_bug.cgi?id=36805 |
|
1487 |
|
1488 * WebPreferences.cpp: |
|
1489 (WebPreferences::initializeDefaultSettings): |
|
1490 |
|
1491 2010-03-29 Rafael Weinstein <rafaelw@chromium.org> |
|
1492 |
|
1493 Reviewed by Adam Barth. |
|
1494 |
|
1495 Change NotificationPresenter::checkPermission() to take the source frames full KURL, |
|
1496 rather than its SecurityOrigin. This will aid chromium in having more fine grained |
|
1497 permissions to control notification spam. |
|
1498 |
|
1499 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: |
|
1500 (WebDesktopNotificationsDelegate::checkPermission): |
|
1501 * WebCoreSupport/WebDesktopNotificationsDelegate.h: |
|
1502 |
|
1503 2010-03-26 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
1504 |
|
1505 Reviewed by Antti Koivisto. |
|
1506 |
|
1507 Change method name due to it dealing with both flattening |
|
1508 of frame sets and inner frames. |
|
1509 |
|
1510 * Interfaces/IWebPreferencesPrivate.idl: |
|
1511 * WebPreferenceKeysPrivate.h: |
|
1512 * WebPreferences.cpp: |
|
1513 (WebPreferences::initializeDefaultSettings): |
|
1514 (WebPreferences::isFrameFlatteningEnabled): |
|
1515 (WebPreferences::setFrameFlatteningEnabled): |
|
1516 * WebPreferences.h: |
|
1517 * WebView.cpp: |
|
1518 (WebView::notifyPreferencesChanged): |
|
1519 |
|
1520 2010-03-24 Jon Honeycutt <jhoneycutt@apple.com> |
|
1521 |
|
1522 <rdar://problem/7780798> Missing plug-ins should be represented by text |
|
1523 only, instead of lego block |
|
1524 |
|
1525 https://bugs.webkit.org/show_bug.cgi?id=36583 |
|
1526 |
|
1527 Reviewed by Dan Bernstein. |
|
1528 |
|
1529 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
1530 (WebFrameLoaderClient::createPlugin): |
|
1531 Return 0 if we failed to initialize the plug-in, which causes the new |
|
1532 "missing plug-in" text to draw. |
|
1533 |
|
1534 2010-03-24 Kent Tamura <tkent@chromium.org> |
|
1535 |
|
1536 Reviewed by Darin Adler. |
|
1537 |
|
1538 Make Icon::createIconForFiles() optional. |
|
1539 https://bugs.webkit.org/show_bug.cgi?id=35072 |
|
1540 |
|
1541 - Rename iconForFiles() to chooseIconForFiles(). |
|
1542 - Call Icon::createIconForFiles() from chooseIconForFiles(). |
|
1543 |
|
1544 * WebCoreSupport/WebChromeClient.cpp: |
|
1545 (WebChromeClient::chooseIconForFiles): |
|
1546 * WebCoreSupport/WebChromeClient.h: |
|
1547 |
|
1548 2010-03-22 Darin Adler <darin@apple.com> |
|
1549 |
|
1550 * WebCoreLocalizedStrings.cpp: |
|
1551 (WebCore::missingPluginText): Fixed localization helper text to match the same |
|
1552 string from Mac WebKit. |
|
1553 |
|
1554 2010-03-22 Kevin Decker <kdecker@apple.com> |
|
1555 |
|
1556 Reviewed by John Sullivan. |
|
1557 |
|
1558 https://bugs.webkit.org/show_bug.cgi?id=36328 |
|
1559 |
|
1560 * WebCoreLocalizedStrings.cpp: |
|
1561 (WebCore::missingPluginText): Added. |
|
1562 |
|
1563 2010-03-17 Enrica Casucci <enrica@apple.com> |
|
1564 |
|
1565 Reviewed by Darin Adler. |
|
1566 |
|
1567 Missing support for showing compositing layers borders and repaint count on Windows. |
|
1568 <rdar://problem/7760736> |
|
1569 <https://bugs.webkit.org/show_bug.cgi?id=36197> |
|
1570 |
|
1571 * Interfaces/IWebPreferencesPrivate.idl: |
|
1572 * WebPreferenceKeysPrivate.h: |
|
1573 * WebPreferences.cpp: |
|
1574 (WebPreferences::initializeDefaultSettings): |
|
1575 (WebPreferences::showDebugBorders): |
|
1576 (WebPreferences::setShowDebugBorders): |
|
1577 (WebPreferences::showRepaintCounter): |
|
1578 (WebPreferences::setShowRepaintCounter): |
|
1579 * WebPreferences.h: |
|
1580 * WebView.cpp: |
|
1581 (WebView::notifyPreferencesChanged): |
|
1582 |
|
1583 2010-03-16 Yury Semikhatsky <yurys@chromium.org> |
|
1584 |
|
1585 Reviewed by Pavel Feldman. |
|
1586 |
|
1587 Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost. |
|
1588 |
|
1589 Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder |
|
1590 https://bugs.webkit.org/show_bug.cgi?id=35036 |
|
1591 |
|
1592 * WebCoreSupport/WebInspectorClient.cpp: |
|
1593 (WebInspectorClient::WebInspectorClient): |
|
1594 (WebInspectorClient::~WebInspectorClient): |
|
1595 (WebInspectorClient::openInspectorFrontend): |
|
1596 (WebInspectorClient::highlight): |
|
1597 (WebInspectorClient::hideHighlight): |
|
1598 (WebInspectorClient::updateHighlight): |
|
1599 (WebInspectorFrontendClient::WebInspectorFrontendClient): |
|
1600 (WebInspectorFrontendClient::~WebInspectorFrontendClient): |
|
1601 (WebInspectorFrontendClient::frontendLoaded): |
|
1602 (WebInspectorFrontendClient::localizedStringsURL): |
|
1603 (WebInspectorFrontendClient::hiddenPanels): |
|
1604 (WebInspectorFrontendClient::bringToFront): |
|
1605 (WebInspectorFrontendClient::closeWindow): |
|
1606 (WebInspectorFrontendClient::attachWindow): |
|
1607 (WebInspectorFrontendClient::detachWindow): |
|
1608 (WebInspectorFrontendClient::setAttachedWindowHeight): |
|
1609 (WebInspectorFrontendClient::inspectedURLChanged): |
|
1610 (WebInspectorFrontendClient::closeWindowWithoutNotifications): |
|
1611 (WebInspectorFrontendClient::showWindowWithoutNotifications): |
|
1612 (WebInspectorFrontendClient::destroyInspectorView): |
|
1613 (WebInspectorFrontendClient::updateWindowTitle): |
|
1614 (WebInspectorFrontendClient::onGetMinMaxInfo): |
|
1615 (WebInspectorFrontendClient::onSize): |
|
1616 (WebInspectorFrontendClient::onClose): |
|
1617 (WebInspectorFrontendClient::onSetFocus): |
|
1618 (WebInspectorFrontendClient::onWebViewWindowPosChanging): |
|
1619 (WebInspectorWndProc): |
|
1620 (WebInspectorFrontendClient::windowReceivedMessage): |
|
1621 * WebCoreSupport/WebInspectorClient.h: |
|
1622 (WebInspectorClient::frontendClosing): |
|
1623 * WebInspector.cpp: |
|
1624 (WebInspector::attach): |
|
1625 (WebInspector::detach): |
|
1626 |
|
1627 2010-03-14 Dan Bernstein <mitz@apple.com> |
|
1628 |
|
1629 Reviewed by Darin Adler. |
|
1630 |
|
1631 WebKit part of removing support for legacy versions of Core Graphics |
|
1632 |
|
1633 * WebKitClassFactory.cpp: |
|
1634 (WebKitClassFactory::WebKitClassFactory): Removed call to populateFontDatabase(). |
|
1635 * WebKitGraphics.cpp: |
|
1636 (makeFont): Ditto. |
|
1637 * WebTextRenderer.cpp: |
|
1638 (WebTextRenderer::registerPrivateFont): Removed call to wkAddFontsAtPath(). |
|
1639 |
|
1640 2010-03-12 Enrica Casucci <enrica@apple.com> |
|
1641 |
|
1642 Fixed broken build on Windows. |
|
1643 Added contditional compilation for accelerated compositing. |
|
1644 |
|
1645 * WebView.cpp: |
|
1646 (WebView::deleteBackingStore): |
|
1647 (WebView::addToDirtyRegion): |
|
1648 (WebView::updateBackingStore): |
|
1649 |
|
1650 2010-03-12 Beth Dakin <bdakin@apple.com> |
|
1651 |
|
1652 Reviewed by Simon Fraser. |
|
1653 |
|
1654 Fix for https://bugs.webkit.org/show_bug.cgi?id=34942 Fullscreen |
|
1655 API naming is inconsistent |
|
1656 -and corresponding- |
|
1657 <rdar://problem/7729165> |
|
1658 |
|
1659 This patch changes all occurrences of "fullScreen" to the more |
|
1660 popular "fullscreen." |
|
1661 |
|
1662 * FullscreenVideoController.cpp: |
|
1663 (FullscreenVideoController::onMouseDown): |
|
1664 (FullscreenVideoController::onMouseMove): |
|
1665 (FullscreenVideoController::onMouseUp): |
|
1666 * FullscreenVideoController.h: |
|
1667 (FullscreenVideoController::fullscreenToHUDCoordinates): |
|
1668 |
|
1669 2010-03-12 Beth Dakin <bdakin@apple.com> |
|
1670 |
|
1671 Reviewed by Adam Roben. |
|
1672 |
|
1673 Fix for https://bugs.webkit.org/show_bug.cgi?id=33739 Fullscreen |
|
1674 video HUD stays on top when switching to another window (e.g. via |
|
1675 Alt-Tab) |
|
1676 -and corresponding- |
|
1677 <rdar://problem/7547574> |
|
1678 |
|
1679 The HUD was always on top because it had the WS_EX_TOPMOST style. |
|
1680 So I removed the style and made m_videoWindow the owner of |
|
1681 m_hudWindow. This keeps m_hudWindow on top only when m_videoWindow |
|
1682 is the focused window. |
|
1683 |
|
1684 * FullscreenVideoController.cpp: |
|
1685 (FullscreenVideoController::exitFullscreen): ASSERT that movie()->exitFullscreen() also destroyed the hud. |
|
1686 (FullscreenVideoController::createHUDWindow): |
|
1687 |
|
1688 2010-03-12 Enrica Casucci <enrica@apple.com> |
|
1689 |
|
1690 Reviewed by Simon Fraser. |
|
1691 |
|
1692 Content of 3D tests appears at the bottom right corner sometimes. |
|
1693 <rdar://problem/7556244> |
|
1694 <https://bugs.webkit.org/show_bug.cgi?id=36027> |
|
1695 |
|
1696 See detailed comments in WebCore/ChangeLog. |
|
1697 |
|
1698 * WebView.cpp: |
|
1699 (WebView::deleteBackingStore): Reset the dirty flag when deleting the backing store. |
|
1700 (WebView::addToDirtyRegion): Set the dirty flag when adding dirty rectangles to the |
|
1701 backing store dirty region. |
|
1702 (WebView::updateBackingStore): Reset the dirty flag after painting into the backing store. |
|
1703 (WebView::setAcceleratedCompositing): Removed unnecessary call to updateRootLayerContents. |
|
1704 (WebView::updateRootLayerContents): Changed the way we pass parameters to setScrollFrame. |
|
1705 We are passing width and height of the view content together with the offset for the scrolling. |
|
1706 It was confusing to pass it all as a rectangle, when it is not a rectangle. |
|
1707 |
|
1708 2010-03-11 Aaron Boodman <aa@chromium.org> |
|
1709 |
|
1710 Kill WebDocument::applicationID() (part 1). |
|
1711 |
|
1712 Modify interface to WebCore::NotificationPresenter::checkPermission() |
|
1713 and remove implementation of WebDocument::applicationID(). Breaking |
|
1714 API changes will be in a subsequent change. |
|
1715 https://bugs.webkit.org/show_bug.cgi?id=35846 |
|
1716 |
|
1717 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: |
|
1718 (WebDesktopNotificationsDelegate::checkPermission): |
|
1719 * WebCoreSupport/WebDesktopNotificationsDelegate.h: |
|
1720 |
|
1721 2010-03-11 Anders Carlsson <andersca@apple.com> |
|
1722 |
|
1723 Reviewed by David Hyatt. |
|
1724 |
|
1725 Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents. |
|
1726 |
|
1727 * WebCoreSupport/WebChromeClient.cpp: |
|
1728 * WebCoreSupport/WebChromeClient.h: |
|
1729 |
|
1730 2010-03-10 Eric Uhrhane <ericu@chromium.org> |
|
1731 |
|
1732 Reviewed by David Levin. |
|
1733 |
|
1734 The build fix for my patch on bug #35763 wasn't quite right--it removed |
|
1735 the call entirely, instead of replacing it with the new API. This adds |
|
1736 the call to Database::setIsAvailable. |
|
1737 |
|
1738 https://bugs.webkit.org/show_bug.cgi?id=35763 |
|
1739 |
|
1740 * WebView.cpp: Added a call to Database::setIsAvailable where change 55667 removed the old Settings API call <http://trac.webkit.org/changeset/55667>. |
|
1741 (WebView::notifyPreferencesChanged): |
|
1742 |
|
1743 2010-03-10 John Sullivan <sullivan@apple.com> |
|
1744 |
|
1745 Reviewed by Tim Hatcher. |
|
1746 |
|
1747 <rdar://problem/7735387> input type other than text won't work with autofill |
|
1748 <https://bugs.webkit.org/show_bug.cgi?id=35963> |
|
1749 |
|
1750 * WebFrame.cpp: |
|
1751 (WebFrame::elementDoesAutoComplete): |
|
1752 Return true for any text field that's not a password, rather than only |
|
1753 for TEXT type. |
|
1754 |
|
1755 2010-03-09 Brady Eidson <beidson@apple.com> |
|
1756 |
|
1757 Reviewed by Tim Hatcher. |
|
1758 |
|
1759 REGRESSION: WebInspector docking busted on Windows |
|
1760 <rdar://problem/7728433> and https://bugs.webkit.org/show_bug.cgi?id=35953 |
|
1761 |
|
1762 * WebCoreSupport/WebInspectorClient.cpp: |
|
1763 (WebInspectorClient::attachWindow): Use the InspectorController:: copy of the should attach settings key. |
|
1764 (WebInspectorClient::detachWindow): Ditto. |
|
1765 (WebInspectorClient::showWindowWithoutNotifications): Ditto. |
|
1766 |
|
1767 2010-03-09 John Sullivan <sullivan@apple.com> |
|
1768 |
|
1769 Fixed localized string key collision. update-webkit-localized-strings now |
|
1770 runs without errors. |
|
1771 |
|
1772 Reviewed by Adam Roben. |
|
1773 |
|
1774 * WebCoreLocalizedStrings.cpp: |
|
1775 (WebCore::AXMenuListPopupActionVerb): |
|
1776 Used LPCTSTR_UI_STRING_KEY for the 2nd use of "press". |
|
1777 |
|
1778 2010-03-08 Adam Treat <atreat@rim.com> |
|
1779 |
|
1780 Unreviewed build fix for Windows. |
|
1781 |
|
1782 * WebCoreSupport/WebChromeClient.cpp: |
|
1783 (WebChromeClient::invalidateContents): |
|
1784 |
|
1785 2010-03-02 Adam Treat <atreat@rim.com> |
|
1786 |
|
1787 Reviewed by Dave Hyatt. |
|
1788 |
|
1789 Adapt the win port to the refactoring of repaint methods. |
|
1790 |
|
1791 https://bugs.webkit.org/show_bug.cgi?id=34214 |
|
1792 |
|
1793 * WebCoreSupport/WebChromeClient.cpp: |
|
1794 (WebChromeClient::invalidateContents): |
|
1795 (WebChromeClient::invalidateWindow): |
|
1796 (WebChromeClient::invalidateContentsAndWindow): |
|
1797 (WebChromeClient::invalidateContentsForSlowScroll): |
|
1798 * WebCoreSupport/WebChromeClient.h: |
|
1799 |
|
1800 2010-03-08 Daniel Bates <dbates@rim.com> |
|
1801 |
|
1802 Unreviewed, build fix. |
|
1803 |
|
1804 Attempt to fix the Windows builds by applying the corresponding change |
|
1805 made in bug #35763 <https://bugs.webkit.org/show_bug.cgi?id=35763>. |
|
1806 |
|
1807 * WebView.cpp: Removed call to settings->setDatabasesEnabled since this |
|
1808 setting no longer exists following changeset 55666 <http://trac.webkit.org/changeset/55666>. |
|
1809 (WebView::notifyPreferencesChanged): |
|
1810 |
|
1811 2010-03-07 Mark Rowe <mrowe@apple.com> |
|
1812 |
|
1813 Windows build fix. |
|
1814 |
|
1815 * WebKitPrefix.h: Include CoreFoundation/CoreFoundation.h from the Windows prefix header |
|
1816 since some WebCore headers rely on the types declared within being available via the prefix |
|
1817 header. |
|
1818 |
|
1819 2010-03-05 Chris Marrin <cmarrin@apple.com> |
|
1820 |
|
1821 Reviewed by Simon Fraser. |
|
1822 |
|
1823 Got rid of platformLayer use in WebView. |
|
1824 https://bugs.webkit.org/show_bug.cgi?id=35798 |
|
1825 |
|
1826 WKCACFLayer no longer depends on GraphicsLayer, so I got rid of |
|
1827 that dependency on WebView. Now WebChromeClient casts platformLayer |
|
1828 to WKCACFLayer which will always be the case on Windows. |
|
1829 |
|
1830 * WebCoreSupport/WebChromeClient.cpp: |
|
1831 (WebChromeClient::attachRootGraphicsLayer): |
|
1832 * WebView.cpp: |
|
1833 (WebView::setRootChildLayer): |
|
1834 * WebView.h: |
|
1835 |
|
1836 2010-03-04 Beth Dakin <bdakin@apple.com> |
|
1837 |
|
1838 Reviewed by Anders Carlsson. |
|
1839 |
|
1840 WebCore::Page::setInstanceHandle() is now just |
|
1841 WebCore::setInstanceHandle() |
|
1842 |
|
1843 * WebKitDLL.cpp: |
|
1844 (DllMain): |
|
1845 |
|
1846 2010-03-03 Alice Liu <alice.liu@apple.com> |
|
1847 |
|
1848 Reviewed by Jon Honeycutt. |
|
1849 |
|
1850 Add a way to get an iframe's content frame |
|
1851 |
|
1852 * DOMCoreClasses.cpp: |
|
1853 (DOMElement::createInstance): |
|
1854 Added case for DOMHTMLIFrameElement |
|
1855 * DOMHTMLClasses.cpp: |
|
1856 Adding the few DOMHTMLIFrameElement functions definitions that have |
|
1857 distinct implementations (all others just call parent implementation) |
|
1858 (DOMHTMLIFrameElement::QueryInterface): |
|
1859 (DOMHTMLIFrameElement::contentFrame): |
|
1860 * DOMHTMLClasses.h: |
|
1861 Most of these function declarations have definitions that just call the parent implementation |
|
1862 (DOMHTMLIFrameElement::DOMHTMLIFrameElement): |
|
1863 (DOMHTMLIFrameElement::AddRef): |
|
1864 (DOMHTMLIFrameElement::Release): |
|
1865 (DOMHTMLIFrameElement::throwException): |
|
1866 (DOMHTMLIFrameElement::callWebScriptMethod): |
|
1867 (DOMHTMLIFrameElement::evaluateWebScript): |
|
1868 (DOMHTMLIFrameElement::removeWebScriptKey): |
|
1869 (DOMHTMLIFrameElement::stringRepresentation): |
|
1870 (DOMHTMLIFrameElement::webScriptValueAtIndex): |
|
1871 (DOMHTMLIFrameElement::setWebScriptValueAtIndex): |
|
1872 (DOMHTMLIFrameElement::setException): |
|
1873 (DOMHTMLIFrameElement::nodeName): |
|
1874 (DOMHTMLIFrameElement::nodeValue): |
|
1875 (DOMHTMLIFrameElement::setNodeValue): |
|
1876 (DOMHTMLIFrameElement::nodeType): |
|
1877 (DOMHTMLIFrameElement::parentNode): |
|
1878 (DOMHTMLIFrameElement::childNodes): |
|
1879 (DOMHTMLIFrameElement::firstChild): |
|
1880 (DOMHTMLIFrameElement::lastChild): |
|
1881 (DOMHTMLIFrameElement::previousSibling): |
|
1882 (DOMHTMLIFrameElement::nextSibling): |
|
1883 (DOMHTMLIFrameElement::attributes): |
|
1884 (DOMHTMLIFrameElement::ownerDocument): |
|
1885 (DOMHTMLIFrameElement::insertBefore): |
|
1886 (DOMHTMLIFrameElement::replaceChild): |
|
1887 (DOMHTMLIFrameElement::removeChild): |
|
1888 (DOMHTMLIFrameElement::appendChild): |
|
1889 (DOMHTMLIFrameElement::hasChildNodes): |
|
1890 (DOMHTMLIFrameElement::cloneNode): |
|
1891 (DOMHTMLIFrameElement::normalize): |
|
1892 (DOMHTMLIFrameElement::isSupported): |
|
1893 (DOMHTMLIFrameElement::namespaceURI): |
|
1894 (DOMHTMLIFrameElement::prefix): |
|
1895 (DOMHTMLIFrameElement::setPrefix): |
|
1896 (DOMHTMLIFrameElement::localName): |
|
1897 (DOMHTMLIFrameElement::hasAttributes): |
|
1898 (DOMHTMLIFrameElement::isSameNode): |
|
1899 (DOMHTMLIFrameElement::isEqualNode): |
|
1900 (DOMHTMLIFrameElement::textContent): |
|
1901 (DOMHTMLIFrameElement::setTextContent): |
|
1902 (DOMHTMLIFrameElement::tagName): |
|
1903 (DOMHTMLIFrameElement::getAttribute): |
|
1904 (DOMHTMLIFrameElement::setAttribute): |
|
1905 (DOMHTMLIFrameElement::removeAttribute): |
|
1906 (DOMHTMLIFrameElement::getAttributeNode): |
|
1907 (DOMHTMLIFrameElement::setAttributeNode): |
|
1908 (DOMHTMLIFrameElement::removeAttributeNode): |
|
1909 (DOMHTMLIFrameElement::getElementsByTagName): |
|
1910 (DOMHTMLIFrameElement::getAttributeNS): |
|
1911 (DOMHTMLIFrameElement::setAttributeNS): |
|
1912 (DOMHTMLIFrameElement::removeAttributeNS): |
|
1913 (DOMHTMLIFrameElement::getAttributeNodeNS): |
|
1914 (DOMHTMLIFrameElement::setAttributeNodeNS): |
|
1915 (DOMHTMLIFrameElement::getElementsByTagNameNS): |
|
1916 (DOMHTMLIFrameElement::hasAttribute): |
|
1917 (DOMHTMLIFrameElement::hasAttributeNS): |
|
1918 (DOMHTMLIFrameElement::focus): |
|
1919 (DOMHTMLIFrameElement::blur): |
|
1920 (DOMHTMLIFrameElement::idName): |
|
1921 (DOMHTMLIFrameElement::setIdName): |
|
1922 (DOMHTMLIFrameElement::title): |
|
1923 (DOMHTMLIFrameElement::setTitle): |
|
1924 (DOMHTMLIFrameElement::lang): |
|
1925 (DOMHTMLIFrameElement::setLang): |
|
1926 (DOMHTMLIFrameElement::dir): |
|
1927 (DOMHTMLIFrameElement::setDir): |
|
1928 (DOMHTMLIFrameElement::className): |
|
1929 (DOMHTMLIFrameElement::setClassName): |
|
1930 (DOMHTMLIFrameElement::innerHTML): |
|
1931 (DOMHTMLIFrameElement::setInnerHTML): |
|
1932 (DOMHTMLIFrameElement::innerText): |
|
1933 (DOMHTMLIFrameElement::setInnerText): |
|
1934 * Interfaces/DOMHTML.idl: |
|
1935 Added IDOMHTMLIFrameElement interface |
|
1936 |
|
1937 2010-03-03 Chris Marrin <cmarrin@apple.com> |
|
1938 |
|
1939 Reviewed by Simon Fraser. |
|
1940 |
|
1941 Export acceleratedCompositing flag in IWebPreferences. |
|
1942 https://bugs.webkit.org/show_bug.cgi?id=35610 |
|
1943 |
|
1944 * Interfaces/IWebPreferences.idl: |
|
1945 |
|
1946 2010-03-02 Beth Dakin <bdakin@apple.com> |
|
1947 |
|
1948 Reviewed by Darin Adler and Adam Roben. |
|
1949 |
|
1950 Tiny WebKit portion of fix for <rdar://problem/7485289> WebKit |
|
1951 crashes on systems that don't support CoreAnimation |
|
1952 |
|
1953 setHostWindow() no longer calls createRenderer(), so now that has |
|
1954 to be called manually. |
|
1955 |
|
1956 * WebView.cpp: |
|
1957 (WebView::setAcceleratedCompositing): |
|
1958 |
|
1959 2010-03-02 Adam Roben <aroben@apple.com> |
|
1960 |
|
1961 Add IWebViewPrivate::registerURLSchemeAsSecure |
|
1962 |
|
1963 Fixes <http://webkit.org/b/35580> <rdar://problem/7706407> Expose |
|
1964 SecurityOrigin::registerURLSchemeAsSecure as WebKit SPI |
|
1965 |
|
1966 Reviewed by Tim Hatcher. |
|
1967 |
|
1968 * Interfaces/WebKit.idl: Touched to force a build. |
|
1969 |
|
1970 * Interfaces/IWebViewPrivate.idl: |
|
1971 * WebView.cpp: |
|
1972 (WebView::registerURLSchemeAsSecure): |
|
1973 * WebView.h: |
|
1974 Added. Calls through to SecurityOrigin::registerURLSchemeAsSecure. |
|
1975 |
|
1976 2010-03-01 Jon Honeycutt <jhoneycutt@apple.com> |
|
1977 |
|
1978 Remove Windows line endings from some files. |
|
1979 |
|
1980 Rubber-stamped by Alice Liu. |
|
1981 |
|
1982 * Interfaces/IWebEmbeddedView.idl: |
|
1983 |
|
1984 * WebCoreSupport/EmbeddedWidget.cpp: |
|
1985 (EmbeddedWidget::create): |
|
1986 (EmbeddedWidget::~EmbeddedWidget): |
|
1987 (EmbeddedWidget::createWindow): |
|
1988 (EmbeddedWidget::invalidateRect): |
|
1989 (EmbeddedWidget::setFrameRect): |
|
1990 (EmbeddedWidget::frameRectsChanged): |
|
1991 (EmbeddedWidget::setFocus): |
|
1992 (EmbeddedWidget::show): |
|
1993 (EmbeddedWidget::hide): |
|
1994 (EmbeddedWidget::windowClipRect): |
|
1995 (EmbeddedWidget::setParent): |
|
1996 (EmbeddedWidget::attachToWindow): |
|
1997 (EmbeddedWidget::detachFromWindow): |
|
1998 (EmbeddedWidget::didReceiveResponse): |
|
1999 (EmbeddedWidget::didReceiveData): |
|
2000 (EmbeddedWidget::didFinishLoading): |
|
2001 (EmbeddedWidget::didFail): |
|
2002 |
|
2003 * WebCoreSupport/EmbeddedWidget.h: |
|
2004 (EmbeddedWidget::EmbeddedWidget): |
|
2005 |
|
2006 2010-03-01 Jon Honeycutt <jhoneycutt@apple.com> |
|
2007 |
|
2008 Some WebKit DOMNode API is unimplemented. |
|
2009 https://bugs.webkit.org/show_bug.cgi?id=35554 |
|
2010 |
|
2011 Reviewed by Alice Liu. |
|
2012 |
|
2013 * DOMCoreClasses.cpp: |
|
2014 (DOMNode::nextSibling): |
|
2015 Create a DOMNode to wrap m_node's next sibling, and assign it to the |
|
2016 out param 'result'. |
|
2017 (DOMNode::insertBefore): |
|
2018 Query for the DOMNode for newChild, and return early if we fail. Query |
|
2019 refChild for DOMNode. Call insertBefore(), passing the newChild's |
|
2020 WebCore node and refChild's WebCore node (if refChild is non-null). If |
|
2021 we successfully insert the child, fill the result out param with |
|
2022 newChild, ref it, and return S_OK. Otherwise, return E_FAIL. |
|
2023 (DOMNode::removeChild): |
|
2024 Query oldChild for DOMNode. If we fail, return E_FAIL. Call |
|
2025 removeChild(), passing the node's WebCore node. If this fails, return |
|
2026 E_FAIL. Otherwise, fill the result out param with oldChild, ref it, and |
|
2027 return S_OK. |
|
2028 |
|
2029 2010-03-01 Jakob Petsovits <jpetsovits@rim.com> |
|
2030 |
|
2031 Reviewed by Adam Barth. |
|
2032 |
|
2033 Adapt to the new ZoomMode enum. |
|
2034 https://bugs.webkit.org/show_bug.cgi?id=35347 |
|
2035 |
|
2036 * WebFrame.cpp: |
|
2037 (WebFrame::setTextSizeMultiplier): |
|
2038 * WebView.cpp: |
|
2039 (WebView::setZoomMultiplier): |
|
2040 (WebView::zoomMultiplier): |
|
2041 (WebView::canMakeTextLarger): |
|
2042 (WebView::makeTextLarger): |
|
2043 (WebView::canMakeTextSmaller): |
|
2044 (WebView::makeTextSmaller): |
|
2045 (WebView::notifyPreferencesChanged): |
|
2046 |
|
2047 2010-02-26 Jon Honeycutt <jhoneycutt@apple.com> |
|
2048 |
|
2049 <rdar://problem/7703368> IWebUIDelegatePrivate::embeddedViewWithArguments |
|
2050 is passed wrong arguments |
|
2051 |
|
2052 Reviewed by Adam Roben. |
|
2053 |
|
2054 * Interfaces/IWebUIDelegatePrivate.idl: |
|
2055 Update copyright strings. Added a new key for the plug-in source URL. |
|
2056 |
|
2057 * Interfaces/WebKit.idl: |
|
2058 Update copyright strings. |
|
2059 |
|
2060 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2061 (WebFrameLoaderClient::createPlugin): |
|
2062 Pass the URL of the plug-in as the source URL. Pass the document's |
|
2063 base URI for the base URL. |
|
2064 |
|
2065 2010-02-23 Brady Eidson <beidson@apple.com> |
|
2066 |
|
2067 Reviewed by Tim Hatcher and Pavel Feldman. |
|
2068 |
|
2069 Regression (r55107) - WebInspector docking is busted. |
|
2070 https://bugs.webkit.org/show_bug.cgi?id=35274 |
|
2071 |
|
2072 * WebCoreSupport/WebInspectorClient.cpp: |
|
2073 (WebInspectorClient::showWindowWithoutNotifications): Swap the order of the "should attach?" check |
|
2074 to get the expected behavior. |
|
2075 |
|
2076 2010-02-23 Steve Block <steveblock@google.com> |
|
2077 |
|
2078 Reviewed by Darin Adler. |
|
2079 |
|
2080 Adds ChromeClient::cancelGeolocationPermissionRequestForFrame |
|
2081 https://bugs.webkit.org/show_bug.cgi?id=34962 |
|
2082 |
|
2083 This method is required so that a Geolocation object can cancel an |
|
2084 asynchronous permission request. This allows the chrome client to cancel |
|
2085 any UI it is showing for the permission request. |
|
2086 |
|
2087 * WebCoreSupport/WebChromeClient.h: |
|
2088 (WebChromeClient::cancelGeolocationPermissionRequestForFrame): |
|
2089 |
|
2090 2010-02-22 Steve Falkenburg <sfalken@apple.com> |
|
2091 |
|
2092 Reviewed by Darin Adler. |
|
2093 |
|
2094 WebKit on Windows should pick up system setting changes without requiring explicit API calls |
|
2095 https://bugs.webkit.org/show_bug.cgi?id=35269 |
|
2096 |
|
2097 * WebKit.vcproj/WebKit.def: Removed WebKitSystemParameterChanged. |
|
2098 * WebKit.vcproj/WebKit_debug.def: Removed WebKitSystemParameterChanged. |
|
2099 * WebKitGraphics.cpp: Removed WebKitSystemParameterChanged. |
|
2100 * WebKitGraphics.h: Removed WebKitSystemParameterChanged. |
|
2101 * WebView.cpp: |
|
2102 (systemParameterChanged): Call through to wkSystemFontSmoothingChanged for font changes. |
|
2103 (WebView::windowReceivedMessage): Pick up WM_SETTINGCHANGE from windowReceivedMessage. |
|
2104 |
|
2105 2010-02-22 Brady Eidson <beidson@apple.com> |
|
2106 |
|
2107 Reviewed by Tim Hatcher. |
|
2108 |
|
2109 Disable WebView docking to views that are too small. |
|
2110 <rdar://problem/7248409> and https://bugs.webkit.org/show_bug.cgi?id=35254 |
|
2111 |
|
2112 * WebCoreSupport/WebInspectorClient.cpp: |
|
2113 (WebInspectorClient::showWindowWithoutNotifications): No matter the preference, don't open the inspector |
|
2114 window attached if WebCore says it shouldn't be attached. |
|
2115 |
|
2116 2010-02-17 Steve Falkenburg <sfalken@apple.com> |
|
2117 |
|
2118 Reviewed by Dan Bernstein. |
|
2119 |
|
2120 WebKit on Windows needs a mechanism to listen for WM_SETTINGCHANGED messages |
|
2121 https://bugs.webkit.org/show_bug.cgi?id=35076 |
|
2122 |
|
2123 * WebKit.vcproj/WebKit.def: Added WebKitSystemParameterChanged. |
|
2124 * WebKit.vcproj/WebKit_debug.def: Added WebKitSystemParameterChanged. |
|
2125 * WebKitGraphics.cpp: |
|
2126 (WebKitSystemParameterChanged): Call through to wkSystemFontSmoothingChanged for font smoothing changes. |
|
2127 * WebKitGraphics.h: Added WebKitSystemParameterChanged. |
|
2128 |
|
2129 2010-02-17 Dmitry Titov <dimich@chromium.org> |
|
2130 |
|
2131 Reviewed by David Levin, Darin Fisher, Simon Hausmann. |
|
2132 |
|
2133 When a live iframe element is moved between pages, it still depends on the old page. |
|
2134 https://bugs.webkit.org/show_bug.cgi?id=34382 |
|
2135 |
|
2136 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2137 (WebFrameLoaderClient::didTransferChildFrameToNewDocument): |
|
2138 Added empty implementation of a new virtual method. |
|
2139 |
|
2140 * WebCoreSupport/WebFrameLoaderClient.h: |
|
2141 |
|
2142 2010-02-17 Kent Tamura <tkent@chromium.org> |
|
2143 |
|
2144 Reviewed by Eric Seidel. |
|
2145 |
|
2146 Introduces new Icon loading interface in order to support |
|
2147 asynchronous loading. |
|
2148 https://bugs.webkit.org/show_bug.cgi?id=32054 |
|
2149 |
|
2150 Add an empty implementation of ChromeClient::iconForFiles(). |
|
2151 |
|
2152 * WebCoreSupport/WebChromeClient.cpp: |
|
2153 (WebChromeClient::iconForFiles): |
|
2154 * WebCoreSupport/WebChromeClient.h: |
|
2155 |
|
2156 2010-02-17 Shinichiro Hamaji <hamaji@chromium.org> |
|
2157 |
|
2158 Unreviewed. Touch WebKit.idl to fix the build. |
|
2159 |
|
2160 [Win] Implement test functions for printing |
|
2161 https://bugs.webkit.org/show_bug.cgi?id=34570 |
|
2162 |
|
2163 * Interfaces/WebKit.idl: |
|
2164 |
|
2165 2010-02-17 Shinichiro Hamaji <hamaji@chromium.org> |
|
2166 |
|
2167 Reviewed by Eric Seidel. |
|
2168 |
|
2169 [Win] Implement test functions for printing |
|
2170 https://bugs.webkit.org/show_bug.cgi?id=34570 |
|
2171 |
|
2172 * Interfaces/IWebFramePrivate.idl: |
|
2173 * WebFrame.cpp: |
|
2174 (WebFrame::pageNumberForElementById): |
|
2175 (WebFrame::numberOfPages): |
|
2176 * WebFrame.h: |
|
2177 |
|
2178 2010-02-16 Darin Adler <darin@apple.com> |
|
2179 |
|
2180 Reviewed by Sam Weinig. |
|
2181 |
|
2182 Generalize delayed plug-in start for background tabs for use for other media |
|
2183 https://bugs.webkit.org/show_bug.cgi?id=34981 |
|
2184 |
|
2185 * WebView.cpp: |
|
2186 (WebView::setCanStartPlugins): Change to call setCanStartMedia. |
|
2187 In a later patch we can change the of the public function in the IDL file too, |
|
2188 but for now this should be enough. |
|
2189 |
|
2190 2010-02-15 Adam Roben <aroben@apple.com> |
|
2191 |
|
2192 Add IWebFramePrivate::visibleContentRect |
|
2193 |
|
2194 Fixes <http://webkit.org/b/34956> Add API to get a WebFrame's visible |
|
2195 content rect |
|
2196 |
|
2197 Reviewed by Jon Honeycutt. |
|
2198 |
|
2199 * Interfaces/IWebFramePrivate.idl: Added visibleContentRect. |
|
2200 |
|
2201 * Interfaces/WebKit.idl: Touched to force a build. |
|
2202 |
|
2203 * WebFrame.cpp: |
|
2204 (WebFrame::visibleContentRect): |
|
2205 * WebFrame.h: |
|
2206 Added. Calls through to FrameView::visibleContentRect. |
|
2207 |
|
2208 2010-02-12 Brian Weinstein <bweinstein@apple.com> |
|
2209 |
|
2210 Reviewed by Adam Roben. |
|
2211 |
|
2212 onmouseout fired when moving over tooltip on Windows |
|
2213 https://bugs.webkit.org/show_bug.cgi?id=16794 |
|
2214 <rdar://5762038>. |
|
2215 |
|
2216 Add WS_EX_TRANSPARENT to out tooltip HWND so it isn't subject to hit testing, and when |
|
2217 you mouse over the tooltip, it doesn't send a mouseout to the web content. |
|
2218 |
|
2219 * WebView.cpp: |
|
2220 (WebView::initializeToolTipWindow): Add WS_EX_TRANSPARENT. |
|
2221 |
|
2222 2010-02-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> |
|
2223 |
|
2224 Reviewed by Kenneth Rohde Christiansen. |
|
2225 |
|
2226 Support frameset flattening |
|
2227 https://bugs.webkit.org/show_bug.cgi?id=32717 |
|
2228 |
|
2229 Add support for enabling/disabling FrameSet Flattening on the Windows port. |
|
2230 |
|
2231 * Interfaces/IWebPreferencesPrivate.idl: |
|
2232 * WebPreferenceKeysPrivate.h: |
|
2233 * WebPreferences.cpp: |
|
2234 (WebPreferences::initializeDefaultSettings): |
|
2235 (WebPreferences::isFrameSetFlatteningEnabled): |
|
2236 (WebPreferences::setFrameSetFlatteningEnabled): |
|
2237 * WebPreferences.h: |
|
2238 * WebView.cpp: |
|
2239 (WebView::notifyPreferencesChanged): |
|
2240 |
|
2241 2010-02-10 Adam Roben <aroben@apple.com> |
|
2242 |
|
2243 Remove unnecessary #include of shfolder.h |
|
2244 |
|
2245 shfolder.h has been deprecated in newer versions of the Windows SDK. |
|
2246 |
|
2247 Fixes <http://webkit.org/b/34803> WebPreferences.cpp fails to compile |
|
2248 under VS2010 RC due to #include of shfolder.h. |
|
2249 |
|
2250 Reviewed by Darin Adler. |
|
2251 |
|
2252 * WebPreferences.cpp: Removed #include. |
|
2253 |
|
2254 2010-02-08 Charlie Reis <creis@chromium.org> |
|
2255 |
|
2256 Reviewed by Darin Adler. |
|
2257 |
|
2258 onbeforeunload not called at window close + frame or iframe focused |
|
2259 https://bugs.webkit.org/show_bug.cgi?id=27481 |
|
2260 |
|
2261 Chromium and WebKit on Windows will now fire beforeunload handlers |
|
2262 even if an inner frame is focused. |
|
2263 |
|
2264 Layout tests aren't able to test this bug, since it requires closing |
|
2265 the actual browser window, not calling window.close(). Instead, |
|
2266 test with WebCore/manual-tests/onbeforeunload-focused-iframe.html. |
|
2267 |
|
2268 * WebView.cpp: |
|
2269 (WebView::shouldClose): |
|
2270 |
|
2271 2010-02-08 Brent Fulgham <bfulgham@webkit.org> |
|
2272 |
|
2273 Reviewed by Adam Roben. |
|
2274 |
|
2275 Include header position in World Transform used for plugin positioning. |
|
2276 https://bugs.webkit.org/show_bug.cgi?id=34709 |
|
2277 |
|
2278 * WebFrame.cpp: |
|
2279 (WebFrame::spoolPage): Correct WinCairo plugin print positioning to |
|
2280 account for header size. Existing code ignored this, causing |
|
2281 plugins to overlay other elements. |
|
2282 |
|
2283 2010-02-04 Alice Liu <alice.liu@apple.com> |
|
2284 |
|
2285 Reviewed by Jon Honeycutt. |
|
2286 |
|
2287 https://bugs.webkit.org/show_bug.cgi?id=34612 " MSAA: accSelect returns error |
|
2288 codes for most elements that arent listbox or menupopup related" |
|
2289 <rdar://problem/7436861> |
|
2290 |
|
2291 * AccessibleBase.cpp: |
|
2292 (AccessibleBase::accSelect): |
|
2293 - Stop sending E_INVALIDARG for elements that request TAKE_SELECTION that |
|
2294 aren't beneath listboxes or menupopups. This was too restrictive since |
|
2295 any element can be selectable. |
|
2296 - Correct the misinterpretation of MSDN's stipulation of situations involving |
|
2297 adding, removing, and extending selection on single-select elements |
|
2298 |
|
2299 2010-02-04 Brent Fulgham <bfulgham@webkit.org> |
|
2300 |
|
2301 Reviewed by Adam Roben. |
|
2302 |
|
2303 Properly handle margin settings when printing Plugins in WinCairo. |
|
2304 https://bugs.webkit.org/show_bug.cgi?id=34613 |
|
2305 |
|
2306 * WebFrame.cpp: |
|
2307 (WebFrame::spoolPage): Adjust the GraphicsContext passed to the |
|
2308 paintContents method so that the World Transform is properly |
|
2309 positioned to account for margin settings at the time that |
|
2310 PluginViewWin.cpp processes the drawing operations. |
|
2311 |
|
2312 2010-02-04 Brent Fulgham <bfulgham@webkit.org> |
|
2313 |
|
2314 Reviewed by Adam Roben. |
|
2315 |
|
2316 Properly handle margin settings in WinCairo. |
|
2317 https://bugs.webkit.org/show_bug.cgi?id=34545 |
|
2318 |
|
2319 * WebFrame.cpp: |
|
2320 (scaleFactor): Require the margin information as an input |
|
2321 parameter, and use them when computing the scaling factor. |
|
2322 (WebFrame::drawHeader): Pass margin size to scaleFactor. |
|
2323 (WebFrame::drawFooter): Pass margin size to scaleFactor. |
|
2324 (WebFrame::spoolPage): |
|
2325 1. Pass margin size to scaleFactor. |
|
2326 2. Recognize that the return value of printerMarginRect is |
|
2327 already in device units, and therefore scale it so that |
|
2328 the Cairo drawing is correct. |
|
2329 3. Remove scaling call for margins in GDI code, as it is |
|
2330 already in scaled units. |
|
2331 |
|
2332 2010-02-03 Brian Weinstein <bweinstein@apple.com> |
|
2333 |
|
2334 Reviewed by Steve Falkenburg. |
|
2335 |
|
2336 Scroll does not work with IBM Thinkpad. |
|
2337 <https://bugs.webkit.org/show_bug.cgi?id=14227> |
|
2338 <rdar://7142545> |
|
2339 |
|
2340 When initializing the WebView, add two scrollbar Windows inside of |
|
2341 our WebView, to allow it to receive WM_VSCROLL and WM_HSCROLL events. |
|
2342 (similar to what Firefox did in: <https://bugzilla.mozilla.org/show_bug.cgi?id=507222>. |
|
2343 |
|
2344 Only do this if the user has installed some kind of Trackpoint driver, using an algorithm |
|
2345 like <https://bugzilla.mozilla.org/show_bug.cgi?id=514927>. |
|
2346 |
|
2347 Also, add code to handle WM_HSCROLL and WM_VSCROLL messages to scroll |
|
2348 the WebView. |
|
2349 |
|
2350 * WebView.cpp: |
|
2351 (WebView::verticalScroll): Handle the WM_VSCROLL messages, and scroll up and down |
|
2352 by lines or pages. |
|
2353 (WebView::horizontalScroll): Handle the WM_HSCROLL messages, and scroll left or right |
|
2354 by lines or pages. |
|
2355 (WebView::WebViewWndProc): Add cases for WM_VSCROLL and WM_HSCROLL. |
|
2356 (WebView::initWithFrame): Call shouldInitializeTrackPointHack, and if we should, create |
|
2357 vertical and horizontal scrollbars to receive WM_VSCROLL and WM_HSCROLL messages. |
|
2358 (WebView::shouldInitializeTrackPointHack): Check if there is a registry key for |
|
2359 the some kind of IBM Trackpoint driver. |
|
2360 * WebView.h: |
|
2361 |
|
2362 2010-02-02 Steve Falkenburg <sfalken@apple.com> |
|
2363 |
|
2364 Reviewed by Darin Adler. |
|
2365 |
|
2366 Copyright year updating for Windows version resources should be automatic |
|
2367 https://bugs.webkit.org/show_bug.cgi?id=34503 |
|
2368 |
|
2369 * WebKit.vcproj/WebKit.rc: |
|
2370 |
|
2371 2010-02-02 Adam Roben <aroben@apple.com> |
|
2372 |
|
2373 Stop copying WebCore's IDL files from SRCROOT to OBJROOT |
|
2374 |
|
2375 WebKit doesn't use these anymore (as of r52921). |
|
2376 |
|
2377 Part of Bug 34496: Clean up WebCore's IDL/script copying |
|
2378 <https://bugs.webkit.org/show_bug.cgi?id=34496> |
|
2379 |
|
2380 Reviewed by Steve Falkenburg. |
|
2381 |
|
2382 * WebKit.vcproj/WebKit.make: |
|
2383 |
|
2384 2010-01-29 Gavin Barraclough <barraclough@apple.com> |
|
2385 |
|
2386 Reviewed by Sam Weinig + Oliver Hunt. |
|
2387 |
|
2388 Bug 34346 - With JSC bindings, make processingUserGesture work with events in Isolated Worlds |
|
2389 |
|
2390 Pass processeing user gensture flag to media play/pause methods. |
|
2391 |
|
2392 * FullscreenVideoController.cpp: |
|
2393 (FullscreenVideoController::play): |
|
2394 (FullscreenVideoController::pause): |
|
2395 |
|
2396 2010-01-29 Brian Weinstein <bweinstein@apple.com> |
|
2397 |
|
2398 Reviewed by Adam Roben. |
|
2399 |
|
2400 Drag and Drop: Windows uses "stop" sign as cursor when dragging |
|
2401 https://bugs.webkit.org/show_bug.cgi?id=34305 |
|
2402 <rdar://problem/7589672> |
|
2403 |
|
2404 Add a preference in WebKit (that defaults to false), for whether or not |
|
2405 we should show the custom cursors during drag and drop. However, this is |
|
2406 currently only used on Windows, and only used to hide the "drop not allowed" |
|
2407 icon inside the WebView is the preference is set to true. |
|
2408 |
|
2409 This will be off by default, so no change in behavior. |
|
2410 |
|
2411 * Interfaces/IWebPreferencesPrivate.idl: Added new functions. |
|
2412 * Interfaces/WebKit.idl: Touched to force Interfaces build. |
|
2413 * WebDropSource.cpp: |
|
2414 (WebDropSource::GiveFeedback): Implementation of conditional showing cursor |
|
2415 logic. |
|
2416 * WebPreferenceKeysPrivate.h: Added new preference key. |
|
2417 * WebPreferences.cpp: Added new functions. |
|
2418 (WebPreferences::setCustomDragCursorsEnabled): |
|
2419 (WebPreferences::customDragCursorsEnabled): |
|
2420 * WebPreferences.h: Added new functions. |
|
2421 |
|
2422 2010-01-28 Jon Honeycutt <jhoneycutt@apple.com> |
|
2423 |
|
2424 MSAA: Crash when posting a notification for a detached object |
|
2425 |
|
2426 https://bugs.webkit.org/show_bug.cgi?id=34309 |
|
2427 <rdar://problem/7409759> |
|
2428 |
|
2429 Reviewed by Darin Adler. |
|
2430 |
|
2431 * AccessibleBase.cpp: |
|
2432 (AccessibleBase::QueryService): |
|
2433 If an unrecognized service ID is passed, return early. Otherwise, return |
|
2434 the result of QueryInterface. |
|
2435 (AccessibleBase::QueryInterface): |
|
2436 Add static_casts. Check for new UUIDs. |
|
2437 (AccessibleBase::isSameObject): |
|
2438 Query the object for AccessibleBase. Return whether the pointers or the |
|
2439 wrapped objects match. |
|
2440 |
|
2441 * AccessibleBase.h: |
|
2442 Give the class a UUID so we can query for it in isSameObject(). Inherit |
|
2443 from IAccessibleComparable; inherit from IServiceProvider so clients can |
|
2444 use QueryService to query for a custom interface. |
|
2445 |
|
2446 * Interfaces/AccessibleComparable.idl: Added. Declares a function that |
|
2447 can be called to compare to accessible objects. |
|
2448 |
|
2449 * Interfaces/WebKit.idl: |
|
2450 Include the new IDL. |
|
2451 |
|
2452 * WebKit.vcproj/Interfaces.vcproj: |
|
2453 Add the new IDL to the project. |
|
2454 |
|
2455 2010-01-27 Aaron Boodman <aa@chromium.org> |
|
2456 |
|
2457 Expand NotificationCenter::checkPermission() interface. |
|
2458 It now passes the full URL instead of just the origin. |
|
2459 |
|
2460 https://bugs.webkit.org/show_bug.cgi?id=34238 |
|
2461 |
|
2462 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: |
|
2463 (WebDesktopNotificationsDelegate::checkPermission): |
|
2464 * WebCoreSupport/WebDesktopNotificationsDelegate.h: |
|
2465 |
|
2466 2010-01-27 Adam Roben <aroben@apple.com> |
|
2467 |
|
2468 Make it possible to instantiate WebSerializedJSValue using |
|
2469 WebKitCreateInstance |
|
2470 |
|
2471 Reviewed by Dave Hyatt. |
|
2472 |
|
2473 * ForEachCoClass.h: |
|
2474 * WebKitClassFactory.cpp: |
|
2475 Added WebSerializedJSValue. |
|
2476 |
|
2477 2010-01-26 Steve Falkenburg <sfalken@apple.com> |
|
2478 |
|
2479 Reviewed by Oliver Hunt. |
|
2480 |
|
2481 Windows build references non-existent include paths |
|
2482 https://bugs.webkit.org/show_bug.cgi?id=34175 |
|
2483 |
|
2484 * WebKit.vcproj/WebKit.vcproj: |
|
2485 |
|
2486 2010-01-25 Steve Falkenburg <sfalken@apple.com> |
|
2487 |
|
2488 Reviewed by Simon Fraser. |
|
2489 |
|
2490 A WebGeolocationControllerClient is leaked for every WebView |
|
2491 https://bugs.webkit.org/show_bug.cgi?id=34145 |
|
2492 |
|
2493 * WebCoreSupport/WebGeolocationControllerClient.cpp: |
|
2494 (WebGeolocationControllerClient::geolocationDestroyed): Added. |
|
2495 * WebCoreSupport/WebGeolocationControllerClient.h: |
|
2496 |
|
2497 2010-01-23 Dan Bernstein <mitz@apple.com> |
|
2498 |
|
2499 Reviewed by Maciej Stachowiak. |
|
2500 |
|
2501 <rdar://problem/7569820> svg/custom/text-zoom.xhtml fails on Windows |
|
2502 https://bugs.webkit.org/show_bug.cgi?id=34006 |
|
2503 |
|
2504 * WebPreferences.cpp: |
|
2505 (WebPreferences::initializeDefaultSettings): Added WebKitZoomsTextOnlyPreferenceKey |
|
2506 with a default value of true. |
|
2507 |
|
2508 2010-01-20 Steve Falkenburg <sfalken@apple.com> |
|
2509 |
|
2510 Reviewed by Sam Weinig. |
|
2511 |
|
2512 Add missing implementation for WebGeolocationPosition::initWithTimestamp. |
|
2513 |
|
2514 * WebGeolocationPosition.cpp: |
|
2515 (WebGeolocationPosition::initWithTimestamp): Implemented. |
|
2516 |
|
2517 2010-01-20 Jon Honeycutt <jhoneycutt@apple.com> |
|
2518 |
|
2519 MSAA: accSelect() is not implemented |
|
2520 |
|
2521 https://bugs.webkit.org/show_bug.cgi?id=33918 |
|
2522 <rdar://problem/7436861> |
|
2523 |
|
2524 Reviewed by Darin Adler. |
|
2525 |
|
2526 * AccessibleBase.cpp: |
|
2527 (AccessibleBase::accSelect): |
|
2528 If there is an invalid combination of state flags, return early. If the |
|
2529 caller passed the "take focus" flag, focus the object. If the "take |
|
2530 selection" flag was passed, check whether the parent object is an |
|
2531 AccessibilityListBox; if so, call the object's setSelectedChildren() |
|
2532 function. If the parent is an AccessibilityMenuListPopup, call the |
|
2533 child object's setSelected() function. Otherwise, if the parent is some |
|
2534 other, unsupported object, return early. |
|
2535 If the selection flags include "add", "remove", or "extend" selection, |
|
2536 and the parent object is not multi-selectable, return early. Otherwise, |
|
2537 set or unset the child's selected flag based on the passed flag. |
|
2538 |
|
2539 2010-01-20 Steve Falkenburg <sfalken@apple.com> |
|
2540 |
|
2541 Reviewed by Darin Adler and Adam Roben. |
|
2542 |
|
2543 Feature defines are difficult to maintain on Windows builds |
|
2544 https://bugs.webkit.org/show_bug.cgi?id=33883 |
|
2545 |
|
2546 FeatureDefines.vsprops are now maintained in a way similar to |
|
2547 Configurations/FeatureDefines.xcconfig, with the added advantage |
|
2548 of having a single FeatureDefines file across all projects. |
|
2549 |
|
2550 * WebKit.vcproj/Interfaces.vcproj: Add FeatureDefines.vsprops inherited property sheet. |
|
2551 * WebKit.vcproj/WebKit.sln: Set up Cairo configuration for WebCoreGenerated. |
|
2552 * WebKit.vcproj/WebKit.vcproj: Remove ENABLE_ preprocessor definitions. |
|
2553 Add FeatureDefines.vsprops inherited property sheet. |
|
2554 * WebKit.vcproj/WebKitGUID.vcproj: Add FeatureDefines.vsprops inherited property sheet. |
|
2555 |
|
2556 2010-01-17 Jon Honeycutt <jhoneycutt@apple.com> |
|
2557 |
|
2558 MSAA: The child <option> elements of a non-multiple <select> are not |
|
2559 exposed |
|
2560 |
|
2561 https://bugs.webkit.org/show_bug.cgi?id=33773 |
|
2562 <rdar://problem/7550556> |
|
2563 |
|
2564 Reviewed by Alice Liu. |
|
2565 |
|
2566 * AccessibleBase.cpp: |
|
2567 (AccessibleBase::get_accState): |
|
2568 If the object is invisible, set the invisible state flag. If the object |
|
2569 is collapsed, set the collapsed state. If the object is a combo box, |
|
2570 set the has popup flag, and if it's not collapsed, set the expanded |
|
2571 flag. |
|
2572 (MSAARole): |
|
2573 Add new WebCore to MSAA role mappings. |
|
2574 |
|
2575 * WebCoreLocalizedStrings.cpp: |
|
2576 (WebCore::AXMenuListActionVerb): |
|
2577 Return the action verb that Firefox uses for <select> elements with |
|
2578 popups. |
|
2579 (WebCore::AXMenuListPopupActionVerb): |
|
2580 Return the verb that Firefox uses for a popup list. |
|
2581 |
|
2582 2010-01-19 John Sullivan <sullivan@apple.com> |
|
2583 |
|
2584 https://bugs.webkit.org/show_bug.cgi?id=33854 |
|
2585 Would like a variant of WebHTMLRepresentation's searchForLabelsBeforeElement that returns |
|
2586 more info about where the result was found |
|
2587 |
|
2588 Reviewed by Darin Adler |
|
2589 |
|
2590 * Interfaces/IWebHTMLRepresentation.idl: |
|
2591 Created variant of searchForLabels that includes additional in/out parameters resultDistance and resultIsInCellAbove. |
|
2592 |
|
2593 * Interfaces/WebKit.idl: |
|
2594 Touched in order to get other idl change to propagate correctly. |
|
2595 |
|
2596 * WebHTMLRepresentation.cpp: |
|
2597 (WebHTMLRepresentation::deprecatedSearchForLabels): |
|
2598 Renamed since iDL doesn't support two functions with the same name but different signatures. |
|
2599 (WebHTMLRepresentation::searchForLabels): |
|
2600 Implemented variant of searchForLabels that includes additional in/out parameters resultDistance and resultIsInCellAbove. |
|
2601 |
|
2602 * WebHTMLRepresentation.h: |
|
2603 Declared variant of searchForLabels that includes additional in/out parameters resultDistance and resultIsInCellAbove. |
|
2604 |
|
2605 2010-01-19 Adam Roben <aroben@apple.com> |
|
2606 |
|
2607 Windows build fix |
|
2608 |
|
2609 * WebScriptWorld.cpp: Added missing #include. |
|
2610 |
|
2611 2010-01-19 Dave Hyatt <hyatt@apple.com> |
|
2612 |
|
2613 Build bustage fix. Make sure the newly added scriptWorldForGlobalContext function is [local] in the IDL. |
|
2614 |
|
2615 * Interfaces/IWebScriptWorld.idl: |
|
2616 |
|
2617 2010-01-19 Dave Hyatt <hyatt@apple.com> |
|
2618 |
|
2619 Reviewed by Adam Roben. |
|
2620 |
|
2621 Add an API to obtain a WebScriptWorld from a JSGlobalContextRef. |
|
2622 |
|
2623 * Interfaces/IWebScriptWorld.idl: |
|
2624 * WebScriptWorld.cpp: |
|
2625 (WebScriptWorld::scriptWorldForGlobalContext): |
|
2626 * WebScriptWorld.h: |
|
2627 |
|
2628 2010-01-18 Adam Roben <aroben@apple.com> |
|
2629 |
|
2630 Add IWebViewPrivate::setDomainRelaxationForbiddenForURLScheme |
|
2631 |
|
2632 WebKit/win part of fixing <http://webkit.org/b/33806> |
|
2633 <rdar://problem/7552837> Would like API to disallow setting of |
|
2634 document.domain for pages with certain URL schemes |
|
2635 |
|
2636 Reviewed by Sam Weinig. |
|
2637 |
|
2638 * Interfaces/IWebViewPrivate.idl: Added |
|
2639 setDomainRelaxationForbiddenForURLScheme. |
|
2640 |
|
2641 * Interfaces/WebKit.idl: Touched to force a build. |
|
2642 |
|
2643 * WebView.cpp: |
|
2644 (WebView::setDomainRelaxationForbiddenForURLScheme): |
|
2645 * WebView.h: |
|
2646 Added. Calls through to SecurityOrigin. |
|
2647 |
|
2648 2010-01-18 Chris Marrin <cmarrin@apple.com> |
|
2649 |
|
2650 Reviewed by Darin Adler. |
|
2651 |
|
2652 Use new setScrollFrame API |
|
2653 https://bugs.webkit.org/show_bug.cgi?id=32279 |
|
2654 |
|
2655 * WebView.cpp: |
|
2656 (WebView::updateRootLayerContents): |
|
2657 |
|
2658 2010-01-15 Jon Honeycutt <jhoneycutt@apple.com> |
|
2659 |
|
2660 MSAA: Screen rect for <option> elements is always the zero rect |
|
2661 |
|
2662 https://bugs.webkit.org/show_bug.cgi?id=33758 |
|
2663 |
|
2664 Reviewed by Oliver Hunt. |
|
2665 |
|
2666 * AccessibleBase.cpp: |
|
2667 (AccessibleBase::accLocation): |
|
2668 Use elementRect() rather than boundingBoxRect(), which |
|
2669 AccessibilityListBoxOption overrides. |
|
2670 |
|
2671 2010-01-15 Jon Honeycutt <jhoneycutt@apple.com> |
|
2672 |
|
2673 get_accParent should try to retrieve parent AccessibilityObject, before |
|
2674 calling upon window |
|
2675 |
|
2676 https://bugs.webkit.org/show_bug.cgi?id=22893 |
|
2677 |
|
2678 Reviewed by Darin Adler. |
|
2679 |
|
2680 * AccessibleBase.cpp: |
|
2681 (AccessibleBase::get_accParent): |
|
2682 If the object has a parent object, return it. If not, return the |
|
2683 accessible for the WebView window. |
|
2684 |
|
2685 2010-01-12 Jon Honeycutt <jhoneycutt@apple.com> |
|
2686 |
|
2687 MSAA: selected, selectable, extended selectable, and multiple |
|
2688 selectable states are not reported |
|
2689 |
|
2690 https://bugs.webkit.org/show_bug.cgi?id=33574 |
|
2691 <rdar://problem/7536826> |
|
2692 |
|
2693 Reviewed by Darin Adler. |
|
2694 |
|
2695 * AccessibleBase.cpp: |
|
2696 (AccessibleBase::get_accState): |
|
2697 Remove the call to isMultiSelect(). Call the correctly-named |
|
2698 isMultiSelectable(), and if it returns true, set both the "extended |
|
2699 selectable" and "multiple selectable" states. Check whether the object |
|
2700 is selected or selectable, and report those states. |
|
2701 |
|
2702 2010-01-13 Steve Falkenburg <sfalken@apple.com> |
|
2703 |
|
2704 Reviewed by Adam Roben. |
|
2705 |
|
2706 Add additional Geolocation interfaces in WebKit for Windows. |
|
2707 |
|
2708 * Interfaces/IWebGeolocationPolicyListener.idl: Added. |
|
2709 * Interfaces/IWebUIDelegatePrivate.idl: Add decidePolicyForGeolocationRequest to IWebUIDelegatePrivate2. |
|
2710 Append since this version hasn't shipped. |
|
2711 * Interfaces/WebKit.idl: Add include of IWebGeolocationPolicyListener.idl. |
|
2712 * WebCoreSupport/WebChromeClient.cpp: |
|
2713 (WebChromeClient::requestGeolocationPermissionForFrame): Call into decidePolicyForGeolocationRequest. |
|
2714 * WebCoreSupport/WebGeolocationControllerClient.cpp: |
|
2715 (WebGeolocationControllerClient::WebGeolocationControllerClient): Moved *. |
|
2716 * WebGeolocationPolicyListener.cpp: Added. |
|
2717 * WebGeolocationPolicyListener.h: Added. |
|
2718 * WebKit.vcproj/Interfaces.vcproj: Added IWebGeolocationPolicyListener. |
|
2719 * WebKit.vcproj/WebKit.vcproj: Added WebGeolocationPolicyListener, WebGeolocationPolicyListener. |
|
2720 * WebView.cpp: |
|
2721 (WebView::setGeolocationProvider): Removed extraneous STDMETHODCALLTYPE. |
|
2722 (WebView::geolocationProvider): Removed extraneous STDMETHODCALLTYPE. |
|
2723 (WebView::geolocationDidChangePosition): Removed extraneous STDMETHODCALLTYPE. |
|
2724 (WebView::geolocationDidFailWithError): Removed extraneous STDMETHODCALLTYPE. |
|
2725 |
|
2726 2010-01-12 Steve Falkenburg <sfalken@apple.com> |
|
2727 |
|
2728 Reviewed by Adam Roben, Sam Weinig. |
|
2729 |
|
2730 Add Geolocation interfaces in WebKit for Windows. |
|
2731 |
|
2732 * ForEachCoClass.h: Added WebGeolocationPosition. |
|
2733 * Interfaces/IWebError.idl: |
|
2734 * Interfaces/IWebGeolocationPosition.idl: Added. |
|
2735 * Interfaces/IWebGeolocationProvider.idl: Added. |
|
2736 * Interfaces/IWebViewPrivate.idl: |
|
2737 * Interfaces/WebKit.idl: |
|
2738 * WebCoreSupport/WebGeolocationControllerClient.cpp: Added. |
|
2739 (WebGeolocationControllerClient::WebGeolocationControllerClient): |
|
2740 (WebGeolocationControllerClient::startUpdating): |
|
2741 (WebGeolocationControllerClient::stopUpdating): |
|
2742 (WebGeolocationControllerClient::lastPosition): |
|
2743 * WebCoreSupport/WebGeolocationControllerClient.h: Added. |
|
2744 * WebGeolocationPosition.cpp: Added IWebGeolocationPosition implementation. |
|
2745 * WebGeolocationPosition.h: Added IWebGeolocationPosition implementation. |
|
2746 * WebKit.vcproj/Interfaces.vcproj: Added IWebGeolocationPosition.idl, IWebGeolocationProvider.idl, |
|
2747 relocated JavaScriptCoreAPITypes.idl, WebScrollbarTypes.idl |
|
2748 * WebKit.vcproj/WebKit.vcproj: Added WebGeolocationPosition.h/.cpp, WebGeolocationControllerClient.h/cpp, |
|
2749 * WebKitClassFactory.cpp: Add WebGeolocationPosition include. |
|
2750 * WebView.cpp: |
|
2751 (WebView::initWithFrame): Create WebGeolocationControllerClient if Geolocation is enabled. |
|
2752 (WebView::setGeolocationProvider): Added Geolocation-specific method. |
|
2753 (WebView::geolocationProvider): Added Geolocation-specific method. |
|
2754 (WebView::geolocationDidChangePosition): Added Geolocation-specific method. |
|
2755 (WebView::geolocationDidFailWithError): Added Geolocation-specific method. |
|
2756 * WebView.h: Added setGeolocationProvider, geolocationProvider, geolocationDidChangePosition, geolocationDidFailWithError. |
|
2757 |
|
2758 2010-01-11 Jon Honeycutt <jhoneycutt@apple.com> |
|
2759 |
|
2760 MSAA: Accessibility role of <select multiple> elements is wrong |
|
2761 |
|
2762 https://bugs.webkit.org/show_bug.cgi?id=33522 |
|
2763 |
|
2764 Reviewed by Darin Adler. |
|
2765 |
|
2766 * AccessibleBase.cpp: |
|
2767 (MSAARole): |
|
2768 Map the WebCore::ListBox and WebCore::ListBoxOption roles to the MSAA |
|
2769 "list" and "list item" roles. |
|
2770 |
|
2771 2010-01-08 Brent Fulgham <bfulgham@webkit.org> |
|
2772 |
|
2773 Build fix, no review. |
|
2774 |
|
2775 Protect video control logic inside ENABLE(VIDEO). |
|
2776 |
|
2777 * WebView.cpp: |
|
2778 (WebView::enterFullscreenForNode): |
|
2779 (WebView::exitFullscreen): |
|
2780 * WebView.h: |
|
2781 |
|
2782 2010-01-08 Chris Marrin <cmarrin@apple.com> |
|
2783 |
|
2784 Reviewed by Adam Roben. |
|
2785 |
|
2786 Implement full-screen video for Windows |
|
2787 https://bugs.webkit.org/show_bug.cgi?id=31318 |
|
2788 |
|
2789 This adds a full-screen controller, FullscreenVideoController, |
|
2790 which manages going in and out of full-screen. The actual |
|
2791 full-screen window is created and managed by logic added |
|
2792 to QTMovieWin. FullscreenVideoController also creates and |
|
2793 manages a HUD. The HUD renders and manages events to |
|
2794 control the playing video. Movie controller events go to |
|
2795 FullscreenVideoController which then sends them to HTMLMediaElement, |
|
2796 which is passed to the controller by WebView, which gets the call |
|
2797 to go into full-screen mode from HTMLMediaElement via |
|
2798 ChromeClient. |
|
2799 |
|
2800 I've also updated the icons so the related sets (Play/Pause and |
|
2801 volume high/volume low/exit fullscreen) are the same size. This |
|
2802 allows me to position them using common code. |
|
2803 |
|
2804 * WebCoreSupport/WebChromeClient.cpp: |
|
2805 (WebChromeClient::supportsFullscreenForNode): |
|
2806 (WebChromeClient::enterFullscreenForNode): |
|
2807 (WebChromeClient::exitFullscreenForNode): |
|
2808 * WebCoreSupport/WebChromeClient.h: |
|
2809 * WebKit.vcproj/WebKit.vcproj: |
|
2810 * WebKit.vcproj/fsVideoAudioVolumeHigh.png: |
|
2811 * WebKit.vcproj/fsVideoAudioVolumeLow.png: |
|
2812 * WebKit.vcproj/fsVideoExitFullscreen.png: |
|
2813 * WebKit.vcproj/fsVideoPause.png: |
|
2814 * WebKit.vcproj/fsVideoPlay.png: |
|
2815 * WebKitDLL.cpp: |
|
2816 (loadResourceIntoBuffer): |
|
2817 * FullscreenVideoController.cpp: Added. |
|
2818 * FullscreenVideoController.h: Added. |
|
2819 * WebView.cpp: |
|
2820 (WebView::enterFullscreenForNode): |
|
2821 (WebView::exitFullscreen): |
|
2822 * WebView.h: |
|
2823 |
|
2824 2010-01-08 Brent Fulgham <bfulgham@webkit.org> |
|
2825 |
|
2826 Unreviewed correction. |
|
2827 |
|
2828 Accidentally left unnecessary modification to hdcFromContext |
|
2829 in when landing r52995. |
|
2830 |
|
2831 * WebFrame.cpp: |
|
2832 (hdcFromContext): Back out unneeded modification. |
|
2833 |
|
2834 2010-01-08 Brent Fulgham <bfulgham@webkit.org> |
|
2835 |
|
2836 Reviewed by Adam Roben. |
|
2837 |
|
2838 Use correct cairo surface data type for handling print operations. |
|
2839 https://bugs.webkit.org/show_bug.cgi?id=33022. |
|
2840 |
|
2841 * WebFrame.cpp: |
|
2842 (scaleFactor): Handle 'scale = 0' case. |
|
2843 (WebFrame::spoolPage): Use scaleFactor helper function. Account for |
|
2844 margin size in region passed to header/footer routines. |
|
2845 (WebFrame::spoolPages): Properly clean up Cairo surface. |
|
2846 |
|
2847 2010-01-07 Kent Tamura <tkent@chromium.org> |
|
2848 |
|
2849 Reviewed by Maciej Stachowiak. |
|
2850 |
|
2851 Remove COM code generation files. |
|
2852 https://bugs.webkit.org/show_bug.cgi?id=32854 |
|
2853 |
|
2854 * WebKit.vcproj/DerivedSources.make: Removed. |
|
2855 * WebKit.vcproj/build-generated-files.sh: Removed. |
|
2856 |
|
2857 2010-01-05 Adam Roben <aroben@apple.com> |
|
2858 |
|
2859 Make IWebView::close and destroying a WebView's HWND optional for |
|
2860 WebKit clients |
|
2861 |
|
2862 WebView will now take care of these operations itself when its last |
|
2863 reference is released, if they haven't already been done. |
|
2864 |
|
2865 IWebView::close now also destroys the WebView's HWND. All WebKit |
|
2866 clients were already performing these operations in succession anyway, |
|
2867 or were attempting to by calling IWebView::close then destroying the |
|
2868 WebView's host window (which actually resulted in the WebView's HWND |
|
2869 leaking, and the crash in the below bug). |
|
2870 |
|
2871 Fixes <rdar://problem/7374218> <http://webkit.org/b/32827> Crash when |
|
2872 calling IWebView::close, then releasing the WebView, without calling |
|
2873 DestroyWindow |
|
2874 |
|
2875 Fixes a few WebViewDestruction tests, too. |
|
2876 |
|
2877 Reviewed by Steve Falkenburg. |
|
2878 |
|
2879 * WebView.cpp: |
|
2880 (WebView::~WebView): Don't try to destroy m_viewWindow here. That |
|
2881 should already have happened. Assert that this is the case. |
|
2882 (WebView::close): If m_viewWindow isn't already being destroyed, |
|
2883 destroy it now. Moved the call to revokeDragDrop() here from our |
|
2884 WM_DESTROY handler because it needs to be done before m_viewWindow is |
|
2885 nulled out. |
|
2886 (WebView::WebViewWndProc): Removed call to revokeDragDrop() that |
|
2887 close() now performs. |
|
2888 (WebView::Release): If our last reference is being released, call |
|
2889 close() so that clients don't have to. (It's harmless to call close() |
|
2890 multiple times.) We do this here instead of in the destructor because |
|
2891 close() can cause AddRef() and Release() to be called, and calling |
|
2892 those from within the destructor leads to double-destruction. |
|
2893 (WebView::setHostWindow): Removed an unnecessary (and now harmful) |
|
2894 null-check. |
|
2895 (WebView::revokeDragDrop): Changed an assertion into a run-time check, |
|
2896 since this will now sometimes be called when m_viewWindow hasn't been |
|
2897 created yet. Changed the IsWindow call to a null-check because we |
|
2898 never hold onto a destroyed m_viewWindow. |
|
2899 (WebView::windowAncestryDidChange): If we don't have a view window, |
|
2900 stop tracking changes to our parent's active state. |
|
2901 |
|
2902 2010-01-05 Adam Roben <aroben@apple.com> |
|
2903 |
|
2904 Make it safe to call IWebView::close when IWebView::initWithFrame |
|
2905 hasn't been called |
|
2906 |
|
2907 Part of <rdar://problem/7374218> <http://webkit.org/b/32827> Crash |
|
2908 when IWebView::close, then releasing the WebView, without calling |
|
2909 DestroyWindow |
|
2910 |
|
2911 Reviewed by Steve Falkenburg. |
|
2912 |
|
2913 * WebView.cpp: |
|
2914 (WebView::close): Null-check m_page and m_preferences before using |
|
2915 them. They will be null if initWithFrame was never called. |
|
2916 |
|
2917 2010-01-05 Adam Roben <aroben@apple.com> |
|
2918 |
|
2919 Add assertions to catch double-destruction of WebViews earlier |
|
2920 |
|
2921 I basically copied the m_deletionHasBegun logic from WTF::RefCounted. |
|
2922 |
|
2923 Fixes <http://webkit.org/b/33219>. |
|
2924 |
|
2925 Reviewed by Darin Adler. |
|
2926 |
|
2927 * WebView.cpp: |
|
2928 (WebView::WebView): Initialize m_deletionHasBegun |
|
2929 (WebView::AddRef): Assert that deletion hasn't already begun. |
|
2930 (WebView::Release): Assert that deletion hasn't already begun, then |
|
2931 record when deletion *does* begin. |
|
2932 |
|
2933 * WebView.h: Added m_deletionHasBegun. |
|
2934 |
|
2935 2010-01-05 Adam Roben <aroben@apple.com> |
|
2936 |
|
2937 Remove dead code in WebViewWndProc |
|
2938 |
|
2939 Fixes <http://webkit.org/b/33218>. |
|
2940 |
|
2941 Reviewed by Darin Adler. |
|
2942 |
|
2943 * WebView.cpp: |
|
2944 (WebView::WebViewWndProc): Removed a redundant isBeingDestroyed check. |
|
2945 We bail out much earlier in this function if isBeingDestroyed is true. |
|
2946 |
|
2947 2010-01-04 Jon Honeycutt <jhoneycutt@apple.com> |
|
2948 |
|
2949 MSAA: Accessibility role of <select> elements is wrong |
|
2950 |
|
2951 https://bugs.webkit.org/show_bug.cgi?id=33192 |
|
2952 |
|
2953 Reviewed by Sam Weinig. |
|
2954 |
|
2955 * AccessibleBase.cpp: |
|
2956 (MSAARole): |
|
2957 Map WebCore::PopUpButtonRole to MSAA's ROLE_SYSTEM_COMBOBOX. |
|
2958 |
|
2959 2010-01-04 Alexey Proskuryakov <ap@apple.com> |
|
2960 |
|
2961 Reviewed by Darin Adler. |
|
2962 |
|
2963 https://bugs.webkit.org/show_bug.cgi?id=33181 |
|
2964 The first letter is not removed properly from inline input hole |
|
2965 |
|
2966 * WebView.cpp: (WebView::onIMEEndComposition): If composition is ended before it was |
|
2967 confirmed, cancel it. |
|
2968 |
|
2969 2010-01-04 Alexey Proskuryakov <ap@apple.com> |
|
2970 |
|
2971 Reviewed by Darin Adler. |
|
2972 |
|
2973 https://bugs.webkit.org/show_bug.cgi?id=33161 |
|
2974 Assertion failure in WebView when using Chinese Simplified IME |
|
2975 |
|
2976 * WebView.cpp: (WebView::onIMERequestCharPosition): Changed the assertion into release mode |
|
2977 check. We can't make assertions about arguments passed from outside WebKit. |
|
2978 |
|
2979 2010-01-04 Alexey Proskuryakov <ap@apple.com> |
|
2980 |
|
2981 Reviewed by Darin Adler. |
|
2982 |
|
2983 https://bugs.webkit.org/show_bug.cgi?id=33157 |
|
2984 Implement TextInput logging channel on Windows |
|
2985 |
|
2986 * WebKitLogging.cpp: (WebKitInitializeLoggingChannelsIfNecessary): |
|
2987 * WebKitLogging.h: |
|
2988 Added a TextInput channel in place of unused Network one. |
|
2989 |
|
2990 * WebView.cpp: |
|
2991 (WebView::WebViewWndProc): Changed onIMERequest to return result directly. We never forward |
|
2992 it to DefWindowProc, so there is no need to return an unused boolean result for "handled". |
|
2993 (WebView::onIMEStartComposition): Added logging. |
|
2994 (imeCompositionArgumentNames): A helper function for detailed logging in onIMEComposition. |
|
2995 (imeNotificationName): A helper function for detailed logging in onIMENotify. |
|
2996 (imeRequestName): A helper function for detailed logging in onIMERequest. |
|
2997 (WebView::onIMEComposition): Added logging. |
|
2998 (WebView::onIMEEndComposition): Ditto. |
|
2999 (WebView::onIMEChar): Ditto. |
|
3000 (WebView::onIMENotify): Ditto. |
|
3001 (WebView::onIMERequestCharPosition): Changed to return result directly. |
|
3002 (WebView::onIMERequestReconvertString): Ditto. |
|
3003 (WebView::onIMERequest): Changed to return result directly. Added logging. |
|
3004 (WebView::onIMESelect): Added logging. |
|
3005 (WebView::onIMESetContext): Added logging. |
|
3006 |
|
3007 * WebView.h: onIMERequest functions now return result directly. |
|
3008 |
|
3009 |
|
3010 2010-01-04 Adam Roben <aroben@apple.com> |
|
3011 |
|
3012 Add WebKitAPITest |
|
3013 |
|
3014 Fixes <http://webkit.org/b/33167>. |
|
3015 |
|
3016 Reviewed by Sam Weinig. |
|
3017 |
|
3018 * WebKit.vcproj/WebKit.sln: Added WebKitAPITest.vcproj. It builds just |
|
3019 after DumpRenderTree.vcproj. |
|
3020 |
|
3021 2010-01-04 Dan Bernstein <mitz@apple.com> |
|
3022 |
|
3023 Reviewed by Ada Chan and Mark Rowe. |
|
3024 |
|
3025 Updated copyright string |
|
3026 |
|
3027 * WebKit.vcproj/WebKit.rc: |
|
3028 |
|
3029 2009-12-22 Darin Adler <darin@apple.com> |
|
3030 |
|
3031 Another try at fixing Windows build. |
|
3032 |
|
3033 * WebKitPrefix.cpp: Touch it. |
|
3034 |
|
3035 2009-12-22 Darin Adler <darin@apple.com> |
|
3036 |
|
3037 Reviewed by Mark Rowe. |
|
3038 |
|
3039 Turn off datagrid by default, at least for all platforms Apple ships. |
|
3040 The datagrid implementation isn't ready for general web use yet. |
|
3041 |
|
3042 * WebKit.vcproj/WebKit.vcproj: Turn off datagrid by default. |
|
3043 |
|
3044 2009-12-21 Adam Roben <aroben@apple.com> |
|
3045 |
|
3046 Fix non-ACCELERATED_COMPOSITING builds |
|
3047 |
|
3048 * WebPreferences.cpp: |
|
3049 (WebPreferences::acceleratedCompositingEnabled): Guard use of |
|
3050 WKCACFLayerRenderer with USE(ACCELERATED_COMPOSITING). |
|
3051 |
|
3052 2009-12-18 Adam Roben <aroben@apple.com> |
|
3053 |
|
3054 Add IWebPreferencesPrivate::[set]AcceleratedCompositingEnabled |
|
3055 |
|
3056 Fixes <http://webkit.org/b/32745>. |
|
3057 |
|
3058 Reviewed by Ada Chan. |
|
3059 |
|
3060 * Interfaces/IWebPreferencesPrivate.idl: Added |
|
3061 [set]AcceleratedCompositingEnabled. |
|
3062 |
|
3063 * Interfaces/WebKit.idl: Touched to force a build. |
|
3064 |
|
3065 * WebPreferenceKeysPrivate.h: Added |
|
3066 WebKitAcceleratedCompositingEnabledPreferenceKey. |
|
3067 |
|
3068 * WebPreferences.cpp: |
|
3069 (WebPreferences::initializeDefaultSettings): Make accelerated |
|
3070 compositing be on by default. |
|
3071 (WebPreferences::setAcceleratedCompositingEnabled): Store the new |
|
3072 value. |
|
3073 (WebPreferences::acceleratedCompositingEnabled): If accelerated |
|
3074 compositing isn't available, return false. Otherwise, return the value |
|
3075 stored in preferences. |
|
3076 |
|
3077 * WebPreferences.h: Added [set]AcceleratedCompositingAvailable. |
|
3078 |
|
3079 * WebView.cpp: |
|
3080 (WebView::notifyPreferencesChanged): Just pass the value from |
|
3081 WebPreferences on down. |
|
3082 |
|
3083 2009-12-17 Jon Honeycutt <jhoneycutt@apple.com> |
|
3084 |
|
3085 MSAA: Accessibility role of list items is wrong |
|
3086 |
|
3087 https://bugs.webkit.org/show_bug.cgi?id=32688 |
|
3088 |
|
3089 Reviewed by Adam Roben. |
|
3090 |
|
3091 * AccessibleBase.cpp: |
|
3092 (MSAARole): |
|
3093 Make the WebCore list item role map to the MSAA list item role. |
|
3094 |
|
3095 2009-12-17 Jon Honeycutt <jhoneycutt@apple.com> |
|
3096 |
|
3097 MSAA: Accessibility role of list markers is wrong |
|
3098 |
|
3099 https://bugs.webkit.org/show_bug.cgi?id=32687 |
|
3100 |
|
3101 Reviewed by Adam Roben. |
|
3102 |
|
3103 * AccessibleBase.cpp: |
|
3104 (MSAARole): |
|
3105 Make the WebCore list marker role map to the MSAA static text role. |
|
3106 |
|
3107 2009-12-18 Adam Roben <aroben@apple.com> |
|
3108 |
|
3109 Add #includes needed after WebCore clean-up |
|
3110 |
|
3111 Rubber-stamped by Anders Carlsson. |
|
3112 |
|
3113 Fixes <http://webkit.org/b/32718>. |
|
3114 |
|
3115 * WebCoreSupport/WebContextMenuClient.cpp: |
|
3116 * WebDataSource.cpp: |
|
3117 * WebHTMLRepresentation.cpp: |
|
3118 * WebView.cpp: |
|
3119 * WebView.h: |
|
3120 |
|
3121 2009-12-17 Benjamin Otte <otte@gnome.org> |
|
3122 |
|
3123 Reviewed by Adam Roben. |
|
3124 |
|
3125 Don't include all JSC headers everywhere |
|
3126 https://bugs.webkit.org/show_bug.cgi?id=32663 |
|
3127 |
|
3128 * WebCoreLocalizedStrings.cpp: Added now-needed #include of |
|
3129 MathExtras.h. |
|
3130 |
|
3131 2009-12-17 Adam Roben <aroben@apple.com> |
|
3132 |
|
3133 Remove WebKit.sln's Debug_All and Debug_Internal configurations |
|
3134 |
|
3135 These configurations aren't buildable by people outside of Apple, and |
|
3136 Apple doesn't use this solution file. |
|
3137 |
|
3138 Fixes <http://webkit.org/b/31000> Windows WebKit Build Configuration |
|
3139 should default to Debug instead of Debug_all. |
|
3140 |
|
3141 Rubber-stamped by Dan Bernstein. |
|
3142 |
|
3143 * WebKit.vcproj/WebKit.sln: |
|
3144 |
|
3145 2009-12-16 Jon Honeycutt <jhoneycutt@apple.com> |
|
3146 |
|
3147 MSAA: Accessibility role of text nodes is wrong |
|
3148 |
|
3149 https://bugs.webkit.org/show_bug.cgi?id=32631 |
|
3150 <rdar://problem/7369084> |
|
3151 |
|
3152 Reviewed by Alice Liu. |
|
3153 |
|
3154 * AccessibleBase.cpp: |
|
3155 (MSAARole): |
|
3156 If the role is WebCore::EditableTextRole, return ROLE_SYSTEM_TEXT. |
|
3157 (AccessibleBase::role): |
|
3158 Call roleValueForMSAA(). |
|
3159 |
|
3160 2009-12-14 Brent Fulgham <bfulgham@webkit.org> |
|
3161 |
|
3162 Reviewed by Adam Roben. |
|
3163 |
|
3164 Provide working printing support for WinCairo port. |
|
3165 |
|
3166 * WebFrame.cpp: |
|
3167 (WebFrame::spoolPage): Conditionalize initialization of |
|
3168 PlatformGraphicsContext handling for CG vs. Cairo. |
|
3169 (scaleFactor): Add helper function. |
|
3170 (hdcFromContext): Add helper function. |
|
3171 (WebFrame::drawHeader): Correct Cairo variation. |
|
3172 (WebFrame::drawFooter): Correct Cairo variation. |
|
3173 (WebFrame::spoolPages): Correct Cairo variation. |
|
3174 |
|
3175 2009-12-13 Sam Weinig <sam@webkit.org> |
|
3176 |
|
3177 Reviewed by Dan Bernstein. |
|
3178 |
|
3179 Fix for https://bugs.webkit.org/show_bug.cgi?id=32499 |
|
3180 Add client based Geolocation provider |
|
3181 |
|
3182 Add first cut of a client based Geolocation provider. This is guarded by |
|
3183 ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a |
|
3184 GeolocationControllerClient interface that no-one currently implements, |
|
3185 but will in a subsequent patch. |
|
3186 |
|
3187 * WebView.cpp: |
|
3188 (WebView::initWithFrame): |
|
3189 |
|
3190 2009-12-14 Adam Roben <aroben@apple.com> |
|
3191 |
|
3192 Change IWebFramePrivate's vtable to be compatible with Safari 4.0.4 |
|
3193 |
|
3194 Reviewed by Steve Falkenburg. |
|
3195 |
|
3196 Fixes <http://webkit.org/b/32433> REGRESSION (r51567): Right click on |
|
3197 a link element crashes WebKit nightly |
|
3198 |
|
3199 * Interfaces/IWebFramePrivate.idl: Moved pauseSVGAnimation to the end |
|
3200 of the interface so the vtable that Safari 4.0.4 sees is unchanged. |
|
3201 |
|
3202 2009-12-14 Adam Roben <aroben@apple.com> |
|
3203 |
|
3204 Build fix |
|
3205 |
|
3206 * WebKit.vcproj/WebKit.vcproj: Added $(DXSDK_DIR)\Lib\x86 to the |
|
3207 libpath for all non-Cairo configurations (it was missing from most of |
|
3208 them). |
|
3209 |
|
3210 2009-12-11 Chris Marrin <cmarrin@apple.com> |
|
3211 |
|
3212 Reviewed by Jon Honeycutt. |
|
3213 |
|
3214 Added icons for full-screen video on Windows |
|
3215 https://bugs.webkit.org/show_bug.cgi?id=31318 |
|
3216 |
|
3217 * WebKit.vcproj/WebKit.rc: |
|
3218 * WebKit.vcproj/WebKit.vcproj: |
|
3219 * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Added. |
|
3220 * WebKit.vcproj/fsVideoAudioVolumeLow.png: Added. |
|
3221 * WebKit.vcproj/fsVideoExitFullscreen.png: Added. |
|
3222 * WebKit.vcproj/fsVideoPause.png: Added. |
|
3223 * WebKit.vcproj/fsVideoPlay.png: Added. |
|
3224 * WebKit.vcproj/resource.h: |
|
3225 |
|
3226 2009-12-11 Chris Marrin <cmarrin@apple.com> |
|
3227 |
|
3228 Reviewed by Adam Roben. |
|
3229 |
|
3230 Delay load DLLs for accelerated compositing |
|
3231 https://bugs.webkit.org/show_bug.cgi?id=31856 |
|
3232 |
|
3233 If the DLLs (d3d9 and QuartzCore). are not present it |
|
3234 turns off accelerated compositing and avoids calling |
|
3235 any of the functions in the DLLs. |
|
3236 |
|
3237 * WebView.cpp: |
|
3238 (WebView::notifyPreferencesChanged): |
|
3239 |
|
3240 2009-12-10 Jon Honeycutt <jhoneycutt@apple.com> |
|
3241 |
|
3242 Pass more information about a plug-in to the PluginHalterDelegate |
|
3243 |
|
3244 Reviewed by Adam Roben. |
|
3245 |
|
3246 * Interfaces/IWebPluginHalterDelegate.idl: |
|
3247 Add new parameters. |
|
3248 |
|
3249 * WebCoreSupport/WebPluginHalterClient.cpp: |
|
3250 (WebPluginHalterClient::shouldHaltPlugin): |
|
3251 Update for new parameters. Pass them when making the delegate call. |
|
3252 |
|
3253 * WebCoreSupport/WebPluginHalterClient.h: |
|
3254 Update for new parameters. |
|
3255 |
|
3256 2009-12-09 Brent Fulgham <bfulgham@webkit.org> |
|
3257 |
|
3258 Revert incorrect commit-box update r51911. |
|
3259 It mistakenly set the selectAll implementation in the |
|
3260 deslectAll method. |
|
3261 |
|
3262 * WebFrame.cpp: |
|
3263 (WebFrame::deselectAll): |
|
3264 |
|
3265 2009-12-09 Brent Fulgham <bfulgham@webkit.org> |
|
3266 |
|
3267 Reviewed by Darin Adler. |
|
3268 |
|
3269 Provide an implementation for 'selectAll' |
|
3270 https://bugs.webkit.org/show_bug.cgi?id=32296 |
|
3271 |
|
3272 * WebFrame.cpp: |
|
3273 (WebFrame::selectAll): Implement "SelectAll" command. |
|
3274 |
|
3275 2009-12-09 Brent Fulgham <bfulgham@webkit.org> |
|
3276 |
|
3277 Reviewed by Darin Adler. |
|
3278 |
|
3279 Provide an implementation for 'selectAll' |
|
3280 https://bugs.webkit.org/show_bug.cgi?id=32296 |
|
3281 |
|
3282 * WebFrame.cpp: |
|
3283 (WebFrame::selectAll): Implement "SelectAll" command. |
|
3284 |
|
3285 2009-12-08 Chris Marrin <cmarrin@apple.com> |
|
3286 |
|
3287 Reviewed by Adam Roben. |
|
3288 |
|
3289 Delay load DLLs for accelerated compositing |
|
3290 https://bugs.webkit.org/show_bug.cgi?id=31856 |
|
3291 |
|
3292 If the DLLs (d3d9 and QuartzCore). are not present it |
|
3293 turns off accelerated compositing and avoids calling |
|
3294 any of the functions in the DLLs. |
|
3295 |
|
3296 * WebView.cpp: |
|
3297 * WebView.h: |
|
3298 |
|
3299 2009-12-08 Adam Roben <aroben@apple.com> |
|
3300 |
|
3301 Windows build fix |
|
3302 |
|
3303 * Interfaces/WebKit.idl: Touched this to force Interfaces.vcproj to rebuild. |
|
3304 |
|
3305 2009-12-08 John Sullivan <sullivan@apple.com> |
|
3306 |
|
3307 Reviewed by Dan Bernstein |
|
3308 |
|
3309 Split two-clause assertions into two separate assertions. |
|
3310 |
|
3311 * DOMHTMLClasses.cpp: |
|
3312 (DOMHTMLInputElement::isTextField): |
|
3313 Split a two-clause assertion into two separate assertions. |
|
3314 (DOMHTMLInputElement::rectOnScreen): |
|
3315 Added the two assertions here that all other functions in this group shared. |
|
3316 (DOMHTMLInputElement::selectedRange): |
|
3317 Split a two-clause assertion into two separate assertions. |
|
3318 (DOMHTMLInputElement::setAutofilled): |
|
3319 Split a two-clause assertion into two separate assertions. |
|
3320 (DOMHTMLInputElement::isAutofilled): |
|
3321 Split a two-clause assertion into two separate assertions. |
|
3322 |
|
3323 2009-12-08 Nikolas Zimmermann <nzimmermann@rim.com> |
|
3324 |
|
3325 Rubber-stamped by Maciej Stachowiak. |
|
3326 |
|
3327 Turn on (SVG) Filters for Win. |
|
3328 https://bugs.webkit.org/show_bug.cgi?id=32224 |
|
3329 |
|
3330 * WebKit.vcproj/WebKit.vcproj: |
|
3331 |
|
3332 2009-12-08 John Sullivan <sullivan@apple.com> |
|
3333 |
|
3334 Add isAutofilled getter to match existing setter. |
|
3335 |
|
3336 Reviewed by Ada Chan. |
|
3337 |
|
3338 * DOMHTMLClasses.cpp: |
|
3339 (DOMHTMLInputElement::isAutofilled): |
|
3340 Implemented new cover function. |
|
3341 |
|
3342 * DOMHTMLClasses.h: |
|
3343 Declared new cover function. |
|
3344 |
|
3345 * Interfaces/DOMPrivate.idl: |
|
3346 Declared new interface. |
|
3347 |
|
3348 2009-12-07 Gavin Barraclough <barraclough@apple.com> |
|
3349 |
|
3350 Reviewed by NOBODY (Windows build fix part III). |
|
3351 |
|
3352 * WebView.cpp: |
|
3353 (WebView::stringByEvaluatingJavaScriptFromString): |
|
3354 |
|
3355 2009-12-07 Gavin Barraclough <barraclough@apple.com> |
|
3356 |
|
3357 Reviewed by NOBODY (Windows build fix part II). |
|
3358 |
|
3359 * WebView.cpp: |
|
3360 (WebView::stringByEvaluatingJavaScriptFromString): |
|
3361 |
|
3362 2009-12-03 Brady Eidson <beidson@apple.com> |
|
3363 |
|
3364 Reviewed by Sam Weinig. |
|
3365 |
|
3366 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API |
|
3367 |
|
3368 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: |
|
3369 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
3370 (WebFrameLoaderClient::dispatchDidPushStateWithinPage): |
|
3371 (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage): |
|
3372 (WebFrameLoaderClient::dispatchDidPopStateWithinPage): |
|
3373 * WebCoreSupport/WebFrameLoaderClient.h: |
|
3374 |
|
3375 2009-12-03 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com> |
|
3376 |
|
3377 Reviewed by Timothy Hatcher. |
|
3378 |
|
3379 Web Inspector: Simplify the settings support in inspector controller. |
|
3380 |
|
3381 https://bugs.webkit.org/show_bug.cgi?id=32076 |
|
3382 |
|
3383 * WebCoreSupport/WebInspectorClient.cpp: |
|
3384 (WebInspectorClient::attachWindow): |
|
3385 (WebInspectorClient::detachWindow): |
|
3386 (WebInspectorClient::showWindowWithoutNotifications): |
|
3387 * WebCoreSupport/WebInspectorClient.h: |
|
3388 |
|
3389 2009-12-03 Ben Murdoch <benm@google.com> |
|
3390 |
|
3391 Reviewed by Brady Eidson. |
|
3392 |
|
3393 [Android] The FrameLoaderClient is unaware of BackForwardList changes. |
|
3394 https://bugs.webkit.org/show_bug.cgi?id=31914 |
|
3395 |
|
3396 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
3397 (WebFrameLoaderClient::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug). |
|
3398 (WebFrameLoaderClient::dispatchDidRemoveBackForwardItem): ditto. |
|
3399 (WebFrameLoaderClient::dispatchDidChangeBackForwardIndex): ditto. |
|
3400 * WebCoreSupport/WebFrameLoaderClient.h: |
|
3401 |
|
3402 2009-12-02 Timothy Hatcher <timothy@apple.com> |
|
3403 |
|
3404 Move setValueForUser to the end of the DOMHTMLInputElement interface |
|
3405 so it is fine for binary compatibility. |
|
3406 |
|
3407 Directed by Steve Falkenburg. |
|
3408 |
|
3409 * Interfaces/DOMHTML.idl: |
|
3410 |
|
3411 2009-12-02 Timothy Hatcher <timothy@apple.com> |
|
3412 |
|
3413 Expose setValueForUser for the COM DOMHTMLInputElement. |
|
3414 |
|
3415 <rdar://problem/6760590> Would like a way to detect a login form AutoFill from JavaScript |
|
3416 |
|
3417 Reviewed by Dan Bernstein. |
|
3418 |
|
3419 * DOMHTMLClasses.cpp: |
|
3420 (DOMHTMLInputElement::setValueForUser): |
|
3421 * Interfaces/DOMHTML.idl: |
|
3422 |
|
3423 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> |
|
3424 |
|
3425 Not reviewed. Try to fix windows build. |
|
3426 |
|
3427 * WebFrame.cpp: |
|
3428 |
|
3429 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> |
|
3430 |
|
3431 Reviewed by Simon Fraser. |
|
3432 |
|
3433 Add SVG animation test framework with 'snapshot' functionality |
|
3434 https://bugs.webkit.org/show_bug.cgi?id=31897 |
|
3435 |
|
3436 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method, |
|
3437 forwarding the call to SVGDocumentExtensions, if SVG is enabled. |
|
3438 |
|
3439 Implemented just like the existing pauseAnimation* methods for CSS animations. |
|
3440 |
|
3441 * Interfaces/IWebFramePrivate.idl: |
|
3442 * WebFrame.cpp: |
|
3443 (WebFrame::pauseSVGAnimation): |
|
3444 * WebFrame.h: |
|
3445 |
|
3446 2009-11-30 Adam Roben <aroben@apple.com> |
|
3447 |
|
3448 Fix double-free of BSTRs passed to WebNavigationData::createInstance |
|
3449 |
|
3450 WebFrameLoaderClient::updateGlobalHistory was converting |
|
3451 WebCore::Strings to WebCore::BStrings, then passing them to |
|
3452 WebNavigationData::createInstance. But the latter function takes BSTR |
|
3453 parameters and adopts them into WebCore::BStrings. So the end result |
|
3454 was that two WebCore::BStrings would end up freeing each underlying |
|
3455 BSTR. |
|
3456 |
|
3457 The fix is to only convert to WebCore::BString inside |
|
3458 WebNavigationData. |
|
3459 |
|
3460 Fixes <http://webkit.org/b/31998> <rdar://problem/7383452> REGRESSION |
|
3461 (r49564): Crash in updateGlobalHistory when running Javascript iBench |
|
3462 test |
|
3463 |
|
3464 I couldn't find a way to reproduce this in DumpRenderTree. |
|
3465 |
|
3466 Reviewed by Steve Falkenburg. |
|
3467 |
|
3468 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
3469 (WebFrameLoaderClient::updateGlobalHistory): Pass WebCore::Strings to |
|
3470 WebNavigationData::createInstance. |
|
3471 |
|
3472 * WebNavigationData.cpp: |
|
3473 (WebNavigationData::WebNavigationData): |
|
3474 (WebNavigationData::createInstance): |
|
3475 * WebNavigationData.h: |
|
3476 Changed to take const WebCore::String&s instead of BSTRs and to |
|
3477 convert the Strings to BStrings at this level. |
|
3478 |
|
3479 2009-11-30 Steve Falkenburg <sfalken@apple.com> |
|
3480 |
|
3481 Reviewed by Adam Roben. |
|
3482 |
|
3483 WebKit clients that don't implement didClearWindowObjectForFrameInScriptWorld should fall back to didClearWindowObject |
|
3484 https://bugs.webkit.org/show_bug.cgi?id=31986 |
|
3485 |
|
3486 * WebFrame.cpp: |
|
3487 (WebFrame::dispatchDidClearWindowObjectInWorld): Fall back if E_NOTIMPL returned. |
|
3488 |
|
3489 2009-11-24 Chris Marrin <cmarrin@apple.com> |
|
3490 |
|
3491 Another Windows build fix |
|
3492 |
|
3493 Got rid of d3d.lib and d3dx9.lib dependency. Not needed until |
|
3494 we turn on ACCELERATED_COMPOSITING |
|
3495 |
|
3496 * WebKit.vcproj/WebKit.vcproj: |
|
3497 |
|
3498 2009-11-24 Chris Marrin <cmarrin@apple.com> |
|
3499 |
|
3500 Fixed Windows build |
|
3501 |
|
3502 Got rid of QuartzCore.lib dependency. Not needed until |
|
3503 we turn on ACCELERATED_COMPOSITING |
|
3504 |
|
3505 * WebKit.vcproj/WebKit.vcproj: |
|
3506 |
|
3507 2009-11-24 Chris Marrin <cmarrin@apple.com> |
|
3508 |
|
3509 Reviewed by Simon Fraser. |
|
3510 |
|
3511 Implement accelerated compositing |
|
3512 https://bugs.webkit.org/show_bug.cgi?id=27314 |
|
3513 |
|
3514 This is the WebKit side of the implementation. It plumbs the root layer |
|
3515 from WebCore. It also makes changes to WebView which places the |
|
3516 backing store of the page into the root compositing layer so it is |
|
3517 properly composited with all the other layers. This deals with resizing, |
|
3518 scrolling, and incremental repaint of the page. |
|
3519 |
|
3520 * WebCoreSupport/WebChromeClient.cpp: |
|
3521 (WebChromeClient::attachRootGraphicsLayer): |
|
3522 (WebChromeClient::scheduleCompositingLayerSync): |
|
3523 * WebCoreSupport/WebChromeClient.h: |
|
3524 (WebChromeClient::setNeedsOneShotDrawingSynchronization): |
|
3525 * WebKit.vcproj/WebKit.vcproj: |
|
3526 * WebView.cpp: |
|
3527 (WebView::WebView): |
|
3528 (WebView::close): |
|
3529 (WebView::repaint): |
|
3530 (WebView::scrollBackingStore): |
|
3531 (WebView::paint): |
|
3532 (WebViewWndProc): |
|
3533 (WebView::setRootChildLayer): |
|
3534 (WebView::setAcceleratedCompositing): |
|
3535 (WebView::setRootLayerContents): |
|
3536 * WebView.h: |
|
3537 (WebView::isAcceleratedCompositing): |
|
3538 (WebView::resizeLayerWindow): |
|
3539 (WebView::layerWindowBecameVisible): |
|
3540 (WebView::setRootLayerNeedsDisplay): |
|
3541 |
|
3542 2009-11-23 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
3543 |
|
3544 Reviewed by Kenneth Rohde Christiansen. |
|
3545 |
|
3546 Include "config.h" to meet Coding Style Guidelines |
|
3547 https://bugs.webkit.org/show_bug.cgi?id=31792 |
|
3548 |
|
3549 * GEN_DOMObject.cpp: |
|
3550 * WebScriptObject.cpp: |
|
3551 |
|
3552 2009-11-21 Jon Honeycutt <jhoneycutt@apple.com> |
|
3553 |
|
3554 Windows build fix. Unreviewed. |
|
3555 |
|
3556 * Interfaces/IWebSerializedJSValue.idl: |
|
3557 |
|
3558 2009-11-20 Jon Honeycutt <jhoneycutt@apple.com> |
|
3559 |
|
3560 DOMElement::tagName() is unimplemented |
|
3561 |
|
3562 https://bugs.webkit.org/show_bug.cgi?id=31746 |
|
3563 |
|
3564 Reviewed by Darin Adler. |
|
3565 |
|
3566 * DOMCoreClasses.cpp: |
|
3567 (DOMElement::tagName): |
|
3568 Create a BString from the element's tag name, and release its BSTR |
|
3569 into result. |
|
3570 |
|
3571 2009-11-20 Jon Honeycutt <jhoneycutt@apple.com> |
|
3572 |
|
3573 DOMNode::childNodes() is unimplemented |
|
3574 |
|
3575 https://bugs.webkit.org/show_bug.cgi?id=31745 |
|
3576 |
|
3577 Reviewed by Darin Adler. |
|
3578 |
|
3579 * DOMCoreClasses.cpp: |
|
3580 (DOMNode::childNodes): |
|
3581 Create a DOMNodeList from the node's child nodes. |
|
3582 |
|
3583 2009-11-20 Dave Hyatt <hyatt@apple.com> |
|
3584 |
|
3585 Reviewed by Jon Honeycutt. |
|
3586 |
|
3587 Change WebSerializedJSValue on Windows to have a zero-argument createInstance call. Move the |
|
3588 serialization into a separate serialize() function that can be called after the object has been |
|
3589 created. |
|
3590 |
|
3591 Fix a typo in serialize() caused when fixing build bustage (put a ! back in). |
|
3592 |
|
3593 * Interfaces/IWebSerializedJSValue.idl: |
|
3594 * WebSerializedJSValue.cpp: |
|
3595 (WebSerializedJSValue::WebSerializedJSValue): |
|
3596 (WebSerializedJSValue::createInstance): |
|
3597 (WebSerializedJSValue::serialize): |
|
3598 (WebSerializedJSValue::deserialize): |
|
3599 * WebSerializedJSValue.h: |
|
3600 |
|
3601 2009-11-20 Brian Weinstein <bweinstein@apple.com> |
|
3602 |
|
3603 Reviewed by Dave Hyatt. |
|
3604 |
|
3605 Another go at the Windows Build Fix - this is a couple steps of it, |
|
3606 so a little more involved than most build fixes. |
|
3607 |
|
3608 * Interfaces/IWebSerializedJSValue.idl: |
|
3609 * Interfaces/JavaScriptCoreAPITypes.idl: |
|
3610 * WebKit.vcproj/Interfaces.vcproj: |
|
3611 * WebSerializedJSValue.cpp: |
|
3612 (WebSerializedJSValue::deserialize): |
|
3613 * WebSerializedJSValue.h: |
|
3614 |
|
3615 2009-11-20 Brian Weinstein <bweinstein@apple.com> |
|
3616 |
|
3617 Reviewed by Dave Hyatt. |
|
3618 |
|
3619 Build fix for Windows - only declare JSContextRef once, instead |
|
3620 of in two different idl files. Create a new file to hold the |
|
3621 definition of JSContextRef. |
|
3622 |
|
3623 * Interfaces/IWebFrameLoadDelegate.idl: |
|
3624 * Interfaces/IWebSerializedJSValue.idl: |
|
3625 * Interfaces/JavaScriptCoreAPITypes.idl: Added. |
|
3626 * Interfaces/WebKit.idl: |
|
3627 * WebKit.vcproj/Interfaces.vcproj: |
|
3628 |
|
3629 2009-11-20 Dave Hyatt <hyatt@apple.com> |
|
3630 |
|
3631 Reviewed by Oliver Hunt and Jon Honeycutt. |
|
3632 |
|
3633 Add support for WebSerializedJSValue to WebKit. This object wraps the SerializedScriptValue functionality in WebCore |
|
3634 and exposes the ability to do JS value serialization/deserialization to WebKit clients. |
|
3635 |
|
3636 * Interfaces/IWebSerializedJSValue.idl: Added. |
|
3637 * Interfaces/WebKit.idl: |
|
3638 * WebKit.vcproj/WebKit.vcproj: |
|
3639 * WebSerializedJSValue.cpp: Added. |
|
3640 (WebSerializedJSValue::WebSerializedJSValue): |
|
3641 (WebSerializedJSValue::~WebSerializedJSValue): |
|
3642 (WebSerializedJSValue::createInstance): |
|
3643 (WebSerializedJSValue::AddRef): |
|
3644 (WebSerializedJSValue::Release): |
|
3645 (WebSerializedJSValue::QueryInterface): |
|
3646 (WebSerializedJSValue::deserialize): |
|
3647 * WebSerializedJSValue.h: Added. |
|
3648 |
|
3649 2009-11-19 Alexey Proskuryakov <ap@apple.com> |
|
3650 |
|
3651 Reviewed by Darin Adler. |
|
3652 |
|
3653 https://bugs.webkit.org/show_bug.cgi?id=31690 |
|
3654 Make SocketStreamHandleCFNet work on Windows |
|
3655 |
|
3656 * WebDownloadCFNet.cpp: |
|
3657 (WebDownload::init): |
|
3658 (WebDownload::initWithRequest): |
|
3659 (WebDownload::initToResumeWithBundle): |
|
3660 Update for loaderRunLoop() now being in its own header. |
|
3661 |
|
3662 2009-11-19 Eric Carlson <eric.carlson@apple.com> |
|
3663 |
|
3664 Reviewed by Dan Bernstein. |
|
3665 |
|
3666 <rdar://problem/7035231> |
|
3667 Support closed caption in <video> element |
|
3668 |
|
3669 * WebCoreLocalizedStrings.cpp: |
|
3670 (WebCore::localizedMediaControlElementString): |
|
3671 (WebCore::localizedMediaControlElementHelpText): |
|
3672 Add accessibility help strings for media controller closed caption button. |
|
3673 |
|
3674 2009-11-18 Michelangelo De Simone <micdesim@gmail.com> |
|
3675 |
|
3676 Reviewed by Darin Adler. |
|
3677 |
|
3678 Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. |
|
3679 Support for validationMessage attribute, as per HTML5 specs. |
|
3680 |
|
3681 * WebCoreLocalizedStrings.cpp: |
|
3682 (WebCore::validationMessageValueMissingText): |
|
3683 (WebCore::validationMessageTypeMismatchText): |
|
3684 (WebCore::validationMessagePatternMismatchText): |
|
3685 (WebCore::validationMessageTooLongText): |
|
3686 (WebCore::validationMessageRangeUnderflowText): |
|
3687 (WebCore::validationMessageRangeOverflowText): |
|
3688 (WebCore::validationMessageStepMismatchText): |
|
3689 |
|
3690 2009-11-18 Daniel Bates <dbates@webkit.org> |
|
3691 |
|
3692 Reviewed by Darin Adler. |
|
3693 |
|
3694 https://bugs.webkit.org/show_bug.cgi?id=31186 |
|
3695 |
|
3696 Changes associated with renaming RenderTextControl::isUserEdited. |
|
3697 |
|
3698 * DOMHTMLClasses.cpp: |
|
3699 (DOMHTMLInputElement::isUserEdited): Formerly named isUserEdited. |
|
3700 (DOMHTMLTextAreaElement::isUserEdited): Ditto. |
|
3701 |
|
3702 2009-11-12 Jon Honeycutt <jhoneycutt@apple.com> |
|
3703 |
|
3704 Implement DOMHTMLInputElement::replaceCharactersInRange(). |
|
3705 |
|
3706 https://bugs.webkit.org/show_bug.cgi?id=31492 |
|
3707 |
|
3708 Reviewed by Dan Bernstein. |
|
3709 |
|
3710 * DOMHTMLClasses.cpp: |
|
3711 (DOMHTMLInputElement::replaceCharactersInRange): |
|
3712 Get the text of the input field. Replace the given range with the |
|
3713 replacement text, and set this new string as the input element's value. |
|
3714 Select from index to the end of the field. This matches the |
|
3715 implementation in the Obj-C bindings. |
|
3716 |
|
3717 2009-11-12 Jon Honeycutt <jhoneycutt@apple.com> |
|
3718 |
|
3719 DOMHTMLOptionElement is missing some functionality. |
|
3720 |
|
3721 https://bugs.webkit.org/show_bug.cgi?id=31491 |
|
3722 |
|
3723 Reviewed by Dan Bernstein. |
|
3724 |
|
3725 * DOMHTMLClasses.cpp: |
|
3726 (DOMHTMLOptionElement::text): |
|
3727 Cast m_element to an HTMLOptionElement, and call its text() function. |
|
3728 (DOMHTMLOptionElement::label): |
|
3729 Ditto, for label(). |
|
3730 |
|
3731 2009-11-12 Jon Honeycutt <jhoneycutt@apple.com> |
|
3732 |
|
3733 DOMHTMLSelectElement is missing some implementation. |
|
3734 |
|
3735 https://bugs.webkit.org/show_bug.cgi?id=31489 |
|
3736 |
|
3737 Reviewed by Dan Bernstein. |
|
3738 |
|
3739 * DOMHTMLClasses.cpp: |
|
3740 (DOMHTMLSelectElement::options): |
|
3741 Cast m_element to an HTMLSelectElement. If it has no options, return |
|
3742 E_FAIL. Otherwise, create a DOMHTMLOptionsCollection to wrap the |
|
3743 options, and return it. |
|
3744 (DOMHTMLSelectElement::activateItemAtIndex): |
|
3745 If the index is out of bounds, return E_FAIL. Otherwise, select the |
|
3746 item. |
|
3747 |
|
3748 2009-11-12 Jon Honeycutt <jhoneycutt@apple.com> |
|
3749 |
|
3750 DOMHTMLOptionsCollection is missing some implementation. |
|
3751 |
|
3752 https://bugs.webkit.org/show_bug.cgi?id=31488 |
|
3753 |
|
3754 Reviewed by Dan Bernstein. |
|
3755 |
|
3756 * DOMHTMLClasses.cpp: |
|
3757 (DOMHTMLOptionsCollection::DOMHTMLOptionsCollection): |
|
3758 Initialize m_collection. |
|
3759 (DOMHTMLOptionsCollection::createInstance): |
|
3760 Create a DOMHTMLOptionsCollection. If we fail to query for |
|
3761 IDOMHTMLOptionsCollection, delete it, and return 0. Otherwise, return |
|
3762 the result. |
|
3763 (DOMHTMLOptionsCollection::length): |
|
3764 (DOMHTMLOptionsCollection::item): |
|
3765 Create a DOMNode for the WebCore Node. If this is 0, return E_FAIL. |
|
3766 (DOMHTMLOptionsCollection::namedItem): |
|
3767 Correct the signature of this function. |
|
3768 |
|
3769 * DOMHTMLClasses.h: |
|
3770 Declare DOMHTMLOptionsCollection::createInstance(). Correct the |
|
3771 signature of namedItem() to match IDOMHTMLOptionsCollection. Add a |
|
3772 member to DOMHTMLOptionsCollection to hold the WebCore object. |
|
3773 |
|
3774 2009-11-12 Jon Honeycutt <jhoneycutt@apple.com> |
|
3775 |
|
3776 DOMHTMLInputElement::rectOnScreen() returns the wrong rect |
|
3777 |
|
3778 https://bugs.webkit.org/show_bug.cgi?id=31487 |
|
3779 |
|
3780 Reviewed by Darin Adler. |
|
3781 |
|
3782 * DOMHTMLClasses.cpp: |
|
3783 (DOMHTMLInputElement::rectOnScreen): |
|
3784 Return the rect on screen, not the rect in the window. |
|
3785 |
|
3786 2009-11-17 Brent Fulgham <bfulgham@webkit.org> |
|
3787 |
|
3788 Reviewed by NOBODY - Build Fix. |
|
3789 |
|
3790 Correct build error in Debug_Cairo target after @49705. |
|
3791 |
|
3792 * WebKit.vcproj/WebKit.vcproj: Revise JavaScriptCore.lib |
|
3793 dependency to have proper "_debug" suffix needed by |
|
3794 the Debug_Cairo target. |
|
3795 |
|
3796 2009-11-17 Brian Weinstein <bweinstein@apple.com> |
|
3797 |
|
3798 Reviewed by NOBODY - Build Fix. |
|
3799 |
|
3800 Touch files to try to fix the build. |
|
3801 |
|
3802 * Interfaces/IWebInspector.idl: |
|
3803 * Interfaces/WebKit.idl: |
|
3804 * WebKit.vcproj/Interfaces.vcproj: |
|
3805 |
|
3806 2009-11-17 Pavel Feldman <pfeldman@chromium.org> |
|
3807 |
|
3808 Reviewed by Timothy Hatcher. |
|
3809 |
|
3810 Web Inspector: Make DRT show web inspector for tests in inspector/ folder. |
|
3811 - Updated DRT to show/close inspector for all tests under /inspector |
|
3812 - Introduced LayoutTestController::setTimelineProfilingEnabled and |
|
3813 WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled |
|
3814 - Removed reload on each inspector test |
|
3815 - Renamed fast/inspector to fast/inspector-support in order not to trigger |
|
3816 inspector for those. |
|
3817 - Reimplemented timeline tests in order to get rid of reload there. |
|
3818 - Moved tests that don't require harness into the fast group. |
|
3819 |
|
3820 https://bugs.webkit.org/show_bug.cgi?id=31472 |
|
3821 |
|
3822 * Interfaces/IWebInspector.idl: |
|
3823 * WebInspector.cpp: |
|
3824 (WebInspector::isTimelineProfilingEnabled): |
|
3825 (WebInspector::setTimelineProfilingEnabled): |
|
3826 * WebInspector.h: |
|
3827 |
|
3828 2009-11-13 Adam Roben <aroben@apple.com> |
|
3829 |
|
3830 Build fix |
|
3831 |
|
3832 * Interfaces/WebKit.idl: Touch this to force interfaces to rebuild. |
|
3833 |
|
3834 2009-11-13 Adam Roben <aroben@apple.com> |
|
3835 |
|
3836 Tell the WebFrameLoadDelegate when window objects in isolated worlds |
|
3837 are cleared |
|
3838 |
|
3839 Fixes <http://webkit.org/b/31124>. |
|
3840 |
|
3841 Reviewed by Dave Hyatt. |
|
3842 |
|
3843 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: Added |
|
3844 didClearWindowObjectForFrameInScriptWorld. |
|
3845 |
|
3846 * WebFrame.cpp: |
|
3847 (WebFrame::dispatchDidClearWindowObjectInWorld): |
|
3848 * WebFrame.h: |
|
3849 Replaced windowObjectCleared with this function. If the delegate |
|
3850 implements IWebFrameLoadDelegatePrivate2, call |
|
3851 didClearWindowObjectForFrameInScriptWorld. Otherwise, if the passed-in |
|
3852 world is the mainThreadNormalWorld(), call |
|
3853 didClearWindowObjectForFrame. |
|
3854 |
|
3855 * WebScriptWorld.cpp: |
|
3856 (allWorlds): Added. Returns a HashMap of all the WebScriptWorlds in |
|
3857 existence. |
|
3858 (WebScriptWorld::WebScriptWorld): Add ourselves to allWorlds(). |
|
3859 (WebScriptWorld::~WebScriptWorld): Remove ourselves from allWorlds(). |
|
3860 (WebScriptWorld::standardWorld): Added this non-COM getter for the |
|
3861 standard world, which the COM getter now calls through to. |
|
3862 (WebScriptWorld::findOrCreateWorld): Added. Returns the existing |
|
3863 WebScriptWorld for this DOMWrapperWorld, or a new one if one doesn't |
|
3864 already exist. |
|
3865 |
|
3866 * WebScriptWorld.h: Added new standardWorld overload, made one |
|
3867 overload of createInstance private, and added findOrCreateWorld. |
|
3868 |
|
3869 2009-11-13 Adam Roben <aroben@apple.com> |
|
3870 |
|
3871 Build fix |
|
3872 |
|
3873 * Interfaces/WebKit.idl: Un-sort the #includes again. Apparently they |
|
3874 are order-dependent! |
|
3875 |
|
3876 2009-11-13 Adam Roben <aroben@apple.com> |
|
3877 |
|
3878 Touch WebKit.idl to fix the Windows build |
|
3879 |
|
3880 * Interfaces/WebKit.idl: Sorted #includes. |
|
3881 |
|
3882 2009-11-13 Adam Roben <aroben@apple.com> |
|
3883 |
|
3884 Finish replacing worldIDs with world objects |
|
3885 |
|
3886 The only remaining use of worldIDs was in a method only used by DRT |
|
3887 for the isolated worlds tests. |
|
3888 |
|
3889 Fixes <http://webkit.org/b/31414> Replace worldIDs with world objects |
|
3890 |
|
3891 Reviewed by Mark Rowe. |
|
3892 |
|
3893 * Interfaces/IWebFramePrivate.idl: |
|
3894 * WebFrame.cpp: |
|
3895 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): |
|
3896 * WebFrame.h: |
|
3897 Renamed from stringByEvaluatingJavaScriptInIsolatedWorld. Now takes an |
|
3898 IWebScriptWorld instead of a worldID, so we don't need to maintain a |
|
3899 map of worldID -> world anymore. |
|
3900 |
|
3901 2009-11-12 Shinichiro Hamaji <hamaji@chromium.org> |
|
3902 |
|
3903 Reviewed by Darin Adler. |
|
3904 |
|
3905 externalRepresentation should take Frame as the argument |
|
3906 https://bugs.webkit.org/show_bug.cgi?id=31393 |
|
3907 |
|
3908 No new tests as this is just a refactoring. |
|
3909 |
|
3910 * WebFrame.cpp: |
|
3911 (WebFrame::renderTreeAsExternalRepresentation): |
|
3912 |
|
3913 2009-11-12 Adam Roben <aroben@apple.com> |
|
3914 |
|
3915 Replace worldIDs with world objects |
|
3916 |
|
3917 WebScriptWorld is the new object that represents a world. The only |
|
3918 place worldID is still used is in |
|
3919 IWebFramePrivate::stringByEvaluatingJavaScriptInIsolatedWorld, but |
|
3920 that will change soon. |
|
3921 |
|
3922 Part of <http://webkit.org/b/31414> Implement new SPI for dealing with |
|
3923 user scripts/stylesheets and isolated worlds |
|
3924 |
|
3925 Reviewed by Sam Weinig. |
|
3926 |
|
3927 * ForEachCoClass.h: Added WebScriptWorld. |
|
3928 |
|
3929 * Interfaces/IWebFramePrivate.idl: Replaced contextForWorldID with |
|
3930 contextForWorld. |
|
3931 |
|
3932 * Interfaces/IWebScriptWorld.idl: Added. |
|
3933 |
|
3934 * Interfaces/IWebViewPrivate.idl: Changed the user script/stylesheet |
|
3935 functions to take an IWebScriptWorld instead of a worldID. |
|
3936 |
|
3937 * Interfaces/WebKit.idl: Added WebScriptWorld. |
|
3938 |
|
3939 * WebFrame.cpp: |
|
3940 (WebFrame::contextForWorld): Renamed from contextForWorldID. Now takes |
|
3941 an IWebScriptWorld. |
|
3942 (WebFrame::stringByEvaluatingJavaScriptInIsolatedWorld): Moved the |
|
3943 bizarre world caching/creation logic that DRT depends on here from the |
|
3944 findWorld function in ScriptController.cpp. Updated to use |
|
3945 ScriptController::executeScriptInWorld instead of |
|
3946 ScriptController::executeScriptInIsolatedWorld. |
|
3947 |
|
3948 * WebFrame.h: Replaced contextForWorldID with contextForWorld. |
|
3949 |
|
3950 * WebScriptWorld.cpp: Added. |
|
3951 (WebScriptWorld::WebScriptWorld): |
|
3952 (WebScriptWorld::~WebScriptWorld): |
|
3953 (WebScriptWorld::createInstance): |
|
3954 (WebScriptWorld::AddRef): |
|
3955 (WebScriptWorld::Release): |
|
3956 (WebScriptWorld::QueryInterface): |
|
3957 Standard COM class implementations. |
|
3958 |
|
3959 (WebScriptWorld::standardWorld): Returns a shared instance that represents |
|
3960 WebCore's mainThreadNormalWorld(). |
|
3961 |
|
3962 * WebScriptWorld.h: Added. |
|
3963 (WebScriptWorld::world): Simple getter. |
|
3964 |
|
3965 * WebKit.vcproj/Interfaces.vcproj: Added IWebScriptWorld.idl. |
|
3966 |
|
3967 * WebKit.vcproj/WebKit.vcproj: Added WebScriptWorld. |
|
3968 |
|
3969 * WebKitClassFactory.cpp: Added WebScriptWorld. |
|
3970 |
|
3971 * WebView.cpp: |
|
3972 (WebView::addUserScriptToGroup): |
|
3973 (WebView::addUserStyleSheetToGroup): |
|
3974 (WebView::removeUserScriptFromGroup): |
|
3975 (WebView::removeUserStyleSheetFromGroup): |
|
3976 (WebView::removeUserScriptsFromGroup): |
|
3977 (WebView::removeUserStyleSheetsFromGroup): |
|
3978 * WebView.h: |
|
3979 Changed these functions to take an IWebScriptWorld instead of a worldID. |
|
3980 |
|
3981 2009-11-12 Adam Roben <aroben@apple.com> |
|
3982 |
|
3983 Small clean-up in WebView's user content functions |
|
3984 |
|
3985 Preparation for <http://webkit.org/b/31414> Implement new SPI for |
|
3986 dealing with user scripts/stylesheets and isolated worlds |
|
3987 |
|
3988 Reviewed by Dave Hyatt. |
|
3989 |
|
3990 * WebView.cpp: |
|
3991 (toString): |
|
3992 (toKURL): |
|
3993 Added these helper functions to convert BSTRs to WebCore types. |
|
3994 |
|
3995 (toStringVector): |
|
3996 (WebView::addUserScriptToGroup): |
|
3997 (WebView::addUserStyleSheetToGroup): |
|
3998 (WebView::removeUserScriptFromGroup): |
|
3999 (WebView::removeUserStyleSheetFromGroup): |
|
4000 (WebView::removeUserScriptsFromGroup): |
|
4001 (WebView::removeUserStyleSheetsFromGroup): |
|
4002 (WebView::removeAllUserContentFromGroup): |
|
4003 Use the new helper functions. |
|
4004 |
|
4005 2009-11-11 Beth Dakin <bdakin@apple.com> |
|
4006 |
|
4007 Build fix. No review needed. |
|
4008 |
|
4009 * WebKitGraphics.cpp: |
|
4010 (WebDrawText): |
|
4011 |
|
4012 2009-11-10 Daniel Bates <dbates@webkit.org> |
|
4013 |
|
4014 Reviewed by Oliver Hunt. |
|
4015 |
|
4016 https://bugs.webkit.org/show_bug.cgi?id=30754 |
|
4017 |
|
4018 Modified WebDropSource::QueryContinueDrag so as to not call EventHandler::dragSourceMovedTo. |
|
4019 |
|
4020 * WebDropSource.cpp: |
|
4021 (WebDropSource::QueryContinueDrag): Removed call to EventHandler::dragSourceMovedTo. |
|
4022 |
|
4023 2009-11-10 Alexey Proskuryakov <ap@apple.com> |
|
4024 |
|
4025 Reviewed by Dan Bernstein. |
|
4026 |
|
4027 https://bugs.webkit.org/show_bug.cgi?id=31312 |
|
4028 Decouple authentication panel callbacks from ResourceHandle |
|
4029 |
|
4030 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
4031 (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): |
|
4032 * WebURLAuthenticationChallenge.cpp: |
|
4033 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): |
|
4034 (WebURLAuthenticationChallenge::sender): |
|
4035 * WebURLAuthenticationChallengeSender.cpp: |
|
4036 (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender): |
|
4037 (WebURLAuthenticationChallengeSender::createInstance): |
|
4038 (WebURLAuthenticationChallengeSender::authenticationClient): |
|
4039 * WebURLAuthenticationChallengeSender.h: |
|
4040 * WebURLAuthenticationChallengeSenderCFNet.cpp: |
|
4041 (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge): |
|
4042 (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge): |
|
4043 (WebURLAuthenticationChallengeSender::useCredential): |
|
4044 Adjusted for WebCore changes. |
|
4045 |
|
4046 2009-11-10 Brian Weinstein <bweinstein@apple.com> |
|
4047 |
|
4048 Reviewed by NOBODY - Build Fix. |
|
4049 |
|
4050 Updated fillRoundedRect to take a ColorSpace argument. |
|
4051 |
|
4052 * WebCoreSupport/WebDragClient.cpp: |
|
4053 (WebDragClient::createDragImageForLink): |
|
4054 |
|
4055 2009-11-08 Janne Koskinen <janne.p.koskinen@digia.com> |
|
4056 |
|
4057 Reviewed by Holger Freyther. |
|
4058 |
|
4059 ResourceRequest to be class instead of struct |
|
4060 https://bugs.webkit.org/show_bug.cgi?id=30670 |
|
4061 |
|
4062 Started as a compilation fix for Symbian where the compiler makes a distinction between |
|
4063 class and struct in function argument signatures. |
|
4064 Changed forward declaration of ResourceRequest to have class in the forward |
|
4065 declaration instead of struct. |
|
4066 |
|
4067 * WebDownload.h: |
|
4068 |
|
4069 2009-11-05 Adam Roben <aroben@apple.com> |
|
4070 |
|
4071 Make CFDictionaryPropertyBag::createInstance return a COMPtr |
|
4072 |
|
4073 I also cleaned up CFDictionaryPropertyBag's class declaration a little |
|
4074 while I was at it. |
|
4075 |
|
4076 Part of <http://webkit.org/b/25294> <rdar://problem/6803127> All |
|
4077 WebKit/win classes should return COMPtrs from their static constructor |
|
4078 members |
|
4079 |
|
4080 Reviewed by Steve Falkenburg. |
|
4081 |
|
4082 * CFDictionaryPropertyBag.cpp: |
|
4083 (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Changed to |
|
4084 initialize m_refCount to 0. m_refCount gets increased to 1 by |
|
4085 createInstance. |
|
4086 (CFDictionaryPropertyBag::createInstance): Changed to return a COMPtr. |
|
4087 |
|
4088 * CFDictionaryPropertyBag.h: |
|
4089 - Updated copyright years |
|
4090 - Fixed header guard to match current style |
|
4091 - Replaced #include of CoreFoundation.h with forward-declaration of |
|
4092 CFMutableDictionaryRef |
|
4093 - Added #include of COMPtr.h |
|
4094 - Fixed opening brace placement in class declaration |
|
4095 - Made createInstance return a COMPtr |
|
4096 - Made constructor/destructor private |
|
4097 - Made QueryInterface and IPropertyBag functions private |
|
4098 - Removed unnecessary parameter names and MIDL comments |
|
4099 |
|
4100 * WebCache.cpp: |
|
4101 (WebCache::statistics): Updated for change to |
|
4102 CFDictionaryPropertyBag::createInstance. Now uses releaseRef to place |
|
4103 the IPropertyBag pointers into the s array. |
|
4104 |
|
4105 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
4106 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): |
|
4107 * WebDatabaseManager.cpp: |
|
4108 (WebDatabaseManager::dispatchDidModifyDatabase): |
|
4109 * WebFrame.cpp: |
|
4110 (WebFrame::createJavaAppletWidget): |
|
4111 Updated for change to CFDictionaryPropertyBag::createInstance. |
|
4112 |
|
4113 * WebHistory.cpp: Removed releaseUserInfo, which is no longer needed. |
|
4114 That function was also doing an unnecessary call to setDictionary(0). |
|
4115 (createUserInfoFromArray): |
|
4116 (createUserInfoFromHistoryItem): |
|
4117 Changed to return COMPtr. |
|
4118 |
|
4119 (WebHistory::loadFromURL): Updated for change to |
|
4120 CFDictionaryPropertyBag::createInstance. |
|
4121 |
|
4122 (WebHistory::removeAllItems): Updated for change to |
|
4123 CFDictionaryPropertyBag::createInstance, which fixed a leak! We had |
|
4124 forgotten to call releaseUserInfo here. |
|
4125 |
|
4126 (WebHistory::removeItem): |
|
4127 (WebHistory::addItem): |
|
4128 (WebHistory::visitedURL): |
|
4129 * WebIconDatabase.cpp: |
|
4130 (postDidAddIconNotification): |
|
4131 Updated for change to CFDictionaryPropertyBag::createInstance. |
|
4132 |
|
4133 * WebKitClassFactory.cpp: |
|
4134 (releaseRefFromCreateInstance): Added this overloaded function |
|
4135 template to abstract away the difference between createInstance |
|
4136 functions that return a ref'd pointer and createInstance functions |
|
4137 that return a COMPtr. |
|
4138 (WebKitClassFactory::CreateInstance): Changed to use |
|
4139 releaseRefFromCreateInstance. |
|
4140 |
|
4141 2009-11-03 Brian Weinstein <bweinstein@apple.com> |
|
4142 |
|
4143 Reviewed by Steve Falkenburg. |
|
4144 |
|
4145 WebActionModifierFlagsKey should return an unsigned, because |
|
4146 flags imply a bitmask, and that is what other classes expect from |
|
4147 it. |
|
4148 |
|
4149 * WebActionPropertyBag.cpp: |
|
4150 (WebActionPropertyBag::Read): |
|
4151 |
|
4152 2009-11-02 Eric Carlson <eric.carlson@apple.com> |
|
4153 |
|
4154 Reviewed by John Sullivan and Mark Rowe. |
|
4155 |
|
4156 <rdar://problem/7356733> Voiceover does not read correct media controller time values |
|
4157 |
|
4158 * WebCoreLocalizedStrings.cpp: |
|
4159 (WebCore::localizedMediaTimeDescription): |
|
4160 |
|
4161 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com> |
|
4162 |
|
4163 MSAA: Accessibility of headings is not correct |
|
4164 |
|
4165 https://bugs.webkit.org/show_bug.cgi?id=30937 |
|
4166 |
|
4167 Reviewed by Alice Liu. |
|
4168 |
|
4169 * AccessibleBase.cpp: |
|
4170 (AccessibleBase::get_accDescription): |
|
4171 Call the object's descriptionForMSAA(). Moved the comment to the |
|
4172 WebCore file. |
|
4173 (AccessibleBase::get_accRole): |
|
4174 If the object has a string role, return that. Otherwise, return the |
|
4175 integer role. |
|
4176 |
|
4177 * AccessibleBase.h: |
|
4178 Removed description(), as this was moved to WebCore. |
|
4179 |
|
4180 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com> |
|
4181 |
|
4182 MSAA: Accessibility of links is wrong |
|
4183 |
|
4184 https://bugs.webkit.org/show_bug.cgi?id=30928 |
|
4185 |
|
4186 Reviewed by Darin Adler. |
|
4187 |
|
4188 * AccessibleBase.cpp: |
|
4189 (AccessibleBase::get_accState): |
|
4190 Check whether the element is linked, instead of whether the node is an |
|
4191 anchor, so the child "linkable" elements of anchor elements will also |
|
4192 be "linked". |
|
4193 (AccessibleBase::name): |
|
4194 Return the name for MSAA. |
|
4195 (AccessibleBase::value): |
|
4196 Return the string value for MSAA. |
|
4197 |
|
4198 2009-10-30 Evan Stade <estade@chromium.org> |
|
4199 |
|
4200 Reviewed by David Levin. |
|
4201 |
|
4202 Notify the chrome when the focused node has changed. |
|
4203 https://bugs.webkit.org/show_bug.cgi?id=30832 |
|
4204 |
|
4205 Added stub implementation for new ChromeClient function. |
|
4206 |
|
4207 * WebCoreSupport/WebChromeClient.cpp: |
|
4208 (WebChromeClient::focusedNodeChanged): |
|
4209 * WebCoreSupport/WebChromeClient.h: |
|
4210 |
|
4211 2009-10-30 Roland Steiner <rolandsteiner@chromium.org> |
|
4212 |
|
4213 Reviewed by Eric Seidel. |
|
4214 |
|
4215 Remove ENABLE_RUBY guards as discussed with Dave Hyatt and Maciej Stachowiak. |
|
4216 |
|
4217 Bug 28420 - Implement HTML5 <ruby> rendering |
|
4218 (https://bugs.webkit.org/show_bug.cgi?id=28420) |
|
4219 |
|
4220 No new tests (no functional change). |
|
4221 |
|
4222 * WebKit.vcproj/WebKit.vcproj: |
|
4223 |
|
4224 2009-10-29 Mark Rowe <mrowe@apple.com> |
|
4225 |
|
4226 Rubber-stamped by Dan Bernstein. |
|
4227 |
|
4228 <http://webkit.org/b/30938> REGRESSION(r50233): Windows nightlies crash on launch due to changes |
|
4229 to IWebFramePrivate vtable ordering |
|
4230 |
|
4231 * Interfaces/IWebFramePrivate.idl: Move the newly-added method to the end of the interface so that |
|
4232 it doesn't affect the ordering of the vtable. |
|
4233 |
|
4234 2009-10-28 Steve Falkenburg <sfalken@apple.com> |
|
4235 |
|
4236 Reviewed by Sam "Horatio" Weinig. |
|
4237 |
|
4238 Should not generate/build COM DOM bindings |
|
4239 https://bugs.webkit.org/show_bug.cgi?id=30880 |
|
4240 |
|
4241 * Interfaces/WebKit.idl: Remove generated interfaces. |
|
4242 * WebKit.vcproj/InterfacesGenerated.vcproj: Removed. |
|
4243 * WebKit.vcproj/WebKit.sln: Remove InterfacesGenerated.vcproj. |
|
4244 * WebKit.vcproj/WebKit.submit.sln: Remove InterfacesGenerated.vcproj. |
|
4245 * WebKit.vcproj/WebKit.vcproj: Remove generated interfaces. |
|
4246 |
|
4247 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org> |
|
4248 |
|
4249 Reviewed by Darin Adler. |
|
4250 |
|
4251 Provide a way to get counter values with layoutTestContoller |
|
4252 https://bugs.webkit.org/show_bug.cgi?id=30555 |
|
4253 |
|
4254 * Interfaces/IWebFramePrivate.idl: |
|
4255 * WebFrame.cpp: |
|
4256 (WebFrame::counterValueForElementById): |
|
4257 * WebFrame.h: |
|
4258 |
|
4259 2009-10-28 Joe Mason <jmason@rim.com> |
|
4260 |
|
4261 Reviewed by Adam Treat. |
|
4262 |
|
4263 Call the shared FrameLoader::defaultObjectContentType instead of |
|
4264 copying code into FrameLoaderClient::objectContentType. This causes no |
|
4265 behavioural change. |
|
4266 |
|
4267 * WebFrame.cpp: |
|
4268 (WebFrame::objectContentType): |
|
4269 |
|
4270 2009-10-28 Holger Hans Peter Freyther <zecke@selfish.org> |
|
4271 |
|
4272 Speculative build-fix for WebElementPropertyBag.cpp |
|
4273 |
|
4274 * WebElementPropertyBag.cpp: Include RenderObject.h |
|
4275 |
|
4276 2009-10-27 Holger Hans Peter Freyther <zecke@selfish.org> |
|
4277 |
|
4278 Reviewed by Simon Fraser. |
|
4279 |
|
4280 Change HitTestResult methods to use (3d) transformation aware methods |
|
4281 https://bugs.webkit.org/show_bug.cgi?id=27347 |
|
4282 |
|
4283 The HitTestResult::boundingBox method was removed. The |
|
4284 RenderObject must be used directly. In contrast to the |
|
4285 old HitTestResult::boundingBox method this code must use |
|
4286 a (3d) transformation aware method to not run into an |
|
4287 assert in SVGRenderBase::mapLocalToContainer. |
|
4288 |
|
4289 * WebElementPropertyBag.cpp: |
|
4290 (WebElementPropertyBag::Read): Replace HitTestResult::boundingBox() |
|
4291 |
|
4292 2009-10-26 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
4293 |
|
4294 Reviewed by Darin Adler. |
|
4295 |
|
4296 Make .rc files compile on Windows without depending on MFC headers |
|
4297 https://bugs.webkit.org/show_bug.cgi?id=30750 |
|
4298 |
|
4299 * WebKit.vcproj/WebKit.rc: Use winresrc.h because it exists even |
|
4300 when MFC is not installed, and is all that's needed here. |
|
4301 |
|
4302 2009-10-26 Sam Weinig <sam@webkit.org> |
|
4303 |
|
4304 Rubber-stamped by Darin Adler. |
|
4305 |
|
4306 Rollout r50041-50043. The HTML5 spec changed to make HTMLOptionsCollection |
|
4307 inherit from HTMLCollection. |
|
4308 |
|
4309 * DOMCreateInstance.cpp: |
|
4310 |
|
4311 2009-10-25 Dan Bernstein <mitz@apple.com> |
|
4312 |
|
4313 Reviewed by John Sullivan. |
|
4314 |
|
4315 Add contextForWorldID to the IWebFramePrivate interface. |
|
4316 |
|
4317 * Interfaces/IWebFramePrivate.idl: |
|
4318 * WebFrame.h: |
|
4319 |
|
4320 2009-10-25 Sam Weinig <sam@webkit.org> |
|
4321 |
|
4322 Another try at fixing windows. |
|
4323 |
|
4324 * DOMCreateInstance.cpp: |
|
4325 |
|
4326 2009-10-25 Sam Weinig <sam@webkit.org> |
|
4327 |
|
4328 Touch WebKit.idl in an effort to try and regenerate the COM bindings. |
|
4329 |
|
4330 * Interfaces/WebKit.idl: |
|
4331 |
|
4332 2009-10-23 Mark Rowe <mrowe@apple.com> |
|
4333 |
|
4334 Build fix. Include config.h before including other files. |
|
4335 |
|
4336 * AccessibleImage.cpp: |
|
4337 |
|
4338 2009-10-23 Gavin Barraclough <barraclough@apple.com> |
|
4339 |
|
4340 Reviewed by Geoff Garen. |
|
4341 |
|
4342 https://bugs.webkit.org/show_bug.cgi?id=30729 |
|
4343 Provide private API to request the global context for a specific world. |
|
4344 Used to initialize parameters on the global object. |
|
4345 |
|
4346 * WebFrame.cpp: |
|
4347 (WebFrame::contextForWorldID): |
|
4348 * WebFrame.h: |
|
4349 |
|
4350 2009-10-23 Brian Weinstein <bweinstein@apple.com> |
|
4351 |
|
4352 Reviewed by John Sullivan. |
|
4353 |
|
4354 Pan-scrolling pointer shows up in other tabs or windows, can't "fix" it. |
|
4355 <http://webkit.org/b/30732> and <rdar://7332018>. |
|
4356 |
|
4357 Turns off pan-scrolling on a WebView when it is about to lose focus. |
|
4358 |
|
4359 * WebView.cpp: |
|
4360 (WebViewWndProc): |
|
4361 |
|
4362 2009-10-23 Jon Honeycutt <jhoneycutt@apple.com> |
|
4363 |
|
4364 MSAA: Name for image elements should use alt attribute text |
|
4365 |
|
4366 https://bugs.webkit.org/show_bug.cgi?id=30727 |
|
4367 <rdar://problem/7328291> |
|
4368 |
|
4369 Reviewed by Alice Liu. |
|
4370 |
|
4371 * AccessibleBase.cpp: |
|
4372 (AccessibleBase::createInstance): |
|
4373 If the AccessibilityObject is an image, return an AccessibleImage. |
|
4374 |
|
4375 * AccessibleImage.cpp: Added. |
|
4376 (AccessibleImage::AccessibleImage): |
|
4377 Call the base constructor. |
|
4378 (AccessibleImage::name): |
|
4379 If the object is not an AccessibilityRenderObject, return the base's |
|
4380 name(). Look first for an ARIA "labeled-by" attribute, then look for an |
|
4381 alternate text attribute. Fall back to the base's name(). |
|
4382 |
|
4383 * AccessibleImage.h: Added. |
|
4384 (AccessibleImage::~AccessibleImage): |
|
4385 |
|
4386 * WebKit.vcproj/WebKit.vcproj: |
|
4387 Add AccessibleImage to the project. |
|
4388 |
|
4389 2009-10-23 Sam Weinig <sam@webkit.org> |
|
4390 |
|
4391 Try and fix the windows build. |
|
4392 |
|
4393 * Interfaces/WebKit.idl: |
|
4394 |
|
4395 2009-10-22 Gavin Barraclough <barraclough@apple.com> |
|
4396 |
|
4397 Reviewed by Sam Weinig & Geoff Garen. |
|
4398 |
|
4399 https://bugs.webkit.org/show_bug.cgi?id=30696 |
|
4400 Update to incorporate support for IsolatedWorlds in JSC bindings. |
|
4401 |
|
4402 * Interfaces/IWebFramePrivate.idl: |
|
4403 * WebFrame.cpp: |
|
4404 (WebFrame::globalContext): |
|
4405 (WebFrame::windowObjectCleared): |
|
4406 (WebFrame::stringByEvaluatingJavaScriptInIsolatedWorld): |
|
4407 * WebFrame.h: |
|
4408 |
|
4409 2009-10-20 Fumitoshi Ukai <ukai@chromium.org> |
|
4410 |
|
4411 Reviewed by David Levin. |
|
4412 |
|
4413 Removed WebSocket runtime settings. |
|
4414 https://bugs.webkit.org/show_bug.cgi?id=29896 |
|
4415 |
|
4416 WebSocket runtime configuration is supported by chromium/v8 only. |
|
4417 |
|
4418 * Interfaces/IWebPreferencesPrivate.idl: |
|
4419 * WebPreferenceKeysPrivate.h: |
|
4420 * WebPreferences.cpp: |
|
4421 (WebPreferences::initializeDefaultSettings): |
|
4422 (WebPreferences::experimentalNotificationsEnabled): |
|
4423 * WebPreferences.h: |
|
4424 * WebView.cpp: |
|
4425 (WebView::notifyPreferencesChanged): |
|
4426 |
|
4427 2009-10-19 Adam Roben <aroben@apple.com> |
|
4428 |
|
4429 Fix crashes/assertions when calling WebLocalizedString from multiple |
|
4430 threads concurrently |
|
4431 |
|
4432 Fixes <http://webkit.org/b/30534> WebLocalizedString asserts if called |
|
4433 from multiple threads concurrently |
|
4434 |
|
4435 Reviewed by John Sullivan. |
|
4436 |
|
4437 * WebLocalizableStrings.cpp: |
|
4438 (mainBundleLocStringsMutex): |
|
4439 (frameworkLocStringsMutex): |
|
4440 Added these new getters. |
|
4441 |
|
4442 (findCachedString): |
|
4443 (cacheString): |
|
4444 Lock the relevant mutex before accessing each string map. Otherwise |
|
4445 bad things could happen if two threads end up here at the same time. |
|
4446 |
|
4447 2009-10-19 Adam Roben <aroben@apple.com> |
|
4448 |
|
4449 Get rid of a few static initializers/exit-time destructors in |
|
4450 WebLocalizableStrings |
|
4451 |
|
4452 Reviewed by Dan Bernstein. |
|
4453 |
|
4454 * WebLocalizableStrings.cpp: |
|
4455 (mainBundleLocStrings): |
|
4456 (frameworkLocStrings): |
|
4457 Added these functions instead of file-scope variables. |
|
4458 |
|
4459 (findCachedString): |
|
4460 (cacheString): |
|
4461 Updated to use the new functions. |
|
4462 |
|
4463 2009-10-19 Nate Chapin <japhet@chromium.org> |
|
4464 |
|
4465 Unreviewed, build fix. |
|
4466 |
|
4467 Update call to FrameLoader::urlSelected(). |
|
4468 |
|
4469 * WebCoreSupport/WebContextMenuClient.cpp: |
|
4470 (WebContextMenuClient::searchWithGoogle): |
|
4471 |
|
4472 2009-10-16 Steve Falkenburg <sfalken@apple.com> |
|
4473 |
|
4474 Reviewed by Dan Bernstein. |
|
4475 |
|
4476 https://bugs.webkit.org/show_bug.cgi?id=30456 |
|
4477 Fixes for new Debug_All Windows build configuration. |
|
4478 |
|
4479 * WebKitClassFactory.cpp: Use new DEBUG_ALL preprocessor define for library naming. |
|
4480 |
|
4481 2009-10-16 Jon Honeycutt <jhoneycutt@apple.com> |
|
4482 |
|
4483 Add SPI to determine whether a plug-in has ever been halted. |
|
4484 |
|
4485 Part of <rdar://problem/7312158>. |
|
4486 |
|
4487 Reviewed by Dan Bernstein. |
|
4488 |
|
4489 * Interfaces/IWebViewPrivate.idl: |
|
4490 Add hasPluginForNodeBeenHalted(). |
|
4491 |
|
4492 * WebView.cpp: |
|
4493 (pluginViewForNode): |
|
4494 Code factored out of isNodeHaltedPlugin(). |
|
4495 (WebView::isNodeHaltedPlugin): |
|
4496 Remove STDMETHODCALLTYPE, as it has no use at the definition. Use |
|
4497 pluginViewForNode(). |
|
4498 (WebView::restartHaltedPluginForNode): |
|
4499 Ditto. |
|
4500 (WebView::hasPluginForNodeBeenHalted): |
|
4501 Get the PluginView for the given node. Return the result of |
|
4502 PluginView::hasBeenHalted(). |
|
4503 |
|
4504 * WebView.h: |
|
4505 Declare hasPluginForNodeBeenHalted(). |
|
4506 |
|
4507 2009-10-16 Steve Falkenburg <sfalken@apple.com> |
|
4508 |
|
4509 Reviewed by Adam Roben. |
|
4510 |
|
4511 Add a Debug_All configuration to build entire stack as debug. |
|
4512 Change Debug_Internal to: |
|
4513 - stop using _debug suffix for all WebKit/Safari binaries |
|
4514 - not use _debug as a DLL naming suffix |
|
4515 - use non-debug C runtime lib. |
|
4516 |
|
4517 * WebKit.vcproj/InterfacesGenerated.vcproj: Renamed single configuration from "Release" to "all". |
|
4518 * WebKit.vcproj/WebKit.make: Debug build in makefile should build Debug_All. |
|
4519 * WebKit.vcproj/WebKit.sln: Add Debug_All configuration. |
|
4520 * WebKit.vcproj/WebKit.submit.sln: Add Debug_All configuration. |
|
4521 * WebKit.vcproj/WebKit.vcproj: |
|
4522 Remove extraneous OutputDirectory/IntermediateDirectory in Debug_Cairo. |
|
4523 Add Debug_All configuration. |
|
4524 * WebKit.vcproj/WebKitGUID.vcproj: Add Debug_All configuration. |
|
4525 |
|
4526 2009-10-15 Jon Honeycutt <jhoneycutt@apple.com> |
|
4527 |
|
4528 Add SPI to restart a halted plug-in. |
|
4529 |
|
4530 Part of <rdar://problem/7273354> Halted plug-ins should restart on |
|
4531 mouseover |
|
4532 |
|
4533 https://bugs.webkit.org/show_bug.cgi?id=30151 |
|
4534 |
|
4535 Reviewed by Kevin Decker. |
|
4536 |
|
4537 * Interfaces/IWebViewPrivate.idl: |
|
4538 Add restartHaltedPluginForNode(). |
|
4539 |
|
4540 * WebView.cpp: |
|
4541 (WebView::restartHaltedPluginForNode): |
|
4542 From the IDOMNode, query for the DOMNode. From the DOMNode, get the |
|
4543 WebCore::Node. Get the node's renderer, and check whether it is a |
|
4544 RenderWidget. If so, get its Widget, and check whether it's a |
|
4545 PluginView. If so, call PluginView::restart(). |
|
4546 |
|
4547 * WebView.h: |
|
4548 Declare restartHaltedPluginForNode(). |
|
4549 |
|
4550 2009-10-14 Jon Honeycutt <jhoneycutt@apple.com> |
|
4551 |
|
4552 Add SPI to determine whether a node is a halted plug-in. |
|
4553 |
|
4554 Part of <rdar://problem/7273354> Halted plug-ins should restart on |
|
4555 mouseover |
|
4556 |
|
4557 https://bugs.webkit.org/show_bug.cgi?id=30151 |
|
4558 |
|
4559 Reviewed by Darin Adler. |
|
4560 |
|
4561 * Interfaces/IWebViewPrivate.idl: |
|
4562 Add isNodehaltedPlugin(). |
|
4563 |
|
4564 * WebView.cpp: |
|
4565 (WebView::isNodeHaltedPlugin): |
|
4566 From the IDOMNode, query for the DOMNode. From the DOMNode, get the |
|
4567 WebCore::Node. Get the node's renderer, and check whether it is a |
|
4568 RenderWidget. If so, get its Widget, and check whether it's a |
|
4569 PluginView. If so, return the result of PluginView::isHalted(). |
|
4570 |
|
4571 * WebView.h: |
|
4572 Declare isNodeHaltedPlugin(). |
|
4573 |
|
4574 2009-10-15 Daniel Bates <dbates@webkit.org> |
|
4575 |
|
4576 Reviewed by Adam Roben. |
|
4577 |
|
4578 https://bugs.webkit.org/show_bug.cgi?id=24731 |
|
4579 And |
|
4580 rdar://problem/5015961 |
|
4581 |
|
4582 Implements support for DHTML drag-and-drop operations (i.e. ondragstart, ondragend) |
|
4583 in the Windows build so that it conforms to the Mac OS X build. Hence, dropEffect is |
|
4584 correctly set. |
|
4585 |
|
4586 The WebView and WebDropSource drag-and-drop functions, as called by function |
|
4587 DoDragDrop in its event loop, neither used the drop effect as specified by |
|
4588 event.dataTransfer.dropEffect nor respected event.dataTransfer.effectsAllowed. |
|
4589 Instead, these functions defaulted to some hardcoded drop effect and set of |
|
4590 allowed drop effects, respectively. |
|
4591 |
|
4592 Tests: fast/events/drag-and-drop.html |
|
4593 |
|
4594 * WebCoreSupport/WebDragClient.cpp: |
|
4595 (WebDragClient::startDrag): |
|
4596 * WebDropSource.cpp: |
|
4597 (WebDropSource::QueryContinueDrag): Moved call to EventHandler::dragSourceEndedAt |
|
4598 into method WebDragClient::startDrag. |
|
4599 * WebDropSource.h: |
|
4600 * WebView.cpp: |
|
4601 (WebView::keyStateToDragOperation): Fixes <rdar://problem/5015961>. Determines |
|
4602 appropriate drop effect from state of keyboard and allowed effects |
|
4603 m_page->dragController()->sourceDragOperation(). |
|
4604 (WebView::DragEnter): |
|
4605 (WebView::DragOver): |
|
4606 (WebView::Drop): |
|
4607 * WebView.h: |
|
4608 |
|
4609 2009-10-14 Adam Roben <aroben@apple.com> |
|
4610 |
|
4611 Windows build fix |
|
4612 |
|
4613 * WebKit.vcproj/Interfaces.vcproj: Exclude IWebHistoryDelegate and |
|
4614 IWebNavigationData from the build (they get #imported via WebKit.idl). |
|
4615 |
|
4616 2009-10-14 Brady Eidson <beidson@apple.com> |
|
4617 |
|
4618 Reviewed by Sam Weinig. |
|
4619 |
|
4620 WebKit Win API should provide a delegate interface for global history. |
|
4621 https://bugs.webkit.org/show_bug.cgi?id=29905 |
|
4622 |
|
4623 -Add IWebHistoryDelegate for clients to implement. |
|
4624 -Add (I)WebNavigationData for the history delegate's use. |
|
4625 -When it exists, call the history delegate instead of using WebHistory. |
|
4626 |
|
4627 * Interfaces/IWebHistoryDelegate.idl: Added. |
|
4628 * Interfaces/IWebHistoryPrivate.idl: |
|
4629 * Interfaces/IWebNavigationData.idl: Added. |
|
4630 * Interfaces/IWebViewPrivate.idl: |
|
4631 * Interfaces/WebKit.idl: |
|
4632 |
|
4633 * WebKit.vcproj/Interfaces.vcproj: |
|
4634 * WebKit.vcproj/WebKit.vcproj: |
|
4635 |
|
4636 * WebCoreSupport/WebChromeClient.cpp: |
|
4637 (WebChromeClient::populateVisitedLinks): |
|
4638 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
4639 (WebFrameLoaderClient::updateGlobalHistory): |
|
4640 (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks): |
|
4641 (WebFrameLoaderClient::setTitle): |
|
4642 |
|
4643 * WebView.cpp: |
|
4644 (WebView::close): |
|
4645 (WebView::mainFrameURL): |
|
4646 (WebView::setHistoryDelegate): |
|
4647 (WebView::historyDelegate): |
|
4648 (WebView::addVisitedLinks): |
|
4649 * WebView.h: |
|
4650 |
|
4651 * WebHistory.cpp: |
|
4652 (WebHistory::setVisitedLinkTrackingEnabled): |
|
4653 (WebHistory::removeAllVisitedLinks): |
|
4654 * WebHistory.h: |
|
4655 |
|
4656 * WebNavigationData.cpp: Added. |
|
4657 (WebNavigationData::QueryInterface): |
|
4658 (WebNavigationData::AddRef): |
|
4659 (WebNavigationData::Release): |
|
4660 (WebNavigationData::WebNavigationData): |
|
4661 (WebNavigationData::~WebNavigationData): |
|
4662 (WebNavigationData::createInstance): |
|
4663 (WebNavigationData::url): |
|
4664 (WebNavigationData::title): |
|
4665 (WebNavigationData::originalRequest): |
|
4666 (WebNavigationData::response): |
|
4667 (WebNavigationData::hasSubstituteData): |
|
4668 (WebNavigationData::clientRedirectSource): |
|
4669 * WebNavigationData.h: Added. |
|
4670 |
|
4671 2009-10-13 Dave Hyatt <hyatt@apple.com> |
|
4672 |
|
4673 Fix more WebView bustage. |
|
4674 |
|
4675 * WebView.cpp: |
|
4676 (WebView::addUserScriptToGroup): |
|
4677 (WebView::addUserStyleSheetToGroup): |
|
4678 (WebView::removeUserScriptsFromGroup): |
|
4679 (WebView::removeUserStyleSheetsFromGroup): |
|
4680 |
|
4681 2009-10-13 Dave Hyatt <hyatt@apple.com> |
|
4682 |
|
4683 Fix build bustage on Windows. |
|
4684 |
|
4685 * WebView.cpp: |
|
4686 (WebView::addUserScriptToGroup): |
|
4687 (WebView::addUserStyleSheetToGroup): |
|
4688 (WebView::removeUserScriptsFromGroup): |
|
4689 (WebView::removeUserStyleSheetsFromGroup): |
|
4690 |
|
4691 2009-10-13 Dave Hyatt <hyatt@apple.com> |
|
4692 |
|
4693 Reviewed by Adam Roben.. |
|
4694 |
|
4695 Split removal functions for user scripts and stylehseets based on type. |
|
4696 |
|
4697 * Interfaces/IWebViewPrivate.idl: |
|
4698 * WebView.cpp: |
|
4699 (WebView::removeUserScriptFromGroup): |
|
4700 (WebView::removeUserStyleSheetFromGroup): |
|
4701 * WebView.h: |
|
4702 |
|
4703 2009-10-09 Adam Barth <abarth@webkit.org> |
|
4704 |
|
4705 Reviewed by Darin Adler. |
|
4706 |
|
4707 Factor HistoryController out of FrameLoader |
|
4708 https://bugs.webkit.org/show_bug.cgi?id=30246 |
|
4709 |
|
4710 Update API call. |
|
4711 |
|
4712 * WebView.cpp: |
|
4713 (WebView::loadBackForwardListFromOtherView): |
|
4714 |
|
4715 2009-10-08 Jon Honeycutt <jhoneycutt@apple.com> |
|
4716 |
|
4717 Remove the WebKitPluginHalterEnabledPreferenceKey in favor of checking |
|
4718 for the existence of a PluginHalterDelegate. |
|
4719 |
|
4720 Reviewed by Dan Bernstein. |
|
4721 |
|
4722 * Interfaces/IWebPreferencesPrivate.idl: |
|
4723 Remove the getter and setter. |
|
4724 |
|
4725 * WebCoreSupport/WebPluginHalterClient.cpp: |
|
4726 (WebPluginHalterClient::enabled): |
|
4727 Return true if the delegate exists. |
|
4728 |
|
4729 * WebCoreSupport/WebPluginHalterClient.h: |
|
4730 Declare implementation of enabled(). |
|
4731 |
|
4732 * WebPreferenceKeysPrivate.h: |
|
4733 Removed the pref key. |
|
4734 |
|
4735 * WebPreferences.cpp: |
|
4736 (WebPreferences::initializeDefaultSettings): |
|
4737 Removed initialization of the pref. |
|
4738 |
|
4739 * WebPreferences.h: |
|
4740 Removed declaration of the getter/setter. |
|
4741 |
|
4742 * WebView.cpp: |
|
4743 (WebView::notifyPreferencesChanged): |
|
4744 Don't propagate the pref. |
|
4745 |
|
4746 2009-10-08 Adam Barth <abarth@webkit.org> |
|
4747 |
|
4748 Reviewed by Eric Seidel. |
|
4749 |
|
4750 Move executeScript from FrameLoader to ScriptController |
|
4751 https://bugs.webkit.org/show_bug.cgi?id=30200 |
|
4752 |
|
4753 Update API call. |
|
4754 |
|
4755 * WebView.cpp: |
|
4756 (WebView::stringByEvaluatingJavaScriptFromString): |
|
4757 |
|
4758 2009-10-08 Anders Carlsson <andersca@apple.com> |
|
4759 |
|
4760 Reviewed by Sam Weinig. |
|
4761 |
|
4762 Remove the shouldLoadMediaElementURL implementation. |
|
4763 |
|
4764 * Interfaces/IWebPolicyDelegatePrivate.idl: |
|
4765 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
4766 (WebFrameLoaderClient::shouldUsePluginDocument): |
|
4767 * WebCoreSupport/WebFrameLoaderClient.h: |
|
4768 |
|
4769 2009-10-08 Adam Roben <aroben@apple.com> |
|
4770 |
|
4771 Make IWebInspectorPrivate be accessed in a more standard way |
|
4772 |
|
4773 IWebViewPrivate::inspectorPrivate has been removed. Callers should |
|
4774 instead use IWebViewPrivate::inspector and then use QueryInterface to |
|
4775 get the IWebInspectorPrivate interface. This matches how our other COM |
|
4776 classes work. |
|
4777 |
|
4778 Fixes <http://webkit.org/b/30215> Make IWebInspectorPrivate be |
|
4779 accessed in a more standard way |
|
4780 |
|
4781 Reviewed by John Sullivan and Tim Hatcher. |
|
4782 |
|
4783 * Interfaces/IWebViewPrivate.idl: Removed inspectorPrivate. |
|
4784 |
|
4785 * WebInspector.cpp: |
|
4786 (WebInspector::QueryInterface): Support querying to |
|
4787 IWebInspectorPrivate. |
|
4788 |
|
4789 * WebView.cpp: |
|
4790 * WebView.h: |
|
4791 Removed inspectorPrivate. |
|
4792 |
|
4793 2009-10-08 Adam Roben <aroben@apple.com> |
|
4794 |
|
4795 Move the new IWebViewPrivate::inspectorPrivate function after all |
|
4796 functions that existed when Safari 4.0.3 was released |
|
4797 |
|
4798 Fixes <http://webkit.org/b/30085> REGRESSION (r49091): run-safari |
|
4799 crashes in Safari.dll |
|
4800 |
|
4801 Reviewed by John Sullivan. |
|
4802 |
|
4803 * Interfaces/IWebViewPrivate.idl: Moved inspectorPrivate to the end of |
|
4804 the interface, so it won't modify the vtable that Safari 4.0.3 sees. |
|
4805 |
|
4806 2009-10-07 Adam Roben <aroben@apple.com> |
|
4807 |
|
4808 Expose origin whitelisting in the WebKit API on Windows |
|
4809 |
|
4810 Fixes <http://webkit.org/b/30185>. |
|
4811 |
|
4812 Reviewed by Eric Seidel. |
|
4813 |
|
4814 * Interfaces/IWebViewPrivate.idl: Added whiteListAccessFromOrigin and |
|
4815 resetOriginAccessWhiteLists, to match the Mac SPI. |
|
4816 |
|
4817 * WebView.cpp: |
|
4818 (WebView::whiteListAccessFromOrigin): |
|
4819 (WebView::resetOriginAccessWhiteLists): |
|
4820 * WebView.h: |
|
4821 Added. These just call through to SecurityOrigin. |
|
4822 |
|
4823 2009-10-07 Adam Barth <abarth@webkit.org> |
|
4824 |
|
4825 Reviewed by Darin Adler. |
|
4826 |
|
4827 Factor PolicyChecker out of FrameLoader |
|
4828 https://bugs.webkit.org/show_bug.cgi?id=30155 |
|
4829 |
|
4830 Move the policy callback to the policy object. |
|
4831 |
|
4832 * WebFrame.cpp: |
|
4833 (WebFrame::dispatchWillSubmitForm): |
|
4834 (WebFrame::receivedPolicyDecision): |
|
4835 (WebFrame::dispatchDecidePolicyForMIMEType): |
|
4836 (WebFrame::dispatchDecidePolicyForNewWindowAction): |
|
4837 (WebFrame::dispatchDecidePolicyForNavigationAction): |
|
4838 |
|
4839 2009-10-07 Daniel Bates <dbates@webkit.org> |
|
4840 |
|
4841 Reviewed by Darin Adler. |
|
4842 |
|
4843 https://bugs.webkit.org/show_bug.cgi?id=30102 |
|
4844 And |
|
4845 <rdar://problem/5015957> |
|
4846 |
|
4847 Fixes an issue (in the Windows build) where the cursor does not change to the |
|
4848 not-allowed cursor when the drag-and-drop operation is not allowed. |
|
4849 |
|
4850 The allowed effects in WebDragClient::startDrag are hard-coded to be |
|
4851 DROPEFFECT_COPY | DROPEFFECT_LINK | DROPEFFECT_MOVE. Instead, the list of |
|
4852 allowed drop effects should be determined by the allowed operations of the |
|
4853 drag source. |
|
4854 |
|
4855 We cannot test this using DRT because DRT looks at the programmatic drop |
|
4856 cursor and until bug #24731 is fixed this value is hard-coded to DragOperationCopy. |
|
4857 That is, there is a discrepancy in the Windows build between the Windows API-based |
|
4858 drop effect and the WebKit drop effect. Because DRT cannot read the screen buffer |
|
4859 to determine the cursor, a manual test is needed. |
|
4860 |
|
4861 * WebCoreSupport/WebDragClient.cpp: |
|
4862 (draggingSourceOperationMaskToDragCursors): Added method. |
|
4863 (WebDragClient::startDrag): |
|
4864 |
|
4865 2009-10-07 Steve Falkenburg <sfalken@apple.com> |
|
4866 |
|
4867 Reviewed by Darin Adler. |
|
4868 |
|
4869 https://bugs.webkit.org/show_bug.cgi?id=30176 |
|
4870 <rdar://problem/7281553> Extra information in UA causes problems with gmail |
|
4871 |
|
4872 * WebKit.vcproj/WebKit.rc: Restore PRODUCTVERSION to build number only. Remove extra space. |
|
4873 |
|
4874 2009-10-06 Pavel Feldman <pfeldman@chromium.org> |
|
4875 |
|
4876 Reviewed by Timothy Hatcher. |
|
4877 |
|
4878 Web Inspector: default to an attached inspector window on Windows (as on Mac). |
|
4879 |
|
4880 https://bugs.webkit.org/show_bug.cgi?id=30134 |
|
4881 |
|
4882 * WebCoreSupport/WebInspectorClient.cpp: |
|
4883 (WebInspectorClient::showWindowWithoutNotifications): |
|
4884 |
|
4885 2009-10-06 Adam Barth <abarth@webkit.org> |
|
4886 |
|
4887 Reviewed by Eric Seidel. |
|
4888 |
|
4889 Move FrameLoader::canLoad to SecurityOrigin |
|
4890 https://bugs.webkit.org/show_bug.cgi?id=30111 |
|
4891 |
|
4892 * WebFrame.cpp: |
|
4893 (WebFrame::allowsFollowingLink): |
|
4894 |
|
4895 2009-10-06 Pavel Feldman <pfeldman@chromium.org> |
|
4896 |
|
4897 Reviewed by Timothy Hatcher. |
|
4898 |
|
4899 Web Inspector: close inspector client view on |
|
4900 InspectorController::close API call. |
|
4901 |
|
4902 In order to run batch web inspector layout tests (and not affect |
|
4903 subsequent tests) we should close inspector client's view upon |
|
4904 InspectorController::close API call. |
|
4905 |
|
4906 https://bugs.webkit.org/show_bug.cgi?id=30009 |
|
4907 |
|
4908 * WebCoreSupport/WebInspectorClient.cpp: |
|
4909 (WebInspectorClient::createPage): |
|
4910 |
|
4911 2009-10-06 David Levin <levin@chromium.org> |
|
4912 |
|
4913 Reviewed by NOBODY (windows build fix). |
|
4914 |
|
4915 Speculative build fix for windows (due to r49160). |
|
4916 |
|
4917 * WebDownloadCFNet.cpp: |
|
4918 (WebDownload::initToResumeWithBundle): |
|
4919 * WebIconDatabase.cpp: |
|
4920 (WebIconDatabase::dispatchDidAddIconForPageURL): |
|
4921 |
|
4922 2009-10-05 Pavel Feldman <pfeldman@chromium.org> |
|
4923 |
|
4924 Reviewed by Timothy Hatcher. |
|
4925 |
|
4926 Web Inspector: add testing harness for Web Inspector. |
|
4927 |
|
4928 https://bugs.webkit.org/show_bug.cgi?id=30010 |
|
4929 |
|
4930 * Interfaces/IWebInspectorPrivate.idl: Added. |
|
4931 * Interfaces/IWebViewPrivate.idl: |
|
4932 * Interfaces/WebKit.idl: |
|
4933 * WebInspector.cpp: |
|
4934 (WebInspector::evaluateInFrontend): |
|
4935 * WebInspector.h: |
|
4936 * WebView.cpp: |
|
4937 (WebView::inspectorPrivate): |
|
4938 * WebView.h: |
|
4939 |
|
4940 2009-10-02 Dave Hyatt <hyatt@apple.com> |
|
4941 |
|
4942 Reviewed by Adam Roben. |
|
4943 |
|
4944 Add support for blacklist patterns to user stylesheets and scripts in addition to whitelist patterns. |
|
4945 |
|
4946 * Interfaces/IWebViewPrivate.idl: |
|
4947 * WebView.cpp: |
|
4948 (toStringVector): |
|
4949 (WebView::addUserScriptToGroup): |
|
4950 (WebView::addUserStyleSheetToGroup): |
|
4951 * WebView.h: |
|
4952 |
|
4953 2009-10-02 Steve Falkenburg <sfalken@apple.com> |
|
4954 |
|
4955 Reviewed by Mark Rowe. |
|
4956 |
|
4957 <https://bugs.webkit.org/show_bug.cgi?id=29989> |
|
4958 Safari version number shouldn't be exposed in WebKit code |
|
4959 |
|
4960 For a WebKit version of 532.3.4: |
|
4961 Product version is: 5.32.3.4 (was 4.0.3.0) |
|
4962 File version is: 5.32.3.4 (was 4.532.3.4) |
|
4963 |
|
4964 * WebKit.vcproj/WebKit.rc: |
|
4965 |
|
4966 2009-09-30 Sam Weinig <sam@webkit.org> |
|
4967 |
|
4968 Reviewed by Dan Bernstein. |
|
4969 |
|
4970 Fix for <rdar://problem/7259706> |
|
4971 Need WebKit API or SPI on Mac and Windows to test whether it's safe to load a page in a new tab/window |
|
4972 |
|
4973 * Interfaces/IWebFramePrivate.idl: |
|
4974 * WebFrame.cpp: |
|
4975 (WebFrame::allowsFollowingLink): |
|
4976 * WebFrame.h: |
|
4977 |
|
4978 2009-09-30 Dave Hyatt <hyatt@apple.com> |
|
4979 |
|
4980 Reviewed by Adam Roben. |
|
4981 |
|
4982 Add the ability to remove user stylesheets and scripts by URL. |
|
4983 |
|
4984 * Interfaces/IWebViewPrivate.idl: |
|
4985 * WebView.cpp: |
|
4986 (WebView::removeUserContentWithURLFromGroup): |
|
4987 * WebView.h: |
|
4988 |
|
4989 2009-09-29 Kenneth Russell <kbr@google.com> |
|
4990 |
|
4991 Reviewed by Dimitri Glazkov. |
|
4992 |
|
4993 Add support for run-time flag for 3D canvas |
|
4994 https://bugs.webkit.org/show_bug.cgi?id=29826 |
|
4995 |
|
4996 * WebView.cpp: |
|
4997 (WebView::notifyPreferencesChanged): Enable experimental WebGL |
|
4998 flag when 3D_CANVAS is enabled in the build. |
|
4999 |
|
5000 2009-09-28 Alexey Proskuryakov <ap@apple.com> |
|
5001 |
|
5002 Reviewed by Darin Adler and Sam Weinig. |
|
5003 |
|
5004 Onclick not fired for an element copied with cloneContents() or cloneNode() |
|
5005 https://bugs.webkit.org/show_bug.cgi?id=25130 |
|
5006 |
|
5007 * DOMCreateInstance.cpp: GEN_DOMEventListener is a pure interface now. |
|
5008 |
|
5009 * WebKit.vcproj/WebKit.vcproj: Removed GEN_DOMEventListener.cpp. |
|
5010 |
|
5011 2009-09-28 Fumitoshi Ukai <ukai@chromium.org> |
|
5012 |
|
5013 Reviewed by Eric Seidel. |
|
5014 |
|
5015 Add experimentalWebSocketsEnabled in WebPreferences. |
|
5016 https://bugs.webkit.org/show_bug.cgi?id=28941 |
|
5017 |
|
5018 * Interfaces/IWebPreferencesPrivate.idl: |
|
5019 * WebPreferenceKeysPrivate.h: |
|
5020 * WebPreferences.cpp: |
|
5021 (WebPreferences::initializeDefaultSettings): |
|
5022 (WebPreferences::setExperimentalWebSocketsEnabled): |
|
5023 (WebPreferences::experimentalWebSocketsEnabled): |
|
5024 * WebPreferences.h: |
|
5025 * WebView.cpp: |
|
5026 (WebView::notifyPreferencesChanged): |
|
5027 (core): |
|
5028 |
|
5029 2009-09-25 Darin Adler <darin@apple.com> |
|
5030 |
|
5031 Reviewed by Steve Falkenburg. |
|
5032 |
|
5033 Speed up access to history items by caching date computation. |
|
5034 |
|
5035 * History/WebHistory.mm: |
|
5036 (getDayBoundaries): Refactored from timeIntervalForBeginningOfDay. |
|
5037 Returns the beginning of the day that the passed time is within and |
|
5038 the beginning of the next day. |
|
5039 (beginningOfDay): Added. Uses getDayBoundaries so it can be fast for |
|
5040 multiple dates within the same day, which is the common case. |
|
5041 (dateKey): Added. Calls beginningOfDay and converts to an integer. |
|
5042 (WebHistory::findKey): Changed to call dateKey instead of |
|
5043 timeIntervalForBeginningOfDay. |
|
5044 |
|
5045 2009-09-25 Adam Roben <aroben@apple.com> |
|
5046 |
|
5047 Add SPI to invalidate a WebView's backing store |
|
5048 |
|
5049 This is useful in conjunction with |
|
5050 IWebUIDelegatePrivate2::drawBackground. This provides a way for the UI |
|
5051 delegate to force WebView to get its background redrawn. |
|
5052 |
|
5053 Fixes <http://webkit.org/b/29737> Need SPI to invalidate a WebView's |
|
5054 backing store |
|
5055 |
|
5056 Reviewed by Anders Carlsson. |
|
5057 |
|
5058 * Interfaces/IWebViewPrivate.idl: Added invalidateBackingStore. |
|
5059 * WebView.cpp: |
|
5060 (WebView::invalidateBackingStore): If rect is 0, invalidate our whole |
|
5061 client rect. Otherwise invalidate the intersection of rect with our |
|
5062 client rect. |
|
5063 * WebView.h: |
|
5064 |
|
5065 2009-09-24 Jon Honeycutt <jhoneycutt@apple.com> |
|
5066 |
|
5067 Add a mechanism for automatically halting plug-ins. |
|
5068 |
|
5069 Reviewed by Oliver Hunt. |
|
5070 |
|
5071 * Interfaces/IWebPluginHalterDelegate.idl: Added. Defines an interface |
|
5072 for a delegate that determines whether plug-ins should be halted. |
|
5073 |
|
5074 * Interfaces/IWebPreferencesPrivate.idl: |
|
5075 Declare functions to get and set the enabled state of the plug-in |
|
5076 halter and the plug-in allowed run time. |
|
5077 |
|
5078 * Interfaces/IWebViewPrivate.idl: |
|
5079 Declare functions to get and set the IWebPluginHalterDelegate. |
|
5080 |
|
5081 * Interfaces/WebKit.idl: |
|
5082 |
|
5083 * WebCoreSupport/WebPluginHalterClient.cpp: Added. |
|
5084 (WebPluginHalterClient::WebPluginHalterClient): |
|
5085 (WebPluginHalterClient::shouldHaltPlugin): |
|
5086 Get the IWebPluginHalterDelegate for the WebView. Create a WebKit |
|
5087 DOMNode for the WebCore Node. Call the delegate's shouldHaltPlugin(). |
|
5088 If the call fails, return false. Otherwise, return the result of the |
|
5089 call. |
|
5090 |
|
5091 * WebCoreSupport/WebPluginHalterClient.h: Added. |
|
5092 |
|
5093 * WebKit.vcproj/Interfaces.vcproj: |
|
5094 Add IWebPluginHalterDelegate.idl. |
|
5095 |
|
5096 * WebKit.vcproj/WebKit.vcproj: |
|
5097 Add WebPluginHalterClient.{h,cpp}. |
|
5098 |
|
5099 * WebPreferenceKeysPrivate.h: |
|
5100 Define WebKitPluginHalterEnabledPreferenceKey and |
|
5101 WebKitPluginAllowedRunTimePreferenceKey. |
|
5102 |
|
5103 * WebPreferences.cpp: |
|
5104 (WebPreferences::initializeDefaultSettings): |
|
5105 Leave plug-in halting disabled by default. Set the default value for |
|
5106 the plug-in allowed run time to the max value of an unsigned int. |
|
5107 (WebPreferences::setPluginHalterEnabled): |
|
5108 (WebPreferences::pluginHalterEnabled): |
|
5109 (WebPreferences::setPluginAllowedRunTime): |
|
5110 (WebPreferences::pluginAllowedRunTime): |
|
5111 |
|
5112 * WebPreferences.h: |
|
5113 |
|
5114 * WebView.cpp: |
|
5115 (WebView::close): |
|
5116 Clear the IWebPluginHalterDelegate. |
|
5117 (WebView::initWithFrame): |
|
5118 Pass a WebPluginHalterClient when creating the Page. |
|
5119 (WebView::notifyPreferencesChanged): |
|
5120 Set the new settings when the preferences changed notification is |
|
5121 received. |
|
5122 (WebView::setPluginHalterDelegate): |
|
5123 (WebView::pluginHalterDelegate): |
|
5124 |
|
5125 * WebView.h: |
|
5126 Declare overrides of setPluginHalterDelegate() and |
|
5127 pluginHalterDelegate(). Added a member to track the |
|
5128 IWebPluginHalterDelegate. |
|
5129 |
|
5130 2009-09-14 John Gregg <johnnyg@google.com> |
|
5131 |
|
5132 Reviewed by Eric Seidel. |
|
5133 |
|
5134 Enable switch for notifications (experimental) in Page Settings |
|
5135 https://bugs.webkit.org/show_bug.cgi?id=28930 |
|
5136 |
|
5137 Adds support for the experimentalNotificationsEnabled flag in Settings through |
|
5138 WebPreferencesPrivate interface. Also cleans up some issues accessing the |
|
5139 notification delegate through DumpRenderTree. |
|
5140 |
|
5141 * Interfaces/IWebPreferencesPrivate.idl: |
|
5142 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: |
|
5143 (WebDesktopNotificationsDelegate::hasNotificationDelegate): |
|
5144 (WebDesktopNotificationsDelegate::notificationDelegate): |
|
5145 * WebPreferenceKeysPrivate.h: |
|
5146 * WebPreferences.cpp: |
|
5147 (WebPreferences::initializeDefaultSettings): |
|
5148 (WebPreferences::setExperimentalNotificationsEnabled): |
|
5149 (WebPreferences::experimentalNotificationsEnabled): |
|
5150 * WebPreferences.h: |
|
5151 * WebView.cpp: |
|
5152 (WebView::notifyPreferencesChanged): |
|
5153 |
|
5154 2009-09-23 Anders Carlsson <andersca@apple.com> |
|
5155 |
|
5156 Reviewed by Adam Roben. |
|
5157 |
|
5158 <rdar://problem/7243354> |
|
5159 REGRESSION(48580-48636): Crash clicking embedded QT preview button on apple.com/trailers |
|
5160 |
|
5161 Check for a null IWebPolicyDelegatePrivate. |
|
5162 |
|
5163 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
5164 (WebFrameLoaderClient::shouldLoadMediaElementURL): |
|
5165 |
|
5166 2009-09-22 Sam Weinig <sam@webkit.org> |
|
5167 |
|
5168 Rubber-stamped by Adam Roben. |
|
5169 |
|
5170 Remove accidentally left in declaration of reloadFromOrigin in IWebFramePrivate.idl |
|
5171 |
|
5172 * Interfaces/IWebFramePrivate.idl: |
|
5173 |
|
5174 2009-09-22 Sam Weinig <sam@webkit.org> |
|
5175 |
|
5176 Reviewed by Steve Falkenburg. |
|
5177 |
|
5178 Fix for <rdar://problem/6451745> |
|
5179 Windows WebKit needs to implement reloadFromOrigin() |
|
5180 |
|
5181 * Interfaces/IWebFrame.idl: |
|
5182 * Interfaces/IWebFramePrivate.idl: |
|
5183 * Interfaces/IWebView.idl: |
|
5184 * WebFrame.cpp: |
|
5185 (WebFrame::reloadFromOrigin): |
|
5186 * WebFrame.h: |
|
5187 * WebView.cpp: |
|
5188 (WebView::reloadFromOrigin): |
|
5189 * WebView.h: |
|
5190 |
|
5191 2009-09-22 Adam Roben <aroben@apple.com> |
|
5192 |
|
5193 Manage refcounts correctly in DefaultDownloadDelegate::willSendRequest |
|
5194 |
|
5195 Fixes <http://webkit.org/b/29650> Crash in |
|
5196 WebDownload::willSendRequest when using DefaultDownloadDelegate |
|
5197 |
|
5198 Reviewed by Brady Eidson. |
|
5199 |
|
5200 * DefaultDownloadDelegate.cpp: |
|
5201 (DefaultDownloadDelegate::willSendRequest): Call AddRef() on the |
|
5202 object we're returning via the finalRequest out-parameter. |
|
5203 |
|
5204 2009-09-21 Anders Carlsson <andersca@apple.com> |
|
5205 |
|
5206 Reviewed by Adam Roben. |
|
5207 |
|
5208 <rdar://problem/7135588> HTMLMediaElement should ask WebPolicyLoadDelegate before loading resource |
|
5209 |
|
5210 Implement WebFrameLoaderClient::shouldLoadMediaElementURL and have it call the new private policy |
|
5211 delegate method. |
|
5212 |
|
5213 * Interfaces/IWebPolicyDelegatePrivate.idl: Added. |
|
5214 * Interfaces/WebKit.idl: |
|
5215 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
5216 (WebFrameLoaderClient::shouldLoadMediaElementURL): |
|
5217 * WebCoreSupport/WebFrameLoaderClient.h: |
|
5218 * WebKit.vcproj/Interfaces.vcproj: |
|
5219 |
|
5220 2009-09-17 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
5221 |
|
5222 Reviewed by Simon Hausmann. |
|
5223 |
|
5224 Make PlatformWindow return something else than PlatformWidget |
|
5225 https://bugs.webkit.org/show_bug.cgi?id=29085 |
|
5226 |
|
5227 Reflect the rename of platformWindow and it's return type. |
|
5228 |
|
5229 * AccessibleBase.cpp: |
|
5230 (AccessibleBase::get_accParent): |
|
5231 * WebCoreSupport/WebChromeClient.cpp: |
|
5232 (WebChromeClient::platformPageClient): |
|
5233 * WebCoreSupport/WebChromeClient.h: |
|
5234 |
|
5235 2009-09-17 Brian Weinstein <bweinstein@apple.com> |
|
5236 |
|
5237 Reviewed by Adam Roben. |
|
5238 |
|
5239 Remove assertions that were being hit by calls to |
|
5240 m_verticalScrollbar->invalidate(). These assertions were valid, |
|
5241 but they were causing tests to fail, so replacing with a FIXME |
|
5242 until we can find out the real cause/solution that is being tracked |
|
5243 by http://webkit.org/b/29350. |
|
5244 |
|
5245 * WebView.cpp: |
|
5246 (WebView::addToDirtyRegion): |
|
5247 (WebView::paintIntoBackingStore): |
|
5248 |
|
5249 2009-09-17 Ada Chan <adachan@apple.com> |
|
5250 |
|
5251 Post WebViewDidChangeSelectionNotification when the text selection changes. |
|
5252 |
|
5253 Fixes <http://webkit.org/b/29321> |
|
5254 |
|
5255 Reviewed by Adam Roben. |
|
5256 |
|
5257 * Interfaces/IWebView.idl: |
|
5258 * WebCoreSupport/WebEditorClient.cpp: |
|
5259 (WebEditorClient::respondToChangedSelection): |
|
5260 |
|
5261 2009-09-17 Adam Roben <aroben@apple.com> |
|
5262 |
|
5263 Fix a crash when a WebView's HWND is destroyed before IWebView::close |
|
5264 is called |
|
5265 |
|
5266 WebView's HWND was being sent a WM_TIMER message after the WebView was |
|
5267 destroyed. This normally isn't possible (we call DestroyWindow inside |
|
5268 WebView's destructor to ensure the HWND doesn't outlive the WebView), |
|
5269 but r48060 changed WebView to call SetParent(m_viewWindow, |
|
5270 HWND_MESSAGE) while handling WM_DESTROY, and apparently this puts the |
|
5271 HWND into some weird half-destroyed state where it can still receive |
|
5272 WM_TIMER messages. |
|
5273 |
|
5274 Fixes <http://webkit.org/b/29337> <rdar://problem/7209897> REGRESSION |
|
5275 (r48060): unrepro but frequent crash in WebViewWndProc |
|
5276 |
|
5277 Reviewed by Steve Falkenburg. |
|
5278 |
|
5279 * WebView.cpp: |
|
5280 (WebViewWndProc): When handling WM_DESTROY, call setIsBeingDestroyed() |
|
5281 before calling close(). This allows setHostWindow to detect that we're |
|
5282 handling WM_DESTROY. No other code in close() cared whether |
|
5283 isBeingDestroyed() was true or not. |
|
5284 (WebView::setHostWindow): If our host window is being set to 0 and |
|
5285 we're being destroyed, don't become a message-only window. Doing this |
|
5286 while handling WM_DESTROY seems to lead to crashes. |
|
5287 |
|
5288 2009-09-16 Adam Roben <aroben@apple.com> |
|
5289 |
|
5290 Add a UI delegate callback to let the delegate draw a WebView's |
|
5291 background |
|
5292 |
|
5293 Fixes <http://webkit.org/b/29315>. |
|
5294 |
|
5295 Reviewed by Dave Hyatt. |
|
5296 |
|
5297 * Interfaces/IWebUIDelegatePrivate.idl: Added |
|
5298 IWebUIDelegatePrivate2::drawBackground. |
|
5299 |
|
5300 * WebView.cpp: |
|
5301 (WebView::paintIntoBackingStore): After clearing or filling with |
|
5302 white, let the delegate draw whatever background it wants. Also added |
|
5303 an assertion that the dirty rect is within our bounds. |
|
5304 |
|
5305 2009-09-16 Adam Roben <aroben@apple.com> |
|
5306 |
|
5307 Prevent WebView from painting over sibling windows |
|
5308 |
|
5309 Fixes <http://webkit.org/b/29300> <rdar://problem/7227960> WebView can |
|
5310 paint over sibling windows |
|
5311 |
|
5312 Reviewed by Darin Adler. |
|
5313 |
|
5314 * WebView.cpp: |
|
5315 (WebView::initWithFrame): Create the WebView's HWND with the |
|
5316 WS_CLIPSIBLINGS style. |
|
5317 |
|
5318 2009-09-14 Brady Eidson <beidson@apple.com> |
|
5319 |
|
5320 Reviewed by Alexey Proskuryakov. |
|
5321 |
|
5322 Safari 4 cannot be used to update firmware on Linksys routers. |
|
5323 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160 |
|
5324 |
|
5325 Adopt the new WebCore::CredentialStorage in WebKit/Win. |
|
5326 |
|
5327 * WebDownloadCFNet.cpp: |
|
5328 (WebDownload::didReceiveAuthenticationChallenge): |
|
5329 |
|
5330 2009-09-11 Steve Falkenburg <sfalken@apple.com> |
|
5331 |
|
5332 Reviewed by Dan Bernstein. |
|
5333 |
|
5334 Properly propagate preference from WebPreferences to WebCore::Settings. |
|
5335 https://bugs.webkit.org/show_bug.cgi?id=29192 |
|
5336 |
|
5337 * WebView.cpp: |
|
5338 (WebView::initWithFrame): Apply setting when creating a new WebView. |
|
5339 (WebView::notifyPreferencesChanged): Apply setting when preferences change. |
|
5340 |
|
5341 2009-09-11 Steve Falkenburg <sfalken@apple.com> |
|
5342 |
|
5343 Reviewed by Darin Adler. |
|
5344 |
|
5345 Allow WebKit clients to opt out of high resolution timers on Windows. |
|
5346 https://bugs.webkit.org/show_bug.cgi?id=29192 |
|
5347 |
|
5348 * Interfaces/IWebPreferencesPrivate.idl: Added getter/setter. |
|
5349 Put this just after last 4.0.3 method for future merging. |
|
5350 * Interfaces/WebKit.idl: Touched to force a rebuild. |
|
5351 * WebPreferenceKeysPrivate.h: Added prefs key for high res timers. |
|
5352 * WebPreferences.cpp: |
|
5353 (WebPreferences::initializeDefaultSettings): Initialize high res timers to enabled. |
|
5354 (WebPreferences::setShouldUseHighResolutionTimers): Added. |
|
5355 (WebPreferences::shouldUseHighResolutionTimers): Added. |
|
5356 * WebPreferences.h: Added getter/setter. |
|
5357 |
|
5358 2009-09-11 Adam Roben <aroben@apple.com> |
|
5359 |
|
5360 Get user script/stylesheet tests running on Windows |
|
5361 |
|
5362 Fixes <http://webkit.org/b/29181> User script/stylesheet tests are |
|
5363 skipped on Windows |
|
5364 |
|
5365 Reviewed by John Sullivan. |
|
5366 |
|
5367 * Interfaces/IWebViewPrivate.idl: Added addUserScriptToGroup, |
|
5368 addUserStyleSheetToGroup, removeUserContentFromGroup, |
|
5369 removeAllUserContentFromGropu to match the Mac SPI. |
|
5370 |
|
5371 * WebView.cpp: |
|
5372 (WebView::addUserScriptToGroup): |
|
5373 (WebView::addUserStyleSheetToGroup): |
|
5374 (WebView::removeUserContentFromGroup): |
|
5375 (WebView::removeAllUserContentFromGroup): |
|
5376 * WebView.h: |
|
5377 Added. Implementation was based on similar methods in WebView.mm. |
|
5378 |
|
5379 2009-09-11 Jon Honeycutt <jhoneycutt@apple.com> |
|
5380 |
|
5381 Fix crash on launch on Windows. |
|
5382 |
|
5383 Rubber-stamped by Mark Rowe. |
|
5384 |
|
5385 * WebKit.vcproj/WebKit.vcproj: |
|
5386 Define ENABLE_WEB_SOCKETS for all configurations. |
|
5387 |
|
5388 2009-09-07 Drew Wilson <atwilson@google.com> |
|
5389 |
|
5390 Reviewed by David Levin. |
|
5391 |
|
5392 Enable SHARED_WORKERS by default. |
|
5393 https://bugs.webkit.org/show_bug.cgi?id=28959 |
|
5394 |
|
5395 * WebKit.vcproj/WebKit.vcproj: |
|
5396 |
|
5397 2009-09-04 Adam Roben <aroben@apple.com> |
|
5398 |
|
5399 Make WebView function without a parent window |
|
5400 |
|
5401 When WebView has no parent window, it becomes a message-only window, |
|
5402 which hides it from the screen and prevents it from appearing on the |
|
5403 taskbar. |
|
5404 |
|
5405 Fixes <http://webkit.org/b/28971> <rdar://problem/4976998> |
|
5406 WebView::initWithFrame fails if there's no host window |
|
5407 |
|
5408 Reviewed by Dave Hyatt. |
|
5409 |
|
5410 * WebView.cpp: |
|
5411 (WebView::initWithFrame): m_hostWindow is null, use HWND_MESSAGE as |
|
5412 our parent window, which will make us a message-only window. |
|
5413 (WebView::setHostWindow): If he new host window is null, use |
|
5414 HWND_MESSAGE as our parent window, which will make us a message-only |
|
5415 window. |
|
5416 |
|
5417 2009-09-04 Adam Barth <abarth@webkit.org> |
|
5418 |
|
5419 Unreviewed attempt at a build fix. |
|
5420 |
|
5421 Added missing include. |
|
5422 |
|
5423 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
5424 |
|
5425 2009-09-04 Adam Barth <abarth@webkit.org> |
|
5426 |
|
5427 Unreviewed attempt at a build fix. |
|
5428 |
|
5429 Fix typo of IWebFrameLoadDelegatePrivate2 and make |
|
5430 IWebFrameLoadDelegatePrivate inherit from IWebFrameLoadDelegatePrivate |
|
5431 as requestd by Adam Roben. |
|
5432 |
|
5433 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: |
|
5434 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
5435 (WebFrameLoaderClient::didDisplayInsecureContent): |
|
5436 (WebFrameLoaderClient::didRunInsecureContent): |
|
5437 |
|
5438 2009-09-04 Adam Barth <abarth@webkit.org> |
|
5439 |
|
5440 Reviewed by Eric Seidel. |
|
5441 |
|
5442 https://bugs.webkit.org/show_bug.cgi?id=24696 |
|
5443 |
|
5444 Plumb mixed content notifications to IWebFrameLoadDelegatePrivate. |
|
5445 |
|
5446 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: Added. |
|
5447 * Interfaces/WebKit.idl: |
|
5448 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
5449 (WebFrameLoaderClient::didDisplayInsecureContent): |
|
5450 (WebFrameLoaderClient::didRunInsecureContent): |
|
5451 * WebKit.vcproj/Interfaces.vcproj: |
|
5452 |
|
5453 2009-09-03 Adam Barth <abarth@webkit.org> |
|
5454 |
|
5455 Reviewed by eric@webkit.org. |
|
5456 |
|
5457 https://bugs.webkit.org/show_bug.cgi?id=24696 |
|
5458 |
|
5459 Stub implementations of mixed content methods of FrameLoaderClient. |
|
5460 |
|
5461 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
5462 (WebFrameLoaderClient::didDisplayInsecureContent): |
|
5463 (WebFrameLoaderClient::didRunInsecureContent): |
|
5464 * WebCoreSupport/WebFrameLoaderClient.h: |
|
5465 |
|
5466 2009-09-01 Adam Roben <aroben@apple.com> |
|
5467 |
|
5468 Post a notification when a WebView is closing |
|
5469 |
|
5470 This is useful for situations where some code wants to react to the |
|
5471 WebView closing but isn't in charge of the WebView and can't otherwise |
|
5472 be notified. This notification could replace |
|
5473 IWebUIDelegatePrivate::webViewClosing if we decide that the |
|
5474 notification system isn't too burdensome. |
|
5475 |
|
5476 <http://webkit.org/b/28875> |
|
5477 |
|
5478 Reviewed by John Sullivan. |
|
5479 |
|
5480 * Interfaces/IWebViewPrivate.idl: Added the |
|
5481 WebViewWillCloseNotification string constant. |
|
5482 * WebKit.vcproj/WebKit.vcproj: Link against comsuppw.lib in all |
|
5483 configurations so that we can use _bstr_t. |
|
5484 * WebView.cpp: |
|
5485 (WebView::close): Post the WebViewWillCloseNotification. |
|
5486 |
|
5487 2009-08-31 Alexey Proskuryakov <ap@webkit.org> |
|
5488 |
|
5489 Reviewed by Darin Adler. |
|
5490 |
|
5491 https://bugs.webkit.org/show_bug.cgi?id=28852 |
|
5492 Rename KURL single argument constructor to avoid confusion |
|
5493 |
|
5494 * WebURLResponse.cpp: (WebURLResponse::createInstance): Adapt to the change. |
|
5495 |
|
5496 2009-08-20 Adam Roben <aroben@apple.com> |
|
5497 |
|
5498 Give WebKit clients access to the window features specified in |
|
5499 window.open |
|
5500 |
|
5501 Reviewed by Steve Falkenburg. |
|
5502 |
|
5503 * COMVariantSetter.h: Added COMVariantSetters for bool and float. |
|
5504 |
|
5505 * Interfaces/IWebUIDelegatePrivate.idl: Added IWebUIDelegatePrivate2, |
|
5506 which contains a new version of createWebViewWithRequest that also |
|
5507 passes the window features as an IPropertyBag. This is analagous to |
|
5508 the -createWebViewWithRequest:windowFeatures: method added to |
|
5509 WebUIDelegate on Mac in r27452. Also added key strings for use with |
|
5510 the window features property bag. |
|
5511 |
|
5512 * WebCoreSupport/WebChromeClient.cpp: |
|
5513 (createWindowFeaturesPropertyBag): Added this helper function to turn |
|
5514 a WebCore::WindowFeatures into an IPropertyBag for passing to WebKit |
|
5515 clients. |
|
5516 (WebChromeClient::createWindow): If the UI delegate implements |
|
5517 IWebUIDelegatePrivate2, call the new createWebViewWithRequest function |
|
5518 that takes a window features property bag. If the delegate doesn't |
|
5519 implement the new function, fall back to the old functions. |
|
5520 |
|
5521 2009-08-20 Adam Roben <aroben@apple.com> |
|
5522 |
|
5523 A little clean-up in WebChromeClient::createWindow |
|
5524 |
|
5525 Reviewed by Steve Falkenburg. |
|
5526 |
|
5527 * WebCoreSupport/WebChromeClient.cpp: |
|
5528 (WebChromeClient::createWindow): Refactored to share more code between |
|
5529 the dialog and non-dialog cases. |
|
5530 |
|
5531 2009-08-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> |
|
5532 |
|
5533 Reviewed by Holger Freyther. |
|
5534 |
|
5535 https://bugs.webkit.org/show_bug.cgi?id=25889 |
|
5536 [GTK] scrollbar policy for main frame is not implementable |
|
5537 |
|
5538 Add empty implementation for new ChromeClient method. |
|
5539 |
|
5540 * WebCoreSupport/WebChromeClient.h: |
|
5541 (WebChromeClient::scrollbarsModeDidChange): |
|
5542 |
|
5543 2009-08-27 Brent Fulgham <bfulgham@webkit.org> |
|
5544 |
|
5545 Reviewed by Adam Roben. |
|
5546 |
|
5547 Modify Release_Cairo target to build testapi using the |
|
5548 Release_CFLite target so that the correct CoreFoundation |
|
5549 (in this case, CFLite.dll) is linked. |
|
5550 |
|
5551 * WebKit.vcproj/WebKit.sln: |
|
5552 |
|
5553 2009-08-26 Adam Barth <abarth@webkit.org> |
|
5554 |
|
5555 Reviewed by Oliver Hunt. |
|
5556 |
|
5557 Don't let local files access web URLs |
|
5558 https://bugs.webkit.org/show_bug.cgi?id=28480 |
|
5559 |
|
5560 * WebPreferences.cpp: |
|
5561 (WebPreferences::initializeDefaultSettings): |
|
5562 |
|
5563 2009-08-26 David Levin <levin@chromium.org> |
|
5564 |
|
5565 Reviewed by Darin Fisher. |
|
5566 |
|
5567 ResourceRequestBase::*[Aa]llowHTTPCookies shouldn't mention http. |
|
5568 https://bugs.webkit.org/show_bug.cgi?id=28735 |
|
5569 |
|
5570 * WebMutableURLRequest.cpp: |
|
5571 (WebMutableURLRequest::setHTTPShouldHandleCookies): |
|
5572 |
|
5573 2009-08-25 Eric Carlson <eric.carlson@apple.com> |
|
5574 |
|
5575 Reviewed by Oliver Hunt. |
|
5576 |
|
5577 <video> and <audio> controller should be accessible |
|
5578 https://bugs.webkit.org/show_bug.cgi?id=28081 |
|
5579 |
|
5580 * WebCoreLocalizedStrings.cpp: |
|
5581 (WebCore::localizedMediaControlElementString): |
|
5582 (WebCore::localizedMediaControlElementHelpText): |
|
5583 (WebCore::localizedMediaTimeDescription): |
|
5584 New. |
|
5585 |
|
5586 2009-08-25 Brent Fulgham <bfulgham@webkit.org> |
|
5587 |
|
5588 Build fix for Windows. |
|
5589 |
|
5590 Revise Debug_Cairo build target to build testapi, jsc, WinLauncher, |
|
5591 DumpRenderTree, and TestNetscapeAPI using WinCairo debug build |
|
5592 settings so they link against the proper libraries. |
|
5593 |
|
5594 * WebKit.vcproj/WebKit.sln: |
|
5595 |
|
5596 2009-08-25 David Levin <levin@chromium.org> |
|
5597 |
|
5598 Reviewed by Adam Roben. |
|
5599 |
|
5600 PLATFORM(CFNETWORK) should be USE(CFNETWORK). |
|
5601 https://bugs.webkit.org/show_bug.cgi?id=28713 |
|
5602 |
|
5603 Also, moved the #if header section after the other #includes. |
|
5604 |
|
5605 * WebError.cpp: |
|
5606 (WebError::localizedDescription): |
|
5607 |
|
5608 2009-08-24 Brent Fulgham <bfulgham@webkit.org> |
|
5609 |
|
5610 Reviewed by Steve Falkenburg. |
|
5611 |
|
5612 Revise CFLite Debug build to emit DLL's with _debug label. |
|
5613 https://bugs.webkit.org/show_bug.cgi?id=28695. |
|
5614 |
|
5615 * WebKit.vcproj/WebKit.vcproj: Modify Debug_Cairo target to |
|
5616 inherit from new debug_wincairo property sheet, instead of |
|
5617 the current debug sheet. |
|
5618 |
|
5619 2009-08-22 Adam Barth <abarth@webkit.org> |
|
5620 |
|
5621 Revert 47684. We're going to do this later once clients have had a |
|
5622 chance to opt into the setting they like. |
|
5623 |
|
5624 * WebPreferences.cpp: |
|
5625 (WebPreferences::initializeDefaultSettings): |
|
5626 |
|
5627 2009-08-22 Adam Barth <abarth@webkit.org> |
|
5628 |
|
5629 Reviewed by Eric Seidel. |
|
5630 |
|
5631 Don't let local files access web URLs |
|
5632 https://bugs.webkit.org/show_bug.cgi?id=28480 |
|
5633 |
|
5634 * WebPreferences.cpp: |
|
5635 (WebPreferences::initializeDefaultSettings): |
|
5636 |
|
5637 2009-08-20 Brian Weinstein <bweinstein@apple.com> |
|
5638 |
|
5639 Reviewed by Adam Roben. |
|
5640 |
|
5641 Fix of <http://webkit.org/b/27850>. Panning by emulating Mouse Wheel Events breaks Google Maps. |
|
5642 |
|
5643 Switched to using RenderLayer::scrollByRecursively instead of emulating a mouse wheel, |
|
5644 and switched to handling the hit testing in WebView from doing it as part of the mouse wheel event. |
|
5645 One downside of this fix is that panning will not jump out of frames anymore (same behavior as pan-scrolling), but |
|
5646 this is tracked in <http://webkit.org/b/28237>. |
|
5647 |
|
5648 * WebView.cpp: |
|
5649 (WebView::gestureNotify): Added hit testing here to figure out the node the user started the gesture on. |
|
5650 (WebView::gesture): Switched from emulating mouse wheel events for panning to calling RenderLayer::scrollByRecursively. |
|
5651 * WebView.h: |
|
5652 |
|
5653 2009-08-18 Brian Weinstein <bweinstein@apple.com> |
|
5654 |
|
5655 Reviewed by Oliver Hunt. |
|
5656 |
|
5657 Fix of <https://bugs.webkit.org/show_bug.cgi?id=28326> DRT on Windows doesn't support |
|
5658 LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota. |
|
5659 |
|
5660 Added a setQuota interface method to IWebDatabaseManager and implemented it. |
|
5661 |
|
5662 * Interfaces/IWebDatabaseManager.idl: |
|
5663 * WebDatabaseManager.cpp: |
|
5664 (WebDatabaseManager::setQuota): |
|
5665 * WebDatabaseManager.h: |
|
5666 |
|
5667 2009-08-18 Drew Wilson <atwilson@google.com> |
|
5668 |
|
5669 Unreviewed (build break). |
|
5670 |
|
5671 Added missing include for WebWorkersPrivate.h. |
|
5672 |
|
5673 * WebKitClassFactory.cpp: |
|
5674 |
|
5675 2009-08-18 Peter Kasting <pkasting@google.com> |
|
5676 |
|
5677 Reviewed by Eric Seidel. |
|
5678 |
|
5679 https://bugs.webkit.org/show_bug.cgi?id=28415 |
|
5680 Set svn:eol-style CRLF on all .sln and .vcproj files that don't already |
|
5681 have it. |
|
5682 |
|
5683 * WebKit.vcproj/InterfacesGenerated.vcproj: |
|
5684 |
|
5685 2009-08-18 Drew Wilson <atwilson@google.com> |
|
5686 |
|
5687 Reviewed by Eric Seidel. |
|
5688 |
|
5689 Need to extend DumpRenderTree to expose number of worker threads |
|
5690 https://bugs.webkit.org/show_bug.cgi?id=28292 |
|
5691 |
|
5692 Defined/implemented COM interfaces to expose WorkerThread::workerThreadCount() for DumpRenderTree. |
|
5693 |
|
5694 * ForEachCoClass.h: |
|
5695 Added WebWorkersPrivate. |
|
5696 * Interfaces/IWebWorkersPrivate.idl: Added. |
|
5697 * Interfaces/WebKit.idl: |
|
5698 Added WebWorkersPrivate. |
|
5699 * WebKit.vcproj/Interfaces.vcproj: |
|
5700 * WebKit.vcproj/WebKit.vcproj: |
|
5701 * WebWorkersPrivate.cpp: Added. |
|
5702 Implementation of the IWebWorkersPrivate COM interface, to expose workerThreadCount() for DumpRenderTree. |
|
5703 (WebWorkersPrivate::QueryInterface): |
|
5704 (WebWorkersPrivate::AddRef): |
|
5705 (WebWorkersPrivate::Release): |
|
5706 (WebWorkersPrivate::workerThreadCount): |
|
5707 (WebWorkersPrivate::createInstance): |
|
5708 (WebWorkersPrivate::WebWorkersPrivate): |
|
5709 (WebWorkersPrivate::~WebWorkersPrivate): |
|
5710 * WebWorkersPrivate.h: Added. |
|
5711 |
|
5712 2009-08-17 Peter Kasting <pkasting@google.com> |
|
5713 |
|
5714 Reviewed by Steve Falkenburg. |
|
5715 |
|
5716 https://bugs.webkit.org/show_bug.cgi?id=27323 |
|
5717 Only add Cygwin to the path when it isn't already there. This avoids |
|
5718 causing problems for people who purposefully have non-Cygwin versions of |
|
5719 executables like svn in front of the Cygwin ones in their paths. |
|
5720 |
|
5721 * WebKit.vcproj/Interfaces.vcproj: |
|
5722 * WebKit.vcproj/InterfacesGenerated.vcproj: |
|
5723 * WebKit.vcproj/WebKit.vcproj: |
|
5724 * WebKit.vcproj/WebKitGUID.vcproj: |
|
5725 |
|
5726 2009-08-17 Simon Fraser <simon.fraser@apple.com> |
|
5727 |
|
5728 Speculative fix for Windows build bustage. |
|
5729 |
|
5730 * DOMHTMLClasses.cpp: |
|
5731 (DOMHTMLElement::idName): |
|
5732 |
|
5733 2009-08-13 Jon Honeycutt <jhoneycutt@apple.com> |
|
5734 |
|
5735 Part of <rdar://problem/6218721> No MSAA focus events fired for Webkit |
|
5736 nightly (20866) |
|
5737 |
|
5738 https://bugs.webkit.org/show_bug.cgi?id=20866 |
|
5739 |
|
5740 Reviewed by Oliver Hunt. |
|
5741 |
|
5742 * AccessibleBase.cpp: |
|
5743 (AccessibleBase::getAccessibilityObjectForChild): |
|
5744 If the child ID is negative, negate it and treat it as an AXID. |
|
5745 |
|
5746 2009-08-12 Brian Weinstein <bweinstein@apple.com> |
|
5747 |
|
5748 Reviewed by Adam Roben. |
|
5749 |
|
5750 Fix of <rdar://6728361> Mouse wheel scrolling on a page with expanded drop down |
|
5751 list detaches drop down. |
|
5752 |
|
5753 Added a check in mouseWheel to see if our focus is currently in a popup, if so, close |
|
5754 the popup (matches other browser behavior). |
|
5755 |
|
5756 * WebView.cpp: |
|
5757 (WebView::mouseWheel): |
|
5758 |
|
5759 2009-08-12 Adam Roben <aroben@apple.com> |
|
5760 |
|
5761 Make WebPreferenceKeysPrivate.h available for client use |
|
5762 |
|
5763 Reviewed by Dave Hyatt. |
|
5764 |
|
5765 Fixes <http://webkit.org/b/28227>. |
|
5766 |
|
5767 * WebKit.vcproj/WebKit.vcproj: Copy WebPreferenceKeysPrivate.h to |
|
5768 $WebKitOutputDir, just like we do for a few other headers. Also let VS |
|
5769 reorder some XML attributes. |
|
5770 |
|
5771 * WebPreferenceKeysPrivate.h: Touched this file to force a build. |
|
5772 |
|
5773 2009-08-11 Adam Roben <aroben@apple.com> |
|
5774 |
|
5775 Remove support for a window resizer within the WebView |
|
5776 |
|
5777 Starting with Safari 4, there is never a window resizer inside the |
|
5778 WebView, so we no longer need to support that functionality. |
|
5779 |
|
5780 Fixes <http://webkit.org/b/28190> Remove support for a window resizer |
|
5781 within the WebView |
|
5782 |
|
5783 Reviewed by Dave Hyatt. |
|
5784 |
|
5785 * Interfaces/IWebUIDelegatePrivate.idl: Replaced the delegate |
|
5786 functions related to the window resizer with unused*() functions. We |
|
5787 can't remove them entirely because we need to keep the vtable |
|
5788 unchanged so new versions of WebKit will work with old versions of |
|
5789 Safari (e.g., for nightlies and WebKit development). |
|
5790 |
|
5791 * WebCoreSupport/WebChromeClient.cpp: |
|
5792 (WebChromeClient::windowResizerRect): Now always returns an empty |
|
5793 rect. |
|
5794 |
|
5795 * WebView.cpp: |
|
5796 (WebView::paint): |
|
5797 (WebView::handleMouseEvent): |
|
5798 * WebView.h: |
|
5799 Removed window-resizer-related code. |
|
5800 |
|
5801 2009-08-11 John Gregg <johnnyg@google.com> |
|
5802 |
|
5803 Reviewed by Maciej Stachowiak. |
|
5804 |
|
5805 Move the accessor for notifications presenter from WebUIDelegate |
|
5806 to WebUIDelegate2 which extends it. When making this call from |
|
5807 WebCoreSupport, check using QueryInterface before calling. |
|
5808 |
|
5809 https://bugs.webkit.org/show_bug.cgi?id=28198 |
|
5810 |
|
5811 * Interfaces/IWebUIDelegate.idl: |
|
5812 * Interfaces/IWebUIDelegate2.idl: Added. |
|
5813 * Interfaces/WebKit.idl: |
|
5814 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: |
|
5815 (WebDesktopNotificationsDelegate::show): |
|
5816 (WebDesktopNotificationsDelegate::cancel): |
|
5817 (WebDesktopNotificationsDelegate::notificationObjectDestroyed): |
|
5818 (WebDesktopNotificationsDelegate::requestPermission): |
|
5819 (WebDesktopNotificationsDelegate::checkPermission): |
|
5820 (WebDesktopNotificationsDelegate::hasNotificationDelegate): |
|
5821 (WebDesktopNotificationsDelegate::notificationDelegate): |
|
5822 * WebCoreSupport/WebDesktopNotificationsDelegate.h: |
|
5823 |
|
5824 2009-08-11 Drew Wilson <atwilson@google.com> |
|
5825 |
|
5826 Reviewed by NOBODY (build break). |
|
5827 |
|
5828 Speculative Windows build fix - undo previous unnecessary change. |
|
5829 |
|
5830 * WebCoreSupport/WebDesktopNotificationsDelegate.h: |
|
5831 |
|
5832 2009-08-11 Brian Weinstein <bweinstein@apple.com> |
|
5833 |
|
5834 Reviewed by Steve Falkenburg. |
|
5835 |
|
5836 Refactored MIMETypeforExtension to be a member of IWebViewPrivate |
|
5837 instead of IWebView. |
|
5838 |
|
5839 * Interfaces/IWebView.idl: |
|
5840 * Interfaces/IWebViewPrivate.idl: |
|
5841 * WebView.cpp: |
|
5842 (WebView::MIMETypeForExtension): |
|
5843 * WebView.h: |
|
5844 |
|
5845 2009-08-11 Drew Wilson <atwilson@google.com> |
|
5846 |
|
5847 Reviewed by NOBODY (build break) |
|
5848 |
|
5849 Speculative fix for windows build break. |
|
5850 |
|
5851 * WebKitSupport/WebDesktopNotificationsDelegate.h: |
|
5852 WebCore/Notification*.h => WebCore/notifications/Notification*.h |
|
5853 |
|
5854 2009-08-11 John Gregg <johnnyg@google.com> |
|
5855 |
|
5856 Reviewed by Maciej Stachowiak. |
|
5857 |
|
5858 Desktop Notifications API |
|
5859 https://bugs.webkit.org/show_bug.cgi?id=25643 |
|
5860 |
|
5861 Adds test hooks for notification features to WebCoreSupport for |
|
5862 use in DumpRenderTree. |
|
5863 |
|
5864 * Interfaces/IWebDesktopNotificationsDelegate.idl: Added. |
|
5865 * Interfaces/IWebUIDelegate.idl: |
|
5866 * Interfaces/WebKit.idl: |
|
5867 * WebCoreSupport/WebChromeClient.cpp: |
|
5868 (WebChromeClient::WebChromeClient): |
|
5869 * WebCoreSupport/WebChromeClient.h: |
|
5870 (WebChromeClient::notificationPresenter): |
|
5871 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added. |
|
5872 (NotificationCOMWrapper::create): |
|
5873 (NotificationCOMWrapper::NotificationCOMWrapper): |
|
5874 (NotificationCOMWrapper::QueryInterface): |
|
5875 (NotificationCOMWrapper::AddRef): |
|
5876 (NotificationCOMWrapper::Release): |
|
5877 (NotificationCOMWrapper::isHTML): |
|
5878 (NotificationCOMWrapper::contentsURL): |
|
5879 (NotificationCOMWrapper::iconURL): |
|
5880 (NotificationCOMWrapper::title): |
|
5881 (NotificationCOMWrapper::text): |
|
5882 (NotificationCOMWrapper::notifyDisplay): |
|
5883 (NotificationCOMWrapper::notifyError): |
|
5884 (NotificationCOMWrapper::notifyClose): |
|
5885 (WebDesktopNotificationsDelegate::WebDesktopNotificationsDelegate): |
|
5886 (WebDesktopNotificationsDelegate::show): |
|
5887 (WebDesktopNotificationsDelegate::cancel): |
|
5888 (WebDesktopNotificationsDelegate::notificationObjectDestroyed): |
|
5889 (WebDesktopNotificationsDelegate::requestPermission): |
|
5890 (WebDesktopNotificationsDelegate::checkPermission): |
|
5891 (WebDesktopNotificationsDelegate::notificationDelegate): |
|
5892 * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added. |
|
5893 * WebCoreSupport/WebInspectorDelegate.h: |
|
5894 (WebInspectorDelegate::desktopNotificationsDelegate): |
|
5895 * WebKit.vcproj/Interfaces.vcproj: |
|
5896 * WebKit.vcproj/WebKit.vcproj: |
|
5897 |
|
5898 2009-08-11 Brian Weinstein <bweinstein@apple.com> |
|
5899 |
|
5900 Reviewed by Adam Roben. |
|
5901 |
|
5902 Fix of <rdar://5016504> SVG file cannot be dragged to webview, |
|
5903 but can be opened via Open File. |
|
5904 |
|
5905 Added a new function to IWebView that gets the MIME type for a given |
|
5906 extension from the MIMETypeRegistry. |
|
5907 |
|
5908 * Interfaces/IWebView.idl: |
|
5909 * WebView.cpp: |
|
5910 (WebView::MIMETypeForExtension): |
|
5911 * WebView.h: |
|
5912 |
|
5913 2009-08-11 Dmitry Titov <dimich@chromium.org> |
|
5914 |
|
5915 Reviewed by Adam Roben. |
|
5916 |
|
5917 Originally implemented by Glenn Wilson <gwilson@chromium.org>. |
|
5918 |
|
5919 Added support for overriding default preferences per-test. |
|
5920 See https://bugs.webkit.org/show_bug.cgi?id=20534 |
|
5921 |
|
5922 * Interfaces/IWebPreferencesPrivate.idl: added new method setPreferenceForTest |
|
5923 * WebPreferences.cpp: same. |
|
5924 * WebPreferences.h: same. |
|
5925 |
|
5926 2009-08-10 Dan Bernstein <mitz@apple.com> |
|
5927 |
|
5928 Reviewed by Darin Adler. |
|
5929 |
|
5930 Link drag images specify Lucida Grande on Windows and end up using Times |
|
5931 New Roman |
|
5932 <rdar://problem/7117835> |
|
5933 |
|
5934 * WebCoreSupport/WebDragClient.cpp: |
|
5935 (dragLabelFont): Added a RenderingMode parameter and changed to use the |
|
5936 same typeface as the Windows small caption font. |
|
5937 (WebDragClient::createDragImageForLink): Changed to respect the |
|
5938 page’s rendering mode. |
|
5939 |
|
5940 2009-08-10 Brent Fulgham <bfulgham@webkit.org> |
|
5941 |
|
5942 Reviewed by Adam Roben. |
|
5943 |
|
5944 https://bugs.webkit.org/show_bug.cgi?id=28048. |
|
5945 Move various WinCairo build settings into *.vsprops file. |
|
5946 |
|
5947 * WebKit.vcproj/WebKit.vcproj: Add new cURL.vsprops property sheet |
|
5948 (which contains link settings for cURL and its dependencies), and |
|
5949 remove the corresponding entries from the vcproj file. Remove |
|
5950 png, jpeg, cairo library linking flags from vcproj, now that they |
|
5951 are in the WinCairo.vsprops file. |
|
5952 |
|
5953 2009-08-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com> |
|
5954 |
|
5955 Reviewed by George Staikos. |
|
5956 |
|
5957 [WML] Deck access control is completly broken |
|
5958 https://bugs.webkit.org/show_bug.cgi?id=27721 |
|
5959 |
|
5960 Synchronize WebFrameLoadType with FrameLoadType enum. Append 'WebFrameLoadTypeBackWMLDeckNotAccessible'. |
|
5961 |
|
5962 * Interfaces/IWebFramePrivate.idl: |
|
5963 |
|
5964 2009-08-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com> |
|
5965 |
|
5966 Reviewed by Maciej Stachowiak. |
|
5967 |
|
5968 FrameLoadType / WebFrameLoadType enums are out of sync |
|
5969 https://bugs.webkit.org/show_bug.cgi?id=28132 |
|
5970 |
|
5971 Synchronize FrameLoadType <-> WebFrameLoadType enums (append missing 'WebFrameLoadTypeReloadFromOrigin' value) |
|
5972 |
|
5973 * Interfaces/IWebFramePrivate.idl: |
|
5974 |
|
5975 2009-08-06 Adam Barth <abarth@webkit.org> |
|
5976 |
|
5977 Unreviewed revert. |
|
5978 |
|
5979 http://bugs.webkit.org/show_bug.cgi?id=27879 |
|
5980 |
|
5981 Revert 46877 because it broke GTK. |
|
5982 |
|
5983 * COMPropertyBag.h: |
|
5984 |
|
5985 2009-08-06 Zoltan Horvath <hzoltan@inf.u-szeged.hu> |
|
5986 |
|
5987 Reviewed by Adam Barth. |
|
5988 |
|
5989 Change Noncopyable inheriting to public |
|
5990 http://bugs.webkit.org/show_bug.cgi?id=27879 |
|
5991 |
|
5992 Since Noncopyable is inherited from FastAllocBase, |
|
5993 Noncopyable's inheriting has been changed to public. |
|
5994 |
|
5995 * COMPropertyBag.h: |
|
5996 |
|
5997 2009-08-04 Alice Liu <alice.liu@apple.com> |
|
5998 |
|
5999 "Shift + Enter" should behave like "Enter" in editable fields. |
|
6000 Affects backward search in find-in-page in Safari for Windows |
|
6001 |
|
6002 Reviewed by Jon Honeycutt. |
|
6003 |
|
6004 * WebView.cpp: |
|
6005 Register shift+enter as InsertNewline command, similar to other |
|
6006 modifier+Enter combinations. |
|
6007 |
|
6008 2009-07-29 Jon Honeycutt <jhoneycutt@apple.com> |
|
6009 |
|
6010 Part of <rdar://problem/5698113> Safari shouldn't auto-activate |
|
6011 plug-ins in background tabs (make Win consistent with Mac) |
|
6012 |
|
6013 https://bugs.webkit.org/show_bug.cgi?id=27855 |
|
6014 |
|
6015 Reviewed by Adam Roben and Anders Carlsson. |
|
6016 |
|
6017 * Interfaces/IWebViewPrivate.idl: |
|
6018 Add setCanStartPlugins(). |
|
6019 |
|
6020 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6021 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): |
|
6022 Added; code moved from createPlugin(). Modified to obtain the plug-in's |
|
6023 page URL, the plug-ins "plug-ins page" parameter value, and the |
|
6024 plug-in's MIME type by calling getter functions on the passed |
|
6025 PluginView. |
|
6026 (WebFrameLoaderClient::createPlugin): |
|
6027 If the plug-in status is not "success," call |
|
6028 dispatchDidFailToStartPlugin(). |
|
6029 |
|
6030 * WebCoreSupport/WebFrameLoaderClient.h: |
|
6031 Declare an override of dispatchDidFailToStartPlugin(). |
|
6032 |
|
6033 * WebView.cpp: |
|
6034 (WebViewWndProc): |
|
6035 Add a missing ) to a comment. |
|
6036 (WebView::setCanStartPlugins): |
|
6037 Call the Page's setCanStartPlugins() function. |
|
6038 |
|
6039 * WebView.h: |
|
6040 |
|
6041 2009-07-30 Darin Adler <darin@apple.com> |
|
6042 |
|
6043 Reviewed by David Levin. |
|
6044 |
|
6045 Use checked casts for render tree |
|
6046 https://bugs.webkit.org/show_bug.cgi?id=23522 |
|
6047 |
|
6048 * DOMHTMLClasses.cpp: |
|
6049 (DOMHTMLInputElement::isUserEdited): |
|
6050 (DOMHTMLTextAreaElement::isUserEdited): |
|
6051 Use checked casts. |
|
6052 |
|
6053 2009-07-31 Anders Carlsson <andersca@apple.com> |
|
6054 |
|
6055 Reviewed by Dan Bernstein. |
|
6056 |
|
6057 -Fix <rdar://problem/7104097> |
|
6058 |
|
6059 Make EmbeddedWidget::create return a PassRefPtr so it will have the correct ref count. |
|
6060 |
|
6061 * WebCoreSupport/EmbeddedWidget.cpp: |
|
6062 (EmbeddedWidget::create): |
|
6063 * WebCoreSupport/EmbeddedWidget.h: |
|
6064 |
|
6065 2009-07-29 Brian Weinstein <bweinstein@apple.com> |
|
6066 |
|
6067 Was doing the build fix wrong, NotImplemented.h is in WebCore. |
|
6068 |
|
6069 * WebCoreSupport/WebInspectorClient.cpp: |
|
6070 |
|
6071 2009-07-29 Brian Weinstein <bweinstein@apple.com> |
|
6072 |
|
6073 Windows build fix. |
|
6074 |
|
6075 * WebCoreSupport/WebInspectorClient.cpp: |
|
6076 |
|
6077 2009-07-29 Kevin McCullough <kmccullough@apple.com> |
|
6078 |
|
6079 Reviewed by Darin Adler. |
|
6080 |
|
6081 Added foundation work to allow a testing infrastructure for the Web |
|
6082 Inspector. |
|
6083 |
|
6084 * WebCoreSupport/WebInspectorClient.cpp: |
|
6085 (WebInspectorClient::inspectorWindowObjectCleared): Empty definition |
|
6086 to let Windows compile but we should implement this at some point so |
|
6087 that the tests can be run on Windows too. |
|
6088 * WebCoreSupport/WebInspectorClient.h: |
|
6089 |
|
6090 2009-07-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
6091 |
|
6092 Reviewed by Steve Falkenburg. |
|
6093 |
|
6094 Add output directory for VS pre-build steps to enable out-of-tree builds |
|
6095 |
|
6096 https://bugs.webkit.org/show_bug.cgi?id=27700 |
|
6097 |
|
6098 The tmp.obj file is now placed in the intermediate build directory. |
|
6099 |
|
6100 * WebKit.vcproj/WebKit.vcproj: |
|
6101 |
|
6102 2009-07-27 Brian Weinstein <bweinstein@apple.com> |
|
6103 |
|
6104 Build fix for Windows. |
|
6105 |
|
6106 * WebView.cpp: |
|
6107 (WebView::stringByEvaluatingJavaScriptFromString): |
|
6108 |
|
6109 2009-07-27 Alexey Proskuryakov <ap@webkit.org> |
|
6110 |
|
6111 Reviewed by Darin Adler. |
|
6112 |
|
6113 https://bugs.webkit.org/show_bug.cgi?id=27735 |
|
6114 Give a helpful name to JSLock constructor argument |
|
6115 |
|
6116 * WebCoreStatistics.cpp: |
|
6117 (WebCoreStatistics::javaScriptObjectsCount): |
|
6118 (WebCoreStatistics::javaScriptGlobalObjectsCount): |
|
6119 (WebCoreStatistics::javaScriptProtectedObjectsCount): |
|
6120 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): |
|
6121 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): |
|
6122 * WebJavaScriptCollector.cpp: |
|
6123 (WebJavaScriptCollector::objectCount): |
|
6124 * WebView.cpp: |
|
6125 (WebView::stringByEvaluatingJavaScriptFromString): |
|
6126 |
|
6127 2009-07-25 Kwang Yul Seo <skyul@company100.net> |
|
6128 |
|
6129 Reviewed by Darin Adler. |
|
6130 |
|
6131 Windows build break due to warning C4819 |
|
6132 https://bugs.webkit.org/show_bug.cgi?id=27416 |
|
6133 |
|
6134 Disable C4819 warning to fix build. |
|
6135 |
|
6136 * WebKit.vcproj/WebKit.vcproj: |
|
6137 |
|
6138 2009-07-24 Brent Fulgham <bfulgham@webkit.org> |
|
6139 |
|
6140 Reviewed by Dave Hyatt. |
|
6141 |
|
6142 Clean up dependencies on Apple support libraries for non-Apple build. |
|
6143 http://bugs.webkit.org/show_bug.cgi?id=27532. |
|
6144 |
|
6145 * DefaultDownloadDelegate.h: Conditionalize include of CFNetwork.h |
|
6146 * WebDownload.h: Conditionalize include of CFNetwork.h |
|
6147 * WebMutableURLRequest.cpp: Conditionalize include of CFNetwork.h |
|
6148 |
|
6149 2009-07-24 Andrei Popescu <andreip@google.com> |
|
6150 |
|
6151 Reviewed by Anders Carlsson. |
|
6152 |
|
6153 ApplicationCache should have size limit |
|
6154 https://bugs.webkit.org/show_bug.cgi?id=22700 |
|
6155 |
|
6156 * WebCoreSupport/WebChromeClient.cpp: |
|
6157 (WebChromeClient::reachedMaxAppCacheSize): |
|
6158 Adds empty implementation of the reachedMaxAppCacheSize callback. |
|
6159 * WebCoreSupport/WebChromeClient.h: |
|
6160 |
|
6161 2009-07-23 Brady Eidson <beidson@apple.com> |
|
6162 |
|
6163 Reviewed by Geoff Garen. |
|
6164 |
|
6165 WebFrameLoaderClient on Windows doesn't gracefully handle a null request returned from willSendRequest. |
|
6166 https://bugs.webkit.org/show_bug.cgi?id=27595 |
|
6167 |
|
6168 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6169 (WebFrameLoaderClient::dispatchWillSendRequest): |
|
6170 |
|
6171 2009-07-22 Takeshi Yoshino <tyoshino@google.com> |
|
6172 |
|
6173 Reviewed by Darin Adler. |
|
6174 |
|
6175 VC++ 2005 Express failed to build WebKit due to raw UTF-8 string in WebKit/win/WebCoreLocalizedStrings.cpp |
|
6176 https://bugs.webkit.org/show_bug.cgi?id=26375 |
|
6177 |
|
6178 Replace a multiplication sign (U+00D7) encoded in UTF-8 (0xC3 0x97) in WebCoreLocalizedStrings.cpp |
|
6179 with hex escape sequences. |
|
6180 |
|
6181 VC2005 failed to build due to this raw UTF-8 data in source code. Here's the warning message ( |
|
6182 treated as an error and stopped build). |
|
6183 |
|
6184 WebCoreLocalizedStrings.cpp : warning C4819: The file contains a character that cannot be |
|
6185 represented in the current code page (932). Save the file in Unicode format to prevent data loss |
|
6186 |
|
6187 A change on WebKitTools/Scripts/extract-localizable-strings is attached to this change not to break |
|
6188 localized string generation process. |
|
6189 |
|
6190 * WebCoreLocalizedStrings.cpp: |
|
6191 (WebCore::imageTitle): |
|
6192 |
|
6193 2009-07-21 Roland Steiner <rolandsteiner@google.com> |
|
6194 |
|
6195 Reviewed by David Levin. |
|
6196 |
|
6197 Add ENABLE_RUBY to list of build options |
|
6198 https://bugs.webkit.org/show_bug.cgi?id=27324 |
|
6199 |
|
6200 * WebKit.vcproj/WebKit.vcproj: Added flag ENABLE_RUBY. |
|
6201 |
|
6202 2009-07-20 Peter Kasting <pkasting@google.com> |
|
6203 |
|
6204 Reviewed by Mark Rowe. |
|
6205 |
|
6206 https://bugs.webkit.org/show_bug.cgi?id=27468 |
|
6207 Back out r46060, which caused problems for some Apple developers. |
|
6208 |
|
6209 * WebKit.vcproj/Interfaces.vcproj: |
|
6210 * WebKit.vcproj/InterfacesGenerated.vcproj: |
|
6211 * WebKit.vcproj/WebKit.vcproj: |
|
6212 * WebKit.vcproj/WebKitGUID.vcproj: |
|
6213 |
|
6214 2009-07-17 Brian Weinstein <bweinstein@apple.com> |
|
6215 |
|
6216 Reviewed by Adam Roben. |
|
6217 |
|
6218 Fix of <rdar://problem/5712795> Win: Cannot change the height of the docked Web Inspector (14272) |
|
6219 https://bugs.webkit.org/show_bug.cgi?id=14272 |
|
6220 |
|
6221 Implemented resizing of inspector window when it is in attached mode. Implemented setAttachedWindowHeight |
|
6222 to set window sizes and redraw the inspector and the inspected web view, and used stored preferences |
|
6223 in InspectorController.cpp to remember user's preferred height. |
|
6224 |
|
6225 * WebCoreSupport/WebInspectorClient.cpp: |
|
6226 |
|
6227 2009-07-17 Peter Kasting <pkasting@google.com> |
|
6228 |
|
6229 Reviewed by Steve Falkenburg. |
|
6230 |
|
6231 https://bugs.webkit.org/show_bug.cgi?id=27323 |
|
6232 Only add Cygwin to the path when it isn't already there. This avoids |
|
6233 causing problems for people who purposefully have non-Cygwin versions of |
|
6234 executables like svn in front of the Cygwin ones in their paths. |
|
6235 |
|
6236 * WebKit.vcproj/Interfaces.vcproj: |
|
6237 * WebKit.vcproj/InterfacesGenerated.vcproj: |
|
6238 * WebKit.vcproj/WebKit.vcproj: |
|
6239 * WebKit.vcproj/WebKitGUID.vcproj: |
|
6240 |
|
6241 2009-07-16 Fumitoshi Ukai <ukai@chromium.org> |
|
6242 |
|
6243 Reviewed by David Levin. |
|
6244 |
|
6245 Add --web-sockets flag and ENABLE_WEB_SOCKETS define. |
|
6246 https://bugs.webkit.org/show_bug.cgi?id=27206 |
|
6247 |
|
6248 Add ENABLE_WEB_SOCKETS |
|
6249 |
|
6250 * WebKit.vcproj/WebKit.vcproj: add ENABLE_WEB_SOCKETS |
|
6251 |
|
6252 2009-07-16 Xiaomei Ji <xji@chromium.org> |
|
6253 |
|
6254 Reviewed by Darin Adler. |
|
6255 |
|
6256 Fix tooltip does not get its directionality from its element's directionality. |
|
6257 https://bugs.webkit.org/show_bug.cgi?id=24187 |
|
6258 |
|
6259 Per mitz's suggestion in comment #6, while getting the plain-text |
|
6260 title, we also get the directionality of the title. How to handle |
|
6261 the directionality is up to clients. Clients could ignore it, |
|
6262 or use attribute or unicode control characters to display the title |
|
6263 as what they want. |
|
6264 |
|
6265 * WebCoreSupport/WebChromeClient.cpp: |
|
6266 (WebChromeClient::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet). |
|
6267 * WebCoreSupport/WebChromeClient.h: Add directionality as 2nd parameter to setToolTip(). |
|
6268 * WebElementPropertyBag.cpp: |
|
6269 (WebElementPropertyBag::Read): Change call of spellingToolTip() and title() due to signature change. |
|
6270 |
|
6271 2009-07-15 Darin Adler <darin@apple.com> |
|
6272 |
|
6273 Reviewed by Sam Weinig. |
|
6274 |
|
6275 Renamed parseURL to deprecatedParseURL. |
|
6276 |
|
6277 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6278 (WebFrameLoaderClient::createPlugin): Renamed. |
|
6279 |
|
6280 2009-07-14 Steve Falkenburg <sfalken@apple.com> |
|
6281 |
|
6282 Reorganize JavaScriptCore headers into: |
|
6283 API: include/JavaScriptCore/ |
|
6284 Private: include/private/JavaScriptCore/ |
|
6285 |
|
6286 Reviewed by Darin Adler. |
|
6287 |
|
6288 * WebKit.vcproj/WebKit.vcproj: |
|
6289 |
|
6290 2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu> |
|
6291 |
|
6292 Reviewed by Darin Adler. |
|
6293 |
|
6294 Change all Noncopyable inheriting visibility to public. |
|
6295 https://bugs.webkit.org/show_bug.cgi?id=27225 |
|
6296 |
|
6297 Change all Noncopyable inheriting visibility to public because |
|
6298 it is needed to the custom allocation framework (bug #20422). |
|
6299 |
|
6300 * COMEnumVariant.h: |
|
6301 * WebDatabaseManager.cpp: |
|
6302 * WebInspector.h: |
|
6303 * WebLocalizableStrings.cpp: |
|
6304 |
|
6305 2009-07-13 Brent Fulgham <bfulgham@webkit.org> |
|
6306 |
|
6307 Reviewed by Adam Roben. |
|
6308 |
|
6309 Refactor WebFrame::spoolPages for easier sharing with Windows Cairo. |
|
6310 https://bugs.webkit.org/show_bug.cgi?id=27240. |
|
6311 |
|
6312 * WebFrame.cpp: |
|
6313 (WebFrame::printHeader): New shared method to print the header. |
|
6314 (WebFrame::printFooter): New shared method to print the footer. |
|
6315 (WebFrame::spoolPage): New conditionally-compiled method to print |
|
6316 a page. |
|
6317 (WebFrame::spoolPages): Revised to call the platform-specific spoolPage |
|
6318 for each page. |
|
6319 * WebFrame.h: Add new method prototypes. |
|
6320 |
|
6321 2009-07-13 Brent Fulgham <bfulgham@webkit.org> |
|
6322 |
|
6323 Reviewed by Adam Roben. |
|
6324 |
|
6325 Add new configuration flag for redistributable Windows build. |
|
6326 https://bugs.webkit.org/show_bug.cgi=27087 |
|
6327 |
|
6328 * WebKit.vcproj/WebKit.vcproj: Add new WinCairo.vsprops to |
|
6329 Debug_Cairo and Release_Cairo targets. |
|
6330 |
|
6331 2009-07-12 Brent Fulgham <bfulgham@gmail.com> |
|
6332 |
|
6333 Speculative Windows build fix after http://trac.webkit.org/changeset/45786. |
|
6334 |
|
6335 * WebCoreSupport/WebChromeClient.cpp: |
|
6336 (WebChromeClient::addMessageToConsole): |
|
6337 |
|
6338 2009-07-10 Adam Barth <abarth@webkit.org> |
|
6339 |
|
6340 Reviewed by Sam Weinig with the power of Grayskull. |
|
6341 |
|
6342 Enable XSSAuditor by default. |
|
6343 |
|
6344 * WebPreferences.cpp: |
|
6345 (WebPreferences::initializeDefaultSettings): |
|
6346 |
|
6347 2009-07-09 Drew Wilson <atwilson@google.com> |
|
6348 |
|
6349 Reviewed by Alexey Proskuryakov. |
|
6350 |
|
6351 https://bugs.webkit.org/show_bug.cgi?id=26903 |
|
6352 |
|
6353 Turned on CHANNEL_MESSAGING by default because the MessageChannel API |
|
6354 can now be implemented for Web Workers and is reasonably stable. |
|
6355 |
|
6356 * WebKit.vcproj/WebKit.vcproj: |
|
6357 |
|
6358 2009-07-09 Brian Weinstein <bweinstein@apple.com> |
|
6359 |
|
6360 Reviewed by Alice Liu. |
|
6361 |
|
6362 Fix of <rdar://5712929> Add preferences key to remember if the Inspector was docked (14271) |
|
6363 https://bugs.webkit.org/show_bug.cgi?id=27140 |
|
6364 |
|
6365 Added a preference key to remember whether the user prefers the inspector detached or attached. |
|
6366 |
|
6367 * WebCoreSupport/WebInspectorClient.cpp: |
|
6368 (WebInspectorClient::showWindow): Pass both parameters into setWindowVisible |
|
6369 (WebInspectorClient::closeWindow): Ditto |
|
6370 (WebInspectorClient::attachWindow): Set preference to attached windows here |
|
6371 (WebInspectorClient::detachWindow): Set preference to detached windows here |
|
6372 (WebInspectorClient::showWindowWithoutNotifications): Read preference for attached vs. detached |
|
6373 (WebInspectorClient::onClose): Pass both parameters into setWindowVisible |
|
6374 |
|
6375 2009-07-09 Alexey Proskuryakov <ap@webkit.org> |
|
6376 |
|
6377 Reviewed by Oliver Hunt. |
|
6378 |
|
6379 <rdar://problem/6921671> Visit count shouldn't be incremented by redirects. |
|
6380 |
|
6381 * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::updateGlobalHistory): |
|
6382 Do not increase visit count if there is a redirect source. As a result, only pages that were |
|
6383 explicitly visited by the user (by typing a URL, choosing one from bookmarks, or clicking |
|
6384 a link) will be counted. |
|
6385 |
|
6386 * Interfaces/IWebHistoryItemPrivate.idl: |
|
6387 * WebHistory.cpp: |
|
6388 (WebHistory::visitedURL): |
|
6389 * WebHistory.h: |
|
6390 * WebHistoryItem.cpp: |
|
6391 (WebHistoryItem::visitedWithTitle): |
|
6392 * WebHistoryItem.h: |
|
6393 Marshal this new argument all the way down to WebCore. |
|
6394 |
|
6395 2009-07-09 Beth Dakin and Jon Honeycutt <bdakin@apple.com> |
|
6396 |
|
6397 Reviewed by Dave Hyatt. |
|
6398 |
|
6399 Make Widget RefCounted to fix: |
|
6400 |
|
6401 <rdar://problem/7038831> REGRESSION (TOT): In Mail, a crash occurs |
|
6402 at WebCore::Widget::afterMouseDown() after clicking To Do's close |
|
6403 box |
|
6404 <rdar://problem/6978804> WER #16: Repro Access Violation in |
|
6405 WebCore::PluginView::bindingInstance (1310178023) |
|
6406 -and- |
|
6407 <rdar://problem/6991251> WER #13: Crash in WebKit! |
|
6408 WebCore::PluginView::performRequest+203 (1311461169) |
|
6409 |
|
6410 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6411 (WebFrameLoaderClient::createPlugin): |
|
6412 * WebCoreSupport/WebFrameLoaderClient.h: |
|
6413 * WebFrame.cpp: |
|
6414 (WebFrame::createJavaAppletWidget): |
|
6415 * WebFrame.h: |
|
6416 |
|
6417 2009-07-09 Sam Weinig <sam@webkit.org> |
|
6418 |
|
6419 Reviewed by Steve Falkenburg. |
|
6420 |
|
6421 Roll out r43848. The quirk is no longer necessary. |
|
6422 |
|
6423 * WebView.cpp: |
|
6424 (WebView::userAgentForKURL): |
|
6425 |
|
6426 2009-07-07 Ada Chan <adachan@apple.com> |
|
6427 |
|
6428 Reviewed by Dave Hyatt. |
|
6429 |
|
6430 Missed a call to FocusController::setFocused(true) when handling WM_SETFOCUS in WebView. |
|
6431 https://bugs.webkit.org/show_bug.cgi?id=27057 |
|
6432 |
|
6433 * WebView.cpp: |
|
6434 (WebViewWndProc): |
|
6435 |
|
6436 2009-07-02 Erik Arvidsson <arv@chromium.org> |
|
6437 |
|
6438 Reviewed by Adam Roben. |
|
6439 |
|
6440 [Win] HTML5 Drag and drop, dragend is not fired when pressing Esc |
|
6441 https://bugs.webkit.org/show_bug.cgi?id=26699 |
|
6442 |
|
6443 * WebDropSource.cpp: |
|
6444 (WebDropSource::QueryContinueDrag): |
|
6445 |
|
6446 2009-07-02 Oliver Hunt <oliver@apple.com> |
|
6447 |
|
6448 Reviewed by Anders Carlsson. |
|
6449 |
|
6450 <rdar://problem/6939593> REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page (26670) |
|
6451 <https://bugs.webkit.org/show_bug.cgi?id=26670> |
|
6452 |
|
6453 Make windows loader client match mac behaviour more closely. |
|
6454 |
|
6455 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6456 (WebFrameLoaderClient::forceLayout): |
|
6457 |
|
6458 2009-06-30 Brent Fulgham <bfulgham@gmail.com> |
|
6459 |
|
6460 Reviewed by Adam Roben. |
|
6461 |
|
6462 Build DumpRenderTree under Cairo. |
|
6463 https://bugs.webkit.org/show_bug.cgi?id=26457 |
|
6464 |
|
6465 * WebKit.vcproj/WebKit.sln: Add Cairo targets to the |
|
6466 DumpRenderTree build, and use the in the Debug_Cairo |
|
6467 and Release_Cairo targets. |
|
6468 |
|
6469 2009-07-02 Eric Carlson <eric.carlson@apple.com> |
|
6470 |
|
6471 Fix Windows build by including missing localized string methods. |
|
6472 |
|
6473 * WebCoreLocalizedStrings.cpp: |
|
6474 (WebCore::mediaElementLoadingStateText): |
|
6475 (WebCore::mediaElementLiveBroadcastStateText): |
|
6476 |
|
6477 2009-07-01 David Hyatt <hyatt@apple.com> |
|
6478 |
|
6479 Reviewed by Tim Hatcher. |
|
6480 |
|
6481 <rdar://problem/6998524> REGRESSION (r44474): Form text field has focus ring, looks focused, |
|
6482 even though the field is not actually focused for keyboard input |
|
6483 |
|
6484 Add the concept of whether or not the Page is focused by adding a boolean to the focusController. This allows the |
|
6485 focused frame and focused node to both be cached and changed programmatically without causing errors when the Page doesn't |
|
6486 have focus. |
|
6487 |
|
6488 * WebView.cpp: |
|
6489 (WebViewWndProc): |
|
6490 |
|
6491 2009-06-29 David Hyatt <hyatt@apple.com> |
|
6492 |
|
6493 Fix Windows bustage. Missed two configurations for enabling DATAGRID. |
|
6494 |
|
6495 * WebKit.vcproj/WebKit.vcproj: |
|
6496 |
|
6497 2009-06-29 Jessie Berlin <jberlin@apple.com> |
|
6498 |
|
6499 Reviewed by Adam Roben. |
|
6500 |
|
6501 Fix the windows build. |
|
6502 |
|
6503 * WebCoreSupport/WebContextMenuClient.cpp: |
|
6504 (WebContextMenuClient::isSpeaking): |
|
6505 * WebCoreSupport/WebContextMenuClient.h: |
|
6506 |
|
6507 2009-06-29 David Hyatt <hyatt@apple.com> |
|
6508 |
|
6509 Reviewed by Adam Roben. |
|
6510 |
|
6511 Make sure to patch all configurations to have datagrid enabled. |
|
6512 |
|
6513 * WebKit.vcproj/WebKit.vcproj: |
|
6514 |
|
6515 2009-06-29 David Hyatt <hyatt@apple.com> |
|
6516 |
|
6517 Reviewed by Adam Roben. |
|
6518 |
|
6519 Put <datagrid> behind an ifdef. |
|
6520 |
|
6521 * WebKit.vcproj/WebKit.vcproj: |
|
6522 |
|
6523 2009-06-26 Brian Weinstein <bweinstein@apple.com> |
|
6524 |
|
6525 Reviewed by Simon Fraser. |
|
6526 |
|
6527 https://bugs.webkit.org/show_bug.cgi?id=26695 |
|
6528 |
|
6529 Added hit testing on scrollbars, so if you start a gesture over a scrollbar, |
|
6530 it isn't counted, and lets the user drag the scrollbar itself instead of a |
|
6531 panning gesture. Also cleaned up code in gesture. |
|
6532 |
|
6533 * WebView.cpp: |
|
6534 (WebView::gestureNotify): |
|
6535 (WebView::gesture): |
|
6536 |
|
6537 2009-06-26 Jeremy Orlow <jorlow@chromium.org> |
|
6538 |
|
6539 Reviewed by Adam Barth. |
|
6540 |
|
6541 https://bugs.webkit.org/show_bug.cgi?id=26767 |
|
6542 |
|
6543 Fix a build break due to LocalStorage.h being included in WebKitDLL.cpp |
|
6544 despite it being deleted from the repo by the following patch/commit: |
|
6545 https://bugs.webkit.org/show_bug.cgi?id=26732 |
|
6546 http://trac.webkit.org/changeset/45290 |
|
6547 |
|
6548 * WebKitDLL.cpp: |
|
6549 |
|
6550 2009-06-26 Yongjun Zhang <yongjun.zhang@nokia.com> |
|
6551 |
|
6552 Reviewed by Eric Seidel. |
|
6553 |
|
6554 Bug 20303: [Qt] Key events are not working in frames. |
|
6555 |
|
6556 Move the scroll handling code to EventHandler so that other |
|
6557 ports can share the functionality. |
|
6558 |
|
6559 * WebView.cpp: |
|
6560 (WebView::keyDown): |
|
6561 (EnumTextMatches::QueryInterface): |
|
6562 |
|
6563 2009-06-23 Anders Carlsson <andersca@apple.com> |
|
6564 |
|
6565 Reviewed by Darin Adler. |
|
6566 |
|
6567 WebKit side of <rdar://problem/6946094>. |
|
6568 |
|
6569 * Interfaces/IWebUIDelegate.idl: |
|
6570 Add a newPasteboard out parameter to willPerformDragSourceAction. |
|
6571 |
|
6572 * WebCoreSupport/WebDragClient.cpp: |
|
6573 (WebDragClient::willPerformDragSourceAction): |
|
6574 Implement this. If the client returns a new pasteboard, use it for the drag. |
|
6575 |
|
6576 * WebCoreSupport/WebInspectorDelegate.h: |
|
6577 (WebInspectorDelegate::willPerformDragSourceAction): |
|
6578 Add the new parameter. |
|
6579 |
|
6580 2009-06-20 Darin Adler <darin@apple.com> |
|
6581 |
|
6582 Reviewed by Sam Weinig. |
|
6583 |
|
6584 <rdar://problem/6964221> Need more processing of pluginspage. |
|
6585 |
|
6586 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6587 (WebFrameLoaderClient::createPlugin): Check protocolInHTTPFamily. |
|
6588 |
|
6589 2009-06-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
6590 |
|
6591 Reviewed by Steve Falkenburg. |
|
6592 |
|
6593 https://bugs.webkit.org/show_bug.cgi?id=26494 |
|
6594 Bug 26494: RenderTheme::themeForPage reads from Settings before it has |
|
6595 been initialized by WebKit |
|
6596 |
|
6597 Get the shouldPaintNativeControls preference and update the settings |
|
6598 before initializing the page, as the page depends on it after the |
|
6599 themeForPage change. |
|
6600 |
|
6601 * WebView.cpp: |
|
6602 (WebView::initWithFrame): |
|
6603 |
|
6604 2009-06-19 Brian Weinstein <bweinstein@apple.com> |
|
6605 |
|
6606 Reviewed by Steve Falkenburg. |
|
6607 |
|
6608 https://bugs.webkit.org/show_bug.cgi?id=26488 |
|
6609 No Support for Single Finger or Two Finger Panning in Windows 7 |
|
6610 |
|
6611 Added the code necessary for single finger and two-finger panning with |
|
6612 window bounce. We now register for WM_GESTURENOTIFY and WM_GESTURE messages, |
|
6613 and interpret the panning command. Also, added WindowsTouch.h which contains |
|
6614 structs and #defines from the Windows 7 SDK. |
|
6615 |
|
6616 * WebKit.vcproj/WebKit.vcproj: |
|
6617 * WebView.cpp: |
|
6618 (WebView::gestureNotify): Checks if we are in a pannable region - IE: Not in the scrollbar |
|
6619 (WebView::gesture): Handles the Panning gesture, creating the WheelEvent |
|
6620 (WebViewWndProc): Added cases for WM_GESTURE and WM_GESTURENOTIFY |
|
6621 * WebView.h: |
|
6622 * WindowsTouch.h: Added. |
|
6623 |
|
6624 2009-06-18 Adam Barth <abarth@webkit.org> |
|
6625 |
|
6626 Reviewed by Sam Weinig. |
|
6627 |
|
6628 https://bugs.webkit.org/show_bug.cgi?id=26199 |
|
6629 |
|
6630 Added preference to enable the XSSAuditor. |
|
6631 |
|
6632 * Interfaces/IWebPreferencesPrivate.idl: |
|
6633 * WebPreferenceKeysPrivate.h: |
|
6634 * WebPreferences.cpp: |
|
6635 (WebPreferences::initializeDefaultSettings): |
|
6636 (WebPreferences::isXSSAuditorEnabled): |
|
6637 (WebPreferences::setXSSAuditorEnabled): |
|
6638 * WebPreferences.h: |
|
6639 * WebView.cpp: |
|
6640 (WebView::notifyPreferencesChanged): |
|
6641 |
|
6642 2009-06-18 Brent Fulgham <bfulgham@gmail.com> |
|
6643 |
|
6644 Reviewed by Dave Levin. |
|
6645 |
|
6646 Remove some boilerplate using the BitmapInfo struct. |
|
6647 https://bugs.webkit.org/show_bug.cgi?id=26425 |
|
6648 |
|
6649 * WebFrame.cpp: |
|
6650 (WebFrame::spoolPages): |
|
6651 * WebIconDatabase.cpp: |
|
6652 (createDIB): |
|
6653 * WebKit.vcproj/WebKit.sln: |
|
6654 * WebNodeHighlight.cpp: |
|
6655 (WebNodeHighlight::update): |
|
6656 * WebView.cpp: |
|
6657 (WebView::ensureBackingStore): |
|
6658 |
|
6659 2009-06-17 Steve Falkenburg <sfalken@apple.com> |
|
6660 |
|
6661 Consolidate WebKit COM interfaces. |
|
6662 Moved IID from the highest numbered COM interface to the first interface and combined all methods. |
|
6663 |
|
6664 Numbered interfaces can be combined since the latest shipping Safari 4 supports the latest interfaces. |
|
6665 |
|
6666 Reviewed by Adam Roben. |
|
6667 |
|
6668 * Interfaces/IWebFrameLoadDelegate.idl: |
|
6669 * Interfaces/IWebFrameLoadDelegatePrivate.idl: |
|
6670 * Interfaces/IWebResourceLoadDelegatePrivate.idl: |
|
6671 * Interfaces/IWebUIDelegate.idl: |
|
6672 * Interfaces/IWebUIDelegatePrivate.idl: |
|
6673 * Interfaces/WebKit.idl: |
|
6674 * WebCoreSupport/WebChromeClient.cpp: |
|
6675 * WebCoreSupport/WebChromeClient.h: |
|
6676 * WebCoreSupport/WebContextMenuClient.cpp: |
|
6677 * WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6678 * WebCoreSupport/WebInspectorDelegate.h: |
|
6679 * WebFrame.cpp: |
|
6680 * WebView.cpp: |
|
6681 |
|
6682 2009-06-16 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
6683 |
|
6684 Reviewed by Adam Roben. |
|
6685 |
|
6686 Create a different RenderTheme per page, so that RenderTheme has |
|
6687 access to page specific theming. This is needed for the Qt port, as Qt |
|
6688 supports setting the theme (style) per widget. |
|
6689 |
|
6690 This change was suggested and discussed with Dave Hyatt. |
|
6691 |
|
6692 More detailed: |
|
6693 |
|
6694 1) Create a theme per page or one global one, depending on the needs |
|
6695 of the platform. |
|
6696 2) Add an accesser to the theme from RenderObject. |
|
6697 3) Change all uses of the theming to access the theme through |
|
6698 RenderObject, using the global default theme as fallback, when the |
|
6699 document of RenderObject has no page. |
|
6700 When we don't have access to a RenderObject, use the default theme. |
|
6701 4) Modify all RenderTheme platform implementations to work with the |
|
6702 above changes, still creating only one global theme. |
|
6703 |
|
6704 * WebView.cpp: |
|
6705 (WebViewWndProc): Get the theme from the associated page. |
|
6706 |
|
6707 2009-06-16 Brian Weinstein <bweinstein@apple.com> |
|
6708 |
|
6709 Reviewed by Adam Roben. |
|
6710 |
|
6711 Switch Control+Mousewheel Zooming definitions to match other browsers on Windows. |
|
6712 Control+Mousewheel-Down now zooms out, Control+Mousewheel-Up now zooms in. |
|
6713 https://bugs.webkit.org/show_bug.cgi?id=25875. |
|
6714 <rdar://problem/6903976> |
|
6715 |
|
6716 * WebView.cpp: |
|
6717 (WebView::mouseWheel): |
|
6718 |
|
6719 2009-06-16 Brent Fulgham <bfulgham@gmail.com> |
|
6720 |
|
6721 Reviewed by Darin Adler. |
|
6722 |
|
6723 Use consistent Windows GUID Comparison Functions. |
|
6724 https://bugs.webkit.org/show_bug.cgi?id=26427. |
|
6725 |
|
6726 * WebView.cpp: |
|
6727 (EnumTextMatches::QueryInterface): |
|
6728 |
|
6729 == Rolled over to ChangeLog-2009-06-16 == |