|
1 2010-08-05 Simon Hausmann <simon.hausmann@nokia.com> |
|
2 |
|
3 Reviewed by Tor Arne Vestbø. |
|
4 |
|
5 [Qt] Clean up the input method handling |
|
6 https://bugs.webkit.org/show_bug.cgi?id=43545 |
|
7 |
|
8 Replace the way of individually setting input method hints by |
|
9 many calls to QWidget::setInputMethodHints with one single call. |
|
10 |
|
11 This is more efficient by requiring less updates in the input |
|
12 method hint. |
|
13 |
|
14 * WebCoreSupport/EditorClientQt.cpp: |
|
15 (WebCore::EditorClientQt::setInputMethodState): |
|
16 * WebCoreSupport/PageClientQt.cpp: |
|
17 (WebCore::PageClientQWidget::setInputMethodHints): |
|
18 (WebCore::PageClientQGraphicsWidget::setInputMethodHints): |
|
19 * WebCoreSupport/PageClientQt.h: |
|
20 |
|
21 2010-08-05 David Leong <david.leong@nokia.com> |
|
22 |
|
23 Reviewed by Simon Hausmann. |
|
24 |
|
25 [Qt] Input mode states are not reset after entering a password field |
|
26 https://bugs.webkit.org/show_bug.cgi?id=43530 |
|
27 |
|
28 Input mode hints are not reset if clicking on password <input> elements then |
|
29 clicking on <textarea> elements |
|
30 |
|
31 * WebCoreSupport/EditorClientQt.cpp: |
|
32 (WebCore::EditorClientQt::setInputMethodState): |
|
33 * tests/qwebview/resources/input_types.html: |
|
34 * tests/qwebview/tst_qwebview.cpp: |
|
35 (tst_QWebView::focusInputTypes): |
|
36 |
|
37 |
|
38 2010-07-29 Alexis Menard <alexis.menard@nokia.com> |
|
39 |
|
40 Reviewed by Antonio Gomes. |
|
41 |
|
42 QWebFrame and QWebView documentation fix. |
|
43 |
|
44 The QWebFrame and the QWebView setHtml() methods are a bit confusing. |
|
45 There are a few registered bugs in Webkit's bugzilla that source is |
|
46 in a bad usage of the function. |
|
47 Additional information were added. |
|
48 |
|
49 https://bugs.webkit.org/show_bug.cgi?id=31115 |
|
50 |
|
51 * Api/qgraphicswebview.cpp: |
|
52 * Api/qwebframe.cpp: |
|
53 * Api/qwebview.cpp: |
|
54 |
|
55 2010-08-03 Kim Grönholm <kim.1.gronholm@nokia.com> |
|
56 |
|
57 Reviewed by Simon Hausmann. |
|
58 |
|
59 [Qt] Platform plugin interface for Haptics |
|
60 https://bugs.webkit.org/show_bug.cgi?id=43143 |
|
61 |
|
62 Platform plugin interface for playing haptic feedback |
|
63 |
|
64 * Api/qwebkitplatformplugin.h: |
|
65 (QWebHapticFeedbackPlayer::): |
|
66 (QWebKitPlatformPlugin::): |
|
67 * examples/platformplugin/WebPlugin.h: |
|
68 (WebPlugin::createHapticFeedbackPlayer): |
|
69 * examples/platformplugin/qwebkitplatformplugin.h: |
|
70 (QWebHapticFeedbackPlayer::): |
|
71 (QWebKitPlatformPlugin::): |
|
72 |
|
73 2010-07-22 Yael Aharon <yael.aharon@nokia.com> |
|
74 |
|
75 Reviewed by Laszlo Gombos. |
|
76 |
|
77 [Qt] QtWebKit needs public API for Notifications. |
|
78 https://bugs.webkit.org/show_bug.cgi?id=41413 |
|
79 |
|
80 Remove DumpRenderTree private API and introduce new API. |
|
81 Also add support for informing the UI when a notification request is cancelled. |
|
82 |
|
83 * Api/qwebpage.cpp: |
|
84 (QWebPage::setUserPermission): |
|
85 * Api/qwebpage.h: |
|
86 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
87 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
88 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
89 (WebCore::NotificationPresenterClientQt::requestPermission): |
|
90 (WebCore::NotificationPresenterClientQt::checkPermission): |
|
91 (WebCore::NotificationPresenterClientQt::cancelRequestsForPermission): |
|
92 (WebCore::NotificationPresenterClientQt::allowNotificationForFrame): |
|
93 (WebCore::NotificationPresenterClientQt::toPage): |
|
94 (WebCore::NotificationPresenterClientQt::toFrame): |
|
95 * WebCoreSupport/NotificationPresenterClientQt.h: |
|
96 |
|
97 2010-07-22 Jamey Hicks <jamey.hicks@nokia.com> |
|
98 |
|
99 Reviewed by Kenneth Rohde Christiansen. |
|
100 |
|
101 [Qt] Enable binding of QObjects to JavaScript environment for inspector frontend |
|
102 |
|
103 This patch enables QObjects to be bound to global variables in the |
|
104 javascript environment of the inspector frontend. This is useful |
|
105 for writing alternate inspector frontends in javascript which need |
|
106 additional native functionality. It's a lighter-weight alternative |
|
107 than using an NPAPI plugin. |
|
108 |
|
109 The code which instantiates QWebInspector uses this by setting the |
|
110 dynamic property "q_inspectorJavaScriptWindowObjects" on the |
|
111 QWebInspector. The value of this property should be a |
|
112 QMap<QString,QVariant> mapping global variable name to QObject. |
|
113 |
|
114 I have used this to add support for eclipse/chrome remote |
|
115 debugging in QtTestBrowser. |
|
116 |
|
117 https://bugs.webkit.org/show_bug.cgi?id=41995 |
|
118 |
|
119 * WebCoreSupport/InspectorClientQt.cpp: |
|
120 (WebCore::InspectorClientWebPage::InspectorClientWebPage): |
|
121 (WebCore::InspectorClientWebPage::javaScriptWindowObjectCleared): |
|
122 (WebCore::InspectorClientQt::openInspectorFrontend): |
|
123 |
|
124 2009-10-30 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
125 |
|
126 Reviewed by Kenneth Rohde Christiansen. |
|
127 |
|
128 [Qt] Use the default timeout interval for JS as the HTML tokenizer delay for setHtml() |
|
129 |
|
130 This ensures that long-running JavaScript (for example due to a modal alert() dialog), |
|
131 will not trigger a deferred load after only 500ms (the default tokenizer delay) while |
|
132 still giving a reasonable timeout (10 seconds) to prevent deadlock. |
|
133 |
|
134 https://bugs.webkit.org/show_bug.cgi?id=29381 |
|
135 |
|
136 * Api/qwebframe.cpp: Document the behaviour |
|
137 * WebCoreSupport/FrameLoaderClientQt.cpp: set the custom tokenizer delay for substitute loads |
|
138 * tests/qwebframe/tst_qwebframe.cpp: Add test |
|
139 |
|
140 2010-07-28 Kim Grönholm <kim.1.gronholm@nokia.com> |
|
141 |
|
142 Reviewed by Antonio Gomes. |
|
143 |
|
144 [Qt] Decouple QTouchEvent's accepted flag from JS prevent default |
|
145 https://bugs.webkit.org/show_bug.cgi?id=42892 |
|
146 |
|
147 Added comments to the touch event handling code. |
|
148 |
|
149 * Api/qgraphicswebview.cpp: |
|
150 (QGraphicsWebView::sceneEvent): |
|
151 * Api/qwebpage.cpp: |
|
152 (QWebPagePrivate::touchEvent): |
|
153 (QWebPage::event): |
|
154 * Api/qwebpage_p.h: |
|
155 * Api/qwebview.cpp: |
|
156 (QWebView::event): |
|
157 |
|
158 2010-07-27 Kim Grönholm <kim.1.gronholm@nokia.com> |
|
159 |
|
160 Reviewed by Simon Hausmann. |
|
161 |
|
162 [Qt] Decouple QTouchEvent's accepted flag from JS prevent default |
|
163 https://bugs.webkit.org/show_bug.cgi?id=42892 |
|
164 |
|
165 We need to always accept the QTouchEvents in order to get TouchUpdate and |
|
166 TouchEnd events. QWebPage::event() return value is used to indicate |
|
167 whether the default action was prevented for the touch events. |
|
168 |
|
169 * Api/qgraphicswebview.cpp: |
|
170 (QGraphicsWebView::sceneEvent): |
|
171 * Api/qwebpage.cpp: |
|
172 (QWebPagePrivate::touchEvent): |
|
173 (QWebPage::event): |
|
174 * Api/qwebpage_p.h: |
|
175 * Api/qwebview.cpp: |
|
176 (QWebView::event): |
|
177 |
|
178 2010-07-27 Simon Hausmann <simon.hausmann@nokia.com> |
|
179 |
|
180 Reviewed by Tor Arne Vestbø. |
|
181 |
|
182 [Qt] Incorrect input method hints |
|
183 https://bugs.webkit.org/show_bug.cgi?id=43037 |
|
184 |
|
185 Properly set or reset all input method hints when |
|
186 activating input fields. |
|
187 |
|
188 * WebCoreSupport/EditorClientQt.cpp: |
|
189 (WebCore::EditorClientQt::setInputMethodState): |
|
190 * tests/qwebview/tst_qwebview.cpp: |
|
191 (tst_QWebView::focusInputTypes): Extended unit test to verify that we |
|
192 reset hints. |
|
193 |
|
194 2010-07-23 David Boddie <dboddie@trolltech.com> |
|
195 |
|
196 Reviewed by Simon Hausmann. |
|
197 |
|
198 Doc: Fixed incorrect QML property type. |
|
199 |
|
200 * declarative/qdeclarativewebview.cpp: |
|
201 |
|
202 2010-07-23 Simon Hausmann <simon.hausmann@nokia.com> |
|
203 |
|
204 [Qt] Build fix for Qt apps |
|
205 |
|
206 Add webkit to QT_CONFIG. qconfig.pri will read qt_webkit_version.pri and |
|
207 that's how it will pick up webkit in QT_CONFIG. |
|
208 |
|
209 * qt_webkit_version.pri: |
|
210 |
|
211 2010-07-21 Brady Eidson <beidson@apple.com> |
|
212 |
|
213 Reviewed by Geoffrey Garen. |
|
214 |
|
215 Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry |
|
216 https://bugs.webkit.org/show_bug.cgi?id=42783 |
|
217 |
|
218 * Api/qwebpage.cpp: |
|
219 (QWebPage::acceptNavigationRequest): |
|
220 * Api/qwebsecurityorigin.cpp: |
|
221 (QWebSecurityOrigin::addLocalScheme): |
|
222 (QWebSecurityOrigin::removeLocalScheme): |
|
223 (QWebSecurityOrigin::localSchemes): |
|
224 |
|
225 2010-07-20 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
226 |
|
227 [Qt] Add API to define device-width and height for use with the viewport meta tag |
|
228 https://bugs.webkit.org/show_bug.cgi?id=42597 |
|
229 |
|
230 Reviewed by Antonio Gomes. |
|
231 |
|
232 Add a new API for setting the deviceSize for use in conjunction with |
|
233 out viewport meta tag API. |
|
234 |
|
235 * Api/qgraphicswebview.cpp: |
|
236 (QGraphicsWebView::setDeviceSize): |
|
237 (QGraphicsWebView::deviceSize): |
|
238 * Api/qgraphicswebview.h: |
|
239 * WebCoreSupport/PageClientQt.cpp: |
|
240 (WebCore::PageClientQGraphicsWidget::windowRect): |
|
241 * WebCoreSupport/PageClientQt.h: |
|
242 (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget): |
|
243 |
|
244 2010-07-20 Andreas Kling <andreas.kling@nokia.com> |
|
245 |
|
246 Reviewed by Kenneth Rohde Christiansen. |
|
247 |
|
248 [Qt] DRT sideeffect revealed by r63657 |
|
249 https://bugs.webkit.org/show_bug.cgi?id=42578 |
|
250 |
|
251 Don't set an automatic timeout for notifications when running in DRT. |
|
252 This fixes an issue with cancel() notifications in unrelated tests. |
|
253 |
|
254 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
255 (WebCore::NotificationPresenterClientQt::displayNotification): |
|
256 |
|
257 2010-07-18 Andreas Kling <andreas.kling@nokia.com> |
|
258 |
|
259 Reviewed by Antonio Gomes. |
|
260 |
|
261 [Qt] tst_QWebPage fails cursorMovements and textSelection |
|
262 https://bugs.webkit.org/show_bug.cgi?id=42531 |
|
263 |
|
264 Correct the HTML used by these tests. |
|
265 |
|
266 * tests/qwebpage/tst_qwebpage.cpp: |
|
267 (tst_QWebPage::cursorMovements): |
|
268 (tst_QWebPage::textSelection): |
|
269 (tst_QWebPage::textEditing): |
|
270 |
|
271 2010-07-18 Andreas Kling <andreas.kling@nokia.com> |
|
272 |
|
273 Reviewed by Antonio Gomes. |
|
274 |
|
275 [Qt] tst_QWebElement fails firstChildNextSibling and lastChildPreviousSibling |
|
276 https://bugs.webkit.org/show_bug.cgi?id=42527 |
|
277 |
|
278 Correct the HTML used by these tests. |
|
279 |
|
280 * tests/qwebelement/tst_qwebelement.cpp: |
|
281 (tst_QWebElement::firstChildNextSibling): |
|
282 (tst_QWebElement::lastChildPreviousSibling): |
|
283 |
|
284 2010-07-16 Zhe Su <suzhe@chromium.org> |
|
285 |
|
286 Reviewed by Darin Adler. |
|
287 |
|
288 REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms |
|
289 https://bugs.webkit.org/show_bug.cgi?id=42253 |
|
290 |
|
291 Dummy implementation of EditorClient::willSetInputMethodState. |
|
292 |
|
293 * WebCoreSupport/EditorClientQt.cpp: |
|
294 (WebCore::EditorClientQt::willSetInputMethodState): |
|
295 * WebCoreSupport/EditorClientQt.h: |
|
296 |
|
297 2010-07-14 Sam Weinig <sam@webkit.org> |
|
298 |
|
299 Reviewed by Darin Adler. |
|
300 |
|
301 Patch for https://bugs.webkit.org/show_bug.cgi?id=42232 |
|
302 Make changing Cursors work in WebKit2. |
|
303 |
|
304 * WebCoreSupport/ChromeClientQt.cpp: |
|
305 (WebCore::ChromeClientQt::setCursor): |
|
306 * WebCoreSupport/ChromeClientQt.h: |
|
307 Change prototype to match new one. |
|
308 |
|
309 2010-07-07 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
310 |
|
311 Reviewed by Darin Adler. |
|
312 |
|
313 Prevent assertion/duplicate loads for non-deferred subtitute-data loads |
|
314 |
|
315 https://bugs.webkit.org/show_bug.cgi?id=30879 |
|
316 |
|
317 MainResourceLoader uses the member m_initialRequest to store requests for future |
|
318 deferred loads. When doing the actual load in handleDataLoadNow(), we therefore |
|
319 have to clear this request so that subsequent entries into the loader will not |
|
320 start yet another load. |
|
321 |
|
322 This can happen as a result of a PageGroupLoadDeferrer going out of scope when |
|
323 returning from Chrome::runJavaScriptAlert(), which calls setDeferredLoading(false), |
|
324 but only in the case of using both substitute-data and non-deferred main resource |
|
325 load together. That's why two new DRT functions were added: |
|
326 |
|
327 * queueLoadHTMLString() |
|
328 * setDeferMainResourceLoad() |
|
329 |
|
330 The change adds DRT hooks for Mac, Win and Qt for these two functions. For Mac |
|
331 and Win the hook uses new SPI in WebDataSource. For Qt a new static member was |
|
332 added to the FrameLoaderClientQt and accessed though DumpRenderTreeSupportQt. |
|
333 |
|
334 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
335 (DumpRenderTreeSupportQt::setDeferMainResourceDataLoad): |
|
336 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
337 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
338 (WebCore::FrameLoaderClientQt::createDocumentLoader): |
|
339 * WebCoreSupport/FrameLoaderClientQt.h: |
|
340 |
|
341 2010-07-09 Yael Aharon <yael.aharon@nokia.com> |
|
342 |
|
343 Reviewed by Laszlo Gombos. |
|
344 |
|
345 NotificationPresenter needs a cancelRequestPermission API |
|
346 https://bugs.webkit.org/show_bug.cgi?id=41783 |
|
347 |
|
348 Updated NotificationPresenter API to use ScriptExecutionContext instead of origin |
|
349 and added a new NotificationPresenter::cancelRequestsForPermission API. |
|
350 The new API will be implemented in a followup patch. |
|
351 |
|
352 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
353 (WebCore::NotificationPresenterClientQt::requestPermission): |
|
354 (WebCore::NotificationPresenterClientQt::checkPermission): |
|
355 (WebCore::NotificationPresenterClientQt::cancelRequestsForPermission): |
|
356 * WebCoreSupport/NotificationPresenterClientQt.h: |
|
357 |
|
358 2010-07-09 Kent Hansen <kent.hansen@nokia.com> |
|
359 |
|
360 Reviewed by Kenneth Rohde Christiansen. |
|
361 |
|
362 [Qt] Skip test that never terminates on maemo5 |
|
363 |
|
364 Due to https://bugs.webkit.org/show_bug.cgi?id=38538 |
|
365 the tst_QWebPage::infiniteLoopJS() autotest never terminates. |
|
366 Skip the test so that the test case may run to completion. |
|
367 |
|
368 Patch by Dominik Holland <dominik.holland@nokia.com> |
|
369 |
|
370 * tests/qwebpage/tst_qwebpage.cpp: |
|
371 (tst_QWebPage::infiniteLoopJS): |
|
372 |
|
373 2010-07-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
374 |
|
375 Unreviewed trivial Symbian build fix. |
|
376 |
|
377 [Qt] Fix the Symbian build when compiling without S60 |
|
378 |
|
379 Use Q_OS_SYMBIAN instead of Q_WS_S60 for the user agent |
|
380 determination. |
|
381 |
|
382 * Api/qwebpage.cpp: |
|
383 (QWebPage::userAgentForUrl): |
|
384 |
|
385 2010-07-09 Kristian Amlie <kristian.amlie@nokia.com> |
|
386 |
|
387 Reviewed by Simon Hausmann. |
|
388 |
|
389 [Qt] Fixed Qt symbian/linux-armcc mkspec when configured with -qtlibinfix. |
|
390 |
|
391 * declarative/declarative.pro: Use QT_LIBINFIX. |
|
392 |
|
393 2010-07-09 Anders Bakken <agbakken@gmail.com> |
|
394 |
|
395 Reviewed by Simon Hausmann. |
|
396 |
|
397 [Qt] Remove superfluous function calls |
|
398 https://bugs.webkit.org/show_bug.cgi?id=40353 |
|
399 |
|
400 QWebFrame::setUrl() calls ensureAbsoluteUrl() twice. It's better to |
|
401 store a local variable and reuse this one. |
|
402 |
|
403 QWebFrame::load(QUrl) calls QWebFrame::load(QNetworkRequest) which in |
|
404 turn will get the QUrl from the request and make sure it's absolute by |
|
405 calling ensureAbsoluteUrl() on it. |
|
406 |
|
407 * Api/qwebframe.cpp: |
|
408 (QWebFrame::setUrl): |
|
409 (QWebFrame::load): |
|
410 |
|
411 2010-07-08 Aaron Boodman <aa@chromium.org> |
|
412 |
|
413 Unreviewed change to fix qt build after c62876. |
|
414 |
|
415 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
416 (DumpRenderTreeSupportQt::addUserStyleSheet): |
|
417 |
|
418 2010-07-07 Robert Hogan <robert@webkit.org> |
|
419 |
|
420 Reviewed by Kenneth Rohde Christiansen. |
|
421 |
|
422 [Qt] Add DRT support for pageProperty etc. |
|
423 |
|
424 https://bugs.webkit.org/show_bug.cgi?id=41584 |
|
425 |
|
426 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
427 (DumpRenderTreeSupportQt::isPageBoxVisible): |
|
428 (DumpRenderTreeSupportQt::pageSizeAndMarginsInPixels): |
|
429 (DumpRenderTreeSupportQt::pageProperty): |
|
430 (DumpRenderTreeSupportQt::addUserStyleSheet): |
|
431 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
432 |
|
433 2010-07-08 Sam Weinig <sam@webkit.org> |
|
434 |
|
435 Reviewed by Anders Carlsson. |
|
436 |
|
437 Patch for https://bugs.webkit.org/show_bug.cgi?id=41826 |
|
438 Convert BackForwardList to an abstract base class and add BackForwardListImpl |
|
439 as the concrete implementation of it. |
|
440 |
|
441 * Api/qwebhistory.cpp: |
|
442 (QWebHistory::clear): |
|
443 (QWebHistory::back): |
|
444 (QWebHistory::forward): |
|
445 (QWebHistory::goToItem): |
|
446 (operator>>): |
|
447 (QWebHistoryPrivate::page): |
|
448 |
|
449 2010-07-08 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
450 |
|
451 Reviewed by Simon Hausmann. |
|
452 |
|
453 Remove unused WEBKIT_VERSION define from qwebpage.cpp |
|
454 |
|
455 We now use qWebKitVersion() |
|
456 |
|
457 * Api/qwebpage.cpp: |
|
458 |
|
459 2010-07-07 Sam Weinig <sam@webkit.org> |
|
460 |
|
461 Reviewed by Anders Carlsson. |
|
462 |
|
463 Patch for https://bugs.webkit.org/show_bug.cgi?id=41772 |
|
464 Add basic piping for BackForwardControllerClient. |
|
465 |
|
466 * Api/qwebpage.cpp: |
|
467 (QWebPagePrivate::QWebPagePrivate): |
|
468 |
|
469 2010-07-07 Marc Mutz <marc.mutz@kdab.com> |
|
470 |
|
471 Reviewed by Adam Barth. |
|
472 |
|
473 [Qt] QWebSettings: Don't leak native pixmaps |
|
474 |
|
475 When Q_GLOBAL_STATIC gets around to deleting the QHash with the |
|
476 pixmaps in, the QApplication destructor has already been |
|
477 completed. This makes it impossible for ~QPixmap to return the |
|
478 native pixmap to the OS, thus leaking them. |
|
479 |
|
480 This patch adds a post routine (executed as part of ~QApplication) |
|
481 that clears the hash so Q_GLOBAL_STATIC's destruction doesn't have |
|
482 to execute ~QPixmap's anymore. |
|
483 |
|
484 https://bugs.webkit.org/show_bug.cgi?id=41657 |
|
485 |
|
486 * Api/qwebsettings.cpp: |
|
487 (earlyClearGraphics): New. Clears the pixmap hash. |
|
488 (graphics): add earlyClearGraphics as a qAddPostRoutine() |
|
489 |
|
490 2010-07-06 Csaba Osztrogonác <ossy@webkit.org> |
|
491 |
|
492 Rubber-stamped by Kenneth Rohde Christiansen. |
|
493 |
|
494 Client errors should set "WebKitErrorDomain" domain instead of "WebKit" to match Mac. |
|
495 |
|
496 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
497 (WebCore::FrameLoaderClientQt::blockedError): |
|
498 (WebCore::FrameLoaderClientQt::cannotShowURLError): |
|
499 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError): |
|
500 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError): |
|
501 |
|
502 2010-07-06 Darin Adler <darin@apple.com> |
|
503 |
|
504 Fix crash caused by my fix to the Qt build. |
|
505 |
|
506 * WebCoreSupport/InspectorClientQt.cpp: |
|
507 (WebCore::InspectorFrontendClientQt::closeWindow): Release pointer into |
|
508 a local OwnPtr instead of calling clear. Another fix, probably better, |
|
509 would be to change OwnPtr::clear to zero out the pointer before deleting, |
|
510 but that affects many more call sites, so I will do that separately. |
|
511 |
|
512 2010-07-06 Darin Adler <darin@apple.com> |
|
513 |
|
514 Fix Qt build. |
|
515 |
|
516 * WebCoreSupport/InspectorClientQt.cpp: |
|
517 (WebCore::InspectorFrontendClientQt::closeWindow): Call clear instead of |
|
518 calling delete on the result of leakPtr. |
|
519 |
|
520 2010-06-19 Ilya Tikhonovsky <loislo@chromium.org> |
|
521 |
|
522 Reviewed by Yury Semikhatsky. |
|
523 |
|
524 WebInspector: js function name was fixed. |
|
525 dispatchMessageToFrontend -> dispatchMessageFromBackend. |
|
526 https://bugs.webkit.org/show_bug.cgi?id=40675 |
|
527 |
|
528 * WebCoreSupport/InspectorClientQt.cpp: |
|
529 (WebCore::InspectorClientQt::sendMessageToFrontend): |
|
530 |
|
531 2010-07-03 Robert Hogan <robert@webkit.org> |
|
532 |
|
533 Reviewed by Kenneth Rohde Christiansen. |
|
534 |
|
535 [Qt] Return usable property names from DRT's computedStyleIncludingVisitedInfo() |
|
536 |
|
537 Object property names such as 'background-color' need to be returned in camel |
|
538 case, i.e. backgroundColor so that JS can reference them. Add support for this |
|
539 to DumpRenderTreeSupportQt. |
|
540 |
|
541 https://bugs.webkit.org/show_bug.cgi?id=40445 |
|
542 |
|
543 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
544 (convertToPropertyName): |
|
545 (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo): |
|
546 |
|
547 2010-07-01 Robert Hogan <robert@webkit.org> |
|
548 |
|
549 Reviewed by Kenneth Rohde Christiansen. |
|
550 |
|
551 [Qt] dump frames in ascending alphabetical order of title |
|
552 |
|
553 https://bugs.webkit.org/show_bug.cgi?id=41261 |
|
554 |
|
555 Unskip: |
|
556 http/tests/navigation/metaredirect-frames.html |
|
557 http/tests/navigation/redirect302-frames.html |
|
558 http/tests/navigation/redirect302-subframeload.html |
|
559 http/tests/navigation/timerredirect-frames.html |
|
560 |
|
561 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
562 (DumpRenderTreeSupportQt::getChildHistoryItems): |
|
563 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
564 |
|
565 2010-07-01 Bea Lam <bea.lam@nokia.com> |
|
566 |
|
567 Reviewed by Simon Hausmann. |
|
568 |
|
569 [Qt] Doc improvements for QDeclarativeWebView |
|
570 |
|
571 * declarative/qdeclarativewebview.cpp: |
|
572 |
|
573 2010-07-01 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
574 |
|
575 Reviewed by Kenneth Rohde Christiansen. |
|
576 |
|
577 [Qt] Create QComboBoxes when clicked and destroy on hide. |
|
578 https://bugs.webkit.org/show_bug.cgi?id=41451 |
|
579 |
|
580 Currently a QComboBox is created for each RenderMenuList and |
|
581 it gets destroyed either when the RenderMenuList or the |
|
582 QWebView (its Qt parent) is destroyed. This cause a crash |
|
583 when the QWebView is destroyed before the render tree (which |
|
584 is kept in cache). |
|
585 |
|
586 This patch aim to destroy the QComboBox as soon as its popup |
|
587 gets hidden, and likewise, create it only when the popup is |
|
588 requested to be shown. |
|
589 It also removes the unneeded reference to the QGraphicsProxyWidget, |
|
590 destroying the QComboBox automatically destroys its bound |
|
591 proxywidget. |
|
592 |
|
593 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
594 (WebCore::QtFallbackWebPopupCombo::hidePopup): |
|
595 (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): |
|
596 (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup): |
|
597 (WebCore::QtFallbackWebPopup::show): |
|
598 (WebCore::QtFallbackWebPopup::hide): |
|
599 (WebCore::QtFallbackWebPopup::destroyPopup): |
|
600 (WebCore::QtFallbackWebPopup::populate): |
|
601 * WebCoreSupport/QtFallbackWebPopup.h: |
|
602 |
|
603 2010-07-01 Satish Sampath <satish@chromium.org> |
|
604 |
|
605 Reviewed by Kent Tamura. |
|
606 |
|
607 Rendering the speech button in input elements. |
|
608 https://bugs.webkit.org/show_bug.cgi?id=40984 |
|
609 |
|
610 * Api/qwebsettings.cpp: |
|
611 (graphics): |
|
612 * Api/qwebsettings.h: |
|
613 |
|
614 2010-06-30 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
615 |
|
616 Reviewed by Kenneth Rohde Christiansen. |
|
617 |
|
618 [Qt] Make sure we catch closed QComboBox popups. |
|
619 https://bugs.webkit.org/show_bug.cgi?id=39019 |
|
620 |
|
621 The way it works currently is using the QComboBox::show/hidePopup |
|
622 virtual method to catch popup requests in the middle. There is |
|
623 some cases however that the popup widget gets closed without |
|
624 going through the hidePopup method. |
|
625 |
|
626 This patch adds an event filter to the popup's view to know when |
|
627 it gets closed and calls hidePopup to call our handling code. |
|
628 This may get hidePopup called twice but this shouldn't have any |
|
629 effect. |
|
630 |
|
631 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
632 (WebCore::QtFallbackWebPopupCombo::QtFallbackWebPopupCombo): |
|
633 (WebCore::QtFallbackWebPopupCombo::eventFilter): |
|
634 * WebCoreSupport/QtFallbackWebPopup.h: |
|
635 |
|
636 2010-06-30 Simon Hausmann <simon.hausmann@nokia.com> |
|
637 |
|
638 Unreviewed Symbian build fix. |
|
639 |
|
640 [Qt] Update the def files to link DumpRenderTree. |
|
641 |
|
642 * symbian/eabi/QtWebKitu.def: |
|
643 |
|
644 2010-06-30 Samuel Nevala <samuel.nevala@digia.com> |
|
645 |
|
646 Reviewed by Simon Hausmann. |
|
647 |
|
648 [Qt] Auto test wont compile from \3rdparty\webkit\WebKit\qt\tests |
|
649 https://bugs.webkit.org/show_bug.cgi?id=38720 |
|
650 |
|
651 Load qttest_p4.prf under QTDIR_build. |
|
652 |
|
653 * tests/tests.pri: |
|
654 |
|
655 2010-06-29 Robert Hogan <robert@webkit.org> |
|
656 |
|
657 Reviewed by Kenneth Rohde Christiansen. |
|
658 |
|
659 [Qt] support dumpResourceResponseMIMETypes |
|
660 https://bugs.webkit.org/show_bug.cgi?id=41260 |
|
661 |
|
662 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
663 (DumpRenderTreeSupportQt::dumpResourceResponseMIMETypes): |
|
664 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
665 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
666 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): |
|
667 * WebCoreSupport/FrameLoaderClientQt.h: |
|
668 |
|
669 2010-06-28 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
670 |
|
671 Unreviewed Symbian build fix. |
|
672 |
|
673 [Qt] Update the def file after r61879. |
|
674 |
|
675 * symbian/eabi/QtWebKitu.def: |
|
676 |
|
677 2010-06-28 Andreas Kling <andreas.kling@nokia.com> |
|
678 |
|
679 Reviewed by Simon Hausmann. |
|
680 |
|
681 [Qt] QGraphicsWebView crash when calling setScale() before setUrl() |
|
682 https://bugs.webkit.org/show_bug.cgi?id=40000 |
|
683 |
|
684 Check 'page' before dereference in _q_scaleChanged() |
|
685 Autotest included. |
|
686 |
|
687 * Api/qgraphicswebview.cpp: |
|
688 (QGraphicsWebViewPrivate::_q_scaleChanged): |
|
689 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
690 (tst_QGraphicsWebView::crashOnSetScaleBeforeSetUrl): |
|
691 |
|
692 2010-06-26 Simon Hausmann <hausmann@webkit.org> |
|
693 |
|
694 [Qt] Prospective build fix for MSVC |
|
695 |
|
696 In order for the forward declaration of QWebScriptWorldPrivate |
|
697 to work with QExplicitlySharedDataPointer, then copy constructor |
|
698 and assignment operators must not be compiler generated, to |
|
699 avoid them ending up in places where the private class is not |
|
700 declared. |
|
701 |
|
702 * Api/qwebscriptworld.cpp: |
|
703 (QWebScriptWorld::QWebScriptWorld): |
|
704 (QWebScriptWorld::operator=): |
|
705 * Api/qwebscriptworld.h: |
|
706 |
|
707 2010-06-26 Robert Hogan <robert@webkit.org> |
|
708 |
|
709 Reviewed by Kenneth Rohde Christiansen. |
|
710 |
|
711 [Qt] DRT Support for setCustomPolicyDelegate |
|
712 |
|
713 https://bugs.webkit.org/show_bug.cgi?id=39564 |
|
714 |
|
715 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
716 (DumpRenderTreeSupportQt::setCustomPolicyDelegate): |
|
717 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
718 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
719 (drtDescriptionSuitableForTestResult): |
|
720 (WebCore::navigationTypeToString): |
|
721 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
722 * WebCoreSupport/FrameLoaderClientQt.h: |
|
723 |
|
724 2010-06-25 Luiz Agostini <luiz.agostini@openbossa.org> |
|
725 |
|
726 Reviewed by Kenneth Rohde Christiansen. |
|
727 |
|
728 [Qt] QtWebKit crashes if <select>'s render changes in its onchange event |
|
729 https://bugs.webkit.org/show_bug.cgi?id=41164 |
|
730 |
|
731 QtWebKit crashes if <select>'s renderer changes in its onchange event. |
|
732 |
|
733 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
734 (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup): |
|
735 |
|
736 2010-06-25 Robert Hogan <robert@webkit.org> |
|
737 |
|
738 Reviewed by Simon Hausmann. |
|
739 |
|
740 [Qt] Support evaluateScriptInIsolatedWorld() |
|
741 |
|
742 https://bugs.webkit.org/show_bug.cgi?id=40079 |
|
743 |
|
744 Remove evaluateScriptInIsolatedWorld() from QtWebKit API. |
|
745 Remove QWebScriptWorld from exported headers. |
|
746 Confine support to DumpRenderTreeSupportQt so that the tests can pass. |
|
747 |
|
748 * Api/headers.pri: |
|
749 * Api/qwebframe.cpp: |
|
750 * Api/qwebframe.h: |
|
751 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
752 (DumpRenderTreeSupportQt::clearScriptWorlds): |
|
753 (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld): |
|
754 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
755 |
|
756 2010-06-24 Simon Hausmann <simon.hausmann@nokia.com> |
|
757 |
|
758 Unreviewed Symbian build fix. |
|
759 |
|
760 The QML WebKit integration needs to be part of QtWebKit.sis |
|
761 |
|
762 * declarative/declarative.pro: Removed non-working deployment. |
|
763 |
|
764 2010-06-23 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
765 |
|
766 Unreviewed, Symbian build fix. |
|
767 |
|
768 [Qt] Update the def file after r61478. |
|
769 |
|
770 * symbian/eabi/QtWebKitu.def: |
|
771 |
|
772 2010-06-23 David Boddie <dboddie@trolltech.com> |
|
773 |
|
774 Reviewed by Simon Hausmann. |
|
775 |
|
776 [Qt] Doc: Fixed documentation errors. |
|
777 |
|
778 * docs/qtwebkit-bridge.qdoc: |
|
779 |
|
780 2010-06-23 Alessandro Portale <alessandro.portale@nokia.com> |
|
781 |
|
782 Reviewed by Simon Hausmann. |
|
783 |
|
784 [Qt] Provide the Webkit Qml plugin with a UID3 on Symbian |
|
785 |
|
786 ...otherwise we cannot Symbian sign it. |
|
787 |
|
788 * declarative/declarative.pro: |
|
789 |
|
790 2010-06-23 Simon Hausmann <simon.hausmann@nokia.com> |
|
791 |
|
792 Unreviewed Qt package build fix. |
|
793 |
|
794 When building without build-webkit, set OUTPUT_DIR if necessary, like |
|
795 in the other .pro files. |
|
796 |
|
797 * declarative/declarative.pro: |
|
798 |
|
799 2010-06-22 Tasuku Suzuki <tasuku.suzuki@nokia.com> |
|
800 |
|
801 Reviewed by Simon Hausmann. |
|
802 |
|
803 [Qt] Fix compilation with QT_NO_COMBOBOX. |
|
804 |
|
805 * WebCoreSupport/ChromeClientQt.cpp: |
|
806 (WebCore::ChromeClientQt::createSelectPopup): |
|
807 |
|
808 2010-06-21 Robert Hogan <robert@webkit.org> |
|
809 |
|
810 [Qt] Build fix for Qt on Windows MSVC2008 |
|
811 |
|
812 Unreviewed, build fix. |
|
813 |
|
814 Fix by Jocelyn Turcotte. |
|
815 |
|
816 * Api/qwebframe.cpp: |
|
817 |
|
818 2010-06-21 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
819 |
|
820 Reviewed by nobody, build fix. |
|
821 |
|
822 [Qt] Fix MSVC build. |
|
823 |
|
824 The max macro was replacing the max function used in StringImpl.h |
|
825 when compiling moc_NotificationPresenterClientQt.cpp. |
|
826 |
|
827 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
828 |
|
829 2010-06-21 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
830 |
|
831 Unreviewed, Symbian build fix. |
|
832 |
|
833 [Qt] Update the def file with recent new exports. |
|
834 |
|
835 * symbian/eabi/QtWebKitu.def: |
|
836 |
|
837 2010-06-21 Simon Hausmann <simon.hausmann@nokia.com> |
|
838 |
|
839 Unreviewed build fix. |
|
840 |
|
841 [Qt] Fix package builds |
|
842 |
|
843 Don't use rpath unless we're building inside the trunk. |
|
844 |
|
845 * declarative/declarative.pro: |
|
846 |
|
847 2010-06-20 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
848 |
|
849 Reviewed by Simon Hausmann. |
|
850 |
|
851 The QWebHistory regression fix. |
|
852 |
|
853 After change r51629 and r61207 QWebHistory's function back(), |
|
854 forward(), goToItem() got broken. |
|
855 |
|
856 Use page->goToItem() instead of direct actions on the BackForwardList. |
|
857 |
|
858 [Qt] REGRESSION(r61207): qwebhistory unit test hangs |
|
859 https://bugs.webkit.org/show_bug.cgi?id=40672 |
|
860 |
|
861 * Api/qwebhistory.cpp: |
|
862 (QWebHistory::back): |
|
863 (QWebHistory::forward): |
|
864 (QWebHistory::goToItem): |
|
865 * tests/qwebhistory/tst_qwebhistory.cpp: |
|
866 (tst_QWebHistory::init): |
|
867 (tst_QWebHistory::back): |
|
868 (tst_QWebHistory::forward): |
|
869 |
|
870 2010-06-19 Yael Aharon <yael.aharon@nokia.com> |
|
871 |
|
872 Reviewed by Kenneth Rohde Christiansen. |
|
873 |
|
874 [Qt] Platform plugin's multi-select does not take OptGroup into account |
|
875 https://bugs.webkit.org/show_bug.cgi?id=40718 |
|
876 |
|
877 Make sure that SelectData is valid throughout the lifetime of the dialog. |
|
878 This is mostly important for the Orbt based plugin. |
|
879 Added virtual desctructors where they were missing. |
|
880 |
|
881 * Api/qwebkitplatformplugin.h: |
|
882 (QWebSelectData::~QWebSelectData): |
|
883 (QWebSelectMethod::~QWebSelectMethod): |
|
884 (QWebNotificationData::~QWebNotificationData): |
|
885 * WebCoreSupport/QtPlatformPlugin.cpp: |
|
886 (WebCore::SelectInputMethodWrapper::SelectInputMethodWrapper): |
|
887 (WebCore::SelectInputMethodWrapper::~SelectInputMethodWrapper): |
|
888 (WebCore::SelectInputMethodWrapper::show): |
|
889 * WebCoreSupport/QtPlatformPlugin.h: |
|
890 * examples/platformplugin/WebPlugin.cpp: |
|
891 * examples/platformplugin/qwebkitplatformplugin.h: |
|
892 (QWebSelectData::~QWebSelectData): |
|
893 (QWebSelectMethod::~QWebSelectMethod): |
|
894 (QWebNotificationData::~QWebNotificationData): |
|
895 |
|
896 2010-06-19 No'am Rosenthal <noam.rosenthal@nokia.com> |
|
897 |
|
898 Reviewed by Simon Hausmann. |
|
899 |
|
900 Bridge documentation: some snippets have the wrong indentation |
|
901 https://bugs.webkit.org/show_bug.cgi?id=40717 |
|
902 |
|
903 Fixed code snippets |
|
904 |
|
905 * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp: |
|
906 (wrapInFunction): |
|
907 |
|
908 2010-06-02 Robert Hogan <robert@webkit.org> |
|
909 |
|
910 Reviewed by Adam Barth. |
|
911 |
|
912 [Qt] Support evaluateScriptInIsolatedWorld() |
|
913 |
|
914 https://bugs.webkit.org/show_bug.cgi?id=40079 |
|
915 |
|
916 * Api/headers.pri: |
|
917 * Api/qwebframe.cpp: |
|
918 (QWebFrame::evaluateScriptInIsolatedWorld): |
|
919 * Api/qwebframe.h: |
|
920 * Api/qwebscriptworld.cpp: Added. |
|
921 (QWebScriptWorld::QWebScriptWorld): |
|
922 (QWebScriptWorld::world): |
|
923 (QWebScriptWorld::~QWebScriptWorld): |
|
924 * Api/qwebscriptworld.h: Added. |
|
925 * Api/qwebscriptworld_p.h: Added. |
|
926 (QWebScriptWorldPrivate::QWebScriptWorldPrivate): |
|
927 (QWebScriptWorldPrivate::~QWebScriptWorldPrivate): |
|
928 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
929 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
930 |
|
931 2010-06-19 Olivier Goffart <olivier.goffart@nokia.com> |
|
932 |
|
933 Reviewed by Kenneth Rohde Christiansen. |
|
934 |
|
935 [Qt] Compilation in QWebPagePrivate::timerEvent with clang |
|
936 https://bugs.webkit.org/show_bug.cgi?id=40714 |
|
937 |
|
938 QObject::timerEvent is protected and cannot be accessed by QWebPagePrivate |
|
939 with clang |
|
940 |
|
941 QWebPagePrivate is a friend of QWebPage and then should have access to |
|
942 all protected members of parents of QWebPage, including QObject. |
|
943 But the clang team do not want to conform to this aspect of the specification |
|
944 because "It is either a drafting error or a horrible mistake." |
|
945 See http://llvm.org/bugs/show_bug.cgi?id=6840 |
|
946 |
|
947 This change is better because QWebPage does not reimplement the timerEvent |
|
948 (QWebPagePrivate::timerEvent is called from QWebPage::event) |
|
949 So customers that would reimplement their own timerEvent |
|
950 for their own timer now get a chance to catch them. |
|
951 |
|
952 |
|
953 * Api/qwebpage.cpp: |
|
954 (QWebPagePrivate::timerEvent): |
|
955 |
|
956 2010-06-19 Mirko Damiani <mirko@develer.com> |
|
957 |
|
958 Reviewed by Simon Hausmann. |
|
959 |
|
960 [Qt] Avoid truncation of zoom factor in QWebFrame's print function. |
|
961 https://bugs.webkit.org/show_bug.cgi?id=40662 |
|
962 |
|
963 The zoom factor is a qreal number but its value is truncated to an |
|
964 integer. So a cast to qreal is needed to avoid this issue. |
|
965 |
|
966 * Api/qwebframe.cpp: |
|
967 (QWebFrame::print): |
|
968 |
|
969 2010-06-18 Robert Hogan <robert@webkit.org> |
|
970 |
|
971 Reviewed by Kenneth Rohde Christiansen. |
|
972 |
|
973 [Qt] pass plugins/open-and-close-window-with-plugin.html on Qt |
|
974 |
|
975 Capture logDestroy messages from the test plugin. DRT's WebPage |
|
976 is already destroyed by the time they are emitted. |
|
977 |
|
978 https://bugs.webkit.org/show_bug.cgi?id=33333 |
|
979 |
|
980 Unskip: |
|
981 plugins/open-and-close-window-with-plugin.html |
|
982 plugins/geturlnotify-during-document-teardown.html |
|
983 |
|
984 * Api/qwebpage.cpp: |
|
985 (QWebPage::javaScriptConsoleMessage): |
|
986 |
|
987 2010-06-18 Alexis Menard <alexis.menard@nokia.com> |
|
988 |
|
989 Reviewed by Simon Hausmann. |
|
990 |
|
991 [Qt] Fix documentation for the declarative module import. |
|
992 |
|
993 * declarative/qdeclarativewebview.cpp: |
|
994 |
|
995 2010-06-18 Alexis Menard <alexis.menard@nokia.com> |
|
996 |
|
997 Reviewed by Simon Hausmann. |
|
998 |
|
999 Fix documentation issue on the onAlert handler. |
|
1000 Fix compilation issue with QT_NO_ACTION. |
|
1001 |
|
1002 * declarative/qdeclarativewebview.cpp: |
|
1003 * declarative/qdeclarativewebview_p.h: |
|
1004 |
|
1005 2010-06-18 Simon Hausmann <simon.hausmann@nokia.com> |
|
1006 |
|
1007 Reviewed by Antti Koivisto. |
|
1008 |
|
1009 REGRESSION(r60958) [Qt] qwebpage::inputMethods auto-test fails |
|
1010 https://bugs.webkit.org/show_bug.cgi?id=40830 |
|
1011 |
|
1012 When activating a regular input method field, always set or unset the ImhHiddenText |
|
1013 input method hint. |
|
1014 |
|
1015 * WebCoreSupport/EditorClientQt.cpp: |
|
1016 (WebCore::EditorClientQt::setInputMethodState): |
|
1017 |
|
1018 2010-06-18 Alexis Menard <alexis.menard@nokia.com> |
|
1019 |
|
1020 Reviewed by Simon Hausmann. |
|
1021 |
|
1022 [Qt] Change the target path to QtWebKit. |
|
1023 |
|
1024 * declarative/declarative.pro: |
|
1025 |
|
1026 2010-06-15 Dumitru Daniliuc <dumi@chromium.org> |
|
1027 |
|
1028 Reviewed by Adam Barth. |
|
1029 |
|
1030 Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase. |
|
1031 https://bugs.webkit.org/show_bug.cgi?id=39041 |
|
1032 |
|
1033 * Api/qwebsettings.cpp: |
|
1034 (QWebSettingsPrivate::apply): |
|
1035 |
|
1036 2010-06-17 Robert Hogan <robert@webkit.org> |
|
1037 |
|
1038 [Qt] Build fix |
|
1039 |
|
1040 Unreviewed. |
|
1041 |
|
1042 Remove includes in qdeclarativewebview*.* that rely on an installation |
|
1043 of QtWebKit. |
|
1044 |
|
1045 * declarative/qdeclarativewebview.cpp: |
|
1046 * declarative/qdeclarativewebview_p.h: |
|
1047 |
|
1048 2010-06-17 Robert Hogan <robert@webkit.org> |
|
1049 |
|
1050 Unreviewed, rolling out r61346. |
|
1051 http://trac.webkit.org/changeset/61346 |
|
1052 https://bugs.webkit.org/show_bug.cgi?id=33333 |
|
1053 |
|
1054 Broke inspector tests on Qt |
|
1055 |
|
1056 * Api/qwebpage.cpp: |
|
1057 (QWebPage::javaScriptConsoleMessage): |
|
1058 |
|
1059 2010-06-17 Robert Hogan <robert@webkit.org> |
|
1060 |
|
1061 Reviewed by Simon Hausmann. |
|
1062 |
|
1063 [Qt] pass plugins/open-and-close-window-with-plugin.html on Qt |
|
1064 |
|
1065 Capture logDestroy messages from the test plugin. DRT's WebPage |
|
1066 is already destroyed by the time they are emitted. |
|
1067 |
|
1068 https://bugs.webkit.org/show_bug.cgi?id=33333 |
|
1069 |
|
1070 Unskip: |
|
1071 plugins/open-and-close-window-with-plugin.html |
|
1072 plugins/geturlnotify-during-document-teardown.html |
|
1073 |
|
1074 * Api/qwebpage.cpp: |
|
1075 (QWebPage::javaScriptConsoleMessage): |
|
1076 |
|
1077 2010-06-17 Jesus Sanchez-Palencia <jesus@webkit.org>, Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
1078 |
|
1079 Reviewed by Simon Hausmann. |
|
1080 |
|
1081 [Qt] QtWebKit does not support viewport meta tag |
|
1082 https://bugs.webkit.org/show_bug.cgi?id=39902 |
|
1083 |
|
1084 Add viewport meta tag support to QtWebKit API layer. |
|
1085 |
|
1086 This implements didReceiveViewportArguments in our ChromeClientQt |
|
1087 which is hooked up with QWebPage::viewportChangeRequested(). |
|
1088 This signal does not affect the current default behavior. |
|
1089 The documentation of the signal explains how to make use of this new feature. |
|
1090 |
|
1091 * Api/qwebframe_p.h: |
|
1092 (QWebFramePrivate::QWebFramePrivate): |
|
1093 Store information about whether the page has been laid out or not. |
|
1094 * Api/qwebpage.cpp: |
|
1095 (QWebPage::viewportChangeRequested): |
|
1096 * Api/qwebpage_p.h: |
|
1097 Added class QtViewportHintsPrivate. |
|
1098 * Api/qwebpage.h: |
|
1099 (QWebPage::setPreferredContentsSize): |
|
1100 Improved documentation and now only layout if the page had already |
|
1101 passed layout phase. |
|
1102 Added class QWebPage::ViewportHints. |
|
1103 * WebCoreSupport/ChromeClientQt.cpp: |
|
1104 (WebCore::ChromeClientQt::windowRect): |
|
1105 Modified to work as intended by the DOM, for both QWebView |
|
1106 and QGraphicsWebView. |
|
1107 (WebCore::ChromeClientQt::didReceiveViewportArguments): |
|
1108 Emits the signal QWebPage::viewportChangeRequested. |
|
1109 * WebCoreSupport/ChromeClientQt.h: |
|
1110 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
1111 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad): |
|
1112 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout): |
|
1113 Update information about whether the page has been laid out or not. |
|
1114 If the page has been laid out we ignore any further viewport meta data. |
|
1115 * WebCoreSupport/PageClientQt.cpp: |
|
1116 (WebCore::PageClientQWidget::windowRect): |
|
1117 (WebCore::PageClientQGraphicsWidget::windowRect): |
|
1118 (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect): |
|
1119 * WebCoreSupport/PageClientQt.h: |
|
1120 The PageClient is now responsible for providing the right window rect. |
|
1121 |
|
1122 2010-06-17 Alexis Menard <alexis.menard@nokia.com> |
|
1123 |
|
1124 Reviewed by Kenneth Rohde Christiansen. |
|
1125 |
|
1126 [Qt] Upstream the WebKit QML integration plugin |
|
1127 https://bugs.webkit.org/show_bug.cgi?id=40050 |
|
1128 |
|
1129 Add to the Qt port the QML WebKit integration plugin. |
|
1130 QDeclarativeWebView is creating the item and expose |
|
1131 properties. The C++ API is not public, only the |
|
1132 properties are. |
|
1133 |
|
1134 * declarative/declarative.pro: Added. |
|
1135 * declarative/plugin.cpp: Added. |
|
1136 (WebKitQmlPlugin::registerTypes): |
|
1137 * declarative/qdeclarativewebview.cpp: Added. |
|
1138 (QDeclarativeWebViewPrivate::QDeclarativeWebViewPrivate): |
|
1139 (QDeclarativeWebViewPrivate::): |
|
1140 (QDeclarativeWebViewPrivate::windowObjectsAppend): |
|
1141 (GraphicsWebView::GraphicsWebView): |
|
1142 (GraphicsWebView::mousePressEvent): |
|
1143 (GraphicsWebView::mouseReleaseEvent): |
|
1144 (GraphicsWebView::mouseDoubleClickEvent): |
|
1145 (GraphicsWebView::timerEvent): |
|
1146 (GraphicsWebView::mouseMoveEvent): |
|
1147 (QDeclarativeWebView::QDeclarativeWebView): |
|
1148 (QDeclarativeWebView::~QDeclarativeWebView): |
|
1149 (QDeclarativeWebView::init): |
|
1150 (QDeclarativeWebView::componentComplete): |
|
1151 (QDeclarativeWebView::status): |
|
1152 (QDeclarativeWebView::progress): |
|
1153 (QDeclarativeWebView::doLoadStarted): |
|
1154 (QDeclarativeWebView::doLoadProgress): |
|
1155 (QDeclarativeWebView::pageUrlChanged): |
|
1156 (QDeclarativeWebView::doLoadFinished): |
|
1157 (QDeclarativeWebView::url): |
|
1158 (QDeclarativeWebView::setUrl): |
|
1159 (QDeclarativeWebView::preferredWidth): |
|
1160 (QDeclarativeWebView::setPreferredWidth): |
|
1161 (QDeclarativeWebView::preferredHeight): |
|
1162 (QDeclarativeWebView::setPreferredHeight): |
|
1163 (QDeclarativeWebView::evaluateJavaScript): |
|
1164 (QDeclarativeWebView::updateDeclarativeWebViewSize): |
|
1165 (QDeclarativeWebView::initialLayout): |
|
1166 (QDeclarativeWebView::updateContentsSize): |
|
1167 (QDeclarativeWebView::geometryChanged): |
|
1168 (QDeclarativeWebView::javaScriptWindowObjects): |
|
1169 (QDeclarativeWebView::qmlAttachedProperties): |
|
1170 (QDeclarativeWebViewPrivate::updateWindowObjects): |
|
1171 (QDeclarativeWebView::renderingEnabled): |
|
1172 (QDeclarativeWebView::setRenderingEnabled): |
|
1173 (QDeclarativeWebView::heuristicZoom): |
|
1174 (QDeclarativeWebView::pressGrabTime): |
|
1175 (QDeclarativeWebView::setPressGrabTime): |
|
1176 (QDeclarativeWebView::backAction): |
|
1177 (QDeclarativeWebView::forwardAction): |
|
1178 (QDeclarativeWebView::reloadAction): |
|
1179 (QDeclarativeWebView::stopAction): |
|
1180 (QDeclarativeWebView::title): |
|
1181 (QDeclarativeWebView::icon): |
|
1182 (QDeclarativeWebView::setStatusText): |
|
1183 (QDeclarativeWebView::windowObjectCleared): |
|
1184 (QDeclarativeWebView::statusText): |
|
1185 (QDeclarativeWebView::page): |
|
1186 (QDeclarativeWebView::settingsObject): |
|
1187 (QDeclarativeWebView::setPage): |
|
1188 (QDeclarativeWebView::load): |
|
1189 (QDeclarativeWebView::html): |
|
1190 (QDeclarativeWebView::setHtml): |
|
1191 (QDeclarativeWebView::setContent): |
|
1192 (QDeclarativeWebView::history): |
|
1193 (QDeclarativeWebView::settings): |
|
1194 (QDeclarativeWebView::createWindow): |
|
1195 (QDeclarativeWebView::newWindowComponent): |
|
1196 (QDeclarativeWebView::setNewWindowComponent): |
|
1197 (QDeclarativeWebView::newWindowParent): |
|
1198 (QDeclarativeWebView::setNewWindowParent): |
|
1199 (QDeclarativeWebView::contentsSize): |
|
1200 (QDeclarativeWebView::contentsScale): |
|
1201 (QDeclarativeWebView::setContentsScale): |
|
1202 (QDeclarativeWebView::elementAreaAt): |
|
1203 (QDeclarativeWebPage::QDeclarativeWebPage): |
|
1204 (QDeclarativeWebPage::~QDeclarativeWebPage): |
|
1205 (QDeclarativeWebPage::chooseFile): |
|
1206 (QDeclarativeWebPage::javaScriptAlert): |
|
1207 (QDeclarativeWebPage::javaScriptConfirm): |
|
1208 (QDeclarativeWebPage::javaScriptPrompt): |
|
1209 (QDeclarativeWebPage::viewItem): |
|
1210 (QDeclarativeWebPage::createWindow): |
|
1211 * declarative/qdeclarativewebview_p.h: Added. |
|
1212 (QDeclarativeWebView::): |
|
1213 (QDeclarativeWebView::isComponentCompletePublic): |
|
1214 (QDeclarativeWebViewAttached::QDeclarativeWebViewAttached): |
|
1215 (QDeclarativeWebViewAttached::windowObjectName): |
|
1216 (QDeclarativeWebViewAttached::setWindowObjectName): |
|
1217 (QDeclarativeWebSettings::QDeclarativeWebSettings): |
|
1218 (QDeclarativeWebSettings::standardFontFamily): |
|
1219 (QDeclarativeWebSettings::setStandardFontFamily): |
|
1220 (QDeclarativeWebSettings::fixedFontFamily): |
|
1221 (QDeclarativeWebSettings::setFixedFontFamily): |
|
1222 (QDeclarativeWebSettings::serifFontFamily): |
|
1223 (QDeclarativeWebSettings::setSerifFontFamily): |
|
1224 (QDeclarativeWebSettings::sansSerifFontFamily): |
|
1225 (QDeclarativeWebSettings::setSansSerifFontFamily): |
|
1226 (QDeclarativeWebSettings::cursiveFontFamily): |
|
1227 (QDeclarativeWebSettings::setCursiveFontFamily): |
|
1228 (QDeclarativeWebSettings::fantasyFontFamily): |
|
1229 (QDeclarativeWebSettings::setFantasyFontFamily): |
|
1230 (QDeclarativeWebSettings::minimumFontSize): |
|
1231 (QDeclarativeWebSettings::setMinimumFontSize): |
|
1232 (QDeclarativeWebSettings::minimumLogicalFontSize): |
|
1233 (QDeclarativeWebSettings::setMinimumLogicalFontSize): |
|
1234 (QDeclarativeWebSettings::defaultFontSize): |
|
1235 (QDeclarativeWebSettings::setDefaultFontSize): |
|
1236 (QDeclarativeWebSettings::defaultFixedFontSize): |
|
1237 (QDeclarativeWebSettings::setDefaultFixedFontSize): |
|
1238 (QDeclarativeWebSettings::autoLoadImages): |
|
1239 (QDeclarativeWebSettings::setAutoLoadImages): |
|
1240 (QDeclarativeWebSettings::javascriptEnabled): |
|
1241 (QDeclarativeWebSettings::setJavascriptEnabled): |
|
1242 (QDeclarativeWebSettings::javaEnabled): |
|
1243 (QDeclarativeWebSettings::setJavaEnabled): |
|
1244 (QDeclarativeWebSettings::pluginsEnabled): |
|
1245 (QDeclarativeWebSettings::setPluginsEnabled): |
|
1246 (QDeclarativeWebSettings::privateBrowsingEnabled): |
|
1247 (QDeclarativeWebSettings::setPrivateBrowsingEnabled): |
|
1248 (QDeclarativeWebSettings::javascriptCanOpenWindows): |
|
1249 (QDeclarativeWebSettings::setJavascriptCanOpenWindows): |
|
1250 (QDeclarativeWebSettings::javascriptCanAccessClipboard): |
|
1251 (QDeclarativeWebSettings::setJavascriptCanAccessClipboard): |
|
1252 (QDeclarativeWebSettings::developerExtrasEnabled): |
|
1253 (QDeclarativeWebSettings::setDeveloperExtrasEnabled): |
|
1254 (QDeclarativeWebSettings::linksIncludedInFocusChain): |
|
1255 (QDeclarativeWebSettings::setLinksIncludedInFocusChain): |
|
1256 (QDeclarativeWebSettings::zoomTextOnly): |
|
1257 (QDeclarativeWebSettings::setZoomTextOnly): |
|
1258 (QDeclarativeWebSettings::printElementBackgrounds): |
|
1259 (QDeclarativeWebSettings::setPrintElementBackgrounds): |
|
1260 (QDeclarativeWebSettings::offlineStorageDatabaseEnabled): |
|
1261 (QDeclarativeWebSettings::setOfflineStorageDatabaseEnabled): |
|
1262 (QDeclarativeWebSettings::offlineWebApplicationCacheEnabled): |
|
1263 (QDeclarativeWebSettings::setOfflineWebApplicationCacheEnabled): |
|
1264 (QDeclarativeWebSettings::localStorageDatabaseEnabled): |
|
1265 (QDeclarativeWebSettings::setLocalStorageDatabaseEnabled): |
|
1266 (QDeclarativeWebSettings::localContentCanAccessRemoteUrls): |
|
1267 (QDeclarativeWebSettings::setLocalContentCanAccessRemoteUrls): |
|
1268 * declarative/qmldir: Added. |
|
1269 * docs/qtwebkit.qdocconf: |
|
1270 |
|
1271 2010-06-17 Mark Brand <mabrand@mabrand.nl> |
|
1272 |
|
1273 Reviewed by Simon Hausmann. |
|
1274 |
|
1275 [Qt] use "win32-g++*" scope to match all MinGW makespecs |
|
1276 |
|
1277 The scope "win32-g++" comes from the name of the makespec. However, it |
|
1278 is frequently used to check for MinGW. This works fine as long as |
|
1279 win32-g++ is the only makespec for MinGW. Now we need the wildcard |
|
1280 to cover "win32-g++-cross" as well. |
|
1281 |
|
1282 * Api/DerivedSources.pro: |
|
1283 |
|
1284 2010-05-28 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> |
|
1285 |
|
1286 Reviewed by Simon Hausmann, Antti Koivisto |
|
1287 |
|
1288 [Qt] Add internal Qt Api to configure repaint throttling parameters. |
|
1289 https://bugs.webkit.org/show_bug.cgi?id=38401 |
|
1290 |
|
1291 * Api/qwebpage.cpp: |
|
1292 (QWebPagePrivate::dynamicPropertyChangeEvent): |
|
1293 |
|
1294 2010-06-16 Alexis Menard <alexis.menard@nokia.com> |
|
1295 |
|
1296 Reviewed by Simon Hausmann. |
|
1297 |
|
1298 [Qt] Fix tiled backing store painting when calling QGraphicsWebView::setPage() after setResizesToContents(true) |
|
1299 |
|
1300 When calling setPage() after setResizesToContents, the value of the property wasn't propagated |
|
1301 to the page client. Therefore the visible rect for the tiled backing store was incorrect. |
|
1302 |
|
1303 Simply move the variable assignment into updateResizesToContentsForPage(), which is always called. |
|
1304 |
|
1305 * Api/qgraphicswebview.cpp: |
|
1306 (QGraphicsWebViewPrivate::updateResizesToContentsForPage): |
|
1307 (QGraphicsWebView::setResizesToContents): |
|
1308 |
|
1309 2010-06-16 Simon Hausmann <simon.hausmann@nokia.com> |
|
1310 |
|
1311 Rubber-stamped by Tor Arne Vestbø. |
|
1312 |
|
1313 Swap WebGL and SiteSpecificQuirks attributes in the QWebSettings |
|
1314 enum, to allow for binary compatibility with qtwebkit-2.0, where |
|
1315 WebGL is not in the settings but SiteSpecificQuirks will be. |
|
1316 |
|
1317 * Api/qwebsettings.h: |
|
1318 |
|
1319 2010-06-15 Darin Adler <darin@apple.com> |
|
1320 |
|
1321 Fix build. |
|
1322 |
|
1323 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
1324 (DumpRenderTreeSupportQt::shouldClose): Call loader()->shouldClose(). |
|
1325 |
|
1326 2010-06-15 Yael Aharon <yael.aharon@nokia.com> |
|
1327 |
|
1328 Reviewed by Kenneth Rohde Christiansen. |
|
1329 |
|
1330 [Qt] Rename NotificatioIconWrapper to NotificationWrapper |
|
1331 https://bugs.webkit.org/show_bug.cgi?id=40571 |
|
1332 |
|
1333 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
1334 (WebCore::NotificationWrapper::NotificationWrapper): |
|
1335 (WebCore::NotificationWrapper::close): |
|
1336 (WebCore::NotificationWrapper::title): |
|
1337 (WebCore::NotificationWrapper::message): |
|
1338 (WebCore::NotificationWrapper::iconData): |
|
1339 (WebCore::NotificationWrapper::notificationClosed): |
|
1340 (WebCore::NotificationPresenterClientQt::displayNotification): |
|
1341 (WebCore::NotificationPresenterClientQt::cancel): |
|
1342 (WebCore::NotificationPresenterClientQt::notificationForWrapper): |
|
1343 * WebCoreSupport/NotificationPresenterClientQt.h: |
|
1344 (WebCore::NotificationWrapper::~NotificationWrapper): |
|
1345 |
|
1346 2010-06-15 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
1347 |
|
1348 Unreviewed, Symbian build fix. |
|
1349 |
|
1350 [Qt] Update the def file with recent new exports. |
|
1351 |
|
1352 * symbian/eabi/QtWebKitu.def: |
|
1353 |
|
1354 2010-06-15 Yael Aharon <yael.aharon@nokia.com> |
|
1355 |
|
1356 Unreviewed. |
|
1357 |
|
1358 Fix typo in reviewer name in r61187 |
|
1359 |
|
1360 2010-06-15 Yael Aharon <yael.aharon@nokia.com> |
|
1361 |
|
1362 Reviewed by Simon Fraser. |
|
1363 |
|
1364 [Qt] Build fix for Qt minimal after r61121 |
|
1365 https://bugs.webkit.org/show_bug.cgi?id=40624 |
|
1366 |
|
1367 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
1368 (WebCore::NotificationIconWrapper::NotificationIconWrapper): |
|
1369 (WebCore::NotificationIconWrapper::close): |
|
1370 (WebCore::NotificationIconWrapper::title): |
|
1371 (WebCore::NotificationIconWrapper::message): |
|
1372 (WebCore::NotificationIconWrapper::iconData): |
|
1373 (WebCore::NotificationIconWrapper::notificationClosed): |
|
1374 * WebCoreSupport/NotificationPresenterClientQt.h: |
|
1375 (WebCore::NotificationIconWrapper::~NotificationIconWrapper): |
|
1376 |
|
1377 2010-06-14 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
1378 |
|
1379 Unreviewed, Symbian build fix. |
|
1380 |
|
1381 [Qt] Update the def file with recent new exports. |
|
1382 |
|
1383 * symbian/eabi/QtWebKitu.def: |
|
1384 |
|
1385 2010-06-13 Yael Aharon <yael.aharon@nokia.com> |
|
1386 |
|
1387 Reviewed by Kenneth Rohde Christiansen. |
|
1388 |
|
1389 [Qt] Platform plugin support for Notifications UI |
|
1390 https://bugs.webkit.org/show_bug.cgi?id=40005 |
|
1391 |
|
1392 Add an interface to the platform plugin to display notifications. |
|
1393 Implemented the notification in the example platform plugin. |
|
1394 This interface is enabled by default, but could be turned off with |
|
1395 a build flag. The platform plugin should control its own lifecycle, |
|
1396 so now the close timer applies only when using the QSystemTrayIcon. |
|
1397 That's because QSystemTrayIcon does not inform its caller when it |
|
1398 is closed. |
|
1399 |
|
1400 Changed the way NotificationPresenterClientQt is deleted because it |
|
1401 is being accessed when GC is deleting the Notification objects. |
|
1402 NotificationPresenterClientQt is now detaching itself from the |
|
1403 Notifications before it is deleted. |
|
1404 |
|
1405 * Api/qwebkitplatformplugin.h: |
|
1406 (QWebNotificationPresenter::QWebNotificationPresenter): |
|
1407 (QWebNotificationPresenter::~QWebNotificationPresenter): |
|
1408 (QWebKitPlatformPlugin::): |
|
1409 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
1410 (WebCore::NotificationIconWrapper::NotificationIconWrapper): |
|
1411 (WebCore::NotificationIconWrapper::title): |
|
1412 (WebCore::NotificationIconWrapper::message): |
|
1413 (WebCore::NotificationIconWrapper::iconData): |
|
1414 (WebCore::NotificationPresenterClientQt::~NotificationPresenterClientQt): |
|
1415 (WebCore::NotificationIconWrapper::notificationClosed): |
|
1416 (WebCore::NotificationPresenterClientQt::displayNotification): |
|
1417 (WebCore::NotificationPresenterClientQt::cancel): |
|
1418 (WebCore::NotificationPresenterClientQt::notificationForWrapper): |
|
1419 (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue): |
|
1420 (WebCore::NotificationPresenterClientQt::detachNotification): |
|
1421 * WebCoreSupport/NotificationPresenterClientQt.h: |
|
1422 * WebCoreSupport/QtPlatformPlugin.cpp: |
|
1423 (WebCore::QtPlatformPlugin::createNotificationPresenter): |
|
1424 * WebCoreSupport/QtPlatformPlugin.h: |
|
1425 * examples/platformplugin/WebNotificationPresenter.cpp: Added. |
|
1426 (WebNotificationWidget::WebNotificationWidget): |
|
1427 (WebNotificationWidget::~WebNotificationWidget): |
|
1428 (WebNotificationWidget::showNotification): |
|
1429 (WebNotificationWidget::event): |
|
1430 * examples/platformplugin/WebNotificationPresenter.h: Added. |
|
1431 (WebNotificationPresenter::WebNotificationPresenter): |
|
1432 (WebNotificationPresenter::~WebNotificationPresenter): |
|
1433 (WebNotificationPresenter::showNotification): |
|
1434 * examples/platformplugin/WebPlugin.cpp: |
|
1435 (WebPlugin::supportsExtension): |
|
1436 * examples/platformplugin/WebPlugin.h: |
|
1437 (WebPlugin::createNotificationPresenter): |
|
1438 * examples/platformplugin/platformplugin.pro: |
|
1439 * examples/platformplugin/qwebkitplatformplugin.h: |
|
1440 (QWebNotificationPresenter::QWebNotificationPresenter): |
|
1441 (QWebNotificationPresenter::~QWebNotificationPresenter): |
|
1442 (QWebKitPlatformPlugin::): |
|
1443 |
|
1444 2010-06-14 Mahesh Kulkarni <mahesh.kulkarni@nokia.com> |
|
1445 |
|
1446 Reviewed by Laszlo Gombos. |
|
1447 |
|
1448 [Qt] navigator.geolocation support for Qt port |
|
1449 https://bugs.webkit.org/show_bug.cgi?id=39724 |
|
1450 |
|
1451 Implement ChromeClientQt::requestGeolocationPermissionForFrame() which delegates call to QWebPage::allowGeolocationRequest |
|
1452 Layout and unit test cases for the are also added. |
|
1453 |
|
1454 * Api/qwebpage.cpp: |
|
1455 (QWebPage::allowGeolocationRequest): |
|
1456 * Api/qwebpage.h: |
|
1457 * WebCoreSupport/ChromeClientQt.cpp: |
|
1458 (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame): |
|
1459 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
1460 (DumpRenderTreeSupportQt::setMockGeolocationPosition): |
|
1461 (DumpRenderTreeSupportQt::setMockGeolocationError): |
|
1462 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
1463 * tests/qwebpage/tst_qwebpage.cpp: |
|
1464 (JSTestPage::shouldInterruptJavaScript): |
|
1465 (JSTestPage::allowGeolocationRequest): |
|
1466 (JSTestPage::setGeolocationPermission): |
|
1467 (tst_QWebPage::geolocationRequestJS): |
|
1468 |
|
1469 2010-06-14 Ilya Tikhonovsky <loislo@chromium.org> |
|
1470 |
|
1471 Reviewed by Pavel Feldman. |
|
1472 |
|
1473 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc |
|
1474 data from inspected page to WebInspector as JSON string via http. The native |
|
1475 serialization to JSON string is supported by InspectorValue's classes. This patch |
|
1476 has the implementation of sendMessageToFrontend function. WebKit version of it still |
|
1477 uses ScriptFunctionCall and will be switched to another transport a little bit later. |
|
1478 https://bugs.webkit.org/show_bug.cgi?id=40134 |
|
1479 |
|
1480 * WebCoreSupport/InspectorClientQt.cpp: |
|
1481 (WebCore::InspectorClientQt::InspectorClientQt): |
|
1482 (WebCore::InspectorClientQt::openInspectorFrontend): |
|
1483 (WebCore::InspectorClientQt::releaseFrontendPage): |
|
1484 (WebCore::InspectorClientQt::sendMessageToFrontend): |
|
1485 * WebCoreSupport/InspectorClientQt.h: |
|
1486 |
|
1487 2010-06-13 Charles Wei <charles.wei@torchmobile.com.cn> |
|
1488 |
|
1489 Reviewed by George Staikos. |
|
1490 |
|
1491 Fix the QtWebKit which doesn't recognize the MIME type of HTML/TEXT in uppercase |
|
1492 https://bugs.webkit.org/show_bug.cgi?id=39492 |
|
1493 |
|
1494 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
1495 (WebCore::FrameLoaderClientQt::canShowMIMEType): |
|
1496 |
|
1497 2010-06-08 Robert Hogan <robert@webkit.org> |
|
1498 |
|
1499 Reviewed by Eric Seidel. |
|
1500 |
|
1501 [Qt] Add support for callShouldCloseOnWebView() to DRT |
|
1502 https://bugs.webkit.org/show_bug.cgi?id=40330 |
|
1503 |
|
1504 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
1505 (DumpRenderTreeSupportQt::shouldClose): |
|
1506 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
1507 |
|
1508 2010-06-12 Dawit Alemayehu <adawit@kde.org> |
|
1509 |
|
1510 Reviewed by Kenneth Rohde Christiansen. |
|
1511 |
|
1512 Added an attribute to enable/disable site specific quirks mode in WebKit. |
|
1513 The attribute is enabled by default. |
|
1514 |
|
1515 https://bugs.webkit.org/show_bug.cgi?id=40073 |
|
1516 |
|
1517 * Api/qwebsettings.cpp: |
|
1518 (QWebSettingsPrivate::apply): |
|
1519 (QWebSettings::QWebSettings): |
|
1520 * Api/qwebsettings.h: |
|
1521 |
|
1522 2010-06-12 Robert Hogan <robert@webkit.org> |
|
1523 |
|
1524 Reviewed by Kenneth Rohde Christiansen. |
|
1525 |
|
1526 [Qt] Fix tst_qwebframe regression from http://trac.webkit.org/changeset/61062 |
|
1527 |
|
1528 Only use cacheableBindingRootObject() if the object has QtOwnership. |
|
1529 |
|
1530 https://bugs.webkit.org/show_bug.cgi?id=40527 |
|
1531 |
|
1532 * Api/qwebframe.cpp: |
|
1533 (QWebFrame::addToJavaScriptWindowObject): |
|
1534 |
|
1535 2010-06-13 Robert Hogan <robert@webkit.org> |
|
1536 |
|
1537 Reviewed by Alexey Proskuryakov. |
|
1538 |
|
1539 FrameLoader::clear() clears JS objects that cached pages later rely on |
|
1540 |
|
1541 https://bugs.webkit.org/show_bug.cgi?id=37725 |
|
1542 https://bugs.webkit.org/show_bug.cgi?id=31626 |
|
1543 |
|
1544 Fix the following tests for Qt: |
|
1545 |
|
1546 fast/events/pageshow-pagehide-on-back-cached.html |
|
1547 fast/events/pageshow-pagehide-on-back-cached-with-frames.html |
|
1548 fast/loader/input-element-page-cache-crash.html |
|
1549 fast/dom/Window/timer-resume-on-navigation-back.html |
|
1550 loader/go-back-to-different-window-size.html |
|
1551 fast/dom/javascript-url-crash-function.html |
|
1552 fast/dom/location-new-window-no-crash.html |
|
1553 http/tests/security/javascriptURL/xss-ALLOWED-from-javascript-url-window-open.html |
|
1554 |
|
1555 which currently fail because the page's Qt-bindings runtime objects are |
|
1556 cleared when navigating away from the page containing them. |
|
1557 |
|
1558 Track Qt-bindings objects in a separate ScriptController::cacheableRootBindingObject(). |
|
1559 RuntimeObjects tracked by this root object will not get invalidated on page navigations, |
|
1560 so they will still be available when the pages containing them are retrieved from the |
|
1561 b/f cache. |
|
1562 |
|
1563 This means the Qt bindings objects will only get cleared on Frame::pageDestroyed(). |
|
1564 |
|
1565 * Api/qwebframe.cpp: |
|
1566 (QWebFrame::addToJavaScriptWindowObject): |
|
1567 |
|
1568 2010-06-12 No'am Rosenthal <noam.rosenthal@nokia.com> |
|
1569 |
|
1570 Reviewed by Kenneth Rohde Christiansen. |
|
1571 |
|
1572 [Qt] Add documentation to the QtWebkit bridge |
|
1573 https://bugs.webkit.org/show_bug.cgi?id=35861 |
|
1574 |
|
1575 The previous accepted patch was actually a faulty one; It was hard to trace since it's just a documentation |
|
1576 change. The new patch amends that, with the correct snippets and grammar fixes. |
|
1577 |
|
1578 * docs/qtwebkit-bridge.qdoc: |
|
1579 * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp: |
|
1580 (wrapInFunction): |
|
1581 |
|
1582 2010-06-12 Robert Hogan <robert@webkit.org> |
|
1583 |
|
1584 Reviewed by Kenneth Rohde Christiansen. |
|
1585 |
|
1586 [Qt] Back-forward list dumping is incorrect |
|
1587 |
|
1588 https://bugs.webkit.org/show_bug.cgi?id=36392 |
|
1589 |
|
1590 Support dumping child history items in DRT. |
|
1591 |
|
1592 Unskip: |
|
1593 |
|
1594 fast/loader/frame-src-change-added-to-history.html |
|
1595 fast/loader/frame-src-change-not-added-to-history.html |
|
1596 fast/loader/frame-location-change-not-added-to-history.html |
|
1597 |
|
1598 * Api/qwebhistory.cpp: |
|
1599 (QWebHistoryItemPrivate::core): |
|
1600 * Api/qwebhistory.h: |
|
1601 * Api/qwebhistory_p.h: |
|
1602 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
1603 (DumpRenderTreeSupportQt::isTargetItem): |
|
1604 (DumpRenderTreeSupportQt::historyItemTarget): |
|
1605 (DumpRenderTreeSupportQt::getChildHistoryItems): |
|
1606 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
1607 |
|
1608 2010-06-11 Jesus Sanchez-Palencia <jesus@webkit.org> |
|
1609 |
|
1610 Reviewed by Kenneth Rohde Christiansen. |
|
1611 |
|
1612 [Qt] Typo error in QWebPluginFactory Documentation |
|
1613 https://bugs.webkit.org/show_bug.cgi?id=40490 |
|
1614 |
|
1615 * Api/qwebpluginfactory.cpp: |
|
1616 |
|
1617 2010-06-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
1618 |
|
1619 Reviewed by nobody, build fix. |
|
1620 |
|
1621 [Qt] Second fix attempt for the build break introduced by r61002. |
|
1622 |
|
1623 * Api/qwebpage.cpp: |
|
1624 (QWebPagePrivate::QWebPagePrivate): |
|
1625 |
|
1626 2010-06-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
1627 |
|
1628 Reviewed by nobody, build fix. |
|
1629 |
|
1630 [Qt] Fix build break introduced by r61002. |
|
1631 |
|
1632 * Api/qwebpage.cpp: |
|
1633 (QWebPagePrivate::QWebPagePrivate): |
|
1634 |
|
1635 2010-05-31 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
1636 |
|
1637 Reviewed by Simon Hausmann. |
|
1638 |
|
1639 [Qt] Implement the simple text code path. |
|
1640 https://bugs.webkit.org/show_bug.cgi?id=40077 |
|
1641 |
|
1642 Remove the FONT_FAST_PATH macro and use the Qt's |
|
1643 fast text implementation instead of the one of WebKit. |
|
1644 |
|
1645 The Qt::TextBypassShaping flag is used to tell Qt to |
|
1646 only use the glyph advances. |
|
1647 |
|
1648 Qt 4.7 is needed to get this flag thus the complex path is always |
|
1649 used if QtWebKit is compiled against an earlier version. |
|
1650 |
|
1651 Contrary to the WebKit's implementation, the complex code path |
|
1652 is taken if the text is RightToLeft, justified or is formatted |
|
1653 with non-zero letter or word spacing. |
|
1654 |
|
1655 * Api/qwebpage.cpp: |
|
1656 (QWebPagePrivate::QWebPagePrivate): |
|
1657 |
|
1658 2010-06-10 Yael Aharon <yael.aharon@nokia.com> |
|
1659 |
|
1660 Reviewed by Kenneth Rohde Christiansen. |
|
1661 |
|
1662 [Qt] Support for loading notification icons |
|
1663 https://bugs.webkit.org/show_bug.cgi?id=40004 |
|
1664 |
|
1665 Take into use the icon that was loaded for the notification. |
|
1666 |
|
1667 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
1668 (WebCore::NotificationPresenterClientQt::show): |
|
1669 |
|
1670 2010-06-10 Mahesh Kulkarni <mahesh.kulkarni@nokia.com> |
|
1671 |
|
1672 Reviewed by Simon Hausmann. |
|
1673 |
|
1674 [Qt] Memory leak in qwebpage unit test cases |
|
1675 https://bugs.webkit.org/show_bug.cgi?id=40405 |
|
1676 |
|
1677 * tests/qwebpage/tst_qwebpage.cpp: |
|
1678 (tst_QWebPage::infiniteLoopJS): |
|
1679 |
|
1680 2010-06-10 Raine Makelainen <raine.makelainen@nokia.com> |
|
1681 |
|
1682 Reviewed by Kenneth Rohde Christiansen. |
|
1683 |
|
1684 Impossible to set input method hints based HTML5 input types |
|
1685 https://bugs.webkit.org/show_bug.cgi?id=40107 |
|
1686 |
|
1687 EditorClientQt to set input method hints for "number", "tel", |
|
1688 "email", and "url" HTML input elements. |
|
1689 |
|
1690 Tests for HTML input elements and input method hints added for |
|
1691 QGraphicsWebView and QWebView. |
|
1692 |
|
1693 * WebCoreSupport/EditorClientQt.cpp: |
|
1694 (WebCore::EditorClientQt::setInputMethodState): |
|
1695 * tests/qgraphicswebview/resources/input_types.html: Added. |
|
1696 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
1697 (GraphicsWebView::GraphicsWebView): |
|
1698 (GraphicsWebView::fireMouseClick): |
|
1699 (tst_QGraphicsWebView::focusInputTypes): |
|
1700 * tests/qgraphicswebview/tst_qgraphicswebview.qrc: Added. |
|
1701 * tests/qwebview/resources/input_types.html: Added. |
|
1702 * tests/qwebview/tst_qwebview.cpp: |
|
1703 (WebView::fireMouseClick): |
|
1704 (tst_QWebView::focusInputTypes): |
|
1705 * tests/qwebview/tst_qwebview.qrc: |
|
1706 |
|
1707 2010-06-10 Eric Seidel <eric@webkit.org> |
|
1708 |
|
1709 Reviewed by Adam Barth. |
|
1710 |
|
1711 Reduce FrameView.h includes to speed up build times |
|
1712 https://bugs.webkit.org/show_bug.cgi?id=40408 |
|
1713 |
|
1714 * Api/qwebframe.cpp: |
|
1715 - Include RenderLayer.h since it's used in this file. |
|
1716 |
|
1717 2010-06-10 Andy Shaw <andy.shaw@nokia.com> |
|
1718 |
|
1719 Reviewed by Simon Hausmann. |
|
1720 |
|
1721 REGRESSION: [Qt] When dragging onto a page that handles the drag in Javascript it will be a move and not a copy by default |
|
1722 https://bugs.webkit.org/show_bug.cgi?id=40401 |
|
1723 |
|
1724 The correct pattern in Qt for Dnd events is to use acceptProposedAction() instead |
|
1725 of accept(). |
|
1726 |
|
1727 * Api/qwebpage.cpp: |
|
1728 (QWebPagePrivate::dragEnterEvent): |
|
1729 (QWebPagePrivate::dragMoveEvent): |
|
1730 (QWebPagePrivate::dropEvent): |
|
1731 |
|
1732 2010-06-09 Pierre Rossi <pierre.rossi@nokia.com> |
|
1733 |
|
1734 Reviewed by Kenneth Rohde Christiansen. |
|
1735 |
|
1736 QWebPage::findText() does not clear selection when passed empty string |
|
1737 https://bugs.webkit.org/show_bug.cgi?id=31779 |
|
1738 |
|
1739 * Api/qwebpage.cpp: |
|
1740 (QWebPage::findText): |
|
1741 * tests/qwebpage/tst_qwebpage.cpp: |
|
1742 (tst_QWebPage::findText): |
|
1743 |
|
1744 2010-06-09 Anders Bakken <agbakken@gmail.com> |
|
1745 |
|
1746 Reviewed by David Levin. |
|
1747 |
|
1748 [Qt] PageClientQt.h has coding-style errors |
|
1749 https://bugs.webkit.org/show_bug.cgi?id=40257 |
|
1750 |
|
1751 * WebCoreSupport/PageClientQt.h: |
|
1752 |
|
1753 2010-06-09 Anders Bakken <agbakken@gmail.com> |
|
1754 |
|
1755 Reviewed by David Levin. |
|
1756 |
|
1757 [Qt] InspectorClientQt.cpp has coding-style errors |
|
1758 https://bugs.webkit.org/show_bug.cgi?id=40255 |
|
1759 |
|
1760 * WebCoreSupport/InspectorClientQt.cpp: |
|
1761 |
|
1762 2010-06-09 Anders Bakken <agbakken@gmail.com> |
|
1763 |
|
1764 Reviewed by David Levin. |
|
1765 |
|
1766 [Qt] FrameLoaderClientQt.h has coding-style errors |
|
1767 https://bugs.webkit.org/show_bug.cgi?id=40251 |
|
1768 |
|
1769 * WebCoreSupport/FrameLoaderClientQt.h: |
|
1770 (WebCore::FrameLoaderClientQt::dispatchWillSendSubmitEvent): |
|
1771 |
|
1772 2010-06-09 Anders Bakken <agbakken@gmail.com> |
|
1773 |
|
1774 Reviewed by Kenneth Rohde Christiansen. |
|
1775 |
|
1776 [Qt] EditorClientQt.h has coding-style errors |
|
1777 https://bugs.webkit.org/show_bug.cgi?id=40249 |
|
1778 |
|
1779 * WebCoreSupport/EditorClientQt.h: |
|
1780 |
|
1781 2010-06-09 Anders Bakken <agbakken@gmail.com> |
|
1782 |
|
1783 Reviewed by David Levin. |
|
1784 |
|
1785 [Qt] EditCommandQt.cpp/h have coding-style errors |
|
1786 https://bugs.webkit.org/show_bug.cgi?id=40248 |
|
1787 |
|
1788 * WebCoreSupport/EditCommandQt.cpp: |
|
1789 (EditCommandQt::EditCommandQt): |
|
1790 (EditCommandQt::~EditCommandQt): |
|
1791 (EditCommandQt::redo): |
|
1792 (EditCommandQt::undo): |
|
1793 * WebCoreSupport/EditCommandQt.h: |
|
1794 |
|
1795 2010-06-09 Anders Bakken <agbakken@gmail.com> |
|
1796 |
|
1797 Reviewed by David Levin. |
|
1798 |
|
1799 [Qt] DumpRenderTreeSupportQt.cpp has coding-style errors |
|
1800 https://bugs.webkit.org/show_bug.cgi?id=40247 |
|
1801 |
|
1802 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
1803 (DumpRenderTreeSupportQt::firstRectForCharacterRange): |
|
1804 |
|
1805 2010-06-09 Anders Bakken <agbakken@gmail.com> |
|
1806 |
|
1807 Reviewed by David Levin. |
|
1808 |
|
1809 [Qt] DragClientQt.cpp has coding-style errors |
|
1810 https://bugs.webkit.org/show_bug.cgi?id=40246 |
|
1811 |
|
1812 * WebCoreSupport/DragClientQt.cpp: |
|
1813 (WebCore::DragClientQt::startDrag): |
|
1814 |
|
1815 2010-06-09 Anders Bakken <agbakken@gmail.com> |
|
1816 |
|
1817 Reviewed by Laszlo Gombos. |
|
1818 |
|
1819 [Qt] ContextMenuClientQt.h has coding-style errors |
|
1820 https://bugs.webkit.org/show_bug.cgi?id=40242 |
|
1821 |
|
1822 * WebCoreSupport/ContextMenuClientQt.h: |
|
1823 |
|
1824 2010-06-09 Anders Bakken <agbakken@gmail.com> |
|
1825 |
|
1826 Reviewed by David Levin. |
|
1827 |
|
1828 [Qt] ChromeClientQt.cpp has coding-style errors |
|
1829 https://bugs.webkit.org/show_bug.cgi?id=40240 |
|
1830 |
|
1831 * WebCoreSupport/ChromeClientQt.cpp: |
|
1832 (WebCore::ChromeClientQt::pageRect): |
|
1833 (WebCore::ChromeClientQt::createWindow): |
|
1834 (WebCore::ChromeClientQt::runJavaScriptAlert): |
|
1835 (WebCore::ChromeClientQt::runJavaScriptConfirm): |
|
1836 (WebCore::ChromeClientQt::runJavaScriptPrompt): |
|
1837 (WebCore::ChromeClientQt::print): |
|
1838 (WebCore::ChromeClientQt::attachRootGraphicsLayer): |
|
1839 (WebCore::ChromeClientQt::visibleRectForTiledBackingStore): |
|
1840 |
|
1841 2010-06-09 Sheriff Bot <webkit.review.bot@gmail.com> |
|
1842 |
|
1843 Unreviewed, rolling out r60889. |
|
1844 http://trac.webkit.org/changeset/60889 |
|
1845 https://bugs.webkit.org/show_bug.cgi?id=40365 |
|
1846 |
|
1847 gtk bot has some kind of memory corruption (Requested by |
|
1848 loislo on #webkit). |
|
1849 |
|
1850 * WebCoreSupport/InspectorClientQt.cpp: |
|
1851 (WebCore::InspectorClientQt::InspectorClientQt): |
|
1852 (WebCore::InspectorClientQt::openInspectorFrontend): |
|
1853 (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt): |
|
1854 (WebCore::InspectorFrontendClientQt::closeWindow): |
|
1855 * WebCoreSupport/InspectorClientQt.h: |
|
1856 |
|
1857 2010-06-07 Ilya Tikhonovsky <loislo@chromium.org> |
|
1858 |
|
1859 Reviewed by Pavel Feldman. |
|
1860 |
|
1861 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc |
|
1862 data from inspected page to WebInspector as JSON string via http. The native |
|
1863 serialization to JSON string is supported by InspectorValue's classes. This patch |
|
1864 has the implementation of sendMessageToFrontend function. WebKit version of it still |
|
1865 uses ScriptFunctionCall and will be switched to another transport a little bit later. |
|
1866 https://bugs.webkit.org/show_bug.cgi?id=40134 |
|
1867 |
|
1868 * WebCoreSupport/InspectorClientQt.cpp: |
|
1869 (WebCore::InspectorClientQt::InspectorClientQt): |
|
1870 (WebCore::InspectorClientQt::openInspectorFrontend): |
|
1871 (WebCore::InspectorClientQt::releaseFrontendPage): |
|
1872 (WebCore::InspectorClientQt::sendMessageToFrontend): |
|
1873 * WebCoreSupport/InspectorClientQt.h: |
|
1874 |
|
1875 2010-06-08 Antonio Gomes <tonikitoo@webkit.org> |
|
1876 |
|
1877 Reviewed by Ojan Vafai and Darin Adler. |
|
1878 |
|
1879 Refactor platform dependent editing behavior code out of Settings |
|
1880 https://bugs.webkit.org/show_bug.cgi?id=39854 |
|
1881 |
|
1882 EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to |
|
1883 EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly. |
|
1884 |
|
1885 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
1886 (DumpRenderTreeSupportQt::setEditingBehavior): |
|
1887 |
|
1888 2010-06-07 Anders Bakken <agbakken@gmail.com> |
|
1889 |
|
1890 Reviewed by David Levin. |
|
1891 |
|
1892 [Qt] NotificationPresenterClientQt.cpp has coding-style errors |
|
1893 https://bugs.webkit.org/show_bug.cgi?id=40256 |
|
1894 |
|
1895 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
1896 (WebCore::NotificationPresenterClientQt::show): |
|
1897 |
|
1898 2010-06-06 Antonio Gomes <tonikitoo@webkit.org>, Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
1899 |
|
1900 Reviewed by Kenneth Christiansen, Eric Seidel. |
|
1901 |
|
1902 [Qt] Expose the editing behavior setting in DRT to test all editing code paths |
|
1903 https://bugs.webkit.org/show_bug.cgi?id=39680 |
|
1904 |
|
1905 Make setEditingBehavior() a no-operation if the editingBehavior |
|
1906 argument is not recognized to avoid using an uninitialized variable. |
|
1907 |
|
1908 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
1909 (DumpRenderTreeSupportQt::setEditingBehavior): |
|
1910 |
|
1911 2010-06-04 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
1912 |
|
1913 Symbian build fix. |
|
1914 |
|
1915 [Qt] Updated the def file with recent new exports. |
|
1916 |
|
1917 * symbian/eabi/QtWebKitu.def: |
|
1918 |
|
1919 2010-06-03 Yael Aharon <yael.aharon@nokia.com> |
|
1920 |
|
1921 Reviewed by Laszlo Gombos. |
|
1922 |
|
1923 [Qt] Don't send notifications event after the page was navigated away |
|
1924 https://bugs.webkit.org/show_bug.cgi?id=40127 |
|
1925 |
|
1926 Added a check before sending events to the notification and before logging. |
|
1927 |
|
1928 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
1929 (WebCore::NotificationPresenterClientQt::cancel): |
|
1930 (WebCore::NotificationPresenterClientQt::sendEvent): |
|
1931 |
|
1932 2010-06-02 Tasuku Suzuki <tasuku.suzuki@nokia.com> |
|
1933 |
|
1934 Reviewed by Shinichiro Hamaji. |
|
1935 |
|
1936 [Qt] Fix compilation with QT_NO_PROPERTIES |
|
1937 https://bugs.webkit.org/show_bug.cgi?id=38324 |
|
1938 |
|
1939 * Api/qwebpage.cpp: |
|
1940 (QWebPage::event): |
|
1941 * Api/qwebpage_p.h: |
|
1942 * WebCoreSupport/InspectorClientQt.cpp: |
|
1943 (WebCore::InspectorClientQt::openInspectorFrontend): |
|
1944 |
|
1945 2010-06-02 Luiz Agostini <luiz.agostini@openbossa.org> |
|
1946 |
|
1947 Reviewed by Simon Hausmann. |
|
1948 |
|
1949 [Qt] Shared platform plugin |
|
1950 https://bugs.webkit.org/show_bug.cgi?id=39968 |
|
1951 |
|
1952 Allow several instances of class QtPlatformPlugin to share the QWebKitPlatformPlugin |
|
1953 object provided by a plugin. |
|
1954 |
|
1955 Updated plugin interface version number due to ABI breaking change. |
|
1956 |
|
1957 * Api/qwebkitplatformplugin.h: |
|
1958 (QWebKitPlatformPlugin::~QWebKitPlatformPlugin): |
|
1959 * WebCoreSupport/QtPlatformPlugin.cpp: |
|
1960 (WebCore::QtPlatformPlugin::load): |
|
1961 (WebCore::QtPlatformPlugin::~QtPlatformPlugin): |
|
1962 (WebCore::QtPlatformPlugin::plugin): |
|
1963 * WebCoreSupport/QtPlatformPlugin.h: |
|
1964 * examples/platformplugin/qwebkitplatformplugin.h: |
|
1965 (QWebKitPlatformPlugin::~QWebKitPlatformPlugin): |
|
1966 |
|
1967 2010-06-02 Raine Makelainen <raine.makelainen@nokia.com> |
|
1968 |
|
1969 Reviewed by Kenneth Rohde Christiansen. |
|
1970 |
|
1971 [Qt] On Maemo6 platform auto upper case and predictive text input method hints are not disabled for password field. |
|
1972 https://bugs.webkit.org/show_bug.cgi?id=40062 |
|
1973 |
|
1974 Introducing Q_WS_MAEMO_6 for Maemo6 specific code. Enabling code that sets input |
|
1975 method hints Qt::ImhNoAutoUppercase and Qt::ImhNoPredictiveText true for Maemo6. |
|
1976 |
|
1977 * WebCoreSupport/EditorClientQt.cpp: |
|
1978 (WebCore::EditorClientQt::setInputMethodState): |
|
1979 |
|
1980 2010-06-01 Yael Aharon <yael.aharon@nokia.com> |
|
1981 |
|
1982 Reviewed by Kenneth Rohde Christiansen. |
|
1983 |
|
1984 [Qt] Fix the lifecycle of notification objects |
|
1985 https://bugs.webkit.org/show_bug.cgi?id=40003 |
|
1986 |
|
1987 Notification objects are not tightly related to the page that created them, |
|
1988 and should be decoupled from the page. |
|
1989 Create one NotificationPresenter that handles all notifications. |
|
1990 Add ref/deref to the notification objects when they are added/removed from |
|
1991 the queue of active notifications. The same technique is used for XMLHttpRequest. |
|
1992 Instead of deleting all notifications associated with a page when the page is navigated, |
|
1993 delete them on a timer, using the same timeout that QSystemTrayIcon is using. |
|
1994 Break up the show() method into smaller methods. |
|
1995 Use OwnPtr instead of raw pointer for QSystemTrayIcon. |
|
1996 Move creating the QIcon to just before showing it in the QSyetemTrayIcon. |
|
1997 |
|
1998 No new tests as this is just a refactoring. Existing notifications test cover the code. |
|
1999 |
|
2000 * Api/qwebpage.cpp: |
|
2001 (QWebPagePrivate::QWebPagePrivate): |
|
2002 (QWebPagePrivate::~QWebPagePrivate): |
|
2003 * Api/qwebpage_p.h: |
|
2004 * WebCoreSupport/ChromeClientQt.cpp: |
|
2005 (WebCore::ChromeClientQt::notificationPresenter): |
|
2006 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
2007 (DumpRenderTreeSupportQt::setNotificationsReceiver): |
|
2008 (DumpRenderTreeSupportQt::allowNotificationForOrigin): |
|
2009 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
2010 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
2011 (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld): |
|
2012 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
2013 (WebCore::NotificationPresenterClientQt::notificationPresenter): |
|
2014 (WebCore::NotificationIconWrapper::NotificationIconWrapper): |
|
2015 (WebCore::NotificationIconWrapper::~NotificationIconWrapper): |
|
2016 (WebCore::NotificationIconWrapper::close): |
|
2017 (WebCore::NotificationPresenterClientQt::NotificationPresenterClientQt): |
|
2018 (WebCore::NotificationPresenterClientQt::removeClient): |
|
2019 (WebCore::NotificationPresenterClientQt::show): |
|
2020 (WebCore::NotificationPresenterClientQt::displayNotification): |
|
2021 (WebCore::NotificationPresenterClientQt::cancel): |
|
2022 (WebCore::NotificationPresenterClientQt::notificationObjectDestroyed): |
|
2023 (WebCore::NotificationPresenterClientQt::requestPermission): |
|
2024 (WebCore::NotificationPresenterClientQt::sendEvent): |
|
2025 (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue): |
|
2026 (WebCore::NotificationPresenterClientQt::dumpReplacedIdText): |
|
2027 (WebCore::NotificationPresenterClientQt::dumpShowText): |
|
2028 * WebCoreSupport/NotificationPresenterClientQt.h: |
|
2029 (WebCore::NotificationPresenterClientQt::addClient): |
|
2030 |
|
2031 2010-06-01 Noam Rosenthal <noam.rosenthal@nokia.com> |
|
2032 |
|
2033 Reviewed by Kenneth Rohde Christiansen. |
|
2034 |
|
2035 [Qt] Add documentation to the QtWebkit bridge |
|
2036 https://bugs.webkit.org/show_bug.cgi?id=35861 |
|
2037 |
|
2038 This patch includes comprehensive qdoc documentation for the QtWebkit bridge. |
|
2039 |
|
2040 * docs/qtwebkit-bridge.qdoc: Added. |
|
2041 * docs/qtwebkit.qdoc: |
|
2042 * docs/webkitsnippets/doc_src_qtscript.qdoc: Added. |
|
2043 * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp: Added. |
|
2044 (wrapInFunction): |
|
2045 |
|
2046 2010-06-01 Raine Makelainen <raine.makelainen@nokia.com> |
|
2047 |
|
2048 Reviewed by Simon Hausmann. |
|
2049 |
|
2050 [Qt]: REGRESSION(r58703): QWebSettings::JavascriptCanAccessClipboard has wrong case in "Javascript" part. |
|
2051 https://bugs.webkit.org/show_bug.cgi?id=39878 |
|
2052 |
|
2053 QWebSettings::JavaScriptCanAccessClipboard reverted back to |
|
2054 QWebSettings::JavascriptCanAccessClipboard. QWebSettings::DOMPasteAllowed enum removed. |
|
2055 |
|
2056 Value of QWebSettings::JavascriptCanAccessClipboard to setDOMPasteAllowed and |
|
2057 setJavaScriptCanAccessClipboard of WebCore::Settings. |
|
2058 |
|
2059 * Api/qwebsettings.cpp: |
|
2060 (QWebSettingsPrivate::apply): |
|
2061 * Api/qwebsettings.h: |
|
2062 |
|
2063 2010-06-01 Simon Hausmann <simon.hausmann@nokia.com> |
|
2064 |
|
2065 Reviewed by Laszlo Gombos. |
|
2066 |
|
2067 [Qt] Rename versioning .pri file to what Qt's mkspecs/features/qt.pri expects. |
|
2068 |
|
2069 * qt_webkit_version.pri: Renamed from WebKit/qt/qtwebkit_version.pri. |
|
2070 |
|
2071 2010-05-31 Lyon Chen <liachen@rim.com> |
|
2072 |
|
2073 Reviewed by Kent Tamura. |
|
2074 |
|
2075 Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts. |
|
2076 https://bugs.webkit.org/show_bug.cgi?id=35530 |
|
2077 |
|
2078 Change enum EAlteration from { MOVE, EXTEND } to { AlterationMove, AlterationExtend } and enum EDirection { FORWARD, BACKWARD, RIGHT, LEFT} to { DirectionForward, DirectionBackward, DirectionRight, DirectionLeft } to avoid macro conflict, and also better coding style conformance. |
|
2079 |
|
2080 * WebCoreSupport/EditorClientQt.cpp: |
|
2081 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
2082 |
|
2083 2010-05-31 Oswald Buddenhagen <oswald.buddenhagen@nokia.com> |
|
2084 |
|
2085 Reviewed by Simon Hausmann. |
|
2086 |
|
2087 [Qt] Escape backslashes in the .pro files |
|
2088 |
|
2089 qmake in Qt 4.7 warns about unescaped backspaces and deprecates them. |
|
2090 |
|
2091 * Api/DerivedSources.pro: |
|
2092 * docs/docs.pri: |
|
2093 |
|
2094 2010-05-30 Lyon Chen <liachen@rim.com> |
|
2095 |
|
2096 Reviewed by Kent Tamura. |
|
2097 |
|
2098 This is a coding style cleanup before fixing to bug 35530. |
|
2099 |
|
2100 Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts. |
|
2101 https://bugs.webkit.org/show_bug.cgi?id=35530 |
|
2102 |
|
2103 * WebCoreSupport/EditorClientQt.cpp: |
|
2104 (WebCore::EditorClientQt::registerCommandForUndo): |
|
2105 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
2106 |
|
2107 2010-05-29 Dawit Alemayehu <adawit@kde.org> |
|
2108 |
|
2109 Reviewed by Kenneth Rohde Christiansen. |
|
2110 |
|
2111 Added a WebAction to stop all pending page refresh/redirect |
|
2112 requests set through the <meta http-equiv="refresh"...> tag. |
|
2113 |
|
2114 https://bugs.webkit.org/show_bug.cgi?id=29899 |
|
2115 |
|
2116 * Api/qwebpage.cpp: |
|
2117 (QWebPage::triggerAction): |
|
2118 * Api/qwebpage.h: |
|
2119 * tests/qwebpage/tst_qwebpage.cpp: |
|
2120 (tst_QWebPage::testStopScheduledPageRefresh): |
|
2121 |
|
2122 2010-05-28 Antti Koivisto <koivisto@iki.fi> |
|
2123 |
|
2124 Reviewed by Kenneth Rohde Christiansen. |
|
2125 |
|
2126 Add a missing #if ENABLE(), some null checking. |
|
2127 |
|
2128 * Api/qwebpage.cpp: |
|
2129 (QWebPagePrivate::dynamicPropertyChangeEvent): |
|
2130 |
|
2131 2010-05-28 Antti Koivisto <koivisto@iki.fi> |
|
2132 |
|
2133 Reviewed by Kenneth Rohde Christiansen. |
|
2134 |
|
2135 https://bugs.webkit.org/show_bug.cgi?id=39874 |
|
2136 [Qt] Make tiled backing store more configurable |
|
2137 |
|
2138 Make tile size, tile creation delay and tiling area dynamically configurable. |
|
2139 |
|
2140 * Api/qwebpage.cpp: |
|
2141 (QWebPagePrivate::dynamicPropertyChangeEvent): |
|
2142 |
|
2143 2010-05-28 Yael Aharon <yael.aharon@nokia.com> |
|
2144 |
|
2145 Unreviewed build fix after r60348. |
|
2146 |
|
2147 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
2148 (DumpRenderTreeSupportQt::setNotificationsReceiver): |
|
2149 |
|
2150 2010-05-28 Yael Aharon <yael.aharon@nokia.com> |
|
2151 |
|
2152 Reviewed by Laszlo Gombos. |
|
2153 |
|
2154 [Qt] Pass all web notification layout tests |
|
2155 https://bugs.webkit.org/show_bug.cgi?id=39146 |
|
2156 |
|
2157 Add support for multiple simultaneous notifications. |
|
2158 Add a private callback mechanism to the client for security checks. |
|
2159 Notifications are disabled if the client does not set the callbacks. |
|
2160 Support replaceId and cancel. |
|
2161 Send close and display events when needed. |
|
2162 |
|
2163 * Api/qwebpage.cpp: |
|
2164 (QWebPagePrivate::QWebPagePrivate): |
|
2165 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
2166 (DumpRenderTreeSupportQt::setNotificationsReceiver): |
|
2167 (DumpRenderTreeSupportQt::allowNotificationForOrigin): |
|
2168 (DumpRenderTreeSupportQt::setCheckPermissionFunction): |
|
2169 (DumpRenderTreeSupportQt::setRequestPermissionFunction): |
|
2170 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
2171 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
2172 (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld): |
|
2173 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
2174 (NotificationIconWrapper::NotificationIconWrapper): |
|
2175 (NotificationIconWrapper::~NotificationIconWrapper): |
|
2176 (NotificationPresenterClientQt::NotificationPresenterClientQt): |
|
2177 (NotificationPresenterClientQt::show): |
|
2178 (NotificationPresenterClientQt::cancel): |
|
2179 (NotificationPresenterClientQt::notificationObjectDestroyed): |
|
2180 (NotificationPresenterClientQt::requestPermission): |
|
2181 (NotificationPresenterClientQt::checkPermission): |
|
2182 (NotificationPresenterClientQt::allowNotificationForOrigin): |
|
2183 (NotificationPresenterClientQt::clearNotificationsList): |
|
2184 (NotificationPresenterClientQt::sendEvent): |
|
2185 * WebCoreSupport/NotificationPresenterClientQt.h: |
|
2186 (WebCore::NotificationPresenterClientQt::~NotificationPresenterClientQt): |
|
2187 (WebCore::NotificationPresenterClientQt::setReceiver): |
|
2188 |
|
2189 2010-05-27 Luiz Agostini <luiz.agostini@openbossa.org> |
|
2190 |
|
2191 Reviewed by Kenneth Rohde Christiansen. |
|
2192 |
|
2193 [Qt] Platform plugin example |
|
2194 https://bugs.webkit.org/show_bug.cgi?id=39489 |
|
2195 |
|
2196 Adding a Qt platform plugin example to repository. |
|
2197 |
|
2198 * examples/platformplugin/README: Added. |
|
2199 * examples/platformplugin/WebPlugin.cpp: Added. |
|
2200 (Popup::populateList): |
|
2201 (Popup::onItemSelected): |
|
2202 (WebPopup::WebPopup): |
|
2203 (WebPopup::~WebPopup): |
|
2204 (WebPopup::createSingleSelectionPopup): |
|
2205 (WebPopup::createMultipleSelectionPopup): |
|
2206 (WebPopup::createPopup): |
|
2207 (WebPopup::show): |
|
2208 (WebPopup::hide): |
|
2209 (WebPopup::popupClosed): |
|
2210 (WebPopup::itemClicked): |
|
2211 (SingleSelectionPopup::SingleSelectionPopup): |
|
2212 (MultipleItemListDelegate::MultipleItemListDelegate): |
|
2213 (MultipleItemListDelegate::paint): |
|
2214 (MultipleSelectionPopup::MultipleSelectionPopup): |
|
2215 (WebPlugin::supportsExtension): |
|
2216 * examples/platformplugin/WebPlugin.h: Added. |
|
2217 (Popup::Popup): |
|
2218 (WebPlugin::createSelectInputMethod): |
|
2219 * examples/platformplugin/platformplugin.pro: Added. |
|
2220 * examples/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h. |
|
2221 (QWebSelectData::~QWebSelectData): |
|
2222 (QWebSelectData::): |
|
2223 (QWebSelectMethod::~QWebSelectMethod): |
|
2224 (QWebKitPlatformPlugin::~QWebKitPlatformPlugin): |
|
2225 (QWebKitPlatformPlugin::): |
|
2226 |
|
2227 2010-05-25 Antonio Gomes <tonikitoo@webkit.org> |
|
2228 |
|
2229 Reviewed by Ojan Vafai. |
|
2230 |
|
2231 [Qt] Expose the editing behavior setting in DRT to test all editing code paths |
|
2232 https://bugs.webkit.org/show_bug.cgi?id=39680 |
|
2233 |
|
2234 Add support to Qt's DRT to setting the editing behavior. Patch is a follow up of |
|
2235 bug 38603, which just stubbed out the Qt bits of it. |
|
2236 |
|
2237 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Implementation of editing behavior control. |
|
2238 (DumpRenderTreeSupportQt::setEditingBehavior): |
|
2239 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
2240 |
|
2241 2010-05-24 Robert Hogan <robert@webkit.org> |
|
2242 |
|
2243 Reviewed by Laszlo Gombos. |
|
2244 |
|
2245 [Qt] DRT Support for removeOriginAccessWhitelistEntry |
|
2246 |
|
2247 Unskips http/tests/xmlhttprequest/origin-whitelisting-removal.html |
|
2248 |
|
2249 [Qt] DRT Support for removeOriginAccessWhitelistEntry |
|
2250 https://bugs.webkit.org/show_bug.cgi?id=39565 |
|
2251 |
|
2252 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
2253 (DumpRenderTreeSupportQt::removeWhiteListAccessFromOrigin): |
|
2254 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
2255 |
|
2256 2010-05-24 Darin Adler <darin@apple.com> |
|
2257 |
|
2258 Reviewed by Eric Seidel. |
|
2259 |
|
2260 Move view-related functions from Frame to FrameView |
|
2261 https://bugs.webkit.org/show_bug.cgi?id=39366 |
|
2262 |
|
2263 * Api/qwebframe.cpp: |
|
2264 (QWebFrame::setTextSizeMultiplier): Call functions on FrameView. |
|
2265 (QWebFrame::textSizeMultiplier): Ditto. |
|
2266 (QWebFrame::setZoomFactor): Ditto. |
|
2267 (QWebFrame::zoomFactor): Ditto. |
|
2268 * Api/qwebpage.cpp: |
|
2269 (QWebPage::setContentEditable): Removed call to empty function, |
|
2270 removeEditingStyleFromBodyElement. |
|
2271 |
|
2272 2010-05-23 Noam Rosenthal <noam.rosenthal@nokia.com> |
|
2273 |
|
2274 Reviewed by Kenneth Rohde Christiansen. |
|
2275 |
|
2276 [Qt] GraphicsLayer: The rocket animation doesn't scroll together with the page |
|
2277 https://bugs.webkit.org/show_bug.cgi?id=39517 |
|
2278 |
|
2279 A previous fix to this issue was overridden by the PageClientQt refactor. Reapplying. |
|
2280 |
|
2281 * WebCoreSupport/PageClientQt.cpp: |
|
2282 (WebCore::PageClientQGraphicsWidget::update): |
|
2283 |
|
2284 2010-05-23 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
2285 |
|
2286 Reviewed by Kenneth Rohde Christiansen. |
|
2287 |
|
2288 [Qt] Update the Symbian version for the user agent |
|
2289 https://bugs.webkit.org/show_bug.cgi?id=38389 |
|
2290 |
|
2291 Fixes a regression introduced by r58648. Ensure that the "Symbian" string |
|
2292 is only listed one time in the User Agent string. |
|
2293 |
|
2294 In addition make an effort to align the User Agent string to already |
|
2295 released WebKit based products for Symbian. |
|
2296 |
|
2297 * Api/qwebpage.cpp: |
|
2298 (QWebPage::userAgentForUrl): |
|
2299 |
|
2300 2010-05-21 Steve Block <steveblock@google.com> |
|
2301 |
|
2302 Reviewed by Jeremy Orlow. |
|
2303 |
|
2304 Add DeviceOrientation and DeviceOrientationClient |
|
2305 https://bugs.webkit.org/show_bug.cgi?id=39479 |
|
2306 |
|
2307 * Api/qwebpage.cpp: |
|
2308 (QWebPagePrivate::QWebPagePrivate): |
|
2309 |
|
2310 2010-05-21 Simon Hausmann <simon.hausmann@nokia.com> |
|
2311 |
|
2312 Symbian build fix. |
|
2313 |
|
2314 [Qt] Updated the wins def file with one new export. |
|
2315 |
|
2316 The DRT symbols are still missing, but I can't build DRT ;( |
|
2317 |
|
2318 * symbian/bwins/QtWebKitu.def: |
|
2319 |
|
2320 2010-05-20 Janne Koskinen <janne.p.koskinen@digia.com> |
|
2321 |
|
2322 Reviewed by Kenneth Rohde Christiansen. |
|
2323 |
|
2324 [Qt] WINSCW compile fix for qwebframe test |
|
2325 https://bugs.webkit.org/show_bug.cgi?id=38722 |
|
2326 |
|
2327 WINSCW cannot determine template type up the hierarchy |
|
2328 to common base class. |
|
2329 |
|
2330 * tests/qwebframe/tst_qwebframe.cpp: |
|
2331 |
|
2332 2010-05-20 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
2333 |
|
2334 Reviewed by Kenneth Rohde Christiansen. |
|
2335 |
|
2336 Remove unused "old style" private APIs |
|
2337 |
|
2338 These symbols were introduced after QtWebKit v4.6 |
|
2339 so no-one should be using them |
|
2340 |
|
2341 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
2342 |
|
2343 2010-05-20 Rajiv Ramanasankaran <rajiv.ramanasankaran@nokia.com> |
|
2344 |
|
2345 Reviewed by Simon Hausmann. |
|
2346 |
|
2347 [Qt] QWebPage::inputMethodQuery() returns wrong values for Qt::ImCursorPosition, Qt::ImAnchorPosition |
|
2348 https://bugs.webkit.org/show_bug.cgi?id=38779 |
|
2349 |
|
2350 The earlier implementation was written with the assumption that in this scenario the |
|
2351 anchor position always corresponds to the START index and that the current cursor position |
|
2352 always corresponds to the END index in WebKit. |
|
2353 |
|
2354 Updated the implementation of QWebPage::inputMethodQuery(Qt::ImCursorPosition) and |
|
2355 QWebPage::inputMethodQuery(Qt::ImAnchorPosition) for the case where the Editor is not in |
|
2356 composition mode. In the non-composition mode, the Anchor and the Current cursor positions |
|
2357 correspond to the Base and Extent position offsets in WebKit. |
|
2358 |
|
2359 Also added the auto-tests for the RIGHT to LEFT and LEFT to RIGHT selections. |
|
2360 |
|
2361 * Api/qwebpage.cpp: |
|
2362 (QWebPage::inputMethodQuery): Now returning correct values for Qt::ImCursorPosition and |
|
2363 Qt::ImAnchorPosition when the Editor is not in composition mode. |
|
2364 * tests/qwebpage/tst_qwebpage.cpp: |
|
2365 (tst_QWebPage::inputMethods): Added auto-tests for RIGHT to LEFT and LEFT to RIGHT selections |
|
2366 |
|
2367 2010-05-20 Luiz Agostini <luiz.agostini@openbossa.org> |
|
2368 |
|
2369 Reviewed by Kenneth Rohde Christiansen. |
|
2370 |
|
2371 [Qt] Skipping popup focus test for maemo |
|
2372 https://bugs.webkit.org/show_bug.cgi?id=39314 |
|
2373 |
|
2374 Skipping popup focus test for maemo in qwebframe auto test. |
|
2375 |
|
2376 The test method tst_QWebFrame::popupFocus() was testing popup focus AND input |
|
2377 field focus. The input field focus has been removed from the method popupFocus() |
|
2378 and a new test method named inputFieldFocus() has been added. Finally the test |
|
2379 method popupFocus() has been skipped for maemo. |
|
2380 |
|
2381 * tests/qwebframe/tst_qwebframe.cpp: |
|
2382 |
|
2383 2010-05-19 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
2384 |
|
2385 Reviewed by Kenneth Rohde Christiansen. |
|
2386 |
|
2387 Crash fix in the HistoryController. |
|
2388 |
|
2389 The problem was casued by a documented feature of the QWebFrame::setHtml(). |
|
2390 The method doesn't affect a browsing history (doesn't create a HistoryItem instance), so |
|
2391 m_currentItem and m_previousItem are not set. |
|
2392 |
|
2393 A null check was added. |
|
2394 |
|
2395 [Qt] The QWebPage crashes on history.pushState(). |
|
2396 https://bugs.webkit.org/show_bug.cgi?id=38840 |
|
2397 |
|
2398 * tests/qwebhistory/tst_qwebhistory.cpp: |
|
2399 (tst_QWebHistory::popPushState_data): |
|
2400 (tst_QWebHistory::popPushState): |
|
2401 |
|
2402 2010-05-19 Antti Koivisto <koivisto@iki.fi> |
|
2403 |
|
2404 Rubber-stamped by Kenneth Rohde Christiansen. |
|
2405 |
|
2406 [Qt] TiledBackingStore updates broken when not using resizesToContents mode |
|
2407 https://bugs.webkit.org/show_bug.cgi?id=39359 |
|
2408 |
|
2409 Put the back logic that was lost in refactoring. |
|
2410 |
|
2411 * WebCoreSupport/ChromeClientQt.cpp: |
|
2412 (WebCore::ChromeClientQt::visibleRectForTiledBackingStore): |
|
2413 * WebCoreSupport/PageClientQt.cpp: |
|
2414 (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect): |
|
2415 * WebCoreSupport/PageClientQt.h: |
|
2416 (WebCore::PageClientQWidget::viewResizesToContentsEnabled): |
|
2417 (WebCore::PageClientQGraphicsWidget::viewResizesToContentsEnabled): |
|
2418 |
|
2419 2010-05-19 Simon Hausmann <simon.hausmann@nokia.com> |
|
2420 |
|
2421 Symbian build fix. |
|
2422 |
|
2423 [Qt] Updated the def file with exports needed for DumpRenderTree. |
|
2424 |
|
2425 * symbian/eabi/QtWebKitu.def: |
|
2426 |
|
2427 2010-05-19 Denis Dzyubenko <denis.dzyubenko@nokia.com> |
|
2428 |
|
2429 Reviewed by Kenneth Rohde Christiansen. |
|
2430 |
|
2431 When creating the UA, do not sassmue the language code is a |
|
2432 two-letter iso639-1 code. |
|
2433 |
|
2434 * Api/qwebpage.cpp: |
|
2435 (QWebPage::userAgentForUrl): |
|
2436 |
|
2437 2010-05-18 Antti Koivisto <koivisto@iki.fi> |
|
2438 |
|
2439 Reviewed by Kenneth Rohde Christiansen. |
|
2440 |
|
2441 [Qt] Move visible rect calculation from QGraphicsWebViewPrivate to PageClientQGraphicsWidget |
|
2442 https://bugs.webkit.org/show_bug.cgi?id=39294 |
|
2443 |
|
2444 * Api/qgraphicswebview.cpp: |
|
2445 * WebCoreSupport/PageClientQt.cpp: |
|
2446 (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect): |
|
2447 * WebCoreSupport/PageClientQt.h: |
|
2448 |
|
2449 2010-05-18 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
2450 |
|
2451 Symbian build fix. |
|
2452 |
|
2453 [Qt] Updated the def file with new exports after r59335. |
|
2454 |
|
2455 * symbian/eabi/QtWebKitu.def: |
|
2456 |
|
2457 2010-05-18 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
2458 |
|
2459 Reviewed by Simon Hausmann. |
|
2460 |
|
2461 Fix QWebHistory serialization. |
|
2462 |
|
2463 Regression was caused by bug 33224. The streaming function |
|
2464 should generate a documentSequenceNumber for all loaded values. |
|
2465 |
|
2466 [Qt] tst_QWebHistory::serialize_2() fails |
|
2467 https://bugs.webkit.org/show_bug.cgi?id=37322 |
|
2468 |
|
2469 * Api/qwebhistory.cpp: |
|
2470 (operator>>): |
|
2471 |
|
2472 2010-05-17 Tasuku Suzuki <tasuku.suzuki@nokia.com> |
|
2473 |
|
2474 Reviewed by Kenneth Rohde Christiansen. |
|
2475 |
|
2476 [Qt] Fix compilation with QT_NO_COMBOBOX |
|
2477 https://bugs.webkit.org/show_bug.cgi?id=38324 |
|
2478 |
|
2479 * WebCoreSupport/ChromeClientQt.cpp: |
|
2480 (WebCore::ChromeClientQt::createSelectPopup): |
|
2481 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
2482 * WebCoreSupport/QtFallbackWebPopup.h: |
|
2483 |
|
2484 2010-05-17 Antti Koivisto <koivisto@iki.fi> |
|
2485 |
|
2486 Reviewed by Kenneth Rohde Christiansen. |
|
2487 |
|
2488 https://bugs.webkit.org/show_bug.cgi?id=39218 |
|
2489 [Qt] Tiled backing store tiles sometimes flicker when exiting a zoom animation |
|
2490 |
|
2491 Tiles sometimes flicker when exiting a zoom animation. This happens as a result |
|
2492 of the visible rectangle being momentarily out of sync. |
|
2493 |
|
2494 Instead of updating the visible rect by explicitly setting it, pull it through |
|
2495 the client and recompute in WebKit the level. |
|
2496 |
|
2497 * Api/qgraphicswebview.cpp: |
|
2498 (QGraphicsWebView::paint): |
|
2499 * WebCoreSupport/ChromeClientQt.cpp: |
|
2500 (WebCore::ChromeClientQt::visibleRectForTiledBackingStore): |
|
2501 * WebCoreSupport/ChromeClientQt.h: |
|
2502 |
|
2503 2010-05-16 Robert Hogan <robert@webkit.org> |
|
2504 |
|
2505 Reviewed by Kenneth Rohde Christiansen. |
|
2506 |
|
2507 [Qt] Unskip fast/loader/main-document-url-for-non-http-loads.html |
|
2508 |
|
2509 Fix FrameLoaderClientQt.cpp to print relative filename paths correctly. |
|
2510 |
|
2511 Move qt_* functions in FrameLoaderClientQt, EditorClientQt, and NotificationPresenterClientQt |
|
2512 to DumpRenderTreeSupportQt. Create new functions to replace them in DumpRenderTreeSupportQt. |
|
2513 Support for the old function names is retained until confirmed that no one uses them outside |
|
2514 QtWebKit. |
|
2515 |
|
2516 https://bugs.webkit.org/show_bug.cgi?id=38867 |
|
2517 |
|
2518 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
2519 (DumpRenderTreeSupportQt::dumpFrameLoader): |
|
2520 (DumpRenderTreeSupportQt::dumpResourceLoadCallbacks): |
|
2521 (DumpRenderTreeSupportQt::dumpResourceLoadCallbacksPath): |
|
2522 (DumpRenderTreeSupportQt::setWillSendRequestReturnsNullOnRedirect): |
|
2523 (DumpRenderTreeSupportQt::setWillSendRequestReturnsNull): |
|
2524 (DumpRenderTreeSupportQt::setWillSendRequestClearHeaders): |
|
2525 (DumpRenderTreeSupportQt::dumpEditingCallbacks): |
|
2526 (DumpRenderTreeSupportQt::dumpSetAcceptsEditing): |
|
2527 (DumpRenderTreeSupportQt::dumpNotification): |
|
2528 (qt_dump_frame_loader): |
|
2529 (qt_dump_resource_load_callbacks): |
|
2530 (qt_dump_resource_load_callbacks_path): |
|
2531 (qt_set_will_send_request_returns_null_on_redirect): |
|
2532 (qt_set_will_send_request_returns_null): |
|
2533 (qt_set_will_send_request_clear_headers): |
|
2534 (qt_dump_editing_callbacks): |
|
2535 (qt_dump_set_accepts_editing): |
|
2536 (qt_dump_notification): |
|
2537 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
2538 * WebCoreSupport/EditorClientQt.cpp: |
|
2539 * WebCoreSupport/EditorClientQt.h: |
|
2540 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
2541 (drtDescriptionSuitableForTestResult): |
|
2542 * WebCoreSupport/FrameLoaderClientQt.h: |
|
2543 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
2544 * WebCoreSupport/NotificationPresenterClientQt.h: |
|
2545 |
|
2546 2010-05-16 Robert Hogan <robert@webkit.org> |
|
2547 |
|
2548 Reviewed by Kenneth Rohde Christiansen. |
|
2549 |
|
2550 [Qt]Unskip security/set-form-autocomplete-attribute.html |
|
2551 |
|
2552 Add support for layoutTestController.elementDoesAutoCompleteForElementWithId(). |
|
2553 |
|
2554 https://bugs.webkit.org/show_bug.cgi?id=38859 |
|
2555 |
|
2556 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
2557 (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId): |
|
2558 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
2559 |
|
2560 2010-05-16 Simon Hausmann <simon.hausmann@nokia.com> |
|
2561 |
|
2562 [Qt] Prospective Qt/Mac build fix. |
|
2563 |
|
2564 The friend declaration of QGraphicsWidget confuses gcc and thinks that it's an implicit |
|
2565 forward declaration, moving the class into the WebCore namespace (WebCore::QGraphicsWidget). |
|
2566 |
|
2567 The declaration seems useless as no method of QGraphicsWidget is going to call anything |
|
2568 in this class. |
|
2569 |
|
2570 * WebCoreSupport/PageClientQt.h: |
|
2571 |
|
2572 2010-05-15 Charles Wei <charles.wei@torchmobile.com.cn> |
|
2573 |
|
2574 Reviewed by Simon Hausmann. |
|
2575 |
|
2576 This patch fixes the build failure of WebKit on Linux for Qt4.5 |
|
2577 https://bugs.webkig.org/show_bug.cgi?id=39108 |
|
2578 |
|
2579 * Api/qgraphicswebview.cpp: |
|
2580 (QGraphicsWebViewPrivate::syncLayers): |
|
2581 * WebCoreSupport/QtPlatformPlugin.cpp: |
|
2582 |
|
2583 2010-05-14 Kent Hansen <kent.hansen@nokia.com>, Jocelyn Turcotte <jocelyn.turcotte@nokia.com>, Tor Arne Vestbø <tor.arne.vestbo@nokia.com>, Henry Haverinen <henry.haverinen@nokia.com>, Jedrzej Nowacki <jedrzej.nowacki@nokia.com>, Andreas Kling <andreas.kling@nokia.com> |
|
2584 |
|
2585 Reviewed by Simon Hausmann. |
|
2586 |
|
2587 [Qt] Merge overhaul of the QtWebKit API documentation |
|
2588 |
|
2589 Numerous improvements in wording, qdoc warning fixes and |
|
2590 clarifications, done in a team work effort. |
|
2591 |
|
2592 No functional changes. |
|
2593 |
|
2594 * Api/qwebdatabase.cpp: |
|
2595 * Api/qwebelement.cpp: |
|
2596 * Api/qwebframe.cpp: |
|
2597 * Api/qwebhistoryinterface.cpp: |
|
2598 * Api/qwebinspector.cpp: |
|
2599 * Api/qwebkitversion.cpp: |
|
2600 * Api/qwebpage.cpp: |
|
2601 * Api/qwebpluginfactory.cpp: |
|
2602 * Api/qwebsecurityorigin.cpp: |
|
2603 * Api/qwebsettings.cpp: |
|
2604 * Api/qwebsettings.h: |
|
2605 * docs/qtwebkit.qdoc: |
|
2606 * docs/webkitsnippets/qtwebkit_qwebinspector_snippet.cpp: |
|
2607 (wrapInFunction): |
|
2608 * docs/webkitsnippets/webelement/main.cpp: |
|
2609 (findButtonAndClick): |
|
2610 (autocomplete1): |
|
2611 (autocomplete2): |
|
2612 (main): |
|
2613 |
|
2614 2010-05-14 Martin Smith <msmith@trolltech.com> |
|
2615 |
|
2616 Reviewed by Simon Hausmann. |
|
2617 |
|
2618 Documentation: Fix overview grouping. |
|
2619 |
|
2620 * docs/qtwebkit.qdoc: |
|
2621 |
|
2622 2010-05-14 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
2623 |
|
2624 Reviewed by Laszlo Gombos. |
|
2625 |
|
2626 [QT] Update the Symbian version for the user agent |
|
2627 https://bugs.webkit.org/show_bug.cgi?id=38389 |
|
2628 |
|
2629 Update the user agent for Symbian^2 to Symbian^4 |
|
2630 |
|
2631 * Api/qwebpage.cpp: |
|
2632 (QWebPage::userAgentForUrl): |
|
2633 |
|
2634 2010-05-14 Dawit Alemayehu <adawit@kde.org> |
|
2635 |
|
2636 Reviewed by Simon Hausmann. |
|
2637 |
|
2638 Implemented createJavaAppletWidget to activate Java applet support. |
|
2639 |
|
2640 https://bugs.webkit.org/show_bug.cgi?id=33044 |
|
2641 |
|
2642 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
2643 (WebCore::FrameLoaderClientQt::createJavaAppletWidget): |
|
2644 |
|
2645 2010-05-13 Simon Hausmann <hausmann@webkit.org> |
|
2646 |
|
2647 Symbian build fix. |
|
2648 |
|
2649 [Qt] Updated the def file with new exports. |
|
2650 |
|
2651 * symbian/eabi/QtWebKitu.def: Add missing gc symbol for QtLauncher |
|
2652 |
|
2653 2010-05-13 Simon Hausmann <simon.hausmann@nokia.com> |
|
2654 |
|
2655 Symbian build fix. |
|
2656 |
|
2657 [Qt] Updated the def file with new exports. |
|
2658 |
|
2659 * symbian/eabi/QtWebKitu.def: |
|
2660 |
|
2661 2010-05-11 Diego Gonzalez <diegohcg@webkit.org> |
|
2662 |
|
2663 Reviewed by Kenneth Rohde Christiansen. |
|
2664 |
|
2665 [Qt] tst_QWebPage::inputMethods failing on Maemo5 |
|
2666 https://bugs.webkit.org/show_bug.cgi?id=38685 |
|
2667 |
|
2668 Check if the SIP (Software Input Panel) is triggered, which normally |
|
2669 happens on mobile platforms, when a user input form receives a mouse click. |
|
2670 |
|
2671 * tests/qwebpage/tst_qwebpage.cpp: |
|
2672 (tst_QWebPage::inputMethods): |
|
2673 |
|
2674 2010-05-11 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
2675 |
|
2676 Reviewed by Laszlo Gombos. |
|
2677 |
|
2678 [Qt] REGRESSION(r58497) tst_QGraphicsWebView::crashOnViewlessWebPages() is failing |
|
2679 https://bugs.webkit.org/show_bug.cgi?id=38655 |
|
2680 |
|
2681 Fix double free by moving the connect till after the resize. |
|
2682 |
|
2683 The bug is causes by the fact that a resize of an empty page causes a |
|
2684 layout, thus deleting the qgraphicswebview before setHtml is called, |
|
2685 which then deletes it again, causing a double free. |
|
2686 |
|
2687 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
2688 (tst_QGraphicsWebView::crashOnViewlessWebPages): |
|
2689 |
|
2690 2010-05-12 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
2691 |
|
2692 Reviewed by Laszlo Gombos. |
|
2693 |
|
2694 [Qt] Regression(r59152): QGraphicsPageClient is not forwarding scroll and update events to view |
|
2695 https://bugs.webkit.org/show_bug.cgi?id=39016 |
|
2696 |
|
2697 Some forward calls got lost during the refatory. |
|
2698 |
|
2699 * WebCoreSupport/PageClientQt.cpp: |
|
2700 (WebCore::PageClientQGraphicsWidget::scroll): |
|
2701 (WebCore::PageClientQGraphicsWidget::update): |
|
2702 |
|
2703 2010-05-13 Antonio Gomes <tonikitoo@webkit.org>, Yi Shen <yi.4.shen@nokia.com> |
|
2704 |
|
2705 Reviewed by Kenneth Christiansen. |
|
2706 |
|
2707 [Qt] Add LayoutTestController interface: computedStyleIncludingVisitedInfo |
|
2708 https://bugs.webkit.org/show_bug.cgi?id=37759 |
|
2709 |
|
2710 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
2711 (DumpRenderTreeSupportQt::markerTextForListItem): |
|
2712 (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo): |
|
2713 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
2714 |
|
2715 2010-05-12 Joe Ligman <joseph.ligman@nokia.com> |
|
2716 |
|
2717 Reviewed by Laszlo Gombos. |
|
2718 |
|
2719 [Qt] Nested overflow div does not scroll |
|
2720 https://bugs.webkit.org/show_bug.cgi?id=38641 |
|
2721 |
|
2722 Modify qtwebkit_webframe_scrollOverflow, if the current node's render layer |
|
2723 does not scroll it will try and scroll the parent's render layer. Also export |
|
2724 qtwebkit_webframe_scrollOverflow so we can use it independently of |
|
2725 qtwebkit_webframe_scrollRecursively |
|
2726 |
|
2727 * Api/qwebframe.cpp: |
|
2728 (qtwebkit_webframe_scrollOverflow): |
|
2729 (qtwebkit_webframe_scrollRecursively): |
|
2730 |
|
2731 2010-05-12 Antonio Gomes <tonikitoo@webkit.org> |
|
2732 |
|
2733 Reviewed by Kenneth Christiansen. |
|
2734 |
|
2735 [Qt] Remove the unneeded check for QWidgetPageClient @QGraphicsWebView::detachCurrentPage |
|
2736 https://bugs.webkit.org/show_bug.cgi?id=38989 |
|
2737 |
|
2738 Reasons: |
|
2739 - There is no need to check for a QWidgetPageClient-based in QGraphicsWebView. |
|
2740 - The client has always to be deleted anyways. |
|
2741 |
|
2742 * Api/qgraphicswebview.cpp: |
|
2743 (QGraphicsWebViewPrivate::detachPage): |
|
2744 |
|
2745 2010-05-12 Simon Hausmann <simon.hausmann@nokia.com> |
|
2746 |
|
2747 Reviewed by Laszlo Gombos. |
|
2748 |
|
2749 Add a comment to explain the web inspector dynamic property url hook |
|
2750 and that it's there on purpose :) |
|
2751 |
|
2752 https://bugs.webkit.org/show_bug.cgi?id=35340 |
|
2753 |
|
2754 * WebCoreSupport/InspectorClientQt.cpp: |
|
2755 (WebCore::InspectorClientQt::openInspectorFrontend): |
|
2756 |
|
2757 2010-05-11 Antonio Gomes <tonikitoo@webkit.org> |
|
2758 |
|
2759 Reviewed by Kenneth Christiansen. |
|
2760 |
|
2761 [Qt] Implement a detachCurrentPage method for QGraphicsWebView and QWebView |
|
2762 https://bugs.webkit.org/show_bug.cgi?id=38939 |
|
2763 |
|
2764 unsetPageIfExists method was renamed to detachCurrentPage method and is now responsible |
|
2765 for doing all the unset logic of page and pageClient references previously done by |
|
2766 the Q{Graphics}WebView destructor(s). |
|
2767 |
|
2768 It is a code clean up, no behaviour change. |
|
2769 |
|
2770 * Api/qgraphicswebview.cpp: |
|
2771 (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate): |
|
2772 (QGraphicsWebView::~QGraphicsWebView): |
|
2773 (QGraphicsWebViewPrivate::detachCurrentPage): |
|
2774 (QGraphicsWebView::setPage): |
|
2775 * Api/qwebview.cpp: |
|
2776 (QWebViewPrivate::~QWebViewPrivate): |
|
2777 (QWebView::~QWebView): |
|
2778 (QWebViewPrivate::detachCurrentPage): |
|
2779 (QWebView::setPage): |
|
2780 |
|
2781 2010-05-11 Antonio Gomes <tonikitoo@webkit.org> |
|
2782 |
|
2783 Reviewed by Kenneth Christiansen. |
|
2784 |
|
2785 [Qt] emit initialLayoutCompleted signal from FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout |
|
2786 https://bugs.webkit.org/show_bug.cgi?id=38921 |
|
2787 |
|
2788 Emit initialLayoutCompleted signal from FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout |
|
2789 instead of FrameLoaderClientQt::dispatchDidFirstLayout , because the former ensures that a |
|
2790 visual content layed out on the frame. |
|
2791 |
|
2792 It matches to QWebFrame::initialLayoutCompleted signal documentation at: |
|
2793 |
|
2794 "... This is the first time you will see contents displayed on the frame ..." |
|
2795 |
|
2796 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
2797 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout): |
|
2798 (WebCore::FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout): |
|
2799 |
|
2800 2010-05-11 Jesus Sanchez-Palencia <jesus@webkit.org> |
|
2801 |
|
2802 Reviewed by Kenneth Rohde Christiansen. |
|
2803 |
|
2804 Add PageClientQGraphicsWidget specific implementation. |
|
2805 QGraphicsWebViewPrivate doesn't inherit QWebPageClient anymore |
|
2806 and the needed functions were moved to this new PageClient class, |
|
2807 including Tiling and Accelerated Composite specific ones. |
|
2808 |
|
2809 [Qt] PageClientQt specific implementation for QGraphicsWidget |
|
2810 https://bugs.webkit.org/show_bug.cgi?id=37866 |
|
2811 |
|
2812 * Api/qgraphicswebview.cpp: |
|
2813 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): |
|
2814 (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate): |
|
2815 (QGraphicsWebViewPrivate::syncLayers): |
|
2816 (QGraphicsWebViewPrivate::_q_scaleChanged): |
|
2817 (QGraphicsWebView::event): |
|
2818 (QGraphicsWebView::setPage): |
|
2819 (QGraphicsWebView::updateGeometry): |
|
2820 (QGraphicsWebView::setGeometry): |
|
2821 (QGraphicsWebView::setResizesToContents): |
|
2822 * WebCoreSupport/PageClientQt.cpp: |
|
2823 (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget): |
|
2824 (WebCore::PageClientQGraphicsWidget::scroll): |
|
2825 (WebCore::PageClientQGraphicsWidget::update): |
|
2826 (WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay): |
|
2827 (WebCore::PageClientQGraphicsWidget::syncLayers): |
|
2828 (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer): |
|
2829 (WebCore::PageClientQGraphicsWidget::markForSync): |
|
2830 (WebCore::PageClientQGraphicsWidget::updateCompositingScrollPosition): |
|
2831 (WebCore::PageClientQGraphicsWidget::updateTiledBackingStoreScale): |
|
2832 (WebCore::PageClientQGraphicsWidget::setInputMethodEnabled): |
|
2833 (WebCore::PageClientQGraphicsWidget::inputMethodEnabled): |
|
2834 (WebCore::PageClientQGraphicsWidget::setInputMethodHint): |
|
2835 (WebCore::PageClientQGraphicsWidget::cursor): |
|
2836 (WebCore::PageClientQGraphicsWidget::updateCursor): |
|
2837 (WebCore::PageClientQGraphicsWidget::palette): |
|
2838 (WebCore::PageClientQGraphicsWidget::screenNumber): |
|
2839 (WebCore::PageClientQGraphicsWidget::ownerWidget): |
|
2840 (WebCore::PageClientQGraphicsWidget::geometryRelativeToOwnerWidget): |
|
2841 (WebCore::PageClientQGraphicsWidget::pluginParent): |
|
2842 (WebCore::PageClientQGraphicsWidget::style): |
|
2843 * WebCoreSupport/PageClientQt.h: |
|
2844 (WebCore::QGraphicsItemOverlay::page): |
|
2845 (WebCore::QGraphicsItemOverlay::boundingRect): |
|
2846 (WebCore::QGraphicsItemOverlay::paint): |
|
2847 (WebCore::QGraphicsItemOverlay::prepareGraphicsItemGeometryChange): |
|
2848 (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget): |
|
2849 (WebCore::PageClientQGraphicsWidget::isQWidgetClient): |
|
2850 (WebCore::PageClientQGraphicsWidget::allowsAcceleratedCompositing): |
|
2851 (WebCore::PageClientQGraphicsWidget::): |
|
2852 |
|
2853 2010-05-09 Noam Rosenthal <noam.rosenthal@nokia.com> |
|
2854 |
|
2855 Reviewed by Kenneth Rohde Christiansen. |
|
2856 |
|
2857 [Qt] Crash in QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate when animation were used |
|
2858 https://bugs.webkit.org/show_bug.cgi?id=38574 |
|
2859 |
|
2860 The fix uses a QWeakPointer for rootGraphicsLayer, protecting from a crash in case the layer is deleted before the QGraphicsWebView. |
|
2861 |
|
2862 * Api/qgraphicswebview.cpp: |
|
2863 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): |
|
2864 (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate): |
|
2865 (QGraphicsWebViewPrivate::setRootGraphicsLayer): |
|
2866 (QGraphicsWebViewPrivate::updateCompositingScrollPosition): |
|
2867 |
|
2868 2010-05-08 Luiz Agostini <luiz.agostini@openbossa.org> |
|
2869 |
|
2870 Reviewed by Simon Hausmann. |
|
2871 |
|
2872 [Qt] Platform plugin |
|
2873 https://bugs.webkit.org/show_bug.cgi?id=38438 |
|
2874 |
|
2875 Select popups delegate private API. To provide select popup delegates |
|
2876 a plugin that implements QWebKitPlatformPlugin must be found |
|
2877 in QCoreApplication::libraryPaths. |
|
2878 |
|
2879 * Api/headers.pri: |
|
2880 * Api/qwebkitplatformplugin.h: Added. |
|
2881 (QWebSelectData::~QWebSelectData): |
|
2882 (QWebSelectData::): |
|
2883 (QWebSelectMethod::~QWebSelectMethod): |
|
2884 (QWebKitPlatformPlugin::~QWebKitPlatformPlugin): |
|
2885 (QWebKitPlatformPlugin::): |
|
2886 * WebCoreSupport/ChromeClientQt.cpp: |
|
2887 (WebCore::ChromeClientQt::createSelectPopup): |
|
2888 * WebCoreSupport/ChromeClientQt.h: |
|
2889 * WebCoreSupport/QtPlatformPlugin.cpp: Added. |
|
2890 (WebCore::SelectData::SelectData): |
|
2891 (WebCore::SelectData::itemText): |
|
2892 (WebCore::SelectData::itemToolTip): |
|
2893 (WebCore::SelectData::itemIsEnabled): |
|
2894 (WebCore::SelectData::itemCount): |
|
2895 (WebCore::SelectData::itemIsSelected): |
|
2896 (WebCore::SelectData::multiple): |
|
2897 (WebCore::SelectData::itemType): |
|
2898 (WebCore::SelectInputMethodWrapper::SelectInputMethodWrapper): |
|
2899 (WebCore::SelectInputMethodWrapper::show): |
|
2900 (WebCore::SelectInputMethodWrapper::hide): |
|
2901 (WebCore::SelectInputMethodWrapper::selectItem): |
|
2902 (WebCore::SelectInputMethodWrapper::didHide): |
|
2903 (WebCore::getPluginObject): |
|
2904 (WebCore::QtPlatformPlugin::~QtPlatformPlugin): |
|
2905 (WebCore::QtPlatformPlugin::plugin): |
|
2906 (WebCore::QtPlatformPlugin::createSelectInputMethod): |
|
2907 * WebCoreSupport/QtPlatformPlugin.h: Added. |
|
2908 (WebCore::QtPlatformPlugin::QtPlatformPlugin): |
|
2909 |
|
2910 2010-05-08 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
2911 |
|
2912 Reviewed by Simon Hausmann. |
|
2913 |
|
2914 [Qt] Document a limitation of QWebPage::linkClicked |
|
2915 https://bugs.webkit.org/show_bug.cgi?id=37694 |
|
2916 |
|
2917 * Api/qwebpage.cpp: |
|
2918 |
|
2919 2010-05-02 Simon Hausmann <hausmann@webkit.org> |
|
2920 |
|
2921 [Qt] Unreviewed, QtWebKit versioning for the trunk. |
|
2922 |
|
2923 The next version is going to be 2.1, based off the trunk. |
|
2924 |
|
2925 * Api/qwebkitglobal.h: |
|
2926 |
|
2927 2010-05-07 Simon Hausmann <simon.hausmann@nokia.com> |
|
2928 |
|
2929 Symbian build fix. |
|
2930 |
|
2931 [Qt] Updated the def file with absent exports. |
|
2932 |
|
2933 * symbian/eabi/QtWebKitu.def: |
|
2934 |
|
2935 2010-05-06 Andreas Kling <andreas.kling@nokia.com> |
|
2936 |
|
2937 Reviewed by Simon Hausmann. |
|
2938 |
|
2939 [Qt] Patch to fix compilation warnings for QGraphicsWebView |
|
2940 https://bugs.webkit.org/show_bug.cgi?id=37428 |
|
2941 |
|
2942 Patch by Alexis Menard <alexis.menard@nokia.com> |
|
2943 |
|
2944 * Api/qgraphicswebview.cpp: |
|
2945 (QGraphicsWebView::itemChange): |
|
2946 |
|
2947 2010-05-06 Simon Hausmann <simon.hausmann@nokia.com> |
|
2948 |
|
2949 Reviewed by Kenneth Rohde Christiansen. |
|
2950 |
|
2951 [Qt] Replace public inspector url with private property for QtLauncher |
|
2952 https://bugs.webkit.org/show_bug.cgi?id=35340 |
|
2953 |
|
2954 Replace the public API with a private dynamic property until this feature |
|
2955 is ready. |
|
2956 |
|
2957 * Api/qwebsettings.cpp: |
|
2958 * Api/qwebsettings.h: |
|
2959 * WebCoreSupport/InspectorClientQt.cpp: |
|
2960 (WebCore::InspectorClientQt::openInspectorFrontend): |
|
2961 * symbian/bwins/QtWebKitu.def: |
|
2962 * symbian/eabi/QtWebKitu.def: |
|
2963 |
|
2964 2010-05-04 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
2965 |
|
2966 Reviewed by Kenneth Rohde Christiansen. |
|
2967 |
|
2968 [Qt] QWebPage viewMode property |
|
2969 https://bugs.webkit.org/show_bug.cgi?id=38119 |
|
2970 |
|
2971 Rename the property from wrt_viewMode to _q_viewMode. |
|
2972 |
|
2973 * Api/qwebpage.cpp: |
|
2974 (QWebPagePrivate::dynamicPropertyChangeEvent): |
|
2975 * tests/qwebpage/tst_qwebpage.cpp: |
|
2976 (tst_QWebPage::viewModes): |
|
2977 |
|
2978 2010-05-04 Simon Hausmann <simon.hausmann@nokia.com> |
|
2979 |
|
2980 Rubber-stamped by Tor Arne Vestbø. |
|
2981 |
|
2982 [Qt] Preserve binary compatibility with qtwebkit-2.0 branch |
|
2983 |
|
2984 Moved the WebGL attribute in QWebSettings to the end of the enum, |
|
2985 to ensure that the numeric values of the enum values following it |
|
2986 are the same as in the release branch. |
|
2987 |
|
2988 * Api/qwebsettings.h: |
|
2989 |
|
2990 2010-05-03 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
2991 |
|
2992 Reviewed by Simon Hausmann. |
|
2993 |
|
2994 [Qt] Expose HTMLTokenizer yielding parameters |
|
2995 https://bugs.webkit.org/show_bug.cgi?id=37023 |
|
2996 |
|
2997 Enables to set TimeDelay and ChunkSize for |
|
2998 HTMLTokenizer. |
|
2999 |
|
3000 * Api/qwebpage.cpp: |
|
3001 (QWebPagePrivate::dynamicPropertyChangeEvent): |
|
3002 |
|
3003 2010-05-03 Abhishek Arya <inferno@chromium.org> |
|
3004 |
|
3005 Reviewed by Adam Barth. |
|
3006 |
|
3007 Add support for controlling clipboard access from javascript. |
|
3008 Clipboard access from javascript is disabled by default. |
|
3009 https://bugs.webkit.org/show_bug.cgi?id=27751 |
|
3010 |
|
3011 * Api/qwebsettings.cpp: |
|
3012 (QWebSettingsPrivate::apply): |
|
3013 * Api/qwebsettings.h: |
|
3014 |
|
3015 2010-05-03 Jens Alfke <snej@chromium.org> |
|
3016 |
|
3017 Reviewed by Darin Fisher. |
|
3018 |
|
3019 [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient |
|
3020 https://bugs.webkit.org/show_bug.cgi?id=38397 |
|
3021 |
|
3022 No tests (functionality is exposed only through native WebKit API.) |
|
3023 |
|
3024 * WebCoreSupport/FrameLoaderClientQt.h: |
|
3025 (WebCore::FrameLoaderClientQt::dispatchWillSendSubmitEvent): |
|
3026 |
|
3027 2010-05-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
3028 |
|
3029 Reviewed by Simon Hausmann. |
|
3030 |
|
3031 [Qt] Prune dead code in QWebPage |
|
3032 |
|
3033 * Api/qwebpage.cpp: |
|
3034 |
|
3035 2010-05-02 Tasuku Suzuki <tasuku.suzuki@nokia.com> |
|
3036 |
|
3037 Reviewed by Simon Hausmann. |
|
3038 |
|
3039 [Qt] Fix compilation with QT_NO_BEARERMANAGEMENT |
|
3040 https://bugs.webkit.org/show_bug.cgi?id=38324 |
|
3041 |
|
3042 * Api/qwebsettings.cpp: |
|
3043 |
|
3044 2010-04-29 Janne Koskinen <janne.p.koskinen@digia.com> |
|
3045 |
|
3046 Reviewed by Simon Hausmann. |
|
3047 |
|
3048 [Qt] QtWebKit versioning added |
|
3049 https://bugs.webkit.org/show_bug.cgi?id=37207 |
|
3050 |
|
3051 QtWebkit releases separated from Qt release cycle. |
|
3052 |
|
3053 * qtwebkit_version.pri: Added. |
|
3054 |
|
3055 2010-05-02 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
3056 |
|
3057 Reviewed by Kenneth Rohde Christiansen. |
|
3058 |
|
3059 [Qt] QWebPage::userAgentForUrl is terrible API |
|
3060 https://bugs.webkit.org/show_bug.cgi?id=33875 |
|
3061 |
|
3062 Simplify the creation of the user agent string to avoid some |
|
3063 overhead for each loaded url. |
|
3064 |
|
3065 The static part of the user agent is cached so it only have |
|
3066 to be made once. |
|
3067 This creation has been made in order to simplify the code. |
|
3068 |
|
3069 The two variable: application name and current language are |
|
3070 set dynamically when needed. |
|
3071 The default locale is non longer created if the widget locale |
|
3072 is used. |
|
3073 |
|
3074 * Api/qwebpage.cpp: |
|
3075 (QWebPage::userAgentForUrl): |
|
3076 * tests/qwebpage/tst_qwebpage.cpp: |
|
3077 (tst_QWebPage::userAgentApplicationName): |
|
3078 (tst_QWebPage::userAgentLocaleChange): |
|
3079 |
|
3080 2010-05-02 Noam Rosenthal <noam.rosenthal@nokia.com> |
|
3081 |
|
3082 Reviewed by Kenneth Rohde Christiansen. |
|
3083 |
|
3084 [Qt] GraphicsLayer: animation incorrect when scrolling |
|
3085 https://bugs.webkit.org/show_bug.cgi?id=38371 |
|
3086 |
|
3087 This is a regression introduced with the invalidate-on-scroll code path, that uses QGraphicsWebViewPrivate::update() |
|
3088 instead of QGraphicsWebViewPrivate::scroll(). The patch makes sure that the scrolling position is correct on |
|
3089 each content update - this shouldn't have a performance impact - the only overhead is an additional value-test on each update. |
|
3090 |
|
3091 Tested by http://www.the-art-of-web.com/css/css-animation/ |
|
3092 |
|
3093 * Api/qgraphicswebview.cpp: |
|
3094 (QGraphicsWebViewPrivate::update): |
|
3095 |
|
3096 2010-05-01 Robert Hogan <robert@webkit.org> |
|
3097 |
|
3098 Reviewed by Simon Hausmann. |
|
3099 |
|
3100 [Qt] Add smart paste support |
|
3101 |
|
3102 https://bugs.webkit.org/show_bug.cgi?id=38136 |
|
3103 |
|
3104 * Api/qwebpage.cpp: |
|
3105 (QWebPagePrivate::QWebPagePrivate): Enable smart paste support by default. |
|
3106 |
|
3107 2010-04-29 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
3108 |
|
3109 Reviewed by Kenneth Rohde Christiansen. |
|
3110 |
|
3111 [Qt] Reinstate qt_drt_ symbol exports as of QtWebKit 4.6 release |
|
3112 https://bugs.webkit.org/show_bug.cgi?id=38304 |
|
3113 |
|
3114 This change provides backward compatibility with some previously |
|
3115 exported private symbols. No new functionality introduced. |
|
3116 |
|
3117 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3118 (qt_resumeActiveDOMObjects): |
|
3119 (qt_suspendActiveDOMObjects): |
|
3120 (qt_drt_clearFrameName): |
|
3121 (qt_drt_garbageCollector_collect): |
|
3122 (qt_drt_garbageCollector_collectOnAlternateThread): |
|
3123 (qt_drt_javaScriptObjectsCount): |
|
3124 (qt_drt_numberOfActiveAnimations): |
|
3125 (qt_drt_overwritePluginDirectories): |
|
3126 (qt_drt_pauseAnimation): |
|
3127 (qt_drt_pauseTransitionOfProperty): |
|
3128 (qt_drt_resetOriginAccessWhiteLists): |
|
3129 (qt_drt_run): |
|
3130 (qt_drt_setJavaScriptProfilingEnabled): |
|
3131 (qt_drt_whiteListAccessFromOrigin): |
|
3132 (qt_webpage_groupName): |
|
3133 (qt_webpage_setGroupName): |
|
3134 |
|
3135 2010-04-29 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
3136 |
|
3137 Reviewed by Kenneth Rohde Christiansen. |
|
3138 |
|
3139 Get rid of forceLayout() on FrameView |
|
3140 https://bugs.webkit.org/show_bug.cgi?id=38199 |
|
3141 |
|
3142 The function FrameView::forceLayout() is missleading |
|
3143 because it does not actually force the layout, the call is |
|
3144 equivalent to layout(). |
|
3145 |
|
3146 This patch replace the call to forceLayout() by layout() in Qt |
|
3147 to avoid the misunderstanding/improve readability. |
|
3148 |
|
3149 * Api/qwebpage.cpp: |
|
3150 (QWebPagePrivate::dynamicPropertyChangeEvent): |
|
3151 (QWebPage::setPreferredContentsSize): |
|
3152 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3153 (DumpRenderTreeSupportQt::setMediaType): |
|
3154 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
3155 (WebCore::FrameLoaderClientQt::forceLayout): |
|
3156 |
|
3157 2010-04-29 Andreas Kling <andreas.kling@nokia.com> |
|
3158 |
|
3159 Reviewed by Simon Hausmann. |
|
3160 |
|
3161 Remove unnecessary call to FrameView::forceLayout() in setViewportSize() |
|
3162 This prevents a double relayout on resize. |
|
3163 |
|
3164 https://bugs.webkit.org/show_bug.cgi?id=38179 |
|
3165 |
|
3166 Thanks to Nate Whetsell <nathan.whetsell@gmail.com> for spotting this. |
|
3167 |
|
3168 * Api/qwebpage.cpp: |
|
3169 (QWebPage::setViewportSize): |
|
3170 |
|
3171 2010-04-29 Simon Hausmann <simon.hausmann@nokia.com> |
|
3172 |
|
3173 Reviewed by Tor Arne Vestbø. |
|
3174 |
|
3175 [Qt] REGRESSION(r57982): tst_qwebpage::showModalDialog() crashes |
|
3176 https://bugs.webkit.org/show_bug.cgi?id=38314 |
|
3177 |
|
3178 Make sure that there's always a main frame when returning from createWindow() |
|
3179 to the caller in WebCore. |
|
3180 |
|
3181 * WebCoreSupport/ChromeClientQt.cpp: |
|
3182 (WebCore::ChromeClientQt::createWindow): |
|
3183 |
|
3184 2010-04-28 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
3185 |
|
3186 Unreviewed, Qt build fix. |
|
3187 |
|
3188 [Qt] Guard the body of the function instead of the function for |
|
3189 exported functions. |
|
3190 |
|
3191 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3192 (DumpRenderTreeSupportQt::webInspectorExecuteScript): |
|
3193 (DumpRenderTreeSupportQt::webInspectorClose): |
|
3194 (DumpRenderTreeSupportQt::webInspectorShow): |
|
3195 (DumpRenderTreeSupportQt::setTimelineProfilingEnabled): |
|
3196 |
|
3197 2010-04-28 Antonio Gomes <tonikitoo@webkit.org>, Yi Shen <yi.4.shen@nokia.com> |
|
3198 |
|
3199 Reviewed by Simon Hausmann. |
|
3200 |
|
3201 [Qt] tst_QWebHistoryInterface::visitedLinks() fails |
|
3202 https://bugs.webkit.org/show_bug.cgi?id=37323 |
|
3203 |
|
3204 Patch fixes styleProperty method of QWebElement to make use of |
|
3205 CSSComputedStyleDeclaration::computedStyle 'allowVisitedStyle' parameter |
|
3206 and the corresponding failing QWebHistoryInterface::visitedLinks method. |
|
3207 |
|
3208 * Api/qwebelement.cpp: |
|
3209 (QWebElement::styleProperty): |
|
3210 * tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp: |
|
3211 (tst_QWebHistoryInterface::visitedLinks): |
|
3212 |
|
3213 2010-04-28 Luiz Agostini <luiz.agostini@openbossa.org> |
|
3214 |
|
3215 Reviewed by Kenneth Rohde Christiansen. |
|
3216 |
|
3217 [Qt] QWebPage viewMode property |
|
3218 https://bugs.webkit.org/show_bug.cgi?id=38119 |
|
3219 |
|
3220 Replacing method qt_wrt_setViewMode by wrt_viewMode property. |
|
3221 |
|
3222 * Api/qwebpage.cpp: |
|
3223 (QWebPagePrivate::dynamicPropertyChangeEvent): |
|
3224 (QWebPage::event): |
|
3225 * Api/qwebpage_p.h: |
|
3226 * tests/qwebpage/tst_qwebpage.cpp: |
|
3227 (tst_QWebPage::wrt_viewModes): |
|
3228 |
|
3229 2010-04-28 Janne Koskinen <janne.p.koskinen@digia.com> |
|
3230 |
|
3231 Reviewed by Simon Hausmann <simon.hausmann@nokia.com> |
|
3232 |
|
3233 [Qt] WINS DEF file freeze |
|
3234 |
|
3235 Updated WINSCW def file with added and removed symbols. |
|
3236 |
|
3237 * symbian/bwins/QtWebKitu.def: |
|
3238 |
|
3239 2010-04-25 Sam Weinig <sam@webkit.org> |
|
3240 |
|
3241 Reviewed by Maciej Stachowiak. |
|
3242 |
|
3243 Fix for https://bugs.webkit.org/show_bug.cgi?id=38097 |
|
3244 Disentangle initializing the main thread from initializing threading |
|
3245 |
|
3246 * Api/qwebpage.cpp: |
|
3247 (QWebPagePrivate::QWebPagePrivate): Add call to initializeMainThread. |
|
3248 |
|
3249 2010-04-26 Thiago Macieira <thiago.macieira@nokia.com> |
|
3250 |
|
3251 Reviewed by Simon Hausmann. |
|
3252 |
|
3253 [Qt] Fix the include header <qstring.h> -> <QtCore/qstring.h> |
|
3254 |
|
3255 The module/header.h style inclusion removes the need to have -I$QTDIR/include/depending-module |
|
3256 in the include search path for the application. |
|
3257 |
|
3258 * Api/qwebkitversion.h: |
|
3259 |
|
3260 2010-04-26 Bruno Schmidt <bruno.schmidt@gmail.com> |
|
3261 |
|
3262 Reviewed by Kenneth Rohde Christiansen. |
|
3263 |
|
3264 [Qt] Exposing an QVariantMap containing QObjectStar to Javascript |
|
3265 causes Segmentation Fault |
|
3266 https://bugs.webkit.org/show_bug.cgi?id=34729 |
|
3267 |
|
3268 If an QVariantMap containing QObjectStar is added to the to QtWebkit |
|
3269 Javascript, it's use causes Segmentation Fault. |
|
3270 It happens because, in the case QMetaType::QVariantMap, the "root" |
|
3271 object that is inside of a PassRefPtr is passed recursively inside a |
|
3272 loop to recover the content of the map, but the PassRefPtr semantics |
|
3273 prohibit its use inside a loop, so the "root" object mus be passed |
|
3274 using the method "PassRefPtr::get" in order to keep the current |
|
3275 reference. |
|
3276 |
|
3277 * tests/qwebframe/tst_qwebframe.cpp: |
|
3278 (MyQObject::MyQObject): new property variantMapProperty |
|
3279 (MyQObject::variantMapProperty): read variantMapProperty |
|
3280 (MyQObject::setVariantMapProperty): write variantMapProperty |
|
3281 |
|
3282 2010-04-25 Shinichiro Hamaji <hamaji@chromium.org> |
|
3283 |
|
3284 Reviewed by Simon Hausmann. |
|
3285 |
|
3286 [Qt] layoutTestController.counterValueForElementById crashes for a nonexistent ID |
|
3287 https://bugs.webkit.org/show_bug.cgi?id=34573 |
|
3288 |
|
3289 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3290 (DumpRenderTreeSupportQt::counterValueForElementById): |
|
3291 |
|
3292 2010-04-20 Robert Hogan <robert@webkit.org> |
|
3293 |
|
3294 Reviewed by Simon Hausmann. |
|
3295 |
|
3296 [Qt] Add more support for textInputController |
|
3297 |
|
3298 Add support for selectedRange(), setMarkedText(), insertText(), |
|
3299 and firstRectForCharacterRange(). |
|
3300 |
|
3301 https://bugs.webkit.org/show_bug.cgi?id=35702 |
|
3302 |
|
3303 * Api/qwebpage.cpp: |
|
3304 (QWebPagePrivate::inputMethodEvent): |
|
3305 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3306 (DumpRenderTreeSupportQt::selectedRange): |
|
3307 (DumpRenderTreeSupportQt::firstRectForCharacterRange): |
|
3308 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
3309 * tests/qwebpage/tst_qwebpage.cpp: |
|
3310 (tst_QWebPage::inputMethods): |
|
3311 |
|
3312 2010-04-22 John Pavan <john.pavan@nokia.com> |
|
3313 |
|
3314 Reviewed by Laszlo Gombos. |
|
3315 |
|
3316 [Qt] inputMethodQuery returns coordinates in web page coordinates rather than in item coordinates. |
|
3317 https://bugs.webkit.org/show_bug.cgi?id=37163 |
|
3318 |
|
3319 |
|
3320 QWebPage::inputMethodQuery is modified so that it |
|
3321 returns coordinates in the widget's coordinate system. |
|
3322 Tests are added for QGraphicsWebView and QWebView |
|
3323 to verify that this behavior is correct after the webpage |
|
3324 has been scrolled. |
|
3325 |
|
3326 * Api/qwebpage.cpp: |
|
3327 (QWebPage::inputMethodQuery): |
|
3328 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
3329 (tst_QGraphicsWebView::microFocusCoordinates): |
|
3330 * tests/qwebview/tst_qwebview.cpp: |
|
3331 (tst_QWebView::microFocusCoordinates): |
|
3332 |
|
3333 2010-04-22 Robert Hogan <robert@webkit.org> |
|
3334 |
|
3335 Reviewed by Simon Hausmann. |
|
3336 |
|
3337 [Qt] Fix createPlugin() tests in tst_qwebpage to match behaviour of Qt plugins |
|
3338 when PluginsEnabled is false. |
|
3339 |
|
3340 tst_qwebpage should have been updated as part of r56662. |
|
3341 (See https://bugs.webkit.org/show_bug.cgi?id=32196) |
|
3342 |
|
3343 Updated documentation of QWebPage::createPlugin and QWebSetting::pluginsEnabled |
|
3344 to match the new behaviour. |
|
3345 |
|
3346 * Api/qwebpage.cpp: Update docs. |
|
3347 * Api/qwebsettings.cpp: Update docs. |
|
3348 * tests/qwebpage/tst_qwebpage.cpp: |
|
3349 (createPlugin): |
|
3350 (tst_QWebPage::createPluginWithPluginsEnabled): |
|
3351 (tst_QWebPage::createPluginWithPluginsDisabled): |
|
3352 |
|
3353 2010-04-22 Dave Moore <davemoore@chromium.org> |
|
3354 |
|
3355 Reviewed by Dimitri Glazkov. |
|
3356 |
|
3357 Added notification when the favicons for a page are changed |
|
3358 from a script. |
|
3359 The Document object will notify the frame loader, which will |
|
3360 notify the client. Implementations of FrameLoaderClient will |
|
3361 have to add one method; dispatchDidChangeIcons(). |
|
3362 |
|
3363 https://bugs.webkit.org/show_bug.cgi?id=33812 |
|
3364 |
|
3365 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
3366 (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons): |
|
3367 (WebCore::FrameLoaderClientQt::didChangeTitle): |
|
3368 * WebCoreSupport/FrameLoaderClientQt.h: |
|
3369 |
|
3370 2010-04-22 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
3371 |
|
3372 Reviewed by Kenneth Rohde Christiansen. |
|
3373 |
|
3374 [Qt] Remove translatable strings from the hybridPixmap test. |
|
3375 https://bugs.webkit.org/show_bug.cgi?id=37867 |
|
3376 |
|
3377 * tests/hybridPixmap/widget.ui: |
|
3378 |
|
3379 2010-04-22 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
3380 |
|
3381 Reviewed by Kenneth Rohde Christiansen. |
|
3382 |
|
3383 [Qt] Fix autotests .qrc file paths when built in Qt. |
|
3384 |
|
3385 Compiling auto-tests from qt/tests/auto/qweb* produced |
|
3386 failing tests since these .pro files include the |
|
3387 ones in WebKit/qt/tests and the .qrc file was |
|
3388 not added to RESOURCES |
|
3389 |
|
3390 * tests/benchmarks/loading/loading.pro: |
|
3391 * tests/benchmarks/painting/painting.pro: |
|
3392 * tests/qgraphicswebview/qgraphicswebview.pro: |
|
3393 * tests/qwebelement/qwebelement.pro: |
|
3394 * tests/qwebframe/qwebframe.pro: |
|
3395 * tests/qwebhistory/qwebhistory.pro: |
|
3396 * tests/qwebhistoryinterface/qwebhistoryinterface.pro: |
|
3397 * tests/qwebinspector/qwebinspector.pro: |
|
3398 * tests/qwebpage/qwebpage.pro: |
|
3399 * tests/qwebplugindatabase/qwebplugindatabase.pro: |
|
3400 * tests/qwebview/qwebview.pro: |
|
3401 * tests/tests.pri: |
|
3402 |
|
3403 2010-04-22 Adam Barth <abarth@webkit.org> |
|
3404 |
|
3405 Unreviewed, rolling out r58069. |
|
3406 http://trac.webkit.org/changeset/58069 |
|
3407 https://bugs.webkit.org/show_bug.cgi?id=27751 |
|
3408 |
|
3409 Broke compile on Windows. |
|
3410 |
|
3411 * Api/qwebsettings.cpp: |
|
3412 (QWebSettingsPrivate::apply): |
|
3413 * Api/qwebsettings.h: |
|
3414 |
|
3415 2010-04-22 Abhishek Arya <inferno@chromium.org> |
|
3416 |
|
3417 Reviewed by Adam Barth. |
|
3418 |
|
3419 Add support for controlling clipboard access from javascript. |
|
3420 Clipboard access from javascript is disabled by default. |
|
3421 https://bugs.webkit.org/show_bug.cgi?id=27751 |
|
3422 |
|
3423 * Api/qwebsettings.cpp: |
|
3424 (QWebSettingsPrivate::apply): |
|
3425 * Api/qwebsettings.h: |
|
3426 |
|
3427 2010-04-21 Jesus Sanchez-Palencia <jesus@webkit.org> |
|
3428 |
|
3429 Reviewed by Kenneth Rohde Christiansen. |
|
3430 |
|
3431 Add PageClientQWidget implementation based on the old |
|
3432 QWebPageWidgetClient to PageClientQt files. Also fix |
|
3433 QWebPage::setView() to use PageClientQWidget. |
|
3434 |
|
3435 [Qt] PageClientQt specific implementation for QWidget |
|
3436 https://bugs.webkit.org/show_bug.cgi?id=37858 |
|
3437 |
|
3438 * Api/qwebpage.cpp: |
|
3439 (QWebPage::setView): |
|
3440 * WebCoreSupport/PageClientQt.cpp: Added. |
|
3441 (WebCore::PageClientQWidget::scroll): |
|
3442 (WebCore::PageClientQWidget::update): |
|
3443 (WebCore::PageClientQWidget::setInputMethodEnabled): |
|
3444 (WebCore::PageClientQWidget::inputMethodEnabled): |
|
3445 (WebCore::PageClientQWidget::setInputMethodHint): |
|
3446 (WebCore::PageClientQWidget::cursor): |
|
3447 (WebCore::PageClientQWidget::updateCursor): |
|
3448 (WebCore::PageClientQWidget::palette): |
|
3449 (WebCore::PageClientQWidget::screenNumber): |
|
3450 (WebCore::PageClientQWidget::ownerWidget): |
|
3451 (WebCore::PageClientQWidget::geometryRelativeToOwnerWidget): |
|
3452 (WebCore::PageClientQWidget::pluginParent): |
|
3453 (WebCore::PageClientQWidget::style): |
|
3454 * WebCoreSupport/PageClientQt.h: Added. |
|
3455 (WebCore::PageClientQWidget::PageClientQWidget): |
|
3456 (WebCore::PageClientQWidget::isQWidgetClient): |
|
3457 |
|
3458 2010-04-21 Jakub Wieczorek <jwieczorek@webkit.org> |
|
3459 |
|
3460 Reviewed by Darin Adler. |
|
3461 |
|
3462 List item markers are not always updated after changes in the DOM. |
|
3463 https://bugs.webkit.org/show_bug.cgi?id=37060 |
|
3464 |
|
3465 * Api/qwebelement.h: Make DumpRenderTreeSupportQt a friend class. |
|
3466 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3467 (DumpRenderTreeSupportQt::markerTextForListItem): Add a private API to get the marker text for a list item. |
|
3468 |
|
3469 2010-04-21 Yi Shen <yi.4.shen@nokia.com> |
|
3470 |
|
3471 Reviewed by Simon Hausmann. |
|
3472 |
|
3473 [Qt] Check the request empty or not in ChromeClientQt::createWindow() |
|
3474 https://bugs.webkit.org/show_bug.cgi?id=37821 |
|
3475 |
|
3476 * WebCoreSupport/ChromeClientQt.cpp: |
|
3477 (WebCore::ChromeClientQt::createWindow): |
|
3478 |
|
3479 2010-04-21 Shu Chang <chang.shu@nokia.com> |
|
3480 |
|
3481 Reviewed by Simon Hausmann. |
|
3482 |
|
3483 [Qt] Fix Symbian build where QT_NO_SYSTEMTRAYICON is defined. |
|
3484 https://bugs.webkit.org/show_bug.cgi?id=37442 |
|
3485 |
|
3486 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
3487 (NotificationPresenterClientQt::show): |
|
3488 * WebCoreSupport/NotificationPresenterClientQt.h: |
|
3489 |
|
3490 2010-04-21 Eric Seidel <eric@webkit.org> |
|
3491 |
|
3492 Unreviewed, rolling out r57963. |
|
3493 http://trac.webkit.org/changeset/57963 |
|
3494 https://bugs.webkit.org/show_bug.cgi?id=37759 |
|
3495 |
|
3496 Three tests started crashing on the Qt bot. |
|
3497 |
|
3498 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3499 (DumpRenderTreeSupportQt::isCommandEnabled): |
|
3500 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
3501 |
|
3502 2010-04-21 Yi Shen <yi.4.shen@nokia.com> |
|
3503 |
|
3504 Reviewed by Simon Hausmann. |
|
3505 |
|
3506 [Qt] Add LayoutTestController interface: computedStyleIncludingVisitedInfo |
|
3507 https://bugs.webkit.org/show_bug.cgi?id=37759 |
|
3508 |
|
3509 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3510 (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo): |
|
3511 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
3512 |
|
3513 2010-04-21 No'am Rosenthal <noam.rosenthal@nokia.com> |
|
3514 |
|
3515 Reviewed by Simon Fraser. |
|
3516 |
|
3517 [Qt] Fix or remove the runtime flag for accelerated compositing. |
|
3518 https://bugs.webkit.org/show_bug.cgi?id=37313 |
|
3519 |
|
3520 This lets the QWebPageClient "veto" the settings value for accelerated compositing. |
|
3521 In this case we allow accelerated compositing only on QGraphicsWebView. |
|
3522 |
|
3523 * Api/qgraphicswebview.cpp: |
|
3524 (QGraphicsWebViewPrivate::allowsAcceleratedCompositing): |
|
3525 * WebCoreSupport/ChromeClientQt.cpp: |
|
3526 (WebCore::ChromeClientQt::allowsAcceleratedCompositing): |
|
3527 * WebCoreSupport/ChromeClientQt.h: |
|
3528 |
|
3529 2010-04-20 Adam Barth <abarth@webkit.org> |
|
3530 |
|
3531 Unreviewed build fix. |
|
3532 |
|
3533 * Api/qwebframe.cpp: |
|
3534 (QWebFrame::setUrl): |
|
3535 |
|
3536 2010-04-20 Adam Barth <abarth@webkit.org> |
|
3537 |
|
3538 Reviewed by Eric Seidel. |
|
3539 |
|
3540 Factor DocumentWriter out of FrameLoader |
|
3541 https://bugs.webkit.org/show_bug.cgi?id=37175 |
|
3542 |
|
3543 Update these callsites because the method moved to DocumentWriter. |
|
3544 |
|
3545 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
3546 (WebCore::FrameLoaderClientQt::finishedLoading): |
|
3547 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
3548 (WebCore::FrameLoaderClientQt::committedLoad): |
|
3549 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
3550 |
|
3551 2010-04-20 Kent Tamura <tkent@chromium.org> |
|
3552 |
|
3553 Reviewed by Darin Adler. |
|
3554 |
|
3555 Change a parameter type of chooseIconForFiles() |
|
3556 https://bugs.webkit.org/show_bug.cgi?id=37504 |
|
3557 |
|
3558 * WebCoreSupport/ChromeClientQt.cpp: |
|
3559 (WebCore::ChromeClientQt::chooseIconForFiles): |
|
3560 * WebCoreSupport/ChromeClientQt.h: |
|
3561 |
|
3562 2010-04-19 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
3563 |
|
3564 Reviewed by Simon Hausmann. |
|
3565 |
|
3566 [Qt] Fix compilation against namespaced Qt. |
|
3567 |
|
3568 * WebCoreSupport/ChromeClientQt.h: |
|
3569 * WebCoreSupport/QtFallbackWebPopup.h: |
|
3570 |
|
3571 2010-04-18 Robert Hogan <robert@webkit.org> |
|
3572 |
|
3573 Reviewed by Simon Hausmann. |
|
3574 |
|
3575 [Qt] Add support for LayoutTestController commands: |
|
3576 setSmartInsertDeleteEnabled |
|
3577 setSelectTrailingWhitespaceEnabled |
|
3578 execCommand |
|
3579 isCommandEnabled |
|
3580 |
|
3581 https://bugs.webkit.org/show_bug.cgi?id=35844 |
|
3582 |
|
3583 * Api/qwebpage.cpp: |
|
3584 (QWebPagePrivate::QWebPagePrivate): |
|
3585 * Api/qwebpage_p.h: |
|
3586 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3587 (DumpRenderTreeSupportQt::setSmartInsertDeleteEnabled): |
|
3588 (DumpRenderTreeSupportQt::setSelectTrailingWhitespaceEnabled): |
|
3589 (DumpRenderTreeSupportQt::executeCoreCommandByName): |
|
3590 (DumpRenderTreeSupportQt::isCommandEnabled): |
|
3591 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
3592 * WebCoreSupport/EditorClientQt.cpp: |
|
3593 (WebCore::EditorClientQt::smartInsertDeleteEnabled): |
|
3594 (WebCore::EditorClientQt::toggleSmartInsertDelete): |
|
3595 (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled): |
|
3596 * WebCoreSupport/EditorClientQt.h: |
|
3597 |
|
3598 2010-04-15 Kent Hansen <kent.hansen@nokia.com> |
|
3599 |
|
3600 Reviewed by Kenneth Rohde Christiansen. |
|
3601 |
|
3602 [Qt] Mark QWebFrame::overloadedSlots autotest as expected failure |
|
3603 |
|
3604 https://bugs.webkit.org/show_bug.cgi?id=37319 |
|
3605 |
|
3606 * tests/qwebframe/tst_qwebframe.cpp: |
|
3607 |
|
3608 2010-04-09 Antonio Gomes <tonikitoo@webkit.org> |
|
3609 |
|
3610 Reviewed by Kenneth Christiansen and Tor Arne Vestbø. |
|
3611 |
|
3612 REGRESSION(r56552): Broken scrollbars size |
|
3613 https://bugs.webkit.org/show_bug.cgi?id=36853 |
|
3614 |
|
3615 The regression was caused by r56552, which introduced a fix to bug |
|
3616 webkit.org/b/21300. The bug solved an issue with the resize handle on mac, |
|
3617 but did it in a way that affected all Qt platforms and thus broke the behavior |
|
3618 on non-mac platforms. |
|
3619 |
|
3620 This patch makes the mac specific change ifdef'ed and only applied for the mac |
|
3621 platform. |
|
3622 |
|
3623 * WebCoreSupport/ChromeClientQt.cpp: |
|
3624 (WebCore::ChromeClientQt::windowResizerRect): |
|
3625 |
|
3626 2010-04-15 Bruno Schmidt <bruno.schmidt@gmail.com> |
|
3627 |
|
3628 Reviewed by Kenneth Rohde Christiansen. |
|
3629 |
|
3630 [Qt] Null QObjects properties cause Segmentation Fault |
|
3631 https://bugs.webkit.org/show_bug.cgi?id=34730 |
|
3632 |
|
3633 QObjects exported to the QWebkit javascript with properties that are |
|
3634 a null "QObject*" cause Segmentation Fault. |
|
3635 |
|
3636 If an QObject is added to the javascript context and it contains |
|
3637 properties of the type QObject* with NULL value, calling the property |
|
3638 causes Segmentation Fault. |
|
3639 |
|
3640 Follow the tests for the corrections done over WebCore. |
|
3641 |
|
3642 * tests/qwebframe/tst_qwebframe.cpp: |
|
3643 (MyQObject::MyQObject): init the field m_objectStar |
|
3644 (MyQObject::objectStarProperty): read the Object* prop |
|
3645 (MyQObject::setObjectStarProperty): write the Object* prop |
|
3646 (tst_QWebFrame::getSetStaticProperty): new tests for the new prop |
|
3647 |
|
3648 2010-04-14 Luiz Agostini <luiz.agostini@openbossa.org> |
|
3649 |
|
3650 Reviewed by Kenneth Rohde Christiansen. |
|
3651 |
|
3652 Changing view mode names due to specification changes |
|
3653 https://bugs.webkit.org/show_bug.cgi?id=37615 |
|
3654 |
|
3655 test: fast/media/media-feature-wgt-view-mode.html |
|
3656 |
|
3657 specification: http://dev.w3.org/2006/waf/widgets-vmmf/ |
|
3658 |
|
3659 * WebCoreSupport/ChromeClientQt.cpp: |
|
3660 (WebCore::ChromeClientQt::isWindowed): |
|
3661 (WebCore::ChromeClientQt::isFullscreen): |
|
3662 (WebCore::ChromeClientQt::isMaximized): |
|
3663 (WebCore::ChromeClientQt::isMinimized): |
|
3664 * WebCoreSupport/ChromeClientQt.h: |
|
3665 |
|
3666 2010-04-14 Luiz Agostini <luiz.agostini@openbossa.org> |
|
3667 |
|
3668 Reviewed by Simon Hausmann. |
|
3669 |
|
3670 [Qt] Moving setViewMode from DumpRenderTreeSupportQt to qwebpage.cpp |
|
3671 https://bugs.webkit.org/show_bug.cgi?id=37622 |
|
3672 |
|
3673 Method qt_wrt_setViewMode was removed from qwebpage.cpp by mistake in r57433 |
|
3674 (bug 35844). Moving it back. |
|
3675 |
|
3676 * Api/qwebpage.cpp: |
|
3677 (qt_wrt_setViewMode): |
|
3678 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3679 (DumpRenderTreeSupportQt::setMediaType): |
|
3680 * WebCoreSupport/DumpRenderTreeSupportQt.h: |
|
3681 |
|
3682 2010-04-14 Andreas Kling <andreas.kling@nokia.com> |
|
3683 |
|
3684 Reviewed by Kenneth Rohde Christiansen. |
|
3685 |
|
3686 [Qt] Rendering artifacts on Qt plugins when scrolling the page |
|
3687 https://bugs.webkit.org/show_bug.cgi?id=37152 |
|
3688 |
|
3689 Because we no longer repaint the entire viewport on scroll, |
|
3690 we must trigger a repaint of QtPluginWidgets when their geometry changes. |
|
3691 |
|
3692 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
3693 |
|
3694 2010-04-14 Aaron Boodman <aa@chromium.org> |
|
3695 |
|
3696 Reviewed by David Levin. |
|
3697 |
|
3698 Support relative URLs for notifications on Chromium. They weren't working previously because WebCore was inserting |
|
3699 the relative URL into a KURL instance, but when KURL is backed by GURL as it is on Chromium, relative URLs are |
|
3700 unsupported. Fixed by resolving the relative URL first. |
|
3701 |
|
3702 https://bugs.webkit.org/show_bug.cgi?id=36623 |
|
3703 |
|
3704 Adding tests for this is difficult because we don't currently have DRT support for notifications on Mac, only Windows. |
|
3705 |
|
3706 * WebCoreSupport/NotificationPresenterClientQt.cpp: |
|
3707 (NotificationPresenterClientQt::show): Return type of NotificationContents::iconURL() changed. |
|
3708 |
|
3709 2010-04-13 Timothy Hatcher <timothy@apple.com> |
|
3710 |
|
3711 Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry. |
|
3712 And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists. |
|
3713 |
|
3714 SecurityOrigin needs a way to remove individual OriginAccessEntries |
|
3715 https://bugs.webkit.org/show_bug.cgi?id=37449 |
|
3716 |
|
3717 Reviewed by Dave Hyatt. |
|
3718 |
|
3719 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: |
|
3720 (DumpRenderTreeSupportQt::whiteListAccessFromOrigin): |
|
3721 (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists): |
|
3722 |
|
3723 2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com> |
|
3724 |
|
3725 Unreviewed, rolling out r57468. |
|
3726 http://trac.webkit.org/changeset/57468 |
|
3727 https://bugs.webkit.org/show_bug.cgi?id=37433 |
|
3728 |
|
3729 Broke the world... Must have applied the patch wrong |
|
3730 (Requested by abarth on #webkit). |
|
3731 |
|
3732 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
3733 (WebCore::FrameLoaderClientQt::finishedLoading): |
|
3734 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
3735 (WebCore::FrameLoaderClientQt::committedLoad): |
|
3736 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
3737 |
|
3738 2010-04-11 Adam Barth <abarth@webkit.org> |
|
3739 |
|
3740 Reviewed by Eric Seidel. |
|
3741 |
|
3742 Factor DocumentWriter out of FrameLoader |
|
3743 https://bugs.webkit.org/show_bug.cgi?id=37175 |
|
3744 |
|
3745 Update these callsites because the method moved to DocumentWriter. |
|
3746 |
|
3747 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
3748 (WebCore::FrameLoaderClientQt::finishedLoading): |
|
3749 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
3750 (WebCore::FrameLoaderClientQt::committedLoad): |
|
3751 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
3752 |
|
3753 2010-04-11 Robert Hogan <robert@webkit.org> |
|
3754 |
|
3755 Reviewed by Simon Hausmann. |
|
3756 |
|
3757 [Qt] Add setWillSendRequestReturnsNull and setWillSendRequestClearHeader |
|
3758 |
|
3759 https://bugs.webkit.org/show_bug.cgi?id=37410 |
|
3760 |
|
3761 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
3762 (qt_set_will_send_request_returns_null): |
|
3763 (qt_set_will_send_request_clear_headers): |
|
3764 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest): |
|
3765 |
|
3766 2010-04-10 Robert Hogan <robert@webkit.org> |
|
3767 |
|
3768 Reviewed by Kenneth Rohde Christiansen. |
|
3769 |
|
3770 Refactor Qt DRT support in QtWebKit |
|
3771 |
|
3772 Move all QT DRT support functions to a static class. |
|
3773 |
|
3774 https://bugs.webkit.org/show_bug.cgi?id=35844 |
|
3775 |
|
3776 * Api/qwebframe.cpp: Remove static functions. |
|
3777 * Api/qwebframe.h: Make DumpRenderTreeSupportQt a friend. |
|
3778 * Api/qwebpage.cpp: Remove static functions. |
|
3779 * Api/qwebpage.h: Make DumpRenderTreeSupportQt a friend. |
|
3780 * Api/qwebsecurityorigin.cpp: Remove static functions. |
|
3781 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Added. |
|
3782 (DumpRenderTreeSupportQt::DumpRenderTreeSupportQt): |
|
3783 (DumpRenderTreeSupportQt::~DumpRenderTreeSupportQt): |
|
3784 (DumpRenderTreeSupportQt::overwritePluginDirectories): |
|
3785 (DumpRenderTreeSupportQt::workerThreadCount): |
|
3786 (DumpRenderTreeSupportQt::setDumpRenderTreeModeEnabled): |
|
3787 (DumpRenderTreeSupportQt::setFrameFlatteningEnabled): |
|
3788 (DumpRenderTreeSupportQt::webPageSetGroupName): |
|
3789 (DumpRenderTreeSupportQt::webPageGroupName): |
|
3790 (DumpRenderTreeSupportQt::webInspectorExecuteScript): |
|
3791 (DumpRenderTreeSupportQt::webInspectorClose): |
|
3792 (DumpRenderTreeSupportQt::webInspectorShow): |
|
3793 (DumpRenderTreeSupportQt::setTimelineProfilingEnabled): |
|
3794 (DumpRenderTreeSupportQt::hasDocumentElement): |
|
3795 (DumpRenderTreeSupportQt::setJavaScriptProfilingEnabled): |
|
3796 (DumpRenderTreeSupportQt::pauseAnimation): |
|
3797 (DumpRenderTreeSupportQt::pauseTransitionOfProperty): |
|
3798 (DumpRenderTreeSupportQt::pauseSVGAnimation): |
|
3799 (DumpRenderTreeSupportQt::numberOfActiveAnimations): |
|
3800 (DumpRenderTreeSupportQt::clearFrameName): |
|
3801 (DumpRenderTreeSupportQt::javaScriptObjectsCount): |
|
3802 (DumpRenderTreeSupportQt::garbageCollectorCollect): |
|
3803 (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread): |
|
3804 (DumpRenderTreeSupportQt::counterValueForElementById): |
|
3805 (DumpRenderTreeSupportQt::pageNumberForElementById): |
|
3806 (DumpRenderTreeSupportQt::numberOfPages): |
|
3807 (DumpRenderTreeSupportQt::suspendActiveDOMObjects): |
|
3808 (DumpRenderTreeSupportQt::resumeActiveDOMObjects): |
|
3809 (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld): |
|
3810 (DumpRenderTreeSupportQt::whiteListAccessFromOrigin): |
|
3811 (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists): |
|
3812 (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme): |
|
3813 (DumpRenderTreeSupportQt::setCaretBrowsingEnabled): |
|
3814 (DumpRenderTreeSupportQt::setMediaType): |
|
3815 (DumpRenderTreeSupportQt::setViewMode): |
|
3816 * WebCoreSupport/DumpRenderTreeSupportQt.h: Added. |
|
3817 * WebCoreSupport/EditorClientQt.h: |
|
3818 * tests/qwebpage/tst_qwebpage.cpp: |
|
3819 (tst_QWebPage::multiplePageGroupsAndLocalStorage): |
|
3820 (tst_QWebPage::inputMethodsTextFormat): |
|
3821 (tst_QWebPage::protectBindingsRuntimeObjectsFromCollector): |
|
3822 |
|
3823 2010-04-11 Robert Hogan <robert@webkit.org> |
|
3824 |
|
3825 Reviewed by Simon Hausmann. |
|
3826 |
|
3827 [Qt] Update layoutTestController.DumpResourceLoadCallbacks to match other ports. |
|
3828 |
|
3829 Unskip http/tests/xmlhttprequest/abort-should-cancel-load.html |
|
3830 http/tests/misc/will-send-request-returns-null-on-redirect.html |
|
3831 fast/loader/user-style-sheet-resource-load-callbacks.html |
|
3832 http/tests/misc/window-dot-stop.html |
|
3833 http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html |
|
3834 http/tests/security/XFrameOptions/x-frame-options-deny.html |
|
3835 http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow.html |
|
3836 http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html |
|
3837 http/tests/xmlhttprequest/abort-should-cancel-load.html |
|
3838 |
|
3839 QNetworkReply::OperationCanceledError has a value of 5, so update expected results accordingly. |
|
3840 |
|
3841 https://bugs.webkit.org/show_bug.cgi?id=37237 |
|
3842 |
|
3843 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
3844 (qt_set_will_send_request_returns_null_on_redirect): |
|
3845 (drtDescriptionSuitableForTestResult): |
|
3846 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest): |
|
3847 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): |
|
3848 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading): |
|
3849 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
3850 |
|
3851 2010-04-10 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
3852 |
|
3853 Reviewed by Kenneth Rohde Christiansen. |
|
3854 |
|
3855 [Qt] Implement Desktop Notifications API for QtWebKit |
|
3856 https://bugs.webkit.org/show_bug.cgi?id=35503 |
|
3857 |
|
3858 Map WebKit notifications to Qt's SystemTray API and |
|
3859 implement DRT tracing. |
|
3860 |
|
3861 This patch does not implement the security part of |
|
3862 WebKit notifications. |
|
3863 |
|
3864 * Api/qwebpage.cpp: |
|
3865 (QWebPagePrivate::QWebPagePrivate): |
|
3866 * Api/qwebpage.h: |
|
3867 * Api/qwebpage_p.h: |
|
3868 * WebCoreSupport/ChromeClientQt.cpp: |
|
3869 (WebCore::ChromeClientQt::notificationPresenter): |
|
3870 * WebCoreSupport/ChromeClientQt.h: |
|
3871 * WebCoreSupport/NotificationPresenterClientQt.cpp: Added. |
|
3872 (qt_dump_notification): |
|
3873 (NotificationPresenterClientQt::NotificationPresenterClientQt): |
|
3874 (NotificationPresenterClientQt::show): |
|
3875 (NotificationPresenterClientQt::cancel): |
|
3876 (NotificationPresenterClientQt::notificationObjectDestroyed): |
|
3877 (NotificationPresenterClientQt::requestPermission): |
|
3878 (NotificationPresenterClientQt::checkPermission): |
|
3879 * WebCoreSupport/NotificationPresenterClientQt.h: Added. |
|
3880 |
|
3881 2010-04-09 Tasuku Suzuki <tasuku.suzuki@nokia.com> |
|
3882 |
|
3883 Reviewed by Simon Hausmann. |
|
3884 |
|
3885 [Qt]Fix compile error with QT_NO_IM |
|
3886 https://bugs.webkit.org/show_bug.cgi?id=36533 |
|
3887 |
|
3888 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
3889 (WebCore::QtFallbackWebPopupCombo::hidePopup): |
|
3890 |
|
3891 2010-04-09 Yi Shen <yi.4.shen@nokia.com> |
|
3892 |
|
3893 Reviewed by Kenneth Rohde Christiansen. |
|
3894 |
|
3895 [Qt] tst_QWebFrame::popupFocus() fails |
|
3896 https://bugs.webkit.org/show_bug.cgi?id=37320 |
|
3897 |
|
3898 The QWebPopup class has been moved & renamed, so tst_QWebFrame::popupFocus() should use |
|
3899 the class name "QComboBox", rather than "WebCore::QWebPopup" to find the popup menu. |
|
3900 |
|
3901 * tests/qwebframe/tst_qwebframe.cpp: |
|
3902 |
|
3903 2010-04-09 Antonio Gomes <tonikitoo@webkit.org> |
|
3904 |
|
3905 Reviewed by Holger Freyther. |
|
3906 |
|
3907 Removing the use of topLevelWidget of QWidget class since it is deprecated/obsolete |
|
3908 since Qt 4.5. window() method is being used instead now. |
|
3909 |
|
3910 See http://doc.trolltech.com/4.5/qwidget-obsolete.html#topLevelWidget for more info. |
|
3911 |
|
3912 * WebCoreSupport/ChromeClientQt.cpp: |
|
3913 (WebCore::ChromeClientQt::windowRect): |
|
3914 (WebCore::ChromeClientQt::show): |
|
3915 (WebCore::ChromeClientQt::windowResizerRect): |
|
3916 |
|
3917 2010-04-09 Tasuku Suzuki <tasuku.suzuki@nokia.com> |
|
3918 |
|
3919 Reviewed by Simon Hausmann. |
|
3920 |
|
3921 [Qt] Fix compile error with QT_NO_ACTION |
|
3922 https://bugs.webkit.org/show_bug.cgi?id=36529 |
|
3923 |
|
3924 Make sure QT_NO_ACTION is not defined to use QAction |
|
3925 |
|
3926 * Api/qgraphicswebview.cpp: |
|
3927 (QGraphicsWebView::pageAction): |
|
3928 * Api/qwebpage.cpp: |
|
3929 (QWebPagePrivate::updateAction): |
|
3930 (QWebPage::updatePositionDependentActions): |
|
3931 * Api/qwebpage.h: |
|
3932 * Api/qwebview.cpp: |
|
3933 * Api/qwebview.h: |
|
3934 |
|
3935 2010-04-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
3936 |
|
3937 Reviewed by Lars Knoll. |
|
3938 |
|
3939 [Qt] tests/qgraphicswebview fails |
|
3940 https://bugs.webkit.org/show_bug.cgi?id=37317 |
|
3941 |
|
3942 * Api/qwebpage.cpp: |
|
3943 (QWebPage::userAgentForUrl): Don't crash if the ownerWidget is null. |
|
3944 |
|
3945 2010-04-08 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
3946 |
|
3947 Reviewed by Simon Hausmann. |
|
3948 |
|
3949 [Qt] Warnings when compiling InspectorClientQt.cpp |
|
3950 https://bugs.webkit.org/show_bug.cgi?id=37266 |
|
3951 |
|
3952 Add a default: for the switch()-case to avoid |
|
3953 warnings. |
|
3954 |
|
3955 * WebCoreSupport/InspectorClientQt.cpp: |
|
3956 (WebCore::variantToSetting): |
|
3957 |
|
3958 2010-04-01 Antonio Gomes <tonikitoo@webkit.org> |
|
3959 |
|
3960 Reviewed by David Hyatt. |
|
3961 |
|
3962 [Qt] REGRESSION:(r50665) QWebFrame::setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff) has no effect. |
|
3963 https://bugs.webkit.org/show_bug.cgi?id=29431 |
|
3964 |
|
3965 Make use of the new lock parameter of set{Vertical,Horizontal}ScrollbarMode. |
|
3966 |
|
3967 Always added a qt auto test for set scrollbar policy feature. |
|
3968 |
|
3969 * Api/qwebframe.cpp: |
|
3970 (QWebFrame::setScrollBarPolicy): |
|
3971 * tests/qwebframe/tst_qwebframe.cpp: |
|
3972 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
3973 (FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
3974 |
|
3975 2010-04-08 Joe Ligman <joseph.ligman@nokia.com> |
|
3976 |
|
3977 Reviewed by Simon Hausmann. |
|
3978 |
|
3979 [Qt] WebKit crashes while input text through input method. |
|
3980 The formatted text underline painting crashes when painting with invalid indexes. |
|
3981 https://bugs.webkit.org/show_bug.cgi?id=36870 |
|
3982 |
|
3983 * Api/qwebpage.cpp: |
|
3984 (QWebPagePrivate::inputMethodEvent): |
|
3985 * tests/qwebpage/tst_qwebpage.cpp: |
|
3986 (tst_QWebPage::inputMethodsTextFormat_data): |
|
3987 (tst_QWebPage::inputMethodsTextFormat): |
|
3988 |
|
3989 2010-04-08 Joe Ligman <joseph.ligman@nokia.com> |
|
3990 |
|
3991 Reviewed by Simon Hausmann. |
|
3992 |
|
3993 [Qt] qtwebkit_webframe_scrollRecursively scrolls when body.style.overflow="hidden" |
|
3994 https://bugs.webkit.org/show_bug.cgi?id=36674 |
|
3995 |
|
3996 The scrolling check was based on the frameview's scrolloffset, and |
|
3997 maximumScrollPosition, which does not acknowledge the overflow properties. |
|
3998 |
|
3999 I am now basing the scrolling off the scrollbar position. The scrollbars are |
|
4000 affected by the overflow properties indicating when not to scroll. The scrollbar |
|
4001 positions also continue to work for CSS ::-webkit-scrollbar styles. |
|
4002 |
|
4003 * Api/qwebframe.cpp: |
|
4004 (qtwebkit_webframe_scrollRecursively): |
|
4005 |
|
4006 2010-04-07 Andrey Kosyakov <caseq@chromium.org> |
|
4007 |
|
4008 Reviewed by Yury Semikhatsky. |
|
4009 |
|
4010 Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest() |
|
4011 https://bugs.webkit.org/show_bug.cgi?id=36949 |
|
4012 |
|
4013 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
4014 * WebCoreSupport/FrameLoaderClientQt.h: |
|
4015 |
|
4016 2010-04-07 Dawit Alemayehu <adawit@kde.org> |
|
4017 |
|
4018 Reviewed by Simon Hausmann. |
|
4019 |
|
4020 https://bugs.webkit.org/show_bug.cgi?id=36827 |
|
4021 |
|
4022 Updated the WebCore::shouldTreatAsAttachement function call with the |
|
4023 new more generic replacement WebCore::contentDispositionType. |
|
4024 |
|
4025 See comments 39-42 in https://bugs.webkit.org/show_bug.cgi?id=36395 |
|
4026 |
|
4027 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
4028 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
4029 |
|
4030 2010-04-07 Andreas Kling <andreas.kling@nokia.com> |
|
4031 |
|
4032 Reviewed by Simon Hausmann. |
|
4033 |
|
4034 [Qt] When providing a widget for the PDF mime type it will cause a crash |
|
4035 |
|
4036 m_pluginView may actually be a Widget (for embedded Qt widgets), |
|
4037 so always check isPluginView() before calling PluginView specific methods. |
|
4038 |
|
4039 https://bugs.webkit.org/show_bug.cgi?id=29450 |
|
4040 |
|
4041 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
4042 (WebCore::FrameLoaderClientQt::finishedLoading): |
|
4043 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
4044 (WebCore::FrameLoaderClientQt::committedLoad): |
|
4045 |
|
4046 2010-04-06 Diego Gonzalez <diego.gonzalez@openbossa.org> |
|
4047 |
|
4048 Reviewed by Simon Hausmann. |
|
4049 |
|
4050 [Qt] Add mechanism to detect QtWebKit 2.0 via the preprocessor |
|
4051 https://bugs.webkit.org/show_bug.cgi?id=36538 |
|
4052 |
|
4053 * Api/qwebkitglobal.h: |
|
4054 |
|
4055 2010-04-02 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
4056 |
|
4057 Reviewed by Kenneth Rohde Christiansen. |
|
4058 |
|
4059 [Qt] [Symbian] Rebaseline Symbian def file |
|
4060 https://bugs.webkit.org/show_bug.cgi?id=37038 |
|
4061 |
|
4062 Switch the ordinal numbers for qtwebkit_webframe_scrollRecursively |
|
4063 and QWebInspector::closeEvent to match QtWebkit 4.6 branch |
|
4064 |
|
4065 Fix the signature for qt_drt_setFrameFlatteningEnabled |
|
4066 after r56718. |
|
4067 |
|
4068 Add new QtWebKit API symbols introduced not listed in the file yet. |
|
4069 |
|
4070 * symbian/eabi/QtWebKitu.def: |
|
4071 |
|
4072 2010-03-30 Antonio Gomes <tonikitoo@webkit.org> |
|
4073 |
|
4074 Reviewed by Adam Treat. |
|
4075 |
|
4076 Stored focused frame and document in a vars, instead of querying for them many times. |
|
4077 |
|
4078 * Api/qwebpage.cpp: |
|
4079 (QWebPagePrivate::mousePressEvent(QEvent* ev)): |
|
4080 (QWebPagePrivate::mousePressEvent(QGraphicsSceneMouseEvent* ev): |
|
4081 |
|
4082 2010-04-02 Tasuku Suzuki <tasuku.suzuki@nokia.com> |
|
4083 |
|
4084 Reviewed by Eric Seidel. |
|
4085 |
|
4086 [Qt]Fix compile error with QT_NO_SETTINGS |
|
4087 https://bugs.webkit.org/show_bug.cgi?id=36533 |
|
4088 |
|
4089 If QT_NO_SETTINGS is defined, QSettings is not available. |
|
4090 |
|
4091 * WebCoreSupport/InspectorClientQt.cpp: |
|
4092 (WebCore::InspectorClientQt::populateSetting): |
|
4093 (WebCore::InspectorClientQt::storeSetting): |
|
4094 |
|
4095 2010-04-02 Luiz Agostini <luiz.agostini@openbossa.org> |
|
4096 |
|
4097 Reviewed by Kenneth Rohde Christiansen. |
|
4098 |
|
4099 [Qt] Maemo5 theme - customized popup for <select multiple> elements |
|
4100 https://bugs.webkit.org/show_bug.cgi?id=36368 |
|
4101 |
|
4102 Using QtMaemoWebPopup instead of QtFallbackWebPopup for Maemo. |
|
4103 |
|
4104 * WebCoreSupport/ChromeClientQt.cpp: |
|
4105 (WebCore::ChromeClientQt::createSelectPopup): |
|
4106 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
4107 (WebCore::QtFallbackWebPopup::show): |
|
4108 (WebCore::QtFallbackWebPopup::populate): |
|
4109 |
|
4110 2010-04-01 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> |
|
4111 |
|
4112 Reviewed by Kenneth Rohde Christiansen. |
|
4113 |
|
4114 Add Single and Multiple Selection Popup for Maemo 5. |
|
4115 |
|
4116 [Qt] Maemo5 theme - popup dialogs |
|
4117 https://bugs.webkit.org/show_bug.cgi?id=36789 |
|
4118 |
|
4119 * WebCoreSupport/QtMaemoWebPopup.cpp: |
|
4120 (WebCore::Maemo5Popup::populateList): |
|
4121 (WebCore::Maemo5Popup::onItemSelected): |
|
4122 (WebCore::QtMaemoWebPopup::createSingleSelectionPopup): |
|
4123 (WebCore::QtMaemoWebPopup::createMultipleSelectionPopup): |
|
4124 (WebCore::Maemo5SingleSelectionPopup::Maemo5SingleSelectionPopup): |
|
4125 (WebCore::MultipleItemListDelegate::MultipleItemListDelegate): |
|
4126 (WebCore::MultipleItemListDelegate::paint): |
|
4127 (WebCore::Maemo5MultipleSelectionPopup::Maemo5MultipleSelectionPopup): |
|
4128 * WebCoreSupport/QtMaemoWebPopup.h: |
|
4129 |
|
4130 2010-03-31 Marcus Bulach <bulach@chromium.org> |
|
4131 |
|
4132 Reviewed by Jeremy Orlow. |
|
4133 |
|
4134 Adds Geolocation param for cancelGeolocationPermissionRequestForFrame. |
|
4135 https://bugs.webkit.org/show_bug.cgi?id=35031 |
|
4136 |
|
4137 * WebCoreSupport/ChromeClientQt.h: |
|
4138 (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame): |
|
4139 |
|
4140 2010-03-31 Antti Koivisto <koivisto@iki.fi> |
|
4141 |
|
4142 Reviewed by Kenneth Rohde Christiansen. |
|
4143 |
|
4144 https://bugs.webkit.org/show_bug.cgi?id=36446 |
|
4145 [Qt] QWebSettings::TiledBackingStoreEnabled attribute lacks documentation and default value |
|
4146 |
|
4147 * Api/qgraphicswebview.cpp: |
|
4148 * Api/qwebsettings.cpp: |
|
4149 (QWebSettings::QWebSettings): |
|
4150 |
|
4151 2010-03-30 Gavin Barraclough <barraclough@apple.com> |
|
4152 |
|
4153 Rubber stamped by Sam Weinig. |
|
4154 |
|
4155 https://bugs.webkit.org/show_bug.cgi?id=36866 |
|
4156 Move CString to WTF |
|
4157 |
|
4158 * Api/qwebelement.cpp: |
|
4159 |
|
4160 2010-03-30 Joe Ligman <joseph.ligman@nokia.com> |
|
4161 |
|
4162 Reviewed by Kenneth Rohde Christiansen. |
|
4163 |
|
4164 [Qt] QGraphicsScene mousePressEvent does not set the clickCausedFocus flag |
|
4165 https://bugs.webkit.org/show_bug.cgi?id=35259 |
|
4166 |
|
4167 The clickCausedFocus flag is not being set in method |
|
4168 mousePressEvent(QGraphicsSceneMouseEvent* ev). This flag is used |
|
4169 in conjunction with QStyle::RSIP_OnMouseClickAndAlreadyFocused when |
|
4170 deciding to launch the software input panel. |
|
4171 |
|
4172 * Api/qwebpage.cpp: |
|
4173 (QWebPagePrivate::mousePressEvent): |
|
4174 |
|
4175 2010-03-30 Luiz Agostini <luiz.agostini@openbossa.org> |
|
4176 |
|
4177 Reviewed by Kenneth Rohde Christiansen. |
|
4178 |
|
4179 [Qt] Maemo5 theme - QtMaemoWebPopup class |
|
4180 https://bugs.webkit.org/show_bug.cgi?id=36790 |
|
4181 |
|
4182 A new QtAbstractWebPopup descendant class to be used for maemo menu lists. |
|
4183 This is the first step. The next step will be the dialogs implementation that |
|
4184 will come in bug 36789 and finally to use QtMaemoWebPopup instead of QtFallbackWebPopup |
|
4185 that will come in bug 36368. |
|
4186 |
|
4187 * WebCoreSupport/QtMaemoWebPopup.cpp: Added. |
|
4188 (WebCore::QtMaemoWebPopup::QtMaemoWebPopup): |
|
4189 (WebCore::QtMaemoWebPopup::~QtMaemoWebPopup): |
|
4190 (WebCore::QtMaemoWebPopup::createSingleSelectionPopup): |
|
4191 (WebCore::QtMaemoWebPopup::createMultipleSelectionPopup): |
|
4192 (WebCore::QtMaemoWebPopup::createPopup): |
|
4193 (WebCore::QtMaemoWebPopup::show): |
|
4194 (WebCore::QtMaemoWebPopup::hide): |
|
4195 (WebCore::QtMaemoWebPopup::popupClosed): |
|
4196 (WebCore::QtMaemoWebPopup::itemClicked): |
|
4197 * WebCoreSupport/QtMaemoWebPopup.h: Added. |
|
4198 (WebCore::Maemo5Popup::Maemo5Popup): |
|
4199 |
|
4200 2010-03-29 Dawit Alemayehu <adawit@kde.org> |
|
4201 |
|
4202 Reviewed by Simon Hausmann. |
|
4203 |
|
4204 [Qt] Added support for handling the HTTP "Content-Disposition" header. |
|
4205 |
|
4206 https://bugs.webkit.org/show_bug.cgi?id=36395 |
|
4207 |
|
4208 Whenever a server response contains a "Content-Disposition: attachment..." header, |
|
4209 treat the request as a download and emit the unsupportedContent signal. |
|
4210 |
|
4211 * Api/qwebpage.cpp: |
|
4212 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
4213 (WebCore::FrameLoaderClientQt::download): |
|
4214 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
4215 |
|
4216 2010-03-22 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
4217 |
|
4218 Reviewed by Simon Fraser. |
|
4219 |
|
4220 Add support for Widgets 1.0: View Mode Media Feature |
|
4221 https://bugs.webkit.org/show_bug.cgi?id=35446 |
|
4222 |
|
4223 Add an internal Qt API for changing the view mode media feature |
|
4224 (http://www.w3.org/TR/widgets-vmmf/). |
|
4225 |
|
4226 * Api/qwebpage.cpp: |
|
4227 (qt_wrt_setViewMode): |
|
4228 (QWebPagePrivate::priv): |
|
4229 * Api/qwebpage_p.h: |
|
4230 * WebCoreSupport/ChromeClientQt.cpp: |
|
4231 (WebCore::ChromeClientQt::isDocked): |
|
4232 (WebCore::ChromeClientQt::isFloating): |
|
4233 (WebCore::ChromeClientQt::isApplication): |
|
4234 (WebCore::ChromeClientQt::isFullscreen): |
|
4235 * WebCoreSupport/ChromeClientQt.h: |
|
4236 |
|
4237 2010-03-29 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
4238 |
|
4239 Reviewed by Antti Koivisto. |
|
4240 |
|
4241 Use 'Mobile Safari' instead of 'Safari' on mobile Qt platforms. |
|
4242 |
|
4243 * Api/qwebpage.cpp: |
|
4244 (QWebPage::userAgentForUrl): |
|
4245 |
|
4246 2010-03-29 Simon Hausmann <simon.hausmann@nokia.com> |
|
4247 |
|
4248 Reviewed by Tor Arne Vestbø. |
|
4249 |
|
4250 [Qt] unit tests don't compile inside of Qt |
|
4251 |
|
4252 https://bugs.webkit.org/show_bug.cgi?id=36756 |
|
4253 |
|
4254 * tests/tests.pri: Don't do the target substitution inside Qt and find the sources |
|
4255 through VPATH instead of relying on the location of the .pro file exclusively. |
|
4256 |
|
4257 2010-03-26 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
4258 |
|
4259 Reviewed by Antti Koivisto. |
|
4260 |
|
4261 Change due to renaming of frame flattening setting. |
|
4262 |
|
4263 * Api/qwebpage.cpp: |
|
4264 (qt_drt_setFrameFlatteningEnabled): |
|
4265 * Api/qwebsettings.cpp: |
|
4266 (QWebSettingsPrivate::apply): |
|
4267 * symbian/eabi/QtWebKitu.def: |
|
4268 |
|
4269 2010-03-28 Alexey Proskuryakov <ap@apple.com> |
|
4270 |
|
4271 Build fix. Include WindowsKeyboardCodes.h instead of KeyboardCodes.h. |
|
4272 |
|
4273 * WebCoreSupport/EditorClientQt.cpp: |
|
4274 |
|
4275 2010-03-26 Olivier Goffart <ogoffart@trolltech.com> |
|
4276 |
|
4277 Reviewed by Simon Hausmann. |
|
4278 |
|
4279 [Qt] Compile with QT_USE_FAST_OPERATOR_PLUS |
|
4280 |
|
4281 * WebCoreSupport/InspectorClientQt.cpp: |
|
4282 (WebCore::InspectorClientQt::populateSetting): |
|
4283 (WebCore::InspectorClientQt::storeSetting): |
|
4284 |
|
4285 2010-03-26 David Boddie <dboddie@trolltech.com> |
|
4286 |
|
4287 Reviewed by Simon Hausmann. |
|
4288 |
|
4289 [Qt] Doc: Simplified Commercial Editions for Qt 4.7. |
|
4290 |
|
4291 * docs/qtwebkit.qdoc: |
|
4292 |
|
4293 2010-03-26 Simon Hausmann <simon.hausmann@nokia.com> |
|
4294 |
|
4295 Symbian build fix. |
|
4296 |
|
4297 [Qt] Updated the def file with new exports used by QtLauncher. |
|
4298 |
|
4299 * symbian/eabi/QtWebKitu.def: |
|
4300 |
|
4301 2010-03-25 Yael Aharon <yael.aharon@nokia.com> |
|
4302 |
|
4303 Reviewed by Kenneth Rohde Christiansen. |
|
4304 |
|
4305 [Qt] QtLauncher crashes on Mac OS and Linux when exiting with QGraphicsView mode enabled |
|
4306 https://bugs.webkit.org/show_bug.cgi?id=35251 |
|
4307 |
|
4308 Followed the way QWebView registers for the signal QWebPage::destroyed(), to prevent |
|
4309 QGraphicsWebView from referencing QWebPage after it was deleted. |
|
4310 |
|
4311 * Api/qgraphicswebview.cpp: |
|
4312 (QGraphicsWebViewPrivate::_q_pageDestroyed): |
|
4313 (QGraphicsWebView::setPage): |
|
4314 * Api/qgraphicswebview.h: |
|
4315 |
|
4316 2010-03-25 Kent Hansen <kent.hansen@nokia.com> |
|
4317 |
|
4318 Reviewed by Simon Hausmann. |
|
4319 |
|
4320 [Qt] QWebFrame::pageChanged() signal is not documented |
|
4321 https://bugs.webkit.org/show_bug.cgi?id=36609 |
|
4322 |
|
4323 * Api/qwebframe.cpp: |
|
4324 |
|
4325 2010-03-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
4326 |
|
4327 Reviewed by Simon Hausmann. |
|
4328 |
|
4329 [Qt] Implement ChromeClient::windowResizerRect() |
|
4330 |
|
4331 https://bugs.webkit.org/show_bug.cgi?id=21300 |
|
4332 |
|
4333 We assume the resize corner to be in the lower right corner of |
|
4334 the window and having the width and height of the scrollbars. |
|
4335 |
|
4336 The helper function geometryRelativeToOwnerWidget() in the page |
|
4337 client is used to clip the resize rect to the actual size of the |
|
4338 viewport, not the size of the QGraphicsView. |
|
4339 |
|
4340 * Api/qgraphicswebview.cpp: |
|
4341 * Api/qwebpage.cpp: |
|
4342 * WebCoreSupport/ChromeClientQt.cpp: |
|
4343 |
|
4344 2010-03-25 Shu Chang <chang.shu@nokia.com> |
|
4345 |
|
4346 Reviewed by Simon Hausmann. |
|
4347 |
|
4348 [Qt] Added documentation for delete button. |
|
4349 https://bugs.webkit.org/show_bug.cgi?id=31560 |
|
4350 |
|
4351 * Api/qwebsettings.cpp: |
|
4352 |
|
4353 2010-03-25 Tasuku Suzuki <tasuku.suzuki@nokia.com> |
|
4354 |
|
4355 Reviewed by Eric Seidel. |
|
4356 |
|
4357 [Qt]Fix compile error with QT_NO_DESKTOPSERVICES |
|
4358 https://bugs.webkit.org/show_bug.cgi?id=36533 |
|
4359 |
|
4360 * Api/qwebsettings.cpp: |
|
4361 (QWebSettings::enablePersistentStorage): |
|
4362 |
|
4363 2010-03-25 Tasuku Suzuki <tasuku.suzuki@nokia.com> |
|
4364 |
|
4365 Reviewed by Eric Seidel. |
|
4366 |
|
4367 [Qt]Fix compile error with QT_NO_DEBUG_STREAM |
|
4368 https://bugs.webkit.org/show_bug.cgi?id=36533 |
|
4369 |
|
4370 * Api/qgraphicswebview.cpp: |
|
4371 (QGraphicsWebViewPrivate::graphicsItemVisibleRect): |
|
4372 |
|
4373 2010-03-25 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
4374 |
|
4375 Reviewed by Eric Seidel. |
|
4376 |
|
4377 Make QWebPage not depend on view() but use the client->ownerWidget() |
|
4378 instead. Also, handle the case where there is not page client. |
|
4379 |
|
4380 * Api/qwebpage.cpp: |
|
4381 (QWebPagePrivate::createContextMenu): |
|
4382 (QWebPagePrivate::keyPressEvent): |
|
4383 (QWebPage::javaScriptAlert): |
|
4384 (QWebPage::javaScriptConfirm): |
|
4385 (QWebPage::javaScriptPrompt): |
|
4386 (QWebPage::shouldInterruptJavaScript): |
|
4387 (QWebPage::createWindow): |
|
4388 (QWebPage::action): |
|
4389 (QWebPage::extension): |
|
4390 (QWebPage::chooseFile): |
|
4391 (QWebPage::userAgentForUrl): |
|
4392 |
|
4393 2010-03-24 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> |
|
4394 |
|
4395 Reviewed by Kenneth Rohde Christiansen. |
|
4396 |
|
4397 Add the FrameFlatteningEnabled WebAttribute to QWebSettings. |
|
4398 |
|
4399 [Qt] Missing QWebSettings for Frame Flattening |
|
4400 https://bugs.webkit.org/show_bug.cgi?id=36553 |
|
4401 |
|
4402 * Api/qwebsettings.cpp: |
|
4403 (QWebSettingsPrivate::apply): |
|
4404 (QWebSettings::QWebSettings): |
|
4405 * Api/qwebsettings.h: |
|
4406 |
|
4407 2010-03-24 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> |
|
4408 |
|
4409 Reviewed by Laszlo Gombos. |
|
4410 |
|
4411 Auto-uppercase and predictive text need to be disabled for S60 (as for maemo) |
|
4412 https://bugs.webkit.org/show_bug.cgi?id=33176 |
|
4413 |
|
4414 * WebCoreSupport/EditorClientQt.cpp: |
|
4415 |
|
4416 2010-03-24 Kent Hansen <kent.hansen@nokia.com> |
|
4417 |
|
4418 Reviewed by Simon Hausmann. |
|
4419 |
|
4420 [Qt] Rename QWebSettings::XSSAuditorEnabled to XSSAuditingEnabled |
|
4421 https://bugs.webkit.org/show_bug.cgi?id=36522 |
|
4422 |
|
4423 For consistency with other QWebSettings attributes. |
|
4424 |
|
4425 * Api/qwebsettings.cpp: |
|
4426 (QWebSettingsPrivate::apply): |
|
4427 * Api/qwebsettings.h: |
|
4428 |
|
4429 2010-03-23 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
4430 |
|
4431 Reviewed by Simon Hausmann. |
|
4432 |
|
4433 Calling setView(0) on a QWebPage being shown by a QGraphicsWebView, |
|
4434 would uninstall the page client, deleting the QGraphicsWebViewPrivate |
|
4435 instance. If called with an argument, it would do a wrong static_cast |
|
4436 and crash. |
|
4437 |
|
4438 * Api/qwebpage.cpp: |
|
4439 (QWebPageWidgetClient::QWebPageWidgetClient): |
|
4440 (QWebPageWidgetClient::isQWidgetClient): |
|
4441 (QWebPageWidgetClient::screenNumber): |
|
4442 (QWebPage::QWebPage): |
|
4443 (QWebPage::setView): |
|
4444 * Api/qgraphicswebview.cpp: |
|
4445 (QGraphicsWebViewPrivate::unsetPageIfExists): |
|
4446 (QGraphicsWebView::setPage): |
|
4447 * Api/qwebpage.cpp: |
|
4448 (QWebPageWidgetClient::isQWidgetClient): |
|
4449 (QWebPageWidgetClient::screenNumber): |
|
4450 (QWebPage::QWebPage): |
|
4451 (QWebPage::setView): |
|
4452 * Api/qwebpage.h: |
|
4453 * Api/qwebview.cpp: |
|
4454 (QWebViewPrivate::unsetPageIfExists): |
|
4455 (QWebView::setPage): |
|
4456 |
|
4457 2010-03-24 Kent Tamura <tkent@chromium.org> |
|
4458 |
|
4459 Reviewed by Darin Adler. |
|
4460 |
|
4461 Make Icon::createIconForFiles() optional. |
|
4462 https://bugs.webkit.org/show_bug.cgi?id=35072 |
|
4463 |
|
4464 - Rename iconForFiles() to chooseIconForFiles(). |
|
4465 - Call Icon::createIconForFiles() from chooseIconForFiles(). |
|
4466 |
|
4467 * WebCoreSupport/ChromeClientQt.cpp: |
|
4468 (WebCore::ChromeClientQt::chooseIconForFiles): |
|
4469 * WebCoreSupport/ChromeClientQt.h: |
|
4470 |
|
4471 2010-03-23 Luiz Agostini <luiz.agostini@openbossa.org> |
|
4472 |
|
4473 Reviewed by Kenneth Rohde Christiansen. |
|
4474 |
|
4475 QGraphicsWebView crash when calling setView on the QWebPage... |
|
4476 https://bugs.webkit.org/show_bug.cgi?id=36436 |
|
4477 |
|
4478 Checking for pageClient existance before showing popups. |
|
4479 |
|
4480 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
4481 (WebCore::QtFallbackWebPopup::show): |
|
4482 |
|
4483 2010-03-23 Anders Bakken <anders.bakken@nokia.com>, Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> |
|
4484 |
|
4485 Reviewed by Kenneth Rohde Christiansen. |
|
4486 |
|
4487 Check if q->scene() is available before actually using it |
|
4488 on QGraphicsWebViewPrivate. |
|
4489 |
|
4490 QGraphicsWebView crash |
|
4491 https://bugs.webkit.org/show_bug.cgi?id=32670 |
|
4492 |
|
4493 * Api/qgraphicswebview.cpp: |
|
4494 (QGraphicsWebViewPrivate::screenNumber): |
|
4495 (QGraphicsWebViewPrivate::ownerWidget): |
|
4496 |
|
4497 2010-03-23 David Leong <david.leong@nokia.com> |
|
4498 |
|
4499 Reviewed by Laszlo Gombos. |
|
4500 |
|
4501 Build fix for Symbian Def file. |
|
4502 |
|
4503 * symbian/eabi/QtWebKitu.def: |
|
4504 |
|
4505 2010-03-23 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
4506 |
|
4507 Reviewed by Kenneth Rohde Christiansen. |
|
4508 |
|
4509 [Qt] Remove support for Qt v4.4 |
|
4510 https://bugs.webkit.org/show_bug.cgi?id=36389 |
|
4511 |
|
4512 * Api/qwebelement.cpp: |
|
4513 (QWebElement::classes): |
|
4514 * Api/qwebpage.cpp: |
|
4515 (QWebPagePrivate::editorActionForKeyEvent): |
|
4516 (QWebPage::userAgentForUrl): |
|
4517 * WebCoreSupport/EditorClientQt.cpp: |
|
4518 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
4519 * tests/tests.pro: |
|
4520 |
|
4521 2010-03-22 Kent Hansen <kent.hansen@nokia.com> |
|
4522 |
|
4523 Reviewed by Laszlo Gombos. |
|
4524 |
|
4525 [Qt] Fix qdoc warnings |
|
4526 https://bugs.webkit.org/show_bug.cgi?id=36447 |
|
4527 |
|
4528 * Api/qgraphicswebview.cpp: Add missing (). |
|
4529 * Api/qwebframe.cpp: Remove reference to non-existent parameter "url". |
|
4530 * Api/qwebsettings.cpp: Document parameter "location". |
|
4531 |
|
4532 2010-03-22 Jakub Wieczorek <jwieczorek@webkit.org> |
|
4533 |
|
4534 Reviewed by Simon Hausmann. |
|
4535 |
|
4536 [Qt] Don't construct a QLineEdit every time when painting a text field |
|
4537 https://bugs.webkit.org/show_bug.cgi?id=36373 |
|
4538 |
|
4539 Add a simple benchmark covering this area. |
|
4540 |
|
4541 * tests/benchmarks/painting/tst_painting.cpp: |
|
4542 (tst_Painting::textAreas): |
|
4543 |
|
4544 2010-03-22 Yi Shen <shenyi2006@gmail.com> |
|
4545 |
|
4546 Reviewed by Simon Hausmann. |
|
4547 |
|
4548 https://bugs.webkit.org/show_bug.cgi?id=35933 |
|
4549 [Qt] [Symbian] Can not backward select (highlight) text using virtual keyboard |
|
4550 Make sure the selection start index is smaller than the selection end index. |
|
4551 |
|
4552 * Api/qwebpage.cpp: |
|
4553 (QWebPagePrivate::inputMethodEvent): |
|
4554 * tests/qwebpage/tst_qwebpage.cpp: |
|
4555 (tst_QWebPage::inputMethods): |
|
4556 |
|
4557 2010-03-21 Kristian Amlie <kristian.amlie@nokia.com> |
|
4558 |
|
4559 Reviewed by Simon Hausmann. |
|
4560 |
|
4561 Fixed updating the VKB display when inputting into QGraphicsWebView. |
|
4562 https://bugs.webkit.org/show_bug.cgi?id=36292 |
|
4563 |
|
4564 * Api/qgraphicswebview.cpp: |
|
4565 (QGraphicsWebViewPrivate::_q_updateMicroFocus): |
|
4566 (QGraphicsWebView::setPage): |
|
4567 * Api/qgraphicswebview.h: |
|
4568 |
|
4569 2010-03-19 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
4570 |
|
4571 Unreviewed. |
|
4572 |
|
4573 Buildfix for Qt v4.5. |
|
4574 |
|
4575 * Api/qgraphicswebview.cpp: |
|
4576 (QGraphicsWebViewOverlay::q): |
|
4577 |
|
4578 2010-03-18 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
4579 |
|
4580 Reviewed by Darin Adler. |
|
4581 |
|
4582 Make it possible for the Qt DRT to set the media type from |
|
4583 the LayoutTestController. |
|
4584 |
|
4585 * Api/qwebframe.cpp: |
|
4586 (qt_drt_setMediaType): |
|
4587 |
|
4588 2010-03-18 Joe Ligman <joseph.ligman@nokia.com> |
|
4589 |
|
4590 Reviewed by Simon Hausmann. |
|
4591 |
|
4592 [Qt] New API scrollRecursively has several problems. |
|
4593 https://bugs.webkit.org/show_bug.cgi?id=35873 |
|
4594 |
|
4595 Remove scrollRecursively from the Qt 4.7 API |
|
4596 Update the internal API to accept a hit test position |
|
4597 for nested scrolling |
|
4598 |
|
4599 * Api/qwebframe.cpp: |
|
4600 (webframe_scrollOverflow): |
|
4601 (qtwebkit_webframe_scrollRecursively): |
|
4602 * Api/qwebframe.h: |
|
4603 * Api/qwebframe_p.h: |
|
4604 * tests/qwebframe/tst_qwebframe.cpp: |
|
4605 |
|
4606 2010-03-18 Antti Koivisto <koivisto@iki.fi> |
|
4607 |
|
4608 Reviewed by Kenneth Rohde Christiansen. |
|
4609 |
|
4610 https://bugs.webkit.org/show_bug.cgi?id=36102 |
|
4611 [Qt] Scaling control API for tiled backing store |
|
4612 |
|
4613 The scale is set by passing the QGraphicsWebView scale to the backing store. The |
|
4614 only new API is the tiledBackingStoreFrozen property which allows disabling |
|
4615 all updates (for example during zoom animation). |
|
4616 |
|
4617 * Api/qgraphicswebview.cpp: |
|
4618 (QGraphicsWebViewPrivate::_q_scaleChanged): |
|
4619 (QGraphicsWebViewPrivate::updateTiledBackingStoreScale): |
|
4620 (QGraphicsWebView::QGraphicsWebView): |
|
4621 (QGraphicsWebView::isTiledBackingStoreFrozen): |
|
4622 (QGraphicsWebView::setTiledBackingStoreFrozen): |
|
4623 * Api/qgraphicswebview.h: |
|
4624 * Api/qwebframe.cpp: |
|
4625 * Api/qwebframe_p.h: |
|
4626 |
|
4627 2010-03-17 Antti Koivisto <koivisto@iki.fi> |
|
4628 |
|
4629 Reviewed by Tor Arne Vestbø. |
|
4630 |
|
4631 Fix Qt build with tiled backing store disabled. |
|
4632 |
|
4633 * Api/qwebframe.cpp: |
|
4634 * Api/qwebframe_p.h: |
|
4635 |
|
4636 2010-03-17 Chang Shu <chang.shu@nokia.com> |
|
4637 |
|
4638 Reviewed by Laszlo Gombos. |
|
4639 |
|
4640 https://bugs.webkit.org/show_bug.cgi?id=36139 |
|
4641 [Qt] Clean up cache while setting cache quota. This behavior matches other platforms, |
|
4642 such as mac and gtk. |
|
4643 |
|
4644 * Api/qwebsettings.cpp: |
|
4645 (QWebSettings::setOfflineWebApplicationCacheQuota): |
|
4646 |
|
4647 2010-03-17 Csaba Osztrogonác <ossy@webkit.org> |
|
4648 |
|
4649 Reviewed by Kenneth Rohde Christiansen. |
|
4650 |
|
4651 [Qt] Enable accelerated compositing by default |
|
4652 https://bugs.webkit.org/show_bug.cgi?id=35866 |
|
4653 |
|
4654 * Api/qwebsettings.cpp: |
|
4655 (QWebSettings::QWebSettings): |
|
4656 |
|
4657 2010-03-15 Antti Koivisto <koivisto@iki.fi> |
|
4658 |
|
4659 Reviewed by Simon Hausmann. |
|
4660 |
|
4661 https://bugs.webkit.org/show_bug.cgi?id=36121 |
|
4662 [Qt] Make WebKit scrollbars work with tiling |
|
4663 |
|
4664 - Use the scrollbar overlay (implemented for accelerated compositing) when in tiled mode. |
|
4665 - Make overlay compile unconditionally, enable on demand. This removes bunch of unneeded ifdefs. |
|
4666 - Update the scroll position to the backing store as needed. |
|
4667 - Renamed some methods. |
|
4668 |
|
4669 * Api/qgraphicswebview.cpp: |
|
4670 (QGraphicsWebViewPrivate::): |
|
4671 (QGraphicsWebViewPrivate::createOrDeleteOverlay): |
|
4672 (QGraphicsWebViewPrivate::setRootGraphicsLayer): |
|
4673 (QGraphicsWebViewPrivate::updateCompositingScrollPosition): |
|
4674 (QGraphicsWebViewPrivate::scroll): |
|
4675 (QGraphicsWebViewPrivate::update): |
|
4676 (QGraphicsWebViewPrivate::graphicsItemVisibleRect): |
|
4677 (QGraphicsWebView::paint): |
|
4678 (QGraphicsWebView::setPage): |
|
4679 (QGraphicsWebView::updateGeometry): |
|
4680 (QGraphicsWebView::setGeometry): |
|
4681 * Api/qwebframe.cpp: |
|
4682 (QWebFramePrivate::renderFromTiledBackingStore): |
|
4683 * Api/qwebframe_p.h: |
|
4684 |
|
4685 2010-03-15 Robert Hogan <robert@webkit.org> |
|
4686 |
|
4687 Reviewed by Simon Hausmann. |
|
4688 |
|
4689 [Qt] Fix crash in QWebView::setPage() |
|
4690 |
|
4691 tst_qwebpage was crashing on setPage(0) |
|
4692 |
|
4693 https://bugs.webkit.org/show_bug.cgi?id=36137 |
|
4694 |
|
4695 * Api/qwebview.cpp: |
|
4696 (QWebView::setPage): |
|
4697 |
|
4698 2010-03-16 Yury Semikhatsky <yurys@chromium.org> |
|
4699 |
|
4700 Reviewed by Pavel Feldman. |
|
4701 |
|
4702 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. |
|
4703 |
|
4704 Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder |
|
4705 https://bugs.webkit.org/show_bug.cgi?id=35036 |
|
4706 |
|
4707 * Api/qwebinspector.cpp: |
|
4708 (QWebInspector::hideEvent): |
|
4709 (QWebInspector::closeEvent): |
|
4710 * Api/qwebinspector.h: |
|
4711 * Api/qwebpage.h: |
|
4712 * WebCoreSupport/InspectorClientQt.cpp: |
|
4713 (WebCore::InspectorClientQt::openInspectorFrontend): |
|
4714 (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt): |
|
4715 (WebCore::InspectorFrontendClientQt::frontendLoaded): |
|
4716 (WebCore::InspectorFrontendClientQt::localizedStringsURL): |
|
4717 (WebCore::InspectorFrontendClientQt::hiddenPanels): |
|
4718 (WebCore::InspectorFrontendClientQt::bringToFront): |
|
4719 (WebCore::InspectorFrontendClientQt::closeWindow): |
|
4720 (WebCore::InspectorFrontendClientQt::attachWindow): |
|
4721 (WebCore::InspectorFrontendClientQt::detachWindow): |
|
4722 (WebCore::InspectorFrontendClientQt::setAttachedWindowHeight): |
|
4723 (WebCore::InspectorFrontendClientQt::inspectedURLChanged): |
|
4724 (WebCore::InspectorFrontendClientQt::updateWindowTitle): |
|
4725 * WebCoreSupport/InspectorClientQt.h: |
|
4726 |
|
4727 2010-03-15 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
4728 |
|
4729 Unreviewed. |
|
4730 |
|
4731 [Qt] Build fix if TILED_BACKING_STORE is disabled. |
|
4732 |
|
4733 * Api/qwebframe.cpp: |
|
4734 (QWebFramePrivate::renderContentsLayerAbsoluteCoords): |
|
4735 |
|
4736 2010-03-14 Chang Shu <chang.shu@nokia.com> |
|
4737 |
|
4738 Reviewed by Simon Hausmann. |
|
4739 |
|
4740 [Qt] [Symbian] Use Symbian native dialog providers for combo pupups. |
|
4741 https://bugs.webkit.org/show_bug.cgi?id=35919 |
|
4742 |
|
4743 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
4744 (WebCore::QtFallbackWebPopup::show): |
|
4745 (WebCore::ResetAndDestroy): |
|
4746 (WebCore::QtFallbackWebPopup::showS60BrowserDialog): |
|
4747 * WebCoreSupport/QtFallbackWebPopup.h: |
|
4748 |
|
4749 2010-03-14 Antti Koivisto <koivisto@iki.fi> |
|
4750 |
|
4751 Reviewed by Simon Hausmann. |
|
4752 |
|
4753 https://bugs.webkit.org/show_bug.cgi?id=35146 |
|
4754 Support tiled backing store |
|
4755 |
|
4756 Implements a basic tiled backing store mechanism. Tiles are created and |
|
4757 deleted on demand. The page content is cached to the tiles. Tile content |
|
4758 is kept in sync with the document. Since the backing store covers area |
|
4759 larger than the currently visible viewport, the document can be scrolled |
|
4760 quickly without having to enter rendering tree painting. |
|
4761 |
|
4762 The tile management code is platform independent. This patch has simple QPixmap |
|
4763 based tile implementation for Qt. |
|
4764 |
|
4765 The feature is behind ENABLE_TILED_BACKING_STORE flag. |
|
4766 |
|
4767 * Api/qgraphicswebview.cpp: |
|
4768 (QGraphicsWebViewPrivate::visibleRect): |
|
4769 (QGraphicsWebView::paint): |
|
4770 * Api/qwebframe.cpp: |
|
4771 (QWebFramePrivate::renderContentsLayerAbsoluteCoords): |
|
4772 * Api/qwebframe.h: |
|
4773 * Api/qwebsettings.cpp: |
|
4774 (QWebSettingsPrivate::apply): |
|
4775 * Api/qwebsettings.h: |
|
4776 |
|
4777 2010-03-13 Csaba Osztrogonác <ossy@webkit.org> |
|
4778 |
|
4779 [Qt] Enable accelerated compositing by default |
|
4780 https://bugs.webkit.org/show_bug.cgi?id=35866 |
|
4781 |
|
4782 Unreviewed. Roll-out r55955, because it broke 3 tests: |
|
4783 - animations/fill-mode-transform.html |
|
4784 - animations/play-state.html |
|
4785 - animations/simultaneous-start-left.html |
|
4786 |
|
4787 * Api/qwebsettings.cpp: |
|
4788 (QWebSettings::QWebSettings): |
|
4789 |
|
4790 2010-03-13 Simon Hausmann <simon.hausmann@nokia.com> |
|
4791 |
|
4792 Reviewed by Kenneth Rohde Christiansen. |
|
4793 |
|
4794 [Qt] Enable accelerated compositing by default |
|
4795 https://bugs.webkit.org/show_bug.cgi?id=35866 |
|
4796 |
|
4797 * Api/qwebsettings.cpp: |
|
4798 (QWebSettings::QWebSettings): |
|
4799 |
|
4800 2010-03-11 Anders Carlsson <andersca@apple.com> |
|
4801 |
|
4802 Reviewed by David Hyatt. |
|
4803 |
|
4804 Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents. |
|
4805 |
|
4806 * WebCoreSupport/ChromeClientQt.cpp: |
|
4807 * WebCoreSupport/ChromeClientQt.h: |
|
4808 |
|
4809 2010-03-10 Robert Hogan <robert@webkit.org> |
|
4810 |
|
4811 Reviewed by Simon Hausmann. |
|
4812 |
|
4813 [Qt] Add Support for WebKitEnableCaretBrowsing to Qt DRT |
|
4814 |
|
4815 Unskip test fast/events/multiline-link-arrow-navigation.html |
|
4816 Fix typo (superfluous space) in QWebSettings docs. |
|
4817 |
|
4818 https://bugs.webkit.org/show_bug.cgi?id=35593 |
|
4819 |
|
4820 * Api/qwebpage.cpp: |
|
4821 (qt_drt_enableCaretBrowsing): |
|
4822 * Api/qwebsettings.cpp: |
|
4823 (QWebSettingsPrivate::apply): fix typo in docs |
|
4824 |
|
4825 2010-03-02 Adam Treat <atreat@rim.com> |
|
4826 |
|
4827 Reviewed by Dave Hyatt. |
|
4828 |
|
4829 Adapt the qt port to the refactoring of repaint methods. |
|
4830 |
|
4831 https://bugs.webkit.org/show_bug.cgi?id=34214 |
|
4832 |
|
4833 * WebCoreSupport/ChromeClientQt.cpp: |
|
4834 (WebCore::ChromeClientQt::invalidateContents): |
|
4835 (WebCore::ChromeClientQt::invalidateWindow): |
|
4836 (WebCore::ChromeClientQt::invalidateContentsAndWindow): |
|
4837 (WebCore::ChromeClientQt::invalidateContentsForSlowScroll): |
|
4838 * WebCoreSupport/ChromeClientQt.h: |
|
4839 |
|
4840 2010-03-08 Eric Uhrhane <ericu@chromium.org> |
|
4841 |
|
4842 Reviewed by David Levin. |
|
4843 |
|
4844 Remove the now-redundant Settings fields for the Database |
|
4845 https://bugs.webkit.org/show_bug.cgi?id=35763 |
|
4846 |
|
4847 No new tests; this code isn't called. |
|
4848 |
|
4849 * Api/qwebsettings.cpp: |
|
4850 (QWebSettingsPrivate::apply): Remove the call into Settings. |
|
4851 |
|
4852 2010-03-08 Simon Hausmann <simon.hausmann@nokia.com> |
|
4853 |
|
4854 Reviewed by Laszlo Gombos. |
|
4855 |
|
4856 [Qt] Binary incompatibility between Qt 4.6's WebKit and trunk in QWebSettings |
|
4857 https://bugs.webkit.org/show_bug.cgi?id=35858 |
|
4858 |
|
4859 Moved the enum value added in r54873 to the end of the enum, to preserve |
|
4860 binary compatibility. DnsPrefetchEnabled was in the last release and needs |
|
4861 to remain after LocalContentCanAccessRemoteUrls. |
|
4862 |
|
4863 * Api/qwebsettings.h: |
|
4864 |
|
4865 2010-03-06 Mark Rowe <mrowe@apple.com> |
|
4866 |
|
4867 Rubber-stamped by Sam Weinig. |
|
4868 |
|
4869 Remove unnecessary includes of wtf/Platform.h. This is already pulled in by the prefix header. |
|
4870 |
|
4871 * WebCoreSupport/EditCommandQt.cpp: |
|
4872 |
|
4873 2010-03-02 Antonio Gomes <tonikitoo@webkit.org> |
|
4874 |
|
4875 Reviewed by Simon Hausmann. |
|
4876 Patch by Antonio Gomes <tonikitoo@webkit.org> |
|
4877 |
|
4878 [Qt] QWebSettings attribute for toggle Spatial Navigation on/off |
|
4879 https://bugs.webkit.org/show_bug.cgi?id=33714 (Qt API part) |
|
4880 |
|
4881 Added 'SpatialNavigationEnabled' attribute to QWebSettings. |
|
4882 |
|
4883 * Api/qwebsettings.cpp: |
|
4884 (QWebSettingsPrivate::apply): |
|
4885 * Api/qwebsettings.h: |
|
4886 |
|
4887 2010-03-04 Simon Hausmann <simon.hausmann@nokia.com> |
|
4888 |
|
4889 Reviewed by Kenneth Rohde Christiansen. |
|
4890 |
|
4891 [Qt] qwebelement.h does not include QtCore headers correctly |
|
4892 https://bugs.webkit.org/show_bug.cgi?id=35748 |
|
4893 |
|
4894 The header files of QtCore must be included as QtCore/foo.h. |
|
4895 |
|
4896 See also http://bugreports.qt.nokia.com/browse/QTBUG-8661 |
|
4897 |
|
4898 * Api/qwebelement.h: |
|
4899 |
|
4900 2010-03-04 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
4901 |
|
4902 Reviewed by Tor Arne Vestbø. |
|
4903 |
|
4904 [Qt] Make the OUTPUT_DIR variable in qmake projects independent of build-webkit's logic. |
|
4905 |
|
4906 This also allows shadow builds relying only on qmake to work properly. |
|
4907 |
|
4908 * tests/benchmarks/loading/loading.pro: |
|
4909 * tests/benchmarks/painting/painting.pro: |
|
4910 * tests/hybridPixmap/hybridPixmap.pro: |
|
4911 * tests/qgraphicswebview/qgraphicswebview.pro: |
|
4912 * tests/qwebelement/qwebelement.pro: |
|
4913 * tests/qwebframe/qwebframe.pro: |
|
4914 * tests/qwebhistory/qwebhistory.pro: |
|
4915 * tests/qwebhistoryinterface/qwebhistoryinterface.pro: |
|
4916 * tests/qwebinspector/qwebinspector.pro: |
|
4917 * tests/qwebpage/qwebpage.pro: |
|
4918 * tests/qwebplugindatabase/qwebplugindatabase.pro: |
|
4919 |
|
4920 2010-03-02 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
4921 |
|
4922 Reviewed by Kenneth Rohde Christiansen. |
|
4923 |
|
4924 [Qt] Fix generation of forwarding headers |
|
4925 |
|
4926 The dependencies were a bit wrong, so we ended up not generating |
|
4927 forwarding headers for qwebkitversion.h and qwebkitglobal.h |
|
4928 |
|
4929 The forwarding headers are now the only targets depending on the |
|
4930 real headers. All other targets either depend on the generated |
|
4931 class headers, or the forwarding headers. |
|
4932 |
|
4933 * Api/DerivedSources.pro: |
|
4934 |
|
4935 2010-03-02 Eric Uhrhane <ericu@chromium.org> |
|
4936 |
|
4937 Reviewed by David Levin. |
|
4938 |
|
4939 Move database enable bit fully out of settings |
|
4940 This is stage one of a three-stage commit [webkit, then chromium, then |
|
4941 webkit again]. In this change I'm adding calls to |
|
4942 Database::setIsAvailable inside Settings::setDatabaseEnabled and |
|
4943 anywhere else that called it, and switching webkit fully over to using |
|
4944 that flag [added in a previous checkin]. Phase two will remove |
|
4945 Chromium's use of Settings for the Database, and phase three will remove |
|
4946 the Setting for the Database enable entirely, leaving only |
|
4947 Database::isAvailable/setIsAvailable. |
|
4948 |
|
4949 No new tests; tested by existing storage tests. |
|
4950 |
|
4951 https://bugs.webkit.org/show_bug.cgi?id=35310 |
|
4952 |
|
4953 * Api/qwebsettings.cpp: |
|
4954 (QWebSettingsPrivate::apply): Add a call to Database::setIsAvailable |
|
4955 |
|
4956 2010-03-02 Simon Hausmann <simon.hausmann@nokia.com> |
|
4957 |
|
4958 Symbian build fix. |
|
4959 |
|
4960 [Qt] Updated the def file with one new export, to fix |
|
4961 QtLauncher linkage. |
|
4962 |
|
4963 * symbian/eabi/QtWebKitu.def: |
|
4964 |
|
4965 2010-03-01 Jakob Petsovits <jpetsovits@rim.com> |
|
4966 |
|
4967 Reviewed by Adam Barth. |
|
4968 |
|
4969 Adapt to the new ZoomMode enum. |
|
4970 https://bugs.webkit.org/show_bug.cgi?id=35347 |
|
4971 |
|
4972 * Api/qwebframe.cpp: |
|
4973 (QWebFrame::setTextSizeMultiplier): |
|
4974 (QWebFrame::setZoomFactor): |
|
4975 * Api/qwebsettings.cpp: |
|
4976 (QWebSettingsPrivate::apply): |
|
4977 |
|
4978 2010-02-26 Diego Gonzalez <diego.gonzalez@openbossa.org> |
|
4979 |
|
4980 Reviewed by Simon Hausmann. |
|
4981 |
|
4982 Fix documentation of QWebSettings::setUserStyleSheetUrl method |
|
4983 |
|
4984 The base 64 data in the exemple shows a not valid code. |
|
4985 |
|
4986 REGRESSION: QWebSettings::setUserStyleSheetUrl is not working with a data URL (Base64) |
|
4987 https://bugs.webkit.org/show_bug.cgi?id=34802 |
|
4988 |
|
4989 * Api/qwebsettings.cpp: |
|
4990 |
|
4991 2010-02-26 Jamey Hicks <jamey.hicks@nokia.com> |
|
4992 |
|
4993 Reviewed by Laszlo Gombos. |
|
4994 |
|
4995 [Qt] added QWebSettings::setInspectorUrl() and QWebSettings::inspectorUrl() |
|
4996 |
|
4997 Enables the use of alternate Web Inspector frontends by changing |
|
4998 the location of the frontend. |
|
4999 |
|
5000 This is required so that the Web Inspector may be run from an |
|
5001 external process or an external tool such as Eclipse or Aptana may |
|
5002 be used instead of the in-process Web Inspector UI. |
|
5003 |
|
5004 https://bugs.webkit.org/show_bug.cgi?id=35340 |
|
5005 |
|
5006 * Api/qwebsettings.cpp: |
|
5007 (QWebSettings::QWebSettings): |
|
5008 (QWebSettings::setInspectorUrl): |
|
5009 (QWebSettings::inspectorUrl): |
|
5010 * Api/qwebsettings.h: |
|
5011 * WebCoreSupport/InspectorClientQt.cpp: |
|
5012 (WebCore::InspectorClientQt::createPage): |
|
5013 |
|
5014 2010-02-25 Jarkko Sakkinen <jarkko.sakkinen@tieto.com> |
|
5015 |
|
5016 Reviewed by Kenneth Rohde Christiansen. |
|
5017 |
|
5018 Qt WebGL support |
|
5019 |
|
5020 Adds enabling and disabling of WebGL support to QWebSettings. |
|
5021 https://bugs.webkit.org/show_bug.cgi?id=35153 |
|
5022 |
|
5023 * Api/qwebsettings.cpp: |
|
5024 (QWebSettingsPrivate::apply): |
|
5025 (QWebSettings::QWebSettings): |
|
5026 * Api/qwebsettings.h: |
|
5027 |
|
5028 2010-02-19 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> |
|
5029 |
|
5030 Reviewed by Kenneth Rohde Christiansen. |
|
5031 |
|
5032 [Qt] Remove QGVLauncher |
|
5033 |
|
5034 https://bugs.webkit.org/show_bug.cgi?id=35292 |
|
5035 |
|
5036 * QGVLauncher/QGVLauncher.pro: Removed. |
|
5037 * QGVLauncher/main.cpp: Removed. |
|
5038 |
|
5039 2010-02-23 Steve Block <steveblock@google.com> |
|
5040 |
|
5041 Reviewed by Darin Adler. |
|
5042 |
|
5043 Adds ChromeClient::cancelGeolocationPermissionRequestForFrame |
|
5044 https://bugs.webkit.org/show_bug.cgi?id=34962 |
|
5045 |
|
5046 This method is required so that a Geolocation object can cancel an |
|
5047 asynchronous permission request. This allows the chrome client to cancel |
|
5048 any UI it is showing for the permission request. |
|
5049 |
|
5050 * WebCoreSupport/ChromeClientQt.h: |
|
5051 (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame): |
|
5052 |
|
5053 2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
5054 |
|
5055 Unreviewed Symbian build fix. |
|
5056 |
|
5057 [Qt] Updated the def file with new exports to enable |
|
5058 building DumpRenderTree. |
|
5059 |
|
5060 * symbian/eabi/QtWebKitu.def: |
|
5061 |
|
5062 2010-02-18 Noam Rosenthal <noam.rosenthal@nokia.com> |
|
5063 |
|
5064 Reviewed by Kenneth Rohde Christiansen. |
|
5065 |
|
5066 [Qt] Minor improvement to hybrid QPixmap |
|
5067 https://bugs.webkit.org/show_bug.cgi?id=34507 |
|
5068 |
|
5069 * tests/hybridPixmap/test.html: use assignToHTMLImageElement on an |
|
5070 existing element instead of toHTMLImageElement which creates a new one |
|
5071 |
|
5072 2010-02-17 Dmitry Titov <dimich@chromium.org> |
|
5073 |
|
5074 Reviewed by David Levin, Darin Fisher, Simon Hausmann. |
|
5075 |
|
5076 When a live iframe element is moved between pages, it still depends on the old page. |
|
5077 https://bugs.webkit.org/show_bug.cgi?id=34382 |
|
5078 |
|
5079 * Api/qwebframe_p.h: |
|
5080 (QWebFramePrivate::setPage): Added. |
|
5081 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
5082 (WebCore::FrameLoaderClientQt::didTransferChildFrameToNewDocument): |
|
5083 The QWebFrame caches a QWebPage which should be replaced when Frame is re-parented. |
|
5084 Also, the QWebFrame is a child (in QT terms) of QWebPage - so update that relationship as well. |
|
5085 Emit a signal that QWebFrame moved to a different QWebPage. |
|
5086 |
|
5087 * WebCoreSupport/FrameLoaderClientQt.h: |
|
5088 |
|
5089 2010-02-17 Kent Tamura <tkent@chromium.org> |
|
5090 |
|
5091 Reviewed by Eric Seidel. |
|
5092 |
|
5093 Introduces new Icon loading interface in order to support |
|
5094 asynchronous loading. |
|
5095 https://bugs.webkit.org/show_bug.cgi?id=32054 |
|
5096 |
|
5097 Add an empty implementation of ChromeClient::iconForFiles(). |
|
5098 |
|
5099 * WebCoreSupport/ChromeClientQt.cpp: |
|
5100 (WebCore::ChromeClientQt::iconForFiles): |
|
5101 * WebCoreSupport/ChromeClientQt.h: |
|
5102 |
|
5103 2010-02-17 Diego Gonzalez <diego.gonzalez@openbossa.org> |
|
5104 |
|
5105 Reviewed by Ariya Hidayat. |
|
5106 |
|
5107 Make possible Qt DRT to get total number of pages to be printed |
|
5108 |
|
5109 LayoutTests: |
|
5110 printing/numberOfPages.html |
|
5111 |
|
5112 [Qt] DRT: Get total number of pages to be printed |
|
5113 https://bugs.webkit.org/show_bug.cgi?id=34955 |
|
5114 |
|
5115 * Api/qwebframe.cpp: |
|
5116 (qt_drt_numberOfPages): |
|
5117 (qt_drt_evaluateScriptInIsolatedWorld): |
|
5118 |
|
5119 2010-02-16 Ariya Hidayat <ariya.hidayat@gmail.com> |
|
5120 |
|
5121 Reviewed by Simon Hausmann. |
|
5122 |
|
5123 [Qt] Allow scrolling to an anchor programmatically. |
|
5124 https://bugs.webkit.org/show_bug.cgi?id=29856 |
|
5125 |
|
5126 * Api/qwebframe.cpp: |
|
5127 (QWebFrame::scrollToAnchor): New API function. |
|
5128 * Api/qwebframe.h: |
|
5129 * tests/qwebframe/tst_qwebframe.cpp: New tests for scrollToAnchor(). |
|
5130 |
|
5131 2010-02-16 Ariya Hidayat <ariya.hidayat@gmail.com> |
|
5132 |
|
5133 Reviewed by Laszlo Gombos. |
|
5134 |
|
5135 Fix building with Qt < 4.6. |
|
5136 https://bugs.webkit.org/show_bug.cgi?id=34885 |
|
5137 |
|
5138 * Api/qgraphicswebview.cpp: |
|
5139 (QGraphicsWebViewPrivate::updateResizesToContentsForPage): |
|
5140 |
|
5141 2010-02-16 Simon Hausmann <simon.hausmann@nokia.com> |
|
5142 |
|
5143 Unreviewed Symbian build fix. |
|
5144 |
|
5145 Updated the def file with two new exports used by QtLauncher. |
|
5146 |
|
5147 * symbian/eabi/QtWebKitu.def: |
|
5148 |
|
5149 2010-02-16 Ismail Donmez <ismail@namtrac.org> |
|
5150 |
|
5151 Reviewed by Pavel Feldman. |
|
5152 |
|
5153 Fix compilation with inspector disabled. |
|
5154 https://bugs.webkit.org/show_bug.cgi?id=32724 |
|
5155 |
|
5156 * Api/qwebpage.cpp: |
|
5157 (qt_drt_webinspector_executeScript): |
|
5158 (qt_drt_webinspector_close): |
|
5159 (qt_drt_webinspector_show): |
|
5160 (qt_drt_setTimelineProfilingEnabled): |
|
5161 |
|
5162 2010-02-16 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
5163 |
|
5164 Reviewed by Simon Hausman. |
|
5165 |
|
5166 [Qt] Fix include paths for forwarding headers in standalone builds. |
|
5167 |
|
5168 * Api/DerivedSources.pro: Use relative paths for package builds and added some |
|
5169 documentation. |
|
5170 |
|
5171 2010-02-15 Noam Rosenthal <noam.rosenthal@nokia.com> |
|
5172 |
|
5173 Reviewed by Simon Hausmann. |
|
5174 |
|
5175 [Qt] QtWebkit bridge: enable passing a QWebElement to a signal/slot/property |
|
5176 Add Q_DECLARE_METATYPE to QWebElement, add relevant tests to |
|
5177 tst_qwebframe |
|
5178 https://bugs.webkit.org/show_bug.cgi?id=34901 |
|
5179 |
|
5180 * Api/qwebelement.h: declare metatype |
|
5181 * tests/qwebframe/tst_qwebframe.cpp: |
|
5182 (MyQObject::webElementProperty): new test for QWebElement |
|
5183 (MyQObject::setWebElementProperty): new test for QWebElement |
|
5184 (MyQObject::myOverloadedSlot): new test for QWebElement |
|
5185 |
|
5186 2010-02-15 Robert Hogan <robert@roberthogan.net>, Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
5187 |
|
5188 Reviewed by Simon Hausmann. |
|
5189 |
|
5190 [Qt] DRT: Support evaluateInWebInspector(), setTimelineProfilingEnabled(). |
|
5191 |
|
5192 Support LayoutTestController.evaluateInWebInspector(), setTimelineProfilingEnabled() in Qt DRT. |
|
5193 |
|
5194 https://bugs.webkit.org/show_bug.cgi?id=33096 |
|
5195 |
|
5196 This allows the following tests to pass: |
|
5197 |
|
5198 inspector/console-format-collections.html |
|
5199 inspector/styles-iframe.html |
|
5200 inspector/syntax-highlight-css.html |
|
5201 inspector/syntax-highlight-javascript.html |
|
5202 inspector/timeline-enum-stability.html |
|
5203 inspector/timeline-layout.html |
|
5204 inspector/timeline-mark-timeline.html |
|
5205 inspector/timeline-paint.html |
|
5206 inspector/timeline-parse-html.html |
|
5207 inspector/timeline-recalculate-styles.html |
|
5208 inspector/timeline-script-tag-1.html |
|
5209 inspector/timeline-script-tag-2.html |
|
5210 inspector/timeline-trivial.html |
|
5211 inspector/cookie-resource-match.html |
|
5212 inspector/elements-img-tooltip.html |
|
5213 inspector/elements-panel-selection-on-refresh.html |
|
5214 inspector/inspected-objects-not-overriden.html |
|
5215 inspector/timeline-event-dispatch.html |
|
5216 inspector/timeline-network-resource.html |
|
5217 inspector/elements-panel-rewrite-href.html |
|
5218 inspector/console-dir.html |
|
5219 inspector/console-dirxml.html |
|
5220 inspector/console-format.html |
|
5221 inspector/console-tests.html |
|
5222 inspector/elements-panel-structure.html |
|
5223 inspector/evaluate-in-frontend.html |
|
5224 inspector/console-clear.html |
|
5225 |
|
5226 * Api/qwebpage.cpp: |
|
5227 (qt_drt_webinspector_executeScript): |
|
5228 (qt_drt_webinspector_close): |
|
5229 (qt_drt_webinspector_show): |
|
5230 (qt_drt_setTimelineProfilingEnabled): |
|
5231 |
|
5232 * WebCoreSupport/InspectorClientQt.cpp: |
|
5233 (InspectorClientQt::createPage) |
|
5234 |
|
5235 2010-02-12 Antti Koivisto <koivisto@iki.fi> |
|
5236 |
|
5237 Reviewed by Kenneth Rohde Christiansen and Simon Hausmann. |
|
5238 |
|
5239 https://bugs.webkit.org/show_bug.cgi?id=34885 |
|
5240 Add a QGraphicsWebView mode that makes it automatically resize itself to the size of the content. |
|
5241 |
|
5242 This is useful for cases where the client wants to implement page panning and zooming by manipulating |
|
5243 the graphics item. |
|
5244 |
|
5245 Add a option to QGVLauncher to test this mode. |
|
5246 |
|
5247 * Api/qgraphicswebview.cpp: |
|
5248 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): |
|
5249 (QGraphicsWebViewPrivate::updateResizesToContentsForPage): |
|
5250 (QGraphicsWebViewPrivate::_q_contentsSizeChanged): |
|
5251 (QGraphicsWebView::setPage): |
|
5252 (QGraphicsWebView::setResizesToContents): |
|
5253 (QGraphicsWebView::resizesToContents): |
|
5254 * Api/qgraphicswebview.h: |
|
5255 * QGVLauncher/main.cpp: |
|
5256 (WebView::WebView): |
|
5257 (MainView::MainView): |
|
5258 (MainView::setMainWidget): |
|
5259 (MainView::resizeEvent): |
|
5260 (main): |
|
5261 |
|
5262 2010-02-12 Diego Gonzalez <diego.gonzalez@openbossa.org> |
|
5263 |
|
5264 Reviewed by Kenneth Rohde Christiansen. |
|
5265 |
|
5266 Qt DRT now dump the frame loader callbacks when LayoutTestController() |
|
5267 method is called. |
|
5268 |
|
5269 LayoutTests: |
|
5270 http/tests/security/mixedContent/data-url-script-in-iframe.html |
|
5271 http/tests/security/mixedContent/empty-url-plugin-in-frame.html |
|
5272 http/tests/security/mixedContent/insecure-css-in-iframe.html |
|
5273 http/tests/security/mixedContent/insecure-iframe-in-iframe.html |
|
5274 http/tests/security/mixedContent/insecure-image-in-iframe.html |
|
5275 http/tests/security/mixedContent/insecure-plugin-in-iframe.html |
|
5276 http/tests/security/mixedContent/insecure-script-in-iframe.html |
|
5277 http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html |
|
5278 http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html |
|
5279 |
|
5280 [Qt] Make possible Qt DRT dump frame load callbacks |
|
5281 https://bugs.webkit.org/show_bug.cgi?id=34702 |
|
5282 |
|
5283 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
5284 (WebCore::FrameLoaderClientQt::didDisplayInsecureContent): |
|
5285 (WebCore::FrameLoaderClientQt::didRunInsecureContent): |
|
5286 |
|
5287 2010-02-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
5288 |
|
5289 Reviewed by Tor Arne Vestbø. |
|
5290 |
|
5291 [Qt] Make qtlauncher and qgvlauncher use the generated headers |
|
5292 path to make sure they are correctly generated. |
|
5293 |
|
5294 * tests/tests.pri: |
|
5295 |
|
5296 2010-02-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
5297 |
|
5298 Reviewed by Tor Arne Vestbø. |
|
5299 |
|
5300 [Qt] Ensure relative paths in generated .pri files to ensure that |
|
5301 a source package with pre-generated derived sources can be compiled. |
|
5302 |
|
5303 - Re-add a separate headers.pri file for WEBKIT_API_HEADERS |
|
5304 - Rename the generated headers.pri to classheaders.pri to avoid |
|
5305 confusion with the one generated by synqt since they don't have the |
|
5306 same content. |
|
5307 - Remove private headers list variable from classheaders.pri |
|
5308 - Use $$PWD in classheaders.pri |
|
5309 - Remove classheaders.pri from the installed files |
|
5310 |
|
5311 * Api/DerivedSources.pro: |
|
5312 |
|
5313 2010-02-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
5314 |
|
5315 Reviewed by Tor Arne Vestbø. |
|
5316 |
|
5317 [Qt] Minor fixes on QtWebKit headers generation. |
|
5318 |
|
5319 - Adds QtWebKit to the generated headers destination path |
|
5320 - Improve compatibility with MinGW |
|
5321 |
|
5322 * Api/DerivedSources.pro: |
|
5323 |
|
5324 2010-02-09 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
5325 |
|
5326 Reviewed by nobody, build fix. |
|
5327 |
|
5328 [Qt] Fix standalone build with MinGW. |
|
5329 |
|
5330 * tests/qwebelement/tst_qwebelement.cpp: |
|
5331 * tests/tests.pri: |
|
5332 |
|
5333 2010-02-10 Diego Gonzalez <diego.gonzalez@openbossa.org> |
|
5334 |
|
5335 Reviewed by Kenneth Rohde Christiansen. |
|
5336 |
|
5337 Implement pageNumberForElementById() method in Qt DRT LayoutTestController, |
|
5338 to make Qt DRT able to get page number. |
|
5339 |
|
5340 LayoutTests: |
|
5341 printing/page-break-always.html |
|
5342 printing/pageNumerForElementById.html |
|
5343 printing/css2.1/page-break-before-000.html |
|
5344 printing/css2.1/page-break-after-000.html |
|
5345 printing/css2.1/page-break-after-004.html |
|
5346 printing/css2.1/page-break-before-001.html |
|
5347 printing/css2.1/page-break-after-001.html |
|
5348 printing/css2.1/page-break-after-002.html |
|
5349 printing/css2.1/page-break-before-002.html |
|
5350 printing/css2.1/page-break-inside-000.html |
|
5351 |
|
5352 [Qt] Make possible Qt DRT get a page number for element by ID |
|
5353 https://bugs.webkit.org/show_bug.cgi?id=34777 |
|
5354 |
|
5355 * Api/qwebframe.cpp: |
|
5356 (qt_drt_pageNumberForElementById): |
|
5357 |
|
5358 2010-02-09 Yael Aharon <yael.aharon@nokia.com> |
|
5359 |
|
5360 Reviewed by Adam Barth. |
|
5361 |
|
5362 [Qt] Unit test for window.runModalDialog |
|
5363 https://bugs.webkit.org/show_bug.cgi?id=34755 |
|
5364 |
|
5365 * tests/qwebpage/tst_qwebpage.cpp: |
|
5366 (TestModalPage::TestModalPage): |
|
5367 (TestModalPage::createWindow): |
|
5368 (tst_QWebPage::showModalDialog): |
|
5369 |
|
5370 2010-02-09 Andreas Kling <andreas.kling@nokia.com> |
|
5371 |
|
5372 Reviewed by Kenneth Rohde Christiansen. |
|
5373 |
|
5374 [Qt] Sync with API changes in Maemo 5 kinetic scrolling |
|
5375 |
|
5376 https://bugs.webkit.org/show_bug.cgi?id=34747 |
|
5377 |
|
5378 This is a forward-port of http://qt.gitorious.org/+qt-developers/qt/x11-maemo/commit/08497561 |
|
5379 |
|
5380 * Api/qwebview.cpp: |
|
5381 (qt_sendSpontaneousEvent): |
|
5382 (QWebViewKineticScroller::QWebViewKineticScroller): |
|
5383 (QWebViewKineticScroller::setWidget): |
|
5384 (QWebViewKineticScroller::eventFilter): |
|
5385 (QWebViewKineticScroller::cancelLeftMouseButtonPress): |
|
5386 (QWebViewKineticScroller::currentFrame): |
|
5387 (QWebViewKineticScroller::scrollingFrameAt): |
|
5388 (QWebViewKineticScroller::maximumScrollPosition): |
|
5389 (QWebViewKineticScroller::scrollPosition): |
|
5390 (QWebViewKineticScroller::viewportSize): |
|
5391 (QWebViewKineticScroller::setScrollPosition): |
|
5392 (QWebViewKineticScroller::sendEvent): |
|
5393 (QWebView::QWebView): |
|
5394 |
|
5395 2010-02-09 Yael Aharon <yael.aharon@nokia.com> |
|
5396 |
|
5397 Reviewed by Kenneth Rohde Christiansen. |
|
5398 |
|
5399 [Qt] Webkit in Qt does not have window.showModalDialog |
|
5400 https://bugs.webkit.org/show_bug.cgi?id=25585 |
|
5401 |
|
5402 Create a new eventloop when runModal() is called. |
|
5403 Added comemnt in QWebPage::createWindow that the application is responsible |
|
5404 for setting the modality of the appropriate window. |
|
5405 |
|
5406 * Api/qwebpage.cpp: |
|
5407 * WebCoreSupport/ChromeClientQt.cpp: |
|
5408 (WebCore::ChromeClientQt::ChromeClientQt): |
|
5409 (WebCore::ChromeClientQt::~ChromeClientQt): |
|
5410 (WebCore::ChromeClientQt::canRunModal): |
|
5411 (WebCore::ChromeClientQt::runModal): |
|
5412 * WebCoreSupport/ChromeClientQt.h: |
|
5413 |
|
5414 2010-01-19 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
5415 |
|
5416 Reviewed by Dave Hyatt. |
|
5417 |
|
5418 Implement flattening of framesets |
|
5419 https://bugs.webkit.org/show_bug.cgi?id=32717 |
|
5420 |
|
5421 Privately export the setFrameSetFlatteningEnabled setting for |
|
5422 use with the Qt DRT. |
|
5423 |
|
5424 * Api/qwebpage.cpp: |
|
5425 (qt_drt_setFrameSetFlatteningEnabled): |
|
5426 (QWebPagePrivate::core): |
|
5427 * Api/qwebpage_p.h: |
|
5428 |
|
5429 2010-02-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
5430 |
|
5431 [Qt] Fix build on Windows |
|
5432 |
|
5433 Reviewed by Kenneth Rohde Christiansen. |
|
5434 |
|
5435 DerivedSources for our API headers failed on Windows, |
|
5436 due to Windows not accepting ; as a command separator, |
|
5437 not needing quotes for echo, and needing < and > escaped. |
|
5438 |
|
5439 We now detect Windows and set these quote markers and |
|
5440 escape markers accordingly, as well as use && for separating |
|
5441 individual commands. |
|
5442 |
|
5443 * Api/DerivedSources.pro: |
|
5444 |
|
5445 2010-02-05 Yury Semikhatsky <yurys@chromium.org> |
|
5446 |
|
5447 Reviewed by Pavel Feldman. |
|
5448 |
|
5449 Remove unused inmport of ScriptFunctionCall.h |
|
5450 |
|
5451 https://bugs.webkit.org/show_bug.cgi?id=33592 |
|
5452 |
|
5453 * Api/qwebelement.cpp: |
|
5454 |
|
5455 2010-02-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
5456 |
|
5457 Reviewed by Simon Hausmann. |
|
5458 |
|
5459 [Qt] Generate convenience headers (QWebView, etc) using qmake |
|
5460 |
|
5461 In Qt this is done using syncqt, but we use a pro-file instead |
|
5462 that generates makefile-rules for each of the extra headers. |
|
5463 |
|
5464 These extra headers are installed alongside the normal headers. |
|
5465 |
|
5466 * Api/DerivedSources.pro: Added. List of headers + pro file magic |
|
5467 * Api/headers.pri: Removed, list of headers is now in the above file |
|
5468 |
|
5469 2010-02-04 No'am Rosenthal <noam.rosenthal@nokia.com> |
|
5470 |
|
5471 Reviewed by Ariya Hidayat. |
|
5472 |
|
5473 [Qt] Tuning and optimizations to GraphicsLayerQt. Mainly reduced usage |
|
5474 of QTimer::singleShot, and moved syncLayers() from paint() to update() |
|
5475 https://bugs.webkit.org/show_bug.cgi?id=34062 |
|
5476 |
|
5477 * Api/qgraphicswebview.cpp: |
|
5478 (QGraphicsWebViewPrivate::update): Moved the sync operation to update |
|
5479 (QGraphicsWebView::paint): Moved the sync operation to update |
|
5480 |
|
5481 2010-02-03 Andras Becsi <abecsi@webkit.org> |
|
5482 |
|
5483 Unreviewed build fix. |
|
5484 |
|
5485 [Qt] Roll-out r54281 because it broke the build on the Qt Release bot. |
|
5486 |
|
5487 * Api/qgraphicswebview.cpp: |
|
5488 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): |
|
5489 (QGraphicsWebViewPrivate::markForSync): |
|
5490 (QGraphicsWebViewPrivate::update): |
|
5491 (QGraphicsWebView::paint): |
|
5492 |
|
5493 2010-02-02 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
5494 |
|
5495 Reviewed by Ariya Hidayat. |
|
5496 |
|
5497 Do not use a proxy widget for the QComboBox on Maemo 5, as it |
|
5498 is not working properly and it is not needed at all, as the |
|
5499 comboboxes comes up in their full width on the screen and |
|
5500 do not depend on view. |
|
5501 |
|
5502 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
5503 (WebCore::QtFallbackWebPopup::show): |
|
5504 |
|
5505 2010-02-02 Jessie Berlin <jberlin@webkit.org> |
|
5506 |
|
5507 Rubber Stamped by Holger Freyther. |
|
5508 |
|
5509 [Qt] Fix style issue identified in bug: |
|
5510 https://bugs.webkit.org/show_bug.cgi?id=34329 |
|
5511 |
|
5512 * WebCoreSupport/InspectorClientQt.cpp: |
|
5513 (WebCore::InspectorClientWebPage::InspectorClientWebPage): |
|
5514 Fix indentation. |
|
5515 |
|
5516 2010-02-01 Jessie Berlin <jberlin@webkit.org> |
|
5517 |
|
5518 Reviewed by Holger Freyther. |
|
5519 |
|
5520 [Qt] Enable inspecting the Web Inspector in QtLauncher |
|
5521 |
|
5522 https://bugs.webkit.org/show_bug.cgi?id=34329 |
|
5523 |
|
5524 * WebCoreSupport/InspectorClientQt.cpp: |
|
5525 (WebCore::InspectorClientWebPage::InspectorClientWebPage): |
|
5526 Allow the DeveloperExtrasEnabled setting to default to true for the page containing the Web Inspector. |
|
5527 |
|
5528 2010-02-02 Andreas Kling <andreas.kling@nokia.com> |
|
5529 |
|
5530 Reviewed by Kenneth Rohde Christiansen. |
|
5531 |
|
5532 [Qt] Display HTML tags verbatim in JS alert/confirm/prompt boxes |
|
5533 |
|
5534 https://bugs.webkit.org/show_bug.cgi?id=34429 |
|
5535 |
|
5536 * Api/qwebpage.cpp: |
|
5537 (QWebPage::javaScriptAlert): |
|
5538 (QWebPage::javaScriptConfirm): |
|
5539 (QWebPage::javaScriptPrompt): |
|
5540 |
|
5541 2010-02-02 Noam Rosenthal <noam.rosenthal@nokia.com> |
|
5542 |
|
5543 Reviewed by Kenneth Rohde Christiansen. |
|
5544 |
|
5545 [Qt] Enable a way to measure FPS in QGVLauncher |
|
5546 run QGVLauncher with --show-fps to see ongoing fps measurements |
|
5547 This is not meant as accurate FPS, but rather as a way to find |
|
5548 improvements/regressions |
|
5549 https://bugs.webkit.org/show_bug.cgi?id=34450 |
|
5550 |
|
5551 * QGVLauncher/main.cpp: |
|
5552 (MainView::MainView): initialize FPS values |
|
5553 (MainView::paintEvent): count a painted frame here |
|
5554 (MainView::printFps): we print the fps with qDebug every 5 seconds. |
|
5555 |
|
5556 2010-01-29 Ben Murdoch <benm@google.com> |
|
5557 |
|
5558 Reviewed by Dimitri Glazkov. |
|
5559 |
|
5560 [Android] Android needs functionality in the ChromeClient to be informed when touch events are and are not needed by the webpage. |
|
5561 https://bugs.webkit.org/show_bug.cgi?id=34215 |
|
5562 |
|
5563 Add needTouchEvents() to the ChromeClient which is called when the page decides it needs or no longer needs to be informed of touch events. |
|
5564 |
|
5565 * WebCoreSupport/ChromeClientQt.h: |
|
5566 (WebCore::ChromeClientQt::needTouchEvents): Add an empty implementation. |
|
5567 |
|
5568 2010-01-29 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
5569 |
|
5570 Reviewed by Simon Hausmann |
|
5571 |
|
5572 Disable auto-uppercase and predictive text on Maemo5, just like the |
|
5573 build-in MicroB Browser. |
|
5574 |
|
5575 * WebCoreSupport/EditorClientQt.cpp: |
|
5576 (WebCore::EditorClientQt::setInputMethodState): |
|
5577 |
|
5578 2010-01-28 Andreas Kling <andreas.kling@nokia.com> |
|
5579 |
|
5580 Reviewed by Kenneth Rohde Christiansen. |
|
5581 |
|
5582 [Qt] Support kinetic scrolling on Maemo 5 |
|
5583 |
|
5584 https://bugs.webkit.org/show_bug.cgi?id=34267 |
|
5585 |
|
5586 Patch by Ralf Engels <ralf.engels@nokia.com> and |
|
5587 Robert Griebl <rgriebl@trolltech.com> |
|
5588 |
|
5589 * Api/qwebview.cpp: |
|
5590 (QWebViewKineticScroller::QWebViewKineticScroller): |
|
5591 (QWebViewKineticScroller::eventFilter): |
|
5592 (QWebViewKineticScroller::currentFrame): |
|
5593 (QWebViewKineticScroller::scrollingFrameAt): |
|
5594 (QWebViewKineticScroller::attachToWidget): |
|
5595 (QWebViewKineticScroller::removeFromWidget): |
|
5596 (QWebViewKineticScroller::positionRange): |
|
5597 (QWebViewKineticScroller::position): |
|
5598 (QWebViewKineticScroller::viewportSize): |
|
5599 (QWebViewKineticScroller::setPosition): |
|
5600 (QWebView::QWebView): |
|
5601 |
|
5602 2010-01-28 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
5603 |
|
5604 Reviewed by Simon Hausmann. |
|
5605 |
|
5606 Do not set the combobox font on Maemo5 and S60; use the |
|
5607 default instead. |
|
5608 |
|
5609 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
5610 (WebCore::QtFallbackWebPopup::populate): |
|
5611 |
|
5612 2010-01-28 Trond Kjernåsen <trond@trolltech.com> |
|
5613 |
|
5614 Reviewed by Simon Hausmann. |
|
5615 |
|
5616 [Qt] Fix for endless print loop when printing web pages |
|
5617 |
|
5618 * Api/qwebframe.cpp: |
|
5619 (QWebFrame::print): |
|
5620 |
|
5621 2010-01-27 Diego Gonzalez <diego.gonzalez@openbossa.org> |
|
5622 |
|
5623 Reviewed by Kenneth Rohde Christiansen. |
|
5624 |
|
5625 [Qt] DRT Provide worker thread ability to track counters |
|
5626 https://bugs.webkit.org/show_bug.cgi?id=34221 |
|
5627 |
|
5628 Implement workerThreadCount() in LayoutTestController of Qt DRT |
|
5629 |
|
5630 Tests: |
|
5631 fast/workers/dedicated-worker-lifecycle.html |
|
5632 fast/workers/shared-worker-frame-lifecycle.html |
|
5633 fast/workers/shared-worker-lifecycle.html |
|
5634 fast/workers/worker-lifecycle.html |
|
5635 |
|
5636 * Api/qwebpage.cpp: |
|
5637 (qt_drt_workerThreadCount): |
|
5638 |
|
5639 2010-01-27 Simon Hausmann <simon.hausmann@nokia.com> |
|
5640 |
|
5641 Reviewed by Laszlo Gombos. |
|
5642 |
|
5643 [Qt] Update the .def files with exported symbols |
|
5644 |
|
5645 * symbian/eabi/QtWebKitu.def: Add two mangled missing new symbols for arm eabi. |
|
5646 |
|
5647 2010-01-27 Kent Hansen <kent.hansen@nokia.com> |
|
5648 |
|
5649 Reviewed by Simon Hausmann. |
|
5650 |
|
5651 [Qt] Meta-methods can't be introspected using ES5 API |
|
5652 https://bugs.webkit.org/show_bug.cgi?id=34087 |
|
5653 |
|
5654 Test that Object.getOwnPropertyDescriptor and |
|
5655 Object.getOwnPropertyNames work with meta-methods. |
|
5656 |
|
5657 * tests/qwebframe/tst_qwebframe.cpp: |
|
5658 |
|
5659 2010-01-26 Simon Hausmann <simon.hausmann@nokia.com> |
|
5660 |
|
5661 Reviewed by Kenneth Rohde Christiansen. |
|
5662 |
|
5663 [Qt] Show comboboxes on Maemo 5 |
|
5664 https://bugs.webkit.org/show_bug.cgi?id=34088 |
|
5665 |
|
5666 Don't try to show the combobox by simulating a mouse event from QCursor::pos() to |
|
5667 get the combobox position right. The position on Maemo 5 is independent from the mouse |
|
5668 and there's no QCursor::pos(). |
|
5669 |
|
5670 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
5671 (WebCore::QtFallbackWebPopup::show): |
|
5672 |
|
5673 2010-01-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
5674 |
|
5675 Reviewed by Simon Hausmann. |
|
5676 |
|
5677 First steps of the QtScript API. |
|
5678 |
|
5679 Two new classes were created; QScriptEngine and QScriptValue. |
|
5680 The first should encapsulate a javascript context and the second a script |
|
5681 value. |
|
5682 |
|
5683 This API is still in development, so it isn't compiled by default. |
|
5684 To trigger compilation, pass --qmakearg="CONFIG+=build-qtscript" to |
|
5685 build-webkit. |
|
5686 |
|
5687 https://bugs.webkit.org/show_bug.cgi?id=32565 |
|
5688 |
|
5689 * docs/qtwebkit.qdocconf: |
|
5690 |
|
5691 2010-01-26 Holger Hans Peter Freyther <zecke@selfish.org> |
|
5692 |
|
5693 Reviewed by Simon Hausmann. |
|
5694 |
|
5695 [Qt] JavaScript prompt is currently broken |
|
5696 https://bugs.webkit.org/show_bug.cgi?id=30914 |
|
5697 |
|
5698 In r52152 a patch was landed to convert a null QString |
|
5699 to an empty WebCore::String in case the prompt was accepted |
|
5700 but the default implementation returned the null QString. |
|
5701 |
|
5702 The patch tried to avoid assign to result twice and |
|
5703 was not checking the QString if it is null but the default |
|
5704 value. This lead to always returning an empty string on |
|
5705 successful prompts. Fix it by checking the variable 'x' |
|
5706 for isNull. |
|
5707 |
|
5708 The manual test case used didn't cover the case of non |
|
5709 empty input, replace it with an automatic test case that |
|
5710 should cover all cases. |
|
5711 |
|
5712 * WebCoreSupport/ChromeClientQt.cpp: |
|
5713 (WebCore::ChromeClientQt::runJavaScriptPrompt): Fix the bug. |
|
5714 * tests/qwebpage/tst_qwebpage.cpp: Add automatic test case |
|
5715 (JSPromptPage::JSPromptPage): |
|
5716 (JSPromptPage::javaScriptPrompt): |
|
5717 (tst_QWebPage::testJSPrompt): |
|
5718 |
|
5719 2010-01-25 Simon Hausmann <hausmann@webkit.org> |
|
5720 |
|
5721 Reviewed by Kenneth Rohde Christiansen. |
|
5722 |
|
5723 [Qt] In RenderThemeQt determine the QStyle from the page client instead of the page's view |
|
5724 https://bugs.webkit.org/show_bug.cgi?id=34053 |
|
5725 |
|
5726 * Api/qgraphicswebview.cpp: |
|
5727 (QGraphicsWebViewPrivate::style): Implement QWebPageClient::style() and return the graphics |
|
5728 widget's style. |
|
5729 * Api/qwebpage.cpp: |
|
5730 (QWebPageWidgetClient::style): Implement QWebPageClient::style() and return the widget's style. |
|
5731 |
|
5732 2010-01-25 Janne Koskinen <janne.p.koskinen@digia.com> |
|
5733 |
|
5734 Reviewed by Simon Hausmann. |
|
5735 |
|
5736 [Qt] Phone backup support for QtWebkit for Symbian devices. |
|
5737 https://bugs.webkit.org/show_bug.cgi?id=34077 |
|
5738 |
|
5739 * symbian/backup_registration.xml: Added. |
|
5740 |
|
5741 2010-01-23 Girish Ramakrishnan <girish@forwardbias.in> |
|
5742 |
|
5743 Reviewed by Kenneth Rohde Christiansen. |
|
5744 |
|
5745 [Qt] Fix positioning of ComboBox popup in QGraphicsWebView. |
|
5746 |
|
5747 Wrap the popup in a QGraphicsProxyWidget, so that the popup |
|
5748 transforms with the item. |
|
5749 |
|
5750 https://bugs.webkit.org/show_bug.cgi?id=33887 |
|
5751 |
|
5752 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
5753 (WebCore::QtFallbackWebPopupCombo::hidePopup): |
|
5754 (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): |
|
5755 (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup): |
|
5756 (WebCore::QtFallbackWebPopup::show): |
|
5757 * WebCoreSupport/QtFallbackWebPopup.h: |
|
5758 |
|
5759 2010-01-22 Peter Kasting <pkasting@google.com> |
|
5760 |
|
5761 Not reviewed, backout. |
|
5762 |
|
5763 Back out r52673, which caused several regressions. |
|
5764 https://bugs.webkit.org/show_bug.cgi?id=32533 |
|
5765 |
|
5766 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
5767 (WebCore::QtFallbackWebPopupCombo::hidePopup): |
|
5768 |
|
5769 2010-01-22 Girish Ramakrishnan <girish@forwardbias.in> |
|
5770 |
|
5771 Reviewed by Simon Hausmann. |
|
5772 |
|
5773 [Qt] Save the QWebPageClient instead of the ownerWidget in QtAbstractWebPopup |
|
5774 |
|
5775 The QWebPageClient is required for the QtFallbackWebPopup. QtFallbackWebPopup will |
|
5776 need it to create a QGraphicsProxyWidget (in a future commit) for the |
|
5777 QGraphicsWebView's web popup. |
|
5778 |
|
5779 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
5780 (WebCore::QtFallbackWebPopup::show): |
|
5781 |
|
5782 2010-01-22 Girish Ramakrishnan <girish@forwardbias.in> |
|
5783 |
|
5784 Reviewed by Kenneth Rohde Christiansen. |
|
5785 |
|
5786 QState::polished() was renamed to QState::propertiesAssigned() when |
|
5787 Qt 4.6.0 was released. |
|
5788 |
|
5789 * QGVLauncher/main.cpp: |
|
5790 (MainWindow::init): |
|
5791 |
|
5792 2010-01-21 Diego Gonzalez <diego.gonzalez@openbossa.org> |
|
5793 |
|
5794 Reviewed by Kenneth Rohde Christiansen. |
|
5795 |
|
5796 [Qt] add setDomainRelaxationForbiddenForURLScheme in Qt DRT |
|
5797 https://bugs.webkit.org/show_bug.cgi?id=33945 |
|
5798 |
|
5799 * Api/qwebsecurityorigin.cpp: |
|
5800 (qt_drt_setDomainRelaxationForbiddenForURLScheme): |
|
5801 |
|
5802 2010-01-21 No'am Rosenthal <noam.rosenthal@nokia.com> |
|
5803 |
|
5804 Reviewed by Antti Koivisto. |
|
5805 |
|
5806 [Qt] Implement GraphicsLayer for accelerated layer compositing |
|
5807 https://bugs.webkit.org/show_bug.cgi?id=33514 |
|
5808 |
|
5809 Here we have the QGraphicsWebView support for accelerated compositing |
|
5810 |
|
5811 * Api/qgraphicswebview.cpp: |
|
5812 (QGraphicsWebViewOverlay::q): access to container object |
|
5813 (QGraphicsWebViewOverlay::boundingRect): overlay has same rect as the |
|
5814 webview |
|
5815 (QGraphicsWebViewOverlay::paint): paint everything but the contents |
|
5816 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): some vars needed |
|
5817 for accelerated compositing |
|
5818 (QGraphicsWebViewPrivate::): |
|
5819 (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate): |
|
5820 (QGraphicsWebViewPrivate::setRootGraphicsLayer): make sure we have a |
|
5821 scrollbar overlay, and that the new graphics layer is parented by the |
|
5822 web-view |
|
5823 (QGraphicsWebViewPrivate::markForSync): flush changes at earliest |
|
5824 convenience or during the next draw |
|
5825 |
|
5826 (QGraphicsWebViewPrivate::updateCompositingScrollPosition): sync the |
|
5827 position of the compositing layer with the scroll position |
|
5828 (QGraphicsWebViewPrivate::syncLayers): flush changes now |
|
5829 (QGraphicsWebViewPrivate::scroll): make sure we also move the |
|
5830 compositing layer |
|
5831 (QGraphicsWebViewPrivate::update): also update the overlay if needed |
|
5832 (QGraphicsWebView::QGraphicsWebView): initialize overlay with 0 |
|
5833 (QGraphicsWebView::paint): paint only contents if we have an overlay, |
|
5834 sync the compositing layers now if needed |
|
5835 (QGraphicsWebView::setPage): also clean up the compositing |
|
5836 (QGraphicsWebView::updateGeometry): also update overlay geo |
|
5837 (QGraphicsWebView::setGeometry): also update overlay geo |
|
5838 * Api/qgraphicswebview.h: reimp compositing stuff from QWebPageClient |
|
5839 * Api/qwebsettings.cpp: init new settings flag for compositing as |
|
5840 false |
|
5841 (QWebSettingsPrivate::apply): apply new settings flag for compositing |
|
5842 (QWebSettings::QWebSettings): |
|
5843 * Api/qwebsettings.h: new settings flag for compositing |
|
5844 * Api/qwebview.cpp: |
|
5845 (QWebView::setPage): qwebview doesn't support compositing: always false |
|
5846 * QGVLauncher/main.cpp: |
|
5847 (WebView::WebView): some more cmdline arguments + compositing |
|
5848 (MainWindow::init): some more cmdline arguments |
|
5849 (main): ditto |
|
5850 * WebCoreSupport/ChromeClientQt.cpp: |
|
5851 (WebCore::ChromeClientQt::attachRootGraphicsLayer): reimp for |
|
5852 accel-compositing |
|
5853 (WebCore::ChromeClientQt::setNeedsOneShotDrawingSynchronization): |
|
5854 reimp for accel compositing |
|
5855 (WebCore::ChromeClientQt::scheduleCompositingLayerSync): reimp for |
|
5856 accel compositing |
|
5857 * WebCoreSupport/ChromeClientQt.h: reimps for accel compositing |
|
5858 |
|
5859 2010-01-21 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
5860 |
|
5861 Reviewed by Simon Hausmann. |
|
5862 |
|
5863 [Qt] Improve the autotests of QtWebkit |
|
5864 https://bugs.webkit.org/show_bug.cgi?id=32216 |
|
5865 |
|
5866 Remove qWait() of the test when possible. |
|
5867 |
|
5868 * tests/qwebpage/tst_qwebpage.cpp: |
|
5869 (tst_QWebPage::loadFinished): |
|
5870 (tst_QWebPage::database): |
|
5871 (tst_QWebPage::testEnablePersistentStorage): |
|
5872 (tst_QWebPage::errorPageExtension): |
|
5873 (tst_QWebPage::screenshot): |
|
5874 |
|
5875 2010-01-21 Simon Hausmann <simon.hausmann@nokia.com> |
|
5876 |
|
5877 Prospective build fix for the Qt build. |
|
5878 |
|
5879 Fix compilation against Qt without WebKit support by not including QtWebKit/QWebView |
|
5880 but widget.h instead and instantiating QWebView through a typedef, to ensure we're using |
|
5881 our locally built WebKit. |
|
5882 |
|
5883 * tests/hybridPixmap/widget.h: |
|
5884 * tests/hybridPixmap/widget.ui: |
|
5885 |
|
5886 2010-01-21 No'am Rosenthal <noam.rosenthal@nokia.com> |
|
5887 |
|
5888 Reviewed by Simon Hausmann. |
|
5889 |
|
5890 [Qt] Adding QPixmap/QImage support for the Qt hybrid layer |
|
5891 https://bugs.webkit.org/show_bug.cgi?id=32461 |
|
5892 |
|
5893 * tests/hybridPixmap: Added. |
|
5894 * tests/hybridPixmap/hybridPixmap.pro: Added. |
|
5895 * tests/hybridPixmap/resources.qrc: Added. |
|
5896 * tests/hybridPixmap/test.html: Added. |
|
5897 * tests/hybridPixmap/tst_hybridPixmap.cpp: Added. |
|
5898 (tst_hybridPixmap::tst_hybridPixmap): tests most of the use cases for |
|
5899 hybrid pixmap/image manipulation |
|
5900 (tst_hybridPixmap::init): QTestLib initialization |
|
5901 (tst_hybridPixmap::cleanup): QTestLib cleanup |
|
5902 (tst_hybridPixmap::hybridPixmap): run the html file |
|
5903 * tests/hybridPixmap/widget.cpp: Added. |
|
5904 (Widget::Widget): |
|
5905 (Widget::refreshJS): |
|
5906 (Widget::start): |
|
5907 (Widget::completeTest): |
|
5908 (Widget::setPixmap): |
|
5909 (Widget::pixmap): |
|
5910 (Widget::setImage): |
|
5911 (Widget::image): |
|
5912 (Widget::~Widget): |
|
5913 (Widget::changeEvent): |
|
5914 (Widget::compare): |
|
5915 (Widget::imageSlot): |
|
5916 (Widget::pixmapSlot): |
|
5917 (Widget::randomSlot): |
|
5918 * tests/hybridPixmap/widget.h: Added. |
|
5919 * tests/hybridPixmap/widget.ui: Added. |
|
5920 * tests/tests.pro: |
|
5921 |
|
5922 2010-01-21 Luiz Agostini <luiz.agostini@openbossa.org> |
|
5923 |
|
5924 Reviewed by Kenneth Rohde Christiansen. |
|
5925 |
|
5926 [Qt] Custom select popups. |
|
5927 https://bugs.webkit.org/show_bug.cgi?id=33418 |
|
5928 |
|
5929 Adjusting QtFallbackWebPopupCombo to the changes in WebCore layer. |
|
5930 |
|
5931 * WebCoreSupport/ChromeClientQt.cpp: |
|
5932 (WebCore::ChromeClientQt::createSelectPopup): |
|
5933 * WebCoreSupport/ChromeClientQt.h: |
|
5934 * WebCoreSupport/QtFallbackWebPopup.cpp: |
|
5935 (WebCore::QtFallbackWebPopupCombo::QtFallbackWebPopupCombo): |
|
5936 (WebCore::QtFallbackWebPopupCombo::showPopup): |
|
5937 (WebCore::QtFallbackWebPopupCombo::hidePopup): |
|
5938 (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): |
|
5939 (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup): |
|
5940 (WebCore::QtFallbackWebPopup::show): |
|
5941 (WebCore::QtFallbackWebPopup::hide): |
|
5942 (WebCore::QtFallbackWebPopup::populate): |
|
5943 * WebCoreSupport/QtFallbackWebPopup.h: |
|
5944 |
|
5945 2010-01-19 Steve Block <steveblock@google.com> |
|
5946 |
|
5947 Reviewed by Adam Barth. |
|
5948 |
|
5949 Renames WebCore/bridge/runtime.[cpp|h] to WebCore/bridge/Bridge.[cpp|h] |
|
5950 https://bugs.webkit.org/show_bug.cgi?id=33801 |
|
5951 |
|
5952 * Api/qwebframe.cpp: |
|
5953 |
|
5954 2010-01-14 Brian Weinstein <bweinstein@apple.com> |
|
5955 |
|
5956 Reviewed by Adam Roben. |
|
5957 |
|
5958 Drag and Drop source/destination code needs cleanup. |
|
5959 <https://bugs.webkit.org/show_bug.cgi?id=33691>. |
|
5960 |
|
5961 Update to new way of calling sourceOperation. |
|
5962 |
|
5963 * WebCoreSupport/DragClientQt.cpp: |
|
5964 (WebCore::DragClientQt::startDrag): |
|
5965 |
|
5966 2010-01-14 Simon Hausmann <simon.hausmann@nokia.com> |
|
5967 |
|
5968 Reviewed by Tor Arne Vestbø. |
|
5969 |
|
5970 [Qt] Symbian build fixes. |
|
5971 |
|
5972 * tests/qwebpage/tst_qwebpage.cpp: Include util.h |
|
5973 * tests/tests.pri: Don't define TESTS_SOURCE_DIR, it doesn't work. |
|
5974 * tests/util.h: Define TESTS_SOURCE_DIR here, just like it's done in Qt. |
|
5975 |
|
5976 2010-01-14 Simon Hausmann <simon.hausmann@nokia.com> |
|
5977 |
|
5978 Reviewed by Kenneth Rohde Christiansen. |
|
5979 |
|
5980 [Qt] Update Symbian .def symbol export files after private API additions. |
|
5981 |
|
5982 * symbian/bwins/QtWebKitu.def: |
|
5983 * symbian/eabi/QtWebKitu.def: |
|
5984 |
|
5985 2010-01-13 Darin Adler <darin@apple.com> |
|
5986 |
|
5987 Reviewed by Dan Bernstein. |
|
5988 |
|
5989 Move more of the selection and caret painting code from Frame to SelectionController. |
|
5990 https://bugs.webkit.org/show_bug.cgi?id=33619 |
|
5991 |
|
5992 * Api/qwebpage.cpp: |
|
5993 (QWebPagePrivate::inputMethodEvent): Seems possibly wrong to be directly invoking this |
|
5994 setCaretVisible here, but I updated it to call it in its new location. |
|
5995 |
|
5996 2010-01-11 Simon Hausmann <simon.hausmann@nokia.com> |
|
5997 |
|
5998 Reviewed by Holger Freyther. |
|
5999 |
|
6000 [Qt] Add private API for QWebFrame scrolling, to maintain binary compatibility with Qt 4.6. |
|
6001 |
|
6002 This is just a temporary addition until we have introduced #ifdefs to allow |
|
6003 safely removing the private API again. |
|
6004 |
|
6005 * Api/qwebframe.cpp: |
|
6006 (qtwebkit_webframe_scrollRecursively): |
|
6007 |
|
6008 2010-01-10 Robert Hogan <robert@roberthogan.net> |
|
6009 |
|
6010 Reviewed by Adam Barth. |
|
6011 |
|
6012 [Qt] Add enableXSSAuditor support to QWebSettings and DRT. |
|
6013 |
|
6014 https://bugs.webkit.org/show_bug.cgi?id=33419 |
|
6015 |
|
6016 * Api/qwebsettings.cpp: |
|
6017 (QWebSettingsPrivate::apply): |
|
6018 * Api/qwebsettings.h: |
|
6019 |
|
6020 2010-01-09 Daniel Bates <dbates@webkit.org> |
|
6021 |
|
6022 No review, rolling out r53044. |
|
6023 http://trac.webkit.org/changeset/53044 |
|
6024 https://bugs.webkit.org/show_bug.cgi?id=33419 |
|
6025 |
|
6026 We need to look into this some more because the Qt |
|
6027 bot is failing the XSSAuditor tests. See bug #33419 |
|
6028 for more details. |
|
6029 |
|
6030 * Api/qwebsettings.cpp: |
|
6031 * Api/qwebsettings.h: |
|
6032 |
|
6033 2010-01-09 Daniel Bates <dbates@webkit.org> |
|
6034 |
|
6035 Reviewed by Adam Barth. |
|
6036 |
|
6037 https://bugs.webkit.org/show_bug.cgi?id=33419 |
|
6038 |
|
6039 Adds support for the XSSAuditor to the Qt DRT. |
|
6040 |
|
6041 * Api/qwebsettings.cpp: Updated comment to reflect added key XSSAuditorEnabled. |
|
6042 * Api/qwebsettings.h: Adds settings key XSSAuditorEnabled. |
|
6043 |
|
6044 2010-01-08 Luiz Agostini <luiz.agostini@openbossa.org> |
|
6045 |
|
6046 Reviewed by Kenneth Rohde Christiansen. |
|
6047 |
|
6048 [Qt] Delegation client |
|
6049 https://bugs.webkit.org/show_bug.cgi?id=32826 |
|
6050 |
|
6051 Added method createPopup to ChromeClientQt used to create popups. |
|
6052 QtFallbackWebPopup moved from WebCore/platform/qt to |
|
6053 WebKit/qt/WebCoreSupport. |
|
6054 |
|
6055 * WebCoreSupport/ChromeClientQt.cpp: |
|
6056 (WebCore::ChromeClientQt::createPopup): |
|
6057 * WebCoreSupport/ChromeClientQt.h: |
|
6058 * WebCoreSupport/QtFallbackWebPopup.cpp: Added. |
|
6059 (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): |
|
6060 (WebCore::QtFallbackWebPopup::show): |
|
6061 (WebCore::QtFallbackWebPopup::populate): |
|
6062 (WebCore::QtFallbackWebPopup::showPopup): |
|
6063 (WebCore::QtFallbackWebPopup::hidePopup): |
|
6064 (WebCore::QtFallbackWebPopup::activeChanged): |
|
6065 (WebCore::QtFallbackWebPopup::setParent): |
|
6066 * WebCoreSupport/QtFallbackWebPopup.h: Added. |
|
6067 (WebCore::QtFallbackWebPopup::hide): |
|
6068 |
|
6069 2010-01-07 Yael Aharon <yael.aharon@nokia.com> |
|
6070 |
|
6071 Reviewed by Kenneth Rohde Christiansen. |
|
6072 |
|
6073 [Qt] Allow the application to override online/offline network status |
|
6074 https://bugs.webkit.org/show_bug.cgi?id=32684 |
|
6075 |
|
6076 Add a setting so that applications can overide the network status. |
|
6077 Applications that use this setting still need to block network access |
|
6078 through QNAM. |
|
6079 |
|
6080 * Api/qwebsettings.cpp: |
|
6081 (qt_networkAccessAllowed): |
|
6082 |
|
6083 2010-01-07 Yongjun Zhang <yongjun.zhang@nokia.com>, Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
6084 |
|
6085 Reviewed by Simon Hausmann. |
|
6086 |
|
6087 [Qt] need an API to suspend and resume active Javascript DOM objects. |
|
6088 https://bugs.webkit.org/show_bug.cgi?id=31673 |
|
6089 |
|
6090 Add suspend and resume DOM objects private API to QWebFrame. |
|
6091 |
|
6092 * Api/qwebframe.cpp: |
|
6093 (qt_suspendActiveDOMObjects): |
|
6094 (qt_resumeActiveDOMObjects): |
|
6095 |
|
6096 2010-01-06 Andreas Kling <andreas.kling@nokia.com> |
|
6097 |
|
6098 Reviewed by Simon Hausmann. |
|
6099 |
|
6100 [Qt] Return an invalid Qt::ImMicroFocus if queried while the view needs to layout. |
|
6101 |
|
6102 https://bugs.webkit.org/show_bug.cgi?id=33204 |
|
6103 |
|
6104 * Api/qwebpage.cpp: |
|
6105 (QWebPage::inputMethodQuery): |
|
6106 |
|
6107 2010-01-05 Yael Aharon <yael.aharon@nokia.com> |
|
6108 |
|
6109 Reviewed by Kenneth Rohde Christiansen. |
|
6110 |
|
6111 Drag & drop layout tests fail even when run manually |
|
6112 https://bugs.webkit.org/show_bug.cgi?id=33055 |
|
6113 |
|
6114 No new tests. Fix 3 layout tests when run manually. |
|
6115 fast/events/drag-and-drop.html |
|
6116 fast/events/drag-and-drop-dataTransfer-types-nocrash.html |
|
6117 fast/events/drag-and-drop-fire-drag-dragover.html |
|
6118 Running these tests in DRT will be fixed in 31332. |
|
6119 |
|
6120 * Api/qwebpage.cpp: |
|
6121 (dropActionToDragOp): |
|
6122 (dragOpToDropAction): |
|
6123 (QWebPagePrivate::dragEnterEvent): |
|
6124 (QWebPagePrivate::dragMoveEvent): |
|
6125 (QWebPagePrivate::dropEvent): |
|
6126 Accept drag events even if they are not over a drop target. |
|
6127 This is to ensure that drag events will continue to be delivered. |
|
6128 |
|
6129 * Api/qwebpage_p.h: |
|
6130 * WebCoreSupport/DragClientQt.cpp: |
|
6131 (WebCore::dragOperationToDropActions): |
|
6132 (WebCore::dropActionToDragOperation): |
|
6133 (WebCore::DragClientQt::startDrag): |
|
6134 Send dragEnd event. |
|
6135 |
|
6136 2010-01-04 Daniel Bates <dbates@webkit.org> |
|
6137 |
|
6138 Reviewed by Eric Seidel. |
|
6139 |
|
6140 https://bugs.webkit.org/show_bug.cgi?id=33097 |
|
6141 |
|
6142 Cleans up the File menu to better conform to the File menu in Safari |
|
6143 both in terms of options and keyboard shortcuts. Adds a "Quit" menu |
|
6144 options to close all open windows. |
|
6145 |
|
6146 * QGVLauncher/main.cpp: |
|
6147 (MainWindow::buildUI): |
|
6148 |
|
6149 2009-12-31 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
6150 |
|
6151 Reviewed by Kenneth Rohde Christiansen. |
|
6152 |
|
6153 [Qt] Enable all HTML5 persistent features for QGVLauncher |
|
6154 https://bugs.webkit.org/show_bug.cgi?id=33086 |
|
6155 |
|
6156 * QGVLauncher/main.cpp: Call enablePersistentStorage() |
|
6157 (main): |
|
6158 |
|
6159 2009-12-30 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
6160 |
|
6161 Reviewed by Simon Hausmann. |
|
6162 |
|
6163 [Qt] It should be possible to disable inspector |
|
6164 https://bugs.webkit.org/show_bug.cgi?id=32724 |
|
6165 |
|
6166 This change fixes the build break. Some QtWebKit interfaces |
|
6167 will not be fully functional (most notable QWebInspector) if |
|
6168 INSPECTOR is disabled. |
|
6169 |
|
6170 * Api/qwebinspector.cpp: |
|
6171 (QWebInspector::showEvent): |
|
6172 (QWebInspector::closeEvent): |
|
6173 * Api/qwebpage.cpp: |
|
6174 (webActionForContextMenuAction): |
|
6175 (QWebPagePrivate::getOrCreateInspector): |
|
6176 (QWebPagePrivate::inspectorController): |
|
6177 (QWebPage::triggerAction): |
|
6178 (QWebPage::updatePositionDependentActions): |
|
6179 * WebCoreSupport/InspectorClientQt.cpp: |
|
6180 (WebCore::InspectorClientQt::showWindow): |
|
6181 (WebCore::InspectorClientQt::closeWindow): |
|
6182 |
|
6183 2009-12-30 Janne Koskinen <janne.p.koskinen@digia.com> |
|
6184 |
|
6185 Reviewed by Simon Hausmann. |
|
6186 |
|
6187 Upstream Symbian def files from Qt 4.6. |
|
6188 |
|
6189 These files define the ABI of QtWebKit on Symbian. |
|
6190 |
|
6191 * symbian/bwins/QtWebKitu.def: Added. |
|
6192 * symbian/eabi/QtWebKitu.def: Added. |
|
6193 |
|
6194 2009-12-29 Daniel Bates <dbates@webkit.org> |
|
6195 |
|
6196 Reviewed by Ariya Hidayat. |
|
6197 |
|
6198 https://bugs.webkit.org/show_bug.cgi?id=32925 |
|
6199 |
|
6200 Adds an Open File dialog to make it convenient to open a file |
|
6201 to view in the browser. |
|
6202 |
|
6203 * QGVLauncher/main.cpp: |
|
6204 (MainWindow::load): Modified to call loadURL. |
|
6205 (MainWindow::openFile): Added. |
|
6206 (MainWindow::loadURL): Added. |
|
6207 (MainWindow::buildUI): Added menu item Open File. |
|
6208 |
|
6209 2009-12-29 Robert Hogan <robert@roberthogan.net> |
|
6210 |
|
6211 Reviewed by Eric Seidel. |
|
6212 |
|
6213 [Qt] Fix crash on LayoutTests/fast/loader/empty-embed-src-attribute.html |
|
6214 |
|
6215 Related to https://bugs.webkit.org/show_bug.cgi?id=23806 |
|
6216 |
|
6217 If an embedded document is loaded within a page and it has an empty |
|
6218 URL, use a blank URL for the load request. |
|
6219 |
|
6220 https://bugs.webkit.org/show_bug.cgi?id=33017 |
|
6221 |
|
6222 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
6223 (WebCore::FrameLoaderClientQt::createFrame): |
|
6224 |
|
6225 2009-12-29 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
6226 |
|
6227 Rubber-stamped by Simon Hausmann and Holger Freyther. |
|
6228 |
|
6229 [Qt] Remove WebKit/qt/WebKitPart empty directory |
|
6230 |
|
6231 The content of the directory has been removed by r34888. |
|
6232 |
|
6233 * WebKitPart: Removed. |
|
6234 |
|
6235 2009-12-29 Jakub Wieczorek <faw217@gmail.com> |
|
6236 |
|
6237 Reviewed by Eric Seidel. |
|
6238 |
|
6239 [Qt] DRT: Frame loader callbacks differ from the Mac port |
|
6240 https://bugs.webkit.org/show_bug.cgi?id=32989 |
|
6241 |
|
6242 Remove messages from the callbacks that should not dump them to match |
|
6243 the expected results for the http/loading tests. |
|
6244 |
|
6245 Unskip some http/loading tests which succeed now. |
|
6246 |
|
6247 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
6248 (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage): |
|
6249 (WebCore::FrameLoaderClientQt::dispatchWillClose): |
|
6250 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon): |
|
6251 (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld): |
|
6252 |
|
6253 2009-12-29 Robert Hogan <robert@roberthogan.net> |
|
6254 |
|
6255 Reviewed by Eric Seidel. |
|
6256 |
|
6257 [Qt] fix fast/dom/Window/window-onFocus.html |
|
6258 |
|
6259 Add support for layouttestcontroller.windowIsKey to Qt DRT and fix issue where |
|
6260 window.onblur was getting dispatched twice from QtWebKit. |
|
6261 |
|
6262 https://bugs.webkit.org/show_bug.cgi?id=32990 |
|
6263 |
|
6264 * Api/qwebpage.cpp: |
|
6265 (QWebPagePrivate::focusOutEvent): |
|
6266 |
|
6267 2009-12-24 Girish Ramakrishnan <girish@forwardbias.in> |
|
6268 |
|
6269 Reviewed by Gustavo Noronha. |
|
6270 |
|
6271 Doc : QGraphicsWebView::zoomFactor was introduced in 4.6. |
|
6272 |
|
6273 * Api/qgraphicswebview.cpp: |
|
6274 |
|
6275 2009-12-22 Simon Hausmann <simon.hausmann@nokia.com> |
|
6276 |
|
6277 Rubber-stamped by Holger Freyther. |
|
6278 |
|
6279 Moved QtLauncher to WebKitTools/ |
|
6280 |
|
6281 * QtLauncher: Removed. |
|
6282 * QtLauncher/QtLauncher.pro: Removed. |
|
6283 * QtLauncher/main.cpp: Removed. |
|
6284 |
|
6285 2009-12-21 David Boddie <dboddie@trolltech.com> |
|
6286 |
|
6287 Reviewed by Simon Hausmann. |
|
6288 |
|
6289 Doc: Minor fixes to language. |
|
6290 |
|
6291 * Api/qwebpage.cpp: |
|
6292 |
|
6293 2009-12-21 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
6294 |
|
6295 Reviewed by Simon Hausmann. |
|
6296 |
|
6297 [Qt] Clean up the WebKit layer unit-tests |
|
6298 |
|
6299 - Use tests.pri for common options |
|
6300 - Standardize file naming |
|
6301 - Move all resources to 'resources' subdir |
|
6302 - Standardize how TESTS_SOURCE_DIR is used |
|
6303 - Get rid of UID3 for symbian (autogenerated) |
|
6304 - Don't build app bundles on Mac OS X |
|
6305 |
|
6306 * tests/benchmarks/loading/loading.pro: Added. |
|
6307 * tests/benchmarks/loading/tst_loading.pro: Removed. |
|
6308 * tests/benchmarks/painting/painting.pro: Added. |
|
6309 * tests/benchmarks/painting/tst_painting.pro: Removed. |
|
6310 * tests/qgraphicswebview/qgraphicswebview.pro: |
|
6311 * tests/qwebelement/qwebelement.pro: |
|
6312 * tests/qwebelement/qwebelement.qrc: Removed. |
|
6313 * tests/qwebelement/resources/image.png: Renamed from WebKit/qt/tests/qwebelement/image.png. |
|
6314 * tests/qwebelement/resources/style.css: Renamed from WebKit/qt/tests/qwebelement/style.css. |
|
6315 * tests/qwebelement/resources/style2.css: Renamed from WebKit/qt/tests/qwebelement/style2.css. |
|
6316 * tests/qwebelement/tst_qwebelement.qrc: Added. |
|
6317 * tests/qwebframe/qwebframe.pro: |
|
6318 * tests/qwebframe/qwebframe.qrc: Removed. |
|
6319 * tests/qwebframe/resources/image.png: Renamed from WebKit/qt/tests/qwebframe/image.png. |
|
6320 * tests/qwebframe/resources/style.css: Renamed from WebKit/qt/tests/qwebframe/style.css. |
|
6321 * tests/qwebframe/resources/test1.html: Renamed from WebKit/qt/tests/qwebframe/test1.html. |
|
6322 * tests/qwebframe/resources/test2.html: Renamed from WebKit/qt/tests/qwebframe/test2.html. |
|
6323 * tests/qwebframe/resources/testiframe.html: Renamed from WebKit/qt/tests/qwebframe/testiframe.html. |
|
6324 * tests/qwebframe/resources/testiframe2.html: Renamed from WebKit/qt/tests/qwebframe/testiframe2.html. |
|
6325 * tests/qwebframe/tst_qwebframe.cpp: |
|
6326 * tests/qwebframe/tst_qwebframe.qrc: Added. |
|
6327 * tests/qwebhistory/qwebhistory.pro: |
|
6328 * tests/qwebhistory/resources/page1.html: Renamed from WebKit/qt/tests/qwebhistory/data/page1.html. |
|
6329 * tests/qwebhistory/resources/page2.html: Renamed from WebKit/qt/tests/qwebhistory/data/page2.html. |
|
6330 * tests/qwebhistory/resources/page3.html: Renamed from WebKit/qt/tests/qwebhistory/data/page3.html. |
|
6331 * tests/qwebhistory/resources/page4.html: Renamed from WebKit/qt/tests/qwebhistory/data/page4.html. |
|
6332 * tests/qwebhistory/resources/page5.html: Renamed from WebKit/qt/tests/qwebhistory/data/page5.html. |
|
6333 * tests/qwebhistory/resources/page6.html: Renamed from WebKit/qt/tests/qwebhistory/data/page6.html. |
|
6334 * tests/qwebhistory/tst_qwebhistory.cpp: |
|
6335 (tst_QWebHistory::): |
|
6336 * tests/qwebhistory/tst_qwebhistory.qrc: |
|
6337 * tests/qwebhistoryinterface/qwebhistoryinterface.pro: |
|
6338 * tests/qwebinspector/qwebinspector.pro: |
|
6339 * tests/qwebpage/qwebpage.pro: |
|
6340 * tests/qwebpage/resources/frame_a.html: Renamed from WebKit/qt/tests/qwebpage/frametest/frame_a.html. |
|
6341 * tests/qwebpage/resources/iframe.html: Renamed from WebKit/qt/tests/qwebpage/frametest/iframe.html. |
|
6342 * tests/qwebpage/resources/iframe2.html: Renamed from WebKit/qt/tests/qwebpage/frametest/iframe2.html. |
|
6343 * tests/qwebpage/resources/iframe3.html: Renamed from WebKit/qt/tests/qwebpage/frametest/iframe3.html. |
|
6344 * tests/qwebpage/resources/index.html: Renamed from WebKit/qt/tests/qwebpage/frametest/index.html. |
|
6345 * tests/qwebpage/tst_qwebpage.cpp: |
|
6346 (tst_QWebPage::backActionUpdate): |
|
6347 (tst_QWebPage::frameAt): |
|
6348 (tst_QWebPage::errorPageExtensionInFrameset): |
|
6349 (tst_QWebPage::screenshot): |
|
6350 * tests/qwebpage/tst_qwebpage.qrc: |
|
6351 * tests/qwebplugindatabase/qwebplugindatabase.pro: |
|
6352 * tests/qwebview/qwebview.pro: |
|
6353 * tests/qwebview/resources/frame_a.html: Renamed from WebKit/qt/tests/qwebview/data/frame_a.html. |
|
6354 * tests/qwebview/resources/index.html: Renamed from WebKit/qt/tests/qwebview/data/index.html. |
|
6355 * tests/qwebview/tst_qwebview.cpp: |
|
6356 (tst_QWebView::reusePage): |
|
6357 (tst_QWebView::crashTests): |
|
6358 * tests/qwebview/tst_qwebview.qrc: |
|
6359 * tests/resources/image2.png: Renamed from WebKit/qt/tests/qwebframe/resources/image2.png. |
|
6360 * tests/tests.pri: Added. |
|
6361 * tests/tests.pro: |
|
6362 |
|
6363 2009-12-18 Ariya Hidayat <ariya.hidayat@gmail.com> |
|
6364 |
|
6365 Build fix, not reviewed. |
|
6366 |
|
6367 * QtLauncher/main.cpp: |
|
6368 (MainWindow::setTouchMocking): Leave setTouchMocking as an empty |
|
6369 function for Qt < 4.6 so that moc still creates a slot for that. |
|
6370 Otherwise, it would have generated a linker error. |
|
6371 |
|
6372 2009-12-18 Adam Roben <aroben@apple.com> |
|
6373 |
|
6374 Qt build fix |
|
6375 |
|
6376 * Api/qwebpage.cpp: Added #include. |
|
6377 |
|
6378 2009-12-18 Adam Roben <aroben@apple.com> |
|
6379 |
|
6380 Qt build fix |
|
6381 |
|
6382 * Api/qwebpage.cpp: |
|
6383 Added #includes. |
|
6384 |
|
6385 2009-12-18 Joe Ligman <joseph.ligman@nokia.com> |
|
6386 |
|
6387 Reviewed by Kenneth Rohde Christiansen. |
|
6388 |
|
6389 [Qt] Add new API to QWebFrame to scrollRecursively starting with any css overflow |
|
6390 then checking current frame and then ancestors |
|
6391 https://bugs.webkit.org/show_bug.cgi?id=32668 |
|
6392 |
|
6393 * Api/qwebframe.cpp: |
|
6394 (QWebFramePrivate::scrollOverflow): |
|
6395 (QWebFrame::scrollRecursively): |
|
6396 * Api/qwebframe.h: |
|
6397 * Api/qwebframe_p.h: |
|
6398 * tests/qwebframe/qwebframe.qrc: |
|
6399 * tests/qwebframe/testiframe.html: Added. |
|
6400 * tests/qwebframe/testiframe2.html: Added. |
|
6401 * tests/qwebframe/tst_qwebframe.cpp: |
|
6402 |
|
6403 2009-12-18 Simon Hausmann <simon.hausmann@nokia.com> |
|
6404 |
|
6405 Reviewed by Tor Arne Vestbø. |
|
6406 |
|
6407 [Qt] Fix infinite recursion in touch mocking. |
|
6408 |
|
6409 Don't send the fake touch events to the view, as that'll trigger the |
|
6410 event filter again. |
|
6411 |
|
6412 * QtLauncher/main.cpp: |
|
6413 (MainWindow::sendTouchEvent): |
|
6414 |
|
6415 2009-12-17 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
6416 |
|
6417 Reviewed by Simon Hausmann. |
|
6418 |
|
6419 [Qt] Add support for mocking touch events with Q(GV)Launcher |
|
6420 https://bugs.webkit.org/show_bug.cgi?id=32434 |
|
6421 |
|
6422 The event delivery should go through QCoreApplication::sendEvent() |
|
6423 |
|
6424 * QtLauncher/main.cpp: |
|
6425 (MainWindow::sendTouchEvent): |
|
6426 |
|
6427 2009-12-17 Kim Grönholm <kim.gronholm@nomovok.com> |
|
6428 |
|
6429 Reviewed by Simon Hausmann. |
|
6430 |
|
6431 [Qt] Add support for touch events in QWebView and QGraphicsWebView |
|
6432 https://bugs.webkit.org/show_bug.cgi?id=32432 |
|
6433 |
|
6434 * Api/qgraphicswebview.cpp: |
|
6435 (QGraphicsWebView::QGraphicsWebView): |
|
6436 (QGraphicsWebView::sceneEvent): |
|
6437 * Api/qwebview.cpp: |
|
6438 (QWebView::QWebView): |
|
6439 (QWebView::event): |
|
6440 |
|
6441 2009-12-17 Kim Grönholm <kim.gronholm@nomovok.com> |
|
6442 |
|
6443 Reviewed by Simon Hausmann. |
|
6444 |
|
6445 [Qt] Add support for mocking touch events with QtLauncher |
|
6446 https://bugs.webkit.org/show_bug.cgi?id=32434 |
|
6447 |
|
6448 * QtLauncher/main.cpp: |
|
6449 (MainWindow::MainWindow): |
|
6450 (MainWindow::sendTouchEvent): |
|
6451 (MainWindow::eventFilter): |
|
6452 (MainWindow::setTouchMocking): |
|
6453 (MainWindow::setupUI): |
|
6454 |
|
6455 2009-12-14 Holger Hans Peter Freyther <zecke@selfish.org> |
|
6456 |
|
6457 Reviewed by Kenneth Rohde Christiansen. |
|
6458 |
|
6459 [Qt] Fix JavaScript prompt behavior for empty/null strings. |
|
6460 https://bugs.webkit.org/show_bug.cgi?id=30914 |
|
6461 |
|
6462 The patch is based on the work done by Gupta Manish. |
|
6463 |
|
6464 In the default implementation of the JavaScript prompt |
|
6465 we are using a QInputDialog to get the text and this has |
|
6466 one quirk with regard to not entering any text. |
|
6467 |
|
6468 In other WebKit ports and in Firefox an empty string is |
|
6469 returned but in the Qt case it is a null string. |
|
6470 |
|
6471 Change the API documentation in QWebPage to mention we want to |
|
6472 have a non null string but do the fixup in the ChromeClientQt |
|
6473 to support existing code. |
|
6474 |
|
6475 * Api/qwebpage.cpp: |
|
6476 (QWebPage::javaScriptPrompt): Change API documentation |
|
6477 * WebCoreSupport/ChromeClientQt.cpp: |
|
6478 (WebCore::ChromeClientQt::runJavaScriptPrompt): Fixup null QString |
|
6479 |
|
6480 2009-11-24 Holger Hans Peter Freyther <zecke@selfish.org> |
|
6481 |
|
6482 Reviewed by Simon Hausmann. |
|
6483 |
|
6484 [Qt] Do not disable the inspector on show and hide |
|
6485 https://bugs.webkit.org/show_bug.cgi?id=31851 |
|
6486 |
|
6487 On Qt/X11 with some window managers the window will be |
|
6488 hidden when switching windows. In this case all the results |
|
6489 are gone when coming back to the window. |
|
6490 |
|
6491 Attempt to use the CloseEvent to figure out if the window |
|
6492 was closed and withdrawn as this is more friendly to the |
|
6493 user of the inspector client. |
|
6494 |
|
6495 * Api/qwebinspector.cpp: |
|
6496 (QWebInspector::hideEvent): |
|
6497 (QWebInspector::closeEvent): |
|
6498 * Api/qwebinspector.h: |
|
6499 |
|
6500 2009-12-14 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
6501 |
|
6502 Reviewed by Kenneth Rohde Christiansen. |
|
6503 |
|
6504 [Qt] Improve the autotests of QtWebkit |
|
6505 https://bugs.webkit.org/show_bug.cgi?id=32216 |
|
6506 |
|
6507 Refactor tst_qwebelement to remove the qWait() |
|
6508 |
|
6509 * tests/qwebelement/tst_qwebelement.cpp: |
|
6510 (tst_QWebElement::style): |
|
6511 |
|
6512 2009-12-14 Andreas Kling <andreas.kling@nokia.com> |
|
6513 |
|
6514 Reviewed by Simon Hausmann. |
|
6515 |
|
6516 Fix the QWebPage inputMethods() autotest after r51758 |
|
6517 to compare the Qt::ImFont property's family against an explicitly |
|
6518 previously configured family. |
|
6519 |
|
6520 https://bugs.webkit.org/show_bug.cgi?id=32491 |
|
6521 |
|
6522 * tests/qwebpage/tst_qwebpage.cpp: |
|
6523 (tst_QWebPage::inputMethods): |
|
6524 |
|
6525 2009-12-13 Sam Weinig <sam@webkit.org> |
|
6526 |
|
6527 Reviewed by Dan Bernstein. |
|
6528 |
|
6529 Fix for https://bugs.webkit.org/show_bug.cgi?id=32499 |
|
6530 Add client based Geolocation provider |
|
6531 |
|
6532 Add first cut of a client based Geolocation provider. This is guarded by |
|
6533 ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a |
|
6534 GeolocationControllerClient interface that no-one currently implements, |
|
6535 but will in a subsequent patch. |
|
6536 |
|
6537 * Api/qwebpage.cpp: |
|
6538 (QWebPagePrivate::QWebPagePrivate): |
|
6539 |
|
6540 2009-12-13 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
6541 |
|
6542 Reviewed by Simon Hausmann. |
|
6543 |
|
6544 Add a test in Qt for https://bugs.webkit.org/show_bug.cgi?id=29005 |
|
6545 https://bugs.webkit.org/show_bug.cgi?id=29008 |
|
6546 |
|
6547 * tests/qwebframe/tst_qwebframe.cpp: |
|
6548 |
|
6549 2009-12-13 Simon Hausmann <hausmann@webkit.org> |
|
6550 |
|
6551 Reviewed by Holger Freyther. |
|
6552 |
|
6553 [Qt] Re-enable QWebView::renderHints property for Qt for Symbian |
|
6554 |
|
6555 https://bugs.webkit.org/show_bug.cgi?id=28273 |
|
6556 |
|
6557 The bug in Qt's moc that triggered a linking error when declaring this |
|
6558 property has been fixed and we can remove the workaround. |
|
6559 |
|
6560 * Api/qwebview.h: |
|
6561 |
|
6562 2009-12-11 Yael Aharon <yael.aharon@nokia.com> |
|
6563 |
|
6564 Unreviewed build fix for Qt versions < 4.6. |
|
6565 |
|
6566 * tests/qwebframe/tst_qwebframe.cpp: |
|
6567 * tests/qwebview/tst_qwebview.cpp: |
|
6568 (tst_QWebView::reusePage): |
|
6569 |
|
6570 2009-12-11 Girish Ramakrishnan <girish@forwardbias.in> |
|
6571 |
|
6572 Reviewed by Tor Arne Vestbø. |
|
6573 |
|
6574 [Qt] Updated QWebElement documentation |
|
6575 |
|
6576 findAll() returns a QWebElementCollection, not QList<QWebElement>. |
|
6577 |
|
6578 * docs/webkitsnippets/webelement/main.cpp: |
|
6579 (findAll): |
|
6580 |
|
6581 2009-12-11 Simon Hausmann <hausmann@webkit.org>, Kim Grönholm <kim.gronholm@nomovok.com> |
|
6582 |
|
6583 Reviewed by Antti Koivisto. |
|
6584 |
|
6585 Forward Qt touch events to the event handler as platform touch events. |
|
6586 |
|
6587 https://bugs.webkit.org/show_bug.cgi?id=32114 |
|
6588 |
|
6589 * Api/qwebpage.cpp: |
|
6590 (QWebPagePrivate::touchEvent): |
|
6591 (QWebPage::event): |
|
6592 * Api/qwebpage_p.h: |
|
6593 |
|
6594 2009-12-07 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
6595 |
|
6596 Reviewed by Kenneth Rohde Christiansen. |
|
6597 |
|
6598 [Qt] Improve the autotests of QtWebkit |
|
6599 https://bugs.webkit.org/show_bug.cgi?id=32216 |
|
6600 |
|
6601 Remove the calls to qWait() of the autotest of QWebView |
|
6602 |
|
6603 * tests/qwebview/tst_qwebview.cpp: |
|
6604 (tst_QWebView::reusePage): |
|
6605 |
|
6606 2009-12-07 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
6607 |
|
6608 Reviewed by Kenneth Rohde Christiansen. |
|
6609 |
|
6610 [Qt] Improve the autotests of QtWebkit |
|
6611 https://bugs.webkit.org/show_bug.cgi?id=32216 |
|
6612 |
|
6613 Refactor tst_qwebframe to remove qWait() and use |
|
6614 the function waitForSignal() from util.h |
|
6615 |
|
6616 * tests/qwebframe/tst_qwebframe.cpp: |
|
6617 |
|
6618 2009-12-07 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
6619 |
|
6620 Reviewed by Kenneth Rohde Christiansen. |
|
6621 |
|
6622 [Qt] Improve the autotests of QtWebkit |
|
6623 https://bugs.webkit.org/show_bug.cgi?id=32216 |
|
6624 |
|
6625 Refactor the test of QGraphicsWebView: |
|
6626 -make waitForSignal() available to all the tests. |
|
6627 -remove QTest::qWait() |
|
6628 |
|
6629 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
6630 (tst_QGraphicsWebView::crashOnViewlessWebPages): |
|
6631 * tests/util.h: |
|
6632 (waitForSignal): |
|
6633 |
|
6634 2009-12-07 Girish Ramakrishnan <girish@forwardbias.in> |
|
6635 |
|
6636 Reviewed by Simon Hausmann. |
|
6637 |
|
6638 [Qt] Plugins: Force windowless mode when there is no native window handle |
|
6639 |
|
6640 Inject wmode=opaque while instantiating the plugin for the case when the |
|
6641 webpage is not backed by a native window handle. |
|
6642 |
|
6643 https://bugs.webkit.org/show_bug.cgi?id=32059 |
|
6644 |
|
6645 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
6646 (WebCore::FrameLoaderClientQt::createPlugin): |
|
6647 |
|
6648 2009-12-04 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
6649 |
|
6650 Reviewed by Kenneth Rohde Christiansen. |
|
6651 |
|
6652 [Qt] Corrects QtLauncher style |
|
6653 |
|
6654 * QtLauncher/main.cpp: |
|
6655 (WebPage::acceptNavigationRequest): |
|
6656 (MainWindow::MainWindow): |
|
6657 (MainWindow::webPage): |
|
6658 (MainWindow::webView): |
|
6659 (MainWindow::changeLocation): |
|
6660 (MainWindow::loadFinished): |
|
6661 (MainWindow::showLinkHover): |
|
6662 (MainWindow::zoomIn): |
|
6663 (MainWindow::zoomOut): |
|
6664 (MainWindow::print): |
|
6665 (MainWindow::setEditable): |
|
6666 (MainWindow::dumpHtml): |
|
6667 (MainWindow::selectElements): |
|
6668 (MainWindow::newWindow): |
|
6669 (MainWindow::setupUI): |
|
6670 (WebPage::createWindow): |
|
6671 (WebPage::createPlugin): |
|
6672 (main): |
|
6673 |
|
6674 2009-12-04 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
6675 |
|
6676 Reviewed by Kenneth Rohde Christiansen. |
|
6677 |
|
6678 [Qt] QtLauncher: add a menu to show or hide the web inspector. |
|
6679 https://bugs.webkit.org/show_bug.cgi?id=32149 |
|
6680 |
|
6681 * QtLauncher/main.cpp: |
|
6682 (WebInspector::WebInspector): |
|
6683 (WebInspector::showEvent): |
|
6684 (WebInspector::hideEvent): |
|
6685 (MainWindow::MainWindow): |
|
6686 (MainWindow::setupUI): |
|
6687 |
|
6688 2009-12-04 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
6689 |
|
6690 Reviewed by Antti Koivisto. |
|
6691 |
|
6692 Split out the renderPrivate in two methods, one for working on |
|
6693 relative coordinates (relative to the viewport) and one for |
|
6694 working on absolute coordinates. The latter is more effecient |
|
6695 for implementing tiling, as you don't need translate the coords, |
|
6696 and because it avoid clipping to the viewport. |
|
6697 |
|
6698 No behaviour changes, so no new tests. |
|
6699 |
|
6700 * Api/qwebframe.cpp: |
|
6701 (QWebFramePrivate::renderContentsLayerAbsoluteCoords): |
|
6702 (QWebFramePrivate::renderRelativeCoords): |
|
6703 (QWebFrame::render): |
|
6704 * Api/qwebframe_p.h: |
|
6705 |
|
6706 2009-12-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
6707 |
|
6708 Reviewed by Simon Hausmann. |
|
6709 |
|
6710 [Qt] Allow removing 'qrc' as a local security origin scheme |
|
6711 |
|
6712 * tests/qwebpage/tst_qwebpage.cpp: |
|
6713 |
|
6714 2009-12-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
6715 |
|
6716 Reviewed by Simon Hausmann. |
|
6717 |
|
6718 [Qt] Clean up argument parsing in the QtLauncher |
|
6719 |
|
6720 * QtLauncher/main.cpp: |
|
6721 |
|
6722 2009-12-04 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
6723 |
|
6724 Reviewed by Kenneth Rohde Christiansen. |
|
6725 |
|
6726 [Qt] Prevent the inspector from closing its wrapping widget. |
|
6727 This is not necessary anymore since we now hide the embedded |
|
6728 close button. |
|
6729 https://bugs.webkit.org/show_bug.cgi?id=32149 |
|
6730 |
|
6731 * WebCoreSupport/InspectorClientQt.cpp: |
|
6732 (WebCore::InspectorClientQt::showWindow): |
|
6733 (WebCore::InspectorClientQt::closeWindow): |
|
6734 |
|
6735 2009-12-03 İsmail Dönmez <ismail@namtrac.org> |
|
6736 |
|
6737 Reviewed by Eric Seidel. |
|
6738 |
|
6739 Fix compilation when SVG is disabled. |
|
6740 |
|
6741 * Api/qwebframe.cpp: |
|
6742 (qt_drt_pauseSVGAnimation): |
|
6743 |
|
6744 2009-12-03 Brady Eidson <beidson@apple.com> |
|
6745 |
|
6746 Reviewed by Sam Weinig. |
|
6747 |
|
6748 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API |
|
6749 |
|
6750 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
6751 (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage): |
|
6752 (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage): |
|
6753 (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage): |
|
6754 * WebCoreSupport/FrameLoaderClientQt.h: |
|
6755 |
|
6756 2009-12-03 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com> |
|
6757 |
|
6758 Reviewed by Timothy Hatcher. |
|
6759 |
|
6760 Web Inspector: Simplify the settings support in inspector controller. |
|
6761 |
|
6762 https://bugs.webkit.org/show_bug.cgi?id=32076 |
|
6763 |
|
6764 * WebCoreSupport/InspectorClientQt.cpp: |
|
6765 (WebCore::InspectorClientQt::populateSetting): |
|
6766 (WebCore::InspectorClientQt::storeSetting): |
|
6767 (WebCore::variantToSetting): |
|
6768 (WebCore::settingToVariant): |
|
6769 * WebCoreSupport/InspectorClientQt.h: |
|
6770 |
|
6771 2009-12-03 Ben Murdoch <benm@google.com> |
|
6772 |
|
6773 Reviewed by Brady Eidson. |
|
6774 |
|
6775 [Android] The FrameLoaderClient is unaware of BackForwardList changes. |
|
6776 https://bugs.webkit.org/show_bug.cgi?id=31914 |
|
6777 |
|
6778 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
6779 (WebCore::FrameLoaderClientQt::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug). |
|
6780 (WebCore::FrameLoaderClientQt::dispatchDidRemoveBackForwardItem): ditto. |
|
6781 (WebCore::FrameLoaderClientQt::dispatchDidChangeBackForwardIndex): ditto. |
|
6782 * WebCoreSupport/FrameLoaderClientQt.h: |
|
6783 |
|
6784 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> |
|
6785 |
|
6786 Not reviewed. Try to fix Qt build. |
|
6787 |
|
6788 * Api/qwebframe.cpp: |
|
6789 (qt_drt_pauseSVGAnimation): |
|
6790 |
|
6791 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> |
|
6792 |
|
6793 Reviewed by Simon Fraser. |
|
6794 |
|
6795 Add SVG animation test framework with 'snapshot' functionality |
|
6796 https://bugs.webkit.org/show_bug.cgi?id=31897 |
|
6797 |
|
6798 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method, |
|
6799 forwarding the call to SVGDocumentExtensions, if SVG is enabled. |
|
6800 |
|
6801 Implemented just like the existing pauseAnimation* methods for CSS animations. |
|
6802 |
|
6803 * Api/qwebframe.cpp: |
|
6804 (qt_drt_pauseSVGAnimation): |
|
6805 |
|
6806 2009-12-01 Daniel Bates <dbates@webkit.org> |
|
6807 |
|
6808 Reviewed by Kenneth Rohde Christiansen. |
|
6809 |
|
6810 https://bugs.webkit.org/show_bug.cgi?id=31898 |
|
6811 |
|
6812 Makes QtLauncher default to the http scheme for URLs. |
|
6813 |
|
6814 * QtLauncher/main.cpp: |
|
6815 (MainWindow::MainWindow): |
|
6816 (MainWindow::changeLocation): |
|
6817 (main): |
|
6818 |
|
6819 2009-11-30 Abhinav Mithal <abhinav.mithal@nokia.com> |
|
6820 |
|
6821 Reviewed by Simon Hausmann. |
|
6822 |
|
6823 [Qt][Symbian] Report SymbianOS in user agent string for Symbian |
|
6824 https://bugs.webkit.org/show_bug.cgi?id=31961 |
|
6825 |
|
6826 * Api/qwebpage.cpp: |
|
6827 (QWebPage::userAgentForUrl): |
|
6828 |
|
6829 2009-11-30 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
6830 |
|
6831 Reviewed by Kenneth Rohde Christiansen. |
|
6832 |
|
6833 [Qt] Fix minor waning in QtWebKit |
|
6834 https://bugs.webkit.org/show_bug.cgi?id=31963 |
|
6835 |
|
6836 * tests/qwebpage/tst_qwebpage.cpp: |
|
6837 (ErrorPage::extension): Remove info wariable as it is |
|
6838 not used. |
|
6839 |
|
6840 2009-11-28 Simon Hausmann <simon.hausmann@nokia.com> |
|
6841 |
|
6842 Reviewed by Kenneth Rohde Christiansen. |
|
6843 |
|
6844 [Qt] SoftwareInputPanelRequest event sent when clicking in newly loaded page |
|
6845 |
|
6846 https://bugs.webkit.org/show_bug.cgi?id=31401 |
|
6847 |
|
6848 Don't set the event unless there is a focused node we can use |
|
6849 for editing afterwards. |
|
6850 |
|
6851 * Api/qwebpage.cpp: |
|
6852 (QWebPagePrivate::handleSoftwareInputPanel): |
|
6853 * tests/qwebpage/tst_qwebpage.cpp: |
|
6854 (tst_QWebPage::inputMethods): |
|
6855 |
|
6856 2009-11-26 Simon Hausmann <simon.hausmann@nokia.com> |
|
6857 |
|
6858 Rubber-stamped by Holger Freyther. |
|
6859 |
|
6860 Removed unused ICO image plugin handler. |
|
6861 |
|
6862 * Plugins/ICOHandler.cpp: Removed. |
|
6863 * Plugins/ICOHandler.h: Removed. |
|
6864 * Plugins/Plugins.pro: Removed. |
|
6865 |
|
6866 2009-11-12 Holger Hans Peter Freyther <zecke@selfish.org> |
|
6867 |
|
6868 Reviewed by Kenneth Rohde Christiansen. |
|
6869 |
|
6870 [Qt] Do not show the QWidget when the WebCore::Widget is hidden |
|
6871 https://bugs.webkit.org/show_bug.cgi?id=31203 |
|
6872 |
|
6873 The clipping code was making a QWidget visible even if the |
|
6874 WebCore::Widget was hidden. Fix the bug by calling setVisible |
|
6875 only if the WebCore::Widget Widget::isSelfVisible. |
|
6876 |
|
6877 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
6878 (WebCore::QtPluginWidget::show): Override WebCore::Widget::show to call handleVisibility |
|
6879 (WebCore::QtPluginWidget::handleVisibility): New method to call setVisible when we are visible |
|
6880 (FrameLoaderClientQt::createPlugin): Hide the QWidget by default |
|
6881 |
|
6882 2009-11-23 David Boddie <dboddie@trolltech.com> |
|
6883 |
|
6884 Reviewed by Simon Hausmann. |
|
6885 |
|
6886 Updated the QWebElement documentation with links to examples and |
|
6887 external resources. |
|
6888 Fixed the project file for the webelement snippet and tidied up the |
|
6889 markers used for quoting the code. |
|
6890 |
|
6891 * Api/qwebelement.cpp: |
|
6892 * docs/webkitsnippets/webelement/main.cpp: |
|
6893 (findAll): |
|
6894 * docs/webkitsnippets/webelement/webelement.pro: |
|
6895 |
|
6896 2009-11-23 Simon Hausmann <simon.hausmann@nokia.com> |
|
6897 |
|
6898 Reviewed by Kenneth Rohde Christiansen. |
|
6899 |
|
6900 [Qt] Wrong runtime instance objects of wrapped QObjects may be used if |
|
6901 the wrapped object died before the gc removed the instance. |
|
6902 |
|
6903 https://bugs.webkit.org/show_bug.cgi?id=31681 |
|
6904 |
|
6905 Added a unit-test to verify that wrapping a QObject with the |
|
6906 same identity as a previously but now dead object works. |
|
6907 |
|
6908 * tests/qwebframe/tst_qwebframe.cpp: |
|
6909 |
|
6910 2009-11-19 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
6911 |
|
6912 Reviewed by Kenneth Rohde Christiansen. |
|
6913 |
|
6914 [Qt] Add instantiation tests for QWebInspector. |
|
6915 |
|
6916 * tests/qwebinspector/qwebinspector.pro: Added. |
|
6917 * tests/qwebinspector/tst_qwebinspector.cpp: Added. |
|
6918 (tst_QWebInspector::attachAndDestroy): |
|
6919 * tests/tests.pro: |
|
6920 |
|
6921 2009-11-19 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
6922 |
|
6923 Reviewed by Kenneth Rohde Christiansen. |
|
6924 |
|
6925 [Qt] Fix QWebInspector destruction problem. |
|
6926 https://bugs.webkit.org/show_bug.cgi?id=31664 |
|
6927 |
|
6928 * Api/qwebpage.cpp: |
|
6929 (QWebPage::~QWebPage): |
|
6930 |
|
6931 2009-11-19 Olivier Goffart <ogoffart@trolltech.com> |
|
6932 |
|
6933 Reviewed by Simon Hausmann. |
|
6934 |
|
6935 [Qt] Normalize signal and slot signatures. |
|
6936 |
|
6937 * Api/qgraphicswebview.cpp: |
|
6938 (QGraphicsWebView::setPage): |
|
6939 * Api/qwebview.cpp: |
|
6940 (QWebView::setPage): |
|
6941 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
6942 (WebCore::FrameLoaderClientQt::setFrame): |
|
6943 * docs/webkitsnippets/qtwebkit_qwebinspector_snippet.cpp: |
|
6944 (wrapInFunction): |
|
6945 * tests/qwebframe/tst_qwebframe.cpp: |
|
6946 * tests/qwebpage/tst_qwebpage.cpp: |
|
6947 (tst_QWebPage::modified): |
|
6948 (tst_QWebPage::database): |
|
6949 |
|
6950 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
6951 |
|
6952 Reviewed by Kenneth Rohde Christiansen. |
|
6953 |
|
6954 [Qt] Remove support for Qt v4.3 or older versions |
|
6955 https://bugs.webkit.org/show_bug.cgi?id=29469 |
|
6956 |
|
6957 * Api/qcookiejar.cpp: Removed. |
|
6958 * Api/qcookiejar.h: Removed. |
|
6959 * Api/qgraphicswebview.cpp: |
|
6960 (QGraphicsWebView::event): |
|
6961 * Api/qwebframe.cpp: |
|
6962 (QWebFrame::load): |
|
6963 * Api/qwebframe.h: |
|
6964 * Api/qwebkitglobal.h: |
|
6965 * Api/qwebnetworkinterface.cpp: Removed. |
|
6966 * Api/qwebnetworkinterface.h: Removed. |
|
6967 * Api/qwebnetworkinterface_p.h: Removed. |
|
6968 * Api/qwebpage.cpp: |
|
6969 (QWebPagePrivate::QWebPagePrivate): |
|
6970 (QWebPagePrivate::acceptNavigationRequest): |
|
6971 (QWebPage::acceptNavigationRequest): |
|
6972 (QWebPage::action): |
|
6973 (QWebPage::userAgentForUrl): |
|
6974 * Api/qwebpage.h: |
|
6975 * Api/qwebpage_p.h: |
|
6976 * Api/qwebview.cpp: |
|
6977 (QWebView::load): |
|
6978 (QWebView::event): |
|
6979 * Api/qwebview.h: |
|
6980 * QtLauncher/main.cpp: |
|
6981 (MainWindow::print): |
|
6982 (MainWindow::setupUI): |
|
6983 (main): |
|
6984 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
6985 (WebCore::FrameLoaderClientQt::download): |
|
6986 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
6987 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
6988 (WebCore::FrameLoaderClientQt::startDownload): |
|
6989 (WebCore::FrameLoaderClientQt::createPlugin): |
|
6990 |
|
6991 2009-11-18 Shu Chang <Chang.Shu@nokia.com> |
|
6992 |
|
6993 Reviewed by Eric Seidel. |
|
6994 |
|
6995 [Qt] Add support for displaying deleteButton. |
|
6996 https://bugs.webkit.org/show_bug.cgi?id=31560 |
|
6997 |
|
6998 Test: LayoutTests/editing/deleting/5408255.html |
|
6999 |
|
7000 * Api/qwebsettings.cpp: |
|
7001 (graphics): |
|
7002 * Api/qwebsettings.h: |
|
7003 |
|
7004 2009-11-18 Paul Olav Tvete <paul.tvete@nokia.com> |
|
7005 |
|
7006 Reviewed by Simon Hausmann. |
|
7007 |
|
7008 [Qt] Make the QWebElement::render() test pass when pixmaps aren't 32 bit. |
|
7009 |
|
7010 * tests/qwebelement/tst_qwebelement.cpp: |
|
7011 (tst_QWebElement::render): |
|
7012 |
|
7013 2009-11-18 Simon Hausmann <simon.hausmann@nokia.com> |
|
7014 |
|
7015 Reviewed by Tor Arne Vestbø. |
|
7016 |
|
7017 Clarify and simplify the legal section in the overview documentation, |
|
7018 after review with our legal team. |
|
7019 |
|
7020 * docs/qtwebkit.qdoc: |
|
7021 |
|
7022 2009-11-18 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
7023 |
|
7024 Reviewed by Simon Hausmann. |
|
7025 |
|
7026 [Qt] Add QtLauncher support for opening links in the default browser |
|
7027 |
|
7028 This can be triggered by either the context menu or by clicking a link |
|
7029 while holding down the Alt key. Opening a link in a new windows is |
|
7030 triggered by holding down Shift. |
|
7031 |
|
7032 * QtLauncher/main.cpp: |
|
7033 |
|
7034 2009-11-17 Yael Aharon <yael.aharon@nokia.com> |
|
7035 |
|
7036 Reviewed by Kenneth Rohde Christiansen. |
|
7037 |
|
7038 [Qt] QGLLauncher does not support drag&drop of local files |
|
7039 https://bugs.webkit.org/show_bug.cgi?id=31057 |
|
7040 |
|
7041 Enable accepting files in QGraphicsWebView. |
|
7042 |
|
7043 * Api/qgraphicswebview.cpp: |
|
7044 (QGraphicsWebView::QGraphicsWebView): |
|
7045 (QGraphicsWebView::dragEnterEvent): |
|
7046 |
|
7047 2009-11-17 Antonio Gomes <tonikitoo@webkit.org> |
|
7048 |
|
7049 Reviewed by Kenneth Christiansen. |
|
7050 |
|
7051 [Qt] better test coverage for ErrorPageExtension |
|
7052 https://bugs.webkit.org/show_bug.cgi?id=31583 |
|
7053 |
|
7054 Improved the coverage of current ErrorPageExtension tests by |
|
7055 adding autotests involving frameset and iframes. |
|
7056 |
|
7057 * tests/qwebpage/tst_qwebpage.cpp: |
|
7058 (ErrorPage::extension): Make the ErrorPageExtension |
|
7059 to work for all frames, not only the main frame. |
|
7060 (tst_QWebPage::errorPageExtension): Stop using |
|
7061 the 'frameset.html' resouce in this method since |
|
7062 an autotest specific for frameset's is being added. |
|
7063 (tst_QWebPage::errorPageExtensionInIFrames): Added. |
|
7064 (tst_QWebPage::errorPageExtensionInFrameset): Added. |
|
7065 |
|
7066 2009-11-16 Simon Hausmann <simon.hausmann@nokia.com> |
|
7067 |
|
7068 Reviewed by Kenneth Rohde Christiansen. |
|
7069 |
|
7070 API documentation fixes. |
|
7071 |
|
7072 * Api/qgraphicswebview.cpp: Removed duplicate docs. |
|
7073 * Api/qwebelement.cpp: Added missing docs. |
|
7074 * Api/qwebsettings.cpp: Ditto. |
|
7075 |
|
7076 2009-11-14 Antonio Gomes <tonikitoo@webkit.org> |
|
7077 |
|
7078 Reviewed by Antti Koivisto. |
|
7079 |
|
7080 [Qt] Broken back/forward after using ErrorPageExtension to set error page |
|
7081 https://bugs.webkit.org/show_bug.cgi?id=30573 |
|
7082 |
|
7083 Implemented autotests for covering the back/forward |
|
7084 reset problem involving error pages. |
|
7085 |
|
7086 * tests/qwebpage/tst_qwebpage.cpp: |
|
7087 (tst_QWebPage::errorPageExtension): |
|
7088 |
|
7089 2009-11-13 Adam Roben <aroben@apple.com> |
|
7090 |
|
7091 Update for changes to FrameLoaderClient |
|
7092 |
|
7093 Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when |
|
7094 window objects in isolated worlds are cleared |
|
7095 |
|
7096 Reviewed by Dave Hyatt. |
|
7097 |
|
7098 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
7099 (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld): |
|
7100 * WebCoreSupport/FrameLoaderClientQt.h: |
|
7101 Replaced windowObjectCleared with this function. Does nothing if the |
|
7102 passed-in world is not the mainThreadNormalWorld(). |
|
7103 |
|
7104 2009-11-13 Andras Becsi <becsi.andras@stud.u-szeged.hu> |
|
7105 |
|
7106 Reviewed by Kenneth Rohde Christiansen. |
|
7107 |
|
7108 [Qt] Enable Page Cache if setMaximumPagesInCache needs it. |
|
7109 This fixes https://bugs.webkit.org/show_bug.cgi?id=31266. |
|
7110 |
|
7111 * Api/qwebsettings.cpp: |
|
7112 (QWebSettingsPrivate::apply): |
|
7113 (QWebSettings::setMaximumPagesInCache): |
|
7114 |
|
7115 2009-11-13 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
7116 |
|
7117 Reviewed by Kenneth Rohde Christiansen. |
|
7118 |
|
7119 [Qt] Fix initial QWebView focus behavior. |
|
7120 |
|
7121 focusController->setFocused(true) was not always called. |
|
7122 https://bugs.webkit.org/show_bug.cgi?id=31466 |
|
7123 |
|
7124 * Api/qwebpage.cpp: |
|
7125 (QWebPagePrivate::focusInEvent): |
|
7126 |
|
7127 2009-11-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
7128 |
|
7129 Reviewed by Simon Hausmann. |
|
7130 |
|
7131 Update documentation for the Qt API |
|
7132 |
|
7133 * Api/qgraphicswebview.cpp: |
|
7134 * Api/qwebelement.cpp: |
|
7135 * Api/qwebframe.cpp: |
|
7136 * Api/qwebsettings.cpp: |
|
7137 * Api/qwebview.cpp: |
|
7138 |
|
7139 2009-11-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
7140 |
|
7141 Reviewed by Simon Hausmann. |
|
7142 |
|
7143 Use correct install-path when running qdoc3 |
|
7144 |
|
7145 * docs/docs.pri: |
|
7146 |
|
7147 2009-11-12 Shinichiro Hamaji <hamaji@chromium.org> |
|
7148 |
|
7149 Reviewed by Darin Adler. |
|
7150 |
|
7151 externalRepresentation should take Frame as the argument |
|
7152 https://bugs.webkit.org/show_bug.cgi?id=31393 |
|
7153 |
|
7154 No new tests as this is just a refactoring. |
|
7155 |
|
7156 * Api/qwebframe.cpp: |
|
7157 (QWebFrame::renderTreeDump): |
|
7158 |
|
7159 2009-11-12 Antonio Gomes <tonikitoo@webkit.org> |
|
7160 |
|
7161 Reviewed by Jan Alonzo. |
|
7162 |
|
7163 [Qt] Various doc fixes |
|
7164 https://bugs.webkit.org/show_bug.cgi?id=31358 |
|
7165 |
|
7166 QWebPage's constructor docs are mentioning "QWebView": |
|
7167 "Constructs an empty QWebView with parent". |
|
7168 |
|
7169 * Api/qwebpage.cpp: |
|
7170 |
|
7171 2009-11-12 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
7172 |
|
7173 Reviewed by Kenneth Rohde Christiansen. |
|
7174 |
|
7175 Custom printing shrink factors |
|
7176 https://bugs.webkit.org/show_bug.cgi?id=29042 |
|
7177 |
|
7178 This reverts commit r49769. The public API for this needs to be reviewed |
|
7179 before its inclusion in Qt. |
|
7180 |
|
7181 * Api/qwebsettings.cpp: |
|
7182 (QWebSettingsPrivate::apply): |
|
7183 (QWebSettings::QWebSettings): |
|
7184 * Api/qwebsettings.h: |
|
7185 |
|
7186 2009-11-11 Antonio Gomes <tonikitoo@webkit.org> |
|
7187 |
|
7188 Reviewed by Kenneth Christiansen. |
|
7189 |
|
7190 [Qt] Various doc fixes |
|
7191 https://bugs.webkit.org/show_bug.cgi?id=31358 |
|
7192 |
|
7193 Fixed wrong documentation: item's dimensions do fit to Web page |
|
7194 content by default. |
|
7195 |
|
7196 Kenneth agreed to land this as a followup patch to the |
|
7197 just landed documentation patch. |
|
7198 |
|
7199 * Api/qgraphicswebview.cpp: |
|
7200 |
|
7201 2009-11-11 David Boddie <dboddie@trolltech.com> |
|
7202 |
|
7203 Reviewed by Kenneth Christiansen. |
|
7204 |
|
7205 [Qt] Various doc fixes |
|
7206 https://bugs.webkit.org/show_bug.cgi?id=31323 |
|
7207 |
|
7208 Fixed and synchronized QWebView related documentation. |
|
7209 |
|
7210 * Api/qgraphicswebview.cpp: |
|
7211 * Api/qwebview.cpp: |
|
7212 |
|
7213 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7214 |
|
7215 Unreviewed buildbot fix. |
|
7216 |
|
7217 Export a method to the DRT to know if the document has a |
|
7218 document element. |
|
7219 |
|
7220 * Api/qwebframe.cpp: |
|
7221 (qt_drt_hasDocumentElement): |
|
7222 |
|
7223 2009-11-11 Liang QI <liang.qi@nokia.com> |
|
7224 |
|
7225 [Qt] Fix tst_qwebpage and tst_qwebframe compilation on Symbian. |
|
7226 |
|
7227 * tests/qwebframe/qwebframe.pro: |
|
7228 * tests/qwebframe/tst_qwebframe.cpp: |
|
7229 * tests/qwebpage/qwebpage.pro: |
|
7230 * tests/qwebpage/tst_qwebpage.cpp: |
|
7231 |
|
7232 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7233 |
|
7234 Reviewed by Simon Hausmann. |
|
7235 |
|
7236 Fix a crash in the layout test plugins/document-open.html |
|
7237 |
|
7238 * Api/qwebframe.cpp: |
|
7239 (QWebFrame::toPlainText): |
|
7240 |
|
7241 2009-11-11 Warwick Allison <warwick.allison@nokia.com>, Simon Hausmann <simon.hausmann@nokia.com> |
|
7242 |
|
7243 Reviewed by Tor Arne Vestbø. |
|
7244 |
|
7245 [Qt] Regression: Preserve the parent of plugin objects when using |
|
7246 QtWebKit with only a QWebPage. |
|
7247 |
|
7248 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
7249 (WebCore::FrameLoaderClientQt::createPlugin): Don't reparent |
|
7250 plugins to 0. |
|
7251 * tests/qwebpage/tst_qwebpage.cpp: |
|
7252 (PluginCounterPage::PluginCounterPage): Initialize m_pluginParent to 0. |
|
7253 (PluginCounterPage::~PluginCounterPage): Delete the plugin parent later |
|
7254 (after the page) |
|
7255 (PluginTracerPage::createPlugin): Assign a dummy parent to the plugin. |
|
7256 (PluginTracerPage::PluginTracerPage): Set up the plugin parent. |
|
7257 (tst_QWebPage::createViewlessPlugin): Verify that for viewless pages the |
|
7258 plugin parent remains unchanged. |
|
7259 |
|
7260 2009-11-11 David Boddie <dboddie@trolltech.com> |
|
7261 |
|
7262 [Qt] Doc: Added internal or hidden placeholder documentation. |
|
7263 |
|
7264 * Api/qwebpage.cpp: |
|
7265 |
|
7266 2009-11-11 Martin Smith <msmith@trolltech.com> |
|
7267 |
|
7268 [Qt] doc: Changed Trolltech to Nokia |
|
7269 |
|
7270 * Api/qwebview.cpp: |
|
7271 |
|
7272 2009-11-11 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
7273 |
|
7274 Reviewed by Kenneth Rohde Christiansen. |
|
7275 |
|
7276 https://bugs.webkit.org/show_bug.cgi?id=31323 |
|
7277 Fix a few compiler warnings |
|
7278 |
|
7279 * tests/qwebframe/tst_qwebframe.cpp: Add extra brackets |
|
7280 to make it explicit where the else case belongs |
|
7281 |
|
7282 2009-11-11 Simon Hausmann <simon.hausmann@nokia.com> |
|
7283 |
|
7284 Reviewed by Tor Arne Vestbø. |
|
7285 |
|
7286 Fix enabling of software input panel when activating editable elements |
|
7287 in QGraphicsWebView. |
|
7288 |
|
7289 * Api/qgraphicswebview.cpp: |
|
7290 (QGraphicsWebViewPrivate::inputMethodEnabled): Implement method to |
|
7291 query for input method support. |
|
7292 * Api/qwebpage.cpp: |
|
7293 (QWebPageWidgetClient::inputMethodEnabled): Ditto for QWidget. |
|
7294 (QWebPagePrivate::handleSoftwareInputPanel): Don't use view() to |
|
7295 test for input method support. Instead query using QWebPageClient |
|
7296 and send the SIPR event to the ownerWidget() instead of the view(). |
|
7297 The latter is null for QGraphicsWebView. |
|
7298 * tests/qwebpage/tst_qwebpage.cpp: |
|
7299 (EventSpy::EventSpy): |
|
7300 (EventSpy::eventFilter): |
|
7301 (tst_QWebPage::inputMethods): Modify the test to verify that SIPR |
|
7302 events are dispatched when activating focusable content. |
|
7303 |
|
7304 2009-11-10 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7305 |
|
7306 Unreviewed documentation fixes. |
|
7307 |
|
7308 Added a few improvements from Jocelyn Turcotte to the |
|
7309 createWindow docs. |
|
7310 |
|
7311 * Api/qwebview.cpp: |
|
7312 |
|
7313 2009-11-10 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7314 |
|
7315 Unreviewed documentation fix. |
|
7316 |
|
7317 [Qt] Make qwebpage's createWindow not qwebview dependent. |
|
7318 https://bugs.webkit.org/show_bug.cgi?id=30771 |
|
7319 |
|
7320 Update documentation to make it clear that a reimplementation |
|
7321 of the createWindow method of the associated QWebPage can |
|
7322 result in the QWebView::createWindow method to never be called. |
|
7323 |
|
7324 * Api/qwebview.cpp: |
|
7325 |
|
7326 2009-11-09 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
7327 |
|
7328 Reviewed by Kenneth Rohde Christiansen. |
|
7329 |
|
7330 [Qt] Few classes have virtual functions but non-virtual destructor |
|
7331 https://bugs.webkit.org/show_bug.cgi?id=31269 |
|
7332 |
|
7333 * Api/qgraphicswebview.cpp: |
|
7334 (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate): Add virtual |
|
7335 destructor. |
|
7336 |
|
7337 2009-11-09 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
7338 |
|
7339 Reviewed by Kenneth Rohde Christiansen. |
|
7340 |
|
7341 https://bugs.webkit.org/show_bug.cgi?id=30628 |
|
7342 Add an API to get all the attributes from a QWebElement. |
|
7343 |
|
7344 * Api/qwebelement.cpp: |
|
7345 (QWebElement::attributesName): |
|
7346 * Api/qwebelement.h: |
|
7347 * tests/qwebelement/tst_qwebelement.cpp: |
|
7348 (tst_QWebElement::listAttributes): |
|
7349 |
|
7350 2009-11-09 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
7351 |
|
7352 Reviewed by Kenneth Rohde Christiansen. |
|
7353 |
|
7354 Use explicit parentheses to silence gcc 4.4 -Wparentheses warnings |
|
7355 https://bugs.webkit.org/show_bug.cgi?id=31040 |
|
7356 |
|
7357 * Api/qwebpage.cpp: |
|
7358 (QWebPagePrivate::handleScrolling): |
|
7359 |
|
7360 2009-11-09 Mark Mentovai <mark@chromium.org> |
|
7361 |
|
7362 Reviewed by Dan Bernstein. |
|
7363 |
|
7364 Track "can have scrollbar" state within FrameView independently of the |
|
7365 individual scrollbar states in ScrollView. |
|
7366 |
|
7367 rdar://problem/7215132, https://bugs.webkit.org/show_bug.cgi?id=29167 |
|
7368 REGRESSION (r48064): mint.com loses scrollbars after coming out of |
|
7369 edit mode. |
|
7370 |
|
7371 rdar://problem/7314421, https://bugs.webkit.org/show_bug.cgi?id=30517 |
|
7372 REGRESSION (r48064): Extra scroll bars in GarageBand Lesson Store. |
|
7373 |
|
7374 Test: fast/overflow/scrollbar-restored.html |
|
7375 |
|
7376 * Api/qwebframe.cpp: |
|
7377 (QWebFrame::setScrollBarPolicy): |
|
7378 |
|
7379 2009-11-09 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
7380 |
|
7381 Reviewed by Kenneth Rohde Christiansen. |
|
7382 |
|
7383 https://bugs.webkit.org/show_bug.cgi?id=30772 |
|
7384 Add a non-const iterator to QWebElementCollection. |
|
7385 Move the two attributes of the iterator to private. |
|
7386 |
|
7387 * Api/qwebelement.h: |
|
7388 (const_iterator::begin): |
|
7389 (const_iterator::end): |
|
7390 (const_iterator::constBegin): |
|
7391 (const_iterator::constEnd): |
|
7392 (const_iterator::iterator::iterator): |
|
7393 (const_iterator::iterator::operator*): |
|
7394 (const_iterator::iterator::operator==): |
|
7395 (const_iterator::iterator::operator!=): |
|
7396 (const_iterator::iterator::operator<): |
|
7397 (const_iterator::iterator::operator<=): |
|
7398 (const_iterator::iterator::operator>): |
|
7399 (const_iterator::iterator::operator>=): |
|
7400 (const_iterator::iterator::operator++): |
|
7401 (const_iterator::iterator::operator--): |
|
7402 (const_iterator::iterator::operator+=): |
|
7403 (const_iterator::iterator::operator-=): |
|
7404 (const_iterator::iterator::operator+): |
|
7405 (const_iterator::iterator::operator-): |
|
7406 * tests/qwebelement/tst_qwebelement.cpp: |
|
7407 (tst_QWebElement::nonConstIterator): |
|
7408 (tst_QWebElement::constIterator): |
|
7409 |
|
7410 2009-11-09 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
7411 |
|
7412 Reviewed by Kenneth Christiansen. |
|
7413 |
|
7414 [Qt] Remove the sessionStorage setting (per Page) |
|
7415 https://bugs.webkit.org/show_bug.cgi?id=31249 |
|
7416 |
|
7417 This setting allows to run sessionStorage on/off on a per page |
|
7418 basis. Remove this prematurely exposed API. |
|
7419 |
|
7420 * Api/qwebsettings.cpp: |
|
7421 (QWebSettingsPrivate::apply): |
|
7422 (QWebSettings::QWebSettings): |
|
7423 * tests/qwebpage/tst_qwebpage.cpp: |
|
7424 (tst_QWebPage::database): |
|
7425 (tst_QWebPage::testOptionalJSObjects): |
|
7426 |
|
7427 2009-11-09 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
7428 |
|
7429 Reviewed by Simon Hausmann. |
|
7430 |
|
7431 [Qt] Remove the QWebPage:webInspectorTriggered signal. |
|
7432 User customization of the communication between QWebPage |
|
7433 and QWebInspector will be properly designed in the next version. |
|
7434 https://bugs.webkit.org/show_bug.cgi?id=30773 |
|
7435 |
|
7436 * Api/qwebinspector.cpp: |
|
7437 * Api/qwebpage.cpp: |
|
7438 (QWebPagePrivate::getOrCreateInspector): |
|
7439 (QWebPage::triggerAction): |
|
7440 * Api/qwebpage.h: |
|
7441 * QtLauncher/main.cpp: |
|
7442 (MainWindow::MainWindow): |
|
7443 |
|
7444 2009-11-05 Simon Hausmann <hausmann@webkit.org> |
|
7445 |
|
7446 Reviewed by Tor Arne Vestbø. |
|
7447 |
|
7448 Added a missing re-implementation of QGraphicsItem::inputMethodQuery(). |
|
7449 |
|
7450 * Api/qgraphicswebview.cpp: |
|
7451 (QGraphicsWebView::inputMethodQuery): |
|
7452 * Api/qgraphicswebview.h: |
|
7453 |
|
7454 2009-11-04 Simon Hausmann <hausmann@webkit.org> |
|
7455 |
|
7456 Reviewed by Tor Arne Vestbø. |
|
7457 |
|
7458 Provide a dummy re-implementation of QGraphicsLayoutItem::sizeHint(), |
|
7459 similar to QWebView. |
|
7460 |
|
7461 * Api/qgraphicswebview.cpp: |
|
7462 (QGraphicsWebView::sizeHint): |
|
7463 * Api/qgraphicswebview.h: |
|
7464 |
|
7465 2009-11-04 Simon Hausmann <hausmann@webkit.org> |
|
7466 |
|
7467 Reviewed by Tor Arne Vestbø. |
|
7468 |
|
7469 Removed zoomFactoryChanged() signal and added |
|
7470 linkClicked() to QGraphicsWebView, for consistency with |
|
7471 QWebView. |
|
7472 |
|
7473 * Api/qgraphicswebview.cpp: |
|
7474 (QGraphicsWebView::setPage): |
|
7475 (QGraphicsWebView::setZoomFactor): |
|
7476 * Api/qgraphicswebview.h: |
|
7477 |
|
7478 2009-11-04 Simon Hausmann <hausmann@webkit.org> |
|
7479 |
|
7480 Reviewed by Tor Arne Vestbø. |
|
7481 |
|
7482 Added QGraphicsWebView::findText() for convenience and consistency |
|
7483 with QWebView. |
|
7484 |
|
7485 * Api/qgraphicswebview.cpp: |
|
7486 (QGraphicsWebView::findText): |
|
7487 * Api/qgraphicswebview.h: |
|
7488 |
|
7489 2009-11-04 Simon Hausmann <hausmann@webkit.org> |
|
7490 |
|
7491 Reviewed by Tor Arne Vestbø. |
|
7492 |
|
7493 Added QGraphicsWebView::pageAction() and triggerPageAction(), for |
|
7494 consistency with QWebView. |
|
7495 |
|
7496 * Api/qgraphicswebview.cpp: |
|
7497 (QGraphicsWebView::pageAction): |
|
7498 (QGraphicsWebView::triggerPageAction): |
|
7499 * Api/qgraphicswebview.h: |
|
7500 |
|
7501 2009-11-04 Simon Hausmann <hausmann@webkit.org> |
|
7502 |
|
7503 Reviewed by Tor Arne Vestbø. |
|
7504 |
|
7505 Removed QGraphicsWebView::toHtml() after API review. |
|
7506 |
|
7507 That's consistent with QWebView and also based on the assumption that |
|
7508 toHtml() is called less frequently than setHtml(). |
|
7509 |
|
7510 * Api/qgraphicswebview.cpp: |
|
7511 * Api/qgraphicswebview.h: |
|
7512 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
7513 (tst_QGraphicsWebView::qgraphicswebview): |
|
7514 |
|
7515 2009-11-04 Simon Hausmann <hausmann@webkit.org> |
|
7516 |
|
7517 Reviewed by Tor Arne Vestbø. |
|
7518 |
|
7519 Removed the interactive property of QGraphicsWebView. |
|
7520 |
|
7521 There are clearly use-cases for this feature, but it will require |
|
7522 more work to make this fully work with an enum to have fine-grained |
|
7523 control over the interactivity levels. For now it is easy to achieve |
|
7524 in user-code what the boolean property did. |
|
7525 |
|
7526 * Api/qgraphicswebview.cpp: |
|
7527 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): |
|
7528 (QGraphicsWebView::hoverMoveEvent): |
|
7529 (QGraphicsWebView::mouseMoveEvent): |
|
7530 (QGraphicsWebView::mousePressEvent): |
|
7531 (QGraphicsWebView::mouseReleaseEvent): |
|
7532 (QGraphicsWebView::mouseDoubleClickEvent): |
|
7533 (QGraphicsWebView::keyPressEvent): |
|
7534 (QGraphicsWebView::keyReleaseEvent): |
|
7535 (QGraphicsWebView::dragLeaveEvent): |
|
7536 (QGraphicsWebView::dragMoveEvent): |
|
7537 (QGraphicsWebView::dropEvent): |
|
7538 (QGraphicsWebView::wheelEvent): |
|
7539 (QGraphicsWebView::inputMethodEvent): |
|
7540 * Api/qgraphicswebview.h: |
|
7541 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
7542 (tst_QGraphicsWebView::qgraphicswebview): |
|
7543 |
|
7544 2009-11-04 Simon Hausmann <hausmann@webkit.org> |
|
7545 |
|
7546 Reviewed by Tor Arne Vestbø. |
|
7547 |
|
7548 Make the QGraphicsWebView constructor explicit. |
|
7549 |
|
7550 * Api/qgraphicswebview.h: |
|
7551 |
|
7552 2009-11-05 Shu Chang <Chang.Shu@nokia.com> |
|
7553 |
|
7554 Reviewed by Tor Arne Vestbø. |
|
7555 |
|
7556 Add support for Shift-PageUp and Shift-PageDown key events. |
|
7557 https://bugs.webkit.org/show_bug.cgi?id=31166 |
|
7558 |
|
7559 Test: LayoutTests/editing/selection/shrink-selection-after-shift-pagedown.html |
|
7560 |
|
7561 * WebCoreSupport/EditorClientQt.cpp: |
|
7562 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
7563 |
|
7564 2009-11-05 Simon Hausmann <hausmann@webkit.org> |
|
7565 |
|
7566 Last Qt 4.5 build fix (*sigh*) |
|
7567 |
|
7568 * tests/qwebpage/tst_qwebpage.cpp: |
|
7569 (inputMethodHints): inputMethodHints() is only used for |
|
7570 Qt 4.6, so guard the whole function. |
|
7571 |
|
7572 2009-11-05 Simon Hausmann <hausmann@webkit.org> |
|
7573 |
|
7574 Another prospective build fix against Qt 4.5 (build bot) |
|
7575 |
|
7576 Don't compile & run the QGraphicsWebView portion of the |
|
7577 input methods auto test with Qt 4.5. |
|
7578 |
|
7579 * tests/qwebpage/tst_qwebpage.cpp: |
|
7580 (tst_QWebPage::inputMethods_data): |
|
7581 (inputMethodHints): |
|
7582 (inputMethodEnabled): |
|
7583 (tst_QWebPage::inputMethods): |
|
7584 |
|
7585 2009-11-05 Simon Hausmann <hausmann@webkit.org> |
|
7586 |
|
7587 Prospective build fix against Qt 4.5 (build bot) |
|
7588 |
|
7589 * Api/qgraphicswebview.cpp: |
|
7590 (QGraphicsWebViewPrivate::setInputMethodEnabled): Guard the |
|
7591 use of Qt 4.6 specific API with #ifdefs. |
|
7592 |
|
7593 2009-11-01 Simon Hausmann <hausmann@webkit.org> |
|
7594 |
|
7595 Reviewed by Kenneth Christiansen. |
|
7596 |
|
7597 [Qt] Fix enabling of input method support on QGraphicsWebView. |
|
7598 https://bugs.webkit.org/show_bug.cgi?id=30605 |
|
7599 |
|
7600 Instead of setting the unsupported widget attribute on the |
|
7601 QGraphicsWidget in setInputMethodEnabled() set the |
|
7602 ItemAcceptsInputMethod GraphicsItem flag directly. |
|
7603 |
|
7604 Changed the existing input method auto test to run once |
|
7605 on a QWebView and once on a QGraphicsWebView. |
|
7606 |
|
7607 * Api/qgraphicswebview.cpp: |
|
7608 (QGraphicsWebViewPrivate::setInputMethodEnabled): |
|
7609 * tests/qwebpage/tst_qwebpage.cpp: |
|
7610 (tst_QWebPage::inputMethods_data): |
|
7611 (inputMethodHints): |
|
7612 (inputMethodEnabled): |
|
7613 (tst_QWebPage::inputMethods): |
|
7614 |
|
7615 2009-11-04 Simon Hausmann <hausmann@webkit.org> |
|
7616 |
|
7617 Reviewed by Kenneth Christiansen. |
|
7618 |
|
7619 Added QGraphicsWebView::modified property, for consistency |
|
7620 with QWebView. |
|
7621 |
|
7622 * Api/qgraphicswebview.cpp: |
|
7623 (QGraphicsWebView::isModified): |
|
7624 * Api/qgraphicswebview.h: |
|
7625 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
7626 (tst_QGraphicsWebView::qgraphicswebview): |
|
7627 |
|
7628 2009-11-04 Simon Hausmann <hausmann@webkit.org> |
|
7629 |
|
7630 Reviewed by Kenneth Christiansen. |
|
7631 |
|
7632 Removed status and progress properties of QGraphicsWebView. |
|
7633 Added loadProgress and statusBarMessage signals instead, |
|
7634 after API review. |
|
7635 |
|
7636 * Api/qgraphicswebview.cpp: |
|
7637 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): |
|
7638 (QGraphicsWebView::setPage): |
|
7639 * Api/qgraphicswebview.h: |
|
7640 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
7641 (tst_QGraphicsWebView::qgraphicswebview): |
|
7642 |
|
7643 2009-11-04 Yael Aharon <yael.aharon@nokia.com> |
|
7644 |
|
7645 Reviewed by Simon Hausmann. |
|
7646 |
|
7647 [Qt] REGRESSION: Allow applications to use their own QWidget bypassing QWebView. |
|
7648 https://bugs.webkit.org/show_bug.cgi?id=30979 |
|
7649 |
|
7650 Decouple QWebViewPrivate from QWebPageClient, and automatically create |
|
7651 QWebPageWidgetClient whenever the view is QWidget based. |
|
7652 |
|
7653 * Api/qwebpage.cpp: |
|
7654 (QWebPageWidgetClient::QWebPageWidgetClient): |
|
7655 (QWebPageWidgetClient::scroll): |
|
7656 (QWebPageWidgetClient::update): |
|
7657 (QWebPageWidgetClient::setInputMethodEnabled): |
|
7658 (QWebPageWidgetClient::setInputMethodHint): |
|
7659 (QWebPageWidgetClient::cursor): |
|
7660 (QWebPageWidgetClient::updateCursor): |
|
7661 (QWebPageWidgetClient::palette): |
|
7662 (QWebPageWidgetClient::screenNumber): |
|
7663 (QWebPageWidgetClient::ownerWidget): |
|
7664 (QWebPageWidgetClient::pluginParent): |
|
7665 (QWebPage::setView): |
|
7666 * Api/qwebview.cpp: |
|
7667 (QWebView::~QWebView): |
|
7668 (QWebView::setPage): |
|
7669 (QWebView::event): |
|
7670 |
|
7671 2009-11-03 Andras Becsi <becsi.andras@stud.u-szeged.hu> |
|
7672 |
|
7673 Reviewed by Simon Hausmann. |
|
7674 |
|
7675 [Qt] Fix build of unit-test after r50454. |
|
7676 |
|
7677 * tests/qwebpage/tst_qwebpage.cpp: |
|
7678 |
|
7679 2009-11-03 Simon Hausmann <hausmann@webkit.org> |
|
7680 |
|
7681 Reviewed by Tor Arne Vestbø. |
|
7682 |
|
7683 Make QWebPluginDatabase private API for now. |
|
7684 |
|
7685 https://bugs.webkit.org/show_bug.cgi?id=30775 |
|
7686 |
|
7687 * Api/headers.pri: |
|
7688 * Api/qwebplugindatabase.cpp: |
|
7689 * Api/qwebplugindatabase_p.h: Renamed from WebKit/qt/Api/qwebplugindatabase.h. |
|
7690 * Api/qwebsettings.cpp: |
|
7691 * Api/qwebsettings.h: |
|
7692 * QtLauncher/main.cpp: |
|
7693 (MainWindow::setupUI): |
|
7694 * tests/tests.pro: |
|
7695 |
|
7696 2009-11-03 Simon Hausmann <hausmann@webkit.org> |
|
7697 |
|
7698 Rubber-stamped by Tor Arne Vestbø. |
|
7699 |
|
7700 Oops, also remove the API docs of the removed networkRequestStarted() signal. |
|
7701 |
|
7702 * Api/qwebpage.cpp: |
|
7703 |
|
7704 2009-11-03 Simon Hausmann <hausmann@webkit.org> |
|
7705 |
|
7706 Reviewed by Tor Arne Vestbø. |
|
7707 |
|
7708 Replace the QWebPage::networkRequestStarted() signal with the originatingObject |
|
7709 property set to the QWebFrame that belongs to the request. |
|
7710 |
|
7711 https://bugs.webkit.org/show_bug.cgi?id=29975 |
|
7712 |
|
7713 * Api/qwebpage.h: |
|
7714 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
7715 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
7716 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
7717 (WebCore::FrameLoaderClientQt::startDownload): |
|
7718 * tests/qwebpage/tst_qwebpage.cpp: |
|
7719 (tst_QWebPage::loadFinished): |
|
7720 (TestNetworkManager::createRequest): |
|
7721 (tst_QWebPage::originatingObjectInNetworkRequests): |
|
7722 |
|
7723 2009-11-02 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
7724 |
|
7725 Reviewed by Adam Barth. |
|
7726 |
|
7727 QWebView crash fix. |
|
7728 |
|
7729 The QWebView should not crash if the stop() method is called from |
|
7730 a function triggered by the loadProgress signal. |
|
7731 |
|
7732 A null pointer protection was added in the ProgressTracker::incrementProgress. |
|
7733 |
|
7734 New autotest was created. |
|
7735 |
|
7736 https://bugs.webkit.org/show_bug.cgi?id=29425 |
|
7737 |
|
7738 * tests/qwebview/tst_qwebview.cpp: |
|
7739 (WebViewCrashTest::WebViewCrashTest): |
|
7740 (WebViewCrashTest::loading): |
|
7741 (tst_QWebView::crashTests): |
|
7742 |
|
7743 2009-11-01 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
7744 |
|
7745 Reviewed by Eric Seidel. |
|
7746 |
|
7747 Turn on warnings for QtWebKit for gcc |
|
7748 https://bugs.webkit.org/show_bug.cgi?id=30958 |
|
7749 |
|
7750 * Api/qwebpage.cpp: |
|
7751 (QWebPagePrivate::QWebPagePrivate): Reorder initialization list |
|
7752 to fix compiler warnings. |
|
7753 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
7754 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): Ditto. |
|
7755 |
|
7756 2009-10-30 Evan Stade <estade@chromium.org> |
|
7757 |
|
7758 Reviewed by David Levin. |
|
7759 |
|
7760 Notify the chrome when the focused node has changed. |
|
7761 https://bugs.webkit.org/show_bug.cgi?id=30832 |
|
7762 |
|
7763 Added stub implementation for new ChromeClient function. |
|
7764 |
|
7765 * WebCoreSupport/ChromeClientQt.cpp: |
|
7766 (WebCore::ChromeClientQt::focusedNodeChanged): |
|
7767 * WebCoreSupport/ChromeClientQt.h: |
|
7768 |
|
7769 2009-10-30 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
7770 |
|
7771 Reviewed by Tor Arne Vestbø. |
|
7772 |
|
7773 [Qt] Remove the QWebInspector::windowTitleChanged signal, |
|
7774 QEvent::WindowTitleChange can be used to achieve the same. |
|
7775 https://bugs.webkit.org/show_bug.cgi?id=30927 |
|
7776 |
|
7777 * Api/qwebinspector.cpp: |
|
7778 * Api/qwebinspector.h: |
|
7779 * WebCoreSupport/InspectorClientQt.cpp: |
|
7780 (WebCore::InspectorClientQt::updateWindowTitle): |
|
7781 |
|
7782 2009-10-29 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
7783 |
|
7784 Reviewed by Tor Arne Vestbø. |
|
7785 |
|
7786 [Qt] Implement DELETE HTTP method for XmlHttpRequest |
|
7787 https://bugs.webkit.org/show_bug.cgi?id=30894 |
|
7788 |
|
7789 No new tests as this functionality is already tested by the |
|
7790 xmlhttprequest LayoutTests. As this patch depends on an unreleased |
|
7791 version of the dependent QtNetwork library and the tests will be |
|
7792 enabled later once the dependent library is released (and the |
|
7793 buildbot is updated). |
|
7794 |
|
7795 * Api/qwebframe.cpp: |
|
7796 (QWebFrame::load): |
|
7797 |
|
7798 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7799 |
|
7800 Reviewed by Tor Arne Vestbø. |
|
7801 |
|
7802 Remove QWebView::guessUrlFromString() and replace its use |
|
7803 with the new QUrl::fromUserInput() if using Qt 4.6 or newer. |
|
7804 |
|
7805 * Api/qwebview.cpp: |
|
7806 * Api/qwebview.h: |
|
7807 * QGVLauncher/main.cpp: |
|
7808 (urlFromUserInput): |
|
7809 (WebPage::applyProxy): |
|
7810 (MainWindow::load): |
|
7811 * QtLauncher/main.cpp: |
|
7812 (urlFromUserInput): |
|
7813 (MainWindow::MainWindow): |
|
7814 (MainWindow::changeLocation): |
|
7815 * tests/qwebview/tst_qwebview.cpp: |
|
7816 |
|
7817 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7818 |
|
7819 Reviewed by Tor Arne Vestbø. |
|
7820 |
|
7821 Serialize directly to the stream, and not first to an QByteArray, |
|
7822 that is later serialized. That is slower and also uses more bytes. |
|
7823 |
|
7824 * Api/qwebhistory.cpp: |
|
7825 (operator<<): |
|
7826 (operator>>): |
|
7827 |
|
7828 2009-10-28 Shinichiro Hamaji <hamaji@chromium.org> |
|
7829 |
|
7830 Reviewed by Eric Seidel. |
|
7831 |
|
7832 [Qt] WebFrame::counterValueForElementById must not be exposed |
|
7833 https://bugs.webkit.org/show_bug.cgi?id=30882 |
|
7834 |
|
7835 * Api/qwebframe.cpp: |
|
7836 (qt_drt_counterValueForElementById): |
|
7837 * Api/qwebframe.h: |
|
7838 |
|
7839 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org> |
|
7840 |
|
7841 Reviewed by Darin Adler. |
|
7842 |
|
7843 Provide a way to get counter values with layoutTestContoller |
|
7844 https://bugs.webkit.org/show_bug.cgi?id=30555 |
|
7845 |
|
7846 * Api/qwebframe.cpp: |
|
7847 (QWebFrame::counterValueForElementById): |
|
7848 (QWebHitTestResult::frame): |
|
7849 * Api/qwebframe.h: |
|
7850 |
|
7851 2009-10-28 Antonio Gomes <tonikitoo@webkit.org> |
|
7852 |
|
7853 Pushing missing WebKit/qt/tests/qwebframe/resources/ dir from bug 29248. |
|
7854 |
|
7855 [Qt] [API] Make it possible to have 'invisible' loads |
|
7856 https://bugs.webkit.org/show_bug.cgi?id=29248 |
|
7857 |
|
7858 * tests/qwebframe/resources/image2.png: Copied from WebKit/qt/tests/qwebelement/image.png. |
|
7859 |
|
7860 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7861 |
|
7862 Reviewed by Tor Arne Vestbø. |
|
7863 |
|
7864 [Qt] QWebHistory::saveState() is inconsistent with the Qt API |
|
7865 https://bugs.webkit.org/show_bug.cgi?id=30710 |
|
7866 |
|
7867 Make the versioning internal and enforce it in the WebCore |
|
7868 part. Adjust the comments, as well as remove now dead code. |
|
7869 |
|
7870 * Api/qwebhistory.cpp: |
|
7871 (operator<<): |
|
7872 (operator>>): |
|
7873 * Api/qwebhistory.h: |
|
7874 |
|
7875 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7876 |
|
7877 Reviewed by Holger Freyther. |
|
7878 |
|
7879 [Qt] QWebHistory::saveState() is inconsistent with the Qt API |
|
7880 https://bugs.webkit.org/show_bug.cgi?id=30710 |
|
7881 |
|
7882 Remove the QWebHistory::saveState() and ::restoreState() as |
|
7883 they are inconsistent with the Qt API. |
|
7884 |
|
7885 Update unittests to reflect the change. |
|
7886 |
|
7887 * Api/qwebhistory.cpp: |
|
7888 (operator<<): |
|
7889 (operator>>): |
|
7890 * Api/qwebhistory.h: |
|
7891 * tests/qwebhistory/tst_qwebhistory.cpp: |
|
7892 (saveHistory): |
|
7893 (restoreHistory): |
|
7894 (tst_QWebHistory::saveAndRestore_crash_1): |
|
7895 (tst_QWebHistory::saveAndRestore_crash_2): |
|
7896 (tst_QWebHistory::saveAndRestore_crash_3): |
|
7897 (tst_QWebHistory::clear): |
|
7898 |
|
7899 2009-10-27 Antonio Gomes <tonikitoo@webkit.org> |
|
7900 |
|
7901 Reviewed by Holger Freyther. |
|
7902 |
|
7903 Complementary fix to bug 30779. |
|
7904 |
|
7905 By mistake I used QWeakPointer's toStrongRef() method which docs |
|
7906 explicitly say to not be used in this situation (when the tracked |
|
7907 pointer is devired from QObject). Instead QWeakPointer's data() |
|
7908 is recommended. |
|
7909 |
|
7910 * Api/qwebpage.cpp: |
|
7911 (QWebPage::view): |
|
7912 |
|
7913 2009-10-27 Holger Hans Peter Freyther <zecke@selfish.org> |
|
7914 |
|
7915 Reviewed by Simon Fraser. |
|
7916 |
|
7917 Change HitTestResult methods to use (3d) transformation aware methods |
|
7918 https://bugs.webkit.org/show_bug.cgi?id=27347 |
|
7919 |
|
7920 The HitTestResult::boundingBox method was removed. The |
|
7921 RenderObject must be used directly. In contrast to the |
|
7922 old HitTestResult::boundingBox method this code must use |
|
7923 a (3d) transformation aware method to not run into an |
|
7924 assert in SVGRenderBase::mapLocalToContainer. |
|
7925 |
|
7926 * Api/qwebframe.cpp: |
|
7927 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
7928 |
|
7929 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7930 |
|
7931 Rubberstamped by Oliver Hunt. |
|
7932 |
|
7933 Change two methods to be internal for DRT use only. |
|
7934 |
|
7935 Part of [Qt] Review all new API in Qt 4.6 |
|
7936 https://bugs.webkit.org/show_bug.cgi?id=29843#c11 |
|
7937 |
|
7938 * Api/qwebsecurityorigin.cpp: |
|
7939 (qt_drt_whiteListAccessFromOrigin): |
|
7940 (qt_drt_resetOriginAccessWhiteLists): |
|
7941 (QWebSecurityOrigin::localSchemes): |
|
7942 * Api/qwebsecurityorigin.h: |
|
7943 |
|
7944 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7945 |
|
7946 Reviewed by Tor Arne Vestbø. |
|
7947 |
|
7948 Make sure that initiating a rotation while rotating won't make |
|
7949 it end up at rotation positions that are not a multiply of |
|
7950 180 degrees. |
|
7951 |
|
7952 * QGVLauncher/main.cpp: |
|
7953 (MainView::animatedFlip): |
|
7954 |
|
7955 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7956 |
|
7957 Unreviewed Qt build fix. |
|
7958 |
|
7959 Update the tests as well to the new API change. |
|
7960 |
|
7961 * tests/qwebelement/tst_qwebelement.cpp: |
|
7962 (tst_QWebElement::clear): |
|
7963 |
|
7964 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
7965 |
|
7966 Rubberstamped by Tor Arne Vestbø. |
|
7967 |
|
7968 [Qt] QWebElement::removeChildren() should be |
|
7969 QWebElement::removeAllChildren() |
|
7970 https://bugs.webkit.org/show_bug.cgi?id=30630 |
|
7971 |
|
7972 * Api/qwebelement.cpp: |
|
7973 (QWebElement::removeAllChildren): |
|
7974 * Api/qwebelement.h: |
|
7975 |
|
7976 2009-10-27 Antonio Gomes <tonikitoo@webkit.org> |
|
7977 |
|
7978 Reviewed by Antti Koivisto and Holger Freyther. |
|
7979 |
|
7980 Make QWebPagePrivate's (QWidget) view to be a QWeakPointer. |
|
7981 https://bugs.webkit.org/show_bug.cgi?id=30779 |
|
7982 |
|
7983 The fact that it was been set from external objects of qwebpage |
|
7984 and not being deleted internally can lead to dangling references. |
|
7985 |
|
7986 * Api/qgraphicswebview.cpp: |
|
7987 (QGraphicsWebView::~QGraphicsWebView): |
|
7988 * Api/qwebpage.cpp: |
|
7989 (QWebPagePrivate::QWebPagePrivate): |
|
7990 (QWebPagePrivate::createContextMenu): |
|
7991 (QWebPagePrivate::handleSoftwareInputPanel): |
|
7992 (QWebPagePrivate::keyPressEvent): |
|
7993 (QWebPage::setView): |
|
7994 (QWebPage::view): |
|
7995 (QWebPage::javaScriptAlert): |
|
7996 (QWebPage::javaScriptConfirm): |
|
7997 (QWebPage::javaScriptPrompt): |
|
7998 (QWebPage::shouldInterruptJavaScript): |
|
7999 (QWebPage::createWindow): |
|
8000 (QWebPage::extension): |
|
8001 (QWebPage::chooseFile): |
|
8002 (QWebPage::userAgentForUrl): |
|
8003 * Api/qwebpage_p.h: |
|
8004 * Api/qwebview.cpp: |
|
8005 (QWebView::~QWebView): |
|
8006 |
|
8007 2009-10-26 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8008 |
|
8009 Unreviewed documentation fix from David Boddie (Qt Doc Team) |
|
8010 |
|
8011 Removes the check around the RenderHints property documentation |
|
8012 that was clearly added to synchronize the source and header files |
|
8013 when the #if !defined(Q_OS_SYMBIAN) guards was added to the |
|
8014 property. |
|
8015 |
|
8016 The documentation has also been updated to ensure that Symbian |
|
8017 users know that there is no actual RenderHints property on their |
|
8018 platform. |
|
8019 |
|
8020 * Api/qwebview.cpp: |
|
8021 |
|
8022 2009-10-26 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8023 |
|
8024 Unreviewed documentation fix from David Boddie (Qt Doc Team) |
|
8025 |
|
8026 Ensure that qdoc will always see the RenderHints property. |
|
8027 |
|
8028 The property was only defined in the header file if the Q_OS_SYMBIAN |
|
8029 symbol was not defined, resulting in the property not showing up |
|
8030 in the Qt documentation just because one platform doesn't support it. |
|
8031 |
|
8032 A follow up commit will improve the documentation for the property |
|
8033 and note that it is not supported on the Symbiam platform. |
|
8034 |
|
8035 * Api/qwebview.h: |
|
8036 |
|
8037 2009-10-26 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
8038 |
|
8039 Reviewed by Tor Arne Vestbø. |
|
8040 |
|
8041 [Qt] Reintroduce QWebElementCollection |
|
8042 |
|
8043 Revert the patch that has replaced QWebElementCollection |
|
8044 with QList<QWebElement>. Update the tests accordingly. |
|
8045 |
|
8046 Remove the constness of the return type of QWebElement operator[]. |
|
8047 |
|
8048 https://bugs.webkit.org/show_bug.cgi?id=30767 |
|
8049 |
|
8050 * Api/qwebelement.cpp: |
|
8051 (QWebElement::findAll): |
|
8052 (QWebElementCollectionPrivate::QWebElementCollectionPrivate): |
|
8053 (QWebElementCollectionPrivate::create): |
|
8054 (QWebElementCollection::QWebElementCollection): |
|
8055 (QWebElementCollection::operator=): |
|
8056 (QWebElementCollection::~QWebElementCollection): |
|
8057 (QWebElementCollection::operator+): |
|
8058 (QWebElementCollection::append): |
|
8059 (QWebElementCollection::count): |
|
8060 (QWebElementCollection::at): |
|
8061 (QWebElementCollection::toList): |
|
8062 * Api/qwebelement.h: |
|
8063 (const_iterator::begin): |
|
8064 (const_iterator::end): |
|
8065 (const_iterator::operator[]): |
|
8066 * Api/qwebframe.cpp: |
|
8067 (QWebFrame::findAllElements): |
|
8068 * Api/qwebframe.h: |
|
8069 * QtLauncher/main.cpp: |
|
8070 (MainWindow::selectElements): |
|
8071 * tests/qwebelement/tst_qwebelement.cpp: |
|
8072 (tst_QWebElement::simpleCollection): |
|
8073 (tst_QWebElement::iteration): |
|
8074 (tst_QWebElement::emptyCollection): |
|
8075 (tst_QWebElement::appendCollection): |
|
8076 (tst_QWebElement::nullSelect): |
|
8077 (tst_QWebElement::hasSetFocus): |
|
8078 (tst_QWebElement::render): |
|
8079 * tests/qwebpage/tst_qwebpage.cpp: |
|
8080 (tst_QWebPage::inputMethods): |
|
8081 |
|
8082 2009-10-24 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
8083 |
|
8084 Reviewed by Holger Freyther. |
|
8085 |
|
8086 [Qt] [Symbian] Set the capability and memory required to run QtWebKit for Symbian |
|
8087 https://bugs.webkit.org/show_bug.cgi?id=30476 |
|
8088 |
|
8089 Assign ReadUserData WriteUserData NetworkServices Symbian capabilities |
|
8090 to all QtWebkit executables. |
|
8091 |
|
8092 * QGVLauncher/QGVLauncher.pro: |
|
8093 * QtLauncher/QtLauncher.pro: |
|
8094 * tests/benchmarks/loading/tst_loading.pro: |
|
8095 * tests/benchmarks/painting/tst_painting.pro: |
|
8096 * tests/qgraphicswebview/qgraphicswebview.pro: |
|
8097 * tests/qwebelement/qwebelement.pro: |
|
8098 * tests/qwebframe/qwebframe.pro: |
|
8099 * tests/qwebhistory/qwebhistory.pro: |
|
8100 * tests/qwebhistoryinterface/qwebhistoryinterface.pro: |
|
8101 * tests/qwebpage/qwebpage.pro: |
|
8102 * tests/qwebplugindatabase/qwebplugindatabase.pro: |
|
8103 * tests/qwebview/qwebview.pro: |
|
8104 |
|
8105 2009-10-22 Gavin Barraclough <barraclough@apple.com> |
|
8106 |
|
8107 Reviewed by NOBODY (speculative build fix - qt is currently already broken!) |
|
8108 Build fix following bug #30696. |
|
8109 |
|
8110 * Api/qwebelement.cpp: |
|
8111 (setupScriptContext): |
|
8112 * Api/qwebframe.cpp: |
|
8113 (QWebFrame::evaluateJavaScript): |
|
8114 |
|
8115 2009-10-22 Shu Chang <Chang.Shu@nokia.com> |
|
8116 |
|
8117 Reviewed by Eric Seidel. |
|
8118 |
|
8119 [Qt] Enable track visited links in QWebPage |
|
8120 https://bugs.webkit.org/show_bug.cgi?id=30574 |
|
8121 |
|
8122 Test: fast/history/clicked-link-is-visited.html |
|
8123 |
|
8124 * Api/qwebpage.cpp: |
|
8125 (QWebPagePrivate::QWebPagePrivate): |
|
8126 |
|
8127 2009-10-22 Girish Ramakrishnan <girish@forwardbias.in> |
|
8128 |
|
8129 Reviewed by Eric Seidel. |
|
8130 |
|
8131 [Qt] Add Print Shortcut to QtLauncher |
|
8132 |
|
8133 https://bugs.webkit.org/show_bug.cgi?id=30682 |
|
8134 |
|
8135 * QtLauncher/main.cpp: |
|
8136 (MainWindow::setupUI): |
|
8137 |
|
8138 2009-10-22 Antonio Gomes <tonikitoo@webkit.org> |
|
8139 |
|
8140 Rubberstamped by Tor Arne Vestbø. |
|
8141 |
|
8142 Code standarlization for QGVLauncher. |
|
8143 |
|
8144 1) Made member initilization lists in constructors |
|
8145 to be per line. |
|
8146 2) Made applyProxy method inline as all other methods in |
|
8147 WebPage class. |
|
8148 |
|
8149 * QGVLauncher/main.cpp: |
|
8150 (WebPage::WebPage): |
|
8151 (WebPage::applyProxy): |
|
8152 (MainView::MainView): |
|
8153 (MainWindow::MainWindow): |
|
8154 (MainWindow::init): |
|
8155 |
|
8156 2009-10-22 Antonio Gomes <tonikitoo@webkit.org> |
|
8157 |
|
8158 Reviewed by Tor Arne Vestbø. |
|
8159 |
|
8160 Add a Y-Axis rotation to QGVLauncher. |
|
8161 |
|
8162 It uses the QStateMachine API from Qt 4.6. |
|
8163 |
|
8164 * QGVLauncher/main.cpp: |
|
8165 (WebView::WebView): |
|
8166 (WebView::setYRotation): |
|
8167 (WebView::yRotation): |
|
8168 (MainView::flip): |
|
8169 (MainView::animatedYFlip): |
|
8170 (SharedScene::SharedScene): |
|
8171 (SharedScene::webView): |
|
8172 (MainWindow::init): |
|
8173 (MainWindow::animatedYFlip): |
|
8174 (MainWindow::buildUI): |
|
8175 |
|
8176 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8177 |
|
8178 Reviewed By Adam Barth. |
|
8179 |
|
8180 Add some actions to the menu for cursor debugging. |
|
8181 |
|
8182 GraphicsView based launcher only. |
|
8183 |
|
8184 * QGVLauncher/main.cpp: |
|
8185 (MainView::setWaitCursor): |
|
8186 (MainView::resetCursor): |
|
8187 (MainView::flip): |
|
8188 (MainWindow::setWaitCursor): |
|
8189 (MainWindow::resetCursor): |
|
8190 (MainWindow::buildUI): |
|
8191 |
|
8192 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8193 |
|
8194 Rubberstamped by Adam Barth. |
|
8195 |
|
8196 Remove clipRenderToViewport as agreed upon in |
|
8197 https://bugs.webkit.org/show_bug.cgi?id=29843 |
|
8198 |
|
8199 * Api/qwebframe.cpp: |
|
8200 * Api/qwebframe.h: |
|
8201 * Api/qwebframe_p.h: |
|
8202 (QWebFramePrivate::QWebFramePrivate): |
|
8203 |
|
8204 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8205 |
|
8206 Reviewed by Adam Barth. |
|
8207 |
|
8208 Update the tests to test the new render functionality, and take |
|
8209 into consideration that render() clips to the frame itself as well |
|
8210 as the viewport. |
|
8211 |
|
8212 QWebFrame::render() now always clips, so the old tests were bogus. |
|
8213 |
|
8214 Rendering pure contents (no scrollbars etc) without clipping can now |
|
8215 be accomplished using QWebFrame::documentElement()->render(...) |
|
8216 |
|
8217 * Api/qwebframe.cpp: |
|
8218 * Api/qwebframe.h: |
|
8219 * Api/qwebframe_p.h: |
|
8220 (QWebFramePrivate::QWebFramePrivate): |
|
8221 * tests/qwebframe/tst_qwebframe.cpp: |
|
8222 |
|
8223 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8224 |
|
8225 Rubberstamped by Adam Barth. |
|
8226 |
|
8227 As we do not support rendering a QWebFrame without it being clipped |
|
8228 the the frame as well as the viewport, we now set the viewport size |
|
8229 to the size of the contents. |
|
8230 |
|
8231 Rendering pure contents (no scrollbars etc) without clipping can be |
|
8232 acomplished using QWebFrame::documentElement()->render(...) |
|
8233 |
|
8234 * tests/qwebelement/tst_qwebelement.cpp: |
|
8235 (tst_QWebElement::render): |
|
8236 |
|
8237 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8238 |
|
8239 Reviewed by Tor Arne Vestbø. |
|
8240 |
|
8241 Add menu item to dump the plugin list to the console, |
|
8242 which can be handy for debugging. |
|
8243 |
|
8244 * QtLauncher/main.cpp: |
|
8245 (MainWindow::dumpPlugins): |
|
8246 (MainWindow::setupUI): |
|
8247 |
|
8248 2009-10-19 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8249 |
|
8250 Reviewed by Tor Arne Vestbø. |
|
8251 |
|
8252 Introduce new render method on QWebFrame, which supports specifying |
|
8253 which layers to render (scrollbars, contents, pan-icon). |
|
8254 |
|
8255 * Api/qwebframe.cpp: |
|
8256 (QWebFramePrivate::renderPrivate): |
|
8257 (QWebFrame::render): |
|
8258 * Api/qwebframe.h: |
|
8259 * Api/qwebframe_p.h: |
|
8260 |
|
8261 2009-10-19 Antonio Gomes <tonikitoo@webkit.org> |
|
8262 |
|
8263 Reviewed by Ariya Hidayat. |
|
8264 |
|
8265 [Qt] Infinite loop (leading to crash) when setting cursor in QGraphicsWebView |
|
8266 https://bugs.webkit.org/show_bug.cgi?id=30549 |
|
8267 |
|
8268 Patch reimplements QGraphicsItem's itemChange method, and make |
|
8269 CursorChange event to be emitted after cursor has already been |
|
8270 set. |
|
8271 |
|
8272 QWidget::setCursor send the event just after it sets the cursor, |
|
8273 then patch makes both behaviors compatible. |
|
8274 |
|
8275 * Api/qgraphicswebview.cpp: |
|
8276 (QGraphicsWebView::itemChange): |
|
8277 * Api/qgraphicswebview.h: |
|
8278 |
|
8279 2009-10-19 Nate Chapin <japhet@chromium.org> |
|
8280 |
|
8281 Unreviewed, build fix. |
|
8282 |
|
8283 Update call to FrameLoader::loadFrameRequest(). |
|
8284 |
|
8285 * Api/qwebpage.cpp: |
|
8286 (QWebPage::triggerAction): |
|
8287 |
|
8288 2009-10-19 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> |
|
8289 |
|
8290 Reviewed by Ariya Hidayat. |
|
8291 |
|
8292 Add QWebElement::render API which allows rendering of single |
|
8293 element. |
|
8294 |
|
8295 * Api/qwebelement.cpp: |
|
8296 (QWebElement::render): |
|
8297 * Api/qwebelement.h: |
|
8298 * tests/qwebelement/tst_qwebelement.cpp: |
|
8299 (tst_QWebElement::render): |
|
8300 * tests/qwebelement/qwebelement.qrc: |
|
8301 * tests/qwebelement/image.png: Added. |
|
8302 |
|
8303 2009-10-19 Markus Goetz <Markus.Goetz@nokia.com> |
|
8304 |
|
8305 Reviewed by Ariya Hidayat. |
|
8306 |
|
8307 QWebPage: Doc: setNetworkAccessManager should only be called once. |
|
8308 |
|
8309 * Api/qwebpage.cpp: |
|
8310 |
|
8311 2009-10-19 Antonio Gomes <tonikitoo@webkit.org> |
|
8312 |
|
8313 Reviewed by Tor Arne. |
|
8314 |
|
8315 Wrong ifdef combination in QGraphicsWebView's event method. |
|
8316 |
|
8317 * Api/qgraphicswebview.cpp: |
|
8318 (QGraphicsWebView::event): |
|
8319 |
|
8320 2009-10-19 Girish Ramakrishnan <girish@forwardbias.in> |
|
8321 |
|
8322 Reviewed by Holger Freyther. |
|
8323 |
|
8324 [Qt] Windowed Plugins: Don't crash when client is 0. |
|
8325 |
|
8326 Client is 0 when we use QWebPage without a QWebView or QGraphicsWebView. |
|
8327 In addition, setFrameRect()/updatePluginWidget() is called even if the |
|
8328 plugin was not succesfully loaded. updatePluginWidget() updates the |
|
8329 window rect which is, in theory, useful to draw something that indicates |
|
8330 that we didn't load successfully. |
|
8331 |
|
8332 So, a status check is added to setNPWindowIfNeeded. |
|
8333 |
|
8334 https://bugs.webkit.org/show_bug.cgi?id=30380 |
|
8335 |
|
8336 * tests/qwebpage/qwebpage.pro: |
|
8337 * tests/qwebpage/tst_qwebpage.cpp: |
|
8338 (takeScreenshot): |
|
8339 (tst_QWebPage::screenshot_data): |
|
8340 (tst_QWebPage::screenshot): |
|
8341 * tests/resources/test.swf: Copied from LayoutTests/fast/replaced/resources/test.swf. |
|
8342 |
|
8343 2009-10-19 Girish Ramakrishnan <girish@forwardbias.in> |
|
8344 |
|
8345 Reviewed by Holger Freyther. |
|
8346 |
|
8347 [Qt] Windowed Plugins: Fix crash when QWebPage is deleted after QWebView. |
|
8348 |
|
8349 Fixes various sources of crashes: |
|
8350 1. The PluginContainer is a child of QWebView. When the view gets deleted, |
|
8351 the PluginView is not notified about the deletion of PluginContainer. |
|
8352 2. QWebView destructor does not set client to 0. |
|
8353 3. Sometimes pending paint events are sent after the plugin has died, so add |
|
8354 a check in PluginView::setNPWindowIfNeeded. |
|
8355 |
|
8356 https://bugs.webkit.org/show_bug.cgi?id=30354 |
|
8357 |
|
8358 * Api/qwebview.cpp: |
|
8359 (QWebView::~QWebView): |
|
8360 * tests/qwebview/qwebview.pro: |
|
8361 * tests/qwebview/tst_qwebview.cpp: |
|
8362 (tst_QWebView::reusePage_data): |
|
8363 (tst_QWebView::reusePage): |
|
8364 |
|
8365 2009-10-19 Jakob Truelsen <antialize@gmail.com> |
|
8366 |
|
8367 Reviewed by Adam Barth. |
|
8368 |
|
8369 https://bugs.webkit.org/show_bug.cgi?id=29042 |
|
8370 |
|
8371 Allow one to costumize the minimal and maximal shrink factors, |
|
8372 Added methods setPrintingMinimumShrinkFactor, printingMinimumShrinkFactor, |
|
8373 setPrintingMaximumShrinkFactor, printingMaximumShrinkFactor to QWebSettings. |
|
8374 |
|
8375 |
|
8376 * Api/qwebsettings.cpp: |
|
8377 (QWebSettingsPrivate::apply): |
|
8378 (QWebSettings::QWebSettings): |
|
8379 (QWebSettings::setPrintingMinimumShrinkFactor): |
|
8380 (QWebSettings::printingMinimumShrinkFactor): |
|
8381 (QWebSettings::setPrintingMaximumShrinkFactor): |
|
8382 (QWebSettings::printingMaximumShrinkFactor): |
|
8383 * Api/qwebsettings.h: |
|
8384 |
|
8385 2009-10-18 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8386 |
|
8387 Reviewed by Simon Hausmann. |
|
8388 |
|
8389 Rename fixedContentsSize property to preferredContentsSize as |
|
8390 agreed upon with Simon Hausmann and Matthias Ettrich. |
|
8391 |
|
8392 * Api/qwebpage.cpp: |
|
8393 (QWebPage::preferredContentsSize): |
|
8394 (QWebPage::setPreferredContentsSize): |
|
8395 * Api/qwebpage.h: |
|
8396 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
8397 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
8398 |
|
8399 2009-10-16 Antonio Gomes <tonikitoo@webkit.org> |
|
8400 |
|
8401 Reviewed by Simon Hausmann. |
|
8402 |
|
8403 [Qt] QGLauncher leaks WebPage object |
|
8404 https://bugs.webkit.org/show_bug.cgi?id=30465 |
|
8405 |
|
8406 Make 'SharedScene' to own 'WebPage' reference and delete it at its destructor. |
|
8407 |
|
8408 * Api/qwebpage.cpp: |
|
8409 (QWebPage::view): |
|
8410 * Api/qwebpage_p.h: |
|
8411 * QGVLauncher/main.cpp: |
|
8412 (SharedScene::SharedScene): |
|
8413 (SharedScene::~SharedScene): |
|
8414 |
|
8415 2009-10-16 Antonio Gomes <tonikitoo@webkit.org> |
|
8416 |
|
8417 Reviewed by Simon Hausmann. |
|
8418 |
|
8419 [Qt] "dangling" pointer to qwebpage's view object can leads QGLauncher to crash |
|
8420 https://bugs.webkit.org/show_bug.cgi?id=30459 |
|
8421 |
|
8422 Remove all setView(ev->widget()) calls in QWebPage and QGWV event handling methods, |
|
8423 since QWebPageClient would do the trick. |
|
8424 |
|
8425 * Api/qgraphicswebview.cpp: |
|
8426 (QGraphicsWebView::hoverMoveEvent): |
|
8427 * Api/qwebpage.cpp: |
|
8428 (QWebPagePrivate::mouseMoveEvent): |
|
8429 (QWebPagePrivate::mousePressEvent): |
|
8430 (QWebPagePrivate::mouseDoubleClickEvent): |
|
8431 (QWebPagePrivate::mouseReleaseEvent): |
|
8432 (QWebPagePrivate::wheelEvent): |
|
8433 (QWebPagePrivate::dragEnterEvent): |
|
8434 (QWebPagePrivate::dragLeaveEvent): |
|
8435 (QWebPagePrivate::dragMoveEvent): |
|
8436 |
|
8437 2009-10-16 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
8438 |
|
8439 Pull out r49676 as it caused build breakges on Symbian |
|
8440 |
|
8441 * Api/qwebpage.cpp: |
|
8442 |
|
8443 2009-10-16 Yael Aharon <yael.aharon@nokia.com> |
|
8444 |
|
8445 Reviewed by Tor Arne Vestbø. |
|
8446 |
|
8447 [Qt] Need a way to inform the application when a Netscape plugin is created or deleted |
|
8448 https://bugs.webkit.org/show_bug.cgi?id=30179 |
|
8449 |
|
8450 Added "c" style static methods for the application to hook up for |
|
8451 receiving notifications when a plugin is created or destroyed. |
|
8452 |
|
8453 * Api/qwebpage.cpp: |
|
8454 |
|
8455 2009-10-15 Antonio Gomes <tonikitoo@webkit.org> |
|
8456 |
|
8457 Rubberstamped by Tor Arne. |
|
8458 |
|
8459 Make QGLauncher's WebPage class constructor to get a QObject* as parent (not QWidget*). |
|
8460 |
|
8461 * QGVLauncher/main.cpp: |
|
8462 (WebPage::WebPage): |
|
8463 |
|
8464 2009-10-15 Antonio Gomes <tonikitoo@webkit.org> |
|
8465 |
|
8466 Reviewed by Tor Arne. |
|
8467 |
|
8468 [Qt] QGLauncher crashes while closing a window |
|
8469 https://bugs.webkit.org/show_bug.cgi?id=30385 |
|
8470 |
|
8471 Set page's pageClient reference to '0' at QGWV deletion. |
|
8472 |
|
8473 * Api/qgraphicswebview.cpp: |
|
8474 (QGraphicsWebView::~QGraphicsWebView): |
|
8475 * tests/qgraphicswebview/tst_qgraphicswebview.cpp: |
|
8476 (WebPage::WebPage): |
|
8477 (WebPage::aborting): |
|
8478 (tst_QGraphicsWebView::crashOnViewlessWebPages): |
|
8479 |
|
8480 2009-10-13 Antonio Gomes <tonikitoo@webkit.org> |
|
8481 |
|
8482 Reviewed by Simon Hausmann. |
|
8483 |
|
8484 [Qt] Make context menu to work in QGraphicsWebView |
|
8485 https://bugs.webkit.org/show_bug.cgi?id=30336 |
|
8486 |
|
8487 * Api/qgraphicswebview.cpp: |
|
8488 (QGraphicsWebView::event): |
|
8489 |
|
8490 2009-10-13 Girish Ramakrishnan <girish@forwardbias.in> |
|
8491 |
|
8492 Reviewed by Simon Hausmann. |
|
8493 |
|
8494 [Qt] Plugins : Remove all traces of winId. Use ownerWidget() instead. |
|
8495 |
|
8496 This is a bug for two reasons: |
|
8497 1. Everytime we use winId(), we end up creating a native widget. This causes an |
|
8498 unnecessary copy of contents from the backing store to the native widget. |
|
8499 2. Neither windowed nor windowless plugins require the winId of the QWebView or |
|
8500 QGraphicsView. |
|
8501 |
|
8502 Introduce ownerWidget() which returns a QWidget * without creating a native widget |
|
8503 (as opposed to QWidget::find(winId)). |
|
8504 |
|
8505 https://bugs.webkit.org/show_bug.cgi?id=30170 |
|
8506 |
|
8507 * Api/qgraphicswebview.cpp: |
|
8508 (QGraphicsWebViewPrivate::ownerWidget): |
|
8509 * Api/qwebview.cpp: |
|
8510 (QWebViewPrivate::ownerWidget): |
|
8511 |
|
8512 2009-10-13 Antonio Gomes <tonikitoo@webkit.org> |
|
8513 |
|
8514 Reviewed by Simon Hausmann. |
|
8515 |
|
8516 [Qt] Add some initial autotests for QWebPage's ErrorPageExtention |
|
8517 https://bugs.webkit.org/show_bug.cgi?id=30296 |
|
8518 |
|
8519 * tests/qwebpage/tst_qwebpage.cpp: |
|
8520 (ErrorPage::ErrorPage): |
|
8521 (ErrorPage::supportsExtension): |
|
8522 (ErrorPage::extension): |
|
8523 (tst_QWebPage::errorPageExtension): |
|
8524 |
|
8525 2009-10-13 Antonio Gomes <tonikitoo@webkit.org> |
|
8526 |
|
8527 Reviewed by Simon Hausmann. |
|
8528 |
|
8529 [Qt] better handle possible edge cases on qwebframe::requestedUrl use |
|
8530 https://bugs.webkit.org/show_bug.cgi?id=30216 |
|
8531 |
|
8532 QWebFrame::requestedUrl can be called at any time during the load |
|
8533 process, including: |
|
8534 |
|
8535 * An error handling (whereas an alternate error page for unsuccessful |
|
8536 load is being set); |
|
8537 * A ssl error exception call; |
|
8538 * During navigation notifications/callbacks (titleChanged, urlChanged, |
|
8539 progresses, addHistoryEntry, etc); |
|
8540 * Among others. |
|
8541 |
|
8542 This patch makes requestedUrl calls to fallback to FrameLoaderClient |
|
8543 m_loadError's failingURL when an error has occurred, unless it is |
|
8544 null/empty. |
|
8545 |
|
8546 Also, m_loadError is now being reset at each the main frame starts a |
|
8547 load, in order to avoid previous load errors footprints. |
|
8548 |
|
8549 * Api/qwebframe.cpp: |
|
8550 (QWebFrame::requestedUrl): |
|
8551 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
8552 (WebCore::FrameLoaderClientQt::postProgressStartedNotification): |
|
8553 |
|
8554 2009-10-12 Jakub Wieczorek <faw217@gmail.com> |
|
8555 |
|
8556 Reviewed by Simon Hausmann. |
|
8557 |
|
8558 [Qt] Missing default value for the default text encoding. |
|
8559 https://bugs.webkit.org/show_bug.cgi?id=30311 |
|
8560 |
|
8561 QtWebKit has provided a default, hardcoded value for default charset but since |
|
8562 the addition of the defaultTextEncoding setting in QWebSettings, that hardcoded |
|
8563 value has had no effect. |
|
8564 |
|
8565 Added a regression test and unskipped fast/dom/Document/document-charset.html, |
|
8566 which is passing now. |
|
8567 |
|
8568 * Api/qwebpage.cpp: |
|
8569 (QWebPagePrivate::QWebPagePrivate): |
|
8570 * Api/qwebsettings.cpp: |
|
8571 (QWebSettings::QWebSettings): |
|
8572 * tests/qwebpage/tst_qwebpage.cpp: |
|
8573 (tst_QWebPage::defaultTextEncoding): |
|
8574 |
|
8575 2009-10-12 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8576 |
|
8577 Reviewed by Simon Hausmann. |
|
8578 |
|
8579 Implement the new palette() methods on the page clients |
|
8580 |
|
8581 * Api/qgraphicswebview.cpp: |
|
8582 (QGraphicsWebViewPrivate::palette): |
|
8583 * Api/qwebview.cpp: |
|
8584 (QWebViewPrivate::palette): |
|
8585 |
|
8586 2009-10-12 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
8587 |
|
8588 Reviewed by Simon Hausmann. |
|
8589 |
|
8590 QWebPage's createViewlessPlugin autotest crash fix. |
|
8591 |
|
8592 It is possible that plugins that are QWidgets or QGraphicsWidgets |
|
8593 are created before a view has been assigned to a QWebPage. The |
|
8594 plug-ins won't be fully functional, as by design, they should |
|
8595 visualise something, but they won't crash and will stay in memory. |
|
8596 |
|
8597 An autotest that covers this use-case, is included. |
|
8598 |
|
8599 https://bugs.webkit.org/show_bug.cgi?id=30118 |
|
8600 |
|
8601 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
8602 (WebCore::FrameLoaderClientQt::createPlugin): |
|
8603 * tests/qwebpage/tst_qwebpage.cpp: |
|
8604 (PluginTrackedPageWidget::PluginTrackedPageWidget): |
|
8605 (PluginTrackedPageGraphicsWidget::PluginTrackedPageGraphicsWidget): |
|
8606 (PluginTrackedPageGraphicsWidget::createPlugin): |
|
8607 (tst_QWebPage::destroyPlugin): |
|
8608 (tst_QWebPage::createViewlessPlugin): |
|
8609 |
|
8610 2009-10-09 Joe Ligman <joseph.ligman@nokia.com> |
|
8611 |
|
8612 Reviewed by Simon Hausmann. |
|
8613 |
|
8614 Sets Qt::WA_InputMethodEnabled and Qt::ImhHiddenText for password fields in EditorClientQt |
|
8615 setInputMethodState. This change is needed so widgets such as the s60 software |
|
8616 input panel can receive input method events for password fields. |
|
8617 It's up to the Qt platform to determine which widget will receive input method |
|
8618 events when these flags are set. |
|
8619 Also added implementation for setInputMethodEnabled and setInputMethodHint |
|
8620 to QGraphicsWebViewPrivate and QWebViewPrivate. This change removes the direct |
|
8621 dependency on QWebView and uses QWebPageClient. |
|
8622 Added autotest to tst_qwebpage.cpp |
|
8623 https://bugs.webkit.org/show_bug.cgi?id=30023 |
|
8624 |
|
8625 * Api/qgraphicswebview.cpp: |
|
8626 (QGraphicsWebViewPrivate::setInputMethodEnabled): |
|
8627 (QGraphicsWebViewPrivate::setInputMethodHint): |
|
8628 * Api/qwebview.cpp: |
|
8629 (QWebViewPrivate::setInputMethodEnabled): |
|
8630 (QWebViewPrivate::setInputMethodHint): |
|
8631 * WebCoreSupport/EditorClientQt.cpp: |
|
8632 (WebCore::EditorClientQt::setInputMethodState): |
|
8633 * tests/qwebpage/tst_qwebpage.cpp: |
|
8634 (tst_QWebPage::inputMethods): |
|
8635 |
|
8636 2009-10-08 Adam Barth <abarth@webkit.org> |
|
8637 |
|
8638 Reviewed by Eric Seidel. |
|
8639 |
|
8640 Move executeScript from FrameLoader to ScriptController |
|
8641 https://bugs.webkit.org/show_bug.cgi?id=30200 |
|
8642 |
|
8643 Update API call. |
|
8644 |
|
8645 * Api/qwebframe.cpp: |
|
8646 (QWebFrame::evaluateJavaScript): |
|
8647 |
|
8648 2009-10-08 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
8649 |
|
8650 Reviewed by Simon Hausmann. |
|
8651 |
|
8652 Part of testOptionalJSObjects autotest was marked as "expect to fail". |
|
8653 |
|
8654 Two places in tst_QWebPage::testOptionalJSObjects were marked as |
|
8655 expected to fail. The problem concern checking if a feature is enabled |
|
8656 or disabled. According to discussion on webkit dev mailing list |
|
8657 a disabled feature should be invisible from java script level, but |
|
8658 there are exceptions from the rule. So we decided to disable the test |
|
8659 for now. |
|
8660 |
|
8661 https://bugs.webkit.org/show_bug.cgi?id=29867 |
|
8662 |
|
8663 * tests/qwebpage/tst_qwebpage.cpp: |
|
8664 (tst_QWebPage::testOptionalJSObjects): |
|
8665 |
|
8666 2009-10-07 Adam Barth <abarth@webkit.org> |
|
8667 |
|
8668 Reviewed by Darin Adler. |
|
8669 |
|
8670 Factor PolicyChecker out of FrameLoader |
|
8671 https://bugs.webkit.org/show_bug.cgi?id=30155 |
|
8672 |
|
8673 Move the policy callback to the policy object. |
|
8674 |
|
8675 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
8676 (WebCore::FrameLoaderClientQt::callPolicyFunction): |
|
8677 |
|
8678 2009-10-07 Antonio Gomes <tonikitoo@webkit.org> |
|
8679 |
|
8680 Reviewed by Simon Hausmann. |
|
8681 |
|
8682 [Qt] Get rid of useless loadFailed signal in QGraphicsWebView |
|
8683 https://bugs.webkit.org/show_bug.cgi?id=30166 |
|
8684 |
|
8685 * Api/qgraphicswebview.cpp: |
|
8686 (QGraphicsWebViewPrivate::_q_doLoadFinished): |
|
8687 * Api/qgraphicswebview.h: |
|
8688 * QGVLauncher/main.cpp: |
|
8689 (MainWindow::init): |
|
8690 (MainWindow::loadFinished): |
|
8691 |
|
8692 2009-10-07 Girish Ramakrishnan <girish@forwardbias.in> |
|
8693 |
|
8694 Reviewed by Simon Hausmann. |
|
8695 |
|
8696 Add a simple rotation effect to QGVLauncher |
|
8697 |
|
8698 https://bugs.webkit.org/show_bug.cgi?id=30162 |
|
8699 |
|
8700 * QGVLauncher/main.cpp: |
|
8701 (MainView::animatedFlip): |
|
8702 (MainWindow::animatedFlip): |
|
8703 (MainWindow::buildUI): |
|
8704 |
|
8705 2009-10-07 Volker Hilsheimer <volker.hilsheimer@nokia.com> |
|
8706 |
|
8707 Reviewed by Simon Hausmann. |
|
8708 |
|
8709 Doc: Document HTML and status as properties. |
|
8710 |
|
8711 * Api/qgraphicswebview.cpp: |
|
8712 |
|
8713 2009-10-07 Martin Smith <msmith@trolltech.com> |
|
8714 |
|
8715 Reviewed by Simon Hausmann. |
|
8716 |
|
8717 Fix qdoc warning about disabled renderHints property |
|
8718 on Symbian. |
|
8719 |
|
8720 * Api/qwebview.cpp: |
|
8721 * Api/qwebview.h: |
|
8722 |
|
8723 2009-10-06 Adam Barth <abarth@webkit.org> |
|
8724 |
|
8725 Reviewed by Eric Seidel. |
|
8726 |
|
8727 Move setLocalLoadPolicy and friends to SecurityOrigin |
|
8728 https://bugs.webkit.org/show_bug.cgi?id=30110 |
|
8729 |
|
8730 Call the new API. |
|
8731 |
|
8732 * Api/qwebpage.cpp: |
|
8733 (QWebPagePrivate::QWebPagePrivate): |
|
8734 |
|
8735 2009-10-06 Benjamin C Meyer <bmeyer@rim.com> |
|
8736 |
|
8737 Reviewed by Ariya Hidayat. |
|
8738 |
|
8739 When the drag data contains an image set it on the QDrag so it will be visible to the user. |
|
8740 |
|
8741 * WebCoreSupport/DragClientQt.cpp: |
|
8742 (WebCore::DragClientQt::startDrag): |
|
8743 |
|
8744 2009-10-06 Pavel Feldman <pfeldman@chromium.org> |
|
8745 |
|
8746 Reviewed by Timothy Hatcher. |
|
8747 |
|
8748 Web Inspector: close inspector client view on |
|
8749 InspectorController::close API call. |
|
8750 |
|
8751 In order to run batch web inspector layout tests (and not affect |
|
8752 subsequent tests) we should close inspector client's view upon |
|
8753 InspectorController::close API call. |
|
8754 |
|
8755 https://bugs.webkit.org/show_bug.cgi?id=30009 |
|
8756 |
|
8757 * WebCoreSupport/InspectorClientQt.cpp: |
|
8758 (WebCore::InspectorClientQt::createPage): |
|
8759 |
|
8760 2009-10-06 Janne Koskinen <janne.p.koskinen@digia.com> |
|
8761 |
|
8762 Reviewed by Simon Hausmann. |
|
8763 |
|
8764 [Qt] don't enable input methods on Symbian by default. |
|
8765 https://bugs.webkit.org/show_bug.cgi?id=30117 |
|
8766 |
|
8767 If input methods are enabled Symbian FEP will be launched on every |
|
8768 pointer event making webpage navigation impossible with QWebView. |
|
8769 |
|
8770 * Api/qwebview.cpp: |
|
8771 (QWebView::QWebView): |
|
8772 |
|
8773 2009-10-05 Holger Hans Peter Freyther <zecke@selfish.org> |
|
8774 |
|
8775 Reviewed by Simon Hausmann. |
|
8776 |
|
8777 QtLauncher: print the number of loaded urls |
|
8778 |
|
8779 When using the -r mode print the number of URLs loaded so far. This |
|
8780 is extremly useful when opening the same URL over and over again and |
|
8781 one wants to see the progress. |
|
8782 |
|
8783 * QtLauncher/main.cpp: |
|
8784 (URLLoader::URLLoader): |
|
8785 (URLLoader::loadNext): |
|
8786 |
|
8787 2009-10-05 Girish Ramakrishnan <girish@forwardbias.in> |
|
8788 |
|
8789 Reviewed by Simon Hausmann. |
|
8790 |
|
8791 Add screenshot option to menubar |
|
8792 |
|
8793 https://bugs.webkit.org/show_bug.cgi?id=30067 |
|
8794 |
|
8795 * QtLauncher/main.cpp: |
|
8796 (MainWindow::screenshot): |
|
8797 (MainWindow::setupUI): |
|
8798 |
|
8799 2009-10-05 Girish Ramakrishnan <girish@forwardbias.in> |
|
8800 |
|
8801 Reviewed by Simon Hausmann. |
|
8802 |
|
8803 Setting the env QTLAUNCHER_USE_ARGB_VISUALS makes Qt use WA_TranslucentWindow. |
|
8804 |
|
8805 https://bugs.webkit.org/show_bug.cgi?id=30068 |
|
8806 |
|
8807 * QtLauncher/main.cpp: |
|
8808 (MainWindow::MainWindow): |
|
8809 |
|
8810 2009-10-05 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8811 |
|
8812 Rubberstamped by Simon Hausmann. |
|
8813 |
|
8814 Add documentation to the ErrorPageExtension. |
|
8815 |
|
8816 * Api/qwebpage.cpp: |
|
8817 |
|
8818 2009-10-02 Yael Aharon <yael.aharon@nokia.com> |
|
8819 |
|
8820 Reviewed by Simon Hausmann. |
|
8821 |
|
8822 [Qt] Inform the application when a new request is created |
|
8823 https://bugs.webkit.org/show_bug.cgi?id=29975 |
|
8824 |
|
8825 Add a signal to QWebPage, to inform the application when a request is created. |
|
8826 |
|
8827 * Api/qwebpage.cpp: |
|
8828 * Api/qwebpage.h: |
|
8829 * tests/qwebpage/tst_qwebpage.cpp: |
|
8830 (tst_QWebPage::loadFinished): |
|
8831 |
|
8832 2009-10-05 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8833 |
|
8834 Reviewed by Simon Hausmann. |
|
8835 |
|
8836 ErrorPageExtension: Add a pointer to the QWebFrame that had |
|
8837 an error. |
|
8838 |
|
8839 * Api/qwebpage.h: |
|
8840 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
8841 (WebCore::FrameLoaderClientQt::callErrorPageExtension): |
|
8842 |
|
8843 2009-10-05 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
8844 |
|
8845 Reviewed by Tor Arne Vestbø. |
|
8846 |
|
8847 Do not empty the offline web appcache when clearing |
|
8848 memory caches. That one is not in memory, but stored |
|
8849 in sqlite. |
|
8850 |
|
8851 * Api/qwebsettings.cpp: |
|
8852 (QWebSettings::clearMemoryCaches): |
|
8853 |
|
8854 2009-10-05 J-P Nurmi <jpnurmi@gmail.com> |
|
8855 |
|
8856 Reviewed by Simon Hausmann. |
|
8857 |
|
8858 Added QGraphicsWidget-plugins support to FrameLoaderClientQt. |
|
8859 |
|
8860 https://bugs.webkit.org/show_bug.cgi?id=29710 |
|
8861 |
|
8862 * Api/qgraphicswebview.cpp: |
|
8863 (QGraphicsWebViewPrivate::pluginParent): |
|
8864 * Api/qwebview.cpp: |
|
8865 (QWebViewPrivate::pluginParent): |
|
8866 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
8867 (WebCore::): |
|
8868 (WebCore::FrameLoaderClientQt::createPlugin): |
|
8869 |
|
8870 2009-10-03 Adam Barth <abarth@webkit.org> |
|
8871 |
|
8872 Unreview build fix. I wish I had a try server... |
|
8873 |
|
8874 * Api/qwebpage.cpp: |
|
8875 (QWebPagePrivate::updateAction): |
|
8876 |
|
8877 2009-10-02 Norbert Leser <norbert.leser@nokia.com> |
|
8878 |
|
8879 Reviewed by Simon Hausmann. |
|
8880 |
|
8881 Conditionally guard cursor code (cursor and updateCursor functions) with !QT_NO_CURSOR. |
|
8882 Otherwise, it is inconsistent with class declaration of QCursor. |
|
8883 |
|
8884 * Api/qgraphicswebview.cpp: |
|
8885 * Api/qwebview.cpp: |
|
8886 |
|
8887 2009-10-02 Prasanth Ullattil <prasanth.ullattil@nokia.com> |
|
8888 |
|
8889 Reviewed by Simon Hausmann. |
|
8890 |
|
8891 Fix compiler warnings about unused function arguments. |
|
8892 |
|
8893 * Api/qwebframe.cpp: |
|
8894 (QWebFrame::scrollBarMinimum): |
|
8895 * Api/qwebpage.cpp: |
|
8896 (QWebPagePrivate::focusInEvent): |
|
8897 (QWebPagePrivate::focusOutEvent): |
|
8898 (QWebPagePrivate::leaveEvent): |
|
8899 (QWebPage::javaScriptAlert): |
|
8900 (QWebPage::javaScriptConfirm): |
|
8901 (QWebPage::javaScriptPrompt): |
|
8902 (QWebPage::triggerAction): |
|
8903 (QWebPage::acceptNavigationRequest): |
|
8904 (QWebPage::chooseFile): |
|
8905 * WebCoreSupport/ChromeClientQt.cpp: |
|
8906 (WebCore::ChromeClientQt::repaint): |
|
8907 (WebCore::ChromeClientQt::mouseDidMoveOverElement): |
|
8908 (WebCore::ChromeClientQt::reachedMaxAppCacheSize): |
|
8909 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
8910 (WebCore::ContextMenuClientQt::downloadURL): |
|
8911 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
8912 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect): |
|
8913 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady): |
|
8914 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme): |
|
8915 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme): |
|
8916 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem): |
|
8917 (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError): |
|
8918 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest): |
|
8919 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading): |
|
8920 (WebCore::FrameLoaderClientQt::createJavaAppletWidget): |
|
8921 * WebCoreSupport/InspectorClientQt.cpp: |
|
8922 (WebCore::InspectorClientQt::setAttachedWindowHeight): |
|
8923 (WebCore::InspectorClientQt::highlight): |
|
8924 (WebCore::InspectorClientQt::removeSetting): |
|
8925 |
|
8926 2009-10-01 Simon Hausmann <simon.hausmann@nokia.com> |
|
8927 |
|
8928 Reviewed by Tor Arne Vestbø. |
|
8929 |
|
8930 Make Software Input Panel requests work with QGraphicsWebView |
|
8931 _and_ QWebView by sharing the event code in handleSoftwareInputPanel(). |
|
8932 |
|
8933 * Api/qwebpage.cpp: |
|
8934 (QWebPagePrivate::mouseReleaseEvent): |
|
8935 (QWebPagePrivate::handleSoftwareInputPanel): |
|
8936 * Api/qwebpage_p.h: |
|
8937 |
|
8938 2009-10-01 Alexis Menard <alexis.menard@nokia.com> |
|
8939 |
|
8940 Reviewed by Tor Arne Vestbø. |
|
8941 |
|
8942 Rename QWebGraphicsItem to QGraphicsWebView |
|
8943 |
|
8944 * Api/headers.pri: |
|
8945 * Api/qwebpage.h: |
|
8946 * Api/qwebgraphicsitem.cpp: Renamed. |
|
8947 * Api/qwebgraphicsitem.h: Renamed. |
|
8948 * WebKit/qt/QGVLauncher/main.cpp: |
|
8949 * tests/tests.pro: |
|
8950 * tests/qwebgraphicsitem/qwebgraphicsitem.pro: Renamed. |
|
8951 * tests/qwebgraphicsitem/tst_qwebgraphicsitem.cpp: Renamed. |
|
8952 |
|
8953 2009-10-01 Antonio Gomes <tonikitoo@webkit.org> |
|
8954 |
|
8955 Reviewed by Simon Hausmann. |
|
8956 |
|
8957 https://bugs.webkit.org/show_bug.cgi?id=29248 |
|
8958 [Qt] [API] Make it possible to have 'invisible' loads |
|
8959 |
|
8960 Make QWebFrame's setHtml and setContent methods to not change |
|
8961 session and global history at all. |
|
8962 |
|
8963 * Api/qwebframe.cpp: |
|
8964 (QWebFrame::setHtml): |
|
8965 (QWebFrame::setContent): |
|
8966 * tests/qwebframe/qwebframe.pro: |
|
8967 * tests/qwebframe/tst_qwebframe.cpp: |
|
8968 |
|
8969 2009-10-01 Kristian Amlie <kristian.amlie@nokia.com> |
|
8970 |
|
8971 Reviewed by Simon Hausmann. |
|
8972 |
|
8973 Fixed software input panel support on web input elements. |
|
8974 |
|
8975 Send the RequestSoftwareInputPanel event if the element supports focus |
|
8976 and the element is clicked. |
|
8977 |
|
8978 * Api/qwebpage.cpp: |
|
8979 (QWebPagePrivate::QWebPagePrivate): |
|
8980 (QWebPagePrivate::mousePressEvent): |
|
8981 (QWebPagePrivate::mouseReleaseEvent): |
|
8982 * Api/qwebpage_p.h: |
|
8983 |
|
8984 2009-10-01 Joe Ligman <joseph.ligman@nokia.com> |
|
8985 |
|
8986 Reviewed by Simon Hausmann. |
|
8987 |
|
8988 Implementation for QWebPage::inputMethodQuery and QWebPagePrivate::inputMethodEvent |
|
8989 |
|
8990 https://bugs.webkit.org/show_bug.cgi?id=29681 |
|
8991 |
|
8992 Some additional changes from Kristian Amlie <kristian.amlie@nokia.com>: |
|
8993 |
|
8994 * Fixed surrounding text to exclude preedit string |
|
8995 * Avoid emission of microFocusChanged during setComposition() |
|
8996 |
|
8997 * Api/qwebpage.cpp: |
|
8998 (QWebPagePrivate::inputMethodEvent): |
|
8999 (QWebPage::inputMethodQuery): |
|
9000 * WebCoreSupport/EditorClientQt.cpp: |
|
9001 (WebCore::EditorClientQt::respondToChangedSelection): |
|
9002 * tests/qwebpage/tst_qwebpage.cpp: |
|
9003 (tst_QWebPage::inputMethods): |
|
9004 |
|
9005 2009-09-30 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9006 |
|
9007 Reviewed by David Hyatt. |
|
9008 |
|
9009 Add the failed URL to the ErrorPageExtension, as it is quite |
|
9010 useful for creating error pages. |
|
9011 |
|
9012 * Api/qwebpage.h: |
|
9013 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
9014 (WebCore::FrameLoaderClientQt::callErrorPageExtension): |
|
9015 |
|
9016 2009-09-29 Andras Becsi <becsi.andras@stud.u-szeged.hu> |
|
9017 |
|
9018 Reviewed by Tor Arne Vestbø. |
|
9019 |
|
9020 [Qt] Default font size reconciliation to 16px/13px to match other platform's de-facto standard. |
|
9021 This fixes https://bugs.webkit.org/show_bug.cgi?id=19674. |
|
9022 |
|
9023 * Api/qwebsettings.cpp: |
|
9024 (QWebSettings::QWebSettings): |
|
9025 |
|
9026 2009-09-29 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
9027 |
|
9028 Reviewed by Simon Hausmann. |
|
9029 |
|
9030 https://bugs.webkit.org/show_bug.cgi?id=29844 |
|
9031 |
|
9032 QWebPage dependency autotest fix. |
|
9033 |
|
9034 Fix for database() autotest. All opened databases should be removed at |
|
9035 end of test. |
|
9036 |
|
9037 * tests/qwebpage/tst_qwebpage.cpp: |
|
9038 (tst_QWebPage::database): |
|
9039 |
|
9040 2009-09-29 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
9041 |
|
9042 Reviewed by Simon Hausmann. |
|
9043 |
|
9044 Some QWebHistory and QWebPage autotest crash fixes. |
|
9045 |
|
9046 Some checking for m_mainFrame were added. MainFrame should be created |
|
9047 at some point of QWebPage live cicle. |
|
9048 |
|
9049 https://bugs.webkit.org/show_bug.cgi?id=29803 |
|
9050 |
|
9051 * Api/qwebpage.cpp: |
|
9052 (QWebPage::~QWebPage): |
|
9053 (QWebPage::currentFrame): |
|
9054 (QWebPage::history): |
|
9055 (QWebPage::selectedText): |
|
9056 (QWebPage::updatePositionDependentActions): |
|
9057 * tests/qwebpage/tst_qwebpage.cpp: |
|
9058 (tst_QWebPage::crashTests_LazyInitializationOfMainFrame): |
|
9059 |
|
9060 2009-09-29 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9061 |
|
9062 Reviewed by Simon Hausmann and Tor Arne Vestbø. |
|
9063 |
|
9064 Implement QWebPage Extension for error pages, incl. |
|
9065 an example on how to use it in QtLauncher. |
|
9066 |
|
9067 Correct our use of ResourceError. |
|
9068 |
|
9069 * Api/qwebpage.h: |
|
9070 (ExtensionOption::): |
|
9071 (ExtensionOption::ErrorPageExtensionReturn::ErrorPageExtensionReturn): |
|
9072 * QtLauncher/main.cpp: |
|
9073 (WebPage::supportsExtension): |
|
9074 (MainWindow::MainWindow): |
|
9075 (MainWindow::selectElements): |
|
9076 (WebPage::extension): |
|
9077 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
9078 (WebCore::FrameLoaderClientQt::cancelledError): |
|
9079 (WebCore::FrameLoaderClientQt::blockedError): |
|
9080 (WebCore::FrameLoaderClientQt::cannotShowURLError): |
|
9081 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError): |
|
9082 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError): |
|
9083 (WebCore::FrameLoaderClientQt::fileDoesNotExistError): |
|
9084 (WebCore::FrameLoaderClientQt::callErrorPageExtension): |
|
9085 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): |
|
9086 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): |
|
9087 * WebCoreSupport/FrameLoaderClientQt.h: |
|
9088 |
|
9089 2009-09-28 Andre Poenitz <andre.poenitz@trolltech.com> |
|
9090 |
|
9091 Reviewed by Simon Hausmann. |
|
9092 |
|
9093 Compile fix with namespaced Qt. |
|
9094 |
|
9095 * Api/qwebinspector_p.h: |
|
9096 |
|
9097 2009-09-27 Joe Ligman <joseph.ligman@mindspring.com> |
|
9098 |
|
9099 Reviewed by Simon Hausmann. |
|
9100 |
|
9101 [Qt] Adding API setFocus and hasFocus to QWebElement. This API is needed for |
|
9102 clients that want to check/set the focus node of the document. |
|
9103 https://bugs.webkit.org/show_bug.cgi?id=29682 |
|
9104 |
|
9105 * Api/qwebelement.cpp: |
|
9106 (QWebElement::hasFocus): |
|
9107 (QWebElement::setFocus): |
|
9108 * Api/qwebelement.h: |
|
9109 * tests/qwebelement/tst_qwebelement.cpp: |
|
9110 (tst_QWebElement::hasSetFocus): |
|
9111 |
|
9112 2009-09-25 Csaba Osztrogonac <oszi@inf.u-szeged.hu> |
|
9113 |
|
9114 Reviewed by Simon Hausmann. |
|
9115 |
|
9116 [Qt] Make tst_qwebframe work if Qt built without SSL support |
|
9117 https://bugs.webkit.org/show_bug.cgi?id=29735 |
|
9118 |
|
9119 * tests/qwebframe/tst_qwebframe.cpp: Missing #ifndef blocks added. |
|
9120 |
|
9121 2009-09-24 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
9122 |
|
9123 Reviewed by Simon Hausmann. |
|
9124 |
|
9125 [Qt] Update QWebElement API to remove script related methods. |
|
9126 QWebElement::evaluateScript is the only one kept, these are |
|
9127 removed to postpone most of the QtWebKit<->JavaScript API design |
|
9128 after 4.6. |
|
9129 https://bugs.webkit.org/show_bug.cgi?id=29708 |
|
9130 |
|
9131 * Api/qwebelement.cpp: |
|
9132 * Api/qwebelement.h: |
|
9133 Methods removed: |
|
9134 - QWebElement::callFunction |
|
9135 - QWebElement::functions |
|
9136 - QWebElement::scriptableProperty |
|
9137 - QWebElement::setScriptableProperty |
|
9138 - QWebElement::scriptableProperties |
|
9139 * tests/qwebelement/tst_qwebelement.cpp: |
|
9140 (tst_QWebElement::evaluateScript): |
|
9141 |
|
9142 2009-09-25 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
9143 |
|
9144 Reviewed by Simon Hausmann. |
|
9145 |
|
9146 [Qt] Rename QWebElement::evaluateScript |
|
9147 to QWebElement::evaluateJavaScript. |
|
9148 https://bugs.webkit.org/show_bug.cgi?id=29709 |
|
9149 |
|
9150 * Api/qwebelement.cpp: |
|
9151 (QWebElement::evaluateJavaScript): |
|
9152 * Api/qwebelement.h: |
|
9153 * tests/qwebelement/tst_qwebelement.cpp: |
|
9154 (tst_QWebElement::evaluateJavaScript): |
|
9155 |
|
9156 2009-09-25 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
9157 |
|
9158 Reviewed by Simon Hausmann. |
|
9159 |
|
9160 [Qt] Update the stypeProperty API of QWebElement. |
|
9161 https://bugs.webkit.org/show_bug.cgi?id=29711 |
|
9162 |
|
9163 * Api/qwebelement.cpp: |
|
9164 (QWebElement::styleProperty): |
|
9165 - Merge the stypeProperty and the computedStyleProperty methods |
|
9166 - Remove the default value for the style resolving enum |
|
9167 - Rename ResolveRule to StyleResolveStrategy |
|
9168 (QWebElement::setStyleProperty): |
|
9169 - Remove the priority argument since it is possible to control the |
|
9170 behaviour by adding !important or removing in the value. |
|
9171 * Api/qwebelement.h: |
|
9172 * tests/qwebelement/tst_qwebelement.cpp: |
|
9173 (tst_QWebElement::style): |
|
9174 (tst_QWebElement::computedStyle): |
|
9175 * tests/qwebframe/tst_qwebframe.cpp: |
|
9176 |
|
9177 2009-09-24 Jon Honeycutt <jhoneycutt@apple.com> |
|
9178 |
|
9179 Reviewed by Alice Liu. |
|
9180 |
|
9181 * Api/qwebpage.cpp: |
|
9182 (QWebPagePrivate::QWebPagePrivate): |
|
9183 Pass 0 for new Page constructor argument. |
|
9184 |
|
9185 2009-09-24 Martin Smith <msmith@trolltech.com> |
|
9186 |
|
9187 Reviewed by Simon Hausmann. |
|
9188 |
|
9189 qdoc: Added \brief texts to all the since 4.6 functions. |
|
9190 |
|
9191 * Api/qwebhistory.cpp: |
|
9192 |
|
9193 2009-09-23 J-P Nurmi <jpnurmi@gmail.com> |
|
9194 |
|
9195 Reviewed by Simon Hausmann. |
|
9196 |
|
9197 Prevent QWebPage::setView() from changing the viewport size on the fly |
|
9198 in case the view doesn't actually change. QWebPage::setView() is |
|
9199 called upon every QWebGraphicsItem::hoverMoveEvent(), which forced |
|
9200 the viewport size to be equal to the size of the whole graphics view. |
|
9201 |
|
9202 https://bugs.webkit.org/show_bug.cgi?id=29676 |
|
9203 |
|
9204 * Api/qwebpage.cpp: |
|
9205 (QWebPage::setView): |
|
9206 |
|
9207 2009-09-23 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
9208 |
|
9209 Reviewed by Simon Hausmann. |
|
9210 |
|
9211 [Qt] Crash fix in QWebHistory back and forward methods. |
|
9212 |
|
9213 QWebHistory::back() and QWebHistory::forward() were crashing on |
|
9214 ASSERT in WebCore::BackForwardList. The methods should check |
|
9215 canGoBack() and canGoForward() at the beginning. |
|
9216 |
|
9217 https://bugs.webkit.org/show_bug.cgi?id=29675 |
|
9218 |
|
9219 * Api/qwebhistory.cpp: |
|
9220 (QWebHistory::back): |
|
9221 (QWebHistory::forward): |
|
9222 |
|
9223 2009-09-23 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
9224 |
|
9225 Reviewed by Simon Hausmann. |
|
9226 |
|
9227 [Qt] Bug fix. QWebHistory should call QWebPage::updateNavigationActions |
|
9228 |
|
9229 In QWebHistory's methods that change item count or current item call |
|
9230 to QWebPage::updateNavigationActions should be executed. |
|
9231 QWebHistory::clear() and QWebHistory::restorState() were changed. |
|
9232 New helper method, QWebPagePrivate accesor, were created in |
|
9233 QWebHistoryPrivate class. |
|
9234 Two autotest were developed. |
|
9235 |
|
9236 https://bugs.webkit.org/show_bug.cgi?id=29246 |
|
9237 |
|
9238 * Api/qwebhistory.cpp: |
|
9239 (QWebHistory::clear): |
|
9240 (QWebHistory::restoreState): |
|
9241 (QWebHistoryPrivate::page): |
|
9242 * Api/qwebhistory_p.h: |
|
9243 * tests/qwebhistory/tst_qwebhistory.cpp: |
|
9244 (tst_QWebHistory::saveAndRestore_1): |
|
9245 (tst_QWebHistory::clear): |
|
9246 |
|
9247 2009-09-23 Norbert Leser <norbert.leser@nokia.com> |
|
9248 |
|
9249 Reviewed by Tor Arne Vestbø. |
|
9250 |
|
9251 Need to guard QX11Info include with Q_WS_X11. |
|
9252 That class may not be available (in QT 4.5 for Symbian, for instance). |
|
9253 Completes fixes in r48627 and r48604. |
|
9254 |
|
9255 * Api/qwebgraphicsitem.cpp: |
|
9256 * Api/qwebview.cpp: |
|
9257 |
|
9258 2009-09-22 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
9259 |
|
9260 Reviewed by Simon Hausmann. |
|
9261 |
|
9262 [Qt] Add default timeout while waiting for signals in QWebPage auto |
|
9263 tests. |
|
9264 https://bugs.webkit.org/show_bug.cgi?id=29637 |
|
9265 |
|
9266 * tests/qwebpage/tst_qwebpage.cpp: |
|
9267 (waitForSignal): |
|
9268 |
|
9269 2009-09-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
9270 |
|
9271 Reivewed by Simon Hausmann. |
|
9272 |
|
9273 Fix the Qt/Mac build after r48604 (Implement new QWebPageClient class) |
|
9274 |
|
9275 There's no QWidget::x11Info() on Mac, and setPlatformPluginWidget() |
|
9276 takes a QWidget*, not a QWebPageClient* |
|
9277 |
|
9278 * Api/qwebgraphicsitem.cpp: |
|
9279 (QWebGraphicsItemPrivate::screenNumber): |
|
9280 * Api/qwebview.cpp: |
|
9281 (QWebViewPrivate::screenNumber): |
|
9282 |
|
9283 2009-09-21 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9284 |
|
9285 Reviewed by Simon Hausmann. |
|
9286 |
|
9287 For Qt, platformPageClient() will now return a class derived from |
|
9288 the QWebPageClient, so the patch adapts our Qt hooks to go though |
|
9289 this class and not depend on the QWebView. |
|
9290 |
|
9291 * Api/qwebgraphicsitem.cpp: |
|
9292 (QWebGraphicsItemPrivate::scroll): |
|
9293 (QWebGraphicsItemPrivate::update): |
|
9294 (QWebGraphicsItemPrivate::cursor): |
|
9295 (QWebGraphicsItemPrivate::updateCursor): |
|
9296 (QWebGraphicsItemPrivate::screenNumber): |
|
9297 (QWebGraphicsItemPrivate::winId): |
|
9298 (QWebGraphicsItem::event): |
|
9299 (QWebGraphicsItem::setPage): |
|
9300 * Api/qwebgraphicsitem.h: |
|
9301 * Api/qwebpage.cpp: |
|
9302 (QWebPagePrivate::QWebPagePrivate): |
|
9303 * Api/qwebpage_p.h: |
|
9304 * Api/qwebview.cpp: |
|
9305 (QWebViewPrivate::scroll): |
|
9306 (QWebViewPrivate::update): |
|
9307 (QWebViewPrivate::cursor): |
|
9308 (QWebViewPrivate::updateCursor): |
|
9309 (QWebViewPrivate::screenNumber): |
|
9310 (QWebViewPrivate::winId): |
|
9311 (QWebView::setPage): |
|
9312 (QWebView::event): |
|
9313 * WebCoreSupport/ChromeClientQt.cpp: |
|
9314 (WebCore::ChromeClientQt::repaint): |
|
9315 (WebCore::ChromeClientQt::scroll): |
|
9316 (WebCore::ChromeClientQt::platformPageClient): |
|
9317 |
|
9318 2009-09-21 Yael Aharon <yael.aharon@nokia.com> |
|
9319 |
|
9320 Reviewed by Simon Hausmann. |
|
9321 |
|
9322 https://bugs.webkit.org/show_bug.cgi?id=29609 |
|
9323 Build fix for windows when using Qt 4.5.0. |
|
9324 |
|
9325 * Api/qwebpage.cpp: |
|
9326 (QWebPage::userAgentForUrl): |
|
9327 |
|
9328 2009-09-19 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
9329 |
|
9330 Reviewed by Simon Hausmann. |
|
9331 |
|
9332 https://bugs.webkit.org/show_bug.cgi?id=29345 |
|
9333 The tests of QWebFrame did not use QTRY_VERIFY for |
|
9334 tests involving the event loop. |
|
9335 |
|
9336 * tests/qwebframe/tst_qwebframe.cpp: |
|
9337 * tests/util.h: Added. Copy of tests/shared/util.h of Qt |
|
9338 |
|
9339 2009-09-19 Jakub Wieczorek <faw217@gmail.com> |
|
9340 |
|
9341 Reviewed by Simon Hausmann. |
|
9342 |
|
9343 [Qt] Add an autotest stub for QWebGraphicsItem. |
|
9344 |
|
9345 It just calls all the functions and makes sure they don't crash. |
|
9346 |
|
9347 * tests/qwebgraphicsitem/qwebgraphicsitem.pro: Added. |
|
9348 * tests/qwebgraphicsitem/tst_qwebgraphicsitem.cpp: Added. |
|
9349 (tst_QWebGraphicsItem::qwebgraphicsitem): |
|
9350 * tests/tests.pro: |
|
9351 |
|
9352 2009-09-18 Norbert Leser <norbert.leser@nokia.com> |
|
9353 |
|
9354 Reviewed by Eric Seidel. |
|
9355 |
|
9356 Corrected the Symbian specific UID3 values to be assigned |
|
9357 from the "unprotected" pool that permits self-signing of |
|
9358 those test and demo executables. (Added new UID3 values |
|
9359 where they were missing for new components.) |
|
9360 |
|
9361 * QGVLauncher/QGVLauncher.pro: |
|
9362 * QtLauncher/QtLauncher.pro: |
|
9363 * tests/benchmarks/loading/tst_loading.pro: |
|
9364 * tests/benchmarks/painting/tst_painting.pro: |
|
9365 * tests/qwebelement/qwebelement.pro: |
|
9366 * tests/qwebframe/qwebframe.pro: |
|
9367 * tests/qwebhistory/qwebhistory.pro: |
|
9368 * tests/qwebhistoryinterface/qwebhistoryinterface.pro: |
|
9369 * tests/qwebpage/qwebpage.pro: |
|
9370 * tests/qwebplugindatabase/qwebplugindatabase.pro: |
|
9371 * tests/qwebview/qwebview.pro: |
|
9372 |
|
9373 2009-09-17 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9374 |
|
9375 Reviewed by Simon Hausmann. |
|
9376 |
|
9377 Make PlatformWindow return something else than PlatformWidget |
|
9378 https://bugs.webkit.org/show_bug.cgi?id=29085 |
|
9379 |
|
9380 Reflect the rename of platformWindow and it's return type. |
|
9381 |
|
9382 * WebCoreSupport/ChromeClientQt.cpp: |
|
9383 (WebCore::ChromeClientQt::platformPageClient): |
|
9384 * WebCoreSupport/ChromeClientQt.h: |
|
9385 |
|
9386 2009-09-18 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
9387 |
|
9388 Reviewed by Simon Hausmann. |
|
9389 |
|
9390 [Qt] Add persistence support for configuration options in the |
|
9391 inspector. |
|
9392 |
|
9393 * Api/qwebinspector.cpp: |
|
9394 * QtLauncher/main.cpp: |
|
9395 (main): |
|
9396 * WebCoreSupport/InspectorClientQt.cpp: |
|
9397 (WebCore::InspectorClientQt::populateSetting): |
|
9398 (WebCore::InspectorClientQt::storeSetting): |
|
9399 (WebCore::variantToSetting): |
|
9400 (WebCore::settingToVariant): |
|
9401 |
|
9402 2009-09-18 Simon Hausmann <simon.hausmann@nokia.com> |
|
9403 |
|
9404 Reviewed by Ariya Hidayat. |
|
9405 |
|
9406 Fixed a bunch of documentation warnings. |
|
9407 |
|
9408 * Api/qwebgraphicsitem.cpp: |
|
9409 * Api/qwebplugindatabase.cpp: |
|
9410 * Api/qwebpluginfactory.cpp: |
|
9411 * Api/qwebsecurityorigin.cpp: |
|
9412 |
|
9413 2009-09-18 Warwick Allison <warwick.allison@nokia.com> |
|
9414 |
|
9415 Reviewed by Simon Hausmann. |
|
9416 |
|
9417 Added a test that console output works. |
|
9418 |
|
9419 * tests/qwebpage/tst_qwebpage.cpp: |
|
9420 (ConsolePage::ConsolePage): |
|
9421 (ConsolePage::javaScriptConsoleMessage): |
|
9422 (tst_QWebPage::consoleOutput): |
|
9423 |
|
9424 2009-09-17 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9425 |
|
9426 Reviewed by Simon Hausmann. |
|
9427 |
|
9428 Improve documentation for Page Cache. |
|
9429 |
|
9430 * Api/qwebsettings.cpp: |
|
9431 |
|
9432 2009-09-17 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
9433 |
|
9434 Reviewed by Simon Hausmann. |
|
9435 |
|
9436 [Qt] Update QWebSettings::setUserStyleSheetUrl() docs and test |
|
9437 |
|
9438 https://bugs.webkit.org/show_bug.cgi?id=29081 |
|
9439 |
|
9440 The documentation now specifies that the URL has to be a local file |
|
9441 or a a data-URL (with utf-8 and base64-encoded data), as these are the |
|
9442 only two schemes that the current code path accepts. |
|
9443 |
|
9444 The auto-test has been updated to reflect this limitation. |
|
9445 |
|
9446 At a later point we should concider adding API for the new way of |
|
9447 doing both user defined stylesheets and scripts. |
|
9448 |
|
9449 * Api/qwebsettings.cpp: |
|
9450 * tests/qwebpage/tst_qwebpage.cpp: |
|
9451 |
|
9452 2009-09-17 Janne Koskinen <janne.p.koskinen@digia.com> |
|
9453 |
|
9454 Reviewed by Simon Hausmann. |
|
9455 |
|
9456 Symbian build fix. |
|
9457 |
|
9458 Moved the #ifdefs around _q_cleanupLeakMessages() into the function |
|
9459 definition. |
|
9460 |
|
9461 QMake is not being able to distinguish between release and debug builds |
|
9462 in Symbian build. This is a Symbian toolchain issue. |
|
9463 |
|
9464 * Api/qwebpage.cpp: |
|
9465 (QWebPagePrivate::_q_cleanupLeakMessages): |
|
9466 * Api/qwebpage.h: |
|
9467 * Api/qwebpage_p.h: |
|
9468 |
|
9469 2009-09-17 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
9470 |
|
9471 Reviewed by Simon Hausmann. |
|
9472 |
|
9473 Small cosmetic documentation fixlet in the QWebInspector. |
|
9474 |
|
9475 * Api/qwebinspector.cpp: |
|
9476 |
|
9477 2009-09-16 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
9478 |
|
9479 Reviewed by Eric Seidel. |
|
9480 |
|
9481 Detect and add Windows7 properly to the user agent. |
|
9482 |
|
9483 * Api/qwebpage.cpp: |
|
9484 (QWebPage::userAgentForUrl): |
|
9485 |
|
9486 2009-09-16 Andras Becsi <andrewbecsi@yahoo.co.uk> |
|
9487 |
|
9488 Rubberstamped by Kenneth Christiansen. |
|
9489 |
|
9490 [Qt] Build fix for previous changes. |
|
9491 |
|
9492 * QGVLauncher/main.cpp: |
|
9493 (MainView::flip): |
|
9494 |
|
9495 2009-09-16 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9496 |
|
9497 Unreviewed potential Qt < 4.6 build fix. |
|
9498 |
|
9499 * QGVLauncher/main.cpp: |
|
9500 (MainView::flip): |
|
9501 |
|
9502 2009-09-16 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9503 |
|
9504 Reviewed by Simon Hausmann. |
|
9505 |
|
9506 Add a "Flip effect" to our GraphicsView based launcher. |
|
9507 |
|
9508 * QGVLauncher/main.cpp: |
|
9509 (MainView::resizeEvent): |
|
9510 (MainView::flip): |
|
9511 (MainWindow::flip): |
|
9512 (MainWindow::buildUI): |
|
9513 |
|
9514 2009-09-16 Zoltan Herczeg <zherczeg@inf.u-szeged.hu> |
|
9515 |
|
9516 Rubber-stamped by Simon Hausmann. |
|
9517 |
|
9518 [Qt] Typo fix. Pass the window object to the Format |
|
9519 menu. In this way Qt can free its internal graphical |
|
9520 objects during exit. |
|
9521 |
|
9522 * QtLauncher/main.cpp: |
|
9523 (MainWindow::setupUI): |
|
9524 |
|
9525 2009-09-16 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
9526 |
|
9527 Reviewed by Tor Arne Vestbø. |
|
9528 |
|
9529 [Qt] Build break fix on gcc ARM. |
|
9530 |
|
9531 * Api/qwebgraphicsitem.cpp: |
|
9532 (QWebGraphicsItemPrivate::_q_doLoadProgress): |
|
9533 |
|
9534 2009-09-16 Warwick Allison <warwick.allison@nokia.com> |
|
9535 |
|
9536 Reviewed by Simon Hausmann. |
|
9537 |
|
9538 Fix a crash in QWebFrame::hasFocus() with a simple null pointer check |
|
9539 when the focused frame is null. We do the same check in other places |
|
9540 where we call kit(). |
|
9541 |
|
9542 * Api/qwebframe.cpp: |
|
9543 (QWebFrame::hasFocus): |
|
9544 |
|
9545 2009-09-16 Jure Repinc <jlp@holodeck1.com> |
|
9546 |
|
9547 Reviewed by Simon Hausmann. |
|
9548 |
|
9549 Fixed a typo found during translation. |
|
9550 |
|
9551 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
9552 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError): |
|
9553 |
|
9554 2009-09-14 Jakub Wieczorek <faw217@gmail.com> |
|
9555 |
|
9556 Reviewed by Simon Hausmann. |
|
9557 |
|
9558 [Qt] QWebGraphicsItem should check for null QWebPage. |
|
9559 https://bugs.webkit.org/show_bug.cgi?id=29185 |
|
9560 |
|
9561 Don't crash in QWebGraphicsItem when the page is still null, by |
|
9562 either checking if it's the case or constructing the default one. |
|
9563 |
|
9564 * Api/qwebgraphicsitem.cpp: |
|
9565 (QWebGraphicsItem::icon): |
|
9566 (QWebGraphicsItem::setZoomFactor): |
|
9567 (QWebGraphicsItem::zoomFactor): |
|
9568 (QWebGraphicsItem::setGeometry): |
|
9569 (QWebGraphicsItem::load): |
|
9570 (QWebGraphicsItem::setHtml): |
|
9571 (QWebGraphicsItem::toHtml): |
|
9572 (QWebGraphicsItem::setContent): |
|
9573 (QWebGraphicsItem::history): |
|
9574 (QWebGraphicsItem::settings): |
|
9575 |
|
9576 2009-09-11 David Boddie <dboddie@trolltech.com> |
|
9577 |
|
9578 Reviewed by Simon Hausmann. |
|
9579 |
|
9580 Doc: Note that Netscape plugins are only available on desktop platforms. |
|
9581 |
|
9582 * docs/qtwebkit.qdoc: |
|
9583 |
|
9584 2009-09-11 Martin Smith <msmith@trolltech.com> |
|
9585 |
|
9586 Reviewed by Simon Hausmann. |
|
9587 |
|
9588 Adjust the name of the contentspage for the documentation |
|
9589 to the new name used in Qt 4.6. |
|
9590 |
|
9591 * docs/qtwebkit.qdoc: |
|
9592 |
|
9593 2009-09-11 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
9594 |
|
9595 Reviewed by Simon Hausmann. |
|
9596 |
|
9597 Changed URLs from qtsoftware.com to qt.nokia.com, as part of a general |
|
9598 renaming. |
|
9599 |
|
9600 * Api/qwebpluginfactory.cpp: |
|
9601 * docs/webkitsnippets/simple/main.cpp: |
|
9602 (main): |
|
9603 * docs/webkitsnippets/webpage/main.cpp: |
|
9604 (main): |
|
9605 |
|
9606 2009-09-11 Volker Hilsheimer <volker.hilsheimer@nokia.com> |
|
9607 |
|
9608 Reviewed by Simon Hausmann. |
|
9609 |
|
9610 Restructure the documentation, both on a file and on a content level. |
|
9611 |
|
9612 * Api/qwebdatabase.cpp: |
|
9613 * Api/qwebelement.cpp: |
|
9614 * Api/qwebframe.cpp: |
|
9615 * Api/qwebhistory.cpp: |
|
9616 * Api/qwebhistoryinterface.cpp: |
|
9617 * Api/qwebpage.cpp: |
|
9618 * Api/qwebpluginfactory.cpp: |
|
9619 * Api/qwebsecurityorigin.cpp: |
|
9620 * Api/qwebsettings.cpp: |
|
9621 * Api/qwebview.cpp: |
|
9622 * docs/qtwebkit.qdoc: |
|
9623 |
|
9624 2009-09-11 Yongjun Zhang <yongjun.zhang@nokia.com> |
|
9625 |
|
9626 Reviewed by Simon Hausmann. |
|
9627 |
|
9628 https://bugs.webkit.org/show_bug.cgi?id=29136 |
|
9629 [Qt] emit microFocusChanged() signal when no QWidget-based view is present. |
|
9630 |
|
9631 emit microFocusChange() signal regardless of view. |
|
9632 |
|
9633 * WebCoreSupport/EditorClientQt.cpp: |
|
9634 (WebCore::EditorClientQt::setInputMethodState): |
|
9635 |
|
9636 2009-09-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> |
|
9637 |
|
9638 Reviewed by Simon Hausmann. |
|
9639 |
|
9640 https://bugs.webkit.org/show_bug.cgi?id=28806 |
|
9641 |
|
9642 [Qt] Make the WebInspector available as a QWidget. |
|
9643 |
|
9644 * Api/headers.pri: |
|
9645 * Api/qwebelement.cpp: |
|
9646 (QWebElement::enclosingElement): |
|
9647 * Api/qwebelement.h: |
|
9648 * Api/qwebinspector.cpp: Added. |
|
9649 * Api/qwebinspector.h: Added. |
|
9650 * Api/qwebinspector_p.h: Added. |
|
9651 * Api/qwebpage.cpp: |
|
9652 (QWebPagePrivate::QWebPagePrivate): |
|
9653 (QWebPagePrivate::setInspector): |
|
9654 (QWebPagePrivate::getOrCreateInspector): |
|
9655 (QWebPagePrivate::inspectorController): |
|
9656 (QWebPage::~QWebPage): |
|
9657 (QWebPage::triggerAction): |
|
9658 * Api/qwebpage.h: |
|
9659 * Api/qwebpage_p.h: |
|
9660 * Api/qwebsettings.cpp: |
|
9661 * QtLauncher/main.cpp: |
|
9662 (MainWindow::MainWindow): |
|
9663 * WebCoreSupport/InspectorClientQt.cpp: |
|
9664 (WebCore::InspectorClientWebPage::InspectorClientWebPage): |
|
9665 (WebCore::InspectorClientWebPage::createWindow): |
|
9666 (WebCore::InspectorClientQt::createPage): |
|
9667 (WebCore::InspectorClientQt::showWindow): |
|
9668 (WebCore::InspectorClientQt::closeWindow): |
|
9669 (WebCore::InspectorClientQt::attachWindow): |
|
9670 (WebCore::InspectorClientQt::detachWindow): |
|
9671 (WebCore::InspectorClientQt::updateWindowTitle): |
|
9672 * WebCoreSupport/InspectorClientQt.h: |
|
9673 * docs/webkitsnippets/qtwebkit_qwebinspector_snippet.cpp: Added. |
|
9674 |
|
9675 2009-09-10 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
9676 |
|
9677 Reviewed by Eric Seidel. |
|
9678 |
|
9679 [Qt] Fix comparison between signed and unsigned integer warnings |
|
9680 https://bugs.webkit.org/show_bug.cgi?id=29162 |
|
9681 |
|
9682 No functional change. |
|
9683 |
|
9684 * Api/qwebelement.cpp: |
|
9685 (QWebElement::findAll): |
|
9686 * Api/qwebhistory.cpp: |
|
9687 (QWebHistory::items): |
|
9688 (QWebHistory::backItems): |
|
9689 (QWebHistory::forwardItems): |
|
9690 (QWebHistory::saveState): |
|
9691 * Api/qwebplugindatabase.cpp: |
|
9692 (QWebPluginDatabase::setSearchPaths): |
|
9693 * WebCoreSupport/ChromeClientQt.cpp: |
|
9694 (WebCore::ChromeClientQt::runOpenPanel): |
|
9695 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
9696 (WebCore::FrameLoaderClientQt::createPlugin): |
|
9697 |
|
9698 2009-09-10 Simon Hausmann <hausmann@webkit.org> |
|
9699 |
|
9700 Rubber-stamped by Ariya Hidayat. |
|
9701 |
|
9702 Fix a bunch of qdoc warnings: Invalid references, non-standard |
|
9703 wording, etc. |
|
9704 |
|
9705 * Api/qwebelement.cpp: |
|
9706 * Api/qwebgraphicsitem.cpp: |
|
9707 * Api/qwebsecurityorigin.cpp: |
|
9708 |
|
9709 2009-09-10 Simon Hausmann <hausmann@webkit.org> |
|
9710 |
|
9711 Reviewed by Ariya Hidayat. |
|
9712 |
|
9713 Fix context menu event delivery with QWebGraphicsItem. |
|
9714 |
|
9715 Re-implement the correct context menu virtual function using |
|
9716 a QGraphicsSceneContextMenuEvent and forward & handle it in |
|
9717 QWebPage. |
|
9718 |
|
9719 * Api/qwebgraphicsitem.cpp: |
|
9720 (QWebGraphicsItem::contextMenuEvent): |
|
9721 * Api/qwebgraphicsitem.h: |
|
9722 * Api/qwebpage.cpp: |
|
9723 (QWebPagePrivate::contextMenuEvent): |
|
9724 (QWebPage::event): |
|
9725 * Api/qwebpage_p.h: |
|
9726 |
|
9727 2009-09-10 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
9728 |
|
9729 Unreviewed. |
|
9730 |
|
9731 Build fix for QtWebKit for Mac after r48219. |
|
9732 |
|
9733 qevent and qstyleoption are QtGui interfaces. |
|
9734 |
|
9735 * Api/qwebgraphicsitem.cpp: |
|
9736 * Api/qwebgraphicsitem.h: |
|
9737 |
|
9738 2009-09-09 Simon Hausmann <hausmann@webkit.org> |
|
9739 |
|
9740 Reviewed by Tor Arne Vestbø. |
|
9741 |
|
9742 Call the right base class function QGraphicsWidget::event() instead |
|
9743 of skipping it and using QObject::event() instead. |
|
9744 |
|
9745 * Api/qwebgraphicsitem.cpp: |
|
9746 (QWebGraphicsItem::event): |
|
9747 |
|
9748 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9749 |
|
9750 Unreviewed. |
|
9751 |
|
9752 Fix comment at Tor Arne Vestbø's request. |
|
9753 |
|
9754 * Api/qwebgraphicsitem.cpp: |
|
9755 (QWebGraphicsItem::sceneEvent): |
|
9756 (QWebGraphicsItem::event): |
|
9757 |
|
9758 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9759 |
|
9760 Reviewed by Tor Arne Vestbø. |
|
9761 |
|
9762 Implement some virtual event methods so that we can fix |
|
9763 event-related bugs in Qt patch releases. |
|
9764 |
|
9765 * Api/qwebgraphicsitem.cpp: |
|
9766 (QWebGraphicsItem::sceneEvent): |
|
9767 (QWebGraphicsItem::event): |
|
9768 * Api/qwebgraphicsitem.h: |
|
9769 |
|
9770 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org>, Antonio Gomes <antonio.gomes@openbossa.org> |
|
9771 |
|
9772 Reviewed by Simon Hausmann. |
|
9773 |
|
9774 Add a new QGraphicsWidget based version of the "QWebView" |
|
9775 under the name "QWebGraphicsItem". |
|
9776 |
|
9777 https://bugs.webkit.org/show_bug.cgi?id=28862 |
|
9778 |
|
9779 Includes an alternative Qt launcher using the QGraphicsView. |
|
9780 |
|
9781 * Api/headers.pri: |
|
9782 * Api/qwebgraphicsitem.cpp: Added. |
|
9783 * Api/qwebgraphicsitem.h: Added. |
|
9784 * Api/qwebpage.h: |
|
9785 * QGVLauncher/QGVLauncher.pro: Copied from WebKit/qt/QtLauncher/QtLauncher.pro. |
|
9786 * QGVLauncher/main.cpp: Added. |
|
9787 * WebCoreSupport/ChromeClientQt.cpp: |
|
9788 (WebCore::ChromeClientQt::repaint): |
|
9789 (WebCore::ChromeClientQt::scroll): |
|
9790 |
|
9791 2009-09-08 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9792 |
|
9793 Unreviewed build fix. |
|
9794 |
|
9795 Potential build fix for Qt 4.5 |
|
9796 |
|
9797 * Api/qwebpage.cpp: |
|
9798 (QWebPagePrivate::mousePressEvent): |
|
9799 |
|
9800 2009-09-08 Benjamin Poulain <benjamin.poulain@nokia.com> |
|
9801 |
|
9802 Reviewed by Simon Hausmann. |
|
9803 |
|
9804 https://bugs.webkit.org/show_bug.cgi?id=29007 |
|
9805 Add a test for the signal QWebFrame::javaScriptWindowObjectCleared() |
|
9806 |
|
9807 * tests/qwebframe/tst_qwebframe.cpp: |
|
9808 |
|
9809 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
9810 |
|
9811 Reviewed by Simon Hausmann. |
|
9812 |
|
9813 [Qt] Fix unused variable warnings |
|
9814 https://bugs.webkit.org/show_bug.cgi?id=29018 |
|
9815 |
|
9816 * Api/qwebpage.cpp: |
|
9817 (QWebPagePrivate::keyPressEvent): |
|
9818 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
9819 (WebCore::FrameLoaderClientQt::startDownload): |
|
9820 (WebCore::FrameLoaderClientQt::createFrame): |
|
9821 |
|
9822 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
9823 |
|
9824 Reviewed by Ariya Hidayat. |
|
9825 |
|
9826 [Qt] Use the declaration order in initializer lists |
|
9827 https://bugs.webkit.org/show_bug.cgi?id=29017 |
|
9828 |
|
9829 * Api/qwebframe_p.h: |
|
9830 |
|
9831 2009-09-08 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9832 |
|
9833 Reviewed by Simon Hausmann. |
|
9834 |
|
9835 Add support for handling QGraphicsScene events. |
|
9836 |
|
9837 * Api/qwebpage.cpp: |
|
9838 (QWebPagePrivate::mouseMoveEvent): |
|
9839 (QWebPagePrivate::mousePressEvent): |
|
9840 (QWebPagePrivate::mouseDoubleClickEvent): |
|
9841 (QWebPagePrivate::mouseTripleClickEvent): |
|
9842 (QWebPagePrivate::handleClipboard): |
|
9843 (QWebPagePrivate::mouseReleaseEvent): |
|
9844 (QWebPagePrivate::wheelEvent): |
|
9845 (QWebPagePrivate::dragEnterEvent): |
|
9846 (QWebPagePrivate::dragLeaveEvent): |
|
9847 (QWebPagePrivate::dragMoveEvent): |
|
9848 (QWebPagePrivate::dropEvent): |
|
9849 (QWebPage::event): |
|
9850 * Api/qwebpage_p.h: |
|
9851 |
|
9852 2009-09-08 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
9853 |
|
9854 Reviewed by Simon Hausmann. |
|
9855 |
|
9856 [Qt] Make cursor set cleaner in QtWebKit Api: eliminate SetCursorEvent hack. |
|
9857 https://bugs.webkit.org/show_bug.cgi?id=28865 |
|
9858 |
|
9859 Clean up the unserCursor hack to use the QCursor set |
|
9860 as a property of the QWidget by WebCore::WidgetQt. |
|
9861 |
|
9862 Remove all code that are no longer necessary for getting |
|
9863 cursor change events. |
|
9864 |
|
9865 Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> and |
|
9866 Antonio Gomes <antonio.gomes@openbossa.org> on 2009-09-07 |
|
9867 |
|
9868 * Api/qwebpage.cpp: |
|
9869 * Api/qwebpage_p.h: |
|
9870 * Api/qwebview.cpp: |
|
9871 (QWebViewPrivate::QWebViewPrivate): |
|
9872 (QWebView::event): |
|
9873 |
|
9874 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
9875 |
|
9876 Reviewed by Simon Hausmann. |
|
9877 |
|
9878 [Qt] QtWebKit single API to enable persistency |
|
9879 https://bugs.webkit.org/show_bug.cgi?id=28682 |
|
9880 |
|
9881 Disable LocalStorage, ApplicationCache, HTML5 offline storage by |
|
9882 default. |
|
9883 |
|
9884 If persistency is enabled the default directory for LocalStorage and |
|
9885 ApplicationCache is now based on QDesktopServices::DataLocation and not |
|
9886 QDesktopServices::CacheLocation (as it is expected to keep this data |
|
9887 around after a reboot). |
|
9888 |
|
9889 If persistency is enabled initialize HTML5 offline storage as well - this |
|
9890 fixed offline Storage for QtLauncher. |
|
9891 |
|
9892 * Api/qwebpage.cpp: |
|
9893 (QWebPagePrivate::QWebPagePrivate): |
|
9894 * Api/qwebsettings.cpp: |
|
9895 (QWebSettings::QWebSettings): |
|
9896 (QWebSettings::enablePersistentStorage): |
|
9897 * Api/qwebsettings.h: Add a new API called enablePersistentStorage |
|
9898 * QtLauncher/main.cpp: Use the new enablePersistentStorage API |
|
9899 (main): |
|
9900 |
|
9901 2009-09-07 Jakub Wieczorek <faw217@gmail.com> |
|
9902 |
|
9903 Reviewed by Simon Hausmann. |
|
9904 |
|
9905 Speed up the QWebPluginInfo::supportsMimeType() function. |
|
9906 https://bugs.webkit.org/show_bug.cgi?id=27651 |
|
9907 |
|
9908 Instead of going through the MIME types list constructed with |
|
9909 mimeTypes() function, look up the internal mimeToDescriptions map. |
|
9910 |
|
9911 * Api/qwebplugindatabase.cpp: |
|
9912 (QWebPluginInfo::supportsMimeType): |
|
9913 |
|
9914 2009-09-07 Jakub Wieczorek <faw217@gmail.com> |
|
9915 |
|
9916 Reviewed by Simon Hausmann. |
|
9917 |
|
9918 Speed up the QWebPluginInfo::mimeTypes() function. |
|
9919 https://bugs.webkit.org/show_bug.cgi?id=27651 |
|
9920 |
|
9921 Instead of constructing a list of MIME types every time it is called, |
|
9922 do this only once. |
|
9923 |
|
9924 * Api/qwebplugindatabase.cpp: |
|
9925 (QWebPluginInfo::mimeTypes): |
|
9926 (QWebPluginInfo::operator=): |
|
9927 * Api/qwebplugindatabase.h: |
|
9928 * tests/qwebplugindatabase/tst_qwebplugindatabase.cpp: |
|
9929 (tst_QWebPluginDatabase::operatorassign_data): |
|
9930 (tst_QWebPluginDatabase::operatorassign): |
|
9931 |
|
9932 2009-09-07 Jakub Wieczorek <faw217@gmail.com> |
|
9933 |
|
9934 Reviewed by Simon Hausmann. |
|
9935 |
|
9936 Remove the private classes from QWebPluginDatabase. |
|
9937 https://bugs.webkit.org/show_bug.cgi?id=27651 |
|
9938 |
|
9939 Instead, hold the PluginDatabase and PluginPackage objects as class |
|
9940 members and take care of refcounting on our own instead of using RefPtr. |
|
9941 |
|
9942 This way we not only made the code cleaner but also got rid of |
|
9943 redundant allocations when constructing null QWebPluginInfo objects. |
|
9944 |
|
9945 The private classes have been forward-declared and the d-pointers left |
|
9946 to be on the safe side. |
|
9947 |
|
9948 * Api/qwebplugindatabase.cpp: |
|
9949 (QWebPluginInfo::QWebPluginInfo): |
|
9950 (QWebPluginInfo::~QWebPluginInfo): |
|
9951 (QWebPluginInfo::name): |
|
9952 (QWebPluginInfo::description): |
|
9953 (QWebPluginInfo::mimeTypes): |
|
9954 (QWebPluginInfo::path): |
|
9955 (QWebPluginInfo::isNull): |
|
9956 (QWebPluginInfo::setEnabled): |
|
9957 (QWebPluginInfo::isEnabled): |
|
9958 (QWebPluginInfo::operator==): |
|
9959 (QWebPluginInfo::operator!=): |
|
9960 (QWebPluginInfo::operator=): |
|
9961 (QWebPluginDatabase::QWebPluginDatabase): |
|
9962 (QWebPluginDatabase::~QWebPluginDatabase): |
|
9963 (QWebPluginDatabase::plugins): |
|
9964 (QWebPluginDatabase::searchPaths): |
|
9965 (QWebPluginDatabase::setSearchPaths): |
|
9966 (QWebPluginDatabase::addSearchPath): |
|
9967 (QWebPluginDatabase::refresh): |
|
9968 (QWebPluginDatabase::pluginForMimeType): |
|
9969 (QWebPluginDatabase::setPreferredPluginForMimeType): |
|
9970 * Api/qwebplugindatabase.h: |
|
9971 * Api/qwebplugindatabase_p.h: Removed. |
|
9972 |
|
9973 2009-09-05 Jakub Wieczorek <faw217@gmail.com> |
|
9974 |
|
9975 Reviewed by Eric Seidel. |
|
9976 |
|
9977 [Qt] r47424 broke binary compatibility |
|
9978 https://bugs.webkit.org/show_bug.cgi?id=28996 |
|
9979 |
|
9980 Append the new DnsPrefetchEnabled attribute at the end of the enum. |
|
9981 |
|
9982 * Api/qwebsettings.h: |
|
9983 |
|
9984 2009-09-04 Mark Mentovai <mark@chromium.org> |
|
9985 |
|
9986 Reviewed by Dave Hyatt. |
|
9987 |
|
9988 https://bugs.webkit.org/show_bug.cgi?id=28614 |
|
9989 |
|
9990 Account for scrollbar state changes that occur during layout. |
|
9991 |
|
9992 * Api/qwebframe.cpp: |
|
9993 (QWebFrame::setScrollBarPolicy): |
|
9994 |
|
9995 Eliminate duplicated (and incorrect) scrollbar mode tracking between |
|
9996 FrameView and ScrollView. |
|
9997 |
|
9998 2009-09-04 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
9999 |
|
10000 Reviewed by Eric Seidel. |
|
10001 |
|
10002 [Qt] Fix tst_QWebPage::database autotest failure |
|
10003 https://bugs.webkit.org/show_bug.cgi?id=28961 |
|
10004 |
|
10005 Make sure that the test case enables the feature before |
|
10006 the feature gets tested |
|
10007 |
|
10008 * tests/qwebpage/tst_qwebpage.cpp: |
|
10009 (tst_QWebPage::database): |
|
10010 |
|
10011 2009-09-04 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
10012 |
|
10013 Reviewed by Eric Seidel. |
|
10014 |
|
10015 Any QtWebKit application crashes on exit if the inspector is |
|
10016 used during the session rather then exiting. |
|
10017 |
|
10018 If a QWebView has a QWebPage that is destroyed the QWebView |
|
10019 does not update its pointer and will crash the next time |
|
10020 it access the page pointers (such as in its destructor). |
|
10021 |
|
10022 InspectorClientView should not call deleteLater when the page |
|
10023 is destroyed because it does not have a parent and is a top |
|
10024 level widget. close() needs to be called so that QApplication |
|
10025 can exit the application if quitOnLastWindowClosed is set |
|
10026 and a InspectorClientView is the last window, otherwise |
|
10027 the application will never exit. |
|
10028 |
|
10029 * Api/qwebview.cpp: |
|
10030 (QWebViewPrivate::_q_pageDestroyed): |
|
10031 (QWebView::setPage): |
|
10032 * Api/qwebview.h: |
|
10033 * WebCoreSupport/InspectorClientQt.cpp: |
|
10034 (WebCore::InspectorClientView::InspectorClientView): |
|
10035 |
|
10036 2009-09-03 Adam Barth <abarth@webkit.org> |
|
10037 |
|
10038 Reviewed by eric@webkit.org. |
|
10039 |
|
10040 https://bugs.webkit.org/show_bug.cgi?id=24696 |
|
10041 |
|
10042 Stub implementations of mixed content methods of FrameLoaderClient. |
|
10043 |
|
10044 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
10045 (WebCore::FrameLoaderClientQt::didDisplayInsecureContent): |
|
10046 (WebCore::FrameLoaderClientQt::didRunInsecureContent): |
|
10047 * WebCoreSupport/FrameLoaderClientQt.h: |
|
10048 |
|
10049 2009-09-03 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
10050 |
|
10051 Reviewed by Eric Seidel. |
|
10052 |
|
10053 [Qt] Add a setting to turn SessionStorage on/off |
|
10054 https://bugs.webkit.org/show_bug.cgi?id=28836 |
|
10055 |
|
10056 * Api/qwebsettings.cpp: |
|
10057 (QWebSettingsPrivate::apply): |
|
10058 (QWebSettings::QWebSettings): |
|
10059 * Api/qwebsettings.h: |
|
10060 * tests/qwebpage/tst_qwebpage.cpp: |
|
10061 (testFlag): |
|
10062 (tst_QWebPage::testOptionalJSObjects): |
|
10063 |
|
10064 2009-09-02 Richard Moore <rich@kde.org> |
|
10065 |
|
10066 Reviewed by Tor Arne Vestbø. |
|
10067 |
|
10068 [Qt] Make sure we relayout the page after evaluating JS |
|
10069 |
|
10070 https://bugs.webkit.org/show_bug.cgi?id=28235 |
|
10071 |
|
10072 QtWebKit does not always seem to reflow the page when evaluating |
|
10073 javascript. This patch changes the way evaluateJavaScript works to |
|
10074 use the frameloader which ensures that this is done properly. |
|
10075 |
|
10076 * Api/qwebframe.cpp: |
|
10077 (QWebFrame::evaluateJavaScript): |
|
10078 * tests/qwebframe/tst_qwebframe.cpp: |
|
10079 |
|
10080 2009-08-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> |
|
10081 |
|
10082 Reviewed by Holger Freyther. |
|
10083 |
|
10084 https://bugs.webkit.org/show_bug.cgi?id=25889 |
|
10085 [GTK] scrollbar policy for main frame is not implementable |
|
10086 |
|
10087 Add empty implementation for new ChromeClient method. |
|
10088 |
|
10089 * WebCoreSupport/ChromeClientQt.h: |
|
10090 (WebCore::ChromeClientQt::scrollbarsModeDidChange): |
|
10091 |
|
10092 2009-08-27 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
10093 |
|
10094 Reviewed by Ariya Hidayat. |
|
10095 |
|
10096 QWebHistory::clear() modifications. |
|
10097 |
|
10098 Clear() method was changed. If QWebHistory is empty (there is no |
|
10099 elements even current) clear() do nothing. If there at least one |
|
10100 element clear() will delete everything apart of current. |
|
10101 |
|
10102 New autotests in QWebHistory |
|
10103 |
|
10104 New autotests were added to QWebHistory. They should check some crashes |
|
10105 in save and restore state process and clear() method and general |
|
10106 behavior on where QWebHistory::count() == 0 or QWebHistory::count() == 1 |
|
10107 |
|
10108 Bugzilla: https://bugs.webkit.org/show_bug.cgi?id=28711 |
|
10109 |
|
10110 * Api/qwebhistory.cpp: |
|
10111 (QWebHistory::clear): |
|
10112 * tests/qwebhistory/tst_qwebhistory.cpp: |
|
10113 (tst_QWebHistory::back): |
|
10114 (tst_QWebHistory::forward): |
|
10115 (tst_QWebHistory::saveAndRestore_crash_1): |
|
10116 (tst_QWebHistory::saveAndRestore_crash_2): |
|
10117 (tst_QWebHistory::saveAndRestore_crash_3): |
|
10118 (tst_QWebHistory::clear): |
|
10119 |
|
10120 2009-08-27 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
10121 |
|
10122 Reviewed by Ariya Hidayat. |
|
10123 |
|
10124 [Qt] Cleanup, old and commented part of source code was removed. |
|
10125 Fix some formatting problems. |
|
10126 |
|
10127 https://bugs.webkit.org/show_bug.cgi?id=28712 |
|
10128 |
|
10129 * Api/qwebhistory_p.h: |
|
10130 (QWebHistoryPrivate::QWebHistoryPrivate): |
|
10131 |
|
10132 2009-08-26 Adam Barth <abarth@webkit.org> |
|
10133 |
|
10134 Reviewed by Oliver Hunt. |
|
10135 |
|
10136 Don't let local files access web URLs |
|
10137 https://bugs.webkit.org/show_bug.cgi?id=28480 |
|
10138 |
|
10139 * Api/qwebsettings.cpp: |
|
10140 (QWebSettings::QWebSettings): |
|
10141 |
|
10142 2009-08-25 Antonio Gomes <antonio.gomes@openbossa.org> |
|
10143 |
|
10144 Reviewed by Ariya Hidayat. |
|
10145 |
|
10146 Bug 28708 - Make possible to better use ResourceError in FrameLoaderClientQt class. |
|
10147 |
|
10148 * Api/qwebframe.cpp: |
|
10149 (QWebFrame::requestedUrl): |
|
10150 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
10151 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): |
|
10152 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): |
|
10153 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): |
|
10154 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): |
|
10155 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): |
|
10156 * WebCoreSupport/FrameLoaderClientQt.h: |
|
10157 |
|
10158 2009-08-22 Adam Barth <abarth@webkit.org> |
|
10159 |
|
10160 Revert 47684. We're going to do this later once clients have had a |
|
10161 chance to opt into the setting they like. |
|
10162 |
|
10163 * Api/qwebsettings.cpp: |
|
10164 (QWebSettings::QWebSettings): |
|
10165 |
|
10166 2009-08-22 Adam Barth <abarth@webkit.org> |
|
10167 |
|
10168 Reviewed by Eric Seidel. |
|
10169 |
|
10170 Don't let local files access web URLs |
|
10171 https://bugs.webkit.org/show_bug.cgi?id=28480 |
|
10172 |
|
10173 * Api/qwebsettings.cpp: |
|
10174 (QWebSettings::QWebSettings): |
|
10175 |
|
10176 2009-08-19 Aaron Boodman <aa@chromium.org> |
|
10177 |
|
10178 Speculative build break fix for qt. |
|
10179 |
|
10180 * Api/qwebsecurityorigin.cpp: |
|
10181 (QWebSecurityOrigin::whiteListAccessFromOrigin): |
|
10182 * Api/qwebsecurityorigin.h: |
|
10183 |
|
10184 2009-08-19 Aaron Boodman <aa@chromium.org> |
|
10185 |
|
10186 Reviewed by David Levin. |
|
10187 |
|
10188 https://bugs.webkit.org/show_bug.cgi?id=24853: Provide a way for WebKit clients to |
|
10189 specify a more granular policy for cross-origin XHR access. |
|
10190 |
|
10191 * Api/qwebsecurityorigin.cpp: Add API to manipulate origin access whitelists. |
|
10192 (QWebSecurityOrigin::whiteListAccessFromOrigin): Ditto. |
|
10193 (QWebSecurityOrigin::resetOriginAccessWhiteLists): Ditto. |
|
10194 * Api/qwebsecurityorigin.h: Ditto. |
|
10195 |
|
10196 2009-08-18 Markus Goetz <Markus.Goetz@nokia.com> |
|
10197 |
|
10198 Reviwed by Ariya Hidayat. |
|
10199 |
|
10200 [Qt] For prefecthDNS, the pre-fetching has to be enabled in the |
|
10201 WebSettings. |
|
10202 |
|
10203 * Api/qwebsettings.cpp: |
|
10204 (QWebSettings::QWebSettings): |
|
10205 * Api/qwebsettings.h: |
|
10206 |
|
10207 2009-08-17 Darin Adler <darin@apple.com> |
|
10208 |
|
10209 Try to fix Qt build again. |
|
10210 |
|
10211 * WebCoreSupport/EditorClientQt.cpp: Move "using namespace". |
|
10212 |
|
10213 2009-08-17 Darin Adler <darin@apple.com> |
|
10214 |
|
10215 Try to fix Qt build. |
|
10216 |
|
10217 * WebCoreSupport/EditorClientQt.cpp: |
|
10218 (WebCore::EditorClientQt::shouldShowDeleteInterface): |
|
10219 Use getAttribute(classAttr) instead of className() function. |
|
10220 |
|
10221 2009-08-14 Yongjun Zhang <yongjun.zhang@nokia.com> |
|
10222 |
|
10223 Reviewed by Simon Hausmann. |
|
10224 |
|
10225 RVCT elftran fails to resolve QPainter::staticMetaObject coming with |
|
10226 QWebView::RenderHints property. |
|
10227 |
|
10228 This is a temporary fix and will be revereted when the right symbols |
|
10229 exported from Qt lib in S60. |
|
10230 |
|
10231 https://bugs.webkit.org/show_bug.cgi?id=28181 |
|
10232 |
|
10233 * Api/qwebview.h: |
|
10234 |
|
10235 2009-08-14 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
10236 |
|
10237 Reviewed by Simon Hausmann. |
|
10238 |
|
10239 [Qt] Public API to configure the storage path for HTML5 localStorage |
|
10240 https://bugs.webkit.org/show_bug.cgi?id=28036 |
|
10241 |
|
10242 Disables LocalStorage for QtWebKit by default by setting |
|
10243 QWebSettings::LocalStorageEnabled to false. |
|
10244 |
|
10245 Sets up a default for the LocalStorage path so that clients would only |
|
10246 need to enable the LocalStorageEnabled setting to turn on LocalStoragre |
|
10247 support. |
|
10248 |
|
10249 Turn on LocalStorage support for QtLauncher and the relevant test |
|
10250 since LocalStorage is now disabled by default for QtWebkit. |
|
10251 |
|
10252 * Api/qwebpage.cpp: |
|
10253 (defaultCachePath): |
|
10254 (initializeApplicationCachePathIfNecessary): |
|
10255 (QWebPagePrivate::QWebPagePrivate): |
|
10256 * Api/qwebsettings.cpp: |
|
10257 (QWebSettingsPrivate::apply): |
|
10258 (QWebSettings::QWebSettings): |
|
10259 (QWebSettings::setLocalStoragePath): |
|
10260 (QWebSettings::localStoragePath): |
|
10261 * Api/qwebsettings.h: |
|
10262 * QtLauncher/main.cpp: |
|
10263 (main): |
|
10264 * tests/qwebpage/tst_qwebpage.cpp: |
|
10265 (tst_QWebPage::multiplePageGroupsAndLocalStorage): |
|
10266 |
|
10267 2009-08-14 Yael Aharon <yael.aharon@nokia.com> |
|
10268 |
|
10269 Reviewed by Simon Hausmann. |
|
10270 |
|
10271 [Qt] Allow applications to register their own local URL scheme. |
|
10272 https://bugs.webkit.org/show_bug.cgi?id=28240 |
|
10273 |
|
10274 * Api/qwebsecurityorigin.cpp: |
|
10275 (QWebSecurityOrigin::addLocalScheme): |
|
10276 (QWebSecurityOrigin::removeLocalScheme): |
|
10277 (QWebSecurityOrigin::localSchemes): |
|
10278 * Api/qwebsecurityorigin.h: |
|
10279 * tests/qwebpage/tst_qwebpage.cpp: |
|
10280 (tst_QWebPage::localURLSchemes): |
|
10281 |
|
10282 2009-08-13 Mark Rowe <mrowe@apple.com> |
|
10283 |
|
10284 Try and fix the Qt build. |
|
10285 |
|
10286 * Api/qwebelement.cpp: |
|
10287 |
|
10288 2009-08-13 Kavindra Devi Palaraja <kavindra.palaraja@nokia.com> |
|
10289 |
|
10290 Reviewed by Simon Hausmann. |
|
10291 |
|
10292 Doc - Some cleanup on the documentation of QWebElement |
|
10293 |
|
10294 * Api/qwebelement.cpp: |
|
10295 |
|
10296 2009-08-13 Norbert Leser <norbert.leser@nokia.com> |
|
10297 |
|
10298 Reviewed by Simon Hausmann. |
|
10299 |
|
10300 Symbian target components (library and executable files) |
|
10301 require Unique Identifiers (i.e., UID3). |
|
10302 These identifiers are defined in the respective project |
|
10303 files, conditionally for "symbian" platform. |
|
10304 |
|
10305 * QtLauncher/QtLauncher.pro: |
|
10306 * tests/qwebelement/qwebelement.pro: |
|
10307 * tests/qwebframe/qwebframe.pro: |
|
10308 * tests/qwebhistory/qwebhistory.pro: |
|
10309 * tests/qwebhistoryinterface/qwebhistoryinterface.pro: |
|
10310 * tests/qwebpage/qwebpage.pro: |
|
10311 * tests/qwebview/qwebview.pro: |
|
10312 |
|
10313 2009-08-12 George Wright <george.wright@torchmobile.com> |
|
10314 |
|
10315 Reviewed by Adam Treat. |
|
10316 |
|
10317 Initialise zoom levels independent of whether a URL is valid or not to |
|
10318 fix https://bugs.webkit.org/show_bug.cgi?id=28162 |
|
10319 |
|
10320 * QtLauncher/main.cpp: |
|
10321 (MainWindow::MainWindow): |
|
10322 |
|
10323 2009-08-12 Joerg Bornemann <joerg.bornemann@trolltech.com> |
|
10324 |
|
10325 Reviewed by Simon Hausmann. |
|
10326 |
|
10327 QtWebKit compile fix for Windows CE |
|
10328 |
|
10329 There's no getenv on Windows CE, use qgetenv instead. |
|
10330 |
|
10331 * Api/qwebpage.cpp: |
|
10332 (qt_drt_overwritePluginDirectories): |
|
10333 |
|
10334 2009-08-10 Kavindra Palaraja <kavindra.palaraja@nokia.com> |
|
10335 |
|
10336 Reviewed by Simon Hausmann. |
|
10337 |
|
10338 Various fixes and improvements to the QWebPluginInfo, QWebPluginDatabase and QWebSettings documentation. |
|
10339 |
|
10340 * Api/qwebplugindatabase.cpp: |
|
10341 * Api/qwebsettings.cpp: |
|
10342 |
|
10343 2009-08-08 Volker Hilsheimer <volker.hilsheimer@nokia.com> |
|
10344 |
|
10345 Reviewed by Simon Hausmann. |
|
10346 |
|
10347 Doc: there is no group of explicitly shared classes, only one class uses this. |
|
10348 |
|
10349 Explain the implications in the QWebHistoryItem documentation, and get rid |
|
10350 of the "group". |
|
10351 |
|
10352 * Api/qwebhistory.cpp: |
|
10353 |
|
10354 2009-08-05 Csaba Osztrogonac <oszi@inf.u-szeged.hu> |
|
10355 |
|
10356 Reviewed by Simon Hausmann. |
|
10357 |
|
10358 [Qt] Fix build error caused by http://trac.webkit.org/changeset/46763 |
|
10359 |
|
10360 * Api/qwebpluginfactory.h: Export macro added. |
|
10361 |
|
10362 2009-08-04 Antonio Gomes <antonio.gomes@openbossa.org> |
|
10363 |
|
10364 Reviewed by Simon Hausmann. |
|
10365 |
|
10366 [Qt] QWebFrame::requestedUrl method can mis-behave in case of unhandled sslErrors. |
|
10367 https://bugs.webkit.org/show_bug.cgi?id=27804 |
|
10368 |
|
10369 * Api/qwebframe.cpp: |
|
10370 (QWebFrame::requestedUrl): |
|
10371 * tests/qwebframe/tst_qwebframe.cpp: |
|
10372 |
|
10373 2009-08-04 Simon Hausmann <simon.hausmann@nokia.com> |
|
10374 |
|
10375 Reviewed by Tor Arne Vestbø. |
|
10376 |
|
10377 Rename QWebPlugin to QWebPluginInfo, as discussed on IRC. |
|
10378 |
|
10379 * Api/qwebplugindatabase.cpp: |
|
10380 (QWebPluginInfoPrivate::QWebPluginInfoPrivate): |
|
10381 (QWebPluginInfo::QWebPluginInfo): |
|
10382 (QWebPluginInfo::~QWebPluginInfo): |
|
10383 (QWebPluginInfo::name): |
|
10384 (QWebPluginInfo::description): |
|
10385 (QWebPluginInfo::mimeTypes): |
|
10386 (QWebPluginInfo::supportsMimeType): |
|
10387 (QWebPluginInfo::path): |
|
10388 (QWebPluginInfo::isNull): |
|
10389 (QWebPluginInfo::setEnabled): |
|
10390 (QWebPluginInfo::isEnabled): |
|
10391 (QWebPluginInfo::operator==): |
|
10392 (QWebPluginInfo::operator!=): |
|
10393 (QWebPluginInfo::operator=): |
|
10394 (QWebPluginDatabase::plugins): |
|
10395 (QWebPluginDatabase::pluginForMimeType): |
|
10396 (QWebPluginDatabase::setPreferredPluginForMimeType): |
|
10397 * Api/qwebplugindatabase.h: |
|
10398 * Api/qwebplugindatabase_p.h: |
|
10399 * tests/qwebplugindatabase/tst_qwebplugindatabase.cpp: |
|
10400 (tst_QWebPluginDatabase::installedPlugins): |
|
10401 (tst_QWebPluginDatabase::searchPaths): |
|
10402 (tst_QWebPluginDatabase::null_data): |
|
10403 (tst_QWebPluginDatabase::null): |
|
10404 (tst_QWebPluginDatabase::pluginForMimeType): |
|
10405 (tst_QWebPluginDatabase::enabled): |
|
10406 (tst_QWebPluginDatabase::operatorequal_data): |
|
10407 (tst_QWebPluginDatabase::operatorequal): |
|
10408 (tst_QWebPluginDatabase::preferredPlugin): |
|
10409 |
|
10410 2009-08-04 Simon Hausmann <simon.hausmann@nokia.com> |
|
10411 |
|
10412 Reviewed by Adam Treat. |
|
10413 |
|
10414 Replace QWebPlugin::MimeType with a typedef to |
|
10415 QWebPluginFactory::MimeType. |
|
10416 |
|
10417 * Api/qwebplugindatabase.cpp: |
|
10418 * Api/qwebplugindatabase.h: |
|
10419 * Api/qwebpluginfactory.cpp: |
|
10420 (QWebPluginFactory::MimeType::operator==): |
|
10421 * Api/qwebpluginfactory.h: |
|
10422 |
|
10423 2009-08-04 Jakub Wieczorek <faw217@gmail.com> |
|
10424 |
|
10425 Reviewed by Simon Hausmann. |
|
10426 |
|
10427 Add QWebPluginDatabase API to the Qt API. |
|
10428 |
|
10429 https://bugs.webkit.org/show_bug.cgi?id=27651 |
|
10430 |
|
10431 * Api/headers.pri: |
|
10432 * Api/qwebplugindatabase.cpp: Added. |
|
10433 (QWebPluginPrivate::QWebPluginPrivate): |
|
10434 (QWebPluginDatabasePrivate::QWebPluginDatabasePrivate): |
|
10435 (QWebPlugin::MimeType::operator==): |
|
10436 (QWebPlugin::QWebPlugin): |
|
10437 (QWebPlugin::~QWebPlugin): |
|
10438 (QWebPlugin::name): |
|
10439 (QWebPlugin::description): |
|
10440 (QWebPlugin::mimeTypes): |
|
10441 (QWebPlugin::supportsMimeType): |
|
10442 (QWebPlugin::path): |
|
10443 (QWebPlugin::isNull): |
|
10444 (QWebPlugin::setEnabled): |
|
10445 (QWebPlugin::isEnabled): |
|
10446 (QWebPlugin::operator==): |
|
10447 (QWebPlugin::operator!=): |
|
10448 (QWebPlugin::operator=): |
|
10449 (QWebPluginDatabase::QWebPluginDatabase): |
|
10450 (QWebPluginDatabase::~QWebPluginDatabase): |
|
10451 (QWebPluginDatabase::plugins): |
|
10452 (QWebPluginDatabase::defaultSearchPaths): |
|
10453 (QWebPluginDatabase::searchPaths): |
|
10454 (QWebPluginDatabase::setSearchPaths): |
|
10455 (QWebPluginDatabase::addSearchPath): |
|
10456 (QWebPluginDatabase::refresh): |
|
10457 (QWebPluginDatabase::pluginForMimeType): |
|
10458 (QWebPluginDatabase::setPreferredPluginForMimeType): |
|
10459 * Api/qwebplugindatabase.h: Added. |
|
10460 * Api/qwebplugindatabase_p.h: Added. |
|
10461 * Api/qwebsettings.cpp: |
|
10462 (QWebSettings::pluginDatabase): |
|
10463 * Api/qwebsettings.h: |
|
10464 * tests/qwebplugindatabase/qwebplugindatabase.pro: Added. |
|
10465 * tests/qwebplugindatabase/tst_qwebplugindatabase.cpp: Added. |
|
10466 (tst_QWebPluginDatabase::installedPlugins): |
|
10467 (tst_QWebPluginDatabase::searchPaths): |
|
10468 (tst_QWebPluginDatabase::null_data): |
|
10469 (tst_QWebPluginDatabase::null): |
|
10470 (tst_QWebPluginDatabase::pluginForMimeType): |
|
10471 (tst_QWebPluginDatabase::enabled): |
|
10472 (tst_QWebPluginDatabase::operatorequal_data): |
|
10473 (tst_QWebPluginDatabase::operatorequal): |
|
10474 (tst_QWebPluginDatabase::preferredPlugin): |
|
10475 * tests/tests.pro: |
|
10476 |
|
10477 2009-08-03 Balazs Kelemen <kelemen.balazs.3@stud.u-szeged.hu> |
|
10478 |
|
10479 Reviewed by Simon Hausmann. |
|
10480 |
|
10481 Do memory cleanup when running robotized QtLauncher in debug as well. |
|
10482 |
|
10483 * QtLauncher/main.cpp: |
|
10484 (launcherMain): |
|
10485 (main): |
|
10486 |
|
10487 2009-07-30 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
10488 |
|
10489 Reviewed by Tor Arne Vestbø. |
|
10490 |
|
10491 [Qt] Initialize HTML5 Application Cache for QtWebKit to a sensible default |
|
10492 https://bugs.webkit.org/show_bug.cgi?id=27866 |
|
10493 |
|
10494 * Api/qwebpage.cpp: |
|
10495 (initializeApplicationCachePathIfNecessary): |
|
10496 (QWebPagePrivate::QWebPagePrivate): |
|
10497 |
|
10498 2009-07-31 Jakob Petsovits <jakob.petsovits@torchmobile.com> |
|
10499 |
|
10500 Reviewed by Adam Treat. |
|
10501 |
|
10502 Build QtWebKit without benchmark tests for Qt < 4.5. |
|
10503 https://bugs.webkit.org/show_bug.cgi?id=27886 |
|
10504 |
|
10505 The QBENCHMARK macro is only available from 4.5 on, |
|
10506 so builds for Qt < 4.5 shouldn't try to build those. |
|
10507 |
|
10508 * tests/tests.pro: |
|
10509 |
|
10510 2009-07-31 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
10511 |
|
10512 Reviewed by Adam Treat. |
|
10513 |
|
10514 Fix warning by migrating use of QString.sprintf(...) to |
|
10515 QString.arg().arg()... |
|
10516 |
|
10517 * WebCoreSupport/EditorClientQt.cpp: |
|
10518 (dumpRange): |
|
10519 |
|
10520 2009-07-31 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
10521 |
|
10522 Reviewed by Tor Arne Vestbø. |
|
10523 |
|
10524 Expose the Offline Web Application Cache in the Qt API. |
|
10525 |
|
10526 * Api/qwebsettings.cpp: |
|
10527 (QWebSettings::QWebSettings): |
|
10528 (QWebSettings::setOfflineWebApplicationCachePath): |
|
10529 (QWebSettings::offlineWebApplicationCachePath): |
|
10530 (QWebSettings::setOfflineWebApplicationCacheQuota): |
|
10531 (QWebSettings::offlineWebApplicationCacheQuota): |
|
10532 * Api/qwebsettings.h: |
|
10533 |
|
10534 2009-07-30 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
10535 |
|
10536 Reviewed by Adam Treat. |
|
10537 |
|
10538 Add missing Q_OBJECT to class inheriting from QObject. |
|
10539 |
|
10540 * tests/qwebframe/tst_qwebframe.cpp: |
|
10541 |
|
10542 2009-07-30 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
10543 |
|
10544 Reviewed by Adam Treat. |
|
10545 |
|
10546 Fix indentation. |
|
10547 |
|
10548 * tests/qwebframe/tst_qwebframe.cpp: |
|
10549 |
|
10550 2009-07-30 Volker Hilsheimer <volker.hilsheimer@nokia.com> |
|
10551 |
|
10552 Reviewed by Simon Hausmann. |
|
10553 |
|
10554 Fix documentation links to examples. |
|
10555 |
|
10556 * Api/qwebview.cpp: |
|
10557 |
|
10558 2009-07-30 Balazs Kelemen <kelemen.balazs.3@stud.u-szeged.hu> |
|
10559 |
|
10560 Reviewed by Simon Hausmann. |
|
10561 |
|
10562 Allocate MainWindow on heap in robotized QtLauncher as well. |
|
10563 |
|
10564 * QtLauncher/main.cpp: |
|
10565 (main): |
|
10566 |
|
10567 2009-07-29 Kevin McCullough <kmccullough@apple.com> |
|
10568 |
|
10569 Reviewed by Darin Adler. |
|
10570 |
|
10571 Added foundation work to allow a testing infrastructure for the Web |
|
10572 Inspector. |
|
10573 |
|
10574 * WebCoreSupport/InspectorClientQt.cpp: |
|
10575 (WebCore::InspectorClientQt::inspectorWindowObjectCleared): |
|
10576 * WebCoreSupport/InspectorClientQt.h: |
|
10577 |
|
10578 2009-07-29 Zoltan Herczeg <zherczeg@inf.u-szeged.hu> |
|
10579 |
|
10580 Reviewed by Simon Hausmann. |
|
10581 |
|
10582 [Qt] In debug mode, this fix frees cached resources |
|
10583 and other unreferenced objects (by calling the |
|
10584 garbage collector) to remove the LEAK messages. |
|
10585 https://bugs.webkit.org/show_bug.cgi?id=27767 |
|
10586 |
|
10587 * Api/qwebframe.cpp: |
|
10588 (qt_drt_cache_clear): |
|
10589 * QtLauncher/main.cpp: |
|
10590 (main): |
|
10591 |
|
10592 2009-07-28 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
10593 |
|
10594 Fix the Qt build by adapting to the changes of ScriptObject. |
|
10595 |
|
10596 * Api/qwebelement.cpp: |
|
10597 (setupScriptObject): |
|
10598 |
|
10599 2009-07-28 Robert Hogan <robert@roberthogan.net> |
|
10600 |
|
10601 Reviewed by Simon Hausmann. |
|
10602 |
|
10603 Add WebKit version API to Qt. |
|
10604 |
|
10605 Get the current version of WebKit from WebKit/mac/Configurations/Version.xcconfig |
|
10606 at compile time and make it available to Qt applications through |
|
10607 qWebKitVersion(). |
|
10608 |
|
10609 Also amend the User Agent string to place the Safari clause outside |
|
10610 the final bracket and to the end of the UA string. |
|
10611 |
|
10612 https://bugs.webkit.org/show_bug.cgi?id=27158 |
|
10613 |
|
10614 Minor build tweak by Simon Hausmann (adding export macros to new functions). |
|
10615 |
|
10616 * Api/headers.pri: |
|
10617 * Api/qwebkitversion.cpp: Added. |
|
10618 (webKitVersion): |
|
10619 (webKitMajorVersion): |
|
10620 (webKitMinorVersion): |
|
10621 * Api/qwebkitversion.h: Added. |
|
10622 * Api/qwebpage.cpp: |
|
10623 (QWebPage::userAgentForUrl): |
|
10624 * tests/qwebview/tst_qwebview.cpp: |
|
10625 (tst_QWebView::getWebKitVersion): |
|
10626 |
|
10627 2009-07-28 Simon Hausmann <simon.hausmann@nokia.com> |
|
10628 |
|
10629 Rubber-stamped by Ariya Hidayat. |
|
10630 |
|
10631 Fix compilation with the precompiled header. |
|
10632 |
|
10633 * WebKit_pch.h: Don't include JSDOMBinding.h and MathObject.h, |
|
10634 as they include AtomicString.h. AtomicString.cpp needs to enable |
|
10635 a #define before including AtomicString.h, which breaks if the PCH |
|
10636 forces the inclusion beforehand. |
|
10637 |
|
10638 2009-07-28 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
10639 |
|
10640 Reviewed by Simon Hausmann. |
|
10641 |
|
10642 Added tests to ensure that scroll position can be changed |
|
10643 programmatically, even when the scroll bar policy is set to off. |
|
10644 |
|
10645 * tests/qwebframe/tst_qwebframe.cpp: |
|
10646 |
|
10647 2009-07-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
10648 |
|
10649 Reviewed by Simon Hausmann. |
|
10650 |
|
10651 Fix a few compilation warnings in the QWebFrame tests. |
|
10652 |
|
10653 * tests/qwebframe/tst_qwebframe.cpp: |
|
10654 |
|
10655 2009-07-28 Andre Pedralho <andre.pedralho@openbossa.org> |
|
10656 |
|
10657 Reviewed by Simon Hausmann. |
|
10658 |
|
10659 Fixed tst_QWebFrame::hasSetFocus test which was using |
|
10660 an undefined resource. |
|
10661 https://bugs.webkit.org/show_bug.cgi?id=27512 |
|
10662 |
|
10663 * tests/qwebframe/tst_qwebframe.cpp: |
|
10664 |
|
10665 2009-07-28 Simon Hausmann <simon.hausmann@nokia.com> |
|
10666 |
|
10667 Reviewed by Ariya Hidayat. |
|
10668 |
|
10669 Make it possible to pass relative file names to QtLauncher. |
|
10670 |
|
10671 * QtLauncher/main.cpp: |
|
10672 (MainWindow::MainWindow): |
|
10673 |
|
10674 2009-07-27 Alexey Proskuryakov <ap@webkit.org> |
|
10675 |
|
10676 Reviewed by Darin Adler. |
|
10677 |
|
10678 https://bugs.webkit.org/show_bug.cgi?id=27735 |
|
10679 Give a helpful name to JSLock constructor argument |
|
10680 |
|
10681 * Api/qwebframe.cpp: |
|
10682 (QWebFrame::addToJavaScriptWindowObject): |
|
10683 |
|
10684 2009-07-27 Volker Hilsheimer <volker.hilsheimer@nokia.com> |
|
10685 |
|
10686 Reviewed by Simon Hausmann. |
|
10687 |
|
10688 QWebView's "enabled" parameter should default to true, as with QGraphicsView and |
|
10689 QPainter. |
|
10690 |
|
10691 * Api/qwebview.cpp: Add reference to QPainter::renderHints(). |
|
10692 * Api/qwebview.h: Add default for enabled argument. |
|
10693 |
|
10694 2009-07-26 Kavindra Palaraja <kavindra.palaraja@nokia.com> |
|
10695 |
|
10696 Reviewed by Simon Hausmann. |
|
10697 |
|
10698 More documentation cleanups in the QWebElement class overview. |
|
10699 |
|
10700 * Api/qwebelement.cpp: |
|
10701 |
|
10702 2009-07-26 Kavindra Palaraja <kavindra.palaraja@nokia.com> |
|
10703 |
|
10704 Reviewed by Simon Hausmann. |
|
10705 |
|
10706 Clean up documentation of QWebElement's findFirst and findAll functions, |
|
10707 as well as their QWebFrame counterparts. |
|
10708 |
|
10709 * Api/qwebelement.cpp: |
|
10710 * Api/qwebframe.cpp: |
|
10711 |
|
10712 2009-07-26 Kavindra Palaraja <kavindra.palaraja@nokia.com> |
|
10713 |
|
10714 Reviewed by Simon Hausmann. |
|
10715 |
|
10716 Various documentation cleanups |
|
10717 |
|
10718 * Fixed qdoc warnings |
|
10719 * Hide QWebNetworkInterface from the class overview |
|
10720 * Mention QWebElement in the module overview |
|
10721 * More cleanups |
|
10722 |
|
10723 * Api/qwebframe.cpp: |
|
10724 * Api/qwebnetworkinterface.cpp: |
|
10725 * Api/qwebview.cpp: |
|
10726 * docs/qtwebkit.qdoc: |
|
10727 |
|
10728 2009-07-26 Kavindra Palaraja <kavindra.palaraja@nokia.com> |
|
10729 |
|
10730 Reviewed by Simon Hausmann. |
|
10731 |
|
10732 Added missing class diagram referenced from the docs, taken from the Qt |
|
10733 documentation. |
|
10734 |
|
10735 * docs/qtwebkit.qdocconf: Register the image directory with |
|
10736 qdoc. |
|
10737 * docs/qwebview-diagram.png: Added. |
|
10738 |
|
10739 2009-07-24 Antonio Gomes <antonio.gomes@openbossa.org> |
|
10740 |
|
10741 Reviewed by Adam Treat. |
|
10742 |
|
10743 As per discussion on IRC, changed originalUrl by requestedUrl. |
|
10744 |
|
10745 * Api/qwebframe.cpp: |
|
10746 (QWebFrame::requestedUrl): |
|
10747 * Api/qwebframe.h: |
|
10748 * tests/qwebframe/tst_qwebframe.cpp: |
|
10749 |
|
10750 2009-07-24 Andre Pedralho <andre.pedralho@openbossa.org> |
|
10751 |
|
10752 Reviewed by Adam Treat. |
|
10753 |
|
10754 Removed void QWebFrame::renderContents(...) and added the Q_PROPERTY |
|
10755 clipRenderToViewport to control whether QWebFrame::render would call |
|
10756 FrameView::paintContents rather than FrameView::paint and do not clip |
|
10757 the frame content to viewport. |
|
10758 |
|
10759 |
|
10760 * Api/qwebframe.cpp: |
|
10761 (QWebFramePrivate::renderPrivate): |
|
10762 (QWebFrame::clipRenderToViewport): |
|
10763 (QWebFrame::setClipRenderToViewport): |
|
10764 * Api/qwebframe.h: |
|
10765 * Api/qwebframe_p.h: |
|
10766 (QWebFramePrivate::QWebFramePrivate): |
|
10767 * tests/qwebframe/tst_qwebframe.cpp: |
|
10768 |
|
10769 2009-07-24 Antonio Gomes <antonio.gomes@openbossa.org> |
|
10770 |
|
10771 Reviewed by Simon Hausmann. |
|
10772 |
|
10773 [QT] Implement originalUrl getter method to the API |
|
10774 https://bugs.webkit.org/show_bug.cgi?id=25867 |
|
10775 |
|
10776 * Api/qwebframe.cpp: |
|
10777 (QWebFrame::originalUrl): |
|
10778 * Api/qwebframe.h: |
|
10779 * tests/qwebframe/qwebframe.qrc: |
|
10780 * tests/qwebframe/test1.html: Added. |
|
10781 * tests/qwebframe/test2.html: Added. |
|
10782 * tests/qwebframe/tst_qwebframe.cpp: |
|
10783 |
|
10784 2009-07-24 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
10785 |
|
10786 Build fix for Qt. |
|
10787 |
|
10788 Fix build issue introduced in 46344 |
|
10789 ([Bug 22700] ApplicationCache should have size limit) |
|
10790 |
|
10791 Remove method only added to the Qt ChromeClient. |
|
10792 |
|
10793 * WebCoreSupport/ChromeClientQt.h: |
|
10794 |
|
10795 2009-07-24 Andrei Popescu <andreip@google.com> |
|
10796 |
|
10797 Reviewed by Anders Carlsson. |
|
10798 |
|
10799 ApplicationCache should have size limit |
|
10800 https://bugs.webkit.org/show_bug.cgi?id=22700 |
|
10801 |
|
10802 * WebCoreSupport/ChromeClientQt.cpp: |
|
10803 (WebCore::ChromeClientQt::reachedMaxAppCacheSize): |
|
10804 Adds empty implementation of the reachedMaxAppCacheSize callback. |
|
10805 * WebCoreSupport/ChromeClientQt.h: |
|
10806 |
|
10807 2009-07-23 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
10808 |
|
10809 Reviewed by Simon Hausmann. |
|
10810 |
|
10811 [Qt] Add simple proxy support for QtLauncher |
|
10812 https://bugs.webkit.org/show_bug.cgi?id=27495 |
|
10813 |
|
10814 Picks up proxy settings from the http_proxy environment |
|
10815 variable. |
|
10816 |
|
10817 * QtLauncher/QtLauncher.pro: Add QtNetwork dependency for all |
|
10818 platforms. |
|
10819 * QtLauncher/main.cpp: |
|
10820 (MainWindow::MainWindow): |
|
10821 |
|
10822 2009-07-23 Simon Hausmann <simon.hausmann@nokia.com> |
|
10823 |
|
10824 Reviewed by Holger Freyther. |
|
10825 |
|
10826 Added a testcase to verify that cached methods in the QOBject bindings |
|
10827 remain alife even after garbage collection. |
|
10828 |
|
10829 * tests/qwebpage/tst_qwebpage.cpp: |
|
10830 (tst_QWebPage::protectBindingsRuntimeObjectsFromCollector): |
|
10831 |
|
10832 2009-07-23 Zoltan Herczeg <zherczeg@inf.u-szeged.hu> |
|
10833 |
|
10834 Reviewed by Simon Hausmann. |
|
10835 |
|
10836 Fixing two issues related to QtLauncher |
|
10837 - MainWindow objects are not always freed after close |
|
10838 - JavaScript window.close() sometimes crashes |
|
10839 https://bugs.webkit.org/show_bug.cgi?id=27601 |
|
10840 |
|
10841 * QtLauncher/main.cpp: |
|
10842 (MainWindow::MainWindow): |
|
10843 (main): |
|
10844 |
|
10845 2009-07-21 Volker Hilsheimer <volker.hilsheimer@nokia.com> |
|
10846 |
|
10847 Reviewed by Simon Hausmann. |
|
10848 |
|
10849 Various improvements to the API documentation. |
|
10850 |
|
10851 * Updated link to W3c Database spec |
|
10852 * Formatting fixes, cleanups |
|
10853 * Add missing \since 4.6 tags to QWebPage::frameAt |
|
10854 * Extend QWebDatabase and QWebSecurityOrigin docs. |
|
10855 |
|
10856 * Api/qwebdatabase.cpp: |
|
10857 * Api/qwebpage.cpp: |
|
10858 * Api/qwebsecurityorigin.cpp: |
|
10859 * Api/qwebview.cpp: |
|
10860 |
|
10861 2009-07-21 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
10862 |
|
10863 Rubber-stamped by Simon Hausmann. |
|
10864 |
|
10865 Remove preliminary-tag from QWebElement |
|
10866 |
|
10867 * Api/qwebelement.cpp: |
|
10868 |
|
10869 2009-07-20 Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
10870 |
|
10871 Reviewed by Eric Seidel. |
|
10872 |
|
10873 Fix Qt code to follow the WebKit Coding Style. |
|
10874 |
|
10875 * Api/qcookiejar.cpp: |
|
10876 (QCookieJar::setCookieJar): |
|
10877 (QCookieJar::cookieJar): |
|
10878 * Api/qcookiejar.h: |
|
10879 * Api/qwebdatabase.cpp: |
|
10880 (QWebDatabase::QWebDatabase): |
|
10881 (QWebDatabase::removeDatabase): |
|
10882 * Api/qwebdatabase.h: |
|
10883 * Api/qwebdatabase_p.h: |
|
10884 * Api/qwebelement.h: |
|
10885 * Api/qwebframe.cpp: |
|
10886 (QWebFrame::title): |
|
10887 (QWebFrame::print): |
|
10888 * Api/qwebframe.h: |
|
10889 * Api/qwebframe_p.h: |
|
10890 * Api/qwebhistory.cpp: |
|
10891 (QWebHistory::clear): |
|
10892 * Api/qwebhistory.h: |
|
10893 * Api/qwebhistory_p.h: |
|
10894 * Api/qwebhistoryinterface.cpp: |
|
10895 (gCleanupInterface): |
|
10896 (QWebHistoryInterface::setDefaultInterface): |
|
10897 (QWebHistoryInterface::defaultInterface): |
|
10898 (QWebHistoryInterface::QWebHistoryInterface): |
|
10899 * Api/qwebhistoryinterface.h: |
|
10900 * Api/qwebnetworkinterface.cpp: |
|
10901 (QWebNetworkManager::started): |
|
10902 (QWebNetworkManager::finished): |
|
10903 (QWebNetworkInterfacePrivate::parseDataUrl): |
|
10904 (QWebNetworkInterface::addJob): |
|
10905 (WebCoreHttp::onResponseHeaderReceived): |
|
10906 (WebCoreHttp::onReadyRead): |
|
10907 * Api/qwebnetworkinterface.h: |
|
10908 * Api/qwebnetworkinterface_p.h: |
|
10909 * Api/qwebpage.cpp: |
|
10910 (QWebPagePrivate::editorCommandForWebActions): |
|
10911 (QWebPagePrivate::createContextMenu): |
|
10912 (QWebPagePrivate::focusInEvent): |
|
10913 (QWebPage::fixedContentsSize): |
|
10914 (QWebPage::setContentEditable): |
|
10915 (QWebPage::swallowContextMenuEvent): |
|
10916 (QWebPage::findText): |
|
10917 * Api/qwebpage.h: |
|
10918 * Api/qwebpage_p.h: |
|
10919 * Api/qwebpluginfactory.h: |
|
10920 * Api/qwebsecurityorigin.h: |
|
10921 * Api/qwebsecurityorigin_p.h: |
|
10922 * Api/qwebsettings.cpp: |
|
10923 (QWebSettingsPrivate::QWebSettingsPrivate): |
|
10924 (QWebSettingsPrivate::apply): |
|
10925 (QWebSettings::globalSettings): |
|
10926 (QWebSettings::QWebSettings): |
|
10927 (QWebSettings::fontSize): |
|
10928 (QWebSettings::setUserStyleSheetUrl): |
|
10929 (QWebSettings::setDefaultTextEncoding): |
|
10930 (QWebSettings::setIconDatabasePath): |
|
10931 (QWebSettings::iconDatabasePath): |
|
10932 (QWebSettings::iconForUrl): |
|
10933 (QWebSettings::setWebGraphic): |
|
10934 (QWebSettings::setFontFamily): |
|
10935 (QWebSettings::fontFamily): |
|
10936 (QWebSettings::testAttribute): |
|
10937 (qt_websettings_setLocalStorageDatabasePath): |
|
10938 * Api/qwebsettings.h: |
|
10939 * Api/qwebview.cpp: |
|
10940 (QWebView::setPage): |
|
10941 (QWebView::event): |
|
10942 * Api/qwebview.h: |
|
10943 |
|
10944 2009-07-20 Holger Hans Peter Freyther <zecke@selfish.org> |
|
10945 |
|
10946 Reviewed by Simon Hausmann. |
|
10947 |
|
10948 [Qt] Add test for loading webpages... |
|
10949 |
|
10950 Performance test for loading webpages. Wait for the loadFinished |
|
10951 signal to be fired. This should include a non empty layout. |
|
10952 |
|
10953 * tests/benchmarks/loading/tst_loading.cpp: Added. |
|
10954 (waitForSignal): |
|
10955 (tst_Loading::init): |
|
10956 (tst_Loading::cleanup): |
|
10957 (tst_Loading::load_data): |
|
10958 (tst_Loading::load): |
|
10959 * tests/benchmarks/loading/tst_loading.pro: Added. |
|
10960 * tests/tests.pro: |
|
10961 |
|
10962 2009-07-20 Holger Hans Peter Freyther <zecke@selfish.org> |
|
10963 |
|
10964 Reviewed by Simon Hausmann. |
|
10965 |
|
10966 [Qt] Add a test case for drawing a simple viewrect to a QPixmap |
|
10967 |
|
10968 * tests/benchmarks/painting/tst_painting.cpp: Added. |
|
10969 (waitForSignal): |
|
10970 (tst_Painting::init): |
|
10971 (tst_Painting::cleanup): |
|
10972 (tst_Painting::paint_data): |
|
10973 (tst_Painting::paint): |
|
10974 * tests/benchmarks/painting/tst_painting.pro: Added. |
|
10975 * tests/tests.pro: |
|
10976 |
|
10977 2009-07-20 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
10978 |
|
10979 Reviewed by Holger Freyther. |
|
10980 |
|
10981 [Qt] Add an option for QtLauncher to build without QtUiTools dependency |
|
10982 https://bugs.webkit.org/show_bug.cgi?id=27438 |
|
10983 |
|
10984 Based on Norbert Leser's work. |
|
10985 |
|
10986 * QtLauncher/main.cpp: |
|
10987 (WebPage::createPlugin): |
|
10988 |
|
10989 2009-07-17 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
10990 |
|
10991 Reviewed by Adam Treat. |
|
10992 |
|
10993 Coding style fixes. |
|
10994 |
|
10995 * Api/qcookiejar.cpp: |
|
10996 (QCookieJarPrivate::QCookieJarPrivate): |
|
10997 (qHash): |
|
10998 (QCookieJar::cookieJar): |
|
10999 * Api/qwebelement.cpp: |
|
11000 (QWebElement::functions): |
|
11001 (QWebElement::scriptableProperties): |
|
11002 * Api/qwebframe.cpp: |
|
11003 (QWebFrame::metaData): |
|
11004 (QWebFrame::scrollBarValue): |
|
11005 (QWebFrame::scroll): |
|
11006 (QWebFrame::scrollPosition): |
|
11007 (QWebFrame::print): |
|
11008 * Api/qwebnetworkinterface.cpp: |
|
11009 (decodePercentEncoding): |
|
11010 (QWebNetworkRequestPrivate::init): |
|
11011 (QWebNetworkRequestPrivate::setURL): |
|
11012 (QWebNetworkRequest::QWebNetworkRequest): |
|
11013 (QWebNetworkRequest::operator=): |
|
11014 (QWebNetworkRequest::setUrl): |
|
11015 (QWebNetworkRequest::setHttpHeader): |
|
11016 (QWebNetworkRequest::httpHeaderField): |
|
11017 (QWebNetworkRequest::setHttpHeaderField): |
|
11018 (QWebNetworkRequest::setPostData): |
|
11019 (QWebNetworkJob::setResponse): |
|
11020 (QWebNetworkJob::frame): |
|
11021 (QWebNetworkManager::add): |
|
11022 (QWebNetworkManager::cancel): |
|
11023 (QWebNetworkManager::started): |
|
11024 (QWebNetworkManager::data): |
|
11025 (QWebNetworkManager::finished): |
|
11026 (QWebNetworkManager::addHttpJob): |
|
11027 (QWebNetworkManager::cancelHttpJob): |
|
11028 (QWebNetworkManager::httpConnectionClosed): |
|
11029 (QWebNetworkInterfacePrivate::sendFileData): |
|
11030 (QWebNetworkInterfacePrivate::parseDataUrl): |
|
11031 (QWebNetworkManager::doWork): |
|
11032 (QWebNetworkInterface::setDefaultInterface): |
|
11033 (QWebNetworkInterface::defaultInterface): |
|
11034 (QWebNetworkInterface::QWebNetworkInterface): |
|
11035 (QWebNetworkInterface::addJob): |
|
11036 (QWebNetworkInterface::cancelJob): |
|
11037 (WebCoreHttp::WebCoreHttp): |
|
11038 (WebCoreHttp::request): |
|
11039 (WebCoreHttp::scheduleNextRequest): |
|
11040 (WebCoreHttp::getConnection): |
|
11041 (WebCoreHttp::onResponseHeaderReceived): |
|
11042 (WebCoreHttp::onReadyRead): |
|
11043 (WebCoreHttp::onRequestFinished): |
|
11044 (WebCoreHttp::onAuthenticationRequired): |
|
11045 (WebCoreHttp::onProxyAuthenticationRequired): |
|
11046 * Api/qwebpage.cpp: |
|
11047 (QWebPagePrivate::QWebPagePrivate): |
|
11048 (QWebPagePrivate::mouseReleaseEvent): |
|
11049 (QWebPagePrivate::inputMethodEvent): |
|
11050 (QWebPagePrivate::shortcutOverrideEvent): |
|
11051 (QWebPage::inputMethodQuery): |
|
11052 (QWebPage::javaScriptPrompt): |
|
11053 (QWebPage::updatePositionDependentActions): |
|
11054 (QWebPage::userAgentForUrl): |
|
11055 (QWebPagePrivate::_q_onLoadProgressChanged): |
|
11056 (QWebPage::totalBytes): |
|
11057 (QWebPage::bytesReceived): |
|
11058 * Api/qwebsettings.cpp: |
|
11059 (QWebSettings::iconForUrl): |
|
11060 (QWebSettings::setObjectCacheCapacities): |
|
11061 * Api/qwebview.cpp: |
|
11062 (QWebView::paintEvent): |
|
11063 (QWebView::changeEvent): |
|
11064 |
|
11065 2009-07-17 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
11066 |
|
11067 Reviewed by Simon Hausmann. |
|
11068 |
|
11069 Overwrite the plugin directories for the DRT. |
|
11070 Part of https://bugs.webkit.org/show_bug.cgi?id=27215 |
|
11071 |
|
11072 * Api/qwebpage.cpp: |
|
11073 (qt_drt_overwritePluginDirectories): Only set the plugin directories |
|
11074 to the ones in the QTWEBKIT_PLUGIN_PATH environment variable. |
|
11075 |
|
11076 2009-07-16 Xiaomei Ji <xji@chromium.org> |
|
11077 |
|
11078 Reviewed by Dan Bernstein. |
|
11079 |
|
11080 This is the 2nd part of fixing "RTL: tooltip does not get its directionlity from its element's." |
|
11081 https://bugs.webkit.org/show_bug.cgi?id=24187 |
|
11082 |
|
11083 Add one extra parameter to the callee of HitTestResult::title() due to the signature change. |
|
11084 |
|
11085 * Api/qwebframe.cpp: |
|
11086 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): Add direction as a parameter to the callee of HitTestResult::title(). |
|
11087 * WebCoreSupport/ChromeClientQt.cpp: |
|
11088 (WebCore::ChromeClientQt::mouseDidMoveOverElement): Add direction as a parameter to the callee of HitTestResult::title(). |
|
11089 |
|
11090 2009-07-16 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
11091 |
|
11092 Reviewed by Adam Treat. |
|
11093 |
|
11094 Add new action to qwebpage to reload without cache. |
|
11095 |
|
11096 * Api/qwebpage.cpp: |
|
11097 (QWebPagePrivate::updateAction): |
|
11098 (QWebPagePrivate::updateNavigationActions): |
|
11099 (QWebPage::triggerAction): |
|
11100 * Api/qwebpage.h: |
|
11101 |
|
11102 2009-07-16 Xiaomei Ji <xji@chromium.org> |
|
11103 |
|
11104 Reviewed by Darin Adler. |
|
11105 |
|
11106 Fix tooltip does not get its directionality from its element's directionality. |
|
11107 https://bugs.webkit.org/show_bug.cgi?id=24187 |
|
11108 |
|
11109 Per mitz's suggestion in comment #6, while getting the plain-text |
|
11110 title, we also get the directionality of the title. How to handle |
|
11111 the directionality is up to clients. Clients could ignore it, |
|
11112 or use attribute or unicode control characters to display the title |
|
11113 as what they want. |
|
11114 |
|
11115 |
|
11116 * WebCoreSupport/ChromeClientQt.cpp: |
|
11117 (WebCore::ChromeClientQt::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet). |
|
11118 * WebCoreSupport/ChromeClientQt.h: Add directionality as 2nd parameter to setToolTip(). |
|
11119 |
|
11120 2009-07-15 Yael Aharon <yael.aharon@nokia.com> |
|
11121 |
|
11122 Reviewed by Simon Hausmann. |
|
11123 |
|
11124 https://bugs.webkit.org/show_bug.cgi?id=27285 |
|
11125 |
|
11126 When the user clicks a link with a target attribute, the newly created window should be visible. |
|
11127 Make new windows created in Qtlauncher visible. |
|
11128 |
|
11129 * QtLauncher/main.cpp: |
|
11130 (WebPage::createWindow): |
|
11131 |
|
11132 2009-07-14 Adam Treat <adam.treat@torchmobile.com> |
|
11133 |
|
11134 Reviewed by Zack Rusin. |
|
11135 |
|
11136 https://bugs.webkit.org/show_bug.cgi?id=26983 |
|
11137 |
|
11138 The default constructed values for QSize and WebCore::IntSize are different. The former |
|
11139 produces an invalid size whereas the latter produces a size of zero. This was causing |
|
11140 a layout to be triggered when constructing a view and an assert to be hit. This patch fixes |
|
11141 the crash by taking care not to cause an unnecessary layout triggered by ScrollView::setFixedLayoutSize. |
|
11142 |
|
11143 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
11144 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
11145 |
|
11146 2009-07-13 Simon Hausmann <simon.hausmann@nokia.com> |
|
11147 |
|
11148 Reviewed by Ariya Hidayat. |
|
11149 |
|
11150 Fix qdoc warnings for QWebPage::shouldInterruptJavaScript() and mention |
|
11151 how to re-implement it. |
|
11152 |
|
11153 * Api/qwebpage.cpp: |
|
11154 |
|
11155 2009-07-13 Simon Hausmann <hausmann@webkit.org> |
|
11156 |
|
11157 Reviewed by Ariya Hidayat. |
|
11158 |
|
11159 Fix crash with plugins when the plugin stream is cancelled. |
|
11160 |
|
11161 Similar to r26667 handle the case where didReceiveResponse on the |
|
11162 plugin view results in failure to set up the stream and |
|
11163 setMainDocumentError being called instead. This will set the |
|
11164 m_pluginView back to 0 and we need check for it before calling |
|
11165 didReceiveData. |
|
11166 |
|
11167 This was triggered by consecutive execution of |
|
11168 LayoutTests/plugins/return-error-from-new-stream-callback-in-full-frame-plugin.html |
|
11169 followed by LayoutTests/scrollbars/scrollbar-crash-on-refresh.html |
|
11170 |
|
11171 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
11172 (WebCore::FrameLoaderClientQt::committedLoad): |
|
11173 |
|
11174 2009-07-13 Simon Hausmann <hausmann@webkit.org> |
|
11175 |
|
11176 Reviewed by Ariya Hidayat. |
|
11177 |
|
11178 Added QWebDatabase::removeAllDatabases, as a way to delete all |
|
11179 databases from the offline storage path. |
|
11180 |
|
11181 Used by the Qt DRT. |
|
11182 |
|
11183 * Api/qwebdatabase.cpp: |
|
11184 (QWebDatabase::removeAllDatabases): |
|
11185 * Api/qwebdatabase.h: |
|
11186 |
|
11187 2009-07-13 Simon Hausmann <hausmann@webkit.org> |
|
11188 |
|
11189 Reviewed by Ariya Hidayat. |
|
11190 |
|
11191 Added loadStarted() and loadFinished() signals to QWebFrame, |
|
11192 to allow load tracking of individual frames, as opposed to |
|
11193 QWebPage's loadStarted/loadFinished signals that are emitted |
|
11194 whenever _any_ child frame loads/finishes. |
|
11195 |
|
11196 * Api/qwebframe.cpp: Document new signals. |
|
11197 * Api/qwebframe.h: Add new signals. |
|
11198 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
11199 (WebCore::FrameLoaderClientQt::setFrame): Connect new signals. |
|
11200 |
|
11201 2009-07-13 Simon Hausmann <hausmann@webkit.org> |
|
11202 |
|
11203 Reviewed by Ariya Hidayat. |
|
11204 |
|
11205 Add hooks for the GCController JavaScript interface needed by the |
|
11206 Qt DRT. |
|
11207 |
|
11208 Fixed sort order of includes in qwebframe.cpp. |
|
11209 |
|
11210 * Api/qwebframe.cpp: |
|
11211 (qt_drt_javaScriptObjectsCount): |
|
11212 (qt_drt_garbageCollector_collect): |
|
11213 (qt_drt_garbageCollector_collectOnAlternateThread): |
|
11214 |
|
11215 2009-07-13 Simon Hausmann <hausmann@webkit.org> |
|
11216 |
|
11217 Reviewed by Ariya Hidayat. |
|
11218 |
|
11219 Add hooks for the GCController JavaScript interface needed by the |
|
11220 Qt DRT. |
|
11221 |
|
11222 Fixed sort order of includes in qwebframe.cpp. |
|
11223 |
|
11224 * Api/qwebframe.cpp: |
|
11225 (qt_drt_javaScriptObjectsCount): |
|
11226 (qt_drt_garbageCollector_collect): |
|
11227 (qt_drt_garbageCollector_collectOnAlternateThread): |
|
11228 |
|
11229 2009-07-12 Brent Fulgham <bfulgham@gmail.com> |
|
11230 |
|
11231 Speculative build fix after http://trac.webkit.org/changeset/45786. |
|
11232 |
|
11233 * WebCoreSupport/ChromeClientQt.cpp: |
|
11234 (WebCore::ChromeClientQt::addMessageToConsole): |
|
11235 * WebCoreSupport/ChromeClientQt.h: |
|
11236 |
|
11237 2009-07-10 Yael Aharon <yael.aharon@nokia.com> |
|
11238 |
|
11239 Reviewed by Holger Freyther. |
|
11240 |
|
11241 https://bugs.webkit.org/show_bug.cgi?id=27136 |
|
11242 |
|
11243 Fix a bug where webkit hangs when executing infinite JavaScript loop. |
|
11244 |
|
11245 * Api/qwebpage.cpp: |
|
11246 (QWebPage::shouldInterruptJavaScript): |
|
11247 * Api/qwebpage.h: |
|
11248 * WebCoreSupport/ChromeClientQt.cpp: |
|
11249 (WebCore::ChromeClientQt::shouldInterruptJavaScript): |
|
11250 * tests/qwebpage/tst_qwebpage.cpp: |
|
11251 (JSTestPage::JSTestPage): |
|
11252 (JSTestPage::shouldInterruptJavaScript): |
|
11253 (tst_QWebPage::infiniteLoopJS): |
|
11254 |
|
11255 2009-07-10 Simon Hausmann <simon.hausmann@nokia.com> |
|
11256 |
|
11257 Reviewed by Holger Freyther. |
|
11258 |
|
11259 https://bugs.webkit.org/show_bug.cgi?id=27108 |
|
11260 |
|
11261 Fix crash when in frame tree of a new frame before the new frame |
|
11262 has been installed in the frame tree, similar to r35088. |
|
11263 |
|
11264 After calling Frame::init() the frame it may have been removed from the |
|
11265 frame tree again through JavaScript. Detect this by checking the page() |
|
11266 afterwards. |
|
11267 |
|
11268 To make this check safe the Frame::init() code was moved into |
|
11269 QWebFrameData's constructor, where a RefPtr holds a reference to the frame. |
|
11270 After the check back in FrameLoaderClientQt we would hold the single |
|
11271 reference left and after release() the frame, its frame loader, its |
|
11272 client as well as the QWebFrame should have disappeared then. |
|
11273 |
|
11274 * Api/qwebframe.cpp: |
|
11275 (QWebFramePrivate::init): Only call Frame::init here, the rest is |
|
11276 done in QWebFrameData's constructor. |
|
11277 (QWebFrame::QWebFrame): |
|
11278 * Api/qwebframe_p.h: Adjust declaration. |
|
11279 (QWebFrameData::QWebFrameData): Create the Frame here. |
|
11280 * Api/qwebpage.cpp: |
|
11281 (QWebPagePrivate::createMainFrame): Adjust and simplify |
|
11282 to new QWebFrame constructor. |
|
11283 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
11284 (WebCore::FrameLoaderClientQt::createFrame): Adjust to |
|
11285 new QWebFrame construction using QWebFrameData and add the |
|
11286 check like in r35088. |
|
11287 |
|
11288 2009-07-09 Beth Dakin <bdakin@apple.com> |
|
11289 |
|
11290 Reviewed by Dave Hyatt. |
|
11291 |
|
11292 Make Widget RefCounted to fix: |
|
11293 |
|
11294 <rdar://problem/7038831> REGRESSION (TOT): In Mail, a crash occurs |
|
11295 at WebCore::Widget::afterMouseDown() after clicking To Do's close |
|
11296 box |
|
11297 <rdar://problem/6978804> WER #16: Repro Access Violation in |
|
11298 WebCore::PluginView::bindingInstance (1310178023) |
|
11299 -and- |
|
11300 <rdar://problem/6991251> WER #13: Crash in WebKit! |
|
11301 WebCore::PluginView::performRequest+203 (1311461169) |
|
11302 |
|
11303 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
11304 (WebCore::FrameLoaderClientQt::createPlugin): |
|
11305 (WebCore::FrameLoaderClientQt::createJavaAppletWidget): |
|
11306 * WebCoreSupport/FrameLoaderClientQt.h: |
|
11307 |
|
11308 2009-07-08 Pradeepto Bhattacharya <pradeepto@kde.org> |
|
11309 |
|
11310 Reviewed by Ariya Hidayat. |
|
11311 |
|
11312 Build fix. |
|
11313 |
|
11314 * WebCoreSupport/FrameLoaderClientQt.h: Removed the slot slotCallPolicyFunction(). |
|
11315 |
|
11316 2009-07-08 Simon Hausmann <hausmann@webkit.org> |
|
11317 |
|
11318 Reviewed by Tor Arne Vestbø. |
|
11319 |
|
11320 https://bugs.webkit.org/show_bug.cgi?id=27080 |
|
11321 |
|
11322 Fix DRT instability issues with fast/loader/submit-form-while-parsing-2.html |
|
11323 |
|
11324 When the form is submitted we call the policy function in the frame |
|
11325 loader delayed with a queued connection. That queued connection |
|
11326 sometimes interferes with the javascript timeout set in the testcase. |
|
11327 |
|
11328 Eliminate the entire delayed policy function mechanism and instead always |
|
11329 call back directly, like in the other ports. In most other places we called |
|
11330 the slot directly anyway. |
|
11331 |
|
11332 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
11333 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): Remove m_policyFunction. |
|
11334 (WebCore::FrameLoaderClientQt::callPolicyFunction): Call the policy function directly instead |
|
11335 of emitting the queued signal. |
|
11336 (WebCore::FrameLoaderClientQt::cancelPolicyCheck): Call callPolicyFunction directly. |
|
11337 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm): Ditto. |
|
11338 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): Ditto. |
|
11339 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): Ditto. |
|
11340 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): Ditto. |
|
11341 * WebCoreSupport/FrameLoaderClientQt.h: Remove m_policyFunction as well as the associated |
|
11342 signal. |
|
11343 |
|
11344 2009-07-07 Simon Hausmann <hausmann@webkit.org> |
|
11345 |
|
11346 Reviewed by Holger Freyther. |
|
11347 |
|
11348 Add Qt DRT hook for clearing the frame name. |
|
11349 |
|
11350 * Api/qwebframe.cpp: |
|
11351 (qt_drt_clearFrameName): |
|
11352 |
|
11353 2009-07-05 Simon Hausmann <hausmann@webkit.org> |
|
11354 |
|
11355 Reviewed by Holger Freyther. |
|
11356 |
|
11357 Fix two qdoc warnings. |
|
11358 |
|
11359 Added missing \property for QWebFrame::hasFocus and added \a |
|
11360 tag for pos of QWebPage::frameAt. |
|
11361 |
|
11362 * Api/qwebframe.cpp: |
|
11363 * Api/qwebpage.cpp: |
|
11364 |
|
11365 2009-07-04 Holger Hans Peter Freyther <zecke@selfish.org> |
|
11366 |
|
11367 Reviewed by Simon Hausmann. |
|
11368 |
|
11369 Use the recently introduced FocusController::setFocused |
|
11370 |
|
11371 Use the recently introduced FocusController::setFocused |
|
11372 in the Qt platform. The SelectionController will be updated |
|
11373 from within the FocusController now. |
|
11374 |
|
11375 * Api/qwebpage.cpp: |
|
11376 (QWebPagePrivate::focusInEvent): |
|
11377 (QWebPagePrivate::focusOutEvent): |
|
11378 |
|
11379 2009-07-02 Simon Hausmann <simon.hausmann@nokia.com> |
|
11380 |
|
11381 Reviewed by Ariya Hidayat. |
|
11382 |
|
11383 Improve documentation of QWebFrame::setFocus and hasFocus() |
|
11384 Added missing Q_PROPERTY for QWebFrame::hasFocus. |
|
11385 |
|
11386 * Api/qwebframe.cpp: Clarify the docs. |
|
11387 * Api/qwebframe.h: add Q_PROPERTY(focus). |
|
11388 |
|
11389 2009-07-02 Joe Ligman <joseph.ligman@nokia.com> |
|
11390 |
|
11391 Reviewed by Simon Hausmann. |
|
11392 |
|
11393 Bug 26855: [Qt] New methods for QWebFrame to check and set focus. |
|
11394 |
|
11395 Added new public methods QWebFrame::hasFocus() and QWebFrame::setFocus() |
|
11396 Added auto test. |
|
11397 |
|
11398 * Api/qwebframe.cpp: |
|
11399 (QWebFrame::hasFocus): |
|
11400 (QWebFrame::setFocus): |
|
11401 * Api/qwebframe.h: |
|
11402 * tests/qwebframe/tst_qwebframe.cpp: |
|
11403 |
|
11404 2009-07-01 Robert Hogan <robert@roberthogan.net> |
|
11405 |
|
11406 Reviewed by NOBODY. |
|
11407 |
|
11408 Fix Qt segfault when javascript disabled. |
|
11409 If clients call addToJavaScriptWindowObject even though JavascriptEnabled is false |
|
11410 webkit will segfault on the assert: |
|
11411 ASSERTION FAILED: _rootObject |
|
11412 (../../../WebCore/bridge/runtime.cpp:52 |
|
11413 JSC::Bindings::Instance::Instance(WTF::PassRefPtr<JSC::Bindings::RootObject>)) |
|
11414 Fix is to ensure JavaScript is enabled when client calls addToJavaScriptWindowObject. |
|
11415 |
|
11416 https://bugs.webkit.org/show_bug.cgi?id=26906 |
|
11417 |
|
11418 * Api/qwebframe.cpp: |
|
11419 (QWebFrame::addToJavaScriptWindowObject): |
|
11420 |
|
11421 2009-07-01 Jakub Wieczorek <faw217@gmail.com> |
|
11422 |
|
11423 Reviewed by Simon Hausmann. |
|
11424 |
|
11425 [Qt] Move some API headers from WebCore.pro to headers.pri so that they |
|
11426 get installed when running make install from the build directory. |
|
11427 |
|
11428 * Api/headers.pri: |
|
11429 |
|
11430 2009-07-01 Balazs Kelemen <kelemen.balazs.3@stud.u-szeged.hu> |
|
11431 |
|
11432 Reviewed by Simon Hausmann. |
|
11433 |
|
11434 Fixed robotized QtLauncher to work when there is no index.html in the user's home. |
|
11435 |
|
11436 * QtLauncher/main.cpp: |
|
11437 (main): |
|
11438 |
|
11439 2009-06-30 Brian Weinstein <bweinstein@apple.com> |
|
11440 |
|
11441 Reviewed by Adam Roben. |
|
11442 |
|
11443 Renamed scrollbarUnderPoint to scrollbarAtPoint to follow conventions. |
|
11444 |
|
11445 * Api/qwebpage.cpp: |
|
11446 (QWebPage::swallowContextMenuEvent): |
|
11447 |
|
11448 2009-06-30 Joe Ligman <joseph.ligman@nokia.com> |
|
11449 |
|
11450 Reviewed by Adam Treat. |
|
11451 |
|
11452 Bug 26422: [Qt] QWebPagePrivate::frameAt calculates wrong frame |
|
11453 |
|
11454 Added a public method QWebPage::frameAt |
|
11455 Removed QWebPagePrivate::frameAt, which calcuated the wrong frame |
|
11456 Modified QWebPage::swallowContextMenuEvent to use the new frameAt method |
|
11457 New test case for frameAt added to tst_qwebpage.cpp |
|
11458 |
|
11459 * Api/qwebpage.cpp: |
|
11460 (QWebPage::frameAt): |
|
11461 (QWebPage::swallowContextMenuEvent): |
|
11462 * Api/qwebpage.h: |
|
11463 * Api/qwebpage_p.h: |
|
11464 * tests/qwebpage/frametest/iframe.html: Added. |
|
11465 * tests/qwebpage/frametest/iframe2.html: Added. |
|
11466 * tests/qwebpage/frametest/iframe3.html: Added. |
|
11467 * tests/qwebpage/tst_qwebpage.cpp: |
|
11468 (frameAtHelper): |
|
11469 (tst_QWebPage::frameAt): |
|
11470 * tests/qwebpage/tst_qwebpage.qrc: |
|
11471 |
|
11472 2009-06-30 Jakub Wieczorek <faw217@gmail.com> |
|
11473 |
|
11474 Reviewed by Simon Hausmann. |
|
11475 |
|
11476 Add QWebFrame::baseUrl() function that exposes the base URL of a frame. |
|
11477 Autotests included. |
|
11478 |
|
11479 * Api/qwebframe.cpp: |
|
11480 (QWebFrame::baseUrl): |
|
11481 * Api/qwebframe.h: |
|
11482 * tests/qwebframe/tst_qwebframe.cpp: |
|
11483 |
|
11484 2009-06-29 Simon Hausmann <simon.hausmann@nokia.com> |
|
11485 |
|
11486 Fix the Qt build, add missing isSpeaking() implementation to |
|
11487 ContextMenuClient. |
|
11488 |
|
11489 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
11490 (WebCore::ContextMenuClientQt::isSpeaking): |
|
11491 * WebCoreSupport/ContextMenuClientQt.h: |
|
11492 |
|
11493 2009-06-28 Sriram Yadavalli <sriram.yadavalli@nokia.com> |
|
11494 |
|
11495 Reviewed by Eric Seidel. |
|
11496 |
|
11497 [Qt] Fix build break for Qt |
|
11498 https://bugs.webkit.org/show_bug.cgi?id=26779 |
|
11499 |
|
11500 * Api/qwebpage.cpp: |
|
11501 (QWebPage::swallowContextMenuEvent): |
|
11502 |
|
11503 2009-06-27 Simon Hausmann <simon.hausmann@nokia.com> |
|
11504 |
|
11505 Build fix for Qt under Windows. |
|
11506 |
|
11507 * Api/qwebhistory.h: Use consistent export linkage for the datastream operators. |
|
11508 |
|
11509 2009-06-26 Brian Weinstein <bweinstein@apple.com> |
|
11510 |
|
11511 Reviewed by Simon Fraser. |
|
11512 |
|
11513 Changed call of scrollbarUnderMouse to scrollbarUnderPoint to match new API. |
|
11514 |
|
11515 * Api/qwebpage.cpp: |
|
11516 (QWebPage::swallowContextMenuEvent): |
|
11517 |
|
11518 2009-06-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
11519 |
|
11520 Reviewed by Simon Hausmann. |
|
11521 |
|
11522 Add support for saving and loading of QWebHistory to and from a QByteArray. |
|
11523 |
|
11524 This includes streaming operators for QWebHistory. for convenience. |
|
11525 |
|
11526 New autotests that test QWebHistory and QWebHistoryItem serialization. |
|
11527 |
|
11528 * Api/qwebhistory.cpp: |
|
11529 (QWebHistory::restoreState): |
|
11530 (QWebHistory::saveState): |
|
11531 (operator<<): |
|
11532 (operator>>): |
|
11533 * Api/qwebhistory.h: |
|
11534 * Api/qwebhistory_p.h: |
|
11535 * tests/qwebhistory/tst_qwebhistory.cpp: |
|
11536 (tst_QWebHistory::): |
|
11537 (tst_QWebHistory::init): |
|
11538 (tst_QWebHistory::title): |
|
11539 (tst_QWebHistory::count): |
|
11540 (tst_QWebHistory::back): |
|
11541 (tst_QWebHistory::forward): |
|
11542 (tst_QWebHistory::itemAt): |
|
11543 (tst_QWebHistory::goToItem): |
|
11544 (tst_QWebHistory::items): |
|
11545 (tst_QWebHistory::serialize_1): |
|
11546 (tst_QWebHistory::serialize_2): |
|
11547 (tst_QWebHistory::serialize_3): |
|
11548 (tst_QWebHistory::saveAndRestore_1): |
|
11549 (tst_QWebHistory::saveAndRestore_2): |
|
11550 (tst_QWebHistory::saveAndRestore_3): |
|
11551 |
|
11552 2009-06-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
11553 |
|
11554 Reviewed by Simon Hausmann. |
|
11555 |
|
11556 Fix the behaviour of QWebHistory::itemAt to interpret the specified index as absolute index. |
|
11557 |
|
11558 Returns an invalid QWebHistoryItem if the index is out of range. |
|
11559 |
|
11560 * Api/qwebhistory.cpp: |
|
11561 (QWebHistory::itemAt): |
|
11562 * tests/qwebhistory/tst_qwebhistory.cpp: |
|
11563 (tst_QWebHistory::itemAt): |
|
11564 |
|
11565 2009-06-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
11566 |
|
11567 Reviewed by Simon Hausmann. |
|
11568 |
|
11569 Added a few autotest to QWebHistory. |
|
11570 |
|
11571 * tests/qwebhistory/data/page1.html: Added. |
|
11572 * tests/qwebhistory/data/page2.html: Added. |
|
11573 * tests/qwebhistory/data/page3.html: Added. |
|
11574 * tests/qwebhistory/data/page4.html: Added. |
|
11575 * tests/qwebhistory/data/page5.html: Added. |
|
11576 * tests/qwebhistory/data/page6.html: Added. |
|
11577 * tests/qwebhistory/qwebhistory.pro: Added. |
|
11578 * tests/qwebhistory/tst_qwebhistory.cpp: Added. |
|
11579 (tst_QWebHistory::): |
|
11580 (tst_QWebHistory::tst_QWebHistory): |
|
11581 (tst_QWebHistory::~tst_QWebHistory): |
|
11582 (tst_QWebHistory::init): |
|
11583 (tst_QWebHistory::cleanup): |
|
11584 (tst_QWebHistory::title): |
|
11585 (tst_QWebHistory::count): |
|
11586 (tst_QWebHistory::back): |
|
11587 (tst_QWebHistory::forward): |
|
11588 (tst_QWebHistory::goToItem): |
|
11589 (tst_QWebHistory::items): |
|
11590 * tests/qwebhistory/tst_qwebhistory.qrc: Added. |
|
11591 * tests/tests.pro: |
|
11592 |
|
11593 2009-06-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> |
|
11594 |
|
11595 Reviewed by Simon Hausmann. |
|
11596 |
|
11597 Fix support for documenting functions prefixed with QWEBKIT_EXPORT |
|
11598 |
|
11599 Add QWEBKIT_EXPORT to the list of macros to ignore by qdoc. |
|
11600 |
|
11601 * docs/qtwebkit.qdocconf: |
|
11602 |
|
11603 2009-06-26 Yongjun Zhang <yongjun.zhang@nokia.com> |
|
11604 |
|
11605 Reviewed by Eric Seidel. |
|
11606 |
|
11607 Bug 20303: [Qt] Key events are not working in frames. |
|
11608 |
|
11609 Send scrolling events to current focused frame, bubble the event |
|
11610 up to parent frame if it is not handled. Use EventHandler's new |
|
11611 shared scrolling code. |
|
11612 |
|
11613 * Api/qwebpage.cpp: |
|
11614 (QWebPagePrivate::keyPressEvent): |
|
11615 (QWebPagePrivate::handleScrolling): |
|
11616 * Api/qwebpage_p.h: |
|
11617 |
|
11618 2009-06-25 Jakub Wieczorek <faw217@gmail.com> |
|
11619 |
|
11620 Reviewed by Adam Treat. |
|
11621 |
|
11622 Add highlight functionality to the QWebPage::findText() method. Introduced is |
|
11623 new HighlightAllOccurrences flag which passed to the function will make it mark |
|
11624 all existing occurrences of specified string in the page. |
|
11625 |
|
11626 * Api/qwebpage.cpp: |
|
11627 (QWebPage::findText): |
|
11628 * Api/qwebpage.h: |
|
11629 * Api/qwebview.cpp: |
|
11630 |
|
11631 2009-06-19 Daniel Teske <qt-info@nokia.com> |
|
11632 |
|
11633 Reviewed by Simon Hausmann. |
|
11634 |
|
11635 Remove warnings for QString() constructions from const char * |
|
11636 |
|
11637 By explicitly wrapping it with QLatin1String() / QLatin1Char() |
|
11638 |
|
11639 * Api/qwebelement.cpp: |
|
11640 (QWebElement::classes): Use QLatin1String. |
|
11641 (QWebElement::addClass): Ditto. |
|
11642 (QWebElement::removeClass): Ditto. |
|
11643 (QWebElement::toggleClass): Ditto. |
|
11644 |
|
11645 2009-06-18 Friedemann Kleint <Friedemann.Kleint@nokia.com> |
|
11646 |
|
11647 Reviewed by Simon Hausmann. |
|
11648 |
|
11649 Fixed MinGW compilation. |
|
11650 |
|
11651 * Api/qwebelement.cpp: |
|
11652 (QWebElement::evaluateScript): |
|
11653 |
|
11654 2009-06-18 Markus Goetz <Markus.Goetz@nokia.com> |
|
11655 |
|
11656 Reviewed by Simon Hausman. |
|
11657 |
|
11658 Clarify in docs how to compile with debug information. |
|
11659 |
|
11660 * docs/qtwebkit.qdoc: |
|
11661 |
|
11662 2009-06-17 Markus Goetz <Markus.Goetz@nokia.com> |
|
11663 |
|
11664 Reviewed by Simon Hausmann. |
|
11665 |
|
11666 QWebPage: Don't call supportsSsl() |
|
11667 |
|
11668 This stops QWebPage from loading the OpenSSL libs, |
|
11669 certificates etc. when they are not needed for the non-HTTPS case. |
|
11670 |
|
11671 Loading the SSL libraries can be a very slow operation. |
|
11672 |
|
11673 * Api/qwebpage.cpp: |
|
11674 (QWebPage::userAgentForUrl): |
|
11675 |
|
11676 2009-06-16 David Boddie <dboddie@trolltech.com> |
|
11677 |
|
11678 Reviewed by Simon Hausmann. |
|
11679 |
|
11680 Doc: Fixed QWebPage::forwardUnsupportedContent documentation and added |
|
11681 more information about Web plugins. |
|
11682 |
|
11683 * Api/qwebpage.cpp: |
|
11684 * Api/qwebsettings.cpp: |
|
11685 * docs/qtwebkit.qdoc: |
|
11686 |
|
11687 2009-06-16 Morten Engvoldsen <morten.engvoldsen@nokia.com> |
|
11688 |
|
11689 Reviewed by Ariya Hidayat. |
|
11690 |
|
11691 Clearifying QWebFrame docs |
|
11692 |
|
11693 Adding docs to toHtml() and toPlainText() |
|
11694 |
|
11695 * Api/qwebframe.cpp: |
|
11696 |
|
11697 2009-06-15 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
11698 |
|
11699 Reviewed by Adam Treat. |
|
11700 |
|
11701 Support the back/forward/stop/refresh multimedia keys and accept the |
|
11702 event when handling backspace and shift backspace as we should. |
|
11703 |
|
11704 * Api/qwebpage.cpp: |
|
11705 (QWebPagePrivate::keyPressEvent): |
|
11706 |
|
11707 2009-06-15 Andre Pedralho <andre.pedralho@openbossa.org> |
|
11708 |
|
11709 Reviewed by Adam Treat. |
|
11710 |
|
11711 https://bugs.webkit.org/show_bug.cgi?id=26351 |
|
11712 Remove bool QWebHitTestResult::isScrollBar() const and make sure a null QWebHitTestResult is returned instead. |
|
11713 |
|
11714 * Api/qwebframe.cpp: |
|
11715 (QWebFrame::hitTestContent): |
|
11716 * Api/qwebframe.h: |
|
11717 * Api/qwebpage.cpp: |
|
11718 (QWebPage::updatePositionDependentActions): |
|
11719 |
|
11720 2009-06-15 Simon Hausmann <simon.hausmann@nokia.com> |
|
11721 |
|
11722 Reviewed by Adam Treat. |
|
11723 |
|
11724 Fix the logic for disabling the fixed layout feature, when an invalid |
|
11725 QSize is set. |
|
11726 |
|
11727 * Api/qwebpage.cpp: |
|
11728 (QWebPage::setFixedContentsSize): |
|
11729 |
|
11730 2009-06-13 Adam Barth <abarth@webkit.org> |
|
11731 |
|
11732 Reviewed by Darin Fisher. |
|
11733 |
|
11734 https://bugs.webkit.org/show_bug.cgi?id=24492 |
|
11735 |
|
11736 Move registerURLSchemeAsLocal from FrameLoader to SecurityOrigin. |
|
11737 |
|
11738 * Api/qwebpage.cpp: |
|
11739 (QWebPage::acceptNavigationRequest): |
|
11740 |
|
11741 2009-06-10 Antonio Gomes <antonio.gomes@openbossa.org> |
|
11742 |
|
11743 Reviewed by Ariya Hidayat. |
|
11744 |
|
11745 Documented ResolveRule and StylePriority enum values as well as their use in |
|
11746 QWebElement::styleProperty and QWebElement::setStyleProperty methods. |
|
11747 |
|
11748 Based on the work of Simon Hausmann. |
|
11749 |
|
11750 * Api/qwebelement.cpp: |
|
11751 (QWebElement::styleProperty): |
|
11752 (QWebElement::setStyleProperty): |
|
11753 * Api/qwebelement.h: |
|
11754 |
|
11755 2009-06-09 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
11756 |
|
11757 Rubber-stamped by Simon Hausmann. |
|
11758 |
|
11759 Fix qdoc warning, function parameter string must be referred. |
|
11760 |
|
11761 * Api/qwebview.cpp: |
|
11762 |
|
11763 2009-06-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
11764 |
|
11765 Reviewed by Ariya Hidayat. |
|
11766 |
|
11767 Renamed QWebSettings::AllowUniversalAccessFromFileUrls to |
|
11768 LocalContentCanAccessRemoteUrls, as discussed in the API review. |
|
11769 |
|
11770 * Api/qwebsettings.cpp: |
|
11771 (QWebSettingsPrivate::apply): |
|
11772 (QWebSettings::QWebSettings): |
|
11773 * Api/qwebsettings.h: |
|
11774 |
|
11775 2009-06-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
11776 |
|
11777 Reviewed by Ariya Hidayat. |
|
11778 |
|
11779 Merged useFixedLayout property with fixedLayoutSize and |
|
11780 renamed the latter to fixedContentsSize. |
|
11781 |
|
11782 * Api/qwebpage.cpp: |
|
11783 (QWebPage::fixedContentsSize): |
|
11784 (QWebPage::setFixedContentsSize): |
|
11785 * Api/qwebpage.h: |
|
11786 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
11787 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
11788 |
|
11789 2009-06-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
11790 |
|
11791 Reviewed by Ariya Hidayat. |
|
11792 |
|
11793 Renamed QWebHitTestResult::linkTarget to linkElement() and made it return |
|
11794 a QWebElement. The link target itself is always the target DOM attribute. |
|
11795 |
|
11796 * Api/qwebframe.cpp: |
|
11797 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
11798 (QWebHitTestResult::linkElement): |
|
11799 * Api/qwebframe.h: |
|
11800 * Api/qwebframe_p.h: |
|
11801 * tests/qwebframe/tst_qwebframe.cpp: |
|
11802 |
|
11803 2009-06-08 Simon Hausmann <simon.hausmann@nokia.com> |
|
11804 |
|
11805 Reviewed by Holger Freyther. |
|
11806 |
|
11807 Renamed QWebElement::enclosingBlock to enclosingBlockElement |
|
11808 and changed the return type to QWebElement, as discussed in |
|
11809 the API review. This API is more generic and through |
|
11810 QWebElement's geometry() it is possible to retrieve the |
|
11811 same information. |
|
11812 |
|
11813 * Api/qwebelement.cpp: |
|
11814 (QWebElement::QWebElement): |
|
11815 * Api/qwebelement.h: |
|
11816 * Api/qwebframe.cpp: |
|
11817 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
11818 (QWebHitTestResult::enclosingBlockElement): |
|
11819 * Api/qwebframe.h: |
|
11820 * Api/qwebframe_p.h: |
|
11821 |
|
11822 2009-06-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
11823 |
|
11824 Reviewed by Simon Hausmann. |
|
11825 |
|
11826 [Qt] Add missing includes of config.h |
|
11827 |
|
11828 * Api/qcookiejar.cpp: |
|
11829 * Api/qwebnetworkinterface.cpp: |
|
11830 * Plugins/ICOHandler.cpp: |
|
11831 * WebCoreSupport/DragClientQt.cpp: |
|
11832 * WebCoreSupport/EditCommandQt.cpp: |
|
11833 |
|
11834 2009-06-03 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
11835 |
|
11836 Reviewed by Simon Hausmann. |
|
11837 |
|
11838 Add API to make it possible to clear all memory caches used by |
|
11839 QtWebKit. |
|
11840 |
|
11841 * Api/qwebsettings.cpp: |
|
11842 (QWebSettings::clearMemoryCaches): |
|
11843 * Api/qwebsettings.h: |
|
11844 |
|
11845 2009-06-01 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
11846 |
|
11847 Rubber-stamped by Gustavo Noronha. |
|
11848 |
|
11849 Before guessing the url trim the string to remove whitespace added to the start/end by the user. |
|
11850 |
|
11851 * Api/qwebview.cpp: |
|
11852 (QWebView::guessUrlFromString): |
|
11853 * tests/qwebview/tst_qwebview.cpp: |
|
11854 (tst_QWebView::guessUrlFromString_data): |
|
11855 |
|
11856 2009-06-01 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
11857 |
|
11858 Rubber-stamped by Gustavo Noronha. |
|
11859 |
|
11860 Use QLatin1Char() to compile when QT_NO_CAST_FROM_ASCII and QT_NO_CAST_TO_ASCII is defined |
|
11861 |
|
11862 * Api/qwebview.cpp: |
|
11863 (QWebView::guessUrlFromString): |
|
11864 |
|
11865 2009-06-01 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
11866 |
|
11867 Rubber-stamped by Gustavo Noronha. |
|
11868 |
|
11869 Cleanup autotest file |
|
11870 - use proper includes |
|
11871 - remove useless constructor and destructor |
|
11872 - add missing newline at the end of the file |
|
11873 |
|
11874 * tests/qwebview/tst_qwebview.cpp: |
|
11875 |
|
11876 2009-06-01 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
11877 |
|
11878 Rubber-stamped by Gustavo Noronha. |
|
11879 |
|
11880 Add a missing space between two words in the documentation. |
|
11881 |
|
11882 * Api/qwebview.cpp: |
|
11883 |
|
11884 2009-05-26 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
11885 |
|
11886 Reviewed by Holger Freyther. |
|
11887 |
|
11888 https://bugs.webkit.org/show_bug.cgi?id=25823 |
|
11889 |
|
11890 Add an API to generate a QUrl out of a string correcting for errors and missing information. |
|
11891 See the API documentation for more details about the function. |
|
11892 |
|
11893 Autotests: included |
|
11894 |
|
11895 * Api/qwebview.cpp: |
|
11896 (QWebView::guessUrlFromString): |
|
11897 * Api/qwebview.h: |
|
11898 * QtLauncher/main.cpp: |
|
11899 (MainWindow::MainWindow): |
|
11900 (MainWindow::changeLocation): |
|
11901 * tests/qwebview/.gitignore: Added. |
|
11902 * tests/qwebview/qwebview.pro: |
|
11903 (tst_QWebView::initTestCase): |
|
11904 (tst_QWebView::cleanupTestCase): |
|
11905 (tst_QWebView::init): |
|
11906 (tst_QWebView::cleanup): |
|
11907 (tst_QWebView::guessUrlFromString_data): |
|
11908 (tst_QWebView::guessUrlFromString): |
|
11909 |
|
11910 2009-05-23 David Kilzer <ddkilzer@apple.com> |
|
11911 |
|
11912 Part 2 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr |
|
11913 |
|
11914 <https://bugs.webkit.org/show_bug.cgi?id=25495> |
|
11915 |
|
11916 Reviewed by Oliver Hunt. |
|
11917 |
|
11918 * WebCoreSupport/ChromeClientQt.h: |
|
11919 (WebCore::ChromeClientQt::createHTMLParserQuirks): Return a |
|
11920 PassOwnPtr<> instead of a raw HTMLParserQuirks pointer. |
|
11921 |
|
11922 2009-05-23 Jakob Truelsen <antialize@gmail.com> |
|
11923 |
|
11924 Reviewed by Holger Freyther. |
|
11925 |
|
11926 https://bugs.webkit.org/show_bug.cgi?id=25863 |
|
11927 |
|
11928 Expose the default text encoding property to Qt. |
|
11929 |
|
11930 * Api/qwebsettings.cpp: |
|
11931 (QWebSettingsPrivate::apply): |
|
11932 (QWebSettings::setDefaultTextEncoding): |
|
11933 (QWebSettings::defaultTextEncoding): |
|
11934 * Api/qwebsettings.h: |
|
11935 |
|
11936 2009-05-21 Antonio Gomes <antonio.gomes@openbossa.org> |
|
11937 |
|
11938 Reviewed by Simon Hausmann. |
|
11939 |
|
11940 [Qt] Additional test for resource load (CSS file) for QWebFrame. |
|
11941 |
|
11942 * tests/qwebframe/qwebframe.qrc: |
|
11943 * tests/qwebframe/style.css: Added. |
|
11944 * tests/qwebframe/tst_qwebframe.cpp: |
|
11945 |
|
11946 2009-05-22 Simon Hausmann <simon.hausmann@nokia.com> |
|
11947 |
|
11948 Unreviewed Qt build fix. |
|
11949 |
|
11950 Provide dummy implementation of pure virtual EditorClient method. |
|
11951 |
|
11952 * WebCoreSupport/EditorClientQt.cpp: |
|
11953 (WebCore::EditorClientQt::getAutoCorrectSuggestionForMisspelledWord): |
|
11954 * WebCoreSupport/EditorClientQt.h: |
|
11955 |
|
11956 2009-05-20 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
11957 |
|
11958 Reviewed by Simon Hausmann and Holger Freyther. |
|
11959 |
|
11960 [Qt] Add renderHints property to QWebView. |
|
11961 |
|
11962 * Api/qwebview.cpp: |
|
11963 (QWebViewPrivate::QWebViewPrivate): |
|
11964 (QWebView::renderHints): |
|
11965 (QWebView::setRenderHints): |
|
11966 (QWebView::setRenderHint): |
|
11967 (QWebView::paintEvent): |
|
11968 * Api/qwebview.h: |
|
11969 * tests/qwebview/qwebview.pro: Added. |
|
11970 * tests/qwebview/tst_qwebview.cpp: Added. |
|
11971 (tst_QWebView::tst_QWebView): |
|
11972 (tst_QWebView::~tst_QWebView): |
|
11973 (tst_QWebView::init): |
|
11974 (tst_QWebView::cleanup): |
|
11975 (tst_QWebView::renderHints): |
|
11976 * tests/tests.pro: |
|
11977 |
|
11978 2009-05-20 Holger Hans Peter Freyther <zecke@selfish.org> |
|
11979 |
|
11980 Reviewed by Darin Adler. |
|
11981 |
|
11982 https://bugs.webkit.org/show_bug.cgi?id=25834 |
|
11983 |
|
11984 Make ChromeClient a interface again |
|
11985 |
|
11986 With recent additions to ChromeClient.h empty defaults were |
|
11987 added. This is bad for porters as these changes go unnoticed |
|
11988 and at runtime no notImplemented warning is logged and grepping |
|
11989 for notImplemented will not show anything. Change this Client |
|
11990 to be like the other Clients again and always have pure virtuals |
|
11991 (but for stuff inside #ifdef PLATFORM(MAC)). |
|
11992 |
|
11993 Update the various WebKit/* implementations to compile again. |
|
11994 |
|
11995 * WebCoreSupport/ChromeClientQt.cpp: |
|
11996 (WebCore::ChromeClientQt::setCursor): |
|
11997 (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame): |
|
11998 * WebCoreSupport/ChromeClientQt.h: |
|
11999 (WebCore::ChromeClientQt::scrollRectIntoView): |
|
12000 |
|
12001 2009-05-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12002 |
|
12003 Reviewed by Simon Hausmann. |
|
12004 |
|
12005 Fix a plugin bug in the WebKit code, similar to the one in WebCore. |
|
12006 |
|
12007 The problem is when a non visible QtPluginWidget would show it self |
|
12008 in a sibling frame. The problem was due to our clipping. In Qt, |
|
12009 if setMask is set with an empty QRegion, no clipping will |
|
12010 be performed, so in that case we hide the PluginContainer |
|
12011 |
|
12012 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
12013 (WebCore::): |
|
12014 |
|
12015 2009-05-18 Zoltan Horvath <horvath.zoltan.6@stud.u-szeged.hu> |
|
12016 |
|
12017 Reviewed by Ariya Hidayat. |
|
12018 |
|
12019 Makes QtLauncher to accept multiple urls in command line and opens these in separate windows. |
|
12020 |
|
12021 * QtLauncher/main.cpp: |
|
12022 (MainWindow::newWindow): |
|
12023 (main): |
|
12024 |
|
12025 2009-05-14 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12026 |
|
12027 Reviewed by Ariya Hidayat. |
|
12028 |
|
12029 Add a comment to QWebView::iconChanged(), mentioning that you will |
|
12030 need to set the icon database path for icons to be loaded, and thus |
|
12031 receive the signal. |
|
12032 |
|
12033 * Api/qwebview.cpp: |
|
12034 |
|
12035 2009-05-14 Yael Aharon <yael.aharon@nokia.com> |
|
12036 |
|
12037 Reviewed by Ariya Hidayat. |
|
12038 |
|
12039 Fix setHtml test case by adding <head> tag to the expected result. This tag is automatically added by WebKit. |
|
12040 |
|
12041 * tests/qwebframe/tst_qwebframe.cpp: |
|
12042 |
|
12043 2009-05-14 Yael Aharon <yael.aharon@nokia.com> |
|
12044 |
|
12045 Reviewed by Ariya Hidayat. |
|
12046 |
|
12047 Add a test case for the signal urlChanged(). |
|
12048 * tests/qwebframe/tst_qwebframe.cpp: |
|
12049 |
|
12050 2009-05-13 Yael Aharon <yael.aharon@nokia.com> |
|
12051 |
|
12052 Reviewed by Ariya Hidayat. |
|
12053 |
|
12054 Move emitting the signal QWebFrame::urlChanged to FrameLoaderClientQt::dispatchDidCommitLoad(). |
|
12055 This is to ensure that urlChanged() is emitted even if the frame has no title. |
|
12056 |
|
12057 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
12058 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle): |
|
12059 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad): |
|
12060 |
|
12061 2009-05-13 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12062 |
|
12063 Rubberstamped by Ariya Hidayat. |
|
12064 |
|
12065 Fix coding style: Add {} to contents of if, containing a for loop. |
|
12066 |
|
12067 * Api/qwebelement.cpp: |
|
12068 (QWebElement::styleProperty): |
|
12069 |
|
12070 2009-05-12 Antonio Gomes <antonio.gomes@openbossa.org> |
|
12071 |
|
12072 Reviewed by Ariya Hidayat. |
|
12073 |
|
12074 Fixed a possible crash @styleProperty when there is no embedded/external CSS set. |
|
12075 |
|
12076 * Api/qwebelement.cpp: |
|
12077 (QWebElement::styleProperty): |
|
12078 * tests/qwebelement/tst_qwebelement.cpp: |
|
12079 (tst_QWebElement::style): |
|
12080 |
|
12081 2009-05-12 Antonio Gomes <antonio.gomes@openbossa.org> |
|
12082 |
|
12083 Reviewed by Ariya Hidayat. |
|
12084 |
|
12085 Added external CSS test cases to QWebElement::styleProperty() method. |
|
12086 |
|
12087 Also some ::styleProperty() tests cleanup. |
|
12088 |
|
12089 * tests/qwebelement/tst_qwebelement.cpp: |
|
12090 (tst_QWebElement::style): |
|
12091 |
|
12092 2009-05-12 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12093 |
|
12094 Reviewed by Ariya Hidayat. |
|
12095 |
|
12096 Many methods were not considering the case of the element not having |
|
12097 siblings or children when inserting nodes, and thus broke in some |
|
12098 situations. This patch fixes that. |
|
12099 |
|
12100 * Api/qwebelement.cpp: |
|
12101 (QWebElement::prependInside): |
|
12102 (QWebElement::appendOutside): |
|
12103 (QWebElement::encloseWith): |
|
12104 |
|
12105 2009-05-08 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12106 |
|
12107 Reviewed by Ariya Hidayat. |
|
12108 |
|
12109 Make is possible to mark a style property as important while setting |
|
12110 it. Also support the normal CSS property syntax "!important", while |
|
12111 accepting spaces between the ! and the important keyword. |
|
12112 |
|
12113 * Api/qwebelement.cpp: |
|
12114 (QWebElement::setStyleProperty): |
|
12115 * Api/qwebelement.h: |
|
12116 * tests/qwebelement/tst_qwebelement.cpp: |
|
12117 (tst_QWebElement::style): |
|
12118 |
|
12119 2009-05-08 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12120 |
|
12121 Reviewed by Ariya Hidayat. |
|
12122 |
|
12123 Working with Antonio Gomes. |
|
12124 |
|
12125 Add support for finding the style property actually applied to the element. |
|
12126 |
|
12127 * Api/qwebelement.cpp: |
|
12128 (QWebElement::styleProperty): |
|
12129 * Api/qwebelement.h: |
|
12130 * tests/qwebelement/tst_qwebelement.cpp: |
|
12131 (tst_QWebElement::style): |
|
12132 |
|
12133 2009-05-11 Norbert Leser <norbert.leser@nokia.com> |
|
12134 |
|
12135 Reviewed by Darin Adler. |
|
12136 |
|
12137 Bug 24538: class/struct mixup in forward declarations |
|
12138 https://bugs.webkit.org/show_bug.cgi?id=24538 |
|
12139 |
|
12140 * Api/qwebpage.h: |
|
12141 |
|
12142 2009-05-11 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
12143 |
|
12144 Reviewed by Holger Freyther. |
|
12145 |
|
12146 Fix Qt build when ENABLE_DATABASE is turned off |
|
12147 |
|
12148 https://bugs.webkit.org/show_bug.cgi?id=25587 |
|
12149 |
|
12150 * Api/qwebdatabase.cpp: |
|
12151 (QWebDatabase::displayName): |
|
12152 (QWebDatabase::expectedSize): |
|
12153 (QWebDatabase::size): |
|
12154 (QWebDatabase::fileName): |
|
12155 (QWebDatabase::removeDatabase): |
|
12156 * Api/qwebdatabase_p.h: |
|
12157 * Api/qwebsecurityorigin.cpp: |
|
12158 (QWebSecurityOrigin::allOrigins): |
|
12159 (QWebSecurityOrigin::databases): |
|
12160 |
|
12161 2009-05-05 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12162 |
|
12163 Reviewed by Simon Hausmann. |
|
12164 |
|
12165 Improve behaviour of the QWebElement enclose* functions, to work |
|
12166 similar to the jQuery wrap functions. We now enclose the contents |
|
12167 of the element in the child of the deepest descendant element |
|
12168 within the structure of the enclose element structure given. |
|
12169 |
|
12170 * Api/qwebelement.cpp: |
|
12171 (findInsertionPoint): |
|
12172 (QWebElement::encloseContentsWith): |
|
12173 (QWebElement::encloseWith): |
|
12174 (QWebElement::replace): |
|
12175 * tests/qwebelement/tst_qwebelement.cpp: |
|
12176 (tst_QWebElement::encloseContentsWith): |
|
12177 (tst_QWebElement::encloseWith): |
|
12178 |
|
12179 2009-05-06 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12180 |
|
12181 Reviewed by Simon Hausmann. |
|
12182 |
|
12183 After commit rev @43215, setHtml() without a <head> tag, |
|
12184 automatically adds it, so update our test case to respect this. |
|
12185 |
|
12186 * tests/qwebelement/tst_qwebelement.cpp: |
|
12187 (tst_QWebElement::textHtml): |
|
12188 |
|
12189 2009-05-06 Simon Hausmann <simon.hausmann@nokia.com> |
|
12190 |
|
12191 Unreviewed Qt build fix. |
|
12192 |
|
12193 Dont' use ENABLE() in Qt API headers, as they are not available when building |
|
12194 against the API. |
|
12195 |
|
12196 * Api/qwebdatabase.h: |
|
12197 * Api/qwebsecurityorigin.h: |
|
12198 |
|
12199 2009-05-05 Ben Murdoch <benm@google.com> |
|
12200 |
|
12201 Reviewed by Eric Seidel. |
|
12202 |
|
12203 Add #if ENABLE(DATABASE) guards around database code so toggling ENABLE_DATABASE off does not break builds. |
|
12204 https://bugs.webkit.org/show_bug.cgi?id=24776 |
|
12205 |
|
12206 * Api/qwebdatabase.cpp: |
|
12207 * Api/qwebdatabase.h: |
|
12208 * Api/qwebdatabase_p.h: |
|
12209 * Api/qwebsecurityorigin.cpp: |
|
12210 (QWebSecurityOrigin::databaseUsage): |
|
12211 (QWebSecurityOrigin::databaseQuota): |
|
12212 (QWebSecurityOrigin::setDatabaseQuota): |
|
12213 * Api/qwebsecurityorigin.h: |
|
12214 * WebCoreSupport/ChromeClientQt.cpp: |
|
12215 (WebCore::ChromeClientQt::exceededDatabaseQuota): |
|
12216 * WebCoreSupport/ChromeClientQt.h: |
|
12217 |
|
12218 2009-05-05 Simon Hausmann <simon.hausmann@nokia.com> |
|
12219 |
|
12220 Reviewed by Tor Arne Vestbø. |
|
12221 |
|
12222 Various improvements to the class documentation, including a simple snippet for QWebElement. |
|
12223 |
|
12224 * Api/qwebelement.cpp: |
|
12225 * Api/qwebframe.cpp: |
|
12226 * docs/webkitsnippets/webelement/main.cpp: Added. |
|
12227 * docs/webkitsnippets/webelement/webelement.pro: Added. |
|
12228 |
|
12229 2009-05-05 Simon Hausmann <simon.hausmann@nokia.com> |
|
12230 |
|
12231 Reviewed by Ariya Hidayat. |
|
12232 |
|
12233 Simplify variant conversion by moving the null check into |
|
12234 convertValueToQVariant. |
|
12235 |
|
12236 * Api/qwebframe.cpp: |
|
12237 (QWebFrame::evaluateJavaScript): Moved null check into conversion function. |
|
12238 * tests/qwebframe/tst_qwebframe.cpp: |
|
12239 Added test to verify the correct conversion of null values to QVariant. |
|
12240 |
|
12241 2009-05-01 Geoffrey Garen <ggaren@apple.com> |
|
12242 |
|
12243 Rubber Stamped by Sam Weinig. |
|
12244 |
|
12245 Renamed JSValuePtr => JSValue. |
|
12246 |
|
12247 * Api/qwebelement.cpp: |
|
12248 (setupScriptContext): |
|
12249 (setupScriptObject): |
|
12250 (QWebElement::evaluateScript): |
|
12251 (QWebElement::functions): |
|
12252 (QWebElement::scriptableProperty): |
|
12253 (QWebElement::setScriptableProperty): |
|
12254 (QWebElement::scriptableProperties): |
|
12255 |
|
12256 2009-05-01 Pavel Feldman <pfeldman@chromium.org> |
|
12257 |
|
12258 Reviewed by Timothy Hatcher. |
|
12259 |
|
12260 Add a FrameLoaderClient callback for the ResourceRetrievedByXMLHttpRequest. |
|
12261 |
|
12262 https://bugs.webkit.org/show_bug.cgi?id=25347 |
|
12263 |
|
12264 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
12265 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceByXMLHttpRequest): |
|
12266 * WebCoreSupport/FrameLoaderClientQt.h: |
|
12267 |
|
12268 2009-04-30 David Kilzer <ddkilzer@apple.com> |
|
12269 |
|
12270 Provide a mechanism to create a quirks delegate for HTMLParser |
|
12271 |
|
12272 Reviewed by David Hyatt. |
|
12273 |
|
12274 * WebCoreSupport/ChromeClientQt.h: |
|
12275 (WebCore::ChromeClientQt::createHTMLParserQuirks): Added. The |
|
12276 default implementation of this factory method returns 0. |
|
12277 |
|
12278 2009-04-30 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
12279 |
|
12280 Unreviewed build fix after r43072. |
|
12281 |
|
12282 * Api/qwebframe.cpp: |
|
12283 (qt_drt_setJavaScriptProfilingEnabled): Enclose with JAVASCRIPT_DEBUGGER. |
|
12284 |
|
12285 2009-04-30 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
12286 |
|
12287 Unreviewed build fix after r43063. |
|
12288 |
|
12289 * WebCoreSupport/ChromeClientQt.cpp: |
|
12290 (WebCore::ChromeClientQt::addMessageToConsole): |
|
12291 * WebCoreSupport/ChromeClientQt.h: |
|
12292 |
|
12293 2009-04-30 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12294 |
|
12295 Reviewed by Simon Hausmann. |
|
12296 |
|
12297 Implement encloseContentsWith and rename wrap to encloseWith. |
|
12298 |
|
12299 Also in encloseWith, make sure that you cannot enclose with |
|
12300 non-enclosable elements. |
|
12301 |
|
12302 * Api/qwebelement.cpp: |
|
12303 (QWebElement::encloseContentsWith): |
|
12304 (QWebElement::encloseWith): |
|
12305 * Api/qwebelement.h: |
|
12306 * tests/qwebelement/tst_qwebelement.cpp: |
|
12307 (tst_QWebElement::encloseContentsWith): |
|
12308 (tst_QWebElement::encloseWith): |
|
12309 |
|
12310 2009-04-30 Holger Hans Peter Freyther <zecke@selfish.org> |
|
12311 |
|
12312 Reviewed by Darin Adler. |
|
12313 |
|
12314 The Qt API exposes a global history patch CSSStyleSelector to make API consumers work again |
|
12315 |
|
12316 https://bugs.webkit.org/show_bug.cgi?id=20952 |
|
12317 |
|
12318 The QtWebKit port made the mistake of exposing a global history. This broke |
|
12319 with the addition of PageGroup and LinkHash. This needs to be repaired |
|
12320 for Qt4.5. |
|
12321 |
|
12322 Add a function to LinkHash.cpp that is resolving a URL. Use this |
|
12323 function from within CSSStyleSelector to forward the url to the |
|
12324 QWebHistoryInterface API. |
|
12325 |
|
12326 It is sad that there is a path within visitedLinkHash which is now |
|
12327 doing a memcpy, it is sad to add a PLATFORM(QT) define to CSSStyleSelector |
|
12328 and using QtWebKit types within WebCore is a layering violation as well. |
|
12329 |
|
12330 PageGroup::setShouldTrackVisitedLinks is currently not enabled. For |
|
12331 Qt4.6 a second version of the QWebHistoryInterface is going to be |
|
12332 added which will fix things up. |
|
12333 |
|
12334 * Api/qwebhistoryinterface.cpp: |
|
12335 (QWebHistoryInterface::setDefaultInterface): Add note for Qt4.6 |
|
12336 * Api/qwebpage.cpp: Remove PageGroup::setShouldTrackVisitedLinks(true) |
|
12337 (QWebPagePrivate::QWebPagePrivate): |
|
12338 * tests/qwebhistoryinterface/qwebhistoryinterface.pro: Added unit test. |
|
12339 * tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp: Added unit test. |
|
12340 (tst_QWebHistoryInterface::tst_QWebHistoryInterface): |
|
12341 (tst_QWebHistoryInterface::~tst_QWebHistoryInterface): |
|
12342 (tst_QWebHistoryInterface::init): |
|
12343 (tst_QWebHistoryInterface::cleanup): |
|
12344 (FakeHistoryImplementation::addHistoryEntry): |
|
12345 (FakeHistoryImplementation::historyContains): |
|
12346 (tst_QWebHistoryInterface::visitedLinks): Check the Qt4.4 behaviour. |
|
12347 * tests/tests.pro: |
|
12348 |
|
12349 2009-04-30 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
12350 |
|
12351 Unreviewed build fix, after r43035. |
|
12352 |
|
12353 Temporarily use Position::deprecatedEditingOffset(). |
|
12354 |
|
12355 * Api/qwebpage.cpp: |
|
12356 (QWebPage::inputMethodQuery): |
|
12357 |
|
12358 2009-03-27 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
12359 |
|
12360 Reviewed by Simon Hausmann. |
|
12361 |
|
12362 Update the page actions when a finishing loading even if the frame is |
|
12363 not the top frame such as when browsing inside of a website with frames. |
|
12364 https://bugs.webkit.org/show_bug.cgi?id=24890 |
|
12365 |
|
12366 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
12367 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): |
|
12368 * tests/qwebpage/frametest/frame_a.html: Added. |
|
12369 * tests/qwebpage/frametest/index.html: Added. |
|
12370 * tests/qwebpage/tst_qwebpage.cpp: |
|
12371 (tst_QWebPage::backActionUpdate): |
|
12372 |
|
12373 2009-04-29 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
12374 |
|
12375 Reviewed by Simon Hausmann. |
|
12376 |
|
12377 Implement QWebElement::evaluateScript. |
|
12378 |
|
12379 * Api/qwebelement.cpp: |
|
12380 (setupScriptContext): |
|
12381 (QWebElement::evaluateScript): |
|
12382 * Api/qwebelement.h: |
|
12383 * tests/qwebelement/tst_qwebelement.cpp: |
|
12384 (tst_QWebElement::evaluateScript): |
|
12385 |
|
12386 2009-04-29 Simon Hausmann <simon.hausmann@nokia.com> |
|
12387 |
|
12388 Reviewed by Ariya Hidayat. |
|
12389 |
|
12390 Replaced QWebElementCollection with QList<QWebElement>. |
|
12391 |
|
12392 * Api/qwebelement.cpp: |
|
12393 (QWebElement::findAll): |
|
12394 * Api/qwebelement.h: |
|
12395 * Api/qwebframe.cpp: |
|
12396 (QWebFrame::findAllElements): |
|
12397 * Api/qwebframe.h: |
|
12398 * QtLauncher/main.cpp: |
|
12399 (MainWindow::selectElements): |
|
12400 * tests/qwebelement/tst_qwebelement.cpp: |
|
12401 (tst_QWebElement::simpleCollection): |
|
12402 (tst_QWebElement::namespaceURI): |
|
12403 (tst_QWebElement::nullSelect): |
|
12404 |
|
12405 2009-04-28 Simon Hausmann <simon.hausmann@nokia.com> |
|
12406 |
|
12407 Reviewed by Tor Arne Vestbø. |
|
12408 |
|
12409 QWebElement API changes after another round of API review: |
|
12410 |
|
12411 * Fix argument names of findAll/findFirst |
|
12412 * Split up toXml into innerXml and outerXml |
|
12413 * Removed confusing toggleClass overload |
|
12414 * Fixed casing of namespaceUri to follow QXmlStreamReader |
|
12415 * Removed tagName from firstChild/nextSibling/etc. |
|
12416 * Renamed append/prepend/insertAfter/insertBefore to [append|prepend][Inside|Outside] |
|
12417 * Renamed wrapWith() back to wrap() |
|
12418 * Made clone() const |
|
12419 * Renamed remove() to takeFromDocument(), added removeFromDocument() |
|
12420 * Renamed clear() to removeChildren() |
|
12421 * Renamed scriptsFunctions/callScriptFunction to functions()/callFunction() |
|
12422 * Renamed scriptProperty to scriptableProperty |
|
12423 |
|
12424 * Api/qwebelement.cpp: |
|
12425 (QWebElement::findAll): |
|
12426 (QWebElement::findFirst): |
|
12427 (QWebElement::setOuterXml): |
|
12428 (QWebElement::toOuterXml): |
|
12429 (QWebElement::setInnerXml): |
|
12430 (QWebElement::toInnerXml): |
|
12431 (QWebElement::namespaceUri): |
|
12432 (QWebElement::firstChild): |
|
12433 (QWebElement::lastChild): |
|
12434 (QWebElement::nextSibling): |
|
12435 (QWebElement::previousSibling): |
|
12436 (QWebElement::callFunction): |
|
12437 (QWebElement::functions): |
|
12438 (QWebElement::scriptableProperty): |
|
12439 (QWebElement::setScriptableProperty): |
|
12440 (QWebElement::scriptableProperties): |
|
12441 (QWebElement::appendInside): |
|
12442 (QWebElement::prependInside): |
|
12443 (QWebElement::prependOutside): |
|
12444 (QWebElement::appendOutside): |
|
12445 (QWebElement::clone): |
|
12446 (QWebElement::takeFromDocument): |
|
12447 (QWebElement::removeFromDocument): |
|
12448 (QWebElement::removeChildren): |
|
12449 (QWebElement::wrap): |
|
12450 (QWebElement::replace): |
|
12451 * Api/qwebelement.h: |
|
12452 * Api/qwebframe.cpp: |
|
12453 (QWebFrame::findAllElements): |
|
12454 (QWebFrame::findFirstElement): |
|
12455 * Api/qwebframe.h: |
|
12456 * tests/qwebelement/tst_qwebelement.cpp: |
|
12457 (tst_QWebElement::textHtml): |
|
12458 (tst_QWebElement::classes): |
|
12459 (tst_QWebElement::namespaceURI): |
|
12460 (tst_QWebElement::foreachManipulation): |
|
12461 (tst_QWebElement::callFunction): |
|
12462 (tst_QWebElement::callFunctionSubmitForm): |
|
12463 (tst_QWebElement::functionNames): |
|
12464 (tst_QWebElement::properties): |
|
12465 (tst_QWebElement::appendAndPrepend): |
|
12466 (tst_QWebElement::insertBeforeAndAfter): |
|
12467 (tst_QWebElement::remove): |
|
12468 (tst_QWebElement::clear): |
|
12469 (tst_QWebElement::replaceWith): |
|
12470 |
|
12471 2009-04-28 Simon Hausmann <simon.hausmann@nokia.com> |
|
12472 |
|
12473 Reviewed by Tor Arne Vestbø. |
|
12474 |
|
12475 Fix some qdoc warnings. |
|
12476 |
|
12477 * Api/qwebframe.cpp: Fix links. |
|
12478 * Api/qwebnetworkinterface.cpp: Make docs internal. |
|
12479 * Api/qwebnetworkinterface.h: Ditto. |
|
12480 * Api/qwebpage.cpp: Fix property name in \property. |
|
12481 |
|
12482 2009-04-24 Simon Hausmann <simon.hausmann@nokia.com> |
|
12483 |
|
12484 Rubber-stamped by Ariya Hidayat. |
|
12485 |
|
12486 Fix qdoc warning about link to QAction::isEnabled. |
|
12487 |
|
12488 * Api/qwebpage.cpp: |
|
12489 |
|
12490 2009-04-24 Simon Hausmann <simon.hausmann@nokia.com> |
|
12491 |
|
12492 Reviewed by Ariya Hidayat. |
|
12493 |
|
12494 Added support for generating API docs in the Qt build using "make docs" |
|
12495 |
|
12496 Added code snippets and overview from the Qt sources references in the API docs. |
|
12497 |
|
12498 * Api/qwebpage.cpp: Adjust paths to snippets. |
|
12499 * Api/qwebview.cpp: Ditto. |
|
12500 * docs/docs.pri: Added. |
|
12501 * docs/qtwebkit.qdoc: Added. |
|
12502 * docs/qtwebkit.qdocconf: Added. |
|
12503 * docs/webkitsnippets/qtwebkit_build_snippet.qdoc: Added. |
|
12504 * docs/webkitsnippets/qtwebkit_qwebview_snippet.cpp: Added. |
|
12505 * docs/webkitsnippets/simple/main.cpp: Added. |
|
12506 * docs/webkitsnippets/simple/simple.pro: Added. |
|
12507 * docs/webkitsnippets/webpage/main.cpp: Added. |
|
12508 * docs/webkitsnippets/webpage/webpage.pro: Added. |
|
12509 |
|
12510 2009-04-23 Antonio Gomes <antonio.gomes@openbossa.org> |
|
12511 |
|
12512 Reviewed by Ariya Hidayat. |
|
12513 |
|
12514 [Qt] Added QWebElement::computedStyleProperty method. |
|
12515 |
|
12516 * Api/qwebelement.cpp: |
|
12517 (QWebElement::computedStyleProperty): |
|
12518 * Api/qwebelement.h: |
|
12519 * tests/qwebelement/tst_qwebelement.cpp: |
|
12520 (tst_QWebElement::computedStyle): |
|
12521 |
|
12522 2009-04-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
12523 |
|
12524 Rubber-stamped by Ariya Hidayat. |
|
12525 |
|
12526 [Qt] Rename QWebElement arguments from html to markup |
|
12527 |
|
12528 * Api/qwebelement.cpp: |
|
12529 (QWebElement::append): |
|
12530 (QWebElement::prepend): |
|
12531 (QWebElement::insertBefore): |
|
12532 (QWebElement::insertAfter): |
|
12533 * Api/qwebelement.h: |
|
12534 |
|
12535 2009-04-21 Antonio Gomes <antonio.gomes@openbossa.org> |
|
12536 |
|
12537 Reviewed by Ariya Hidayat. |
|
12538 |
|
12539 QWebElementSelection renamed to QWebElementCollection. |
|
12540 |
|
12541 * Api/qwebelement.cpp: |
|
12542 (QWebElement::findAll): |
|
12543 (QWebElementCollectionPrivate::QWebElementCollectionPrivate): |
|
12544 (QWebElementCollectionPrivate::create): |
|
12545 (QWebElementCollection::QWebElementCollection): |
|
12546 (QWebElementCollection::operator=): |
|
12547 (QWebElementCollection::~QWebElementCollection): |
|
12548 (QWebElementCollection::operator+): |
|
12549 (QWebElementCollection::append): |
|
12550 (QWebElementCollection::count): |
|
12551 (QWebElementCollection::at): |
|
12552 (QWebElementCollection::toList): |
|
12553 * Api/qwebelement.h: |
|
12554 * Api/qwebframe.cpp: |
|
12555 (QWebFrame::findAllElements): |
|
12556 * Api/qwebframe.h: |
|
12557 * QtLauncher/main.cpp: |
|
12558 (MainWindow::selectElements): |
|
12559 * tests/qwebelement/tst_qwebelement.cpp: |
|
12560 (tst_QWebElement::simpleCollection): |
|
12561 (tst_QWebElement::iteration): |
|
12562 (tst_QWebElement::emptyCollection): |
|
12563 (tst_QWebElement::appendCollection): |
|
12564 (tst_QWebElement::nullSelect): |
|
12565 |
|
12566 2009-04-17 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
12567 |
|
12568 Reviewed by Simon Hausmann. |
|
12569 |
|
12570 https://bugs.webkit.org/show_bug.cgi?id=25242 |
|
12571 |
|
12572 Remove QtCore 4.5 dependency from QWebElement test |
|
12573 |
|
12574 * tests/qwebelement/tst_qwebelement.cpp: |
|
12575 (tst_QWebElement::iteration): Use QList::count() instead of QList::length() |
|
12576 |
|
12577 2009-04-16 Holger Hans Peter Freyther <zecke@selfish.org> |
|
12578 |
|
12579 Rubber-stamped by Simon Hausmann. |
|
12580 |
|
12581 Make the operator== and operator!= non inline to |
|
12582 allow looking at the d-pointer in the future. |
|
12583 |
|
12584 * Api/qwebelement.cpp: |
|
12585 (QWebElement::operator==): |
|
12586 (QWebElement::operator!=): |
|
12587 * Api/qwebelement.h: |
|
12588 |
|
12589 2009-04-15 Antonio Gomes <antonio.gomes@openbossa.org> |
|
12590 |
|
12591 Reviewed by Ariya Hidayat. |
|
12592 |
|
12593 Rename extend() method in QWebElementSelection to append(). |
|
12594 |
|
12595 * Api/qwebelement.cpp: |
|
12596 (QWebElementSelection::append): |
|
12597 * Api/qwebelement.h: |
|
12598 * tests/qwebelement/tst_qwebelement.cpp: |
|
12599 (tst_QWebElement::appendSelection): |
|
12600 |
|
12601 2009-04-15 Antonio Gomes <antonio.gomes@openbossa.org> |
|
12602 |
|
12603 Reviewed by Simon Hausmann. |
|
12604 |
|
12605 Fixed nit/typo in QWebElement documentation. |
|
12606 |
|
12607 * Api/qwebelement.cpp: |
|
12608 |
|
12609 2009-04-14 Laszlo Gombos <laszlo.1.gombos@nokia.com> |
|
12610 |
|
12611 Reviewed by Simon Hausmann. |
|
12612 |
|
12613 https://bugs.webkit.org/show_bug.cgi?id=24841 |
|
12614 |
|
12615 Fix linking against QtWebKit for Symbian and other platforms |
|
12616 where the OS ABI distinguishes between an import or an export situation. |
|
12617 |
|
12618 * Api/qwebkitglobal.h: Instead of white-listing Win, remove the test. |
|
12619 |
|
12620 2009-04-14 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12621 |
|
12622 Reviewed by Tor Arne Vestbø. |
|
12623 |
|
12624 Rename QWebElement::setHtml and html to setXml and toXml respectivily. |
|
12625 |
|
12626 Also add a mean to define the scope (inner or other). |
|
12627 |
|
12628 * Api/qwebelement.cpp: |
|
12629 (QWebElement::setXml): |
|
12630 (QWebElement::toXml): |
|
12631 * Api/qwebelement.h: |
|
12632 * tests/qwebelement/tst_qwebelement.cpp: |
|
12633 (tst_QWebElement::textHtml): |
|
12634 (tst_QWebElement::foreachManipulation): |
|
12635 |
|
12636 2009-04-14 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
12637 |
|
12638 Reviewed by Tor Arne Vestbø. |
|
12639 |
|
12640 Rename QWebElement::setText() and text() to ::setPlainText and |
|
12641 ::toPlainText, respectively. |
|
12642 |
|
12643 * Api/qwebelement.cpp: |
|
12644 (QWebElement::setPlainText): |
|
12645 (QWebElement::toPlainText): |
|
12646 * Api/qwebelement.h: |
|
12647 * tests/qwebelement/tst_qwebelement.cpp: |
|
12648 (tst_QWebElement::textHtml): |
|
12649 (tst_QWebElement::simpleSelection): |
|
12650 (tst_QWebElement::appendAndPrepend): |
|
12651 (tst_QWebElement::insertBeforeAndAfter): |
|
12652 (tst_QWebElement::replaceWith): |
|
12653 (tst_QWebElement::wrap): |
|
12654 (tst_QWebElement::firstChildNextSiblingWithTag): |
|
12655 (tst_QWebElement::lastChildPreviousSiblingWithTag): |
|
12656 |
|
12657 2009-04-06 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
12658 |
|
12659 Reviewed by Simon Hausmann. |
|
12660 |
|
12661 [Qt] Rename DOM API select function to findFirst, findAll, etc. |
|
12662 |
|
12663 * Api/qwebelement.cpp: |
|
12664 (QWebElement::findAll): |
|
12665 (QWebElement::findFirst): |
|
12666 * Api/qwebelement.h: |
|
12667 * Api/qwebframe.cpp: |
|
12668 (QWebFrame::findAllElements): |
|
12669 (QWebFrame::findFirstElement): |
|
12670 * Api/qwebframe.h: |
|
12671 * QtLauncher/main.cpp: |
|
12672 (MainWindow::selectElements): |
|
12673 * tests/qwebelement/tst_qwebelement.cpp: |
|
12674 (tst_QWebElement::simpleSelection): |
|
12675 (tst_QWebElement::attributesNS): |
|
12676 (tst_QWebElement::classes): |
|
12677 (tst_QWebElement::namespaceURI): |
|
12678 (tst_QWebElement::iteration): |
|
12679 (tst_QWebElement::foreachManipulation): |
|
12680 (tst_QWebElement::callFunctionSubmitForm): |
|
12681 (tst_QWebElement::documentElement): |
|
12682 (tst_QWebElement::frame): |
|
12683 (tst_QWebElement::style): |
|
12684 (tst_QWebElement::extendSelection): |
|
12685 (tst_QWebElement::properties): |
|
12686 (tst_QWebElement::appendAndPrepend): |
|
12687 (tst_QWebElement::insertBeforeAndAfter): |
|
12688 (tst_QWebElement::remove): |
|
12689 (tst_QWebElement::clear): |
|
12690 (tst_QWebElement::replaceWith): |
|
12691 (tst_QWebElement::wrap): |
|
12692 (tst_QWebElement::nullSelect): |
|
12693 (tst_QWebElement::firstChildNextSibling): |
|
12694 (tst_QWebElement::firstChildNextSiblingWithTag): |
|
12695 (tst_QWebElement::lastChildPreviousSibling): |
|
12696 (tst_QWebElement::lastChildPreviousSiblingWithTag): |
|
12697 |
|
12698 2009-04-06 Simon Hausmann <simon.hausmann@nokia.com> |
|
12699 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
12700 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> |
|
12701 Genevieve Mak <gen@staikos.net> |
|
12702 |
|
12703 Reviewed by Tor Arne Vestbø, Simon Hausmann |
|
12704 |
|
12705 First revision of new API in the Qt port to access the DOM. |
|
12706 |
|
12707 * Api/headers.pri: Added qwebelement.h to the API headers. |
|
12708 * Api/qwebelement.cpp: Added. |
|
12709 * Api/qwebelement.h: Added. |
|
12710 * Api/qwebframe.cpp: |
|
12711 (QWebFrame::documentElement): Added accessor for the document element. |
|
12712 (QWebFrame::selectElements): Added convenienc query method. |
|
12713 (QWebFrame::selectElement): Ditto. |
|
12714 (QWebHitTestResult::element): Added accessor for underlying DOM element. |
|
12715 * Api/qwebframe.h: |
|
12716 * QtLauncher/main.cpp: Simple test gui for element selections. |
|
12717 * tests/qwebelement/qwebelement.pro: Added. |
|
12718 * tests/qwebelement/tst_qwebelement.cpp: Added. |
|
12719 * tests/tests.pro: Added QWebElement & QWebElementSelection unit tests. |
|
12720 |
|
12721 2009-04-02 Simon Hausmann <simon.hausmann@nokia.com> |
|
12722 |
|
12723 Fix the Qt build. |
|
12724 |
|
12725 * Api/qwebpage.cpp: |
|
12726 (QWebPage::triggerAction): Adapted code to renamed loadFrameRequest function. |
|
12727 |
|
12728 2009-04-02 Takumi Asaki <takumi.asaki@nokia.com> |
|
12729 |
|
12730 Reviewed by Simon Hausmann. |
|
12731 |
|
12732 Fix pre-edit handling of text fields with input methods. |
|
12733 |
|
12734 The input method sends an empty preeditString() if all characters of |
|
12735 the preedit should be deleted. So inputMethodEvent() has to use |
|
12736 preeditString() if it's empty. |
|
12737 |
|
12738 * Api/qwebpage.cpp: |
|
12739 (QWebPagePrivate::inputMethodEvent): |
|
12740 |
|
12741 2009-03-30 Simon Hausmann <simon.hausmann@nokia.com> |
|
12742 |
|
12743 Rubber-stamped by Tor Arne Vestbø. |
|
12744 |
|
12745 Document that setHtml/setContent loads only the html/data immediately, not external objects. |
|
12746 |
|
12747 * Api/qwebframe.cpp: |
|
12748 * Api/qwebview.cpp: |
|
12749 |
|
12750 2009-03-29 Darin Adler <darin@apple.com> |
|
12751 |
|
12752 Try to fix Qt build. |
|
12753 |
|
12754 * WebCoreSupport/EditorClientQt.cpp: Added include of HTMLElement.h. |
|
12755 |
|
12756 * WebCoreSupport/FrameLoaderClientQt.cpp: Added include of FormState.h. |
|
12757 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement): |
|
12758 Removed unneeded call to detachChildren, which is called by FrameLoader |
|
12759 right after this. |
|
12760 (WebCore::FrameLoaderClientQt::createFrame): Use loadURLIntoChildFrame |
|
12761 as other platforms do in the corresponding functions. |
|
12762 |
|
12763 2009-03-27 Erik L. Bunce <elbunce@xendom.com> |
|
12764 |
|
12765 Reviewed by Simon Hausmann. |
|
12766 |
|
12767 https://bugs.webkit.org/show_bug.cgi?id=24869 |
|
12768 |
|
12769 Fixes an incorrect case in tst_qwebpage. |
|
12770 |
|
12771 * tests/qwebpage/tst_qwebpage.cpp: |
|
12772 (tst_QWebPage::cursorMovements): |
|
12773 |
|
12774 2009-03-27 Erik L. Bunce <elbunce@xendom.com> |
|
12775 |
|
12776 Reviewed by Simon Hausmann. |
|
12777 |
|
12778 https://bugs.webkit.org/show_bug.cgi?id=24746 |
|
12779 |
|
12780 Add new editing related QWebPage::WebActions |
|
12781 * Clipboard: PasteAndMatchStyle |
|
12782 * Formatting: RemoveFormat, ToggleStrikethrough, ToggleSubscript, and |
|
12783 ToggleSuperscript |
|
12784 * List Editing: InsertUnorderedList, InsertOrderedList, Indent, Outdent |
|
12785 * Paragraph Justification: AlignCenter, AlignJustified, AlignLeft, AlignRight |
|
12786 |
|
12787 Improved selection and editing tests. |
|
12788 |
|
12789 * Api/qwebpage.cpp: |
|
12790 (QWebPagePrivate::updateEditorActions): |
|
12791 (QWebPage::action): |
|
12792 * Api/qwebpage.h: |
|
12793 * tests/qwebpage/tst_qwebpage.cpp: |
|
12794 (tst_QWebPage::textSelection): |
|
12795 (tst_QWebPage::textEditing): |
|
12796 |
|
12797 2009-03-26 Simon Hausmann <simon.hausmann@nokia.com> |
|
12798 |
|
12799 Rubber-stamped by Tor Arne Vestbø. |
|
12800 |
|
12801 Fix the documentation of the QLocale usage in userAgentForUrl. |
|
12802 |
|
12803 * Api/qwebpage.cpp: |
|
12804 |
|
12805 2009-03-20 Erik L. Bunce <elbunce@xendom.com> |
|
12806 |
|
12807 Reviewed by Simon Hausmann. |
|
12808 |
|
12809 Fix for InsertParagraphSeparator and InsertLineSeparator so that |
|
12810 QWebPage::action() creates QActions for them. Also make sure they get |
|
12811 updated appropriately. |
|
12812 |
|
12813 * Api/qwebpage.cpp: |
|
12814 (QWebPagePrivate::updateEditorActions): |
|
12815 (QWebPage::action): |
|
12816 * tests/qwebpage/tst_qwebpage.cpp: |
|
12817 (tst_QWebPage::textEditing): |
|
12818 |
|
12819 2009-03-20 Erik L. Bunce <elbunce@xendom.com> |
|
12820 |
|
12821 Reviewed by Tor Arne Vestbø. |
|
12822 |
|
12823 Fix QWebPage::WebActions action states to more closely match when they are |
|
12824 actually applicable and remove erroneous documentation. |
|
12825 |
|
12826 * Most WebActions implemented using editor commands now use the |
|
12827 Editor::Command::isEnabled() to control their availability. |
|
12828 * SelectAll is always enabled (since it's editor command is). |
|
12829 * SetTextDirection{} family of WebActions are available when canEdit() is true |
|
12830 and not just canEditRichly(). |
|
12831 |
|
12832 Fix and clarify documentation about the availability of various web actions. |
|
12833 |
|
12834 * Api/qwebpage.cpp: |
|
12835 (QWebPagePrivate::updateAction): |
|
12836 (QWebPagePrivate::updateEditorActions): |
|
12837 * tests/qwebpage/tst_qwebpage.cpp: |
|
12838 (tst_QWebPage::textSelection): |
|
12839 |
|
12840 2009-03-19 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
12841 |
|
12842 Reviewed by Simon Hausmann. |
|
12843 |
|
12844 Fixes pedantic compilation in QtWebKit. |
|
12845 |
|
12846 There are no semi-colons after namespace declarations. |
|
12847 |
|
12848 * Api/qwebdatabase.h: |
|
12849 * Api/qwebsecurityorigin.h: |
|
12850 |
|
12851 2009-03-19 David Boddie <dboddie@trolltech.com> |
|
12852 |
|
12853 Reviewed by Simon Hausmann. |
|
12854 |
|
12855 Doc: Removed obsolete warning about Flash and other plugins. |
|
12856 |
|
12857 * Api/qwebsettings.cpp: |
|
12858 |
|
12859 2009-03-19 Paul Olav Tvete <paul.tvete@nokia.com> |
|
12860 |
|
12861 Reviewed by Simon Hausmann. |
|
12862 |
|
12863 Properly escape tooltip text |
|
12864 |
|
12865 ManualTest: http://xkcd.com/554/ |
|
12866 |
|
12867 * WebCoreSupport/ChromeClientQt.cpp: |
|
12868 (WebCore::ChromeClientQt::setToolTip): |
|
12869 |
|
12870 2009-03-10 Adam Treat <adam.treat@torchmobile.com> |
|
12871 |
|
12872 Build fix for Qt after r41555. |
|
12873 |
|
12874 * Api/qwebpage.cpp: |
|
12875 (QWebPage::acceptNavigationRequest): |
|
12876 |
|
12877 2009-03-10 Xan Lopez <xlopez@igalia.com> |
|
12878 |
|
12879 Build fix, no review. |
|
12880 |
|
12881 * Api/qwebpage.cpp: |
|
12882 (QWebPage::inputMethodQuery): |
|
12883 |
|
12884 2009-03-07 Adam Treat <adam.treat@torchmobile.com> |
|
12885 |
|
12886 Reviewed by Cameron Zwarich. |
|
12887 |
|
12888 These methods are clearly returning the wrong values as the two were |
|
12889 returning swapped information. |
|
12890 |
|
12891 * Api/qwebpage.cpp: |
|
12892 (QWebPage::totalBytes): |
|
12893 (QWebPage::bytesReceived): |
|
12894 |
|
12895 2009-03-05 Ariya Hidayat <ariya.hidayat@nokia.com> |
|
12896 |
|
12897 Rubber-stamped by Simon Hausmann. |
|
12898 |
|
12899 [Qt] NPAPI plugins are supported, adjust the API documentation. |
|
12900 |
|
12901 * Api/qwebsettings.cpp: |
|
12902 |
|
12903 2009-03-04 Adam Barth <abath@webkit.org> |
|
12904 |
|
12905 Reviewed by Alexey Proskuryakov. |
|
12906 |
|
12907 https://bugs.webkit.org/show_bug.cgi?id=24356 |
|
12908 |
|
12909 Fix WebKit style for allowUniversalAccessFromFileURLs. |
|
12910 |
|
12911 * Api/qwebsettings.cpp: |
|
12912 (QWebSettingsPrivate::apply): |
|
12913 |
|
12914 2009-03-03 Adam Barth <abarth@webkit.org> |
|
12915 |
|
12916 Reviewed by Alexey Proskuryakov. |
|
12917 |
|
12918 https://bugs.webkit.org/show_bug.cgi?id=24340 |
|
12919 |
|
12920 Expose AllowUniversalAccessFromFileUrls to Qt clients. |
|
12921 |
|
12922 * Api/qwebsettings.cpp: |
|
12923 (QWebSettingsPrivate::apply): |
|
12924 (QWebSettings::QWebSettings): |
|
12925 * Api/qwebsettings.h: |
|
12926 |
|
12927 2009-03-03 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
12928 |
|
12929 Rubber-stamped by Simon Hausmann. |
|
12930 |
|
12931 [Qt] Create and update the action for SelectAll. |
|
12932 |
|
12933 * Api/qwebpage.cpp: |
|
12934 (QWebPagePrivate::updateAction): |
|
12935 (QWebPagePrivate::updateEditorActions): |
|
12936 (QWebPage::action): |
|
12937 * tests/qwebpage/tst_qwebpage.cpp: |
|
12938 (tst_QWebPage::textSelection): |
|
12939 |
|
12940 2009-03-02 Adam Treat <adam.treat@torchmobile.com> |
|
12941 |
|
12942 Reviewed by Eric Seidel. |
|
12943 |
|
12944 Add three new drt helper functions that enable all of the tests in |
|
12945 LayoutTests/animation/* and LayoutTests/transitions/* to now pass. |
|
12946 |
|
12947 * Api/qwebframe.cpp: |
|
12948 (qt_drt_pauseAnimation): |
|
12949 (qt_drt_pauseTransitionOfProperty): |
|
12950 (qt_drt_numberOfActiveAnimations): |
|
12951 |
|
12952 2009-03-02 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
12953 |
|
12954 Reviewed by George Staikos. |
|
12955 |
|
12956 https://bugs.webkit.org/show_bug.cgi?id=21230 |
|
12957 On X11 match the behavior of Firefox and also copy the url to the |
|
12958 clipboard selection when the action Copy Link Location is executed. |
|
12959 |
|
12960 * Api/qwebpage.cpp: |
|
12961 (QWebPage::triggerAction): |
|
12962 |
|
12963 2009-02-25 Kavindra Palaraja <kavindra.palaraja@nokia.com> |
|
12964 |
|
12965 Reviewed by Simon Hausmann. |
|
12966 |
|
12967 Fix the documentation for the linkHovered signal. |
|
12968 |
|
12969 * Api/qwebpage.cpp: |
|
12970 |
|
12971 2009-02-23 Adam Treat <adam.treat@torchmobile.com> |
|
12972 |
|
12973 Reviewed by Darin Adler. |
|
12974 |
|
12975 https://bugs.webkit.org/show_bug.cgi?id=24094 |
|
12976 Make sure to empty the cache on exit to get rid of superfluous leak messages |
|
12977 for CachedResource's in order to keep the leak messages accurate. This |
|
12978 is analagous to what the Mac port is doing on application exit when all |
|
12979 WebView's have been closed. |
|
12980 |
|
12981 * Api/qwebpage.cpp: |
|
12982 (QWebPagePrivate::_q_cleanupLeakMessages): |
|
12983 (QWebPage::QWebPage): |
|
12984 * Api/qwebpage.h: |
|
12985 * Api/qwebpage_p.h: |
|
12986 |
|
12987 2009-02-23 Thiago Macieira <thiago.macieira@nokia.com> |
|
12988 |
|
12989 Reviewed by Simon Hausmann. |
|
12990 |
|
12991 Fix the Copyright notices in a few files |
|
12992 |
|
12993 * WebKit_pch.h: |
|
12994 |
|
12995 2009-02-16 Simon Hausmann <simon.hausmann@nokia.com> |
|
12996 |
|
12997 Reviewed by Tor Arne Vestbø. |
|
12998 |
|
12999 Avoid loading plugins when they're disabled in the settings. |
|
13000 |
|
13001 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13002 (WebCore::FrameLoaderClientQt::canShowMIMEType): Don't call into the |
|
13003 PluginDatabase if plugins are disabled in the settings. |
|
13004 |
|
13005 2009-02-13 Benjamin C Meyer <benjamin.meyer@torchmobile.com> |
|
13006 |
|
13007 Reviewed by Nikolas Zimmermann. |
|
13008 |
|
13009 https://bugs.webkit.org/show_bug.cgi?id=23738 |
|
13010 Expose the url elements target frame string. This is the sister function |
|
13011 to the existing linkTargetFrame which returns the QWebFrame*. When the |
|
13012 linkTargetFrame is 0 it is useful to know what the target was to be. |
|
13013 |
|
13014 * Api/qwebframe.cpp: |
|
13015 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
13016 (QWebHitTestResult::linkTarget): |
|
13017 * Api/qwebframe.h: |
|
13018 * Api/qwebframe_p.h: |
|
13019 * tests/qwebframe/tst_qwebframe.cpp: |
|
13020 |
|
13021 2009-02-13 David Boddie <dboddie@trolltech.com> |
|
13022 |
|
13023 Reviewed by Simon Hausmann. |
|
13024 |
|
13025 Removed documentation for internal functions. |
|
13026 |
|
13027 * Api/qwebsettings.cpp: |
|
13028 |
|
13029 2009-02-13 Martin Smith <msmith@trolltech.com> |
|
13030 |
|
13031 Reviewed by Simon Hausmann. |
|
13032 |
|
13033 Corrected some minor qdoc errors. |
|
13034 |
|
13035 * Api/qwebsettings.cpp: |
|
13036 |
|
13037 2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com> |
|
13038 |
|
13039 Stub out InspectorClientQt::hiddenPanels. |
|
13040 |
|
13041 Reviewed by Timothy Hatcher. |
|
13042 |
|
13043 * WebCoreSupport/InspectorClientQt.cpp: |
|
13044 (WebCore::InspectorClientQt::hiddenPanels): |
|
13045 * WebCoreSupport/InspectorClientQt.h: |
|
13046 |
|
13047 2009-02-10 Karsten Heimrich <kheimric@trolltech.com> |
|
13048 |
|
13049 Reviewed by Simon Hausmann. |
|
13050 |
|
13051 Fixes missing navigation/url update while clicking on anchor inside |
|
13052 webpage. |
|
13053 |
|
13054 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13055 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage): |
|
13056 update and emit in case we navigate inside a webpage |
|
13057 |
|
13058 2009-02-10 Adam Treat <adam.treat@torchmobile.com> |
|
13059 |
|
13060 Fix the Qt build as class Selection is now VisibleSelection. |
|
13061 |
|
13062 * Api/qwebpage.cpp: |
|
13063 (QWebPage::inputMethodQuery): |
|
13064 |
|
13065 2009-02-06 Geoffrey Garen <ggaren@apple.com> |
|
13066 |
|
13067 Build fix. |
|
13068 |
|
13069 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13070 (WebCore::FrameLoaderClientQt::updateGlobalHistoryRedirectLinks): |
|
13071 * WebCoreSupport/FrameLoaderClientQt.h: |
|
13072 |
|
13073 2009-02-06 Kavindra Palaraja <kavindra.palaraja@nokia.com> |
|
13074 |
|
13075 Reviewed by Simon Hausmann. |
|
13076 |
|
13077 Doc - made 2 functions internal as they are not part of the API anymore (and this fixes 2 qdoc warnings) |
|
13078 |
|
13079 * Api/qwebsettings.cpp: |
|
13080 |
|
13081 2009-02-06 Simon Hausmann <simon.hausmann@nokia.com> |
|
13082 |
|
13083 Reviewed by Tor Arne Vestbø. |
|
13084 |
|
13085 Added an overload of QWebFrame::addToJavaScriptWindowObject that takes a QScriptEngine::ValueOwnership parameter. |
|
13086 |
|
13087 * Api/qwebframe.cpp: |
|
13088 (QWebFrame::addToJavaScriptWindowObject): New overload. |
|
13089 * Api/qwebframe.h: |
|
13090 * tests/qwebframe/tst_qwebframe.cpp: Added unit tests for ownership |
|
13091 models. |
|
13092 |
|
13093 2009-02-06 Aaron Boodman <aa@chromium.org> |
|
13094 |
|
13095 Reviewed by Holger Freyther. |
|
13096 |
|
13097 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13098 (WebCore::FrameLoaderClientQt::documentElementAvailable):) |
|
13099 Fix compile error in Qt build introduced by the below change (r40694). |
|
13100 |
|
13101 2009-02-05 Aaron Boodman <aa@chromium.org> |
|
13102 |
|
13103 Reviewed by Dave Hyatt. |
|
13104 |
|
13105 https://bugs.webkit.org/show_bug.cgi?id=23708 |
|
13106 Adds documentElementAvailable() callback to FrameLoaderClient. |
|
13107 |
|
13108 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13109 (WebCore::FrameLoaderClient::documentElementAvailable): |
|
13110 Stub out documentElementAvailable(). |
|
13111 * WebCoreSupport/FrameLoaderClientQt.h: |
|
13112 Ditto. |
|
13113 |
|
13114 2009-02-04 David Boddie <dboddie@trolltech.com> |
|
13115 |
|
13116 Reviewed by Simon Hausmann. |
|
13117 |
|
13118 Doc: Documented the return value of the evaluateJavaScript() function. |
|
13119 |
|
13120 * Api/qwebframe.cpp: |
|
13121 |
|
13122 2009-02-03 Simon Hausmann <simon.hausmann@nokia.com> |
|
13123 |
|
13124 Reviewed by Tor Arne Vestbø. |
|
13125 |
|
13126 Added a unit test to verify the succesful conversion from QByteArray to |
|
13127 JSByteArray and back to QByteArray. |
|
13128 |
|
13129 * tests/qwebframe/tst_qwebframe.cpp: |
|
13130 |
|
13131 2009-02-02 Geoffrey Garen <ggaren@apple.com> |
|
13132 |
|
13133 Build fix. |
|
13134 |
|
13135 * Api/qwebframe.cpp: |
|
13136 (QWebFrame::QWebFrame): |
|
13137 (QWebFrame::load): |
|
13138 (QWebFrame::setHtml): |
|
13139 (QWebFrame::setContent): |
|
13140 |
|
13141 2009-02-02 Geoffrey Garen <ggaren@apple.com> |
|
13142 |
|
13143 Build fix. |
|
13144 |
|
13145 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13146 (WebCore::FrameLoaderClientQt::createFrame): |
|
13147 |
|
13148 2009-02-02 Geoffrey Garen <ggaren@apple.com> |
|
13149 |
|
13150 Reviewed by Sam Weinig. |
|
13151 |
|
13152 Track redirects in global history. |
|
13153 |
|
13154 Keep Qt building. |
|
13155 |
|
13156 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13157 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForRedirectWithoutHistoryItem): |
|
13158 (WebCore::FrameLoaderClientQt::createFrame): |
|
13159 * WebCoreSupport/FrameLoaderClientQt.h: |
|
13160 |
|
13161 2009-02-02 Anders Carlsson <andersca@apple.com> |
|
13162 |
|
13163 Reviewed by Dan Bernstein. |
|
13164 |
|
13165 Update for changes to WebCore. |
|
13166 |
|
13167 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13168 (WebCore::FrameLoaderClientQt::createPlugin): |
|
13169 (WebCore::FrameLoaderClientQt::createJavaAppletWidget): |
|
13170 * WebCoreSupport/FrameLoaderClientQt.h: |
|
13171 |
|
13172 2009-02-02 Adam Treat <adam.treat@torchmobile.com> |
|
13173 |
|
13174 Reviewed by Nikolas Zimmermann. |
|
13175 |
|
13176 https://bugs.webkit.org/show_bug.cgi?id=23587 |
|
13177 Refactor HitTestRequest to eliminate all the ugly boolean arguments and |
|
13178 use an enum bitflag instead. Cleanup all the code that constructs the |
|
13179 various HitTestRequests to make the code more readable. |
|
13180 |
|
13181 * Api/qwebframe.cpp: |
|
13182 (QWebFrame::hitTestContent): |
|
13183 |
|
13184 2009-02-02 Adam Treat <adam.treat@torchmobile.com> |
|
13185 |
|
13186 Fix the Qt build to call forceLayout on the view instead. |
|
13187 |
|
13188 * Api/qwebpage.cpp: |
|
13189 (QWebPage::setFixedLayoutSize): |
|
13190 (QWebPage::setUseFixedLayout): |
|
13191 |
|
13192 2009-02-02 Holger Hans Peter Freyther <zecke@selfish.org> |
|
13193 |
|
13194 Reviewed by Darin Adler. |
|
13195 |
|
13196 Move Frame::forceLayout, Frame::adjustPageHeight and Frame::forceLayoutWithPageWidthRange to FrameView |
|
13197 |
|
13198 https://bugs.webkit.org/show_bug.cgi?id=23428 |
|
13199 |
|
13200 FrameView::forceLayout could be killed but the comment might |
|
13201 contain a value over the the plain FrameView::layout... |
|
13202 |
|
13203 Adjust the WebCore/WebKit consumers of these methods. |
|
13204 |
|
13205 * Api/qwebpage.cpp: |
|
13206 (QWebPage::setViewportSize): |
|
13207 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13208 (WebCore::FrameLoaderClientQt::forceLayout): |
|
13209 |
|
13210 2009-01-30 Geoffrey Garen <ggaren@apple.com> |
|
13211 |
|
13212 Build fix. |
|
13213 |
|
13214 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13215 (WebCore::FrameLoaderClientQt::createFrame): |
|
13216 |
|
13217 2009-01-30 Holger Hans Peter Freyther <zecke@selfish.org> |
|
13218 |
|
13219 Reviewed by Simon Hausmann. |
|
13220 |
|
13221 https://bugs.webkit.org/show_bug.cgi?id=22056 |
|
13222 |
|
13223 Kill FrameLoaderClient.cpp, move the code over to Frame::createView |
|
13224 |
|
13225 FrameLoaderClient is supposed to be an interface, move the |
|
13226 to be shared code to Frame which is a controller and is |
|
13227 allowed to create a FrameView. |
|
13228 |
|
13229 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13230 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
13231 |
|
13232 2009-01-30 Geoffrey Garen <ggaren@apple.com> |
|
13233 |
|
13234 Reviewed by Sam Weinig. |
|
13235 |
|
13236 Split "lockHistory" into "lockHistory" and "lockBackForwardList" in |
|
13237 preparation for setting them differently during a redirect. |
|
13238 |
|
13239 * Api/qwebpage.cpp: |
|
13240 (QWebPage::triggerAction): |
|
13241 |
|
13242 2009-01-30 Brady Eidson <beidson@apple.com> |
|
13243 |
|
13244 Reviewed by Sam Weinig |
|
13245 |
|
13246 Remove FrameLoaderClient code that is now handled by FrameLoader itself |
|
13247 |
|
13248 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13249 (WebCore::FrameLoaderClientQt::frameLoadCompleted): |
|
13250 |
|
13251 2009-01-30 Simon Hausmann <simon.hausmann@nokia.com> |
|
13252 |
|
13253 Reviewed by Tor Arne Vestbø. |
|
13254 |
|
13255 Hide the Offline Web Application Cache path API from the public API |
|
13256 for now. |
|
13257 |
|
13258 * Api/qwebsettings.cpp: |
|
13259 (qt_websettings_setOfflineWebApplicationCachePath): |
|
13260 (qt_websettings_offlineWebApplicationCachePath): |
|
13261 * Api/qwebsettings.h: |
|
13262 |
|
13263 2009-01-28 Adam Treat <adam.treat@torchmobile.com> |
|
13264 |
|
13265 Reviewed by Nikolas Zimmermann and George Staikos. |
|
13266 |
|
13267 https://bugs.webkit.org/show_bug.cgi?id=23557 |
|
13268 Do not clip the QWebFrame::hitTestContent method to the visible viewport |
|
13269 and add a regression test to make sure it works. |
|
13270 |
|
13271 * Api/qwebframe.cpp: |
|
13272 (QWebFrame::hitTestContent): |
|
13273 * tests/qwebframe/tst_qwebframe.cpp: |
|
13274 |
|
13275 2009-01-28 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13276 |
|
13277 Rubber-stamped by Simon Hausmann. |
|
13278 |
|
13279 Provide default implementations of JavaScript dialog boxes like in |
|
13280 most web browsers, i.e. indicate that is from JavaScript and show the |
|
13281 frame URL. |
|
13282 |
|
13283 * Api/qwebpage.cpp: |
|
13284 (QWebPage::javaScriptAlert): |
|
13285 (QWebPage::javaScriptConfirm): |
|
13286 (QWebPage::javaScriptPrompt): |
|
13287 |
|
13288 2009-01-27 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13289 |
|
13290 Reviewed by Simon Hausmann. |
|
13291 |
|
13292 http://qt.nokia.com/developer/task-tracker/index_html?id=238391&method=entry |
|
13293 |
|
13294 [Qt] If QPainter fails to start on a QPrinter instance, do not |
|
13295 continue printing. |
|
13296 |
|
13297 * Api/qwebframe.cpp: |
|
13298 (QWebFrame::print): |
|
13299 |
|
13300 2009-01-27 Brady Eidson <beidson@apple.com> |
|
13301 |
|
13302 Reviewed by Dan Bernstein |
|
13303 |
|
13304 Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage |
|
13305 |
|
13306 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13307 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedFrame): |
|
13308 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedFrame): |
|
13309 * WebCoreSupport/FrameLoaderClientQt.h: |
|
13310 |
|
13311 2009-01-26 Simon Fraser <simon.fraser@apple.com> |
|
13312 |
|
13313 Reviewed by David Hyatt |
|
13314 |
|
13315 Back out r40285, because it was checked in with no bug number, no |
|
13316 testcase, is rendering change that did not get thorough review, |
|
13317 and broke the Mac build. |
|
13318 |
|
13319 * Api/qwebframe.cpp: |
|
13320 (QWebFrame::hitTestContent): |
|
13321 |
|
13322 2009-01-26 Adam Treat <adam.treat@torchmobile.com> |
|
13323 |
|
13324 Reviewed by Nikolas Zimmermann. |
|
13325 |
|
13326 Do not clip the QWebFrame::hitTestContent method to the visible viewport. |
|
13327 |
|
13328 * Api/qwebframe.cpp: |
|
13329 (QWebFrame::hitTestContent): |
|
13330 |
|
13331 2009-01-26 David Boddie <dboddie@trolltech.com> |
|
13332 |
|
13333 Reviewed by Simon Hausmann. |
|
13334 |
|
13335 Doc: qdoc fix for a link to a property and added a basic description of the offline caching and storage features from HTML 5. |
|
13336 |
|
13337 * Api/qwebpage.cpp: |
|
13338 * Api/qwebsettings.cpp: |
|
13339 |
|
13340 2009-01-25 Urs Wolfer <uwolfer@kde.org> |
|
13341 |
|
13342 Reviewed by Simon Hausmann. |
|
13343 |
|
13344 Add QWebPage::SelectAll to WebAction enum to select all content. |
|
13345 |
|
13346 https://bugs.webkit.org/show_bug.cgi?id=22946 |
|
13347 |
|
13348 * Api/qwebpage.cpp: |
|
13349 (QWebPagePrivate::editorActionForKeyEvent): |
|
13350 * Api/qwebpage.h: |
|
13351 |
|
13352 2009-01-25 David Boddie <dboddie@trolltech.com> |
|
13353 |
|
13354 Reviewed by Simon Hausmann. |
|
13355 |
|
13356 Doc: Fixed the terminology used. |
|
13357 |
|
13358 * Api/qwebpage.cpp: |
|
13359 |
|
13360 2009-01-25 Thiago Macieira <thiago.macieira@nokia.com> |
|
13361 |
|
13362 Reviewed by Simon Hausmann. |
|
13363 |
|
13364 Rename links from trolltech.com to qtsoftware.com |
|
13365 |
|
13366 * Api/qwebpluginfactory.cpp: |
|
13367 |
|
13368 2009-01-25 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
13369 |
|
13370 Reviewed by Simon Hausmann. |
|
13371 |
|
13372 Make QWebPage auto-test more robust by cleaning up generated files |
|
13373 |
|
13374 Sometimes the auto-test may segfault, leaving behind files because the |
|
13375 call to cleanupTestCase() never happens, so we also clean up the files |
|
13376 at initTestCase() just to make sure we're running in a clean environment. |
|
13377 |
|
13378 * tests/qwebpage/tst_qwebpage.cpp: |
|
13379 (tst_QWebPage::cleanupFiles): |
|
13380 (tst_QWebPage::initTestCase): |
|
13381 (tst_QWebPage::cleanupTestCase): |
|
13382 |
|
13383 2008-12-20 Urs Wolfer <uwolfer@kde.org> |
|
13384 |
|
13385 Reviewed by Simon Hausmann. |
|
13386 |
|
13387 Fix: compile qwebhistory.h with pendantic comiler flag. |
|
13388 |
|
13389 https://bugs.webkit.org/show_bug.cgi?id=22947 |
|
13390 |
|
13391 * Api/qwebhistory.h: |
|
13392 |
|
13393 2009-01-24 Adam Treat <adam.treat@torchmobile.com> |
|
13394 |
|
13395 Oops, fix the Qt build. |
|
13396 |
|
13397 * Api/qwebframe.cpp: |
|
13398 (QWebFrame::render): |
|
13399 |
|
13400 2009-01-24 Adam Treat <adam.treat@torchmobile.com> |
|
13401 |
|
13402 Reviewed by Nikolas Zimmermann. |
|
13403 |
|
13404 Add QWebFrame::renderContents() method which allows arbitary rendering |
|
13405 of any content region within the QWebFrame. It also does not draw any |
|
13406 scrollbars. |
|
13407 |
|
13408 * Api/qwebframe.cpp: |
|
13409 (QWebFrame::renderContents): |
|
13410 * Api/qwebframe.h: |
|
13411 |
|
13412 2009-01-23 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13413 |
|
13414 Reviewed by Simon Hausmann. |
|
13415 |
|
13416 Make the test more robust by taking into account the platform-specific |
|
13417 cursor flashing time. |
|
13418 |
|
13419 * tests/qwebframe/tst_qwebframe.cpp: |
|
13420 |
|
13421 2009-01-20 Friedemann Kleint <Friedemann.Kleint@nokia.com> |
|
13422 |
|
13423 Reviewed by Simon Hausmann. |
|
13424 |
|
13425 Fix spelling error in QWebPage |
|
13426 |
|
13427 * Api/qwebpage.cpp: |
|
13428 (QWebPage::action): |
|
13429 |
|
13430 2009-01-19 Simon Hausmann <simon.hausmann@nokia.com> |
|
13431 |
|
13432 Reviewed by Tor Arne Vestbø. |
|
13433 |
|
13434 Fix calling of onkeypress event handlers on input elements when pressing enter |
|
13435 and other text insertion commands in the Qt port. |
|
13436 |
|
13437 Similar to the win and mac ports don't execute text inserting editor |
|
13438 commands on RawKeyDown but continue processing the event first in |
|
13439 WebCore, i.e. also get a keypress event sent. If unhandled it will |
|
13440 come back to EditorClientQt::handleKeyboardEvent later and we execute |
|
13441 it then. |
|
13442 |
|
13443 This also fixes search by pressing enter on www.trafikanten.no. |
|
13444 |
|
13445 * Api/qwebpage.cpp: |
|
13446 (QWebPagePrivate::editorCommandForWebActions): Make function |
|
13447 accessible from other files. |
|
13448 (QWebPage::triggerAction): Adjust to new function visibility. |
|
13449 * Api/qwebpage_p.h: Ditto. |
|
13450 * WebCoreSupport/EditorClientQt.cpp: |
|
13451 (WebCore::EditorClientQt::handleKeyboardEvent): Don't execute |
|
13452 text inserting commands on RawKeyPressDown. |
|
13453 |
|
13454 2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13455 |
|
13456 Rubber-stamped by Simon Hausmann. |
|
13457 |
|
13458 [Qt] Increase popup focus delay time to a sensible 500 ms. |
|
13459 |
|
13460 * tests/qwebframe/tst_qwebframe.cpp: |
|
13461 |
|
13462 2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13463 |
|
13464 Reviewed by Adam Roben. |
|
13465 |
|
13466 [Qt] Prevent crash if plugin data is NULL. |
|
13467 |
|
13468 * WebCoreSupport/FrameLoaderClientQt.cpp: NULL check. |
|
13469 (WebCore::FrameLoaderClientQt::objectContentType): |
|
13470 |
|
13471 2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13472 |
|
13473 Rubber-stamped by Simon Hausmann. |
|
13474 |
|
13475 [Qt] Per-line cursor movement tests depend on platform-specific font |
|
13476 metrics. Remove them to avoid test failures on different platforms. |
|
13477 |
|
13478 * tests/qwebpage/tst_qwebpage.cpp: |
|
13479 (tst_QWebPage::cursorMovements): |
|
13480 |
|
13481 2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13482 |
|
13483 Rubber-stamped by Simon Hausmann. |
|
13484 |
|
13485 http://qt.nokia.com/developer/task-tracker/index_html?id=219344&method=entry |
|
13486 |
|
13487 [Qt] API documentation for QWebPage::WebAction enum. |
|
13488 |
|
13489 * Api/qwebpage.cpp: |
|
13490 |
|
13491 2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13492 |
|
13493 Another attempt at fixing the Qt build. |
|
13494 |
|
13495 * Api/qwebframe.cpp: |
|
13496 (QWebFrame::addToJavaScriptWindowObject): |
|
13497 |
|
13498 2009-01-14 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13499 |
|
13500 Reviewed by Tor Arne Vestbø. |
|
13501 |
|
13502 [Qt] Unit tests for text selection and editing actions of QWebPage. |
|
13503 The following are tested: |
|
13504 - the actions are not NULL |
|
13505 - the actions are disabled when contentEditable is false |
|
13506 - the actions are enabled when contentEditable is true |
|
13507 |
|
13508 * tests/qwebpage/tst_qwebpage.cpp: |
|
13509 (tst_QWebPage::textSelection): |
|
13510 (tst_QWebPage::textEditing): |
|
13511 |
|
13512 2009-01-14 Simon Hausmann <simon.hausmann@nokia.com> |
|
13513 |
|
13514 Reviewed by Tor Arne Vestbø. |
|
13515 |
|
13516 Fix failing assertion when pressing an extra mouse button on a |
|
13517 QWebView. |
|
13518 |
|
13519 Mice with more than three buttons - for example with a dedicated |
|
13520 "back" button - can generate Qt::XButton1 or Button2. |
|
13521 WebCore::MouseButton contains only Left, Middle and Right, so in |
|
13522 Qt's PlatformMouseEvent we map to NoButton, resulting in a mouse |
|
13523 press or release even with no button set. That triggers an assertion |
|
13524 in EventTargetNode::dispatchMouseEvent requiring that either a button |
|
13525 is set or it is just a mouse move event, which is correct. |
|
13526 |
|
13527 In QWebPage decide not to dispatch such mouse events where we cannot |
|
13528 map the mouse button to a WebCore::MouseButton. |
|
13529 |
|
13530 * Api/qwebpage.cpp: |
|
13531 (QWebPagePrivate::mousePressEvent): |
|
13532 (QWebPagePrivate::mouseDoubleClickEvent): |
|
13533 (QWebPagePrivate::mouseTripleClickEvent): |
|
13534 (QWebPagePrivate::mouseReleaseEvent): |
|
13535 |
|
13536 2009-01-14 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13537 |
|
13538 Reviewed by Simon Hausmann. |
|
13539 |
|
13540 http://qt.nokia.com/developer/task-tracker/index_html?id=241144&method=entry |
|
13541 |
|
13542 [Qt] Create actions for text selection and editing for QWebPage. |
|
13543 Also properly disable and enable them when contentEditable is toggled. |
|
13544 |
|
13545 * Api/qwebpage.cpp: |
|
13546 (QWebPagePrivate::updateAction): |
|
13547 (QWebPagePrivate::updateEditorActions): |
|
13548 (QWebPage::action): |
|
13549 |
|
13550 2009-01-14 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13551 |
|
13552 Reviewed by Simon Hausmann. |
|
13553 |
|
13554 [Qt] Unit tests for cursor movements. The following are tested: |
|
13555 - the actions are not NULL |
|
13556 - the actions are disabled when contentEditable is false |
|
13557 - the actions are enabled when contentEditable is true |
|
13558 - the cursor moves properly when the actions are triggered |
|
13559 |
|
13560 * tests/qwebpage/tst_qwebpage.cpp: |
|
13561 (CursorTrackedPage::CursorTrackedPage): |
|
13562 (CursorTrackedPage::selectedText): |
|
13563 (CursorTrackedPage::selectionStartOffset): |
|
13564 (CursorTrackedPage::selectionEndOffset): |
|
13565 (CursorTrackedPage::isSelectionCollapsed): |
|
13566 (tst_QWebPage::cursorMovements): |
|
13567 |
|
13568 2009-01-08 Yongjun Zhang <yongjun.zhang@nokia.com> |
|
13569 |
|
13570 Reviewed by Simon Hausmann. |
|
13571 |
|
13572 https://bugs.webkit.org/show_bug.cgi?id=23187 |
|
13573 |
|
13574 Update webview with the intersected rect. |
|
13575 |
|
13576 In ChromeClientQt::repaint, view should be updated with the |
|
13577 intersected rect, not the whole windowRect; |
|
13578 |
|
13579 This generally is not a problem for normal viewport setup where |
|
13580 viewport size is the same as the qwebview widget size. However, if we |
|
13581 set the viewport size smaller than qwebkit widget, we will see |
|
13582 unwanted painting outside the viewport. |
|
13583 |
|
13584 * WebCoreSupport/ChromeClientQt.cpp: |
|
13585 (WebCore::ChromeClientQt::repaint): |
|
13586 |
|
13587 2009-01-13 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13588 |
|
13589 Rubber-stamped by Tor Arne Vestbø. |
|
13590 |
|
13591 [Qt] Missing piece from my previous commit: |
|
13592 Disable and enable the cursor navigation actions when contentEditable |
|
13593 is changed. |
|
13594 |
|
13595 * Api/qwebpage.cpp: |
|
13596 (QWebPagePrivate::updateEditorActions): |
|
13597 |
|
13598 2009-01-13 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13599 |
|
13600 Reviewed by Tor Arne Vestbø. |
|
13601 |
|
13602 [Qt] Create actions for cursor navigation for QWebPage. |
|
13603 Also properly disable and enable them when contentEditable is toggled. |
|
13604 |
|
13605 * Api/qwebpage.cpp: |
|
13606 (QWebPagePrivate::updateAction): |
|
13607 (QWebPage::action): |
|
13608 |
|
13609 2009-01-13 Simon Hausmann <simon.hausmann@nokia.com> |
|
13610 |
|
13611 Reviewed by Tor Arne Vestbø. |
|
13612 |
|
13613 https://bugs.webkit.org/show_bug.cgi?id=23171 |
|
13614 |
|
13615 Based on patch by Yael Aharon <yael.aharon@nokia.com> |
|
13616 |
|
13617 Make the QWebSettings functions for setting the path for the local |
|
13618 storage database private QtWebkit API, including the ability to |
|
13619 associated a QWebPage with a named page group. |
|
13620 |
|
13621 * Api/qwebpage.cpp: |
|
13622 (qt_webpage_setGroupName): Added. |
|
13623 (qt_webpage_groupName): Added. |
|
13624 * Api/qwebpage.h: |
|
13625 (ExtensionOption::handle): Added internal helper function. |
|
13626 * Api/qwebsettings.cpp: |
|
13627 (qt_websettings_setLocalStorageDatabasePath): Made private API. |
|
13628 (qt_websettings_localStorageDatabasePath): Made private API. |
|
13629 * Api/qwebsettings.h: |
|
13630 * tests/qwebpage/tst_qwebpage.cpp: |
|
13631 (tst_QWebPage::database): Small cleanup. |
|
13632 (tst_QWebPage::multiplePageGroupsAndLocalStorage): New test for the |
|
13633 page group handling, written by Yael. |
|
13634 |
|
13635 2009-01-12 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
13636 |
|
13637 Reviewed by Simon Hausmann. |
|
13638 |
|
13639 [Qt] Ensure that we're always notified of navigation actions for local anchors |
|
13640 |
|
13641 FrameLoader::checkNavigationPolicy() does not notify us if the request has |
|
13642 been checked before (which happens for local anchors), but in the case of |
|
13643 our clients not accepting the navigation request we do want to be notified |
|
13644 again later on, so we clear the lastCheckedRequest flag. |
|
13645 |
|
13646 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13647 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
13648 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
13649 |
|
13650 2009-01-12 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13651 |
|
13652 Rubber-stamped by Tor Arne Vestbø. |
|
13653 |
|
13654 Build fix: use qobject_cast which does not rely on RTTI. This fixes the |
|
13655 unit test when building it with a version of Qt (e.g. Qt/Embedded) |
|
13656 configured without RTTI. |
|
13657 |
|
13658 * tests/qwebframe/tst_qwebframe.cpp: |
|
13659 |
|
13660 2009-01-12 Simon Hausmann <simon.hausmann@nokia.com> |
|
13661 |
|
13662 Rubber-stamped by Tor Arne Vestbø. |
|
13663 |
|
13664 When the QWebView is disabled context menus implemented in JavaScript should not pop up. |
|
13665 |
|
13666 Just like in QWidget::event() we have to check for the disabled state and |
|
13667 ignore context menu events. |
|
13668 |
|
13669 * Api/qwebview.cpp: |
|
13670 |
|
13671 2009-01-12 Simon Hausmann <simon.hausmann@nokia.com |
|
13672 |
|
13673 Reviewed by Tor Arne Vestbø. |
|
13674 |
|
13675 Fix QWebView appearance when showed uninitialized without page. |
|
13676 |
|
13677 Only set WA_OpaquePaintEvent if we have a page set that will actually |
|
13678 paint the entire contents, otherwise the optimization does not apply |
|
13679 as we do not have a paintEvent() implementation and Qt has to fill the |
|
13680 view with its default background instead. |
|
13681 |
|
13682 * Api/qwebview.cpp: |
|
13683 (QWebView::QWebView): |
|
13684 (QWebView::setPage): |
|
13685 |
|
13686 2009-01-11 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13687 |
|
13688 Rubber-stamped by Tor Arne Vestbø. |
|
13689 |
|
13690 Do not create a QVariant from QObject* directly, use the |
|
13691 template-specialized function. |
|
13692 |
|
13693 * tests/qwebframe/tst_qwebframe.cpp: |
|
13694 (MyQObject::myOverloadedSlot): |
|
13695 |
|
13696 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
13697 |
|
13698 Rubber-stamped by Tor Arne Vestbø. |
|
13699 |
|
13700 Documentation fixes, remove duplicated docs, document missing |
|
13701 parameters and return values. |
|
13702 |
|
13703 * Api/qwebdatabase.cpp: |
|
13704 * Api/qwebpage.cpp: |
|
13705 |
|
13706 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
13707 |
|
13708 Reviewed by Tor Arne Vestbø. |
|
13709 |
|
13710 Fix linking against QtWebKit on Windows, by defining the EXPORT macros |
|
13711 _exactly_ the same way as in qglobal.h, depending on QT_NODLL, |
|
13712 QT_MAKEDLL and QT_SHARED. |
|
13713 |
|
13714 * Api/qwebkitglobal.h: |
|
13715 |
|
13716 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
13717 |
|
13718 Reviewed by Tor Arne Vestbø. |
|
13719 |
|
13720 Remove qwebnetworkinterface.h from WEBKIT_API_HEADERS as it's not |
|
13721 public Qt 4.4/4.5 API. |
|
13722 |
|
13723 * Api/headers.pri: |
|
13724 |
|
13725 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
13726 |
|
13727 Unreviewed Qt build fix, remove qcookiejar.h from the API headers and |
|
13728 therefore HEADERS. It's not part of the API and it moc shouldn't be |
|
13729 called on it. |
|
13730 |
|
13731 * Api/headers.pri: |
|
13732 |
|
13733 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com> |
|
13734 |
|
13735 Rubber-stamped by Tor Arne Vestbø. |
|
13736 |
|
13737 Remove files not present anymore from the WEBKIT_API_HEADERS variable. |
|
13738 |
|
13739 * Api/headers.pri: |
|
13740 |
|
13741 2009-01-08 Adam Treat <adam.treat@torchmobile.com> |
|
13742 |
|
13743 Reviewed by Simon Hausmann. |
|
13744 |
|
13745 Don't set the minimumFontSize and minimumLogicalFontSize as these are |
|
13746 just for accessibility and should be left up to the client application. |
|
13747 |
|
13748 * Api/qwebsettings.cpp: |
|
13749 (QWebSettings::QWebSettings): |
|
13750 |
|
13751 2009-01-08 Kavindra Palaraja <kdpalara@trolltech.com> |
|
13752 |
|
13753 Reviewed by Simon Hausmann. |
|
13754 |
|
13755 Small fixes to the API documentation, missing 4.5 tags and |
|
13756 undocumented parameters. |
|
13757 |
|
13758 * Api/qwebhistory.cpp: |
|
13759 * Api/qwebpage.cpp: |
|
13760 * Api/qwebsettings.cpp: |
|
13761 |
|
13762 2009-01-07 Adam Treat <adam.treat@torchmobile.com> |
|
13763 |
|
13764 Reviewed by George Staikos. |
|
13765 |
|
13766 Add Qt API to QWebHitTestResult::isScrollBar method |
|
13767 |
|
13768 * Api/qwebframe.cpp: |
|
13769 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
13770 (QWebHitTestResult::isScrollBar): |
|
13771 * Api/qwebframe.h: |
|
13772 * Api/qwebframe_p.h: |
|
13773 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
13774 |
|
13775 2009-01-07 Adam Treat <adam.treat@torchmobile.com> |
|
13776 |
|
13777 Reviewed by George Staikos. |
|
13778 |
|
13779 Add Qt API for QWebFrame::scrollBarGeometry method |
|
13780 |
|
13781 * Api/qwebframe.cpp: |
|
13782 (QWebFrame::scrollBarGeometry): |
|
13783 * Api/qwebframe.h: |
|
13784 |
|
13785 2009-01-07 Adam Treat <adam.treat@torchmobile.com> |
|
13786 |
|
13787 Reviewed by George Staikos. |
|
13788 |
|
13789 Fix unused variable warnings |
|
13790 |
|
13791 * tests/qwebpage/tst_qwebpage.cpp: |
|
13792 (TestPage::createWindow): |
|
13793 |
|
13794 2009-01-07 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13795 |
|
13796 Rubber-stamped by Simon Hausmann. |
|
13797 |
|
13798 Qt build fix after r39670. |
|
13799 |
|
13800 * Api/qwebframe.cpp: |
|
13801 (QWebFrame::evaluateJavaScript): |
|
13802 |
|
13803 2009-01-06 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13804 |
|
13805 Reviewed by Holger Freyther. |
|
13806 |
|
13807 Allow building QtWebKit statically (within Qt). |
|
13808 |
|
13809 http://trolltech.com/developer/task-tracker/index_html?id=211273&method=entry |
|
13810 |
|
13811 * Api/qwebkitglobal.h: |
|
13812 |
|
13813 2009-01-06 Adam Treat <adam.treat@torchmobile.com> |
|
13814 |
|
13815 Reviewed by Simon Hausmann. |
|
13816 |
|
13817 Update the documentation to reflect when these API changes will land in |
|
13818 upstream Qt |
|
13819 |
|
13820 * Api/qwebframe.cpp: |
|
13821 * Api/qwebpage.cpp: |
|
13822 |
|
13823 2009-01-05 Adam Treat <adam.treat@torchmobile.com> |
|
13824 |
|
13825 Reviewed by George Staikos. |
|
13826 |
|
13827 Add Qt API for QWebFrame::contentsSizeChanged signal |
|
13828 |
|
13829 * Api/qwebframe.cpp: |
|
13830 * Api/qwebframe.h: |
|
13831 * WebCoreSupport/ChromeClientQt.cpp: |
|
13832 (WebCore::ChromeClientQt::contentsSizeChanged): |
|
13833 * WebCoreSupport/ChromeClientQt.h: |
|
13834 |
|
13835 2009-01-05 Adam Treat <adam.treat@torchmobile.com> |
|
13836 |
|
13837 Reviewed by George Staikos. |
|
13838 |
|
13839 Fixes QWebFrame::setScrollBarPolicy(..) to actually work. Also happens |
|
13840 to fix 192 layout tests that were previously failing for Qt. |
|
13841 |
|
13842 * Api/qwebframe.cpp: |
|
13843 (QWebFrame::setScrollBarPolicy): |
|
13844 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13845 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
13846 |
|
13847 2009-01-04 Adam Treat <adam.treat@torchmobile.com> |
|
13848 |
|
13849 Reviewed by George Staikos. |
|
13850 |
|
13851 Add new API to QWebHitTestResult to return a rect for the smallest enclosing |
|
13852 block element of the hit test |
|
13853 |
|
13854 * Api/qwebframe.cpp: |
|
13855 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
13856 (QWebHitTestResult::enclosingBlock): |
|
13857 * Api/qwebframe.h: |
|
13858 * Api/qwebframe_p.h: |
|
13859 |
|
13860 2008-12-30 Adam Treat <adam.treat@torchmobile.com> |
|
13861 |
|
13862 Reviewed by George Staikos. |
|
13863 |
|
13864 Make the qt port build and work with the new fixedLayoutSize feature |
|
13865 |
|
13866 * Api/qwebpage.cpp: |
|
13867 (QWebPagePrivate::QWebPagePrivate): |
|
13868 (QWebPage::fixedLayoutSize): |
|
13869 (QWebPage::setFixedLayoutSize): |
|
13870 (QWebPage::useFixedLayout): |
|
13871 (QWebPage::setUseFixedLayout): |
|
13872 * Api/qwebpage.h: |
|
13873 * Api/qwebpage_p.h: |
|
13874 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13875 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
13876 |
|
13877 2008-12-19 Jade Han <jade.han@nokia.com> |
|
13878 |
|
13879 Reviewed by Tor Arne Vestbø. |
|
13880 |
|
13881 [Qt] Allow conversion of JavaScript Number and Boolean types to Qt types |
|
13882 |
|
13883 https://bugs.webkit.org/show_bug.cgi?id=22880 |
|
13884 |
|
13885 * tests/qwebframe/tst_qwebframe.cpp: |
|
13886 (MyQObject::myInvokableWithBoolArg): |
|
13887 |
|
13888 2008-12-18 Yael Aharon <yael.aharon@nokia.com> |
|
13889 |
|
13890 Reviewed by Tor Arne Vestbø. |
|
13891 |
|
13892 When Web Inspector is launched without an associated node, |
|
13893 call show() instead of inspect(). |
|
13894 |
|
13895 * Api/qwebpage.cpp: |
|
13896 (QWebPage::triggerAction): |
|
13897 |
|
13898 2008-12-18 Dan Bernstein <mitz@apple.com> |
|
13899 |
|
13900 Reviewed by Sam Weinig. |
|
13901 |
|
13902 - stub out FrameLoaderClient::shouldUseCredentialStorage(). |
|
13903 |
|
13904 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13905 (WebCore::FrameLoaderClientQt::shouldUseCredentialStorage): |
|
13906 * WebCoreSupport/FrameLoaderClientQt.h: |
|
13907 |
|
13908 2008-12-18 Sam Weinig <sam@webkit.org> |
|
13909 |
|
13910 Reviewed by John Sullivan. |
|
13911 |
|
13912 Stub out FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout() |
|
13913 |
|
13914 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13915 (WebCore::FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout): |
|
13916 * WebCoreSupport/FrameLoaderClientQt.h: |
|
13917 |
|
13918 2008-12-16 Simon Hausmann <hausmann@webkit.org> |
|
13919 |
|
13920 Reviewed by Holger Freyther. |
|
13921 |
|
13922 Added support for unload event counting to the Qt DRT. |
|
13923 |
|
13924 * Api/qwebpage.cpp: |
|
13925 (qt_drt_run): Moved function here. |
|
13926 * Api/qwebpage_p.h: Moved drt run boolean here. |
|
13927 * WebCoreSupport/EditorClientQt.cpp: Moved drt run boolean. |
|
13928 (WebCore::EditorClientQt::shouldShowDeleteInterface): Use the new drt |
|
13929 run variable. |
|
13930 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13931 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad): Add DRT |
|
13932 output for unload event handler counting. |
|
13933 |
|
13934 2008-12-15 Holger Hans Peter Freyther <zecke@selfish.org> |
|
13935 |
|
13936 Reviewed by Simon Hausmann. |
|
13937 |
|
13938 Change the order of sub frame initialisation to avoid crashes |
|
13939 |
|
13940 Add the newly created frame to the FrameTree before calling |
|
13941 WebCore::Frame::init to not segfault on |
|
13942 LayoutTests/fast/loader/frame-creation-removal.html. |
|
13943 |
|
13944 * Api/qwebframe.cpp: |
|
13945 (QWebFramePrivate::init): |
|
13946 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13947 (WebCore::FrameLoaderClientQt::createFrame): |
|
13948 |
|
13949 2008-12-15 Simon Hausmann <hausmann@webkit.org> |
|
13950 |
|
13951 Reviewed by Holger Freyther. |
|
13952 |
|
13953 Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler. |
|
13954 |
|
13955 * Api/qwebframe.cpp: |
|
13956 (qt_drt_setJavaScriptProfilingEnabled): |
|
13957 |
|
13958 2008-12-12 Simon Hausmann <hausmann@webkit.org> |
|
13959 |
|
13960 Reviewed by Tor Arne Vestbø. |
|
13961 |
|
13962 Fix pressing return/enter not triggering any action on web sites |
|
13963 that define event handlers, such as the JS console in the web |
|
13964 inspector. |
|
13965 |
|
13966 Process the key events in the DOM first and if not handled map them |
|
13967 to editor actions. |
|
13968 |
|
13969 * Api/qwebpage.cpp: |
|
13970 (QWebPagePrivate::editorActionForKeyEvent): Made a class method. |
|
13971 (QWebPagePrivate::keyPressEvent): Pass the key event first to the DOM. |
|
13972 * WebCoreSupport/EditorClientQt.cpp: |
|
13973 (WebCore::EditorClientQt::handleKeyboardEvent): Map the key event to |
|
13974 actions and trigger them. |
|
13975 |
|
13976 2008-12-12 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
13977 |
|
13978 Reviewed by Simon Hausmann. |
|
13979 |
|
13980 Create the plugin widget even though the web page has no associated |
|
13981 view. This prevents the plugin to be uselessly constructed more than once. |
|
13982 |
|
13983 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
13984 (WebCore::FrameLoaderClientQt::createPlugin): |
|
13985 * tests/qwebpage/tst_qwebpage.cpp: |
|
13986 (tst_QWebPage::createViewlessPlugin): |
|
13987 |
|
13988 2008-12-11 Enrico Ros <enrico.ros@m31.com> |
|
13989 |
|
13990 Reviewed by Simon Hausmann. |
|
13991 |
|
13992 Fix the broken focus behavior that happened when QWebPage lost |
|
13993 focus to a popup menu. |
|
13994 |
|
13995 The previous code didn't notify the QWebPage at all when the |
|
13996 focus was back in (breaking focus rects, caret blinking, ...). |
|
13997 By the way when a popup is show, 2 FocusOut events are delivered |
|
13998 to the QWebPage, but this doesn't seem to hurt. |
|
13999 |
|
14000 Added a test to check popup opening, closing a lineedit blinks. |
|
14001 |
|
14002 * Api/qwebpage.cpp: |
|
14003 (QWebPagePrivate::focusInEvent): |
|
14004 (QWebPagePrivate::focusOutEvent): |
|
14005 * tests/qwebframe/tst_qwebframe.cpp: |
|
14006 (tst_QWebFrame::): |
|
14007 |
|
14008 2008-12-11 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14009 |
|
14010 Reviewed by Tor Arne Vestbø. |
|
14011 |
|
14012 When the web page is navigated away, delete the instance |
|
14013 of the native plugin. |
|
14014 |
|
14015 http://trolltech.com/developer/task-tracker/index_html?id=214946&method=entry |
|
14016 |
|
14017 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14018 (WebCore::): |
|
14019 * tests/qwebpage/tst_qwebpage.cpp: |
|
14020 (PluginTrackedPage::PluginTrackedPage): |
|
14021 (PluginTrackedPage::createPlugin): |
|
14022 (tst_QWebPage::destroyPlugin): |
|
14023 |
|
14024 2008-12-11 Yael Aharon <yael.aharon@nokia.com> |
|
14025 |
|
14026 Reviewed by Simon Hausmann. |
|
14027 |
|
14028 Allow applications to save and restore their state between loads. |
|
14029 |
|
14030 * Api/qwebframe.cpp: |
|
14031 * Api/qwebframe.h: |
|
14032 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14033 (WebCore::FrameLoaderClientQt::restoreViewState): |
|
14034 (WebCore::FrameLoaderClientQt::saveViewStateToItem): |
|
14035 * tests/qwebpage/tst_qwebpage.cpp: |
|
14036 (tst_QWebPage::modified): |
|
14037 |
|
14038 2008-12-08 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
14039 |
|
14040 Reviewed by Darin Adler and Holger Freyther. |
|
14041 |
|
14042 Make Widget::frameRectsChanged() and overrides non-const |
|
14043 |
|
14044 This will hopefully allow us to get rid of some of the mutables in |
|
14045 the classes that react to the callback by changing their own state. |
|
14046 |
|
14047 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14048 (WebCore::): |
|
14049 |
|
14050 2008-12-10 Holger Hans Peter Freyther <zecke@selfish.org> |
|
14051 |
|
14052 Reviewed by Simon Hausmann. |
|
14053 |
|
14054 API changes discussed with Simon Hausmann, Tor Arne |
|
14055 Vestbø, Ariya Hidayat... |
|
14056 |
|
14057 * Api/qwebdatabase.cpp: |
|
14058 (QWebDatabase::fileName): |
|
14059 (QWebDatabase::removeDatabase): |
|
14060 * Api/qwebdatabase.h: |
|
14061 * Api/qwebframe.cpp: |
|
14062 (QWebFrame::scroll): |
|
14063 (QWebFrame::scrollPosition): |
|
14064 (QWebFrame::setScrollPosition): |
|
14065 * Api/qwebframe.h: |
|
14066 * Api/qwebpage.cpp: |
|
14067 (QWebPage::setContentEditable): |
|
14068 (QWebPage::isContentEditable): |
|
14069 (QWebPage::extension): |
|
14070 * Api/qwebpage.h: |
|
14071 * Api/qwebsecurityorigin.cpp: |
|
14072 * Api/qwebsettings.cpp: |
|
14073 (QWebSettingsPrivate::apply): |
|
14074 (QWebSettings::QWebSettings): |
|
14075 * Api/qwebsettings.h: |
|
14076 * QtLauncher/main.cpp: |
|
14077 (MainWindow::setEditable): |
|
14078 * WebCoreSupport/ChromeClientQt.cpp: |
|
14079 (WebCore::ChromeClientQt::exceededDatabaseQuota): |
|
14080 (WebCore::ChromeClientQt::runOpenPanel): |
|
14081 * WebCoreSupport/EditorClientQt.cpp: |
|
14082 (WebCore::EditorClientQt::isEditable): |
|
14083 * tests/qwebpage/tst_qwebpage.cpp: |
|
14084 (tst_QWebPage::database): |
|
14085 |
|
14086 2008-12-09 Balazs Kelemen <Kelemen.Balazs.3@stud.u-szeged.hu> |
|
14087 |
|
14088 Reviewed by Simon Hausmann. |
|
14089 |
|
14090 Extended QtLauncher so now it can load pages from an url list |
|
14091 one by one. This can be useful for testing purposes (eq. leak hunting). |
|
14092 The -r option activates this feature. |
|
14093 |
|
14094 https://bugs.webkit.org/show_bug.cgi?id=20932 |
|
14095 |
|
14096 * QtLauncher/main.cpp: |
|
14097 (MainWindow::webPage): |
|
14098 Just a coding style repairing (* written with no space between the return type name) |
|
14099 (MainWindow::webView): |
|
14100 I need the webView to connect it with the URLLoader object. |
|
14101 (URLLoader::URLLoader): |
|
14102 (URLLoader::loadNext): |
|
14103 (URLLoader::init): |
|
14104 (URLLoader::getUrl): |
|
14105 (main): |
|
14106 |
|
14107 2008-12-10 Simon Hausmann <hausmann@webkit.org> |
|
14108 |
|
14109 Fix the Qt build, added const to Node* parameter after change |
|
14110 in signature. |
|
14111 |
|
14112 * WebCoreSupport/ChromeClientQt.h: |
|
14113 (WebCore::ChromeClientQt::formStateDidChange): |
|
14114 |
|
14115 2008-12-09 Brett Wilson <brettw@chromium.org> |
|
14116 |
|
14117 Reviewed by Dave Hyatt. |
|
14118 |
|
14119 https://bugs.webkit.org/show_bug.cgi?id=22177 |
|
14120 |
|
14121 Add a callback on ChromeClient that the state of form elements on |
|
14122 the page has changed. This is to allow clients implementing session |
|
14123 saving to know when the current state is dirty. |
|
14124 |
|
14125 * WebCoreSupport/ChromeClientQt.h: |
|
14126 (WebCore::ChromeClientQt::formStateDidChange): |
|
14127 |
|
14128 2008-12-09 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14129 |
|
14130 Reviewed by Simon Hausmann. |
|
14131 |
|
14132 Fix the documentation of the localStorageDatabasePath setters/getters. |
|
14133 |
|
14134 * Api/qwebsettings.cpp: |
|
14135 |
|
14136 2008-12-08 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14137 |
|
14138 Reviewed by Simon Hausmann. |
|
14139 |
|
14140 Multiple files support for the file chooser. |
|
14141 |
|
14142 * Api/qwebpage.cpp: |
|
14143 (QWebPage::chooseFiles): |
|
14144 * Api/qwebpage.h: |
|
14145 * WebCoreSupport/ChromeClientQt.cpp: |
|
14146 (WebCore::ChromeClientQt::runOpenPanel): |
|
14147 |
|
14148 2008-12-06 Simon Fraser <simon.fraser@apple.com> |
|
14149 |
|
14150 Reviewed by Dave Hyatt |
|
14151 |
|
14152 https://bugs.webkit.org/show_bug.cgi?id=15671 |
|
14153 |
|
14154 Renderer::caretRect() is now localCaretRect(), which needs |
|
14155 converting to absolute coordinates (taking transforms into account). |
|
14156 |
|
14157 * Api/qwebpage.cpp: |
|
14158 (QWebPage::inputMethodQuery): |
|
14159 |
|
14160 2008-12-03 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
14161 |
|
14162 Reviewed by Simon Hausmann. |
|
14163 |
|
14164 Allow passing jsNull and jsUndefined to Qt plugins |
|
14165 |
|
14166 Currently limited to functions with QString and QVariant arguments, |
|
14167 and properties of these types. Both jsNull and jsUndefined ends up |
|
14168 as default-constructed QStrings and QVariants, which means you can |
|
14169 check for isEmpty() and isValid() in the native plugin code. |
|
14170 |
|
14171 Based on patches by Jade Han <jade.han@nokia.com> |
|
14172 |
|
14173 * tests/qwebframe/tst_qwebframe.cpp: |
|
14174 |
|
14175 2008-12-02 Simon Hausmann <hausmann@webkit.org> |
|
14176 |
|
14177 Rubber-stamped by Tor Arne Vestbø. |
|
14178 |
|
14179 Initial API documentation for QWebDatabase, QWebSecurityOrigin and |
|
14180 QWebFrame::securityOrigin(). |
|
14181 |
|
14182 * Api/qwebdatabase.cpp: |
|
14183 * Api/qwebframe.cpp: |
|
14184 * Api/qwebsecurityorigin.cpp: |
|
14185 |
|
14186 2008-11-27 Kent Hansen <khansen@trolltech.com> |
|
14187 |
|
14188 Reviewed by Simon Hausmann. |
|
14189 |
|
14190 Added auto tests for making JavaScript bindings for Qt plugin widgets |
|
14191 work again. |
|
14192 |
|
14193 * tests/qwebpage/tst_qwebpage.cpp: |
|
14194 (PluginPage::PluginPage): |
|
14195 (PluginPage::CallInfo::CallInfo): |
|
14196 (PluginPage::createPlugin): |
|
14197 (tst_QWebPage::createPlugin): |
|
14198 |
|
14199 2008-11-25 Holger Hans Peter Freyther <zecke@selfish.org> |
|
14200 |
|
14201 Build fix. Use WebCore::Frame::loader instead of QWebFrame |
|
14202 |
|
14203 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14204 (WebCore::FrameLoaderClientQt::updateGlobalHistory): |
|
14205 |
|
14206 2008-11-24 Darin Fisher <darin@chromium.org> |
|
14207 |
|
14208 Fix bustage. |
|
14209 |
|
14210 http://bugs.webkit.org/show_bug.cgi?id=15643 |
|
14211 |
|
14212 * WebCoreSupport/EditorClientQt.cpp: |
|
14213 (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled): |
|
14214 * WebCoreSupport/EditorClientQt.h: |
|
14215 |
|
14216 2008-11-24 Darin Adler <darin@apple.com> |
|
14217 |
|
14218 Reviewed by Dan Bernstein. |
|
14219 |
|
14220 - https://bugs.webkit.org/show_bug.cgi?id=22470 |
|
14221 remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory |
|
14222 |
|
14223 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14224 (WebCore::FrameLoaderClientQt::updateGlobalHistory): Get the URL from the |
|
14225 DocumentLoader. |
|
14226 * WebCoreSupport/FrameLoaderClientQt.h: Remove argument. |
|
14227 |
|
14228 2008-11-24 Darin Fisher <darin@chromium.org> |
|
14229 |
|
14230 Fix bustage. |
|
14231 |
|
14232 https://bugs.webkit.org/show_bug.cgi?id=22448 |
|
14233 |
|
14234 * Api/qwebframe.cpp: |
|
14235 (QWebFrame::evaluateJavaScript): |
|
14236 |
|
14237 2008-11-20 Sam Weinig <sam@webkit.org> |
|
14238 |
|
14239 Fix Qt build. |
|
14240 |
|
14241 * Api/qwebframe.cpp: |
|
14242 (QWebFrame::evaluateJavaScript): |
|
14243 |
|
14244 2008-11-19 Darin Fisher <darin@chromium.org> |
|
14245 |
|
14246 Fix bustage. |
|
14247 |
|
14248 https://bugs.webkit.org/show_bug.cgi?id=22373 |
|
14249 Ports busted by addition of ScriptValue.{h,cpp} |
|
14250 |
|
14251 * Api/qwebframe.cpp: |
|
14252 (QWebFrame::evaluateJavaScript): |
|
14253 |
|
14254 2008-11-19 Darin Fisher <darin@chromium.org> |
|
14255 |
|
14256 Fix bustage. |
|
14257 |
|
14258 https://bugs.webkit.org/show_bug.cgi?id=22373 |
|
14259 Ports busted by addition of ScriptValue.{h,cpp} |
|
14260 |
|
14261 * Api/qwebframe.cpp: |
|
14262 |
|
14263 2008-11-19 Simon Hausmann <hausmann@webkit.org> |
|
14264 |
|
14265 Fix the Qt build, remove file referenced in the qrc file that does not |
|
14266 exist and is not needed. |
|
14267 |
|
14268 * tests/qwebframe/qwebframe.qrc: |
|
14269 |
|
14270 2008-11-18 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14271 |
|
14272 Rubber-stamped by Tor Arne Vestbø. |
|
14273 |
|
14274 Missing file in new unit test for QWebFrame (r38493). |
|
14275 |
|
14276 * tests/qwebframe/qwebframe.pro: |
|
14277 * tests/qwebframe/qwebframe.qrc: Added. |
|
14278 |
|
14279 2008-11-18 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
14280 |
|
14281 Rubber-stamped by Simon Hausmann. |
|
14282 |
|
14283 Make sure QWidget based plugins are invisible until placed into the layout |
|
14284 |
|
14285 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14286 (WebCore::FrameLoaderClientQt::createPlugin): |
|
14287 |
|
14288 2008-11-18 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
14289 |
|
14290 Reviewed by Simon Hausmann. |
|
14291 |
|
14292 React properly to frame rect changes for QWidget based plugins |
|
14293 |
|
14294 We now set the geometry of the QWidget in frameRectsChanged, |
|
14295 intead of setFrameRect, which means we pick up the changes to |
|
14296 the frame rect when scrolling. We also set a mask on the |
|
14297 widget to keep it from painting over scrollbars and the like |
|
14298 |
|
14299 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14300 (WebCore::): |
|
14301 |
|
14302 2008-11-18 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14303 |
|
14304 Reviewed by Tor Arne Vestbø. |
|
14305 |
|
14306 Fix crash when trying to pick a file using the file chooser. |
|
14307 |
|
14308 * WebCoreSupport/ChromeClientQt.cpp: |
|
14309 (WebCore::ChromeClientQt::runOpenPanel): |
|
14310 |
|
14311 2008-11-18 Holger Hans Peter Freyther <zecke@selfish.org> |
|
14312 |
|
14313 Reviewed by Simon Hausmann. |
|
14314 |
|
14315 Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports |
|
14316 |
|
14317 After Hyatt's work on Widget and ScrollView there is little difference |
|
14318 between the implementation of Qt, Gtk+ and Win. In fact any kind of |
|
14319 difference is mostly a bug. Alp has fixed two of such errors for the Gtk+ |
|
14320 port and the Qt port has at least one of them left. |
|
14321 |
|
14322 The only difference between the implementations is in getting the the |
|
14323 IntSize for the new FrameView, the background color to be applied and |
|
14324 eventually some post processing. |
|
14325 |
|
14326 Unify the implementations by providing a static helper function that |
|
14327 takes a Frame, IntSize, color and transparency bit and calling it from |
|
14328 the Gtk+, the Qt and the Windows port. |
|
14329 |
|
14330 * Api/qwebframe.cpp: |
|
14331 * Api/qwebframe_p.h: |
|
14332 * Api/qwebpage.cpp: |
|
14333 (QWebPage::setPalette): |
|
14334 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14335 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
14336 |
|
14337 2008-11-17 Geoffrey Garen <ggaren@apple.com> |
|
14338 |
|
14339 Not reviewed. |
|
14340 |
|
14341 Try to fix qt build. |
|
14342 |
|
14343 * Api/qwebframe.cpp: |
|
14344 |
|
14345 2008-11-17 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14346 |
|
14347 Reviewed by Tor Arne Vestbø and Simon Hausmann. |
|
14348 |
|
14349 Fix regression when loading resources from Qt resource system using qrc:/. |
|
14350 |
|
14351 Added a unit test to catch future regression. |
|
14352 |
|
14353 * Api/qwebpage.cpp: |
|
14354 (QWebPagePrivate::QWebPagePrivate): |
|
14355 * tests/qwebframe/image.png: Added. |
|
14356 * tests/qwebframe/tst_qwebframe.cpp: |
|
14357 |
|
14358 2008-11-16 Darin Adler <darin@apple.com> |
|
14359 |
|
14360 - try to fix build |
|
14361 |
|
14362 * Api/qwebhistory.cpp: Added include of "KURL.h". |
|
14363 |
|
14364 2008-10-24 Yael Aharon <yael.aharon@nokia.com> |
|
14365 |
|
14366 Reviewed by Simon Hausmann. |
|
14367 |
|
14368 Added some basic unit tests for the public database API. |
|
14369 |
|
14370 * tests/qwebpage/tst_qwebpage.cpp: |
|
14371 (tst_QWebPage::initTestCase): |
|
14372 (tst_QWebPage::cleanupTestCase): |
|
14373 (tst_QWebPage::database): |
|
14374 |
|
14375 2008-11-14 Simon Hausmann <hausmann@webkit.org> |
|
14376 |
|
14377 Fix the Qt build, add missing export macros for the new classes. |
|
14378 |
|
14379 * Api/qwebdatabase.h: |
|
14380 * Api/qwebsecurityorigin.h: |
|
14381 |
|
14382 2008-10-24 Yael Aharon <yael.aharon@nokia.com> |
|
14383 |
|
14384 Reviewed by Simon Hausmann. |
|
14385 |
|
14386 Adding public API to provide access to the security origin |
|
14387 (QWebSecurityOrigin) and the databases used for the offline |
|
14388 storage (QWebDatabase). |
|
14389 |
|
14390 In addition QWebSettings gains configuration functions for |
|
14391 enabling/disabling offline storage, web application cache |
|
14392 and DOM local storage. |
|
14393 |
|
14394 This commits lands the core feature(s), the unit tests and the |
|
14395 documentation are going to follow in the comming days/weeks. |
|
14396 |
|
14397 Note: The API is not frozen yet. |
|
14398 |
|
14399 * Api/headers.pri: |
|
14400 * Api/qwebdatabase.cpp: Added. |
|
14401 (QWebDatabase::QWebDatabase): |
|
14402 (QWebDatabase::operator=): |
|
14403 (QWebDatabase::name): |
|
14404 (QWebDatabase::displayName): |
|
14405 (QWebDatabase::expectedSize): |
|
14406 (QWebDatabase::size): |
|
14407 (QWebDatabase::absoluteFilePath): |
|
14408 (QWebDatabase::origin): |
|
14409 (QWebDatabase::remove): |
|
14410 (QWebDatabase::~QWebDatabase): |
|
14411 * Api/qwebdatabase.h: Added. |
|
14412 * Api/qwebdatabase_p.h: Added. |
|
14413 * Api/qwebframe.cpp: |
|
14414 (QWebFrame::securityOrigin): |
|
14415 * Api/qwebframe.h: |
|
14416 * Api/qwebpage.cpp: |
|
14417 * Api/qwebpage.h: |
|
14418 * Api/qwebsecurityorigin.cpp: Added. |
|
14419 (QWebSecurityOrigin::QWebSecurityOrigin): |
|
14420 (QWebSecurityOrigin::operator=): |
|
14421 (QWebSecurityOrigin::scheme): |
|
14422 (QWebSecurityOrigin::host): |
|
14423 (QWebSecurityOrigin::port): |
|
14424 (QWebSecurityOrigin::databaseUsage): |
|
14425 (QWebSecurityOrigin::databaseQuota): |
|
14426 (QWebSecurityOrigin::setDatabaseQuota): |
|
14427 (QWebSecurityOrigin::~QWebSecurityOrigin): |
|
14428 (QWebSecurityOrigin::allOrigins): |
|
14429 (QWebSecurityOrigin::databases): |
|
14430 * Api/qwebsecurityorigin.h: Added. |
|
14431 * Api/qwebsecurityorigin_p.h: Added. |
|
14432 (QWebSecurityOriginPrivate::QWebSecurityOriginPrivate): |
|
14433 (QWebSecurityOriginPrivate::~QWebSecurityOriginPrivate): |
|
14434 * Api/qwebsettings.cpp: |
|
14435 (QWebSettingsPrivate::apply): |
|
14436 (QWebSettings::QWebSettings): |
|
14437 (QWebSettings::setOfflineStoragePath): |
|
14438 (QWebSettings::offlineStoragePath): |
|
14439 (QWebSettings::setOfflineStorageDefaultQuota): |
|
14440 (QWebSettings::offlineStorageDefaultQuota): |
|
14441 (QWebSettings::setOfflineWebApplicationCachePath): |
|
14442 (QWebSettings::offlineWebApplicationCachePath): |
|
14443 (QWebSettings::setLocalStorageDatabasePath): |
|
14444 (QWebSettings::localStorageDatabasePath): |
|
14445 * Api/qwebsettings.h: |
|
14446 * WebCoreSupport/ChromeClientQt.cpp: |
|
14447 (WebCore::ChromeClientQt::exceededDatabaseQuota): |
|
14448 |
|
14449 2008-11-12 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14450 |
|
14451 Rubber-stamped by Tor Arne Vestbø. |
|
14452 |
|
14453 Mention the color role change (r38331) in the API doc. |
|
14454 |
|
14455 * Api/qwebpage.cpp: |
|
14456 |
|
14457 2008-11-11 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14458 |
|
14459 Reviewed by Tor Arne Vestbø and Simon Hausmann. |
|
14460 |
|
14461 Use QPalette::Base (instead of QPalette::Background) for the page |
|
14462 background. |
|
14463 |
|
14464 * Api/qwebframe.cpp: |
|
14465 (QWebFramePrivate::updateBackground): |
|
14466 * Api/qwebview.cpp: |
|
14467 (QWebView::QWebView): |
|
14468 |
|
14469 2008-11-11 Cameron Zwarich <zwarich@apple.com> |
|
14470 |
|
14471 Reviewed by Geoff Garen. |
|
14472 |
|
14473 Remove pointless dependencies on the now-deleted kjs directory. |
|
14474 |
|
14475 * WebKit_pch.h: |
|
14476 |
|
14477 2008-11-10 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14478 |
|
14479 Rubber-stamped by Simon Hausmann. |
|
14480 |
|
14481 To fit Qt API, scroll offset is a QPoint instead of a QSize. |
|
14482 |
|
14483 * Api/qwebframe.cpp: |
|
14484 (QWebFrame::scrollOffset): |
|
14485 (QWebFrame::setScrollOffset): |
|
14486 * Api/qwebframe.h: |
|
14487 |
|
14488 2008-11-10 David Boddie <dboddie@trolltech.com> |
|
14489 |
|
14490 Reviewed by Simon Hausmann. |
|
14491 |
|
14492 Doc: Fixed qdoc warnings by supplying function documentation. |
|
14493 |
|
14494 * Api/qwebframe.cpp: |
|
14495 * Api/qwebview.cpp: |
|
14496 |
|
14497 2008-11-10 Tobias Koenig <tobias.koenig@trolltech.com> |
|
14498 |
|
14499 Reviewed by Simon Hausmann. |
|
14500 |
|
14501 Removed old and stale prf file that breaks the MingW build. |
|
14502 |
|
14503 * Api/qtwebkit.prf: Removed. |
|
14504 |
|
14505 2008-11-10 Kavindra Palaraja <kdpalara@trolltech.com> |
|
14506 |
|
14507 Reviewed by Simon Hausmann. |
|
14508 |
|
14509 Clarify QWebFrame/View::setHTML docs with regards to relative URLs |
|
14510 |
|
14511 * Api/qwebframe.cpp: |
|
14512 * Api/qwebview.cpp: |
|
14513 |
|
14514 2008-11-10 Joerg Bornemann <joerg.bornemann@nokia.com> |
|
14515 |
|
14516 Reviewed by Simon Hausmann |
|
14517 |
|
14518 Don't define _CRT_RAND_S on Windows CE in the precompiled |
|
14519 header, to fix the CE build. |
|
14520 |
|
14521 * WebKit_pch.h: |
|
14522 |
|
14523 2008-11-07 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14524 |
|
14525 Reviewed by Tor Arne Vestbø and Simon Hausmann. |
|
14526 |
|
14527 Added an option to allow printing the background color and images. |
|
14528 Mostly reworked from a patch by Holger. |
|
14529 This setting is enabled by default. |
|
14530 |
|
14531 * Api/qwebsettings.cpp: |
|
14532 (QWebSettingsPrivate::apply): |
|
14533 (QWebSettings::QWebSettings): |
|
14534 * Api/qwebsettings.h: |
|
14535 |
|
14536 2008-11-06 Simon Hausmann <hausmann@webkit.org> |
|
14537 |
|
14538 Reviewed by Tor Arne Vestbø. |
|
14539 |
|
14540 Added a unit tests for QWebFrame::metaData(). |
|
14541 |
|
14542 * tests/qwebframe/tst_qwebframe.cpp: |
|
14543 |
|
14544 2008-11-06 Simon Hausmann <hausmann@webkit.org> |
|
14545 |
|
14546 Reviewed by Tor Arne Vestbø. |
|
14547 |
|
14548 Improved documentation for QWebFrame::metaData(). |
|
14549 |
|
14550 * Api/qwebframe.cpp: |
|
14551 |
|
14552 2008-11-05 Sriram Yadavalli <sriram.yadavalli@nokia.com> |
|
14553 |
|
14554 Reviewed by Simon Hausmann. |
|
14555 |
|
14556 Added QWebFrame::metaData() to provide a way in the public API |
|
14557 to retrieve the values of the <meta> tags. |
|
14558 |
|
14559 See https://bugs.webkit.org/show_bug.cgi?id=22071 |
|
14560 |
|
14561 * Api/qwebframe.cpp: |
|
14562 (QWebFrame::metaData): |
|
14563 * Api/qwebframe.h: |
|
14564 |
|
14565 2008-10-24 Yael Aharon <yael.aharon@nokia.com> |
|
14566 |
|
14567 Reviewed by Simon Hausmann. |
|
14568 |
|
14569 Add userData() and setUserData() to QWebHistoryItem. |
|
14570 Add setMaximumItemCount() and maximumItemCount() to QWebHistory. |
|
14571 Add currentItemIndex() to QWebHistory. |
|
14572 |
|
14573 See also https://bugs.webkit.org/show_bug.cgi?id=21864 |
|
14574 |
|
14575 Small cleanup by Simon (docs and forward declaration of QWebHistoryItem in qwebframe.h) |
|
14576 |
|
14577 * Api/qwebframe.h: |
|
14578 * Api/qwebhistory.cpp: |
|
14579 (QWebHistoryItem::userData): |
|
14580 (QWebHistoryItem::setUserData): |
|
14581 (QWebHistory::currentItemIndex): |
|
14582 (QWebHistory::maximumItemCount): |
|
14583 (QWebHistory::setMaximumItemCount): |
|
14584 * Api/qwebhistory.h: |
|
14585 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14586 (WebCore::FrameLoaderClientQt::saveViewStateToItem): |
|
14587 * tests/qwebpage/tst_qwebpage.cpp: |
|
14588 (tst_QWebPage::modified): |
|
14589 |
|
14590 2008-11-03 Cameron Zwarich <zwarich@apple.com> |
|
14591 |
|
14592 Rubber-stamped by Maciej Stachowiak. |
|
14593 |
|
14594 Move more files into the runtime subdirectory of JavaScriptCore. |
|
14595 |
|
14596 * Api/qwebpage.cpp: |
|
14597 |
|
14598 2008-10-25 Jade Han <jade.han@nokia.com> |
|
14599 |
|
14600 Reviewed by Anders. |
|
14601 |
|
14602 Enable custom properties for Qt runtime objects in QtWebKit |
|
14603 |
|
14604 https://bugs.webkit.org/show_bug.cgi?id=21813 |
|
14605 |
|
14606 * tests/qwebframe/tst_qwebframe.cpp: |
|
14607 |
|
14608 2008-10-24 Sam Weinig <sam@webkit.org> |
|
14609 |
|
14610 Another Qt build fix. |
|
14611 |
|
14612 * WebCoreSupport/ChromeClientQt.cpp: |
|
14613 |
|
14614 2008-10-24 Sam Weinig <sam@webkit.org> |
|
14615 |
|
14616 Reviewed by Dan Bernstein. |
|
14617 |
|
14618 Fix https://bugs.webkit.org/show_bug.cgi?id=21759 |
|
14619 Layering violation: FileChooser should not depend on Document/Frame/Page |
|
14620 |
|
14621 * WebCoreSupport/ChromeClientQt.cpp: |
|
14622 (WebCore::ChromeClientQt::runOpenPanel): |
|
14623 * WebCoreSupport/ChromeClientQt.h: |
|
14624 |
|
14625 2008-10-24 Timothy Hatcher <timothy@apple.com> |
|
14626 |
|
14627 Stub out new InspectorClient methods. |
|
14628 |
|
14629 https://bugs.webkit.org/show_bug.cgi?id=21856 |
|
14630 |
|
14631 Reviewed by Darin Adler. |
|
14632 |
|
14633 * WebCoreSupport/InspectorClientQt.cpp: |
|
14634 (WebCore::InspectorClientQt::populateSetting): Not implemented. |
|
14635 (WebCore::InspectorClientQt::storeSetting): Ditto. |
|
14636 (WebCore::InspectorClientQt::removeSetting): Ditto. |
|
14637 * WebCoreSupport/InspectorClientQt.h: |
|
14638 |
|
14639 2008-10-24 Darin Adler <darin@apple.com> |
|
14640 |
|
14641 - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732 |
|
14642 |
|
14643 * Api/qwebframe.cpp: |
|
14644 (QWebFrame::evaluateJavaScript): Use JSValue* instead of JSValuePtr. |
|
14645 |
|
14646 2008-10-23 Yael Aharon <yael.aharon@nokia.com> |
|
14647 |
|
14648 Reviewed by Simon Hausmann. |
|
14649 |
|
14650 Invalid history entries could cause a crash in QT Webkit |
|
14651 |
|
14652 * Api/qwebhistory.cpp: |
|
14653 (QWebHistoryItem::originalUrl): |
|
14654 (QWebHistoryItem::url): |
|
14655 (QWebHistoryItem::title): |
|
14656 (QWebHistoryItem::lastVisited): |
|
14657 (QWebHistoryItem::icon): |
|
14658 (QWebHistoryItem::isValid): |
|
14659 * Api/qwebhistory.h: |
|
14660 * Api/qwebhistory_p.h: |
|
14661 (QWebHistoryItemPrivate::QWebHistoryItemPrivate): |
|
14662 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate): |
|
14663 * tests/qwebpage/tst_qwebpage.cpp: |
|
14664 (tst_QWebPage::modified): |
|
14665 |
|
14666 2008-10-22 Yael Aharon <yael.aharon@nokia.com> |
|
14667 |
|
14668 Reviewed by Simon Hausmann. |
|
14669 |
|
14670 emit scrollRequested unconditionally when scrolling. |
|
14671 |
|
14672 See https://bugs.webkit.org/show_bug.cgi?id=21790 |
|
14673 |
|
14674 * WebCoreSupport/ChromeClientQt.cpp: |
|
14675 (WebCore::ChromeClientQt::scroll): |
|
14676 |
|
14677 2008-10-23 Simon Hausmann <hausmann@webkit.org> |
|
14678 |
|
14679 Reviewed by Tor Arne. |
|
14680 |
|
14681 Fix handling of mouse events when embedding QWebView into the |
|
14682 QGraphicsView. |
|
14683 |
|
14684 QWebPage accepts or ignores events to indicate whether the web page |
|
14685 handled the event. However for QWebView to behave like a good widget |
|
14686 it should always accept the mouse events to indicate that it handled |
|
14687 them and that they should not be subject to event propagation. |
|
14688 |
|
14689 The graphics view relies on acceptance of the initial mouse click to |
|
14690 make the embedded widget the focus item. |
|
14691 |
|
14692 * Api/qwebview.cpp: |
|
14693 (QWebView::mouseMoveEvent): |
|
14694 (QWebView::mousePressEvent): |
|
14695 (QWebView::mouseDoubleClickEvent): |
|
14696 (QWebView::mouseReleaseEvent): |
|
14697 (QWebView::contextMenuEvent): |
|
14698 (QWebView::wheelEvent): |
|
14699 |
|
14700 2008-10-22 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14701 |
|
14702 Reviewed by Simon Hausmann. |
|
14703 |
|
14704 For public API, use the term boundingRect instead of boundingBox. |
|
14705 |
|
14706 * Api/qwebframe.cpp: |
|
14707 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
14708 (QWebHitTestResult::boundingRect): |
|
14709 * Api/qwebframe.h: |
|
14710 * Api/qwebframe_p.h: |
|
14711 |
|
14712 2008-06-03 Siraj Razick <siraj.razick@collabora.co.uk> |
|
14713 |
|
14714 Reviewed by Simon Hausmann. |
|
14715 |
|
14716 https://bugs.webkit.org/show_bug.cgi?id=19374 |
|
14717 |
|
14718 Expose boundingBox value in QWebHitTestResult |
|
14719 |
|
14720 Add API function QRect QWebHitResult::boundingBox() const |
|
14721 |
|
14722 API docs by Ariya. |
|
14723 |
|
14724 * Api/qwebframe.cpp: |
|
14725 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
14726 (QWebHitTestResult::boundingBox): |
|
14727 * Api/qwebframe.h: |
|
14728 * Api/qwebframe_p.h: |
|
14729 |
|
14730 2008-10-21 Yael Aharon <yael.aharon@nokia.com> |
|
14731 |
|
14732 Reviewed by Simon Hausmann. |
|
14733 |
|
14734 emit repaintRequested unconditionally when repaint is requested. |
|
14735 |
|
14736 * WebCoreSupport/ChromeClientQt.cpp: |
|
14737 (WebCore::ChromeClientQt::repaint): |
|
14738 |
|
14739 2008-10-20 Sam Weinig <sam@webkit.org> |
|
14740 |
|
14741 Reviewed by Anders Carlsson. |
|
14742 |
|
14743 Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port. |
|
14744 |
|
14745 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14746 * WebCoreSupport/FrameLoaderClientQt.h: |
|
14747 |
|
14748 2008-10-19 Darin Adler <darin@apple.com> |
|
14749 |
|
14750 Reviewed by Oliver Hunt. |
|
14751 |
|
14752 - next step of https://bugs.webkit.org/show_bug.cgi?id=21732 |
|
14753 improve performance by eliminating JSValue as a base class for JSCell |
|
14754 |
|
14755 Remove most uses of JSValue, which will be removed in a future patch. |
|
14756 |
|
14757 * Api/qwebframe.cpp: |
|
14758 (QWebFrame::evaluateJavaScript): Use JSValuePtr. |
|
14759 |
|
14760 2008-10-14 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
14761 |
|
14762 Reviewed by Simon. |
|
14763 |
|
14764 Clip painter to dirty rect before passing on to WebKit |
|
14765 |
|
14766 This was previously done in ScrollViewQt, but after the |
|
14767 refactoring of ScrollView we need to do it in QWebFrame |
|
14768 instead, similar to Safari/Win. |
|
14769 |
|
14770 * Api/qwebframe.cpp: |
|
14771 (QWebFrame::render): |
|
14772 |
|
14773 2008-10-08 Matthias Ettrich <ettrich@nokia.com> |
|
14774 |
|
14775 Reviewed by Simon. |
|
14776 |
|
14777 Make QWebView ignore focus changes with PopupFocusReason to avoid |
|
14778 massive updates when menus open and close. |
|
14779 |
|
14780 * Api/qwebview.cpp: |
|
14781 (QWebView::focusInEvent): |
|
14782 (QWebView::focusOutEvent): |
|
14783 |
|
14784 2008-10-08 Kavindra Palaraja <kdpalara@trolltech.com> |
|
14785 |
|
14786 Reviewed by Simon. |
|
14787 |
|
14788 Fixed a qdoc warning and adjusted some spacing |
|
14789 |
|
14790 * Api/qwebframe.cpp: |
|
14791 |
|
14792 2008-10-08 Rhys Weatherley <rhys.weatherley@nokia.com> |
|
14793 |
|
14794 Reviewed by Simon. |
|
14795 |
|
14796 Compile for platforms without context menus. |
|
14797 |
|
14798 * Api/qwebpage.cpp: |
|
14799 (QWebPage::createStandardContextMenu): |
|
14800 |
|
14801 2008-10-08 André Pönitz <apoenitz@trolltech.com> |
|
14802 |
|
14803 Reviewed by Simon. |
|
14804 |
|
14805 Fix compilation with Qt namespaces. |
|
14806 |
|
14807 * WebCoreSupport/EditCommandQt.h: |
|
14808 |
|
14809 2008-10-07 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
14810 |
|
14811 QtWebKit build fix after changes to FrameLoaderClient.h in r37371 |
|
14812 |
|
14813 * WebCoreSupport/FrameLoaderClientQt.h: |
|
14814 |
|
14815 2008-10-07 Holger Hans Peter Freyther <zecke@selfish.org> |
|
14816 |
|
14817 [qt] Build fix after Scrollbar.h and Widget.h changes. |
|
14818 |
|
14819 * Api/qwebpage.cpp: |
|
14820 (QWebPage::swallowContextMenuEvent): |
|
14821 |
|
14822 2008-10-06 David Hyatt <hyatt@apple.com> |
|
14823 |
|
14824 Enable viewless Mac WebKit to paint some basic pages. |
|
14825 |
|
14826 Reviewed by Sam Weinig |
|
14827 |
|
14828 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14829 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
14830 |
|
14831 2008-10-03 David Hyatt <hyatt@apple.com> |
|
14832 |
|
14833 Fix scroll method on Qt. The delta was supposed to use .width()/.height() and not .x()/.y(). |
|
14834 |
|
14835 Fix the QtPluginWidget to do an invalidate properly. |
|
14836 |
|
14837 Reviewed by ggaren |
|
14838 |
|
14839 * WebCoreSupport/ChromeClientQt.cpp: |
|
14840 (WebCore::ChromeClientQt::scroll): |
|
14841 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14842 (WebCore::): |
|
14843 |
|
14844 2008-10-03 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14845 |
|
14846 Build fix. Remove addToDirtyRegion from the header file. |
|
14847 |
|
14848 * WebCoreSupport/ChromeClientQt.h: |
|
14849 |
|
14850 2008-10-03 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
14851 |
|
14852 Build fix. |
|
14853 |
|
14854 * WebCoreSupport/ChromeClientQt.cpp: |
|
14855 (WebCore::ChromeClientQt::scroll): |
|
14856 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14857 (WebCore::): |
|
14858 (WebCore::FrameLoaderClientQt::createPlugin): |
|
14859 |
|
14860 2008-10-03 David Hyatt <hyatt@apple.com> |
|
14861 |
|
14862 Remove addToDirtyRegion. |
|
14863 |
|
14864 Reviewed by Oliver Hunt |
|
14865 |
|
14866 * WebCoreSupport/ChromeClientQt.cpp: |
|
14867 |
|
14868 2008-10-02 David Hyatt <hyatt@apple.com> |
|
14869 |
|
14870 https://bugs.webkit.org/show_bug.cgi?id=21314 |
|
14871 |
|
14872 Make scrollBackingStore cross-platform. |
|
14873 |
|
14874 Reviewed by Sam Weinig |
|
14875 |
|
14876 * WebCoreSupport/ChromeClientQt.cpp: |
|
14877 (WebCore::ChromeClientQt::repaint): |
|
14878 (WebCore::ChromeClientQt::scroll): |
|
14879 * WebCoreSupport/ChromeClientQt.h: |
|
14880 |
|
14881 2008-10-01 David Hyatt <hyatt@apple.com> |
|
14882 |
|
14883 https://bugs.webkit.org/show_bug.cgi?id=21282 |
|
14884 |
|
14885 Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now. |
|
14886 |
|
14887 Reviewed by Adam Roben |
|
14888 |
|
14889 * WebCoreSupport/ChromeClientQt.cpp: |
|
14890 (WebCore::ChromeClientQt::windowToScreen): |
|
14891 (WebCore::ChromeClientQt::screenToWindow): |
|
14892 * WebCoreSupport/ChromeClientQt.h: |
|
14893 |
|
14894 2008-09-30 Dave Hyatt <hyatt@apple.com> |
|
14895 |
|
14896 http://bugs.webkit.org/show_bug.cgi?id=21250 |
|
14897 |
|
14898 Rename updateContents to repaintContentRectangle and make it cross-platform by always sending |
|
14899 repaints up through the ChromeClient. |
|
14900 |
|
14901 Reviewed by Darin Adler |
|
14902 |
|
14903 * WebCoreSupport/ChromeClientQt.cpp: |
|
14904 (WebCore::ChromeClientQt::repaint): |
|
14905 * WebCoreSupport/ChromeClientQt.h: |
|
14906 |
|
14907 2008-09-29 Gunnar Sletta <gunnar@trolltech.com> |
|
14908 |
|
14909 Reviewed by Simon |
|
14910 |
|
14911 Compile on windows using MSVC 2005 |
|
14912 |
|
14913 For the PCH We need to define _WIN32_WINNT and include windows.h early on, |
|
14914 otherwise we'll miss several functions. |
|
14915 |
|
14916 * WebKit_pch.h: |
|
14917 |
|
14918 2008-09-29 Thiago Macieira <thiago.macieira@nokia.com> |
|
14919 |
|
14920 Reviewed by Simon. |
|
14921 |
|
14922 Changed copyright from Trolltech ASA to Nokia. |
|
14923 |
|
14924 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008. |
|
14925 |
|
14926 |
|
14927 * Api/qwebframe.cpp: |
|
14928 * Api/qwebframe.h: |
|
14929 * Api/qwebframe_p.h: |
|
14930 * Api/qwebhistory.cpp: |
|
14931 * Api/qwebhistory.h: |
|
14932 * Api/qwebhistory_p.h: |
|
14933 * Api/qwebkitglobal.h: |
|
14934 * Api/qwebnetworkinterface.cpp: |
|
14935 * Api/qwebnetworkinterface.h: |
|
14936 * Api/qwebnetworkinterface_p.h: |
|
14937 * Api/qwebpage.cpp: |
|
14938 * Api/qwebpage.h: |
|
14939 * Api/qwebpage_p.h: |
|
14940 * Api/qwebpluginfactory.cpp: |
|
14941 * Api/qwebpluginfactory.h: |
|
14942 * Api/qwebsettings.cpp: |
|
14943 * Api/qwebsettings.h: |
|
14944 * Api/qwebview.cpp: |
|
14945 * Api/qwebview.h: |
|
14946 * Plugins/ICOHandler.cpp: |
|
14947 * QtLauncher/main.cpp: |
|
14948 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14949 * WebCoreSupport/FrameLoaderClientQt.h: |
|
14950 * WebCoreSupport/InspectorClientQt.cpp: |
|
14951 * WebCoreSupport/InspectorClientQt.h: |
|
14952 * tests/qwebframe/tst_qwebframe.cpp: |
|
14953 * tests/qwebpage/tst_qwebpage.cpp: |
|
14954 |
|
14955 2008-09-28 Simon Hausmann <hausmann@webkit.org> |
|
14956 |
|
14957 Reviewed by David Hyatt. |
|
14958 |
|
14959 Ensure the mainThreadIdentifier is set as well as other bits and pieces of |
|
14960 the threading machinery, by calling JSC::initializeThreading(). |
|
14961 |
|
14962 * Api/qwebpage.cpp: |
|
14963 (QWebPagePrivate::QWebPagePrivate): |
|
14964 |
|
14965 2008-09-27 David Hyatt <hyatt@apple.com> |
|
14966 |
|
14967 Forgot to land renaming changes in WebKit. |
|
14968 |
|
14969 * Api/qwebframe.cpp: |
|
14970 (QWebFrame::render): |
|
14971 (QWebFrame::pos): |
|
14972 (QWebFrame::geometry): |
|
14973 * Api/qwebpage.cpp: |
|
14974 (QWebPage::viewportSize): |
|
14975 (QWebPage::setViewportSize): |
|
14976 |
|
14977 2008-09-27 Simon Hausmann <hausmann@webkit.org> |
|
14978 |
|
14979 Qt build fix - use frameRect instead of frameGeometry, adapt |
|
14980 to renamed scrollbar frameview methods. |
|
14981 |
|
14982 * Api/qwebpage.cpp: |
|
14983 (QWebPage::viewportSize): |
|
14984 (QWebPage::setViewportSize): |
|
14985 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
14986 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
14987 |
|
14988 2008-09-27 Jan Michael Alonzo <jmalonzo@webkit.org> |
|
14989 |
|
14990 Qt build fix - rename frameGeometry to frameRect per r36995. |
|
14991 |
|
14992 * Api/qwebframe.cpp: |
|
14993 (QWebFrame::render): |
|
14994 (QWebFrame::pos): |
|
14995 (QWebFrame::geometry): |
|
14996 |
|
14997 2008-09-26 Ariya Hidayat <ahidayat@trolltech.com> |
|
14998 |
|
14999 Reviewed by Simon. |
|
15000 |
|
15001 Fixed potential crash when deleting QWebView instance. |
|
15002 |
|
15003 When deleting the view, sets the page's view to NULL. |
|
15004 The reason is that the page is smart and its destructor might lead to a call |
|
15005 that operates on a view (which is in the process of being deleted). |
|
15006 |
|
15007 * Api/qwebpage.h: |
|
15008 * Api/qwebview.cpp: |
|
15009 (QWebView::~QWebView): |
|
15010 |
|
15011 2008-09-26 Ariya Hidayat <ahidayat@trolltech.com> |
|
15012 |
|
15013 Reviewed by Simon. |
|
15014 |
|
15015 Fixed using modifiers to type special symbols (e.g '@','$') does not work on Mac OS X. |
|
15016 |
|
15017 * WebCoreSupport/EditorClientQt.cpp: |
|
15018 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
15019 |
|
15020 2008-09-26 Håvard Wall <hwall@trolltech.com> |
|
15021 |
|
15022 Reviewed by Simon. |
|
15023 |
|
15024 Fix compilation with QT_NO_MESSAGEBOX |
|
15025 |
|
15026 * Api/qwebpage.cpp: |
|
15027 (QWebPage::javaScriptAlert): |
|
15028 (QWebPage::javaScriptConfirm): |
|
15029 |
|
15030 2008-09-23 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15031 |
|
15032 Reviewed by Simon. |
|
15033 |
|
15034 Remove deprecated JS Qt bindings object call/construct code and fix autotests |
|
15035 |
|
15036 * tests/qwebframe/tst_qwebframe.cpp: |
|
15037 |
|
15038 2008-09-16 Alp Toker <alp@nuanti.com> |
|
15039 |
|
15040 Prospective Qt build fix. ScrollBar.h -> Scrollbar.h |
|
15041 |
|
15042 * Api/qwebframe.cpp: |
|
15043 * Api/qwebpage.cpp: |
|
15044 |
|
15045 2008-09-15 Eli Fidler <eli@staikos.net> |
|
15046 |
|
15047 Reviewed by Simon. |
|
15048 |
|
15049 Yahoo assumes non-RFC compliant HTTP redirect behaviour. QtWebKit is (more) |
|
15050 compliant, so broken. I think the Yahoo-assumed behaviour is real-world standard. |
|
15051 |
|
15052 Basically, Yahoo's login procedure for flickr looks like this: |
|
15053 1. load flickr.com, click "sign in" |
|
15054 2. this is a Yahoo page with a form |
|
15055 (https://login.yahoo.com/config/login?.src=flickr...) |
|
15056 when you click the "Sign In" button, the form submits to a yahoo.com POST URL |
|
15057 3. The POST returns with a 302 (redirect) to another yahoo.com URL |
|
15058 4. If you POST the redirected Location:, it all breaks. Yahoo assumes you will |
|
15059 convert the method to GET, which works fine but is definitely not |
|
15060 RFC-compliant. It would be compliant for 303, and the RFC says that many |
|
15061 implementations treat 302 and 303 the same way (for HTTP/1.0 compliance), but |
|
15062 converting to GET is explicitly wrong for 302. |
|
15063 |
|
15064 * Api/qwebnetworkinterface.cpp: |
|
15065 (QWebNetworkManager::started): |
|
15066 |
|
15067 2008-09-15 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15068 |
|
15069 Reviewed by Simon. |
|
15070 |
|
15071 Make QtInstance::create() private and fix caching |
|
15072 |
|
15073 * Api/qwebframe.cpp: |
|
15074 (QWebFrame::addToJavaScriptWindowObject): |
|
15075 |
|
15076 2008-09-11 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15077 |
|
15078 Rubber-stamped by Simon. |
|
15079 |
|
15080 Prevent leaking pages and frames in QWebKit autotest |
|
15081 |
|
15082 * tests/qwebpage/tst_qwebpage.cpp: |
|
15083 |
|
15084 2008-09-11 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15085 |
|
15086 Reviewed by Simon |
|
15087 |
|
15088 Fix QtWebKit autotest |
|
15089 |
|
15090 * tests/qwebpage/tst_qwebpage.cpp: |
|
15091 (tst_QWebPage::userStyleSheet): |
|
15092 |
|
15093 2008-09-09 Joerg Bornemann <joerg.bornemann@trolltech.com> |
|
15094 |
|
15095 Reviewed by Simon. |
|
15096 |
|
15097 Added missing WebCore prefix to ResourceRequest |
|
15098 |
|
15099 This is needed for Windows/CE compilation where there is a conflict |
|
15100 with a global ResourceRequest type. Elsewhere in this file ResourceRequest |
|
15101 is also prefixed with WebCore:: |
|
15102 |
|
15103 * Api/qwebframe.cpp: |
|
15104 (QWebFrame::QWebFrame): |
|
15105 |
|
15106 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca> |
|
15107 |
|
15108 Reviewed by Maciej Stachowiak. |
|
15109 |
|
15110 Bug 20704: Replace the KJS namespace |
|
15111 <https://bugs.webkit.org/show_bug.cgi?id=20704> |
|
15112 |
|
15113 Rename the KJS namespace to JSC. |
|
15114 |
|
15115 * Api/qwebframe.cpp: |
|
15116 (QWebFrame::addToJavaScriptWindowObject): |
|
15117 (QWebFrame::evaluateJavaScript): |
|
15118 |
|
15119 2008-09-04 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15120 |
|
15121 Reviewed by Simon |
|
15122 |
|
15123 Fix the QtWebKit build to match changes in r36016 |
|
15124 |
|
15125 * Api/qwebframe.cpp: |
|
15126 (QWebFrame::addToJavaScriptWindowObject): |
|
15127 |
|
15128 2008-09-04 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15129 |
|
15130 Reviewed by Simon. |
|
15131 |
|
15132 Re-enable support for user stylesheets in QtWebKit |
|
15133 |
|
15134 QtWebKit now follows the FRAME_LOADS_USER_STYLESHEET |
|
15135 code path, which allows us to keep API support for |
|
15136 loading user style sheets from remote URLs. |
|
15137 |
|
15138 As part of the change UserStyleSheetLoader.cpp/h was |
|
15139 moved from WebCore/loader/mac to WebCore/loader. |
|
15140 |
|
15141 * tests/qwebpage/tst_qwebpage.cpp: |
|
15142 (tst_QWebPage::userStyleSheet): |
|
15143 |
|
15144 2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org> |
|
15145 |
|
15146 Reviewed by Eric Seidel. |
|
15147 |
|
15148 [janitor/qt] Start replacing port specific getters with the generic native getter |
|
15149 To get the native presentation of an image we currently have platform |
|
15150 specific #ifdef's and a generic getter using NativeImagePtr. This patch |
|
15151 extends this to the ImageBuffer and updates the Qt platform to get rid |
|
15152 of the special #ifdefs. |
|
15153 |
|
15154 https://bugs.webkit.org/attachment.cgi?id=22861 |
|
15155 |
|
15156 * Api/qwebframe.cpp: |
|
15157 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
15158 * Api/qwebhistory.cpp: |
|
15159 * Api/qwebsettings.cpp: |
|
15160 (QWebSettings::iconForUrl): |
|
15161 |
|
15162 2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org> |
|
15163 |
|
15164 Reviewed by Simon. |
|
15165 |
|
15166 Catch up with the introduction of PageGroup in r30840. Enable tracking of |
|
15167 visited links, enable this in QWebPage next to the other WebCore init call. |
|
15168 Calling this more than once is no issue and a cheap operation, we also do not |
|
15169 reset the state. When clearing the history of a page, clear the link state. |
|
15170 |
|
15171 * Api/qwebhistory.cpp: |
|
15172 (QWebHistory::clear): |
|
15173 * Api/qwebhistoryinterface.cpp: |
|
15174 (QWebHistoryInterface::setDefaultInterface): |
|
15175 * Api/qwebpage.cpp: |
|
15176 (QWebPagePrivate::QWebPagePrivate): |
|
15177 |
|
15178 2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org> |
|
15179 |
|
15180 Reviewed by Simon. |
|
15181 |
|
15182 Revert revision 34348 which removed the global historyContains() function. |
|
15183 |
|
15184 This function was needed to implement the public API of QWebHistoryInterface |
|
15185 and will be used again in the near future. |
|
15186 |
|
15187 * Api/qwebhistoryinterface.cpp: |
|
15188 (WebCore::historyContains): |
|
15189 |
|
15190 2008-08-27 Erik Bunce <elbunce@thehive.com> |
|
15191 |
|
15192 Reviewed by Eric Seidel. |
|
15193 |
|
15194 https://bugs.webkit.org/show_bug.cgi?id=20223 |
|
15195 |
|
15196 Add QWebPage::contentsChanged() signal to notify of content changes. |
|
15197 |
|
15198 * Api/qwebpage.cpp: |
|
15199 * Api/qwebpage.h: |
|
15200 * WebCoreSupport/EditorClientQt.cpp: |
|
15201 (WebCore::EditorClientQt::respondToChangedContents): |
|
15202 |
|
15203 2008-08-27 Brady Eidson <beidson@apple.com> |
|
15204 |
|
15205 Reviewed by Anders |
|
15206 |
|
15207 <rdar://problem/6134133> - Crash when loading large movie as a standalone document |
|
15208 |
|
15209 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15210 (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError): Stubbed for now |
|
15211 * WebCoreSupport/FrameLoaderClientQt.h: |
|
15212 |
|
15213 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org> |
|
15214 |
|
15215 Reviewed by Simon. |
|
15216 |
|
15217 [inspector] Emit signals from attachWindow and detachWindow in the Qt platform |
|
15218 Allow the user of the API to honor the attachWindow and detachWindow |
|
15219 requests and attach the QWebPage/QWebView wherever it is wanted. This needs |
|
15220 some more API in QWebPage to be properly exposed. |
|
15221 |
|
15222 * WebCoreSupport/InspectorClientQt.cpp: |
|
15223 (WebCore::InspectorClientQt::createPage): |
|
15224 (WebCore::InspectorClientQt::attachWindow): |
|
15225 (WebCore::InspectorClientQt::detachWindow): |
|
15226 * WebCoreSupport/InspectorClientQt.h: |
|
15227 |
|
15228 2008-08-19 Alexey Proskuryakov <ap@webkit.org> |
|
15229 |
|
15230 Reviewed by Geoff Garen. |
|
15231 |
|
15232 Bring back shared JSGlobalData and implicit locking, because too many clients rely on it. |
|
15233 |
|
15234 * Api/qwebframe.cpp: |
|
15235 (QWebFrame::addToJavaScriptWindowObject): |
|
15236 |
|
15237 2008-08-15 Håvard Wall <hwall@trolltech.com> |
|
15238 |
|
15239 Reviewed by Simon. |
|
15240 |
|
15241 Fixes: compile with QT_NO_UNDOCOMMAND/STACK |
|
15242 |
|
15243 |
|
15244 * Api/qwebpage.cpp: |
|
15245 (SetCursorEvent::SetCursorEvent): |
|
15246 (QWebPagePrivate::createContextMenu): |
|
15247 (QWebPage::action): |
|
15248 * Api/qwebpage.h: |
|
15249 * Api/qwebpage_p.h: |
|
15250 * WebCoreSupport/EditCommandQt.cpp: |
|
15251 (EditCommandQt::EditCommandQt): |
|
15252 * WebCoreSupport/EditCommandQt.h: |
|
15253 * WebCoreSupport/EditorClientQt.cpp: |
|
15254 (dumpPath): |
|
15255 (WebCore::EditorClientQt::shouldInsertText): |
|
15256 (WebCore::EditorClientQt::shouldChangeSelectedRange): |
|
15257 (WebCore::EditorClientQt::isEditable): |
|
15258 (WebCore::EditorClientQt::registerCommandForUndo): |
|
15259 (WebCore::EditorClientQt::clearUndoRedoOperations): |
|
15260 (WebCore::EditorClientQt::canUndo): |
|
15261 (WebCore::EditorClientQt::canRedo): |
|
15262 (WebCore::EditorClientQt::undo): |
|
15263 (WebCore::EditorClientQt::redo): |
|
15264 (WebCore::EditorClientQt::shouldInsertNode): |
|
15265 |
|
15266 2008-08-15 Håvard Wall <hwall@trolltech.com> |
|
15267 |
|
15268 Reviewed by Simon. |
|
15269 |
|
15270 Fixes: compile with QT_NO_STYLE_STYLESHEET |
|
15271 |
|
15272 |
|
15273 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15274 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): |
|
15275 (WebCore::FrameLoaderClientQt::createPlugin): |
|
15276 |
|
15277 2008-08-15 Håvard Wall <hwall@trolltech.com> |
|
15278 |
|
15279 Reviewed by Simon. |
|
15280 |
|
15281 Fixes: compile with QT_NO_SHORTCUT |
|
15282 |
|
15283 |
|
15284 * Api/qwebpage.cpp: |
|
15285 (QWebPagePrivate::mouseMoveEvent): |
|
15286 (QWebPagePrivate::mouseReleaseEvent): |
|
15287 (QWebPagePrivate::dragMoveEvent): |
|
15288 |
|
15289 2008-08-15 Håvard Wall <hwall@trolltech.com> |
|
15290 |
|
15291 Reviewed by Simon. |
|
15292 |
|
15293 Fixes: compile with QT_NO_CONTEXTMENU |
|
15294 |
|
15295 |
|
15296 * Api/qwebpage.cpp: |
|
15297 (editorCommandForWebActions): |
|
15298 (QWebPagePrivate::QWebPagePrivate): |
|
15299 (QWebPagePrivate::createMainFrame): |
|
15300 (QWebPagePrivate::updateEditorActions): |
|
15301 (QWebPage::setEditable): |
|
15302 * Api/qwebpage.h: |
|
15303 * Api/qwebpage_p.h: |
|
15304 * Api/qwebview.cpp: |
|
15305 * Api/qwebview.h: |
|
15306 |
|
15307 2008-08-15 Håvard Wall <hwall@trolltech.com> |
|
15308 |
|
15309 Reviewed by Simon. |
|
15310 |
|
15311 Fixes: compile with QT_NO_WHEELEVENT |
|
15312 |
|
15313 |
|
15314 * Api/qwebpage.cpp: |
|
15315 (QWebPagePrivate::updateEditorActions): |
|
15316 (QWebPage::event): |
|
15317 * Api/qwebpage_p.h: |
|
15318 * Api/qwebview.cpp: |
|
15319 * Api/qwebview.h: |
|
15320 |
|
15321 2008-08-15 Håvard Wall <hwall@trolltech.com> |
|
15322 |
|
15323 Reviewed by Simon. |
|
15324 |
|
15325 Fixes: compile with QT_NO_PRINTER |
|
15326 |
|
15327 |
|
15328 * Api/qwebframe.cpp: |
|
15329 (QWebFrame::print): |
|
15330 * Api/qwebframe.h: |
|
15331 |
|
15332 2008-08-15 David Boddie <dboddie@trolltech.com> |
|
15333 |
|
15334 Reviewed by Simon. |
|
15335 |
|
15336 Doc: Added documentation for default property values. |
|
15337 |
|
15338 |
|
15339 * Api/qwebpage.cpp: |
|
15340 (QWebPagePrivate::keyPressEvent): |
|
15341 (QWebPage::triggerAction): |
|
15342 (QWebPage::acceptNavigationRequest): |
|
15343 (QWebPage::action): |
|
15344 * Api/qwebview.cpp: |
|
15345 |
|
15346 2008-08-15 David Boddie <dboddie@trolltech.com> |
|
15347 |
|
15348 Reviewed by Simon. |
|
15349 |
|
15350 Doc: Renamed snippets that appear in the code directory. |
|
15351 |
|
15352 |
|
15353 * Api/qwebview.cpp: |
|
15354 (QWebView::event): |
|
15355 (QWebView::print): |
|
15356 |
|
15357 2008-08-12 Timothy Hatcher <timothy@apple.com> |
|
15358 |
|
15359 Add a stub for InspectorClient::setAttachedWindowHeight. |
|
15360 |
|
15361 * WebCoreSupport/InspectorClientQt.cpp: |
|
15362 (WebCore::InspectorClientQt::setAttachedWindowHeight): |
|
15363 Call notImplemented(). |
|
15364 * WebCoreSupport/InspectorClientQt.h: |
|
15365 |
|
15366 2008-08-13 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
15367 |
|
15368 Reviewed by Simon. |
|
15369 |
|
15370 Use full-page zoom in QtLauncher. |
|
15371 |
|
15372 * QtLauncher/main.cpp: |
|
15373 (MainWindow::zoomIn): |
|
15374 (MainWindow::zoomOut): |
|
15375 (MainWindow::resetZoom): |
|
15376 (MainWindow::setupUI): |
|
15377 |
|
15378 2008-08-13 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
15379 |
|
15380 Reviewed by Simon. |
|
15381 |
|
15382 Fix linking with QtWebKit. |
|
15383 |
|
15384 * Api/qwebframe.h: remove non-existing function/property. |
|
15385 |
|
15386 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
|
15387 |
|
15388 Reviewed by Holger. |
|
15389 |
|
15390 Based on patch by Siraj razick <siraj.razick@collabora.co.uk> |
|
15391 |
|
15392 https://bugs.webkit.org/show_bug.cgi?id=19125 |
|
15393 |
|
15394 Added functions to get/set the zoom factor. |
|
15395 |
|
15396 Added a QWebFrame/QWebView::zoomFactor as well as a boolean |
|
15397 ZoomTextOnly attribute in QWebSettings. |
|
15398 |
|
15399 * Api/qwebframe.cpp: |
|
15400 (QWebFrame::setZoomFactor): |
|
15401 (QWebFrame::zoomFactor): |
|
15402 * Api/qwebframe.h: |
|
15403 * Api/qwebsettings.cpp: |
|
15404 (QWebSettingsPrivate::apply): |
|
15405 (QWebSettings::QWebSettings): |
|
15406 * Api/qwebsettings.h: |
|
15407 * Api/qwebview.cpp: |
|
15408 (QWebView::setZoomFactor): |
|
15409 (QWebView::zoomFactor): |
|
15410 * Api/qwebview.h: |
|
15411 |
|
15412 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
|
15413 |
|
15414 Reviewed by Lars. |
|
15415 |
|
15416 Fix QWebFrame::setHtml() not setting the new contents immediately. |
|
15417 |
|
15418 Added a setter to the DocumentLoader to toggle the deferred loading of the main |
|
15419 resource when it comes from substitute data. |
|
15420 |
|
15421 Disable deferred loading of the main resource when we have valid substitute data, |
|
15422 as used by QWebFrame::setHtml. |
|
15423 |
|
15424 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15425 (WebCore::FrameLoaderClientQt::download): |
|
15426 |
|
15427 2008-08-13 Simon Hausmann <hausmann@webkit.org> |
|
15428 |
|
15429 Rubber-stamped by Holger. |
|
15430 |
|
15431 Fix QWebPage::isModified(). |
|
15432 |
|
15433 isModified() would return true after loading a new page or it would continue to |
|
15434 return true after undoing modifications. Fix this by eliminating the |
|
15435 QWebPagePrivate::modified variable and use the undoStack's canUndo() property |
|
15436 instead. |
|
15437 |
|
15438 https://bugs.webkit.org/show_bug.cgi?id=19252 |
|
15439 |
|
15440 * Api/qwebpage.cpp: |
|
15441 (QWebPage::action): |
|
15442 * Api/qwebpage_p.h: |
|
15443 * WebCoreSupport/EditorClientQt.cpp: |
|
15444 (WebCore::EditorClientQt::respondToChangedContents): |
|
15445 |
|
15446 2008-08-13 David Boddie <dboddie@trolltech.com> |
|
15447 |
|
15448 Reviewed by Simon. |
|
15449 |
|
15450 Updated docs with the signal emission behavior of urlChanged() |
|
15451 |
|
15452 * Api/qwebframe.cpp: |
|
15453 |
|
15454 2008-08-13 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
15455 |
|
15456 Reviewed by Simon. |
|
15457 |
|
15458 Fix Ctrl+Y to work again when editing text in contextEditable mode. |
|
15459 |
|
15460 This fixes regression in LayoutTests/editing/pasteboard/emacs-cntl-y-001.html |
|
15461 |
|
15462 * WebCoreSupport/EditorClientQt.cpp: |
|
15463 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
15464 |
|
15465 2008-08-13 Thiago Macieira <tjmaciei@trolltech.com> |
|
15466 |
|
15467 Reviewed by Simon. |
|
15468 |
|
15469 Fix encoding of [ and ] in the host part of the URL |
|
15470 |
|
15471 Until QUrl is fixed (making QUrl's tolerant parser more tolerant), we have to |
|
15472 add this workaround to the QUrl <> WebCore::KURL conversion operator so that it |
|
15473 doesn't encode [ and ] when they are found in the host part. That is, the |
|
15474 following URL: |
|
15475 http://[::1]/ |
|
15476 is valid and should not be reencoded to: |
|
15477 http://%5b::1%5d/ |
|
15478 |
|
15479 This change adds the automatic test for it. |
|
15480 |
|
15481 * tests/qwebframe/tst_qwebframe.cpp: |
|
15482 |
|
15483 2008-08-12 Urs Wolfer <uwolfer@kde.org> |
|
15484 |
|
15485 Reviewed by Simon. |
|
15486 |
|
15487 https://bugs.webkit.org/show_bug.cgi?id=20357 |
|
15488 |
|
15489 Fix crash in QWebPage in case contextMenuEvent has been overwritten |
|
15490 because context menu has the view as parent and thus is deleted too early. |
|
15491 |
|
15492 Add testcase for this crash. |
|
15493 |
|
15494 * Api/qwebpage_p.h: |
|
15495 * tests/qwebpage/tst_qwebpage.cpp: |
|
15496 (tst_QWebPage::contextMenuCrash): |
|
15497 |
|
15498 2008-08-07 Simon Hausmann <hausmann@webkit.org> |
|
15499 |
|
15500 Rubber-stamped by Lars. |
|
15501 |
|
15502 Added API tests for QWebPage/QWebFrame based on QTestLib. |
|
15503 |
|
15504 * tests/qwebframe/qwebframe.pro: Added. |
|
15505 * tests/qwebframe/tst_qwebframe.cpp: Added. |
|
15506 * tests/qwebpage/qwebpage.pro: Added. |
|
15507 * tests/qwebpage/tst_qwebpage.cpp: Added. |
|
15508 * tests/tests.pro: Added. |
|
15509 |
|
15510 2008-08-06 Benjamin C Meyer <ben@meyerhome.net> |
|
15511 |
|
15512 Reviewed by Simon. |
|
15513 |
|
15514 During the drag operation only accept the event if the action is not ignore action. |
|
15515 |
|
15516 * Api/qwebpage.cpp: |
|
15517 (QWebPagePrivate::dragEnterEvent): |
|
15518 (QWebPagePrivate::dragMoveEvent): |
|
15519 (QWebPagePrivate::dropEvent): |
|
15520 |
|
15521 2008-08-06 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
15522 |
|
15523 Fix the Qt build due to recent ScriptController refactoring. |
|
15524 |
|
15525 * Api/qwebframe.cpp: |
|
15526 (QWebFrame::addToJavaScriptWindowObject): |
|
15527 |
|
15528 2008-08-05 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15529 |
|
15530 Reviewed by Simon. |
|
15531 |
|
15532 Move event handling of the return-key from EditorClientQt to QWebPage. |
|
15533 |
|
15534 https://bugs.webkit.org/show_bug.cgi?id=20191 |
|
15535 |
|
15536 This is a first step in refactoring the big switch block |
|
15537 in EditorClientQt::handleKeyboardEvent to using WebActions |
|
15538 instead. |
|
15539 |
|
15540 The new logic uses two new StandardKeys from QKeySequence: |
|
15541 |
|
15542 - InsertParagraphSeparator |
|
15543 - InsertLineSeparator |
|
15544 |
|
15545 Which translate to the commands InsertNewline and InsertLineBreak |
|
15546 respectivly. On Windows/X11 pressing the shift modifier will invoke |
|
15547 the latter action. For Mac this is triggered by pressing the meta |
|
15548 modifier (Ctrl). |
|
15549 |
|
15550 Initial patch by: Erik Bunce |
|
15551 |
|
15552 * Api/qwebpage.cpp: |
|
15553 (editorActionForKeyEvent): |
|
15554 * Api/qwebpage.h: |
|
15555 * WebCoreSupport/EditorClientQt.cpp: |
|
15556 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
15557 |
|
15558 2008-08-04 Erik Bunce <elbunce@thehive.com> |
|
15559 |
|
15560 Reviewed by Simon. |
|
15561 |
|
15562 https://bugs.webkit.org/show_bug.cgi?id=20221 |
|
15563 |
|
15564 Add updateAction() support to ToggleBold, ToggleItalic, and ToggleUnderline. |
|
15565 Add lookup table for mapping web actions to editor commands. |
|
15566 |
|
15567 * Api/qwebpage.cpp: |
|
15568 (editorCommandForWebActions): |
|
15569 (QWebPagePrivate::updateAction): |
|
15570 (QWebPagePrivate::updateEditorActions): |
|
15571 (QWebPage::triggerAction): |
|
15572 (QWebPage::setEditable): |
|
15573 |
|
15574 2008-08-03 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
15575 |
|
15576 Reviewed by Simon. |
|
15577 |
|
15578 A bunch of improvements to the QtLauncher. |
|
15579 |
|
15580 Among others: |
|
15581 - Unify and unclutter the toolbar, use menu for addition actions |
|
15582 - Simplify URL edit, just use QLineEdit (no fancy close button etc) |
|
15583 - Guess the URL from the command line so now we can run ./QtLauncher www.google.com |
|
15584 - Shortcut keys for most actions |
|
15585 - Simple autocomplete for the URL edit |
|
15586 - Actions for zooming, New Window and Close Window |
|
15587 - Show Format menu only when the content is set to editable |
|
15588 |
|
15589 * QtLauncher/main.cpp: |
|
15590 (MainWindow::MainWindow): |
|
15591 (MainWindow::webPage): |
|
15592 (MainWindow::changeLocation): |
|
15593 (MainWindow::loadFinished): |
|
15594 (MainWindow::showLinkHover): |
|
15595 (MainWindow::newWindow): |
|
15596 (MainWindow::zoomIn): |
|
15597 (MainWindow::zoomOut): |
|
15598 (MainWindow::resetZoom): |
|
15599 (MainWindow::print): |
|
15600 (MainWindow::setEditable): |
|
15601 (MainWindow::dumpHtml): |
|
15602 (MainWindow::setupUI): |
|
15603 (main): |
|
15604 |
|
15605 2008-08-04 Erik Bunce <elbunce@thehive.com> |
|
15606 |
|
15607 Reviewed by Simon. |
|
15608 |
|
15609 https://bugs.webkit.org/show_bug.cgi?id=20198 |
|
15610 |
|
15611 Allow Copy key sequence to work in non-editable areas. |
|
15612 |
|
15613 * Api/qwebpage.cpp: |
|
15614 (QWebPagePrivate::keyPressEvent): |
|
15615 |
|
15616 2008-07-31 Erik Bunce <elbunce@thehive.com> |
|
15617 |
|
15618 Reviewed by Simon. |
|
15619 |
|
15620 Make sure edit actions get updated when the contents change. |
|
15621 |
|
15622 * WebCoreSupport/EditorClientQt.cpp: |
|
15623 (WebCore::EditorClientQt::respondToChangedContents): |
|
15624 |
|
15625 2008-07-31 Erik Bunce <elbunce@thehive.com> |
|
15626 |
|
15627 Reviewed by Simon. |
|
15628 |
|
15629 Add simple edit test abilities to QtLauncher. |
|
15630 |
|
15631 * QtLauncher/main.cpp: |
|
15632 (MainWindow::MainWindow): |
|
15633 (MainWindow::setEditable): |
|
15634 (MainWindow::dumpHtml): |
|
15635 |
|
15636 2008-07-31 Alexey Proskuryakov <ap@webkit.org> |
|
15637 |
|
15638 Rubber-stamped by Maciej. |
|
15639 |
|
15640 Eliminate JSLock (it was already disabled, removing the stub implementaion and all |
|
15641 call sites now). |
|
15642 |
|
15643 * Api/qwebframe.cpp: |
|
15644 (QWebFrame::addToJavaScriptWindowObject): |
|
15645 |
|
15646 2008-07-27 David Kilzer <ddkilzer@apple.com> |
|
15647 |
|
15648 Fix Qt build failure. |
|
15649 |
|
15650 * Api/qwebframe.h: |
|
15651 (QWebFrame::setScrollOffset): Make argument const. |
|
15652 |
|
15653 2008-07-26 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk> |
|
15654 |
|
15655 Reviewed by Simon Hausmann. |
|
15656 |
|
15657 https://bugs.webkit.org/show_bug.cgi?id=20010 |
|
15658 [Qt] Add API access to scrolling |
|
15659 |
|
15660 * Api/qwebframe.cpp: Added access to a frame scroll offset. |
|
15661 (QWebFrame::scroll): |
|
15662 (QWebFrame::scrollOffset): |
|
15663 (QWebFrame::setScrollOffset): |
|
15664 * Api/qwebframe.h: |
|
15665 |
|
15666 2008-07-26 Daniel Jalkut <jalkut@red-sweater.com> |
|
15667 |
|
15668 Build fix. Adjust to updated WebCore FrameLoader method names & signatures. |
|
15669 |
|
15670 * Api/qwebpage.cpp: |
|
15671 (QWebPage::triggerAction): |
|
15672 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15673 (WebCore::FrameLoaderClientQt::createFrame): |
|
15674 |
|
15675 2008-07-25 Joerg Bornemann <joerg.bornemann@trolltech.com> |
|
15676 |
|
15677 Reviewed by Simon. |
|
15678 |
|
15679 Compile with QT_NO_PRINTER. |
|
15680 |
|
15681 * QtLauncher/main.cpp: |
|
15682 (MainWindow::MainWindow): |
|
15683 |
|
15684 2008-07-24 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15685 |
|
15686 Reviewed by Simon |
|
15687 |
|
15688 Don't insert text on keyDown event in EditorClientQt. |
|
15689 |
|
15690 * WebCoreSupport/EditorClientQt.cpp: |
|
15691 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
15692 |
|
15693 2008-07-04 Benjamin C Meyer <ben@meyerhome.net> |
|
15694 |
|
15695 Reviewed by Simon. |
|
15696 |
|
15697 Update the webkit version in the QtWebKit useragent string to match trunk |
|
15698 |
|
15699 * Api/qwebpage.cpp: |
|
15700 |
|
15701 2008-07-02 Simon Hausmann <hausmann@webkit.org> |
|
15702 |
|
15703 Build fix. |
|
15704 |
|
15705 * Api/qwebpage.cpp: |
|
15706 (QWebPage::triggerAction): The signature of setBaseWritingDirection |
|
15707 changed to take an enum instead of a string. |
|
15708 |
|
15709 2008-07-01 Alexey Proskuryakov <ap@webkit.org> |
|
15710 |
|
15711 Reviewed by Darin Adler. |
|
15712 |
|
15713 Disable JSLock for per-thread contexts. |
|
15714 |
|
15715 * Api/qwebframe.cpp: |
|
15716 (QWebFrame::addToJavaScriptWindowObject): |
|
15717 Pass a parameter (false) to JSLock to indicate that WebKit doesn't need locking. |
|
15718 Include JSLock.h, as it is no longer brought in implicitly. |
|
15719 |
|
15720 2008-07-01 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15721 |
|
15722 Reviewed by Simon. |
|
15723 |
|
15724 Don't show the tooltip instantly in the QtLauncher. |
|
15725 |
|
15726 Let the QWebView handle tooltips by itself, so we get |
|
15727 the expected delay as everywhere else. |
|
15728 |
|
15729 * QtLauncher/main.cpp: |
|
15730 |
|
15731 2008-06-30 Simon Hausmann <hausmann@webkit.org> |
|
15732 |
|
15733 Rubber-stamped by Niko. |
|
15734 |
|
15735 Removed the obsolete and unmaintained WebKitPart. The integration of |
|
15736 QtWebKit into KDE is now done in the webkitkde component inside KDE. |
|
15737 |
|
15738 * WebKitPart/WebKitFactory.cpp: Removed. |
|
15739 * WebKitPart/WebKitFactory.h: Removed. |
|
15740 * WebKitPart/WebKitPart.cpp: Removed. |
|
15741 * WebKitPart/WebKitPart.desktop: Removed. |
|
15742 * WebKitPart/WebKitPart.h: Removed. |
|
15743 * WebKitPart/WebKitPart.rc: Removed. |
|
15744 * WebKitPart/WebKitPartBrowser.rc: Removed. |
|
15745 * WebKitPart/WebKitPartBrowserExtension.cpp: Removed. |
|
15746 * WebKitPart/WebKitPartBrowserExtension.h: Removed. |
|
15747 * WebKitPart/WebKitPartClient.cpp: Removed. |
|
15748 * WebKitPart/WebKitPartClient.h: Removed. |
|
15749 * WebKitPart/WebKitPartInterface.cpp: Removed. |
|
15750 * WebKitPart/WebKitPartInterface.h: Removed. |
|
15751 * WebKitPart/org.kde.WebKitPart.xml: Removed. |
|
15752 |
|
15753 2008-06-24 Simon Hausmann <hausmann@webkit.org> |
|
15754 |
|
15755 Fix the Qt build, added missing include for RuntimeObjectImp. |
|
15756 |
|
15757 * Api/qwebframe.cpp: |
|
15758 |
|
15759 2008-06-23 Benjamin C Meyer <ben@meyerhome.net> |
|
15760 |
|
15761 Reviewed by Simon. |
|
15762 |
|
15763 Add function to retrieve the standard context menu |
|
15764 |
|
15765 2008-06-20 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk> |
|
15766 |
|
15767 Reviewed by Simon. |
|
15768 |
|
15769 https://bugs.webkit.org/show_bug.cgi?id=19082 |
|
15770 [Qt] Full-page plugins not activated |
|
15771 |
|
15772 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15773 (WebCore::FrameLoaderClientQt::committedLoad): Re-check if there's a |
|
15774 plugin present, as it can be created during the function. |
|
15775 |
|
15776 2008-06-20 Marco Barisione <marco.barisione@collabora.co.uk> |
|
15777 |
|
15778 Reviewed by Simon. |
|
15779 |
|
15780 https://bugs.webkit.org/show_bug.cgi?id=19082 |
|
15781 [Qt] Full-page plugins not activated |
|
15782 |
|
15783 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15784 (WebCore::FrameLoaderClientQt::canShowMIMEType): Return true if the |
|
15785 MIME type is supported by a plugin. |
|
15786 |
|
15787 2008-06-18 Alexey Proskuryakov <ap@webkit.org> |
|
15788 |
|
15789 Reviewed by Darin Adler. |
|
15790 |
|
15791 Prepare JavaScript heap for being per-thread. |
|
15792 |
|
15793 * Api/qwebframe.cpp: |
|
15794 (QWebFrame::addToJavaScriptWindowObject): Trying not to break the build. |
|
15795 |
|
15796 2008-06-18 Julien Chaffraix <jchaffraix@webkit.org> |
|
15797 |
|
15798 Qt Build fix after r34627. |
|
15799 |
|
15800 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15801 (WebCore::FrameLoaderClientQt::createPlugin): |
|
15802 |
|
15803 2008-06-15 Darin Adler <darin@apple.com> |
|
15804 |
|
15805 - give Frame object functions shorter names: scriptProxy() -> script(), |
|
15806 selectionController() -> selection(), animationController() -> animation() |
|
15807 |
|
15808 * Api/qwebframe.cpp: |
|
15809 (QWebFrame::evaluateJavaScript): |
|
15810 * Api/qwebpage.cpp: |
|
15811 (QWebPagePrivate::focusInEvent): |
|
15812 (QWebPagePrivate::focusOutEvent): |
|
15813 (QWebPage::inputMethodQuery): |
|
15814 * WebCoreSupport/EditorClientQt.cpp: |
|
15815 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
15816 |
|
15817 2008-06-15 Darin Adler <darin@apple.com> |
|
15818 |
|
15819 - new names for more JavaScriptCore files |
|
15820 |
|
15821 * WebKit_pch.h: |
|
15822 |
|
15823 2008-06-15 Darin Adler <darin@apple.com> |
|
15824 |
|
15825 - new names for a few key JavaScriptCore files |
|
15826 |
|
15827 * Api/qwebframe.cpp: |
|
15828 |
|
15829 2008-06-14 Darin Adler <darin@apple.com> |
|
15830 |
|
15831 Rubber stamped by Sam. |
|
15832 |
|
15833 - new names for kjs_binding.h and kjs_proxy.h |
|
15834 |
|
15835 * Api/qwebframe.cpp: |
|
15836 (QWebFrame::evaluateJavaScript): |
|
15837 * WebKit_pch.h: |
|
15838 |
|
15839 2008-06-14 Darin Adler <darin@apple.com> |
|
15840 |
|
15841 - fix build |
|
15842 |
|
15843 * Api/qwebframe.cpp: |
|
15844 (QWebFramePrivate::init): Added a missing semicolon. |
|
15845 |
|
15846 2008-06-14 Darin Adler <darin@apple.com> |
|
15847 |
|
15848 Reviewed by Sam. |
|
15849 |
|
15850 - more https://bugs.webkit.org/show_bug.cgi?id=17257 |
|
15851 start ref counts at 1 instead of 0 for speed |
|
15852 |
|
15853 * Api/qwebframe.cpp: |
|
15854 (QWebFramePrivate::init): Use create instead of new. |
|
15855 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15856 (WebCore::FrameLoaderClientQt::createDocumentLoader): Ditto. |
|
15857 |
|
15858 2008-06-13 Darin Adler <darin@apple.com> |
|
15859 |
|
15860 - try to fix build |
|
15861 |
|
15862 * WebCoreSupport/FrameLoaderClientQt.h: Add missing argument. |
|
15863 |
|
15864 2008-06-13 Darin Adler <darin@apple.com> |
|
15865 |
|
15866 Reviewed by John Sullivan. |
|
15867 |
|
15868 - updated for addition of FormState argument to action policy functions |
|
15869 |
|
15870 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15871 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
15872 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
15873 |
|
15874 2008-06-11 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
15875 |
|
15876 Reviewed by Simon. |
|
15877 |
|
15878 Fix left-click and middle-click mouse event are not properly accepted. |
|
15879 |
|
15880 When copying or pasting text using left or middle-click, the event must be |
|
15881 accepted so that it will not be potentially processed further by the parent |
|
15882 and/or sub-classed widget. |
|
15883 |
|
15884 |
|
15885 * Api/qwebpage.cpp: |
|
15886 (QWebPagePrivate::mouseReleaseEvent): |
|
15887 |
|
15888 2008-06-11 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
15889 |
|
15890 Reviewed by Simon. |
|
15891 |
|
15892 Fix input element does not accept character typed in using AltGr. |
|
15893 |
|
15894 EditorClient is modified to catch AltGr and Ctrl+Alt key combination. |
|
15895 This fixes http://trolltech.com/developer/task-tracker/index_html?id=207050&method=entry |
|
15896 |
|
15897 * WebCoreSupport/EditorClientQt.cpp: |
|
15898 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
15899 |
|
15900 2008-05-26 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> |
|
15901 |
|
15902 Reviewed by Simon. |
|
15903 |
|
15904 https://bugs.webkit.org/show_bug.cgi?id=19323 |
|
15905 |
|
15906 Implemented the QWebPage::editable property. |
|
15907 |
|
15908 Small documentation fixes by Simon. |
|
15909 |
|
15910 * Api/qwebpage.cpp: |
|
15911 (QWebPagePrivate::QWebPagePrivate): |
|
15912 (QWebPage::setEditable): |
|
15913 (QWebPage::isEditable): |
|
15914 * Api/qwebpage.h: |
|
15915 * Api/qwebpage_p.h: implement the editable property and add API so that |
|
15916 applications can switch edit mode on and off for a particular QWebPage |
|
15917 * WebCoreSupport/EditorClientQt.cpp: retrieve editable property from the |
|
15918 QWebPage instead of always returning false |
|
15919 |
|
15920 2008-06-09 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15921 |
|
15922 Reviewed by Simon |
|
15923 |
|
15924 Make sure web action in context menus have the right enablement, |
|
15925 while not messing up other web actions not included in the menu. |
|
15926 |
|
15927 * Api/qwebpage.cpp: |
|
15928 (QWebPagePrivate::createContextMenu): |
|
15929 (QWebPage::updatePositionDependentActions): |
|
15930 * Api/qwebpage_p.h: |
|
15931 |
|
15932 2008-06-09 Benjamin C Meyer <ben@meyerhome.net> |
|
15933 |
|
15934 Reviewed by Simon |
|
15935 |
|
15936 Add Shift-Space shortcut to go up one screen, the opposite of Space |
|
15937 which goes down one screen. |
|
15938 |
|
15939 * Api/qwebpage.cpp: |
|
15940 (QWebPagePrivate::handleScrolling): |
|
15941 |
|
15942 2008-06-04 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
15943 |
|
15944 Reviewed by Simon. |
|
15945 |
|
15946 Fix a failing assertion when calling QWebFrame::evaluateJavaScript. |
|
15947 |
|
15948 The starting line number has to be 1 instead of 0. |
|
15949 |
|
15950 * Api/qwebframe.cpp: |
|
15951 (QWebFrame::evaluateJavaScript): |
|
15952 |
|
15953 2008-06-03 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> |
|
15954 |
|
15955 Reviewed by Darin Adler. |
|
15956 |
|
15957 * Api/qwebhistoryinterface.cpp: Remove WebCore::historyContains(). This |
|
15958 function is not used anywhere internally and is only a convenience |
|
15959 function that can still be accomplished using |
|
15960 QWebHistoryInterface::historyContains(); |
|
15961 |
|
15962 2008-05-29 Kavindra Devi Palaraja <kdpalara@trolltech.com> |
|
15963 |
|
15964 Reviewed by Simon. |
|
15965 |
|
15966 Doc: Mention the requirement of a QApplication with QtWebKit |
|
15967 |
|
15968 |
|
15969 * Api/qwebview.cpp: |
|
15970 |
|
15971 2008-05-29 David Boddie <dboddie@trolltech.com> |
|
15972 |
|
15973 Reviewed by Simon. |
|
15974 |
|
15975 Some clarifications for the documentation. |
|
15976 |
|
15977 |
|
15978 * Api/qwebpage.cpp: |
|
15979 * Api/qwebpluginfactory.cpp: |
|
15980 |
|
15981 2008-05-27 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
15982 |
|
15983 Reviewed by Simon. |
|
15984 |
|
15985 Fix web inspector does not returns its state properly after its window is minimized. |
|
15986 |
|
15987 As hinted by Holger, InspectorClientView::hideEvent is not needed. |
|
15988 This fixes bug https://bugs.webkit.org/show_bug.cgi?id=18967 |
|
15989 |
|
15990 * WebCoreSupport/InspectorClientQt.cpp: |
|
15991 |
|
15992 2008-05-21 Siraj Razick <siraj.razick@collabora.co.uk> |
|
15993 |
|
15994 Reviewed by Simon. |
|
15995 |
|
15996 Add <param name="classid"/> support for application/x-qt-object plugins |
|
15997 |
|
15998 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
15999 (WebCore::FrameLoaderClientQt::createPlugin): |
|
16000 |
|
16001 2008-05-13 Andy Shaw <andy@trolltech.com> |
|
16002 |
|
16003 Reviewed by Simon. |
|
16004 |
|
16005 Fixes: QWebHistory::forward() should go forwards and not back |
|
16006 |
|
16007 * Api/qwebhistory.cpp: |
|
16008 |
|
16009 2008-05-12 Alexey Proskuryakov <ap@webkit.org> |
|
16010 |
|
16011 Roll out recent threading changes (r32807, r32810, r32819, r32822) to simplify |
|
16012 SquirrelFish merging. |
|
16013 |
|
16014 * Api/qwebframe.cpp: |
|
16015 (QWebFrame::addToJavaScriptWindowObject): |
|
16016 |
|
16017 2008-05-09 Thiago Macieira <tjmaciei@trolltech.com> |
|
16018 |
|
16019 Reviewed by Simon. |
|
16020 |
|
16021 Fix bad includes in QtWebKit public headers. |
|
16022 |
|
16023 Make sure to include qglobal.h using the QtCore prefix so that an explicit |
|
16024 include/QtCore is not needed in the application's build system. Also make sure |
|
16025 that qwebsettings.h includes the local qwebkitglobal.h. |
|
16026 |
|
16027 |
|
16028 * Api/qwebkitglobal.h: |
|
16029 * Api/qwebsettings.h: |
|
16030 |
|
16031 2008-05-08 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk> |
|
16032 |
|
16033 Reviewed by Simon. |
|
16034 |
|
16035 https://bugs.webkit.org/show_bug.cgi?id=18935 |
|
16036 |
|
16037 Based on work by Sriram Neelakandan for the Gtk port. |
|
16038 |
|
16039 * WebCoreSupport/FrameLoaderClientQt.cpp: Initialize |
|
16040 m_hasSentResponseToPlugin. |
|
16041 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): |
|
16042 (WebCore::FrameLoaderClientQt::redirectDataToPlugin): |
|
16043 |
|
16044 2008-05-08 Warwick Allison <warwick@trolltech.com> |
|
16045 |
|
16046 Reviewed by Simon. |
|
16047 |
|
16048 Fixes: WebKit expects initial input method state to be *disabled*. |
|
16049 |
|
16050 At least QWS does not need the initial input method state to be forced to |
|
16051 enabled, but other platforms (esp. X11) do. Until fixed/tested on those |
|
16052 platforms, this is specific to QWS. |
|
16053 |
|
16054 |
|
16055 * Api/qwebview.cpp: |
|
16056 (QWebView::QWebView): |
|
16057 |
|
16058 2008-05-06 Simon Hausmann <hausmann@webkit.org> |
|
16059 |
|
16060 Reviewed by Holger. |
|
16061 |
|
16062 Fix logic error in QWebHitTestResult::isNull(). |
|
16063 |
|
16064 * Api/qwebframe.cpp: |
|
16065 |
|
16066 2008-05-02 Benjamin Meyer <bmeyer@trolltech.com> |
|
16067 |
|
16068 Reviewed by Simon. |
|
16069 |
|
16070 Doc: Mention that you have to enable plugins in QWebSettings for them to work. |
|
16071 |
|
16072 * Api/qwebpage.cpp: |
|
16073 |
|
16074 2008-05-02 Simon Hausmann <hausmann@webkit.org> |
|
16075 |
|
16076 Fix the Qt build, ExecState is required here. |
|
16077 |
|
16078 * Api/qwebframe.cpp: |
|
16079 (QWebFrame::addToJavaScriptWindowObject): |
|
16080 |
|
16081 2008-05-01 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk> |
|
16082 |
|
16083 Reviewed by Alp Toker. |
|
16084 Qt parts OK'ed by Simon Hausmann. |
|
16085 |
|
16086 https://bugs.webkit.org/show_bug.cgi?id=14750 |
|
16087 Added support for NPAPI plugins on Gtk and Qt-x11 ports. |
|
16088 |
|
16089 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
16090 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): |
|
16091 (WebCore::FrameLoaderClientQt::finishedLoading): |
|
16092 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
16093 (WebCore::FrameLoaderClientQt::committedLoad): |
|
16094 (WebCore::FrameLoaderClientQt::objectContentType): |
|
16095 (WebCore::FrameLoaderClientQt::createPlugin): |
|
16096 (WebCore::FrameLoaderClientQt::redirectDataToPlugin): |
|
16097 * WebCoreSupport/FrameLoaderClientQt.h: |
|
16098 |
|
16099 2008-04-30 Julien Chaffraix <jchaffraix@webkit.org> |
|
16100 |
|
16101 Qt 4.3 build fix. |
|
16102 |
|
16103 Fixes a brace error that made Qt 4.4 build but not Qt 4.3. |
|
16104 |
|
16105 * Api/qwebview.cpp: |
|
16106 (QWebView::event): |
|
16107 |
|
16108 2008-04-30 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16109 |
|
16110 Reviewed by Simon. |
|
16111 |
|
16112 In focusIn and focusOut event always update the active state of the |
|
16113 focus controller. Fixes ~400 failing layout tests due to missing |
|
16114 editing callbacks that relied on the correct focus. |
|
16115 |
|
16116 * Api/qwebpage.cpp: |
|
16117 (QWebPagePrivate::focusInEvent): |
|
16118 (QWebPagePrivate::focusOutEvent): |
|
16119 |
|
16120 2008-04-29 Lincoln Ramsay <lincoln.ramsay@trolltech.com> |
|
16121 |
|
16122 Reviewed by Simon. |
|
16123 |
|
16124 Fix compilation with QT_NO_PRINTER |
|
16125 |
|
16126 |
|
16127 * Api/qwebview.cpp: |
|
16128 (QWebView::print): |
|
16129 |
|
16130 2008-04-29 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
16131 |
|
16132 Reviewed by Simon. |
|
16133 |
|
16134 Ensure that relative URL is converted to absolute URL. |
|
16135 |
|
16136 This is necessary because loading a relative URL is not really supported |
|
16137 (the web page may load, but the subsequent URLs for images and links will |
|
16138 not be resolved properly). |
|
16139 This also fixes https://bugs.webkit.org/show_bug.cgi?id=18484 |
|
16140 |
|
16141 |
|
16142 * Api/qwebframe.cpp: |
|
16143 (ensureAbsoluteUrl): |
|
16144 (QWebFrame::setUrl): |
|
16145 (QWebFrame::load): |
|
16146 |
|
16147 2008-04-29 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
16148 |
|
16149 Reviewed by Simon. |
|
16150 |
|
16151 Simplification of Qt Launcher (no animation and use standard progress bar widget) |
|
16152 |
|
16153 Status bar shows the hovered link without any animation. Progress bar just uses the standard QProgressBar (no custom widget). The launcher is leaner and faster to use under the debugger and/or valgrind. |
|
16154 |
|
16155 |
|
16156 * QtLauncher/main.cpp: |
|
16157 (MainWindow::MainWindow): |
|
16158 |
|
16159 2008-04-29 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
16160 |
|
16161 Reviewed by Simon. |
|
16162 |
|
16163 Update the cursor when the frame/page loading is finished. |
|
16164 |
|
16165 This fixes https://bugs.webkit.org/show_bug.cgi?id=18712 |
|
16166 |
|
16167 |
|
16168 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
16169 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): |
|
16170 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady): |
|
16171 |
|
16172 2008-04-29 Simon Hausmann <shausman@trolltech.com> |
|
16173 |
|
16174 Reviewed by Holger. |
|
16175 |
|
16176 Fixes: QWebPage::acceptNavigationRequest not being called / linkClicked() not being emitted when clicking on <a href="..." target="_blank"> kind of links. |
|
16177 |
|
16178 Call QWebPage::acceptNavigationRequest when the creation of a new window with |
|
16179 URL is requested. The frame pointer is set to null in this case. |
|
16180 |
|
16181 |
|
16182 * Api/qwebpage.cpp: |
|
16183 (QWebPage::setViewportSize): |
|
16184 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
16185 (WebCore::FrameLoaderClientQt::startDownload): |
|
16186 (WebCore::FrameLoaderClientQt::createFrame): |
|
16187 |
|
16188 2008-04-29 Holger Hans Peter Freyther <zecke@selfish.org> |
|
16189 |
|
16190 Reviewed by Simon. |
|
16191 |
|
16192 Use the WebCore facility to do the scrolling. Move some code around. |
|
16193 |
|
16194 * Api/qwebpage.cpp: |
|
16195 (QWebPagePrivate::keyPressEvent): |
|
16196 (QWebPagePrivate::shortcutOverrideEvent): |
|
16197 (QWebPagePrivate::handleScrolling): |
|
16198 * Api/qwebpage_p.h: |
|
16199 |
|
16200 2008-04-29 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
16201 |
|
16202 Reviewed by Simon. |
|
16203 |
|
16204 fix potential crash when loading image(s) |
|
16205 |
|
16206 Crash may occur. If compiled with 4.3, the variable is not initialized. |
|
16207 |
|
16208 * Api/qwebpage.cpp: |
|
16209 (QWebPagePrivate::QWebPagePrivate): |
|
16210 |
|
16211 2008-04-29 Holger Hans Peter Freyther <zecke@selfish.org> |
|
16212 |
|
16213 Reviewed by Simon. |
|
16214 |
|
16215 Calling QWebView::setCursor will override the WebCore Cursor. |
|
16216 Calling QWebView::setCursor will override the WebCore Cursor using |
|
16217 QWidget::unsetCursor will revert to the WebCore Cursor. |
|
16218 |
|
16219 For detecting the unset we have to compare the shape of the |
|
16220 cursor to the default arrow. Qt::WA_SetCursor can not be used |
|
16221 as it is set unconditionally but conditionally removed. |
|
16222 |
|
16223 Calling QWidget::setCursor will immediately send the CursorChange |
|
16224 event. We listen to this event to decide if we currently use a |
|
16225 WebCore cursor, got a cursor from outside, or revert to the default. |
|
16226 |
|
16227 This should be race free and work reliable, the manual test for this |
|
16228 is WebCore/manual-tests/cursor.html |
|
16229 |
|
16230 * Api/qwebpage.cpp: |
|
16231 (SetCursorEvent::SetCursorEvent): |
|
16232 * Api/qwebpage_p.h: |
|
16233 * Api/qwebview.cpp: |
|
16234 (QWebViewPrivate::QWebViewPrivate): |
|
16235 (QWebViewPrivate::setCursor): |
|
16236 (QWebView::QWebView): |
|
16237 (QWebView::event): |
|
16238 |
|
16239 2008-04-29 Kavindra Devi Palaraja <kdpalara@trolltech.com> |
|
16240 |
|
16241 Reviewed by Simon. |
|
16242 |
|
16243 Documentation fixes: |
|
16244 |
|
16245 - Fixed a qdoc warning |
|
16246 - Mention that fav icons can be of arbitrary size |
|
16247 - Fix signature of QWebPage::acceptNavigationRequest show in the documentation |
|
16248 |
|
16249 * Api/qwebframe.cpp: |
|
16250 * Api/qwebpage.cpp: |
|
16251 * Api/qwebpage.h: |
|
16252 * Api/qwebsettings.cpp: |
|
16253 * Api/qwebview.cpp: |
|
16254 |
|
16255 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16256 |
|
16257 Reviewed by Simon. |
|
16258 |
|
16259 Fix QWebView::loadFinished isn't always emitted |
|
16260 |
|
16261 Replaced loadDone() with loadFinished(bool) and moved the signals for progress |
|
16262 tracking (start, progres, and finish) to the page instead of the frame. This |
|
16263 ensures that we emit loadFinished even when a subframe started the actual load. |
|
16264 |
|
16265 This causes a few regressions in the layout tests that we for now accept for |
|
16266 the sake of the correct API. Layout tests we can fix any time though, including |
|
16267 patch release, the API however we can't change anymore in patch releases. |
|
16268 |
|
16269 * Api/qwebframe.cpp: |
|
16270 * Api/qwebframe.h: |
|
16271 * Api/qwebpage.cpp: |
|
16272 (QWebPage::totalBytes): |
|
16273 * Api/qwebpage.h: |
|
16274 * Api/qwebview.cpp: |
|
16275 (QWebView::setPage): |
|
16276 * Api/qwebview.h: |
|
16277 * QtLauncher/main.cpp: |
|
16278 (MainWindow::MainWindow): |
|
16279 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
16280 (drtDescriptionSuitableForTestResult): |
|
16281 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): |
|
16282 (WebCore::FrameLoaderClientQt::setFrame): |
|
16283 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage): |
|
16284 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
16285 (WebCore::FrameLoaderClientQt::willChangeTitle): |
|
16286 (WebCore::FrameLoaderClientQt::createDocumentLoader): |
|
16287 (WebCore::FrameLoaderClientQt::download): |
|
16288 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
16289 * WebCoreSupport/FrameLoaderClientQt.h: |
|
16290 |
|
16291 2008-04-28 Kavindra Devi Palaraja <kdpalara@trolltech.com> |
|
16292 |
|
16293 Reviewed by Simon. |
|
16294 |
|
16295 Added more documentation for QWebSettings, QWebPluginFactory and QWebFrame |
|
16296 |
|
16297 * Api/qwebframe.cpp: |
|
16298 * Api/qwebpluginfactory.cpp: |
|
16299 * Api/qwebsettings.cpp: |
|
16300 (QWebSettings::QWebSettings): |
|
16301 (QWebSettings::setUserStyleSheetUrl): |
|
16302 (QWebSettings::iconForUrl): |
|
16303 (QWebSettings::webGraphic): |
|
16304 (QWebSettings::maximumPagesInCache): |
|
16305 (QWebSettings::setFontFamily): |
|
16306 (QWebSettings::resetFontFamily): |
|
16307 (QWebSettings::testAttribute): |
|
16308 (QWebSettings::resetAttribute): |
|
16309 |
|
16310 2008-04-28 Ariya Hidayat <ahidayat@trolltech.com> |
|
16311 |
|
16312 Reviewed by Simon. |
|
16313 |
|
16314 Fix document/frame title not reset when loading a new URI |
|
16315 |
|
16316 We should assume first the frame has no title. If it has, then the dispatchDidReceiveTitle() |
|
16317 will be called very soon with the correct title. |
|
16318 This properly resets the title when we navigate to a URI without a title. |
|
16319 |
|
16320 |
|
16321 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
16322 |
|
16323 2008-04-28 David Boddie <dboddie@trolltech.com> |
|
16324 |
|
16325 Reviewed by Simon. |
|
16326 |
|
16327 Minor documentation changes. |
|
16328 |
|
16329 * Api/qwebview.cpp: |
|
16330 |
|
16331 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16332 |
|
16333 Reviewed by Simon. |
|
16334 |
|
16335 Prevent middle-click from triggering open URL from clipboard when the event has already been accepted. |
|
16336 |
|
16337 |
|
16338 * Api/qwebpage.cpp: |
|
16339 (QWebPagePrivate::mouseMoveEvent): |
|
16340 (QWebPagePrivate::mousePressEvent): |
|
16341 (QWebPagePrivate::mouseDoubleClickEvent): |
|
16342 (QWebPagePrivate::mouseTripleClickEvent): |
|
16343 (QWebPagePrivate::mouseReleaseEvent): |
|
16344 |
|
16345 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16346 |
|
16347 Reviewed by Simon. |
|
16348 |
|
16349 Fix scrollbar behavior in QtWebKit to match QScrollBar. |
|
16350 |
|
16351 Right click context menu is now supported, along with |
|
16352 middle click to center slider thumb over mouse cursor. |
|
16353 |
|
16354 |
|
16355 * Api/qwebpage.cpp: |
|
16356 (QWebPage::linkDelegationPolicy): |
|
16357 |
|
16358 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16359 |
|
16360 Reviewed by Simon. |
|
16361 |
|
16362 Implemented channel-based logging for QtWebKit. |
|
16363 |
|
16364 Comma-separated log channels are read from the QT_WEBKIT_LOG environment variable. |
|
16365 Warnings for notImplemented() is still output by default, but can be disabled |
|
16366 by setting DISABLE_NI_WARNINGS=1. |
|
16367 |
|
16368 * Api/qwebpage.cpp: |
|
16369 (QWebPagePrivate::QWebPagePrivate): |
|
16370 |
|
16371 2008-04-28 Simon Hausmann <shausman@trolltech.com> |
|
16372 |
|
16373 Rubber-stamped by Lars |
|
16374 |
|
16375 Removed setHtml(const QByteArray &) overload as it breaks the common use of the setHtml() API. |
|
16376 |
|
16377 * Api/qwebframe.cpp: |
|
16378 * Api/qwebframe.h: |
|
16379 * Api/qwebview.cpp: |
|
16380 * Api/qwebview.h: |
|
16381 |
|
16382 2008-04-28 Kavindra Devi Palaraja <kdpalara@trolltech.com> |
|
16383 |
|
16384 Reviewed by Simon. |
|
16385 |
|
16386 Doc - adding more documentation to QWebFrame, QWebPage and QWebView |
|
16387 |
|
16388 |
|
16389 * Api/qwebframe.cpp: |
|
16390 * Api/qwebpage.cpp: |
|
16391 * Api/qwebview.cpp: |
|
16392 (QWebView::stop): |
|
16393 (QWebView::back): |
|
16394 (QWebView::changeEvent): |
|
16395 |
|
16396 2008-04-28 Simon Hausmann <shausman@trolltech.com> |
|
16397 |
|
16398 Reviewed by Holger. |
|
16399 |
|
16400 Fixes: Popups/Context menu in WebKit appearing at the wrong location when embedded in the graphics view or using multiple screens |
|
16401 |
|
16402 Give the popups the right parent widget and the right coordinates relative within the parent. |
|
16403 |
|
16404 |
|
16405 * Api/qwebpage.cpp: |
|
16406 |
|
16407 2008-04-28 Benjamin Meyer <bmeyer@trolltech.com> |
|
16408 |
|
16409 Reviewed by Simon. |
|
16410 |
|
16411 Doc: Add see also's (and a few minor whitespace/typo corrections) |
|
16412 |
|
16413 |
|
16414 * Api/qwebframe.cpp: |
|
16415 (QWebFrame::~QWebFrame): |
|
16416 (QWebFrame::setHtml): |
|
16417 (QWebFrame::setContent): |
|
16418 (QWebFrame::parentFrame): |
|
16419 (QWebFrame::childFrames): |
|
16420 (QWebFrame::setScrollBarValue): |
|
16421 (QWebFrame::scrollBarValue): |
|
16422 (QWebFrame::scrollBarMaximum): |
|
16423 (QWebFrame::scrollBarMinimum): |
|
16424 (QWebFrame::render): |
|
16425 (QWebFrame::pos): |
|
16426 (QWebFrame::geometry): |
|
16427 (QWebFrame::print): |
|
16428 (QWebFrame::evaluateJavaScript): |
|
16429 * Api/qwebpage.cpp: |
|
16430 (QWebPagePrivate::mousePressEvent): |
|
16431 (QWebPagePrivate::mouseDoubleClickEvent): |
|
16432 (QWebPage::~QWebPage): |
|
16433 (QWebPage::javaScriptPrompt): |
|
16434 (openNewWindow): |
|
16435 (QWebPage::setViewportSize): |
|
16436 (QWebPage::acceptNavigationRequest): |
|
16437 (QWebPage::action): |
|
16438 (QWebPage::userAgentForUrl): |
|
16439 (QWebPagePrivate::_q_onLoadProgressChanged): |
|
16440 * Api/qwebview.cpp: |
|
16441 (QWebView::event): |
|
16442 |
|
16443 2008-04-28 Kavindra Devi Palaraja <kdpalara@trolltech.com> |
|
16444 |
|
16445 Reviewed by Simon. |
|
16446 |
|
16447 Submitting more documentation for QWebPage |
|
16448 |
|
16449 |
|
16450 * Api/qwebpage.cpp: |
|
16451 |
|
16452 2008-04-28 Lincoln Ramsay <lincoln.ramsay@trolltech.com> |
|
16453 |
|
16454 Reviewed by Simon. |
|
16455 |
|
16456 Compile when QT_NO_CLIPBOARD is defined. |
|
16457 |
|
16458 |
|
16459 * Api/qwebpage.cpp: |
|
16460 (QWebPage::triggerAction): |
|
16461 |
|
16462 2008-04-28 David Boddie <dboddie@trolltech.com> |
|
16463 |
|
16464 Reviewed by Simon. |
|
16465 |
|
16466 Minor documentation fix. |
|
16467 |
|
16468 |
|
16469 * Api/qwebhistory.cpp: |
|
16470 |
|
16471 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org> |
|
16472 |
|
16473 Reviewed by Simon. |
|
16474 |
|
16475 Implement QWebPage::createPlugin |
|
16476 |
|
16477 The code is coming from the demo browser and needed here |
|
16478 for some manual tests. |
|
16479 |
|
16480 |
|
16481 * QtLauncher/QtLauncher.pro: |
|
16482 * QtLauncher/main.cpp: |
|
16483 (WebPage::createPlugin): |
|
16484 |
|
16485 2008-04-28 Simon Hausmann <hausmann@webkit.org> |
|
16486 |
|
16487 Qt/Win build fix. Include config.h to get the implicit MathExtras.h |
|
16488 inclusion correct with regards to rand_s. |
|
16489 |
|
16490 * Api/qwebhistory.cpp: |
|
16491 |
|
16492 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16493 |
|
16494 Reviewed by Simon. |
|
16495 |
|
16496 https://bugs.webkit.org/show_bug.cgi?id=18713 |
|
16497 |
|
16498 Fix scrollbar painting issues in QtWebKit. |
|
16499 |
|
16500 Hovering and click-draging outside of the scrollbar would |
|
16501 produce unexpected and inconcistent results. We also didn't |
|
16502 pass on leave-events to the underlying WebKit code, which |
|
16503 was nessecary to implement the paint fix. |
|
16504 |
|
16505 Note: The event handling of the Leave event should be moved |
|
16506 out of QWebView::event() and into a proper override for 4.5. |
|
16507 |
|
16508 * Api/qwebpage.cpp: |
|
16509 (QWebPagePrivate::leaveEvent): |
|
16510 * Api/qwebpage_p.h: |
|
16511 * Api/qwebview.cpp: |
|
16512 (QWebView::event): |
|
16513 |
|
16514 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com> |
|
16515 |
|
16516 Reviewed by Simon, Holger. |
|
16517 |
|
16518 Fixed focus handling when a node is focused while the corresponding QWebPage does not have the focus. |
|
16519 |
|
16520 * Correctly de- and reactivate the focused frame in focusOut/focusInEvent |
|
16521 without telling the focus controller. We don't want to change the focused frame |
|
16522 - the controller has to remember it in fact - but instead just deactivate the |
|
16523 frame for correct painting as RenderTheme::isFocused() uses the activation |
|
16524 state of the frame. |
|
16525 |
|
16526 * Api/qwebpage.cpp: |
|
16527 (QWebPagePrivate::focusInEvent): |
|
16528 (QWebPagePrivate::focusOutEvent): |
|
16529 |
|
16530 2008-04-25 Kavindra Devi Palaraja <kdpalara@trolltech.com> |
|
16531 |
|
16532 Reviewed by Simon. |
|
16533 |
|
16534 completed documentation for the Detailed Description section for QWebView |
|
16535 |
|
16536 |
|
16537 * Api/qwebview.cpp: |
|
16538 |
|
16539 2008-04-25 Denis Dzyubenko <denis.dzyubenko@trolltech.com> |
|
16540 |
|
16541 Reviewed by Simon. |
|
16542 |
|
16543 Fixed the way QWebHistory works - when you call back(), forward() or goToItem() functions it changes the current item in history *and* loads the corresponding page. |
|
16544 |
|
16545 |
|
16546 * Api/qwebhistory.cpp: |
|
16547 (QWebHistory::back): |
|
16548 (QWebHistory::forward): |
|
16549 (QWebHistory::goToItem): |
|
16550 |
|
16551 2008-04-25 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16552 |
|
16553 Reviewed by Simon. |
|
16554 |
|
16555 Fix resubmit of HTML forms when initially denied by QWebPage::acceptNavigationRequest(). |
|
16556 |
|
16557 |
|
16558 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
16559 (WebCore::FrameLoaderClientQt::createFrame): |
|
16560 |
|
16561 2008-04-25 Simon Hausmann <hausmann@webkit.org> |
|
16562 |
|
16563 Reviewed by Holger. |
|
16564 |
|
16565 When pressing backspace in a line edit in a webpage we should not go back to the previous page. |
|
16566 |
|
16567 The shortcut for back on Windows is backspace. Implemented shortcut override |
|
16568 handling in QWebView/QWebPage to prevent this. |
|
16569 |
|
16570 |
|
16571 * Api/qwebpage.cpp: |
|
16572 (QWebPagePrivate::wheelEvent): |
|
16573 (editorActionForKeyEvent): |
|
16574 (QWebPagePrivate::keyPressEvent): |
|
16575 (QWebPagePrivate::inputMethodEvent): |
|
16576 (QWebPagePrivate::shortcutOverrideEvent): |
|
16577 (QWebPage::event): |
|
16578 * Api/qwebpage_p.h: |
|
16579 * Api/qwebview.cpp: |
|
16580 (QWebView::event): |
|
16581 |
|
16582 2008-04-25 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
16583 |
|
16584 Reviewed by Simon. |
|
16585 |
|
16586 Fix triple-clicking does not work in a web page |
|
16587 |
|
16588 |
|
16589 * Api/qwebpage.cpp: |
|
16590 (QWebPagePrivate::updateEditorActions): |
|
16591 (QWebPagePrivate::timerEvent): |
|
16592 (QWebPagePrivate::mousePressEvent): |
|
16593 (QWebPagePrivate::mouseDoubleClickEvent): |
|
16594 (QWebPage::undoStack): |
|
16595 * Api/qwebpage_p.h: |
|
16596 |
|
16597 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com> |
|
16598 |
|
16599 Reviewed by Simon. |
|
16600 |
|
16601 When pressing Ctrl-Up the keyboard modifiers could include other modifiers |
|
16602 |
|
16603 |
|
16604 * Api/qwebpage.cpp: |
|
16605 (QWebPagePrivate::keyPressEvent): |
|
16606 |
|
16607 2008-04-25 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16608 |
|
16609 Reviewed by Simon. |
|
16610 |
|
16611 Fix handling of Javascript's confirm() function in QtWebKit. |
|
16612 |
|
16613 |
|
16614 * Api/qwebpage.cpp: |
|
16615 |
|
16616 2008-04-25 Kavindra Devi Palaraja <kdpalara@trolltech.com> |
|
16617 |
|
16618 Reviewed by Simon. |
|
16619 |
|
16620 Doc - added a screenshot, flowchart, and a snippet to the QWebView documentation to improve clarity |
|
16621 |
|
16622 |
|
16623 * Api/qwebview.cpp: |
|
16624 |
|
16625 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com> |
|
16626 |
|
16627 Reviewed by Simon. |
|
16628 |
|
16629 QWebPage: missing signal when window.print() is requested from javascript |
|
16630 |
|
16631 |
|
16632 * Api/qwebpage.cpp: |
|
16633 * Api/qwebpage.h: |
|
16634 * WebCoreSupport/ChromeClientQt.cpp: |
|
16635 |
|
16636 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com> |
|
16637 |
|
16638 Reviewed by Simon. |
|
16639 |
|
16640 Fixes: "Save Image" action wasn't doing anything. |
|
16641 |
|
16642 |
|
16643 * Api/qwebpage.cpp: |
|
16644 (QWebPage::triggerAction): |
|
16645 |
|
16646 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com> |
|
16647 |
|
16648 Reviewed by Simon. |
|
16649 |
|
16650 Apply key event changes to the current frame, not the main frame. |
|
16651 |
|
16652 Example: hitting space bar should scroll current frame, not the main frame |
|
16653 which doesn't even have a scrollbar. |
|
16654 |
|
16655 |
|
16656 * Api/qwebpage.cpp: |
|
16657 (QWebPagePrivate::keyPressEvent): |
|
16658 |
|
16659 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com> |
|
16660 |
|
16661 Reviewed by Simon. |
|
16662 |
|
16663 Fixes: QWebFrame crash when fetching the icon |
|
16664 |
|
16665 Just call QWebSettings::iconForUrl to not duplicate code and obey the mutex lock. |
|
16666 |
|
16667 * Api/qwebframe.cpp: |
|
16668 |
|
16669 2008-04-25 Warwick Allison <warwick@trolltech.com> |
|
16670 |
|
16671 Reviewed by Simon. |
|
16672 |
|
16673 Fixes: Scrollbars did not report correct maximum. |
|
16674 |
|
16675 * Api/qwebframe.cpp: |
|
16676 |
|
16677 2008-04-25 David Boddie <dboddie@trolltech.com> |
|
16678 |
|
16679 Reviewed by Simon. |
|
16680 |
|
16681 Documentation updates for some of the QWeb classes |
|
16682 |
|
16683 * Api/qwebframe.cpp: |
|
16684 * Api/qwebhistory.cpp: |
|
16685 * Api/qwebsettings.cpp: |
|
16686 * Api/qwebview.cpp: |
|
16687 |
|
16688 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org> |
|
16689 |
|
16690 Reviewed by Simon. |
|
16691 |
|
16692 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html |
|
16693 |
|
16694 Similar to Editing and Frameloading we do the dumping within WebCore |
|
16695 |
|
16696 |
|
16697 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
16698 (qt_dump_frame_loader): |
|
16699 (qt_dump_resource_load_callbacks): |
|
16700 (drtDescriptionSuitableForTestResult): |
|
16701 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
16702 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache): |
|
16703 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
16704 |
|
16705 2008-04-24 Anders Carlsson <andersca@apple.com> |
|
16706 |
|
16707 Reviewed by Sam. |
|
16708 |
|
16709 Change some String arguments to be const references instead. |
|
16710 |
|
16711 * WebCoreSupport/EditorClientQt.cpp: |
|
16712 (WebCore::EditorClientQt::shouldInsertText): |
|
16713 * WebCoreSupport/EditorClientQt.h: |
|
16714 |
|
16715 2008-04-24 Holger Hans Peter Freyther <zecke@selfish.org> |
|
16716 |
|
16717 Reviewed by Simon. |
|
16718 |
|
16719 Cosmetic changes to make the code more readable. |
|
16720 -Early exit if we don't have a webview |
|
16721 -handle the empty tooltip and non-empty tooltip case separately |
|
16722 |
|
16723 |
|
16724 * WebCoreSupport/ChromeClientQt.cpp: |
|
16725 (WebCore::ChromeClientQt::setToolTip): |
|
16726 (WebCore::ChromeClientQt::print): |
|
16727 |
|
16728 2008-04-24 Paul Olav Tvete <paul@trolltech.com> |
|
16729 |
|
16730 Reviewed by Simon. |
|
16731 |
|
16732 Automatically wrap tooltip text and hide a shown tooltip when it is empty. |
|
16733 |
|
16734 QWidget::setTooltip("") will still show the old tooltip for up to 10 seconds. |
|
16735 Workaround as discussed with Matthias. |
|
16736 |
|
16737 * WebCoreSupport/ChromeClientQt.cpp: |
|
16738 (WebCore::ChromeClientQt::setToolTip): |
|
16739 |
|
16740 2008-04-24 Holger Hans Peter Freyther <zecke@selfish.org> |
|
16741 |
|
16742 Reviewed by Simon. |
|
16743 |
|
16744 Allow to disable caching completeley by calling setObjectCacheCapacities(0, 0, 0) |
|
16745 |
|
16746 * Api/qwebsettings.cpp: |
|
16747 (QWebSettings::setObjectCacheCapacities): |
|
16748 |
|
16749 2008-04-24 Benjamin Meyer <bmeyer@trolltech.com> |
|
16750 |
|
16751 Reviewed by Simon. |
|
16752 |
|
16753 Improve keyboard scrolling |
|
16754 |
|
16755 Match Down/Up keys scroll distance with Safari (i.e. faster) and add Home and End shortcuts to scroll to the top/botom. |
|
16756 |
|
16757 |
|
16758 * Api/qwebpage.cpp: |
|
16759 (QWebPagePrivate::keyPressEvent): |
|
16760 |
|
16761 2008-04-24 Olivier Goffart <ogoffart@trolltech.com> |
|
16762 |
|
16763 Reviewed by Simon. |
|
16764 |
|
16765 Fix various compiler warnings in the Qt port. |
|
16766 |
|
16767 * Api/qwebframe.cpp: |
|
16768 (QWebFrame::print): |
|
16769 * Api/qwebsettings.cpp: |
|
16770 (graphics): |
|
16771 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
16772 (WebCore::FrameLoaderClientQt::createPlugin): |
|
16773 |
|
16774 2008-04-24 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16775 |
|
16776 Reviewed by Simon. |
|
16777 |
|
16778 Cleaned up copyright headers (removed misplaced class descriptions and |
|
16779 fixed inconsistent whitespace and indentation). |
|
16780 |
|
16781 * Api/qwebframe.cpp: |
|
16782 * Api/qwebframe.h: |
|
16783 * Api/qwebframe_p.h: |
|
16784 * Api/qwebhistory.cpp: |
|
16785 * Api/qwebhistory.h: |
|
16786 * Api/qwebhistory_p.h: |
|
16787 * Api/qwebhistoryinterface.cpp: |
|
16788 * Api/qwebhistoryinterface.h: |
|
16789 * Api/qwebkitglobal.h: |
|
16790 * Api/qwebnetworkinterface.cpp: |
|
16791 * Api/qwebnetworkinterface.h: |
|
16792 * Api/qwebnetworkinterface_p.h: |
|
16793 * Api/qwebpage.cpp: |
|
16794 * Api/qwebpage.h: |
|
16795 * Api/qwebpage_p.h: |
|
16796 * Api/qwebpluginfactory.cpp: |
|
16797 * Api/qwebpluginfactory.h: |
|
16798 * Api/qwebsettings.cpp: |
|
16799 * Api/qwebsettings.h: |
|
16800 * Api/qwebview.h: |
|
16801 * QtLauncher/main.cpp: |
|
16802 |
|
16803 2008-04-24 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16804 |
|
16805 Reviewed by Simon. |
|
16806 |
|
16807 Added basic URL guessing to QtLauncher (same as in the demo browser). |
|
16808 |
|
16809 |
|
16810 * QtLauncher/main.cpp: |
|
16811 (MainWindow::changeLocation): |
|
16812 (MainWindow::guessUrlFromString): |
|
16813 |
|
16814 2008-04-24 Benjamin Meyer <bmeyer@trolltech.com> |
|
16815 |
|
16816 Reviewed by Simon Hausmann <hausmann@webkit.org>. |
|
16817 |
|
16818 Prevent double deletions of the default web interface. |
|
16819 |
|
16820 |
|
16821 * Api/qwebhistoryinterface.cpp: |
|
16822 (gCleanupInterface): |
|
16823 (QWebHistoryInterface::QWebHistoryInterface): |
|
16824 |
|
16825 2008-04-23 Simon Hausmann <hausmann@webkit.org> |
|
16826 |
|
16827 Fix compilation against Qt 4.3 |
|
16828 |
|
16829 * Api/qwebpage.cpp: |
|
16830 (QWebPage::userAgentForUrl): |
|
16831 * QtLauncher/main.cpp: |
|
16832 (main): |
|
16833 |
|
16834 2008-04-23 Holger Hans Peter Freyther <zecke@selfish.org> |
|
16835 |
|
16836 Reviewed by Simon. |
|
16837 |
|
16838 * Make sure the "Inspect Element" item gets added to the ContextMenu, a call |
|
16839 to ContextMenu::populate() is not adding it, the ContextMenuController does |
|
16840 add it after the call to populate(). Do that as well. |
|
16841 |
|
16842 |
|
16843 * Api/qwebpage.cpp: |
|
16844 (QWebPage::updatePositionDependentActions): |
|
16845 |
|
16846 2008-04-23 Simon Hausmann <hausmann@webkit.org> |
|
16847 |
|
16848 Reviewed by Holger. |
|
16849 |
|
16850 Fix crashes on window.close(). |
|
16851 |
|
16852 We should not delete the QWebPage object in the ChromeClient but leave it up to |
|
16853 the application when and whether to delete a browser window. For this we now |
|
16854 emit the windowCloseRequested() signal. |
|
16855 |
|
16856 Done with Tor Arne. |
|
16857 |
|
16858 * Api/qwebpage.cpp: |
|
16859 * Api/qwebpage.h: |
|
16860 * QtLauncher/main.cpp: |
|
16861 (MainWindow::MainWindow): |
|
16862 * WebCoreSupport/ChromeClientQt.cpp: |
|
16863 |
|
16864 2008-04-23 Simon Hausmann <hausmann@webkit.org> |
|
16865 |
|
16866 Reviewed by Holger. |
|
16867 |
|
16868 Fix parsing of external scripts/stylesheets when using setHtml(const QString &html). |
|
16869 |
|
16870 We used to pass the html string to the frameloader in utf-16, which also meant that the default |
|
16871 encoding of external scripts/stylesheets became utf-16. That doesn't make sense, so assume utf-8 |
|
16872 by default. This is now also documented. |
|
16873 |
|
16874 * Api/qwebframe.cpp: |
|
16875 (QWebFrame::setHtml): |
|
16876 * Api/qwebview.cpp: |
|
16877 |
|
16878 2008-04-23 Benjamin Meyer <bmeyer@trolltech.com> |
|
16879 |
|
16880 Reviewed by Simon. |
|
16881 |
|
16882 Fixes background color propagation when using a custom QWebPage |
|
16883 |
|
16884 Set the palette in setPage(), not during the creation on-demand. |
|
16885 |
|
16886 |
|
16887 * Api/qwebview.cpp: |
|
16888 (QWebView::page): |
|
16889 (QWebView::setPage): |
|
16890 |
|
16891 2008-04-23 Benjamin Meyer <bmeyer@trolltech.com> |
|
16892 |
|
16893 Reviewed by Simon. |
|
16894 |
|
16895 Fix the user agent on the mac to be BSD4 |
|
16896 |
|
16897 Put Q_OS_DARWIN before Q_OS_BSD4 sense they are both defined on the mac |
|
16898 |
|
16899 |
|
16900 * Api/qwebpage.cpp: |
|
16901 (QWebPage::userAgentForUrl): |
|
16902 |
|
16903 2008-04-23 Simon Hausmann <shausman@trolltech.com> |
|
16904 |
|
16905 Reviewed by Holger. |
|
16906 |
|
16907 Added missing copyright notice. |
|
16908 Small fixes to the documentation. |
|
16909 |
|
16910 * Api/qwebpluginfactory.cpp: |
|
16911 |
|
16912 2008-04-23 Zack Rusin <zack@tungstengraphics.com> |
|
16913 |
|
16914 Reviewed by Simon. |
|
16915 |
|
16916 Added a contentsSize() property. |
|
16917 |
|
16918 * Api/qwebframe.cpp: |
|
16919 (QWebFrame::contentsSize): |
|
16920 (QWebFrame::hitTestContent): |
|
16921 * Api/qwebframe.h: |
|
16922 |
|
16923 2008-04-22 Benjamin Meyer <bmeyer@trolltech.com> |
|
16924 |
|
16925 Reviewed by Simon. |
|
16926 |
|
16927 Fixes: QWebPage's QNetworkManager's can be shared among webpages. |
|
16928 |
|
16929 Don't force the deletion of the object, but let QObject take care of it. |
|
16930 |
|
16931 * Api/qwebpage.cpp: |
|
16932 |
|
16933 2008-04-22 Simon Hausmann <hausmann@webkit.org> |
|
16934 |
|
16935 Reviewed by Holger. |
|
16936 |
|
16937 Documentation for QWebPluginFactory and documentation updates for QWebPage. |
|
16938 |
|
16939 * Api/qwebpage.cpp: |
|
16940 (QWebPage::setLinkDelegationPolicy): |
|
16941 (QWebPage::linkDelegationPolicy): |
|
16942 (QWebPage::swallowContextMenuEvent): |
|
16943 (QWebPage::updatePositionDependentActions): |
|
16944 (QWebPage::extension): |
|
16945 (QWebPage::networkAccessManager): |
|
16946 * Api/qwebpluginfactory.cpp: |
|
16947 (QWebPluginFactory::QWebPluginFactory): |
|
16948 (QWebPluginFactory::~QWebPluginFactory): |
|
16949 (QWebPluginFactory::refreshPlugins): |
|
16950 |
|
16951 2008-04-22 Simon Hausmann <hausmann@webkit.org> |
|
16952 |
|
16953 Reviewed by Holger. |
|
16954 |
|
16955 Added QWebPage::swallowContextMenuEvent and QWebPage::updatePositionDependentActions. |
|
16956 |
|
16957 |
|
16958 * Api/qwebpage.cpp: |
|
16959 (QWebPagePrivate::QWebPagePrivate): |
|
16960 (QWebPagePrivate::mouseReleaseEvent): |
|
16961 (QWebPage::setLinkDelegationPolicy): |
|
16962 (QWebPage::linkDelegationPolicy): |
|
16963 (QWebPage::swallowContextMenuEvent): |
|
16964 (QWebPage::updatePositionDependentActions): |
|
16965 * Api/qwebpage.h: |
|
16966 * Api/qwebpage_p.h: |
|
16967 * Api/qwebview.cpp: |
|
16968 (QWebView::event): |
|
16969 |
|
16970 2008-04-22 Simon Hausmann <hausmann@webkit.org> |
|
16971 |
|
16972 Reviewed by Holger. |
|
16973 |
|
16974 Added Extension APIs for QWebPage. |
|
16975 |
|
16976 * Api/qwebpage.cpp: |
|
16977 (QWebPage::setLinkDelegationPolicy): |
|
16978 (QWebPage::linkDelegationPolicy): |
|
16979 (QWebPage::extension): |
|
16980 * Api/qwebpage.h: |
|
16981 * Api/qwebpluginfactory.cpp: |
|
16982 (QWebPluginFactory::extension): |
|
16983 |
|
16984 2008-04-22 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
16985 |
|
16986 Reviewed by Simon. |
|
16987 |
|
16988 Emit loadProgress() signal on loadStarted(). |
|
16989 |
|
16990 |
|
16991 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
16992 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification): |
|
16993 |
|
16994 2008-04-22 Zack Rusin <zack@kde.org> |
|
16995 |
|
16996 Reviewed by Simon. |
|
16997 |
|
16998 Fix background propagation from the QWebView's palette. |
|
16999 |
|
17000 The background brush of the palette needs to be propagated to the WebCore::FrameView. |
|
17001 |
|
17002 * Api/qwebframe.cpp: |
|
17003 (QWebFramePrivate::updateBackground): |
|
17004 * Api/qwebframe_p.h: |
|
17005 * Api/qwebpage.cpp: |
|
17006 (QWebPagePrivate::dropEvent): |
|
17007 (QWebPage::setPalette): |
|
17008 * Api/qwebpage.h: |
|
17009 * Api/qwebpage_p.h: |
|
17010 * Api/qwebview.cpp: |
|
17011 (QWebView::page): |
|
17012 (QWebView::changeEvent): |
|
17013 * Api/qwebview.h: |
|
17014 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17015 |
|
17016 2008-04-22 Benjamin Meyer <bmeyer@trolltech.com> |
|
17017 |
|
17018 Reviewed by Simon. |
|
17019 |
|
17020 Fix maps.google.com |
|
17021 |
|
17022 We have to include a version in the Safari tag in the user-agent. |
|
17023 |
|
17024 * Api/qwebpage.cpp: |
|
17025 (QWebPage::userAgentForUrl): |
|
17026 |
|
17027 2008-04-22 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
17028 |
|
17029 Reviewed by Simon. |
|
17030 |
|
17031 Add visual focusing hint for clear button and |
|
17032 change focus to web page after user enters new URL. |
|
17033 |
|
17034 * QtLauncher/main.cpp: |
|
17035 (ClearButton::paintEvent): |
|
17036 (MainWindow::changeLocation): |
|
17037 |
|
17038 2008-04-22 Simon Hausmann <hausmann@webkit.org> |
|
17039 |
|
17040 Reviewed by Holger. |
|
17041 |
|
17042 Added QWebFrame::hitTestContent() and QWebHitTestResult. |
|
17043 |
|
17044 * Api/qwebframe.cpp: |
|
17045 (QWebFrame::hitTestContent): |
|
17046 (QWebFrame::event): |
|
17047 (QWebHitTestResult::QWebHitTestResult): |
|
17048 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
17049 (QWebHitTestResult::operator=): |
|
17050 (QWebHitTestResult::~QWebHitTestResult): |
|
17051 (QWebHitTestResult::isNull): |
|
17052 (QWebHitTestResult::pos): |
|
17053 (QWebHitTestResult::title): |
|
17054 (QWebHitTestResult::linkText): |
|
17055 (QWebHitTestResult::linkUrl): |
|
17056 (QWebHitTestResult::linkTitle): |
|
17057 (QWebHitTestResult::linkTargetFrame): |
|
17058 (QWebHitTestResult::alternateText): |
|
17059 (QWebHitTestResult::imageUrl): |
|
17060 (QWebHitTestResult::pixmap): |
|
17061 (QWebHitTestResult::isContentEditable): |
|
17062 (QWebHitTestResult::isContentSelected): |
|
17063 (QWebHitTestResult::frame): |
|
17064 * Api/qwebframe.h: |
|
17065 * Api/qwebframe_p.h: |
|
17066 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): |
|
17067 * Api/qwebpage.cpp: |
|
17068 (QWebPagePrivate::contextMenuEvent): |
|
17069 (QWebPage::triggerAction): |
|
17070 * Api/qwebpage.h: |
|
17071 * Api/qwebpage_p.h: |
|
17072 |
|
17073 2008-04-22 Simon Hausmann <hausmann@webkit.org> |
|
17074 |
|
17075 Reviewed by Holger. |
|
17076 |
|
17077 Don't crash if an input method query is done without a page. |
|
17078 |
|
17079 |
|
17080 * Api/qwebview.cpp: |
|
17081 (QWebView::inputMethodQuery): |
|
17082 |
|
17083 2008-04-22 Simon Hausmann <hausmann@webkit.org> |
|
17084 |
|
17085 Reviewed by Holger. |
|
17086 |
|
17087 Added re-implementations of QObject::event for future safety. |
|
17088 |
|
17089 This makes it easier to fix bugs with the event handling even in patch releases |
|
17090 and is a general style we follow in Qt. |
|
17091 |
|
17092 |
|
17093 * Api/qwebframe.cpp: |
|
17094 * Api/qwebframe.h: |
|
17095 * Api/qwebview.cpp: |
|
17096 (QWebView::event): |
|
17097 * Api/qwebview.h: |
|
17098 |
|
17099 2008-04-22 Benjamin Meyer <bmeyer@trolltech.com> |
|
17100 |
|
17101 Reviewed by Simon. |
|
17102 |
|
17103 Fix construction of the user agent. |
|
17104 |
|
17105 The user-agent is now composed of |
|
17106 * the platform and subplatform |
|
17107 * the Qt version or application name and version (if set) |
|
17108 * the locale |
|
17109 * the SSL settings |
|
17110 |
|
17111 |
|
17112 * Api/qwebpage.cpp: |
|
17113 (QWebPage::networkAccessManager): |
|
17114 (QWebPage::setPluginFactory): |
|
17115 (QWebPage::pluginFactory): |
|
17116 (QWebPage::userAgentForUrl): |
|
17117 * QtLauncher/main.cpp: |
|
17118 |
|
17119 2008-04-22 Thiago Macieira <tjmaciei@trolltech.com> |
|
17120 |
|
17121 Reviewed by Simon. |
|
17122 |
|
17123 Fixes: Pedantic compilation fix |
|
17124 |
|
17125 Don't put semi-colons after braces closing namespaces. |
|
17126 |
|
17127 * Api/qwebsettings.h: |
|
17128 |
|
17129 2008-04-21 Simon Hausmann <hausmann@webkit.org> |
|
17130 |
|
17131 Reviewed by Lars. |
|
17132 |
|
17133 Changed the return type of QWebFrame::evaluateJavaScript from a QString to a QVariant. |
|
17134 |
|
17135 * Api/qwebframe.cpp: |
|
17136 (QWebFrame::evaluateJavaScript): |
|
17137 * Api/qwebframe.h: |
|
17138 |
|
17139 2008-04-21 Simon Hausmann <hausmann@webkit.org> |
|
17140 |
|
17141 Reviewed by Holger. |
|
17142 |
|
17143 Fixes redundant "Fonts" submenu in default lineedits that has only disabled items. |
|
17144 |
|
17145 Don't show sub-menus that have only actions that are disabled. |
|
17146 |
|
17147 * Api/qwebpage.cpp: |
|
17148 (QWebPagePrivate::createContextMenu): |
|
17149 |
|
17150 2008-04-21 Kavindra Devi Palaraja <kdpalara@trolltech.com>. |
|
17151 |
|
17152 Reviewed by Simon. |
|
17153 |
|
17154 Lots of documentation fixes, fixed all qdoc warnings. |
|
17155 |
|
17156 * Api/qwebframe.cpp: |
|
17157 (QWebFrame::setTextSizeMultiplier): |
|
17158 * Api/qwebhistoryinterface.cpp: |
|
17159 (gCleanupInterface): |
|
17160 (QWebHistoryInterface::QWebHistoryInterface): |
|
17161 (QWebHistoryInterface::~QWebHistoryInterface): |
|
17162 * Api/qwebpage.cpp: |
|
17163 (QWebPage::inputMethodQuery): |
|
17164 (QWebPage::view): |
|
17165 (QWebPage::javaScriptConsoleMessage): |
|
17166 (QWebPage::javaScriptAlert): |
|
17167 (QWebPage::javaScriptConfirm): |
|
17168 (QWebPage::javaScriptPrompt): |
|
17169 (QWebPage::viewportSize): |
|
17170 (QWebPage::acceptNavigationRequest): |
|
17171 (QWebPage::action): |
|
17172 (QWebPage::event): |
|
17173 (QWebPage::focusNextPrevChild): |
|
17174 (QWebPage::setForwardUnsupportedContent): |
|
17175 (QWebPage::setLinkDelegationPolicy): |
|
17176 (QWebPage::findText): |
|
17177 (QWebPage::settings): |
|
17178 (QWebPage::networkProxy): |
|
17179 (QWebPage::setNetworkAccessManager): |
|
17180 * Api/qwebpage.h: |
|
17181 * Api/qwebsettings.cpp: |
|
17182 (QWebSettings::QWebSettings): |
|
17183 (QWebSettings::setIconDatabasePath): |
|
17184 (QWebSettings::iconForUrl): |
|
17185 (QWebSettings::fontFamily): |
|
17186 * Api/qwebview.cpp: |
|
17187 (QWebView::load): |
|
17188 * Api/qwebview.h: |
|
17189 |
|
17190 2008-04-21 Marius Bugge Monsen <mmonsen@trolltech.com> |
|
17191 |
|
17192 Reviewed by Simon. |
|
17193 |
|
17194 Fix compile failure on solaris-cc |
|
17195 |
|
17196 * Api/qwebpage.h: Removed trailing semicolons and moved the private |
|
17197 d-pointer to not confuse the compiler |
|
17198 |
|
17199 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17200 |
|
17201 Reviewed by Simon. |
|
17202 |
|
17203 Build fix for Qt 4.3 |
|
17204 |
|
17205 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is |
|
17206 always defined. Do this by adding defines to the compiler line |
|
17207 * For users of our API this is not feasible. Every public header file should |
|
17208 include qwebkitglobal.h. Define the QT_BEGIN_NAMESPACE and QT_END_NAMESPACE |
|
17209 when we are building everything < 4.4.0 and don't have them defined. |
|
17210 |
|
17211 * Api/qwebkitglobal.h: |
|
17212 |
|
17213 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17214 |
|
17215 Reviewed by Simon. |
|
17216 |
|
17217 * Initialize the WebGraphics with the one found in WebCore |
|
17218 |
|
17219 |
|
17220 * Api/qwebsettings.cpp: |
|
17221 (QWebSettingsPrivate::apply): |
|
17222 |
|
17223 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17224 |
|
17225 Reviewed by Simon. |
|
17226 |
|
17227 * Allow TextAreas to be resized. |
|
17228 * No QWebSettings for this is introduced. |
|
17229 |
|
17230 |
|
17231 * Api/qwebsettings.cpp: |
|
17232 (QWebSettingsPrivate::apply): |
|
17233 |
|
17234 2008-04-21 Simon Hausmann <shausman@trolltech.com> |
|
17235 |
|
17236 Reviewed by Holger. |
|
17237 |
|
17238 Fixes: QWebView::url property behaviour strange in designer |
|
17239 |
|
17240 Added QWebView/QWebFrame::setUrl, which unlike load() clears the view immediately, schedules a load of the url but also makes sure url() returns the set url. This setter is now also used for the url property. |
|
17241 |
|
17242 * Api/qwebframe.cpp: |
|
17243 (QWebFrame::setUrl): |
|
17244 * Api/qwebframe.h: |
|
17245 * Api/qwebview.cpp: |
|
17246 (QWebView::setUrl): |
|
17247 * Api/qwebview.h: |
|
17248 |
|
17249 2008-04-21 Andre Poenitz <andre.poenitz@trolltech.com> |
|
17250 |
|
17251 Reviewed by Simon Hausmann <hausmann@webkit.org>. |
|
17252 |
|
17253 Fix compilation with Qt namespaces |
|
17254 |
|
17255 * Api/qwebframe.cpp: |
|
17256 (QWebFrame::print): |
|
17257 * Api/qwebview.h: |
|
17258 |
|
17259 2008-04-21 Simon Hausmann <hausmann@webkit.org> |
|
17260 |
|
17261 Reviewed by Holger. |
|
17262 |
|
17263 When printing on high resolution printers we need to scale the painter accordingly (for now). |
|
17264 |
|
17265 * Api/qwebframe.cpp: |
|
17266 (QWebFrame::print): |
|
17267 |
|
17268 2008-04-21 Simon Hausmann <hausmann@webkit.org> |
|
17269 |
|
17270 Reviewed by Holger. |
|
17271 |
|
17272 Provide a print preview in the QtLauncher |
|
17273 |
|
17274 * QtLauncher/main.cpp: |
|
17275 (MainWindow::MainWindow): |
|
17276 (MainWindow::showLinkHover): |
|
17277 (MainWindow::print): |
|
17278 |
|
17279 2008-04-20 Simon Hausmann <hausmann@webkit.org> |
|
17280 |
|
17281 Reviewed by Alp Toker. |
|
17282 |
|
17283 Share the printing code between the Gtk and the Qt port |
|
17284 and added printing to the Qt WebKit API. |
|
17285 |
|
17286 * Api/qwebframe.cpp: |
|
17287 (QWebFrame::print): |
|
17288 * Api/qwebframe.h: |
|
17289 * Api/qwebview.cpp: |
|
17290 (QWebView::print): |
|
17291 * Api/qwebview.h: |
|
17292 |
|
17293 2008-04-19 Julien Chaffraix <jchaffraix@webkit.org> |
|
17294 |
|
17295 Qt build fix (renderer() -> contentRenderer()). |
|
17296 |
|
17297 * Api/qwebframe.cpp: |
|
17298 (QWebFrame::renderTreeDump): |
|
17299 (QWebFrame::render): |
|
17300 |
|
17301 2008-04-18 Simon Hausmann <hausmann@webkit.org> |
|
17302 |
|
17303 Reviewed by Holger. |
|
17304 |
|
17305 Many API changes and additions after a full review with Jasmin Blanchette <jasmin@trolltech.com> |
|
17306 |
|
17307 The diff is too big to mention the changes individually, but most of the changes were of cosmetic |
|
17308 nature where methods or enums have been renamed or prefixed/suffixed according to the consistency |
|
17309 rules of the Qt API. |
|
17310 |
|
17311 * Api/qwebframe.cpp: |
|
17312 (QWebFrame::addToJavaScriptWindowObject): |
|
17313 (QWebFrame::toHtml): |
|
17314 (QWebFrame::toPlainText): |
|
17315 (QWebFrame::icon): |
|
17316 (QWebFrame::setContent): |
|
17317 (QWebFrame::setScrollBarPolicy): |
|
17318 (QWebFrame::render): |
|
17319 (QWebFrame::setTextSizeMultiplier): |
|
17320 (QWebFrame::textSizeMultiplier): |
|
17321 (QWebFrame::pos): |
|
17322 * Api/qwebframe.h: |
|
17323 * Api/qwebhistory.cpp: |
|
17324 * Api/qwebhistory.h: |
|
17325 * Api/qwebpage.cpp: |
|
17326 (QWebPagePrivate::QWebPagePrivate): |
|
17327 (QWebPagePrivate::~QWebPagePrivate): |
|
17328 (QWebPagePrivate::acceptNavigationRequest): |
|
17329 (webActionForContextMenuAction): |
|
17330 (QWebPagePrivate::updateAction): |
|
17331 (QWebPagePrivate::keyPressEvent): |
|
17332 (QWebPage::view): |
|
17333 (QWebPage::javaScriptPrompt): |
|
17334 (QWebPage::createWindow): |
|
17335 (QWebPage::triggerAction): |
|
17336 (QWebPage::setViewportSize): |
|
17337 (QWebPage::acceptNavigationRequest): |
|
17338 (QWebPage::action): |
|
17339 (QWebPage::focusNextPrevChild): |
|
17340 (QWebPage::setForwardUnsupportedContent): |
|
17341 (QWebPage::forwardUnsupportedContent): |
|
17342 (QWebPage::setLinkDelegationPolicy): |
|
17343 (QWebPage::findText): |
|
17344 (QWebPage::networkAccessManager): |
|
17345 (QWebPageContext::imageUrl): |
|
17346 (QWebPageContext::image): |
|
17347 * Api/qwebpage.h: |
|
17348 * Api/qwebpage_p.h: |
|
17349 * Api/qwebsettings.cpp: |
|
17350 (QWebSettingsPrivate::apply): |
|
17351 (QWebSettings::QWebSettings): |
|
17352 (QWebSettings::setIconDatabasePath): |
|
17353 (QWebSettings::iconDatabasePath): |
|
17354 (QWebSettings::clearIconDatabase): |
|
17355 (QWebSettings::iconForUrl): |
|
17356 (QWebSettings::setWebGraphic): |
|
17357 (QWebSettings::fontFamily): |
|
17358 (QWebSettings::setAttribute): |
|
17359 (QWebSettings::testAttribute): |
|
17360 (QWebSettings::resetAttribute): |
|
17361 * Api/qwebsettings.h: |
|
17362 * Api/qwebview.cpp: |
|
17363 (QWebView::setPage): |
|
17364 (QWebView::icon): |
|
17365 (QWebView::setTextSizeMultiplier): |
|
17366 (QWebView::textSizeMultiplier): |
|
17367 (QWebView::findText): |
|
17368 (QWebView::reload): |
|
17369 (QWebView::mouseMoveEvent): |
|
17370 * Api/qwebview.h: |
|
17371 * QtLauncher/main.cpp: |
|
17372 (MainWindow::MainWindow): |
|
17373 (main): |
|
17374 * WebCoreSupport/ChromeClientQt.cpp: |
|
17375 (WebCore::ChromeClientQt::ChromeClientQt): |
|
17376 (WebCore::ChromeClientQt::setWindowRect): |
|
17377 (WebCore::ChromeClientQt::toolbarsVisible): |
|
17378 (WebCore::ChromeClientQt::setStatusbarVisible): |
|
17379 (WebCore::ChromeClientQt::statusbarVisible): |
|
17380 (WebCore::ChromeClientQt::setScrollbarsVisible): |
|
17381 (WebCore::ChromeClientQt::setResizable): |
|
17382 (WebCore::ChromeClientQt::scrollBackingStore): |
|
17383 (WebCore::ChromeClientQt::mouseDidMoveOverElement): |
|
17384 (WebCore::ChromeClientQt::setToolTip): |
|
17385 * WebCoreSupport/ChromeClientQt.h: |
|
17386 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17387 (WebCore::FrameLoaderClientQt::setFrame): |
|
17388 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation): |
|
17389 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
17390 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
17391 (WebCore::FrameLoaderClientQt::createFrame): |
|
17392 (WebCore::FrameLoaderClientQt::objectContentType): |
|
17393 * WebCoreSupport/FrameLoaderClientQt.h: |
|
17394 * WebCoreSupport/InspectorClientQt.cpp: |
|
17395 |
|
17396 2008-04-18 Simon Hausmann <hausmann@webkit.org> |
|
17397 |
|
17398 Reviewed by Holger. |
|
17399 |
|
17400 Added QWebView::find/QWebFrame::find. |
|
17401 |
|
17402 * Api/qwebpage.cpp: |
|
17403 (QWebPage::focusNextPrevChild): |
|
17404 (QWebPage::find): |
|
17405 * Api/qwebpage.h: |
|
17406 * Api/qwebview.cpp: |
|
17407 (QWebView::find): |
|
17408 * Api/qwebview.h: |
|
17409 |
|
17410 2008-04-15 Ariya Hidayat <ariya.hidayat@trolltech.com> |
|
17411 |
|
17412 Reviewed by Simon. |
|
17413 |
|
17414 fix potential crash when loading image(s) |
|
17415 |
|
17416 Crash may occur. If compiled with 4.3, the variable is not initialized. |
|
17417 This fix solves https://bugs.webkit.org/show_bug.cgi?id=17174 |
|
17418 |
|
17419 * Api/qwebpage.cpp: |
|
17420 (QWebPagePrivate::QWebPagePrivate): |
|
17421 |
|
17422 2008-04-15 Simon Hausmann <hausmann@webkit.org> |
|
17423 |
|
17424 Reviewed by Holger. |
|
17425 |
|
17426 Update the micro focus for input methods as soon as the composition mode changes |
|
17427 or the caret/selection changes. |
|
17428 |
|
17429 |
|
17430 * Api/qwebpage.cpp: |
|
17431 * Api/qwebpage.h: |
|
17432 * Api/qwebview.cpp: |
|
17433 (QWebView::setPage): |
|
17434 * WebCoreSupport/EditorClientQt.cpp: |
|
17435 (WebCore::EditorClientQt::respondToChangedSelection): |
|
17436 (WebCore::EditorClientQt::setInputMethodState): |
|
17437 |
|
17438 2008-04-15 Simon Hausmann <hausmann@webkit.org> |
|
17439 |
|
17440 Reviewed by Holger. |
|
17441 |
|
17442 Don't use QDir, QString or any locale sensitive function before constructing Q(Core)Application, |
|
17443 it yields undefined behaviour or wrong default codec initialization. |
|
17444 |
|
17445 |
|
17446 * QtLauncher/main.cpp: |
|
17447 (WebPage::createWindow): |
|
17448 |
|
17449 2008-04-15 Olivier Goffart <ogoffart@trolltech.com> |
|
17450 |
|
17451 Reviewed by Simon. |
|
17452 |
|
17453 Fixes: copy to clipboard when selecting, and paste when clicking with the middle button |
|
17454 |
|
17455 * Api/qwebpage.cpp: |
|
17456 (QWebPagePrivate::mouseReleaseEvent): If the clipboard supports |
|
17457 selections then we support copy & paste into the selection. |
|
17458 |
|
17459 2008-04-15 Michael Brasser <michael.brasser@trolltech.com> |
|
17460 |
|
17461 Reviewed by Simon. |
|
17462 |
|
17463 Add basic input method support. |
|
17464 |
|
17465 |
|
17466 * Api/qwebpage.cpp: |
|
17467 (QWebPagePrivate::dropEvent): |
|
17468 (QWebPagePrivate::inputMethodEvent): |
|
17469 (QWebPage::inputMethodQuery): |
|
17470 (QWebPage::event): |
|
17471 * Api/qwebpage.h: |
|
17472 * Api/qwebpage_p.h: |
|
17473 * Api/qwebview.cpp: |
|
17474 (QWebView::QWebView): |
|
17475 (QWebView::inputMethodQuery): |
|
17476 (QWebView::inputMethodEvent): |
|
17477 * Api/qwebview.h: |
|
17478 * WebCoreSupport/EditorClientQt.cpp: |
|
17479 (WebCore::EditorClientQt::setInputMethodState): |
|
17480 |
|
17481 2008-04-15 Simon Hausmann <hausmann@webkit.org> |
|
17482 |
|
17483 Reviewed by Holger. |
|
17484 |
|
17485 Added (QWebFrame|QWebView)::textZoomFactor. |
|
17486 |
|
17487 |
|
17488 * Api/qwebframe.cpp: |
|
17489 (QWebFrame::setTextZoomFactor): |
|
17490 (QWebFrame::textZoomFactor): |
|
17491 * Api/qwebframe.h: |
|
17492 * Api/qwebview.cpp: |
|
17493 (QWebView::setTextZoomFactor): |
|
17494 (QWebView::textZoomFactor): |
|
17495 * Api/qwebview.h: |
|
17496 |
|
17497 2008-04-15 Michael Brasser <michael.brasser@trolltech.com> |
|
17498 |
|
17499 Reviewed by Simon. |
|
17500 |
|
17501 Added simple scrolling API to QWebFrame. |
|
17502 |
|
17503 The intent is that it works similar to QAbstractScrollArea. |
|
17504 |
|
17505 |
|
17506 * Api/qwebframe.cpp: |
|
17507 (QWebFrame::setScrollBarValue): |
|
17508 (QWebFrame::scrollBarValue): |
|
17509 (QWebFrame::scrollBarMaximum): |
|
17510 (QWebFrame::scrollBarMinimum): |
|
17511 * Api/qwebframe.h: |
|
17512 |
|
17513 2008-04-15 Olivier Goffart <ogoffart@trolltech.com> |
|
17514 |
|
17515 Reviewed by Holger. |
|
17516 |
|
17517 Fixes: implement the OpenFrameInNewWindow action. |
|
17518 |
|
17519 |
|
17520 * Api/qwebpage.cpp: |
|
17521 (QWebPage::triggerAction): |
|
17522 |
|
17523 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com> |
|
17524 |
|
17525 Reviewed by Simon. |
|
17526 |
|
17527 Fix compilation with Qt namespaces |
|
17528 |
|
17529 Qt can be configured to have all of its classes inside a specified namespaces. |
|
17530 This is for example used in plugin/component environments like Eclipse. |
|
17531 |
|
17532 This change makes it possible to let the Qt port compile against a namespaced |
|
17533 Qt by the use of macros Qt provides to properly forward declare Qt classes in |
|
17534 the namespace. |
|
17535 |
|
17536 * Api/qwebframe.h: |
|
17537 * Api/qwebpage.h: |
|
17538 * Api/qwebpage_p.h: |
|
17539 * Api/qwebpluginfactory.h: |
|
17540 * Api/qwebsettings.h: |
|
17541 * Api/qwebview.h: |
|
17542 |
|
17543 2008-04-05 Olivier Goffart <ogoffart@trolltech.com> |
|
17544 |
|
17545 Reviewed by Holger. |
|
17546 |
|
17547 Fixes: Right clicking an image and choosing "copy image" doesnt put anything in the clipboard. |
|
17548 |
|
17549 |
|
17550 * Api/qwebpage.cpp: |
|
17551 (QWebPage::triggerAction): |
|
17552 |
|
17553 2008-04-05 Olivier Goffart <ogoffart@trolltech.com> |
|
17554 |
|
17555 Reviewed by Simon. |
|
17556 |
|
17557 Fixes: Right click, and "Open image" open the link instead of the image. |
|
17558 |
|
17559 |
|
17560 * Api/qwebpage.cpp: |
|
17561 |
|
17562 2008-04-05 Benjamin Meyer <bmeyer@trolltech.com> |
|
17563 |
|
17564 Reviewed by Simon. |
|
17565 |
|
17566 Added doc stub for QWebSettings so class docs are generated |
|
17567 |
|
17568 |
|
17569 * Api/qwebsettings.cpp: |
|
17570 (QWebSettings::QWebSettings): |
|
17571 |
|
17572 2008-04-05 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17573 |
|
17574 Reviewed by Simon. |
|
17575 |
|
17576 * Propose the addition of updateRequest and scrollRequest to the QWebPage. |
|
17577 |
|
17578 * The question is if these signals belong to QWebPage or QWebFrame. |
|
17579 -It is more easy to have them in QWebPage because ScrollView is invoking |
|
17580 the ChromeClient with the right coordinates |
|
17581 -On the other hand someone wants to render frames separately. But this is partly |
|
17582 doomed as you can have overlapping frames and what you paint would not relate to |
|
17583 what you normally see on webpages. |
|
17584 |
|
17585 |
|
17586 * Api/qwebpage.cpp: |
|
17587 * Api/qwebpage.h: |
|
17588 * WebCoreSupport/ChromeClientQt.cpp: |
|
17589 (WebCore::ChromeClientQt::scrollBackingStore): |
|
17590 (WebCore::ChromeClientQt::mouseDidMoveOverElement): |
|
17591 |
|
17592 2008-04-03 Simon Hausmann <hausmann@webkit.org> |
|
17593 |
|
17594 Reviewed by Mark Rowe. |
|
17595 |
|
17596 Roll out r31599 and r31605 again after discussion with Mark Rowe. |
|
17597 |
|
17598 * Api/qwebframe.cpp: |
|
17599 (QWebFrame::icon): |
|
17600 * Api/qwebsettings.cpp: |
|
17601 (QWebSettings::iconForUrl): |
|
17602 |
|
17603 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17604 |
|
17605 Reviewed by Simon. |
|
17606 |
|
17607 * Change IconDatabase::iconForPageURL to return more information. E.g. if |
|
17608 an image has been found, or if the loading of an image has been scheduled. |
|
17609 * Update FrameLoader to use another method to trigger reading from disk |
|
17610 * Update the QWebFrame and QWebSettings |
|
17611 |
|
17612 * Api/qwebframe.cpp: |
|
17613 (QWebFrame::icon): |
|
17614 * Api/qwebsettings.cpp: |
|
17615 (QWebSettings::iconForUrl): |
|
17616 |
|
17617 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17618 |
|
17619 Reviewed by Simon. |
|
17620 |
|
17621 * Safari is using the IconDatabase the following way (assumption). Before they |
|
17622 call iconDatabase()->open they "retain" all URLs they are interested in, these |
|
17623 could come from the history. |
|
17624 * When opening the iconDatabase() a thread will be started that is going to import |
|
17625 the URLs, all none manually retained URLs are scheduled for removal. The removal |
|
17626 is going to happen when the next icon gets stored in the database. |
|
17627 * We do not have any IconDatabase code, we can not retain the URLs before opening the |
|
17628 database. To disable the automatic pruning of the icons we will ask the IconDatabase |
|
17629 to delay this operation. This means our IconDatabase, when used, will grow, so we should |
|
17630 try to have a IconDatabase class in 4.4. |
|
17631 * The only way to counter the growth is a call to QWebSettings::clearIconDatabase |
|
17632 |
|
17633 |
|
17634 * Api/qwebsettings.cpp: |
|
17635 (QWebSettings::clearIconDatabase): |
|
17636 * Api/qwebsettings.h: |
|
17637 |
|
17638 2008-04-03 Benjamin Meyer <bmeyer@trolltech.com> |
|
17639 |
|
17640 Reviewed by Simon. |
|
17641 |
|
17642 Add a way to get the site icon for a url |
|
17643 static QPixmap iconForUrl(const QUrl &url); |
|
17644 |
|
17645 |
|
17646 * Api/qwebsettings.cpp: |
|
17647 (QWebSettings::iconForUrl): |
|
17648 * Api/qwebsettings.h: |
|
17649 |
|
17650 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17651 |
|
17652 Reviewed by Simon. |
|
17653 |
|
17654 * Update the Copyright info in QWebSettings |
|
17655 |
|
17656 |
|
17657 * Api/qwebsettings.cpp: |
|
17658 * Api/qwebsettings.h: |
|
17659 |
|
17660 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17661 |
|
17662 Reviewed by Simon. |
|
17663 |
|
17664 * The isEmpty check is not needed anymore with the earlier backport |
|
17665 |
|
17666 |
|
17667 * Api/qwebframe.cpp: |
|
17668 (QWebFrame::icon): |
|
17669 |
|
17670 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17671 |
|
17672 Reviewed by Simon. |
|
17673 |
|
17674 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API |
|
17675 is not exporting enough to create the output in DRT itself. Settle with the approach |
|
17676 Lars has taken for the Editing support and add branches to our FrameLoaderClient code. |
|
17677 * run-webkit-tests http/tests(/loading) can now be executed. |
|
17678 * For tests in loading/ directories we are going to throw away the dirty |
|
17679 QWebPage to start with something clean. |
|
17680 |
|
17681 |
|
17682 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17683 (qt_dump_frame_loader): |
|
17684 (drtDescriptionSuitableForTestResult): |
|
17685 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad): |
|
17686 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect): |
|
17687 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect): |
|
17688 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage): |
|
17689 (WebCore::FrameLoaderClientQt::dispatchWillClose): |
|
17690 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad): |
|
17691 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle): |
|
17692 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad): |
|
17693 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad): |
|
17694 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): |
|
17695 (WebCore::FrameLoaderClientQt::registerForIconNotification): |
|
17696 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
17697 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
17698 |
|
17699 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17700 |
|
17701 Reviewed by Simon. |
|
17702 |
|
17703 * Export the PageCache and Cache capacity call one to one. This is only there |
|
17704 to allow the QtLauncher to play with caching. |
|
17705 * TODO: make API decisions and consider following the windows Api to set a WebCacheModel |
|
17706 and determine certain values automatically. |
|
17707 |
|
17708 |
|
17709 * Api/qwebsettings.cpp: |
|
17710 (QWebSettings::setPageCacheCapacity): |
|
17711 (QWebSettings::setObjectCacheCapacities): |
|
17712 * Api/qwebsettings.h: |
|
17713 * QtLauncher/main.cpp: |
|
17714 |
|
17715 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17716 |
|
17717 Reviewed by Simon. |
|
17718 |
|
17719 Prepapre everything for enabling the PageCache for the Qt Platform: |
|
17720 * Claim that we can cache pages |
|
17721 * Create the FrameView FrameLoaderClientQt::transitionToCommittedForNewPage using |
|
17722 the initial size of the viewport and stop creating it in the QWebFramePrivate::init |
|
17723 |
|
17724 Differences to the Windows port: |
|
17725 * attachToWindow/detachFromWindow is not called and is not (yet) part |
|
17726 of Widget/ScrollView of the Qt platform. We might need that for plugin |
|
17727 support in the future. |
|
17728 * We store the margin's and scrolling flag inside QWebFrame and use it when |
|
17729 creating the FrameView. |
|
17730 |
|
17731 What is missing: |
|
17732 * API to call pageCache()->setCapacity(XYZ); |
|
17733 |
|
17734 |
|
17735 * Api/qwebframe.cpp: |
|
17736 (QWebFramePrivate::init): |
|
17737 * Api/qwebframe_p.h: |
|
17738 (QWebFramePrivate::QWebFramePrivate): |
|
17739 * Api/qwebpage.cpp: |
|
17740 (QWebPagePrivate::createMainFrame): |
|
17741 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17742 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
17743 (WebCore::FrameLoaderClientQt::blockedError): |
|
17744 |
|
17745 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17746 |
|
17747 Reviewed by Simon. |
|
17748 |
|
17749 * For the PageCache support we do not want to create a FrameView in the constructor |
|
17750 of QWebFrame. In QWegPage::viewportSize() we currently call mainFrame() and that will |
|
17751 create a QWebFrame if no mainFrame is present and this gets called when we try to |
|
17752 create a FrameView... |
|
17753 * Keep a copy of the initial viewportSize around and use it if we do not have a Frame |
|
17754 or FrameView. |
|
17755 |
|
17756 |
|
17757 * Api/qwebpage.cpp: |
|
17758 (QWebPagePrivate::QWebPagePrivate): |
|
17759 (QWebPage::triggerAction): |
|
17760 * Api/qwebpage_p.h: |
|
17761 |
|
17762 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17763 |
|
17764 Reviewed by Simon. |
|
17765 |
|
17766 * Always return true in FrameLoaderClientQt::shouldGoToHistoryItem, like the windows port |
|
17767 |
|
17768 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17769 (WebCore::): |
|
17770 |
|
17771 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17772 |
|
17773 Reviewed by Simon. |
|
17774 |
|
17775 * Attempt to make the m_webFrame null pointer checking consistent. Always check for |
|
17776 m_webFrame. It should get set by the QWebFrame with the FramerLoaderClientQt::setFrame |
|
17777 call and should stay valid until the destruction of the QWebFrame. |
|
17778 * Currently the same checking is not needed for m_frame as it will only set to 0 in |
|
17779 FrameLoaderClientQt::frameLoaderDestroyed and should be not 0 because of the setFrame |
|
17780 initialisation. |
|
17781 |
|
17782 |
|
17783 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17784 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle): |
|
17785 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
17786 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength): |
|
17787 (WebCore::FrameLoaderClientQt::objectContentType): |
|
17788 (WebCore::FrameLoaderClientQt::createPlugin): |
|
17789 |
|
17790 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17791 |
|
17792 Reviewed by Simon. |
|
17793 |
|
17794 * Get the RefCounting of WebCore::Frame right and make sure that both QWebFrame |
|
17795 and WebCore::Frame get destroyed if we leave site with subframes and on the |
|
17796 end of the application. |
|
17797 * Use adoptRef in FrameLoaderClientQt::createFrame to get the refs right for subframes. We |
|
17798 do not want to add an extra reference. Without this we are leaking subframes. |
|
17799 * Assume that the lifetime of a Frame and FrameLoader are the same, when the Frame is gone |
|
17800 we want to destroy the QWebFrame (e.g. on a page with subframes). Add delete m_webFrame |
|
17801 in the frameLoaderDestroyed method to do that. |
|
17802 * If we happen to delete the QWebFrame before the FrameLoaderClientQt we set m_webFrame to |
|
17803 zero in the FrameLoaderClientQt to avoid bad things. |
|
17804 |
|
17805 |
|
17806 * Api/qwebframe.cpp: |
|
17807 (QWebFrame::~QWebFrame): |
|
17808 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17809 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem): |
|
17810 (WebCore::FrameLoaderClientQt::objectContentType): |
|
17811 * WebCoreSupport/FrameLoaderClientQt.h: |
|
17812 |
|
17813 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17814 |
|
17815 Reviewed by Simon. |
|
17816 |
|
17817 * Do not save a RefPtr to the frame. The FrameLoaderClient, Frame and |
|
17818 QWebFrame should have the same lifetime everything else is a leak |
|
17819 or issue. |
|
17820 |
|
17821 * Api/qwebframe.cpp: |
|
17822 (QWebFramePrivate::init): |
|
17823 * Api/qwebframe_p.h: |
|
17824 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17825 |
|
17826 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17827 |
|
17828 Reviewed by Simon. |
|
17829 |
|
17830 * Do not store the QWebFrame associated with a ScrollView/FrameView |
|
17831 in the WebCore::Widget. |
|
17832 * Instead of asking the Widget for the QWebFrame use the QWebFramePrivate::core |
|
17833 and QWebFramePrivate::kit function to convert from and to QWebFrame. |
|
17834 |
|
17835 |
|
17836 * Api/qwebframe.cpp: |
|
17837 (QWebFramePrivate::init): |
|
17838 * Api/qwebpage.cpp: |
|
17839 (QWebPagePrivate::createMainFrame): |
|
17840 |
|
17841 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17842 |
|
17843 Reviewed by Simon. |
|
17844 |
|
17845 * Do not store the FrameView in the QWebFrame and cope with the situation when |
|
17846 a WebCore::Frame has no WebCore::FrameView. |
|
17847 |
|
17848 |
|
17849 * Api/qwebframe.cpp: |
|
17850 (QWebFramePrivate::init): |
|
17851 (QWebFramePrivate::horizontalScrollBar): |
|
17852 (QWebFramePrivate::verticalScrollBar): |
|
17853 (QWebFrame::innerText): |
|
17854 (QWebFrame::renderTreeDump): |
|
17855 (QWebFrame::setVerticalScrollBarPolicy): |
|
17856 (QWebFrame::setHorizontalScrollBarPolicy): |
|
17857 (QWebFrame::render): |
|
17858 (QWebFrame::layout): |
|
17859 (QWebFrame::pos): |
|
17860 * Api/qwebframe_p.h: |
|
17861 (QWebFramePrivate::QWebFramePrivate): |
|
17862 * Api/qwebpage.cpp: |
|
17863 (QWebPagePrivate::updateEditorActions): |
|
17864 (QWebPagePrivate::mouseMoveEvent): |
|
17865 (QWebPagePrivate::mousePressEvent): |
|
17866 (QWebPagePrivate::mouseDoubleClickEvent): |
|
17867 (QWebPagePrivate::contextMenuEvent): |
|
17868 (QWebPagePrivate::wheelEvent): |
|
17869 (QWebPage::triggerAction): |
|
17870 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17871 |
|
17872 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17873 |
|
17874 Reviewed by Simon. |
|
17875 |
|
17876 * Change the order of the methods to match with the FrameLoaderClient.h to ease |
|
17877 removing methods in the future. |
|
17878 |
|
17879 * WebCoreSupport/FrameLoaderClientQt.h: |
|
17880 |
|
17881 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17882 |
|
17883 Reviewed by Simon. |
|
17884 |
|
17885 * Remove virtuals in the FrameLoaderClientQt that don't exist in the base class. |
|
17886 |
|
17887 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17888 (WebCore::FrameLoaderClientQt::detachedFromParent4): |
|
17889 * WebCoreSupport/FrameLoaderClientQt.h: |
|
17890 |
|
17891 2008-03-25 Brady Eidson <beidson@apple.com> |
|
17892 |
|
17893 Reviewed by Darin |
|
17894 |
|
17895 Remove newly obsolete FrameLoaderClient methods |
|
17896 |
|
17897 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17898 * WebCoreSupport/FrameLoaderClientQt.h: |
|
17899 |
|
17900 2008-03-22 Mark Rowe <mrowe@apple.com> |
|
17901 |
|
17902 Qt build fix. |
|
17903 |
|
17904 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17905 (WebCore::): |
|
17906 |
|
17907 2008-03-18 Simon Hausmann <hausmann@webkit.org> |
|
17908 |
|
17909 Reviewed by Holger. |
|
17910 |
|
17911 Fix the Qt build. Don't return void in non-void functions. |
|
17912 |
|
17913 * Api/qwebpluginfactory.cpp: |
|
17914 (QWebPluginFactory::extension): |
|
17915 |
|
17916 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com> |
|
17917 |
|
17918 Reviewed by Simon. |
|
17919 |
|
17920 Don't use RefPtr in classes you haven't seen the implementation of. |
|
17921 |
|
17922 Forward-declaration and declaration of RefPtr<Foo> is ok. But you |
|
17923 cannot *use* said objects until Foo is defined. This is true even for |
|
17924 initialisation with a 0. |
|
17925 |
|
17926 Seems the HP aCC compiler is more strict here than gcc. |
|
17927 |
|
17928 * Api/qwebframe_p.h: |
|
17929 |
|
17930 2008-03-14 Simon Hausmann <hausmann@webkit.org> |
|
17931 |
|
17932 Fix the Qt build. |
|
17933 |
|
17934 * Api/qwebframe.cpp: |
|
17935 (QWebFrame::setHtml): |
|
17936 (QWebFrame::setContent): |
|
17937 |
|
17938 2008-03-13 Simon Hausmann <hausmann@webkit.org> |
|
17939 |
|
17940 Fix the Qt build. |
|
17941 |
|
17942 * Api/qwebframe.cpp: |
|
17943 (QWebFrame::addToJSWindowObject): |
|
17944 |
|
17945 2008-03-12 Simon Hausmann <hausmann@webkit.org> |
|
17946 |
|
17947 Fix compilation against Qt 4.3 |
|
17948 |
|
17949 * Api/qwebpage.cpp: |
|
17950 * Api/qwebpage.h: |
|
17951 * Api/qwebpage_p.h: |
|
17952 |
|
17953 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com> |
|
17954 |
|
17955 Fix the Qt build. |
|
17956 |
|
17957 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
17958 (FrameLoaderClientQt::CreatePlugin): |
|
17959 |
|
17960 2008-03-11 Simon Hausmann <hausmann@webkit.org> |
|
17961 |
|
17962 Fix the Qt build (silly typo). |
|
17963 |
|
17964 * QtLauncher/main.cpp: |
|
17965 (MainWindow::MainWindow): |
|
17966 |
|
17967 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
17968 |
|
17969 Reviewed by Simon. |
|
17970 |
|
17971 Moved obscuring progress bar to the lower right corner. |
|
17972 |
|
17973 * QtLauncher/main.cpp: |
|
17974 (MainWindow::MainWindow): |
|
17975 (MainWindow::resizeEvent): |
|
17976 |
|
17977 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com> |
|
17978 |
|
17979 Reviewed by Simon. |
|
17980 |
|
17981 Added reload action and grouped stop and reload actions together. |
|
17982 |
|
17983 * QtLauncher/main.cpp: |
|
17984 (MainWindow::MainWindow): |
|
17985 |
|
17986 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
17987 |
|
17988 Reviewed by Simon. |
|
17989 |
|
17990 * Set a Icon on the QAction if we have one. |
|
17991 |
|
17992 * Api/qwebpage.cpp: |
|
17993 (QWebPage::action): |
|
17994 |
|
17995 2008-03-11 Simon Hausmann <hausmann@webkit.org> |
|
17996 |
|
17997 Fix the Qt build. |
|
17998 |
|
17999 * Api/qwebframe.cpp: |
|
18000 (QWebFrame::addToJSWindowObject): |
|
18001 |
|
18002 2008-03-07 Simon Hausmann <hausmann@webkit.org> |
|
18003 |
|
18004 Reviewed by Darin Adler. |
|
18005 |
|
18006 Done with Lars. |
|
18007 |
|
18008 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory. |
|
18009 |
|
18010 * Api/qwebnetworkinterface.cpp: |
|
18011 (QWebNetworkManager::add): |
|
18012 (QWebNetworkManager::cancel): |
|
18013 (QWebNetworkManager::started): |
|
18014 (QWebNetworkManager::data): |
|
18015 (QWebNetworkManager::finished): |
|
18016 * Api/qwebnetworkinterface_p.h: |
|
18017 (QWebNetworkJobPrivate::QWebNetworkJobPrivate): |
|
18018 * Api/qwebobjectplugin.cpp: Removed. |
|
18019 * Api/qwebobjectplugin.h: Removed. |
|
18020 * Api/qwebobjectplugin_p.h: Removed. |
|
18021 * Api/qwebobjectpluginconnector.cpp: Removed. |
|
18022 * Api/qwebobjectpluginconnector.h: Removed. |
|
18023 * Api/qwebpage.cpp: |
|
18024 (QWebPagePrivate::QWebPagePrivate): |
|
18025 (QWebPage::setPluginFactory): |
|
18026 (QWebPage::pluginFactory): |
|
18027 * Api/qwebpage.h: |
|
18028 * Api/qwebpage_p.h: |
|
18029 * Api/qwebpluginfactory.cpp: Added. |
|
18030 (QWebPluginFactory::QWebPluginFactory): |
|
18031 (QWebPluginFactory::~QWebPluginFactory): |
|
18032 (QWebPluginFactory::refreshPlugins): |
|
18033 (QWebPluginFactory::extension): |
|
18034 * Api/qwebpluginfactory.h: Added. |
|
18035 (MimeType::): |
|
18036 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18037 (WebCore::FrameLoaderClientQt::objectContentType): |
|
18038 (WebCore::FrameLoaderClientQt::createPlugin): |
|
18039 |
|
18040 2008-03-07 Simon Hausmann <hausmann@webkit.org> |
|
18041 |
|
18042 Fix the Qt build. |
|
18043 |
|
18044 * Api/qwebframe.cpp: |
|
18045 |
|
18046 2008-03-04 Sam Weinig <sam@webkit.org> |
|
18047 |
|
18048 Reviewed by Mark Rowe. |
|
18049 |
|
18050 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including |
|
18051 JSDOMWindow.h |
|
18052 |
|
18053 * Api/qwebframe.cpp: |
|
18054 (QWebFrame::addToJSWindowObject): |
|
18055 |
|
18056 2008-03-04 Mark Rowe <mrowe@apple.com> |
|
18057 |
|
18058 Another go at fixing the Qt build. |
|
18059 |
|
18060 * Api/qwebframe.cpp: |
|
18061 (QWebFrame::addToJSWindowObject): |
|
18062 |
|
18063 2008-02-24 Darin Adler <darin@apple.com> |
|
18064 |
|
18065 Reviewed by Sam. |
|
18066 |
|
18067 - remove separate client calls for "standard" and "reload' history |
|
18068 |
|
18069 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18070 (WebCore::FrameLoaderClientQt::updateGlobalHistory): |
|
18071 * WebCoreSupport/FrameLoaderClientQt.h: |
|
18072 |
|
18073 2008-02-24 Darin Adler <darin@apple.com> |
|
18074 |
|
18075 - another try at fixing the build |
|
18076 |
|
18077 * Api/qwebframe.cpp: |
|
18078 (QWebFrame::load): Replace new FormData with FormData::create. |
|
18079 |
|
18080 2008-02-22 Sam Weinig <sam@webkit.org> |
|
18081 |
|
18082 Fix Qt build. |
|
18083 |
|
18084 * Api/qwebhistoryinterface.cpp: |
|
18085 |
|
18086 2008-02-22 Sam Weinig <sam@webkit.org> |
|
18087 |
|
18088 Rubber-stamped by Adam Roben. |
|
18089 |
|
18090 Rid the project of the Devil known as DeprecatedString! |
|
18091 |
|
18092 * Api/qwebhistory.cpp: |
|
18093 * Api/qwebhistoryinterface.cpp: |
|
18094 |
|
18095 2008-02-18 Darin Adler <darin@apple.com> |
|
18096 |
|
18097 Reviewed by Sam. |
|
18098 |
|
18099 * Api/qwebnetworkinterface.cpp: |
|
18100 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString. |
|
18101 |
|
18102 2008-01-24 David Boddie <dboddie@trolltech.com> |
|
18103 |
|
18104 Reviewed by Simon. |
|
18105 |
|
18106 Documentation tidying. |
|
18107 |
|
18108 |
|
18109 * Api/qwebframe.cpp: |
|
18110 * Api/qwebhistoryinterface.cpp: |
|
18111 * Api/qwebview.cpp: |
|
18112 |
|
18113 2008-01-24 Jarek Kobus <jkobus@trolltech.com> |
|
18114 |
|
18115 Reviewed by Simon. |
|
18116 |
|
18117 Text for translations were used wrongly as comments |
|
18118 |
|
18119 |
|
18120 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18121 (WebCore::): |
|
18122 (WebCore::FrameLoaderClientQt::cannotShowURLError): |
|
18123 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError): |
|
18124 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError): |
|
18125 (WebCore::FrameLoaderClientQt::fileDoesNotExistError): |
|
18126 (WebCore::FrameLoaderClientQt::shouldFallBack): |
|
18127 |
|
18128 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
18129 |
|
18130 Reviewed by Simon. |
|
18131 |
|
18132 * We have a KURL->QUrl conversion on KURL itself, make use of it. |
|
18133 * This conversion is supposed to be loss-free |
|
18134 |
|
18135 |
|
18136 * Api/qwebframe.cpp: |
|
18137 |
|
18138 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
18139 |
|
18140 * Rubber stamped by Simon |
|
18141 |
|
18142 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many. |
|
18143 This was found while working on the page-cache, other ports are not affected. |
|
18144 |
|
18145 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18146 (WebCore::FrameLoaderClientQt::createFrame): |
|
18147 |
|
18148 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com> |
|
18149 |
|
18150 Reviewed by Simon Hausmann <hausmann@webkit.org>. |
|
18151 |
|
18152 Fix Qtopia compilation with QT_NO_TOOLTIP |
|
18153 |
|
18154 |
|
18155 * WebCoreSupport/ChromeClientQt.cpp: |
|
18156 (WebCore::ChromeClientQt::print): |
|
18157 |
|
18158 2008-01-23 Geir Vattekar <gvatteka@trolltech.com> |
|
18159 |
|
18160 Reviewed by Simon. |
|
18161 |
|
18162 Doc: Replaced \code with snippets in the docs |
|
18163 |
|
18164 |
|
18165 * Api/qwebview.cpp: |
|
18166 |
|
18167 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com> |
|
18168 |
|
18169 Reviewed by Simon. |
|
18170 |
|
18171 Tweak key presses even to match commonly expected behavior |
|
18172 - space key == page down |
|
18173 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading. |
|
18174 - Use font height rather then a hard coded "10" for left, right, up, down |
|
18175 - Ctrl-Up moves to the top of the page |
|
18176 - Ctrl-Down move to the bottom of the page |
|
18177 - Backspace == GoBack |
|
18178 - Shift-Backspace == GoForward |
|
18179 |
|
18180 |
|
18181 * Api/qwebpage.cpp: |
|
18182 (dropActionToDragOp): |
|
18183 (dragOpToDropAction): |
|
18184 (QWebPagePrivate::keyPressEvent): |
|
18185 |
|
18186 2008-01-23 Simon Hausmann <hausmann@webkit.org> |
|
18187 |
|
18188 Reviewed by Lars. |
|
18189 |
|
18190 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download(). |
|
18191 |
|
18192 Added two signals to QWebPage to handle downloading of links and handling of |
|
18193 unsupported content. |
|
18194 |
|
18195 |
|
18196 * Api/qwebpage.cpp: |
|
18197 (QWebPage::triggerAction): |
|
18198 * Api/qwebpage.h: |
|
18199 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18200 (WebCore::FrameLoaderClientQt::download): |
|
18201 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest): |
|
18202 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
18203 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
18204 (WebCore::FrameLoaderClientQt::willUseArchive): |
|
18205 |
|
18206 2008-01-22 Lars Knoll <lars@trolltech.com> |
|
18207 |
|
18208 Reviewed by Simon. |
|
18209 |
|
18210 setup a family for cursive and fantasy fonts as well. |
|
18211 |
|
18212 |
|
18213 * Api/qwebsettings.cpp: |
|
18214 (QWebSettings::QWebSettings): |
|
18215 |
|
18216 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com> |
|
18217 |
|
18218 Reviewed by Simon. |
|
18219 |
|
18220 Implement ChromeClientQt::setToolTip |
|
18221 Implement ChromeClientQt::mouseDidMoveOverElement |
|
18222 |
|
18223 |
|
18224 * Api/qwebpage.cpp: |
|
18225 * Api/qwebpage_p.h: |
|
18226 * WebCoreSupport/ChromeClientQt.cpp: |
|
18227 (WebCore::ChromeClientQt::ChromeClientQt): |
|
18228 (WebCore::ChromeClientQt::focus): |
|
18229 (WebCore::ChromeClientQt::mouseDidMoveOverElement): |
|
18230 (WebCore::ChromeClientQt::setToolTip): |
|
18231 (WebCore::ChromeClientQt::print): |
|
18232 * WebCoreSupport/ChromeClientQt.h: |
|
18233 |
|
18234 2008-01-21 Darin Adler <darin@apple.com> |
|
18235 |
|
18236 Reviewed by John Sullivan. |
|
18237 |
|
18238 - updated for changes to ChromeClient database functions |
|
18239 |
|
18240 * WebCoreSupport/ChromeClientQt.cpp: |
|
18241 (WebCore::ChromeClientQt::exceededDatabaseQuota): |
|
18242 * WebCoreSupport/ChromeClientQt.h: |
|
18243 |
|
18244 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com> |
|
18245 |
|
18246 Reviewed by Simon. |
|
18247 |
|
18248 Change QWebHistoryInterface::addHistoryEntry() from const to non-const |
|
18249 |
|
18250 |
|
18251 * Api/qwebhistoryinterface.h: |
|
18252 |
|
18253 2008-01-21 Adam Treat <adam.treat@torchmobile.com> |
|
18254 |
|
18255 Reviewed by Simon. |
|
18256 |
|
18257 * Don't leak the d-pointer in QWebSettings. |
|
18258 |
|
18259 |
|
18260 * Api/qwebsettings.cpp: |
|
18261 (QWebSettings::~QWebSettings): |
|
18262 |
|
18263 2008-01-21 Simon Hausmann <hausmann@webkit.org> |
|
18264 |
|
18265 Reviewed by Holger. |
|
18266 |
|
18267 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION. |
|
18268 |
|
18269 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :) |
|
18270 |
|
18271 |
|
18272 * Api/qwebpage.cpp: |
|
18273 |
|
18274 2008-01-21 Simon Hausmann <hausmann@webkit.org> |
|
18275 |
|
18276 Reviewed by Holger. |
|
18277 |
|
18278 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab. |
|
18279 |
|
18280 * Fix GraphicsContext::drawFocusRing to also draw single focus rects. |
|
18281 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events |
|
18282 and make the return value depend on whether we successfully determined a focusable |
|
18283 node or not. |
|
18284 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly |
|
18285 if we could not handle the focus chain ourselves. |
|
18286 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus. |
|
18287 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only |
|
18288 used to control the situation of stepping out of the focus chain inside the page. |
|
18289 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain. |
|
18290 The layout tests expect this to be disabled but for the user it seems sensible to have it |
|
18291 on by default, hence the default in qwebsettings.cpp |
|
18292 |
|
18293 |
|
18294 * Api/qwebpage.cpp: |
|
18295 (QWebPage::focusNextPrevChild): |
|
18296 * Api/qwebsettings.cpp: |
|
18297 (QWebSettings::QWebSettings): |
|
18298 * Api/qwebsettings.h: |
|
18299 * Api/qwebview.cpp: |
|
18300 (QWebView::QWebView): |
|
18301 (QWebView::focusNextPrevChild): |
|
18302 * WebCoreSupport/ChromeClientQt.cpp: |
|
18303 (WebCore::ChromeClientQt::canTakeFocus): |
|
18304 (WebCore::ChromeClientQt::takeFocus): |
|
18305 |
|
18306 2008-01-18 Simon Hausmann <hausmann@webkit.org> |
|
18307 |
|
18308 Reviewed by Holger. |
|
18309 |
|
18310 Coding style fixes and added a comment about the include order. |
|
18311 |
|
18312 * WebKit_pch.h: |
|
18313 |
|
18314 2008-01-18 Marius Storm-Olsen <marius@trolltech.com> |
|
18315 |
|
18316 Reviewed by Simon Hausmann <hausmann@webkit.org>. |
|
18317 |
|
18318 Add use of precompiled header, when building inside Qt. |
|
18319 |
|
18320 Compiling WebKit was taking forever; 17 minutes on my machine for _one_ build! Adding the PCH at least brings it down to 12 minutes for one build, for me. |
|
18321 |
|
18322 |
|
18323 * WebKit_pch.h: Added. |
|
18324 |
|
18325 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
18326 |
|
18327 Reviewed by Simon. |
|
18328 |
|
18329 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise |
|
18330 we will see a crash in a HashSet. |
|
18331 * It is crashing there because the StringImpl of an empty String is 0. |
|
18332 * We avoid this crash by checking for isEmpty() in WebKit as there is no |
|
18333 use to ask the iconDatabase for an empty string. We will fallback to the |
|
18334 defaultIcon. |
|
18335 |
|
18336 |
|
18337 * Api/qwebframe.cpp: |
|
18338 (QWebFrame::icon): |
|
18339 |
|
18340 2008-01-17 Simon Hausmann <hausmann@webkit.org> |
|
18341 |
|
18342 Reviewed by Holger. |
|
18343 |
|
18344 Minor documentation fixes |
|
18345 |
|
18346 |
|
18347 * Api/qwebframe.cpp: |
|
18348 * Api/qwebview.cpp: |
|
18349 |
|
18350 2008-01-17 Simon Hausmann <shausman@trolltech.com> |
|
18351 |
|
18352 Reviewed by Lars. |
|
18353 |
|
18354 Fix form elements not focusing correctly after the qt widget lost its focus. |
|
18355 |
|
18356 When receiving a focus out event notify the focus controller. Otherwise its |
|
18357 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn |
|
18358 event shortcuts and doesn't call setActive(true). |
|
18359 |
|
18360 |
|
18361 * Api/qwebpage.cpp: |
|
18362 |
|
18363 2008-01-17 Simon Hausmann <shausman@trolltech.com> |
|
18364 |
|
18365 Reviewed by Holger. |
|
18366 |
|
18367 Lots of updates to the documentation. |
|
18368 |
|
18369 |
|
18370 * Api/qwebframe.cpp: |
|
18371 * Api/qwebhistory.cpp: |
|
18372 * Api/qwebpage.cpp: |
|
18373 (QWebPagePrivate::dropEvent): |
|
18374 (QWebPage::history): |
|
18375 (openNewWindow): |
|
18376 (QWebPage::triggerAction): |
|
18377 (QWebPage::viewportSize): |
|
18378 (QWebPage::navigationRequested): |
|
18379 (QWebPage::action): |
|
18380 (QWebPage::event): |
|
18381 (QWebPageContext::targetFrame): |
|
18382 * Api/qwebpage.h: |
|
18383 * Api/qwebview.cpp: |
|
18384 |
|
18385 2008-01-17 Simon Hausmann <shausman@trolltech.com> |
|
18386 |
|
18387 Reviewed by Lars. |
|
18388 |
|
18389 Added a urlChanged signals to QWebFrame and QWebView. |
|
18390 |
|
18391 |
|
18392 * Api/qwebframe.cpp: |
|
18393 * Api/qwebframe.h: |
|
18394 * Api/qwebview.cpp: |
|
18395 (QWebView::setPage): |
|
18396 * Api/qwebview.h: |
|
18397 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18398 |
|
18399 2008-01-17 Simon Hausmann <shausman@trolltech.com> |
|
18400 |
|
18401 Reviewed by Lars. |
|
18402 |
|
18403 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled |
|
18404 |
|
18405 |
|
18406 * Api/qwebsettings.cpp: |
|
18407 (QWebSettings::setIconDatabaseEnabled): |
|
18408 |
|
18409 2008-01-17 Simon Hausmann <shausman@trolltech.com> |
|
18410 |
|
18411 Reviewed by Lars. |
|
18412 |
|
18413 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience. |
|
18414 |
|
18415 |
|
18416 * Api/qwebpage.cpp: |
|
18417 (QWebPage::createWindow): |
|
18418 * Api/qwebview.cpp: |
|
18419 (QWebView::createWindow): |
|
18420 * Api/qwebview.h: |
|
18421 |
|
18422 2008-01-17 Lars Knoll <lars@trolltech.com> |
|
18423 |
|
18424 Reviewed by Lars. |
|
18425 |
|
18426 add a 0 pointer check. |
|
18427 |
|
18428 Fixes a crash in the demo web browser. |
|
18429 |
|
18430 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18431 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
18432 |
|
18433 2008-01-17 Simon Hausmann <hausmann@webkit.org> |
|
18434 |
|
18435 Reviewed by Holger. |
|
18436 |
|
18437 Fix QWebFrame::title(). |
|
18438 |
|
18439 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same |
|
18440 instead of Document::title() as the latter is not trimmed and not suited for a window caption. |
|
18441 |
|
18442 |
|
18443 * Api/qwebframe.cpp: |
|
18444 (QWebFrame::title): |
|
18445 |
|
18446 2008-01-17 Simon Hausmann <hausmann@webkit.org> |
|
18447 |
|
18448 Reviewed by Maciej, Lars, Holger. |
|
18449 |
|
18450 http://bugs.webkit.org/show_bug.cgi?id=16589 |
|
18451 |
|
18452 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled. |
|
18453 |
|
18454 * Api/qwebnetworkinterface.cpp: |
|
18455 (QWebNetworkRequestPrivate::init): |
|
18456 (QWebNetworkManager::started): |
|
18457 |
|
18458 2008-01-17 Warwick Allison <warwick@trolltech.com> |
|
18459 |
|
18460 Reviewed by Simon Hausmann <hausmann@webkit.org>. |
|
18461 |
|
18462 Follow QWidget::keyPressEvent advice and call parents. |
|
18463 |
|
18464 Without this, Back does not work in Qtopia, for example. |
|
18465 |
|
18466 |
|
18467 * Api/qwebview.cpp: |
|
18468 (QWebView::keyPressEvent): |
|
18469 (QWebView::keyReleaseEvent): |
|
18470 |
|
18471 2008-01-17 Simon Hausmann <hausmann@webkit.org> |
|
18472 |
|
18473 Reviewed by Lars. |
|
18474 |
|
18475 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes. |
|
18476 |
|
18477 * Api/qwebnetworkinterface.cpp: |
|
18478 (QWebNetworkManager::started): |
|
18479 |
|
18480 2008-01-17 Simon Hausmann <shausman@trolltech.com> |
|
18481 |
|
18482 Reviewed by Holger. |
|
18483 |
|
18484 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build. |
|
18485 |
|
18486 |
|
18487 * Api/qwebframe.cpp: |
|
18488 * Api/qwebpage.cpp: |
|
18489 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18490 |
|
18491 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com> |
|
18492 |
|
18493 Reviewed by Simon Hausmann <hausmann@webkit.org>. |
|
18494 |
|
18495 Fixes compilation with QT_NO_DRAGANDDROP |
|
18496 |
|
18497 |
|
18498 * Api/qwebpage.cpp: |
|
18499 (QWebPage::event): |
|
18500 * Api/qwebview.cpp: |
|
18501 (QWebView::dragEnterEvent): |
|
18502 (QWebView::dragLeaveEvent): |
|
18503 (QWebView::dragMoveEvent): |
|
18504 (QWebView::dropEvent): |
|
18505 |
|
18506 2008-01-17 Simon Hausmann <hausmann@webkit.org> |
|
18507 |
|
18508 Reviewed by Lars. |
|
18509 |
|
18510 Fix compilation, removed obsolete privateBrowsingEnabled() method. |
|
18511 |
|
18512 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18513 |
|
18514 2008-01-16 Lars Knoll <lars@trolltech.com> |
|
18515 |
|
18516 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>. |
|
18517 |
|
18518 Removed a whole bunch of notImplemented() warnings. |
|
18519 |
|
18520 I don't want to hide the real warnings in lots of things that |
|
18521 I am by now pretty certain we won't need. |
|
18522 |
|
18523 |
|
18524 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18525 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm): |
|
18526 (WebCore::FrameLoaderClientQt::canShowMIMEType): |
|
18527 |
|
18528 2008-01-16 Simon Hausmann <hausmann@webkit.org> |
|
18529 |
|
18530 Reviewed by Holger. |
|
18531 |
|
18532 Fix crash when bringing up the context menu on maps.google.com. |
|
18533 |
|
18534 If the website provides its own context menu then we don't have a ContextMenu pointer. |
|
18535 |
|
18536 |
|
18537 * Api/qwebpage.cpp: |
|
18538 (QWebPagePrivate::contextMenuEvent): |
|
18539 |
|
18540 2008-01-16 Simon Hausmann <hausmann@webkit.org> |
|
18541 |
|
18542 Reviewed by Holger. |
|
18543 |
|
18544 Don't crash when receiving all sorts of events on a default constructed QWebView without a page. |
|
18545 |
|
18546 * Api/qwebview.cpp: |
|
18547 (QWebView::mouseMoveEvent): |
|
18548 (QWebView::mousePressEvent): |
|
18549 (QWebView::mouseDoubleClickEvent): |
|
18550 (QWebView::mouseReleaseEvent): |
|
18551 (QWebView::contextMenuEvent): |
|
18552 (QWebView::wheelEvent): |
|
18553 (QWebView::keyPressEvent): |
|
18554 (QWebView::keyReleaseEvent): |
|
18555 (QWebView::focusInEvent): |
|
18556 (QWebView::focusOutEvent): |
|
18557 (QWebView::dragEnterEvent): |
|
18558 (QWebView::dragLeaveEvent): |
|
18559 (QWebView::dragMoveEvent): |
|
18560 (QWebView::dropEvent): |
|
18561 (QWebView::focusNextPrevChild): |
|
18562 |
|
18563 2008-01-16 Simon Hausmann <hausmann@webkit.org> |
|
18564 |
|
18565 Reviewed by Lars. |
|
18566 |
|
18567 Made the url property read-write. |
|
18568 |
|
18569 * Api/qwebview.h: |
|
18570 |
|
18571 2008-01-16 Simon Hausmann <hausmann@webkit.org> |
|
18572 |
|
18573 Reviewed by Lars. |
|
18574 |
|
18575 Don't crash when showing a default initialized QWebView that has no page/frame yet. |
|
18576 |
|
18577 * Api/qwebview.cpp: |
|
18578 (QWebView::paintEvent): |
|
18579 |
|
18580 2008-01-16 Holger Freyther <holger.freyther@trolltech.com> |
|
18581 |
|
18582 Reviewed by Simon. |
|
18583 |
|
18584 Change hoveringOverLink implementation to have less issues. |
|
18585 |
|
18586 * Currently we only compare a pointer. In the worst case we |
|
18587 could delete the Element we have pointed to and a new one |
|
18588 gets the same address. But even if that doesn't happen the |
|
18589 WebCore::Element is mutable and JavaScript could change the |
|
18590 URL, Title or Content. So we have to compare all these three |
|
18591 attributes. |
|
18592 * This does not seem to be a performance impact. |
|
18593 |
|
18594 |
|
18595 * Api/qwebpage.cpp: |
|
18596 (QWebPagePrivate::mouseMoveEvent): |
|
18597 * Api/qwebpage_p.h: |
|
18598 |
|
18599 2008-01-16 Holger Freyther <holger.freyther@trolltech.com> |
|
18600 |
|
18601 Reviewed by Simon. |
|
18602 |
|
18603 * Move the hoverElement from QWebFrame to QWebPage. As it is |
|
18604 only used there. |
|
18605 |
|
18606 |
|
18607 * Api/qwebframe_p.h: |
|
18608 (QWebFramePrivate::QWebFramePrivate): |
|
18609 * Api/qwebpage.cpp: |
|
18610 (QWebPagePrivate::mouseMoveEvent): |
|
18611 * Api/qwebpage_p.h: |
|
18612 |
|
18613 2008-01-16 Holger Freyther <holger.freyther@trolltech.com> |
|
18614 |
|
18615 Reviewed by Simon. |
|
18616 |
|
18617 EventHandler changes/fixes in QWebPage: |
|
18618 -mouse{Press,Move,Release}Event: |
|
18619 Send the event always to the mainFrame of the QWebPage. |
|
18620 |
|
18621 -contextMenuEvent, key{Press,Release}Event: |
|
18622 Send the event to the focused frame. |
|
18623 |
|
18624 This is following the Windows port and fixes a issue with the |
|
18625 Web Inspector where we were sending the events to a wrong frame. |
|
18626 |
|
18627 It is guaranteed that the mainFrame will always have an eventHandler |
|
18628 and frameView set. There is no need to check for this in QWebPage. |
|
18629 |
|
18630 |
|
18631 * Api/qwebframe.cpp: |
|
18632 (QWebFramePrivate::init): |
|
18633 * Api/qwebframe_p.h: |
|
18634 (QWebFramePrivate::QWebFramePrivate): |
|
18635 * Api/qwebpage.cpp: |
|
18636 (QWebPagePrivate::updateEditorActions): |
|
18637 (QWebPagePrivate::mouseMoveEvent): |
|
18638 (QWebPagePrivate::mousePressEvent): |
|
18639 (QWebPagePrivate::mouseDoubleClickEvent): |
|
18640 (QWebPagePrivate::mouseReleaseEvent): |
|
18641 (QWebPagePrivate::contextMenuEvent): |
|
18642 (QWebPagePrivate::wheelEvent): |
|
18643 (QWebPagePrivate::keyPressEvent): |
|
18644 (QWebPagePrivate::keyReleaseEvent): |
|
18645 (QWebPagePrivate::focusInEvent): |
|
18646 * Api/qwebpage_p.h: |
|
18647 |
|
18648 2008-01-16 Holger Freyther <holger.freyther@trolltech.com> |
|
18649 |
|
18650 Reviewed by Simon. |
|
18651 |
|
18652 * Add core and kit functions to QWebFramePrivate to convert from |
|
18653 QWebFrame to WebCore::Frame and vice versa. |
|
18654 |
|
18655 |
|
18656 * Api/qwebframe.cpp: |
|
18657 (QWebFramePrivate::core): |
|
18658 (QWebFramePrivate::kit): |
|
18659 * Api/qwebframe.h: |
|
18660 * Api/qwebframe_p.h: |
|
18661 |
|
18662 2008-01-16 Lars Knoll <lars@trolltech.com> |
|
18663 |
|
18664 Reviewed by Simon. |
|
18665 |
|
18666 add conversion methods from and to QUrl to KURL. |
|
18667 |
|
18668 Use them in the places I found at the moment. Fixes a bug |
|
18669 where form data was encoded twice. |
|
18670 Also fix QWebSettings to take a QUrl for the user style sheet |
|
18671 location. |
|
18672 |
|
18673 |
|
18674 * Api/qwebframe.cpp: |
|
18675 (QWebFrame::load): |
|
18676 * Api/qwebpage.cpp: |
|
18677 (QWebPage::createPlugin): |
|
18678 (frameLoadRequest): |
|
18679 (QWebPage::triggerAction): |
|
18680 * Api/qwebsettings.cpp: |
|
18681 (QWebSettingsPrivate::apply): |
|
18682 * Api/qwebsettings.h: |
|
18683 * WebCoreSupport/ChromeClientQt.cpp: |
|
18684 (WebCore::ChromeClientQt::createWindow): |
|
18685 (WebCore::ChromeClientQt::show): |
|
18686 |
|
18687 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
18688 |
|
18689 Reviewed by Lars. |
|
18690 |
|
18691 * Make the InspectorClientView inherit from QWebView instead of QWidget. This |
|
18692 way paintEvent, mouse{Press,Release}Event and other events get forwarded to |
|
18693 the QWebPage/WebInspector automatically. |
|
18694 |
|
18695 |
|
18696 * WebCoreSupport/InspectorClientQt.cpp: |
|
18697 (WebCore::InspectorClientWebPage::createWindow): |
|
18698 (WebCore::InspectorClientView::InspectorClientView): |
|
18699 |
|
18700 2008-01-10 Maciej Stachowiak <mjs@apple.com> |
|
18701 |
|
18702 Reviewed by Sam. |
|
18703 |
|
18704 - remove SecurityOriginData and fold its functionality into SecurityOrigin |
|
18705 |
|
18706 * WebCoreSupport/ChromeClientQt.cpp: |
|
18707 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase): |
|
18708 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation): |
|
18709 * WebCoreSupport/ChromeClientQt.h: |
|
18710 |
|
18711 2008-01-10 Lars Knoll <lars@trolltech.com> |
|
18712 |
|
18713 Reviewed by Simon. |
|
18714 |
|
18715 document QWebHistory |
|
18716 |
|
18717 |
|
18718 * Api/qwebhistory.cpp: |
|
18719 (QWebHistoryItem::QWebHistoryItem): |
|
18720 (QWebHistoryItem::operator=): |
|
18721 (QWebHistoryItem::~QWebHistoryItem): |
|
18722 (QWebHistoryItem::originalUrl): |
|
18723 (QWebHistoryItem::currentUrl): |
|
18724 (QWebHistoryItem::title): |
|
18725 (QWebHistoryItem::icon): |
|
18726 (QWebHistory::canGoBack): |
|
18727 (QWebHistory::canGoForward): |
|
18728 (QWebHistory::goBack): |
|
18729 (QWebHistory::goForward): |
|
18730 (QWebHistory::goToItem): |
|
18731 * Api/qwebhistory.h: |
|
18732 |
|
18733 2008-01-10 Simon Hausmann <hausmann@webkit.org> |
|
18734 |
|
18735 Reviewed by Lars. |
|
18736 |
|
18737 Make the reset() functions not do anything on the default QWebSettings object. |
|
18738 |
|
18739 |
|
18740 * Api/qwebsettings.cpp: |
|
18741 (QWebSettings::resetFontSize): |
|
18742 (QWebSettings::resetFontFamily): |
|
18743 (QWebSettings::clearAttribute): |
|
18744 |
|
18745 2008-01-10 Lars Knoll <lars@trolltech.com> |
|
18746 |
|
18747 Reviewed by Simon. |
|
18748 |
|
18749 rename QWebPageHistory to QWebHistory. |
|
18750 |
|
18751 |
|
18752 * Api/qwebhistory.cpp: Added. |
|
18753 (QWebHistoryItem::QWebHistoryItem): |
|
18754 (QWebHistoryItem::operator=): |
|
18755 (QWebHistoryItem::~QWebHistoryItem): |
|
18756 (QWebHistoryItem::originalUrl): |
|
18757 (QWebHistoryItem::currentUrl): |
|
18758 (QWebHistoryItem::title): |
|
18759 (QWebHistoryItem::lastVisited): |
|
18760 (QWebHistoryItem::icon): |
|
18761 (QWebHistory::QWebHistory): |
|
18762 (QWebHistory::~QWebHistory): |
|
18763 (QWebHistory::clear): |
|
18764 (QWebHistory::items): |
|
18765 (QWebHistory::backItems): |
|
18766 (QWebHistory::forwardItems): |
|
18767 (QWebHistory::canGoBack): |
|
18768 (QWebHistory::canGoForward): |
|
18769 (QWebHistory::goBack): |
|
18770 (QWebHistory::goForward): |
|
18771 (QWebHistory::goToItem): |
|
18772 (QWebHistory::backItem): |
|
18773 (QWebHistory::currentItem): |
|
18774 (QWebHistory::forwardItem): |
|
18775 (QWebHistory::itemAtIndex): |
|
18776 * Api/qwebhistory.h: Added. |
|
18777 * Api/qwebhistory_p.h: Added. |
|
18778 (QWebHistoryItemPrivate::QWebHistoryItemPrivate): |
|
18779 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate): |
|
18780 (QWebHistoryPrivate::QWebHistoryPrivate): |
|
18781 (QWebHistoryPrivate::~QWebHistoryPrivate): |
|
18782 * Api/qwebpage.cpp: |
|
18783 (QWebPagePrivate::QWebPagePrivate): |
|
18784 * Api/qwebpage.h: |
|
18785 * Api/qwebpage_p.h: |
|
18786 * Api/qwebpagehistory.cpp: Removed. |
|
18787 * Api/qwebpagehistory.h: Removed. |
|
18788 * Api/qwebpagehistory_p.h: Removed. |
|
18789 * Api/qwebview.cpp: |
|
18790 * Api/qwebview.h: |
|
18791 |
|
18792 2008-01-10 Simon Hausmann <hausmann@webkit.org> |
|
18793 |
|
18794 Reviewed by Lars. |
|
18795 |
|
18796 Documentation for QWebSettings |
|
18797 |
|
18798 |
|
18799 * Api/qwebsettings.cpp: |
|
18800 (QWebSettings::~QWebSettings): |
|
18801 (QWebSettings::setFontSize): |
|
18802 (QWebSettings::resetFontSize): |
|
18803 (QWebSettings::setUserStyleSheetLocation): |
|
18804 (QWebSettings::userStyleSheetLocation): |
|
18805 (QWebSettings::iconDatabaseEnabled): |
|
18806 (QWebSettings::webGraphic): |
|
18807 (QWebSettings::setFontFamily): |
|
18808 (QWebSettings::resetFontFamily): |
|
18809 (QWebSettings::setAttribute): |
|
18810 |
|
18811 2008-01-10 Lars Knoll <lars@trolltech.com> |
|
18812 |
|
18813 Reviewed by Simon. |
|
18814 |
|
18815 Document QWebHistoryInterface. |
|
18816 |
|
18817 |
|
18818 * Api/qwebhistoryinterface.cpp: |
|
18819 (QWebHistoryInterface::defaultInterface): |
|
18820 (QWebHistoryInterface::~QWebHistoryInterface): |
|
18821 |
|
18822 2008-01-10 Lars Knoll <lars@trolltech.com> |
|
18823 |
|
18824 Reviewed by Simon. |
|
18825 |
|
18826 Documentation for QWebFrame. |
|
18827 |
|
18828 |
|
18829 * Api/qwebframe.cpp: |
|
18830 (QWebFrame::url): |
|
18831 (QWebFrame::name): |
|
18832 (QWebFrame::page): |
|
18833 (QWebFrame::setHtml): |
|
18834 (QWebFrame::parentFrame): |
|
18835 (QWebFrame::render): |
|
18836 (QWebFrame::pos): |
|
18837 (QWebFrame::geometry): |
|
18838 * Api/qwebframe.h: |
|
18839 * Api/qwebframe_p.h: |
|
18840 |
|
18841 2008-01-10 Lars Knoll <lars@trolltech.com> |
|
18842 |
|
18843 Reviewed by Simon. |
|
18844 |
|
18845 fix the drawing errors that where introduced due to refactoring. |
|
18846 |
|
18847 Correctly clip to the rectangle we want to draw in ScrollView::paint(). |
|
18848 |
|
18849 |
|
18850 * Api/qwebframe.cpp: |
|
18851 (QWebFrame::render): |
|
18852 * Api/qwebframe.h: |
|
18853 * Api/qwebview.cpp: |
|
18854 (QWebView::paintEvent): |
|
18855 * WebCoreSupport/ChromeClientQt.cpp: |
|
18856 (WebCore::ChromeClientQt::scrollBackingStore): |
|
18857 |
|
18858 2008-01-10 Simon Hausmann <hausmann@webkit.org> |
|
18859 |
|
18860 Reviewed by Lars. |
|
18861 |
|
18862 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView. |
|
18863 |
|
18864 |
|
18865 * Api/qwebpage.cpp: |
|
18866 (QWebPagePrivate::dropEvent): |
|
18867 (QWebPage::QWebPage): |
|
18868 (QWebPage::~QWebPage): |
|
18869 (QWebPage::mainFrame): |
|
18870 (QWebPage::currentFrame): |
|
18871 (QWebPage::history): |
|
18872 (QWebPage::setView): |
|
18873 (QWebPage::view): |
|
18874 (QWebPage::javaScriptConsoleMessage): |
|
18875 (QWebPage::javaScriptAlert): |
|
18876 (QWebPage::javaScriptConfirm): |
|
18877 (QWebPage::javaScriptPrompt): |
|
18878 (QWebPage::createWindow): |
|
18879 (QWebPage::createModalDialog): |
|
18880 (openNewWindow): |
|
18881 (QWebPage::triggerAction): |
|
18882 (QWebPage::viewportSize): |
|
18883 (QWebPage::navigationRequested): |
|
18884 (QWebPage::selectedText): |
|
18885 (QWebPage::isModified): |
|
18886 (QWebPage::focusNextPrevChild): |
|
18887 (QWebPage::settings): |
|
18888 (QWebPage::networkProxy): |
|
18889 (QWebPage::setNetworkAccessManager): |
|
18890 (QWebPage::networkAccessManager): |
|
18891 (QWebPagePrivate::_q_onLoadProgressChanged): |
|
18892 * Api/qwebview.cpp: |
|
18893 |
|
18894 2008-01-07 Holger Freyther <zecke@selfish.org> |
|
18895 |
|
18896 Reviewed by Alp Toker. |
|
18897 |
|
18898 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable |
|
18899 actions. |
|
18900 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed. |
|
18901 * Update the ContextMenuController to accept CheckableActionTypes as well. |
|
18902 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable |
|
18903 was extracted from ContextMenu::checkOrEnableIfNeeded. |
|
18904 * Update the Qt and Windows port. |
|
18905 |
|
18906 * Api/qwebpage.cpp: |
|
18907 (QWebPagePrivate::createContextMenu): |
|
18908 |
|
18909 2008-01-07 Simon Hausmann <hausmann@webkit.org> |
|
18910 |
|
18911 Build fix for the Windows build. MSVC wants to see the full |
|
18912 declaration of arguments even when just passing them through. |
|
18913 |
|
18914 * Api/qwebpage.cpp: |
|
18915 |
|
18916 2008-01-07 Simon Hausmann <hausmann@webkit.org> |
|
18917 |
|
18918 Reviewed by Lars. |
|
18919 |
|
18920 Added the missing parameters to make it possible to do POST operations from the public API. |
|
18921 |
|
18922 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the |
|
18923 two extra arguments were in QNetworkRequest :-/ |
|
18924 |
|
18925 |
|
18926 * Api/qwebframe.cpp: |
|
18927 (QWebFrame::load): |
|
18928 * Api/qwebframe.h: |
|
18929 * Api/qwebview.cpp: |
|
18930 (QWebView::load): |
|
18931 * Api/qwebview.h: |
|
18932 |
|
18933 2008-01-07 Simon Hausmann <hausmann@webkit.org> |
|
18934 |
|
18935 Reviewed by Lars. |
|
18936 |
|
18937 Ported of the network backend of the Qt platform to Qt 4.4's new networking API. |
|
18938 |
|
18939 |
|
18940 * Api/qwebframe.cpp: |
|
18941 (QWebFrame::load): |
|
18942 * Api/qwebframe.h: |
|
18943 * Api/qwebnetworkinterface.cpp: |
|
18944 * Api/qwebnetworkinterface.h: |
|
18945 * Api/qwebnetworkinterface_p.h: |
|
18946 * Api/qwebobjectplugin.cpp: |
|
18947 * Api/qwebobjectplugin.h: |
|
18948 * Api/qwebobjectplugin_p.h: |
|
18949 * Api/qwebobjectpluginconnector.cpp: |
|
18950 * Api/qwebobjectpluginconnector.h: |
|
18951 * Api/qwebpage.cpp: |
|
18952 (QWebPagePrivate::QWebPagePrivate): |
|
18953 (QWebPagePrivate::~QWebPagePrivate): |
|
18954 (QWebPagePrivate::navigationRequested): |
|
18955 (QWebPage::setNetworkInterface): |
|
18956 (QWebPage::networkInterface): |
|
18957 (QWebPage::setNetworkAccessManager): |
|
18958 (QWebPage::networkAccessManager): |
|
18959 * Api/qwebpage.h: |
|
18960 * Api/qwebpage_p.h: |
|
18961 * Api/qwebview.cpp: |
|
18962 * Api/qwebview.h: |
|
18963 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
18964 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
18965 (WebCore::FrameLoaderClientQt::objectContentType): |
|
18966 (WebCore::FrameLoaderClientQt::createPlugin): |
|
18967 |
|
18968 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
18969 |
|
18970 Reviewed by Simon. |
|
18971 |
|
18972 * Move the QWebPagePrivate methods up to the other private ones |
|
18973 |
|
18974 * Api/qwebpage.cpp: |
|
18975 (dropActionToDragOp): |
|
18976 (dragOpToDropAction): |
|
18977 (QWebPagePrivate::mouseMoveEvent): |
|
18978 (QWebPagePrivate::mousePressEvent): |
|
18979 (QWebPagePrivate::mouseDoubleClickEvent): |
|
18980 (QWebPagePrivate::mouseReleaseEvent): |
|
18981 (QWebPagePrivate::contextMenuEvent): |
|
18982 (QWebPagePrivate::wheelEvent): |
|
18983 (QWebPagePrivate::keyPressEvent): |
|
18984 (QWebPagePrivate::keyReleaseEvent): |
|
18985 (QWebPagePrivate::focusInEvent): |
|
18986 (QWebPagePrivate::focusOutEvent): |
|
18987 (QWebPagePrivate::dragEnterEvent): |
|
18988 (QWebPagePrivate::dragLeaveEvent): |
|
18989 (QWebPagePrivate::dragMoveEvent): |
|
18990 (QWebPagePrivate::dropEvent): |
|
18991 (QWebPage::focusNextPrevChild): |
|
18992 |
|
18993 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
18994 |
|
18995 Reviewed by Simon. |
|
18996 |
|
18997 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage. |
|
18998 |
|
18999 |
|
19000 * Api/qwebpage.cpp: |
|
19001 (dragOpToDropAction): |
|
19002 * Api/qwebview.cpp: |
|
19003 (QWebView::mouseMoveEvent): |
|
19004 (QWebView::mousePressEvent): |
|
19005 (QWebView::mouseDoubleClickEvent): |
|
19006 (QWebView::mouseReleaseEvent): |
|
19007 (QWebView::contextMenuEvent): |
|
19008 (QWebView::keyPressEvent): |
|
19009 (QWebView::keyReleaseEvent): |
|
19010 (QWebView::focusInEvent): |
|
19011 (QWebView::focusOutEvent): |
|
19012 (QWebView::dragEnterEvent): |
|
19013 (QWebView::dragLeaveEvent): |
|
19014 (QWebView::dragMoveEvent): |
|
19015 (QWebView::dropEvent): |
|
19016 |
|
19017 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19018 |
|
19019 Reviewed by Lars. |
|
19020 |
|
19021 * This layout is not needed anymore as Widget::invalidateRect will not |
|
19022 draw anymore. |
|
19023 |
|
19024 |
|
19025 * Api/qwebview.cpp: |
|
19026 (QWebView::paintEvent): |
|
19027 |
|
19028 2008-01-04 Lars Knoll <lars@trolltech.com> |
|
19029 |
|
19030 Reviewed by Simon. |
|
19031 |
|
19032 Remove most dependencies of Widget/ScrollView onto native QWidgets. |
|
19033 |
|
19034 This also brings the code closer in line with the Windows code. Seems |
|
19035 to work nicely on first try :) |
|
19036 |
|
19037 |
|
19038 * WebCoreSupport/ChromeClientQt.cpp: |
|
19039 (WebCore::ChromeClientQt::updateBackingStore): |
|
19040 (WebCore::ChromeClientQt::mouseDidMoveOverElement): |
|
19041 (WebCore::ChromeClientQt::setToolTip): |
|
19042 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19043 (WebCore::FrameLoaderClientQt::createPlugin): |
|
19044 |
|
19045 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19046 |
|
19047 Reviewed by Simon. |
|
19048 |
|
19049 * Remove the todo from QWebPage and move the code to QWebView. |
|
19050 |
|
19051 |
|
19052 * Api/qwebpage.cpp: |
|
19053 (QWebPagePrivate::wheelEvent): |
|
19054 (QWebPagePrivate::focusInEvent): |
|
19055 * Api/qwebview.cpp: |
|
19056 (QWebView::wheelEvent): |
|
19057 (QWebView::focusInEvent): |
|
19058 |
|
19059 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19060 |
|
19061 Reviewed by Simon. |
|
19062 |
|
19063 * Move the various event methods to QWebPagePrivate. This is similar to |
|
19064 QTextControl as well. |
|
19065 |
|
19066 |
|
19067 * Api/qwebpage.cpp: |
|
19068 (QWebPage::event): |
|
19069 (QWebPagePrivate::mouseMoveEvent): |
|
19070 (QWebPagePrivate::mousePressEvent): |
|
19071 (QWebPagePrivate::mouseDoubleClickEvent): |
|
19072 (QWebPagePrivate::mouseReleaseEvent): |
|
19073 (QWebPagePrivate::contextMenuEvent): |
|
19074 (QWebPagePrivate::wheelEvent): |
|
19075 (QWebPagePrivate::keyPressEvent): |
|
19076 (QWebPagePrivate::keyReleaseEvent): |
|
19077 (QWebPagePrivate::focusInEvent): |
|
19078 (QWebPagePrivate::focusOutEvent): |
|
19079 (QWebPage::focusNextPrevChild): |
|
19080 (QWebPagePrivate::dragEnterEvent): |
|
19081 (QWebPagePrivate::dragLeaveEvent): |
|
19082 (QWebPagePrivate::dragMoveEvent): |
|
19083 (QWebPagePrivate::dropEvent): |
|
19084 * Api/qwebpage.h: |
|
19085 * Api/qwebpage_p.h: |
|
19086 |
|
19087 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19088 |
|
19089 Reviewed by Simon. |
|
19090 |
|
19091 * Forward the event from QWebView to QWebPage through QObject::event. This |
|
19092 is similar to the way QTextControl is working. |
|
19093 |
|
19094 |
|
19095 * Api/qwebpage.cpp: |
|
19096 (dragOpToDropAction): |
|
19097 (QWebPage::event): |
|
19098 * Api/qwebpage.h: |
|
19099 * Api/qwebview.cpp: |
|
19100 (QWebView::mouseMoveEvent): |
|
19101 (QWebView::mousePressEvent): |
|
19102 (QWebView::mouseDoubleClickEvent): |
|
19103 (QWebView::mouseReleaseEvent): |
|
19104 (QWebView::contextMenuEvent): |
|
19105 (QWebView::wheelEvent): |
|
19106 (QWebView::keyPressEvent): |
|
19107 (QWebView::keyReleaseEvent): |
|
19108 (QWebView::focusInEvent): |
|
19109 (QWebView::focusOutEvent): |
|
19110 (QWebView::dragEnterEvent): |
|
19111 (QWebView::dragLeaveEvent): |
|
19112 (QWebView::dragMoveEvent): |
|
19113 (QWebView::dropEvent): |
|
19114 * Api/qwebview.h: |
|
19115 |
|
19116 2008-01-04 Lars Knoll <lars@trolltech.com> |
|
19117 |
|
19118 Reviewed by Simon. |
|
19119 |
|
19120 make QWebPage a QObject and get things to compile. |
|
19121 |
|
19122 Nothing works currently though. |
|
19123 |
|
19124 |
|
19125 * Api/qwebobjectpluginconnector.cpp: |
|
19126 * Api/qwebpage.cpp: |
|
19127 (QWebPagePrivate::QWebPagePrivate): |
|
19128 (QWebPagePrivate::createMainFrame): |
|
19129 (QWebPage::QWebPage): |
|
19130 (QWebPage::setView): |
|
19131 (QWebPage::view): |
|
19132 (QWebPage::javaScriptAlert): |
|
19133 (QWebPage::javaScriptPrompt): |
|
19134 (dragOpToDropAction): |
|
19135 (QWebPage::mousePressEvent): |
|
19136 (QWebPage::mouseDoubleClickEvent): |
|
19137 (QWebPage::mouseReleaseEvent): |
|
19138 (QWebPage::wheelEvent): |
|
19139 (QWebPage::keyPressEvent): |
|
19140 (QWebPage::focusInEvent): |
|
19141 * Api/qwebpage.h: |
|
19142 * Api/qwebpage_p.h: |
|
19143 * Api/qwebview.cpp: |
|
19144 (QWebView::QWebView): |
|
19145 (QWebView::setPage): |
|
19146 (QWebView::resizeEvent): |
|
19147 (QWebView::paintEvent): |
|
19148 * Api/qwebview.h: |
|
19149 * WebCoreSupport/ChromeClientQt.cpp: |
|
19150 (WebCore::ChromeClientQt::windowRect): |
|
19151 (WebCore::ChromeClientQt::pageRect): |
|
19152 (WebCore::ChromeClientQt::focus): |
|
19153 (WebCore::ChromeClientQt::unfocus): |
|
19154 (WebCore::ChromeClientQt::canTakeFocus): |
|
19155 (WebCore::ChromeClientQt::takeFocus): |
|
19156 (WebCore::ChromeClientQt::canRunModal): |
|
19157 (WebCore::ChromeClientQt::mouseDidMoveOverElement): |
|
19158 * WebCoreSupport/DragClientQt.cpp: |
|
19159 (WebCore::DragClientQt::startDrag): |
|
19160 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19161 (WebCore::FrameLoaderClientQt::createPlugin): |
|
19162 * WebCoreSupport/InspectorClientQt.cpp: |
|
19163 (WebCore::InspectorClientWebPage::createWindow): |
|
19164 (WebCore::InspectorClientView::InspectorClientView): |
|
19165 (WebCore::InspectorClientView::page): |
|
19166 (WebCore::InspectorClientView::hideEvent): |
|
19167 (WebCore::InspectorClientView::closeEvent): |
|
19168 (WebCore::InspectorClientQt::createPage): |
|
19169 (WebCore::InspectorClientQt::closeWindow): |
|
19170 |
|
19171 2008-01-04 Simon Hausmann <hausmann@webkit.org> |
|
19172 |
|
19173 Reviewed by Lars. |
|
19174 |
|
19175 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs |
|
19176 |
|
19177 |
|
19178 * Api/qwebview.cpp: |
|
19179 (QWebView::setHtml): |
|
19180 (QWebView::setContent): |
|
19181 (QWebView::history): |
|
19182 (QWebView::settings): |
|
19183 (QWebView::action): |
|
19184 (QWebView::triggerAction): |
|
19185 (QWebView::stop): |
|
19186 (QWebView::backward): |
|
19187 (QWebView::forward): |
|
19188 (QWebView::reload): |
|
19189 * Api/qwebview.h: |
|
19190 |
|
19191 2008-01-04 Lars Knoll <lars@trolltech.com> |
|
19192 |
|
19193 Reviewed by Simon. |
|
19194 |
|
19195 add a viewportSize to QWebPage. |
|
19196 |
|
19197 This is required to eventually make it a QObject only. |
|
19198 |
|
19199 |
|
19200 * Api/qwebpage.cpp: |
|
19201 (QWebPage::triggerAction): |
|
19202 (QWebPage::viewportSize): |
|
19203 (QWebPage::setViewportSize): |
|
19204 * Api/qwebpage.h: |
|
19205 |
|
19206 2008-01-04 Lars Knoll <lars@trolltech.com> |
|
19207 |
|
19208 Reviewed by Simon. |
|
19209 |
|
19210 take a QString as identifier in QWebFrame::addToJSWindowObject. |
|
19211 |
|
19212 * Api/qwebframe.cpp: |
|
19213 (QWebFrame::addToJSWindowObject): |
|
19214 * Api/qwebframe.h: |
|
19215 |
|
19216 2008-01-04 Simon Hausmann <hausmann@webkit.org> |
|
19217 |
|
19218 Reviewed by Lars. |
|
19219 |
|
19220 Call the frame arguments for the javascript callbacks "originatingFrame" |
|
19221 |
|
19222 |
|
19223 * Api/qwebpage.h: |
|
19224 |
|
19225 2008-01-04 Simon Hausmann <hausmann@webkit.org> |
|
19226 |
|
19227 Reviewed by Lars. |
|
19228 |
|
19229 Moved the QWebPage::addToHistory signal into QWebHistoryInterface |
|
19230 |
|
19231 |
|
19232 * Api/qwebhistoryinterface.h: |
|
19233 * Api/qwebpage.h: |
|
19234 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19235 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad): |
|
19236 |
|
19237 2008-01-04 Lars Knoll <lars@trolltech.com> |
|
19238 |
|
19239 Reviewed by Simon. |
|
19240 |
|
19241 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame |
|
19242 |
|
19243 * Api/qwebframe.cpp: |
|
19244 (QWebFrame::url): |
|
19245 (QWebFrame::icon): |
|
19246 (QWebFrame::setVerticalScrollBarPolicy): |
|
19247 * Api/qwebframe.h: |
|
19248 * Api/qwebpage.cpp: |
|
19249 (QWebPage::javaScriptAlert): |
|
19250 (QWebPage::javaScriptPrompt): |
|
19251 (QWebPage::networkInterface): |
|
19252 * Api/qwebpage.h: |
|
19253 * Api/qwebview.cpp: |
|
19254 (QWebView::title): |
|
19255 (QWebView::url): |
|
19256 (QWebView::icon): |
|
19257 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19258 |
|
19259 2008-01-03 Simon Hausmann <hausmann@webkit.org> |
|
19260 |
|
19261 Reviewed by Lars. |
|
19262 |
|
19263 Moved QWebPage::open to QWebFrame::load and added setHtml. |
|
19264 |
|
19265 |
|
19266 * Api/qwebframe.cpp: |
|
19267 (QWebFrame::load): |
|
19268 (QWebFrame::setHtml): |
|
19269 (QWebFrame::setContent): |
|
19270 * Api/qwebframe.h: |
|
19271 * Api/qwebpage.cpp: |
|
19272 * Api/qwebpage.h: |
|
19273 * Api/qwebview.cpp: |
|
19274 (QWebView::load): |
|
19275 (QWebView::setHtml): |
|
19276 * Api/qwebview.h: |
|
19277 * WebCoreSupport/ChromeClientQt.cpp: |
|
19278 (WebCore::ChromeClientQt::createWindow): |
|
19279 * WebCoreSupport/InspectorClientQt.cpp: |
|
19280 (WebCore::InspectorClientQt::createPage): |
|
19281 |
|
19282 2008-01-03 Simon Hausmann <hausmann@webkit.org> |
|
19283 |
|
19284 Reviewed by Lars. |
|
19285 |
|
19286 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame. |
|
19287 |
|
19288 |
|
19289 * Api/headers.pri: |
|
19290 * Api/qwebframe.h: |
|
19291 * Api/qwebpage.cpp: |
|
19292 (QWebPagePrivate::createMainFrame): |
|
19293 * Api/qwebpage.h: |
|
19294 * Api/qwebpagehistory.h: |
|
19295 * Api/qwebview.cpp: Added. |
|
19296 (QWebView::QWebView): |
|
19297 (QWebView::~QWebView): |
|
19298 (QWebView::page): |
|
19299 (QWebView::setPage): |
|
19300 (QWebView::load): |
|
19301 (QWebView::setHtml): |
|
19302 (QWebView::history): |
|
19303 (QWebView::settings): |
|
19304 (QWebView::title): |
|
19305 (QWebView::url): |
|
19306 (QWebView::icon): |
|
19307 (QWebView::selectedText): |
|
19308 (QWebView::action): |
|
19309 (QWebView::triggerAction): |
|
19310 (QWebView::isModified): |
|
19311 (QWebView::textInteractionFlags): |
|
19312 (QWebView::setTextInteractionFlags): |
|
19313 (QWebView::sizeHint): |
|
19314 (QWebView::stop): |
|
19315 (QWebView::backward): |
|
19316 (QWebView::forward): |
|
19317 (QWebView::reload): |
|
19318 * Api/qwebview.h: Added. |
|
19319 * QtLauncher/main.cpp: |
|
19320 (MainWindow::MainWindow): |
|
19321 (MainWindow::webPage): |
|
19322 (MainWindow::changeLocation): |
|
19323 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19324 (WebCore::FrameLoaderClientQt::setFrame): |
|
19325 * WebCoreSupport/FrameLoaderClientQt.h: |
|
19326 |
|
19327 2007-12-14 Darin Adler <darin@apple.com> |
|
19328 |
|
19329 Reviewed by Alexey. |
|
19330 |
|
19331 * Api/qwebpage.cpp: |
|
19332 (QWebPage::triggerAction): Removed some use of Editor member functions we plan |
|
19333 to eventually eliminate. Switch from Editor::execCommand to Editor::command. |
|
19334 * WebCoreSupport/EditorClientQt.cpp: |
|
19335 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from |
|
19336 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret |
|
19337 to MovePageDown. |
|
19338 |
|
19339 2007-12-12 Brady Eidson <beidson@apple.com> |
|
19340 |
|
19341 Reviewed by Sam Weinig |
|
19342 |
|
19343 As part of doing some CachedPage and client cleanup, keep Qt building |
|
19344 |
|
19345 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19346 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage): |
|
19347 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage): |
|
19348 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): |
|
19349 * WebCoreSupport/FrameLoaderClientQt.h: |
|
19350 |
|
19351 2007-12-12 Sam Weinig <sam@webkit.org> |
|
19352 |
|
19353 Build fix. |
|
19354 |
|
19355 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19356 (WebCore::FrameLoaderClientQt::userAgent): |
|
19357 |
|
19358 2007-12-12 Sam Weinig <sam@webkit.org> |
|
19359 |
|
19360 Build fix. |
|
19361 |
|
19362 * Api/qwebnetworkinterface.cpp: |
|
19363 (QWebNetworkRequestPrivate::init): |
|
19364 * Api/qwebpage.cpp: |
|
19365 (QWebPage::url): |
|
19366 (QWebPageContext::QWebPageContext): |
|
19367 * Api/qwebpagehistory.cpp: |
|
19368 (QWebHistoryItem::originalUrl): |
|
19369 (QWebHistoryItem::currentUrl): |
|
19370 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19371 (WebCore::FrameLoaderClientQt::cannotShowURLError): |
|
19372 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError): |
|
19373 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError): |
|
19374 (WebCore::FrameLoaderClientQt::fileDoesNotExistError): |
|
19375 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest): |
|
19376 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): |
|
19377 (WebCore::FrameLoaderClientQt::createPlugin): |
|
19378 |
|
19379 2007-12-07 Alexey Proskuryakov <ap@webkit.org> |
|
19380 |
|
19381 Reviewed by Darin Adler. |
|
19382 |
|
19383 <rdar://problem/5535636> |
|
19384 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard. |
|
19385 |
|
19386 http://bugs.webkit.org/show_bug.cgi?id=13916 |
|
19387 JavaScript detects Tab as a character input on a textfield validation |
|
19388 |
|
19389 * WebCoreSupport/EditorClientQt.cpp: |
|
19390 (WebCore::EditorClientQt::handleKeyboardEvent): |
|
19391 (WebCore::EditorClientQt::handleInputMethodKeydown): |
|
19392 * WebCoreSupport/EditorClientQt.h: |
|
19393 Updated for cross-platform changes as much as it was possible without a Qt build environment. |
|
19394 |
|
19395 2007-12-07 Darin Adler <darin@apple.com> |
|
19396 |
|
19397 - try to fix build |
|
19398 |
|
19399 * Api/qwebhistoryinterface.cpp: |
|
19400 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to |
|
19401 be updated, since WebCore changed, but this should not be here. |
|
19402 |
|
19403 2007-12-04 Darin Adler <darin@apple.com> |
|
19404 |
|
19405 Reviewed by Kevin Decker. |
|
19406 |
|
19407 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled. |
|
19408 * WebCoreSupport/FrameLoaderClientQt.h: Ditto. |
|
19409 |
|
19410 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19411 |
|
19412 Reviewed by Simon. |
|
19413 |
|
19414 * Implement the InspectorClient for the Qt port |
|
19415 * It does not support highlighting of nodes yet |
|
19416 * Use QRC to open the internal page. The important thing is the |
|
19417 '/' in the URL to make WebCore::Document::completeURL behave the |
|
19418 way we want. |
|
19419 * To make the InspectorClient work we will have to mark qrc as secure. |
|
19420 |
|
19421 * Api/qwebpage.cpp: |
|
19422 (QWebPagePrivate::QWebPagePrivate): |
|
19423 * Api/qwebpage.h: |
|
19424 * WebCoreSupport/InspectorClientQt.cpp: |
|
19425 (WebCore::InspectorClientWebPage::hideEvent): |
|
19426 (WebCore::InspectorClientQt::InspectorClientQt): |
|
19427 (WebCore::InspectorClientQt::inspectorDestroyed): |
|
19428 (WebCore::InspectorClientQt::createPage): |
|
19429 (WebCore::InspectorClientQt::localizedStringsURL): |
|
19430 (WebCore::InspectorClientQt::showWindow): |
|
19431 (WebCore::InspectorClientQt::closeWindow): |
|
19432 (WebCore::InspectorClientQt::attachWindow): |
|
19433 (WebCore::InspectorClientQt::detachWindow): |
|
19434 * WebCoreSupport/InspectorClientQt.h: |
|
19435 |
|
19436 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19437 |
|
19438 Rubber stamped by Mark. |
|
19439 |
|
19440 Always include config.h at the beginning of the file. |
|
19441 |
|
19442 * Api/qwebsettings.cpp: |
|
19443 |
|
19444 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19445 |
|
19446 Reviewed by Simon. |
|
19447 |
|
19448 * Avoid crashes by making sure everything is layouted before |
|
19449 we start painting. This avoids a crash in Widget::invalidateRect |
|
19450 because QPainter::begin would fail |
|
19451 * The QWebFrame::layout() methods and calls are left untouched because |
|
19452 this would be an API decision. |
|
19453 |
|
19454 |
|
19455 * Api/qwebframe.cpp: |
|
19456 (QWebFrame::layout): |
|
19457 * Api/qwebpage.cpp: |
|
19458 (QWebPage::paintEvent): |
|
19459 |
|
19460 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19461 |
|
19462 Reviewed by Simon. |
|
19463 |
|
19464 * SubClass QWebPage to handle hide and close events. |
|
19465 * Forward these events to the InspectorController |
|
19466 * The other options would have been using an eventFilter |
|
19467 on the webpage and making InspectorClient a QObject or |
|
19468 creating a QObject Observer. |
|
19469 * Provide a simple QWebPage* createWindow implementation. This is needed |
|
19470 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case |
|
19471 of the inspector client. |
|
19472 |
|
19473 |
|
19474 * WebCoreSupport/InspectorClientQt.cpp: |
|
19475 (WebCore::InspectorClientWebPage::InspectorClientWebPage): |
|
19476 (WebCore::InspectorClientWebPage::createWindow): |
|
19477 (WebCore::InspectorClientWebPage::hideEvent): |
|
19478 (WebCore::InspectorClientWebPage::closeEvent): |
|
19479 (WebCore::InspectorClientQt::createPage): |
|
19480 |
|
19481 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19482 |
|
19483 Reviewed by Simon. |
|
19484 |
|
19485 * Allow adding the Inspect ContextMenuItem to our Menu |
|
19486 * Open the Inspector when Inspect was activated. This requires |
|
19487 that we keep the innerNonSharedNode from the HitTest around. This |
|
19488 forces us to include <wtf/RefPtr.h> in the private header. It is |
|
19489 the first non Qt header but should be okay. |
|
19490 |
|
19491 |
|
19492 * Api/qwebpage.cpp: |
|
19493 (webActionForContextMenuAction): |
|
19494 (QWebPage::triggerAction): |
|
19495 (QWebPage::action): |
|
19496 (QWebPageContext::QWebPageContext): |
|
19497 * Api/qwebpage.h: |
|
19498 * Api/qwebpage_p.h: |
|
19499 |
|
19500 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19501 |
|
19502 Reviewed by Simon. |
|
19503 |
|
19504 * Add the Developer Extras to the WebAttribute and propagate it |
|
19505 to WebCore::Settings. This will enable the Inspect Element menu item |
|
19506 * CodingStyle fixes in QWebSettings |
|
19507 * Enable the Developer Extras in the QtLauncher |
|
19508 |
|
19509 |
|
19510 * Api/qwebsettings.cpp: |
|
19511 (QWebSettingsPrivate::apply): |
|
19512 * Api/qwebsettings.h: |
|
19513 * QtLauncher/main.cpp: |
|
19514 (main): |
|
19515 |
|
19516 2007-12-03 Geoffrey Garen <ggaren@apple.com> |
|
19517 |
|
19518 Removed unnecessary and possibly incorrect #include from my last |
|
19519 check-in. |
|
19520 |
|
19521 * Api/qwebframe.cpp: |
|
19522 |
|
19523 2007-12-03 Geoffrey Garen <ggaren@apple.com> |
|
19524 |
|
19525 Qt build fix: Get globalExec() from the right place. |
|
19526 |
|
19527 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19528 |
|
19529 Reviewed by Simon. |
|
19530 |
|
19531 * Self destruct the clients like the ohter ports do |
|
19532 |
|
19533 |
|
19534 * WebCoreSupport/ChromeClientQt.cpp: |
|
19535 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel): |
|
19536 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
19537 * WebCoreSupport/DragClientQt.cpp: |
|
19538 * WebCoreSupport/EditorClientQt.cpp: |
|
19539 * WebCoreSupport/InspectorClientQt.cpp: |
|
19540 |
|
19541 2007-11-29 Brady Eidson <beidson@apple.com> |
|
19542 |
|
19543 Keep it building with new client method |
|
19544 |
|
19545 * WebCoreSupport/ChromeClientQt.cpp: |
|
19546 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase): |
|
19547 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation): |
|
19548 * WebCoreSupport/ChromeClientQt.h: |
|
19549 |
|
19550 2007-11-22 Simon Hausmann <hausmann@webkit.org> |
|
19551 |
|
19552 Reviewed by Adam Treat. |
|
19553 |
|
19554 Fix compilation (don't define notImplemented twice) |
|
19555 |
|
19556 * Api/qwebnetworkinterface.cpp: |
|
19557 |
|
19558 2007-11-22 Simon Hausmann <hausmann@kde.org> |
|
19559 |
|
19560 Reviewed by George. |
|
19561 |
|
19562 Use Q_SIGNALS/Q_SLOTS in the public API |
|
19563 |
|
19564 * Api/qwebframe.h: |
|
19565 * Api/qwebpage.h: |
|
19566 |
|
19567 2007-11-22 Simon Hausmann <hausmann@kde.org> |
|
19568 |
|
19569 Reviewed by George. |
|
19570 |
|
19571 Fixed the signature of the QWebPage constructor to follow Qt guidelines. |
|
19572 |
|
19573 * Api/qwebpage.h: |
|
19574 |
|
19575 2007-11-22 Simon Hausmann <hausmann@kde.org> |
|
19576 |
|
19577 Reviewed by George. |
|
19578 |
|
19579 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present |
|
19580 |
|
19581 * Api/qcookiejar.h: |
|
19582 * Api/qwebframe.h: |
|
19583 * Api/qwebhistoryinterface.h: |
|
19584 * Api/qwebnetworkinterface.h: |
|
19585 * Api/qwebobjectplugin.h: |
|
19586 * Api/qwebobjectplugin_p.h: |
|
19587 * Api/qwebobjectpluginconnector.h: |
|
19588 * Api/qwebpage.h: |
|
19589 * Api/qwebpagehistory.h: |
|
19590 * Api/qwebsettings.h: |
|
19591 |
|
19592 2007-11-22 Simon Hausmann <hausmann@kde.org> |
|
19593 |
|
19594 Reviewed by George. |
|
19595 |
|
19596 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0. |
|
19597 |
|
19598 * Api/qwebpagehistory.h: |
|
19599 |
|
19600 2007-11-22 George Staikos <staikos@kde.org> |
|
19601 |
|
19602 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
19603 |
|
19604 Fix license headers |
|
19605 |
|
19606 |
|
19607 * Api/qwebobjectplugin.cpp: |
|
19608 * Api/qwebobjectplugin.h: |
|
19609 * Api/qwebobjectpluginconnector.cpp: |
|
19610 * Api/qwebobjectpluginconnector.h: |
|
19611 |
|
19612 2007-11-22 Simon Hausmann <hausmann@kde.org> |
|
19613 |
|
19614 Reviewed by George Staikos <staikos@kde.org>. |
|
19615 |
|
19616 Fix shadowing of "page" variable that is passed as argument as well as a member variable. |
|
19617 |
|
19618 This also fixes compilation with gcc 4.3. |
|
19619 |
|
19620 |
|
19621 * Api/qwebframe.cpp: |
|
19622 (QWebFramePrivate::init): |
|
19623 |
|
19624 2007-11-21 Adam Treat <adam.treat@torchmobile.com> |
|
19625 |
|
19626 Reviewed by Simon. |
|
19627 |
|
19628 * Connect up the signal for all subframes too. |
|
19629 |
|
19630 * Api/qwebframe.cpp: |
|
19631 (QWebFramePrivate::init): |
|
19632 * Api/qwebpage.cpp: |
|
19633 (QWebPagePrivate::createMainFrame): |
|
19634 |
|
19635 2007-11-20 Simon Hausmann <hausmann@kde.org> |
|
19636 |
|
19637 Reviewed by Adam Treat <adam.treat@torchmobile.com>. |
|
19638 |
|
19639 Remove static linkage of QtWebKit against the ICO image format plugin. |
|
19640 |
|
19641 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it. |
|
19642 |
|
19643 |
|
19644 * Plugins/Plugins.pro: |
|
19645 |
|
19646 2007-11-20 Simon Hausmann <hausmann@kde.org> |
|
19647 |
|
19648 Reviewed by George Staikos <staikos@kde.org>. |
|
19649 |
|
19650 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working |
|
19651 |
|
19652 |
|
19653 * Api/qwebpage.h: |
|
19654 |
|
19655 2007-11-20 George Staikos <staikos@kde.org> |
|
19656 |
|
19657 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
19658 |
|
19659 Add an argument to pass the link text in the hovering signal |
|
19660 |
|
19661 |
|
19662 * Api/qwebframe.h: |
|
19663 * Api/qwebpage.cpp: |
|
19664 (QWebPagePrivate::createMainFrame): |
|
19665 (QWebPage::mouseMoveEvent): |
|
19666 * Api/qwebpage.h: |
|
19667 |
|
19668 2007-11-20 Adam Treat <adam.treat@torchmobile.com> |
|
19669 |
|
19670 Reviewed by Simon and George. |
|
19671 |
|
19672 * Be quiet and allow suppression of NotImplemented calls at runtime. |
|
19673 |
|
19674 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19675 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme): |
|
19676 |
|
19677 2007-11-19 Adam Treat <adam.treat@torchmobile.com> |
|
19678 |
|
19679 Reviewed by Simon. |
|
19680 |
|
19681 * Don't segfault when event pos is outside of the widget. |
|
19682 |
|
19683 * Api/qwebpage.cpp: |
|
19684 (QWebPage::mouseMoveEvent): |
|
19685 (QWebPage::mousePressEvent): |
|
19686 (QWebPage::mouseDoubleClickEvent): |
|
19687 (QWebPage::mouseReleaseEvent): |
|
19688 (QWebPage::contextMenuEvent): |
|
19689 |
|
19690 2007-11-17 Timothy Hatcher <timothy@apple.com> |
|
19691 |
|
19692 Reviewed by Mark Rowe. |
|
19693 |
|
19694 Bug 13470: i18n: The Web Inspector is not localizable |
|
19695 http://bugs.webkit.org/show_bug.cgi?id=13470 |
|
19696 |
|
19697 * WebCoreSupport/InspectorClientQt.cpp: |
|
19698 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub. |
|
19699 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL. |
|
19700 |
|
19701 2007-11-13 Geoffrey Garen <ggaren@apple.com> |
|
19702 |
|
19703 Build fix: changed Shared to RefCounted. |
|
19704 |
|
19705 * WebCoreSupport/ChromeClientQt.h: |
|
19706 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
19707 * WebCoreSupport/ContextMenuClientQt.h: |
|
19708 * WebCoreSupport/EditorClientQt.h: |
|
19709 * WebCoreSupport/FrameLoaderClientQt.h: |
|
19710 |
|
19711 2007-11-10 Simon Hausmann <hausmann@kde.org> |
|
19712 |
|
19713 Reviewed by Nikolas. |
|
19714 |
|
19715 When populating the context menu with sub-menus don't add sub-menus if they're empty. |
|
19716 |
|
19717 |
|
19718 * Api/qwebpage.cpp: |
|
19719 (QWebPagePrivate::createContextMenu): |
|
19720 |
|
19721 2007-11-10 Simon Hausmann <hausmann@kde.org> |
|
19722 |
|
19723 Reviewed by Nikolas. |
|
19724 |
|
19725 Added support for the Bold/Italic/Underline toggle actions. |
|
19726 |
|
19727 |
|
19728 * Api/qwebpage.cpp: |
|
19729 (webActionForContextMenuAction): |
|
19730 (QWebPage::triggerAction): |
|
19731 (QWebPage::action): |
|
19732 * Api/qwebpage.h: |
|
19733 |
|
19734 2007-11-10 Simon Hausmann <hausmann@kde.org> |
|
19735 |
|
19736 Reviewed by Nikolas. |
|
19737 |
|
19738 Before adding an action to the context menu call checkOrEnableIfNeeded for each action |
|
19739 to update the enable/checked state correctly. |
|
19740 |
|
19741 |
|
19742 * Api/qwebpage.cpp: |
|
19743 (QWebPagePrivate::createContextMenu): |
|
19744 (QWebPage::contextMenuEvent): |
|
19745 * Api/qwebpage_p.h: |
|
19746 |
|
19747 2007-11-10 Simon Hausmann <hausmann@kde.org> |
|
19748 |
|
19749 Reviewed by Nikolas. |
|
19750 |
|
19751 Mark the text direction actions as checkable actions. |
|
19752 |
|
19753 |
|
19754 * Api/qwebpage.cpp: |
|
19755 (QWebPage::action): |
|
19756 |
|
19757 2007-11-09 Simon Hausmann <hausmann@kde.org> |
|
19758 |
|
19759 Reviewed by Holger. |
|
19760 |
|
19761 Implemented the webcore actions for changing the text direction. |
|
19762 |
|
19763 |
|
19764 * Api/qwebpage.cpp: |
|
19765 (webActionForContextMenuAction): |
|
19766 (QWebPage::triggerAction): |
|
19767 (QWebPage::action): |
|
19768 * Api/qwebpage.h: |
|
19769 |
|
19770 2007-11-09 Simon Hausmann <hausmann@kde.org> |
|
19771 |
|
19772 Reviewed by Holger. |
|
19773 |
|
19774 Fix ContextMenu allocation in the Qt port. |
|
19775 |
|
19776 Store all items and submenus value based in ContextMenu and ContextMenuItem. |
|
19777 That fixes the crashes when the context menu was populated with sub-menus because |
|
19778 of the use of temporary ContextMenu objects like this: |
|
19779 |
|
19780 ContextMenu subMenu(...); |
|
19781 subMenu.appendItem(...); |
|
19782 subMenu.appendItem(...); |
|
19783 |
|
19784 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents |
|
19785 |
|
19786 |
|
19787 * Api/qwebpage.cpp: |
|
19788 (QWebPage::contextMenuEvent): |
|
19789 * Api/qwebpage_p.h: |
|
19790 |
|
19791 2007-11-09 Simon Hausmann <hausmann@kde.org> |
|
19792 |
|
19793 Reviewed by Holger. |
|
19794 |
|
19795 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value. |
|
19796 |
|
19797 |
|
19798 * Api/qwebpage.h: |
|
19799 * Api/qwebpage_p.h: |
|
19800 |
|
19801 2007-11-08 Kevin McCullough <kmccullough@apple.com> |
|
19802 |
|
19803 Reviewed by Sam. |
|
19804 |
|
19805 - windowObjectCleared() is no longer const. It needs to setup the |
|
19806 script debugger and cannot be const to do so. |
|
19807 |
|
19808 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19809 (WebCore::FrameLoaderClientQt::windowObjectCleared): |
|
19810 * WebCoreSupport/FrameLoaderClientQt.h: |
|
19811 |
|
19812 2007-11-08 Simon Hausmann <hausmann@kde.org> |
|
19813 |
|
19814 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3. |
|
19815 |
|
19816 The buildbots use Qt 4.4 which has the function in question, but Qt |
|
19817 4.3 doesn't have it. Use removeAll() as replacement instead, it |
|
19818 shouldn't make a difference in performance. |
|
19819 |
|
19820 * Api/qwebsettings.cpp: |
|
19821 (QWebSettings::~QWebSettings): |
|
19822 |
|
19823 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19824 |
|
19825 Reviewed by Lars Knoll <lars@trolltech.com>. |
|
19826 |
|
19827 Cleanup checking for the request method. |
|
19828 |
|
19829 * Check the request method only in QWebNetworkManager::add. |
|
19830 * Currently HEAD, GET, POST are allowed and for everything else |
|
19831 QWebNetworkManager::add returns false. |
|
19832 * Returning false is compatible with ResourceHandle::start and it |
|
19833 can be used in ResourceHandle::loadResourceSynchronously to generate |
|
19834 a ResourceError |
|
19835 |
|
19836 |
|
19837 * Api/qwebnetworkinterface.cpp: |
|
19838 (QWebNetworkManager::add): |
|
19839 |
|
19840 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com> |
|
19841 |
|
19842 Reviewed by Lars Knoll <lars@trolltech.com>. |
|
19843 |
|
19844 Fix bug in the implementation of synchronous network jobs. |
|
19845 |
|
19846 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing) |
|
19847 - if (jobMode == AsynchronousJob) { |
|
19848 + if (jobMode == SynchronousJob) { |
|
19849 add job to synchronous list/hash |
|
19850 |
|
19851 * Just applying the above change will lead to crashes because we can finish |
|
19852 jobs before we started them. |
|
19853 |
|
19854 * Avoid these issues by saving all work (starting a job, sending data and |
|
19855 finishing it) inside one list. JobWork will contain any |
|
19856 of the above three work types and doWork will just work on this list |
|
19857 (m_pendingWork). As foreach takes a copy of the list calling started, data |
|
19858 and finished will not add new work and we gurantee that if we have JobStarted |
|
19859 it will be in the list before JobData and JobFinished. |
|
19860 |
|
19861 * Observation: We might just kill the code to handle sync jobs. |
|
19862 |
|
19863 |
|
19864 * Api/qwebnetworkinterface.cpp: |
|
19865 (QWebNetworkManager::add): |
|
19866 (QWebNetworkManager::queueStart): |
|
19867 (QWebNetworkManager::queueData): |
|
19868 (QWebNetworkManager::queueFinished): |
|
19869 (QWebNetworkManager::doWork): |
|
19870 * Api/qwebnetworkinterface_p.h: |
|
19871 (QWebNetworkManager::JobWork::): |
|
19872 (QWebNetworkManager::JobWork::JobWork): |
|
19873 |
|
19874 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19875 |
|
19876 Fix the Qt build by setting up WindowFeatures before calling |
|
19877 createWindow on the Chrome. This is similar to openNewWindow in |
|
19878 page/ContextMenuController.cpp |
|
19879 |
|
19880 * Api/qwebpage.cpp: |
|
19881 (openNewWindow): |
|
19882 |
|
19883 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19884 |
|
19885 Reviewed by Lars. |
|
19886 |
|
19887 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree. |
|
19888 |
|
19889 * Api/qwebpage.cpp: |
|
19890 (QWebPagePrivate::QWebPagePrivate): |
|
19891 * Api/qwebsettings.cpp: |
|
19892 (QWebSettingsPrivate::apply): |
|
19893 * Api/qwebsettings.h: |
|
19894 |
|
19895 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19896 |
|
19897 Reviewed by Lars. |
|
19898 |
|
19899 Changed QWebPageHistory::goToItem to take a value instead of a pointer. |
|
19900 |
|
19901 * Api/qwebpagehistory.cpp: |
|
19902 * Api/qwebpagehistory.h: |
|
19903 |
|
19904 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19905 |
|
19906 Reviewed by Lars. |
|
19907 |
|
19908 Removed unimplemented QWebHistoryItem::children() function |
|
19909 |
|
19910 * Api/qwebpagehistory.h: |
|
19911 |
|
19912 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19913 |
|
19914 Reviewed by Lars. |
|
19915 |
|
19916 Changed the getter functions in QWebSettings to transparently resolve against the default settings. |
|
19917 |
|
19918 * Api/qwebsettings.cpp: |
|
19919 (QWebSettings::fontSize): |
|
19920 (QWebSettings::fontFamily): |
|
19921 (QWebSettings::testAttribute): |
|
19922 |
|
19923 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19924 |
|
19925 Reviewed by Lars. |
|
19926 |
|
19927 Added explicit functions for resetting the font sizes and font families. |
|
19928 |
|
19929 * Api/qwebsettings.cpp: |
|
19930 (QWebSettings::resetFontSize): |
|
19931 (QWebSettings::resetFontFamily): |
|
19932 * Api/qwebsettings.h: |
|
19933 |
|
19934 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19935 |
|
19936 Reviewed by Lars. |
|
19937 |
|
19938 Combined the font sizes accessors/setters under one setter/getter with an enum. |
|
19939 |
|
19940 * Api/qwebsettings.cpp: |
|
19941 (QWebSettingsPrivate::QWebSettingsPrivate): |
|
19942 (QWebSettingsPrivate::apply): |
|
19943 (QWebSettings::QWebSettings): |
|
19944 (QWebSettings::setFontSize): |
|
19945 * Api/qwebsettings.h: |
|
19946 |
|
19947 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19948 |
|
19949 Reviewed by Lars. |
|
19950 |
|
19951 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url); |
|
19952 |
|
19953 * Api/qwebpage.cpp: |
|
19954 * Api/qwebpage.h: |
|
19955 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
19956 (WebCore::FrameLoaderClientQt::userAgent): |
|
19957 |
|
19958 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19959 |
|
19960 Reviewed by Lars. |
|
19961 |
|
19962 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction |
|
19963 |
|
19964 * Api/qwebpage.cpp: |
|
19965 (QWebPagePrivate::_q_webActionTriggered): |
|
19966 (QWebPage::keyPressEvent): |
|
19967 * Api/qwebpage.h: |
|
19968 |
|
19969 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19970 |
|
19971 Reviewed by Lars. |
|
19972 |
|
19973 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead. |
|
19974 |
|
19975 * Api/qwebpage.cpp: |
|
19976 * Api/qwebpage.h: |
|
19977 * WebCoreSupport/ChromeClientQt.cpp: |
|
19978 (WebCore::ChromeClientQt::setWindowRect): |
|
19979 |
|
19980 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19981 |
|
19982 Reviewed by Lars. |
|
19983 |
|
19984 Renamed QWebPage::webAction() to QWebPage::action() |
|
19985 |
|
19986 * Api/qwebpage.cpp: |
|
19987 (QWebPagePrivate::createContextMenu): |
|
19988 * Api/qwebpage.h: |
|
19989 * QtLauncher/main.cpp: |
|
19990 (MainWindow::MainWindow): |
|
19991 |
|
19992 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
19993 |
|
19994 Reviewed by Lars. |
|
19995 |
|
19996 Removed a bunch of slots/functions that are now available through the new actions API. |
|
19997 |
|
19998 * Api/qwebpage.cpp: |
|
19999 * Api/qwebpage.h: |
|
20000 |
|
20001 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20002 |
|
20003 Reviewed by Lars. |
|
20004 |
|
20005 Added some more comments to the API after another round of API review with Lars. |
|
20006 |
|
20007 * Api/qwebpage.h: |
|
20008 |
|
20009 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20010 |
|
20011 Reviewed by Lars. |
|
20012 |
|
20013 Moved QWebFrame::selectedText() to QWebPage::selectedText(). |
|
20014 |
|
20015 The currently selected text is a property of the page as a whole. |
|
20016 |
|
20017 * Api/qwebframe.cpp: |
|
20018 * Api/qwebframe.h: |
|
20019 * Api/qwebpage.cpp: |
|
20020 (QWebPage::selectedText): |
|
20021 * Api/qwebpage.h: |
|
20022 |
|
20023 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20024 |
|
20025 Reviewed by Lars. |
|
20026 |
|
20027 Implemented support for settings propagation. |
|
20028 |
|
20029 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings. |
|
20030 |
|
20031 * Api/qwebsettings.cpp: |
|
20032 (QWebSettingsPrivate::QWebSettingsPrivate): |
|
20033 (QWebSettingsPrivate::apply): |
|
20034 (QWebSettings::QWebSettings): |
|
20035 (QWebSettings::~QWebSettings): |
|
20036 (QWebSettings::setFontFamily): |
|
20037 * Api/qwebsettings.h: |
|
20038 |
|
20039 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20040 |
|
20041 Reviewed by Lars. |
|
20042 |
|
20043 Reworked the QWebSettings API. |
|
20044 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings(). |
|
20045 |
|
20046 * Api/qwebpage.cpp: |
|
20047 (QWebPagePrivate::QWebPagePrivate): |
|
20048 (QWebPagePrivate::~QWebPagePrivate): |
|
20049 (QWebPage::QWebPage): |
|
20050 * Api/qwebpage.h: |
|
20051 * Api/qwebpage_p.h: |
|
20052 * Api/qwebsettings.cpp: |
|
20053 (QWebSettingsPrivate::QWebSettingsPrivate): |
|
20054 (QWebSettingsPrivate::apply): |
|
20055 (QWebSettings::defaultSettings): |
|
20056 (QWebSettings::QWebSettings): |
|
20057 (QWebSettings::setMinimumFontSize): |
|
20058 (QWebSettings::setMinimumLogicalFontSize): |
|
20059 (QWebSettings::setDefaultFontSize): |
|
20060 (QWebSettings::setDefaultFixedFontSize): |
|
20061 (QWebSettings::setUserStyleSheetLocation): |
|
20062 (QWebSettings::setFontFamily): |
|
20063 (QWebSettings::fontFamily): |
|
20064 (QWebSettings::setAttribute): |
|
20065 * Api/qwebsettings.h: |
|
20066 * QtLauncher/main.cpp: |
|
20067 (main): |
|
20068 |
|
20069 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20070 |
|
20071 Reviewed by Lars. |
|
20072 |
|
20073 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway. |
|
20074 |
|
20075 * Api/qwebsettings.cpp: |
|
20076 (QWebSettings::setWebGraphic): |
|
20077 * Api/qwebsettings.h: |
|
20078 |
|
20079 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20080 |
|
20081 Reviewed by Lars. |
|
20082 |
|
20083 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static. |
|
20084 |
|
20085 * Api/qwebsettings.cpp: |
|
20086 |
|
20087 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20088 |
|
20089 Reviewed by Lars. |
|
20090 |
|
20091 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object. |
|
20092 |
|
20093 * Api/qwebsettings.cpp: |
|
20094 * Api/qwebsettings.h: |
|
20095 |
|
20096 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20097 |
|
20098 Reviewed by Lars. |
|
20099 |
|
20100 Changed the webAction() accessor to not be a slot but just a public function. |
|
20101 |
|
20102 * Api/qwebpage.h: |
|
20103 |
|
20104 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20105 |
|
20106 Reviewed by Lars. |
|
20107 |
|
20108 Implemented createWindow() in QtLauncher. |
|
20109 |
|
20110 * QtLauncher/main.cpp: |
|
20111 (WebPage::WebPage): |
|
20112 (MainWindow::MainWindow): |
|
20113 (WebPage::createWindow): |
|
20114 |
|
20115 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20116 |
|
20117 Reviewed by Lars. |
|
20118 |
|
20119 Implemented opening links in new windows |
|
20120 |
|
20121 * Api/qwebpage.cpp: |
|
20122 (frameLoadRequest): |
|
20123 (openNewWindow): |
|
20124 (QWebPage::webActionTriggered): |
|
20125 |
|
20126 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20127 |
|
20128 Reviewed by Lars. |
|
20129 |
|
20130 Added and implemented the "OpenLink" action. |
|
20131 |
|
20132 * Api/qwebpage.cpp: |
|
20133 (webActionForContextMenuAction): |
|
20134 (QWebPage::webActionTriggered): |
|
20135 (QWebPage::webAction): |
|
20136 * Api/qwebpage.h: |
|
20137 |
|
20138 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20139 |
|
20140 Reviewed by Lars. |
|
20141 |
|
20142 Adjust the state of the reload action correctly. |
|
20143 |
|
20144 * Api/qwebpage.cpp: |
|
20145 (QWebPagePrivate::updateAction): |
|
20146 (QWebPagePrivate::updateNavigationActions): |
|
20147 |
|
20148 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20149 |
|
20150 Reviewed by Lars. |
|
20151 |
|
20152 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger. |
|
20153 |
|
20154 * Api/qwebpage.cpp: |
|
20155 (QWebPagePrivate::updateAction): |
|
20156 (QWebPage::webAction): |
|
20157 (QWebPage::undoStack): |
|
20158 * Api/qwebpage.h: |
|
20159 |
|
20160 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20161 |
|
20162 Reviewed by Lars. |
|
20163 |
|
20164 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar. |
|
20165 |
|
20166 * QtLauncher/main.cpp: |
|
20167 (MainWindow::MainWindow): |
|
20168 |
|
20169 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20170 |
|
20171 Reviewed by Lars. |
|
20172 |
|
20173 Update the editor actions when the selection changes. |
|
20174 |
|
20175 * Api/qwebpage.cpp: |
|
20176 (QWebPagePrivate::updateAction): |
|
20177 (QWebPagePrivate::updateEditorActions): |
|
20178 * Api/qwebpage_p.h: |
|
20179 * WebCoreSupport/EditorClientQt.cpp: |
|
20180 (WebCore::EditorClientQt::respondToChangedSelection): |
|
20181 |
|
20182 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20183 |
|
20184 Reviewed by Lars. |
|
20185 |
|
20186 Added cut/copy/paste actions to the toolbar of QtLauncher |
|
20187 |
|
20188 * QtLauncher/main.cpp: |
|
20189 (MainWindow::MainWindow): |
|
20190 |
|
20191 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20192 |
|
20193 Reviewed by Lars. |
|
20194 |
|
20195 Started working on keeping the state of the navigation actions up-to-date. |
|
20196 |
|
20197 * Api/qwebpage.cpp: |
|
20198 (QWebPagePrivate::updateAction): |
|
20199 (QWebPagePrivate::updateNavigationActions): |
|
20200 (QWebPage::webAction): |
|
20201 * Api/qwebpage_p.h: |
|
20202 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
20203 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad): |
|
20204 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad): |
|
20205 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): |
|
20206 (WebCore::FrameLoaderClientQt::postProgressStartedNotification): |
|
20207 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation): |
|
20208 |
|
20209 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20210 |
|
20211 Reviewed by Lars. |
|
20212 |
|
20213 Use the navigational web actions in the toolbar |
|
20214 |
|
20215 * QtLauncher/main.cpp: |
|
20216 (MainWindow::MainWindow): |
|
20217 |
|
20218 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20219 |
|
20220 Reviewed by Lars. |
|
20221 |
|
20222 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction. |
|
20223 Added QWebPageContext to hold context sensitive information (for example used by the context menu). |
|
20224 |
|
20225 * Api/qwebpage.cpp: |
|
20226 (QWebPagePrivate::QWebPagePrivate): |
|
20227 (webActionForContextMenuAction): |
|
20228 (QWebPagePrivate::createContextMenu): |
|
20229 (QWebPagePrivate::_q_webActionTriggered): |
|
20230 (QWebPage::webActionTriggered): |
|
20231 (QWebPage::webAction): |
|
20232 (QWebPage::contextMenuEvent): |
|
20233 (QWebPageContext::QWebPageContext): |
|
20234 (QWebPageContext::operator=): |
|
20235 (QWebPageContext::~QWebPageContext): |
|
20236 (QWebPageContext::pos): |
|
20237 (QWebPageContext::text): |
|
20238 (QWebPageContext::linkUrl): |
|
20239 (QWebPageContext::imageUrl): |
|
20240 (QWebPageContext::image): |
|
20241 (QWebPageContext::targetFrame): |
|
20242 * Api/qwebpage.h: |
|
20243 * Api/qwebpage_p.h: |
|
20244 |
|
20245 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20246 |
|
20247 Reviewed by Lars. |
|
20248 |
|
20249 Moved the editing actions implemented in keyPressEvent into webActionTriggered. |
|
20250 |
|
20251 * Api/qwebpage.cpp: |
|
20252 (QWebPage::webActionTriggered): |
|
20253 (QWebPage::keyPressEvent): |
|
20254 * Api/qwebpage.h: |
|
20255 |
|
20256 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20257 |
|
20258 Reviewed by Lars. |
|
20259 |
|
20260 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various |
|
20261 convenience methods such as cut()/copy()/paste(). |
|
20262 |
|
20263 * Api/qwebpage.cpp: |
|
20264 (QWebPage::goBack): |
|
20265 (QWebPage::webActionTriggered): |
|
20266 (QWebPage::cut): |
|
20267 (QWebPage::copy): |
|
20268 * Api/qwebpage.h: |
|
20269 |
|
20270 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20271 |
|
20272 Reviewed by Lars. |
|
20273 |
|
20274 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store |
|
20275 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created |
|
20276 in ContextMenu::populate(). |
|
20277 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu |
|
20278 out of it. That menu is currently not functional anymore though. |
|
20279 |
|
20280 * Api/qwebpage.cpp: |
|
20281 (QWebPagePrivate::createContextMenu): |
|
20282 (QWebPage::contextMenuEvent): |
|
20283 * Api/qwebpage_p.h: |
|
20284 |
|
20285 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20286 |
|
20287 Reviewed by Lars. |
|
20288 |
|
20289 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away |
|
20290 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu). |
|
20291 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec() |
|
20292 on it. |
|
20293 |
|
20294 * Api/qwebpage.cpp: |
|
20295 (QWebPage::contextMenuEvent): |
|
20296 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
20297 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems): |
|
20298 |
|
20299 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20300 |
|
20301 Reviewed by Lars. |
|
20302 |
|
20303 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent. |
|
20304 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent. |
|
20305 |
|
20306 * Api/qwebpage.cpp: |
|
20307 (QWebPage::mousePressEvent): |
|
20308 (QWebPage::contextMenuEvent): |
|
20309 * Api/qwebpage.h: |
|
20310 |
|
20311 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20312 |
|
20313 Reviewed by Lars. |
|
20314 |
|
20315 Turned onLoadProgressChanged into a real private slot. |
|
20316 |
|
20317 * Api/qwebpage.cpp: |
|
20318 (QWebPage::QWebPage): |
|
20319 * Api/qwebpage.h: |
|
20320 * Api/qwebpage_p.h: |
|
20321 |
|
20322 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20323 |
|
20324 Reviewed by Lars. |
|
20325 |
|
20326 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history(). |
|
20327 |
|
20328 * Api/qwebpage.cpp: |
|
20329 (QWebPagePrivate::QWebPagePrivate): |
|
20330 * Api/qwebpage.h: |
|
20331 * Api/qwebpage_p.h: |
|
20332 * Api/qwebpagehistory.cpp: |
|
20333 (QWebPageHistory::QWebPageHistory): |
|
20334 * Api/qwebpagehistory.h: |
|
20335 |
|
20336 2007-11-07 Lars Knoll <lars@trolltech.com> |
|
20337 |
|
20338 Reviewed by Simon. |
|
20339 |
|
20340 comments on API changes that we'd like to do. |
|
20341 |
|
20342 * Api/qwebpage.h: |
|
20343 |
|
20344 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20345 |
|
20346 Reviewed by Lars Knoll <lars@trolltech.com>. |
|
20347 |
|
20348 Add a QWebPage::frameCreated() signal and fix DRT |
|
20349 |
|
20350 The removal of createFrame in QWebPage broke the re-implementation |
|
20351 in DumpRenderTree. Instead emit a frameCreated() signal and |
|
20352 connect to it in DumpRenderTree. |
|
20353 |
|
20354 |
|
20355 * Api/qwebpage.cpp: |
|
20356 (QWebPagePrivate::createMainFrame): |
|
20357 * Api/qwebpage.h: |
|
20358 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
20359 (WebCore::FrameLoaderClientQt::createFrame): |
|
20360 |
|
20361 2007-11-07 Lars Knoll <lars@trolltech.com> |
|
20362 |
|
20363 Reviewed by Simon. |
|
20364 |
|
20365 Remove QWebPage::createFrame() |
|
20366 |
|
20367 now that QWebFrame doesn't have virtual methods anymore, there |
|
20368 is no need for a createFrame() factory method in QWebpage. |
|
20369 |
|
20370 * Api/qwebpage.cpp: |
|
20371 (QWebPagePrivate::createMainFrame): |
|
20372 * Api/qwebpage.h: |
|
20373 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
20374 (WebCore::FrameLoaderClientQt::createFrame): |
|
20375 |
|
20376 2007-11-07 Simon Hausmann <hausmann@kde.org> |
|
20377 |
|
20378 Reviewed by Lars Knoll <lars@trolltech.com>. |
|
20379 |
|
20380 Moved all the event handlers from QWebFrame into QWebPage. |
|
20381 |
|
20382 This cleans up the public API and allows us to remove the |
|
20383 HackWebFrame hack in DumpRenderTree. |
|
20384 |
|
20385 |
|
20386 * Api/qwebframe.cpp: |
|
20387 (QWebFrame::pos): |
|
20388 * Api/qwebframe.h: |
|
20389 * Api/qwebframe_p.h: |
|
20390 * Api/qwebpage.cpp: |
|
20391 (QWebPagePrivate::frameAt): |
|
20392 (QWebPage::mouseMoveEvent): |
|
20393 (QWebPage::mousePressEvent): |
|
20394 (QWebPage::mouseDoubleClickEvent): |
|
20395 (QWebPage::mouseReleaseEvent): |
|
20396 (QWebPage::wheelEvent): |
|
20397 * Api/qwebpage_p.h: |
|
20398 |
|
20399 2007-11-07 Holger Freyther <holger.freyther@trolltech.com> |
|
20400 |
|
20401 Reviewed by Lars Knoll <lars@trolltech.com>. |
|
20402 |
|
20403 Use correct UserAgent string. |
|
20404 |
|
20405 * Only have one User Agent String and this place is QWebPage |
|
20406 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open -> |
|
20407 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest |
|
20408 * ResourceRequest is != 0 when getting called from WebCore, we |
|
20409 will only do requests when coming from WebCore and then we can |
|
20410 use the User-Agent set with the help of the FrameLoaderClient |
|
20411 * We might want to change QWebNetworkRequest a bit |
|
20412 |
|
20413 |
|
20414 * Api/qwebnetworkinterface.cpp: |
|
20415 (QWebNetworkRequestPrivate::init): |
|
20416 |
|
20417 2007-11-07 Lars Knoll <lars@trolltech.com> |
|
20418 |
|
20419 Reviewed by Simon. |
|
20420 |
|
20421 remove two notImplemented() warnings, as I believe we don't |
|
20422 have to implement these methods. Add some (commented out) |
|
20423 debug code in one place. |
|
20424 |
|
20425 * WebCoreSupport/EditorClientQt.cpp: |
|
20426 (WebCore::EditorClientQt::respondToChangedSelection): |
|
20427 (WebCore::EditorClientQt::didWriteSelectionToPasteboard): |
|
20428 |
|
20429 2007-11-05 Tristan O'Tierney <tristan@apple.com> |
|
20430 |
|
20431 Reviewed by Darin Adler. |
|
20432 |
|
20433 * WebCoreSupport/ChromeClientQt.cpp: |
|
20434 (WebCore::ChromeClientQt::createWindow): |
|
20435 * WebCoreSupport/ChromeClientQt.h: |
|
20436 Revised to use new WebCore ChromeClient createWindow API. |
|
20437 |
|
20438 2007-10-31 Lars Knoll <lars@trolltech.com> |
|
20439 |
|
20440 Reviewed by Simon. |
|
20441 |
|
20442 fix most of the issues I found with Clipboard and DnD. |
|
20443 |
|
20444 * Api/qwebpage.cpp: |
|
20445 (QWebPage::dragLeaveEvent): |
|
20446 |
|
20447 2007-10-31 Lars Knoll <lars@trolltech.com> |
|
20448 |
|
20449 Reviewed by Simon. |
|
20450 |
|
20451 QDrag objects need to be created on the heap. |
|
20452 |
|
20453 * WebCoreSupport/DragClientQt.cpp: |
|
20454 (WebCore::DragClientQt::startDrag): |
|
20455 |
|
20456 2007-10-31 Lars Knoll <lars@trolltech.com> |
|
20457 |
|
20458 Reviewed by Simon. |
|
20459 |
|
20460 a dragLeave event is not the same as cancelling a drag. |
|
20461 |
|
20462 * Api/qwebpage.cpp: |
|
20463 |
|
20464 2007-10-26 Mark Rowe <mrowe@apple.com> |
|
20465 |
|
20466 Build fix. Add missing #include of Platform.h. |
|
20467 |
|
20468 * Api/qwebhistoryinterface.cpp: |
|
20469 |
|
20470 2007-10-25 Holger Freyther <zecke@selfish.org> |
|
20471 |
|
20472 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
20473 |
|
20474 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html |
|
20475 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid. |
|
20476 * This is causing some regressions... |
|
20477 |
|
20478 |
|
20479 * Api/qwebnetworkinterface.cpp: |
|
20480 (QWebNetworkManager::started): |
|
20481 (QWebNetworkInterface::addJob): |
|
20482 |
|
20483 2007-10-25 Holger Freyther <zecke@selfish.org> |
|
20484 |
|
20485 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
20486 |
|
20487 * Make fast/loader/xmlhttprequest-bad-mimetype.html pass. We use QHttp to download local files but we may not set the HTTP result code on the ResourceResponse. |
|
20488 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files. |
|
20489 |
|
20490 |
|
20491 * Api/qwebnetworkinterface.cpp: |
|
20492 (QWebNetworkManager::started): |
|
20493 |
|
20494 2007-10-25 Holger Freyther <zecke@selfish.org> |
|
20495 |
|
20496 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
20497 |
|
20498 * fast/dom/onerror-img.html regressed due checking the JobStates because in case of error (e.g. not being able to connect) the job will no be started. |
|
20499 * Use the error message from Qt. It might or might not be translated. |
|
20500 |
|
20501 |
|
20502 * Api/qwebnetworkinterface.cpp: |
|
20503 (QWebNetworkJob::errorString): |
|
20504 (QWebNetworkJob::setErrorString): |
|
20505 (QWebNetworkManager::finished): |
|
20506 (QWebNetworkManager::doWork): |
|
20507 (WebCoreHttp::onRequestFinished): |
|
20508 * Api/qwebnetworkinterface.h: |
|
20509 * Api/qwebnetworkinterface_p.h: |
|
20510 |
|
20511 2007-10-25 Holger Freyther <zecke@selfish.org> |
|
20512 |
|
20513 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
20514 |
|
20515 * Use the JobStatus to make sure to not deliver finished/data before the job has started. This is the case with the fast/dom/onerror-img.html test case. |
|
20516 * We have no idea if any data will come so we can still finish and then get pending data. This luckily can't happen for the local file case. |
|
20517 |
|
20518 |
|
20519 * Api/qwebnetworkinterface.cpp: |
|
20520 (QWebNetworkManager::doWork): |
|
20521 |
|
20522 2007-10-25 Holger Freyther <zecke@selfish.org> |
|
20523 |
|
20524 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
20525 |
|
20526 * No need to initialize values in the QWebNetworkJob c'tor |
|
20527 * Add a JobStatus to QWebNetworkJob and verify that the jobs are handled in the way we expect them to be handled. This means no data after the job has finished, not finishing a job before it has been started. |
|
20528 |
|
20529 |
|
20530 * Api/qwebnetworkinterface.cpp: |
|
20531 (QWebNetworkJob::status): |
|
20532 (QWebNetworkJob::setStatus): |
|
20533 (QWebNetworkManager::started): |
|
20534 (QWebNetworkManager::data): |
|
20535 (QWebNetworkManager::finished): |
|
20536 * Api/qwebnetworkinterface.h: |
|
20537 * Api/qwebnetworkinterface_p.h: |
|
20538 (QWebNetworkJobPrivate::QWebNetworkJobPrivate): |
|
20539 |
|
20540 2007-10-25 Holger Freyther <zecke@selfish.org> |
|
20541 |
|
20542 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
20543 |
|
20544 * Consistency: Always name the jobs job. |
|
20545 |
|
20546 |
|
20547 * Api/qwebnetworkinterface.cpp: |
|
20548 (WebCoreHttp::onReadyRead): |
|
20549 (WebCoreHttp::onRequestFinished): |
|
20550 (WebCoreHttp::onSslErrors): |
|
20551 (WebCoreHttp::onAuthenticationRequired): |
|
20552 (WebCoreHttp::onProxyAuthenticationRequired): |
|
20553 |
|
20554 2007-10-25 Holger Freyther <zecke@selfish.org> |
|
20555 |
|
20556 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
20557 |
|
20558 * Implement our own queuing of network jobs to allow special handling of synchronous jobs. This makes us pass the fast/dom/xmlhttprequest-html-response-encoding.html test without a crash. Sync jobs will get a special treatment over the normals ones and in theory more than one sync job is supported. |
|
20559 * This should be thread-safe besides QWebNetworkJob::{ref,deref} |
|
20560 |
|
20561 |
|
20562 * Api/qwebnetworkinterface.cpp: |
|
20563 (QWebNetworkJob::~QWebNetworkJob): |
|
20564 (QWebNetworkManager::QWebNetworkManager): |
|
20565 (QWebNetworkManager::self): |
|
20566 (QWebNetworkManager::add): |
|
20567 (QWebNetworkManager::started): |
|
20568 (QWebNetworkManager::finished): |
|
20569 (QWebNetworkInterfacePrivate::sendFileData): |
|
20570 (QWebNetworkInterfacePrivate::parseDataUrl): |
|
20571 (QWebNetworkManager::queueStart): |
|
20572 (QWebNetworkManager::queueData): |
|
20573 (QWebNetworkManager::queueFinished): |
|
20574 (QWebNetworkManager::doScheduleWork): |
|
20575 (QWebNetworkManager::doWork): |
|
20576 (gCleanupInterface): |
|
20577 (QWebNetworkInterface::setDefaultInterface): |
|
20578 (QWebNetworkInterface::defaultInterface): |
|
20579 (QWebNetworkInterface::QWebNetworkInterface): |
|
20580 (QWebNetworkInterface::started): |
|
20581 (QWebNetworkInterface::data): |
|
20582 (QWebNetworkInterface::finished): |
|
20583 (WebCoreHttp::scheduleNextRequest): |
|
20584 (WebCoreHttp::onResponseHeaderReceived): |
|
20585 (WebCoreHttp::onReadyRead): |
|
20586 (WebCoreHttp::onRequestFinished): |
|
20587 (WebCoreHttp::cancel): |
|
20588 * Api/qwebnetworkinterface.h: |
|
20589 * Api/qwebnetworkinterface_p.h: |
|
20590 (QWebNetworkManager::): |
|
20591 (QWebNetworkManager::JobData::JobData): |
|
20592 (QWebNetworkManager::JobFinished::JobFinished): |
|
20593 |
|
20594 2007-10-25 Holger Freyther <zecke@selfish.org> |
|
20595 |
|
20596 Reviewed by Simon Hausmann <hausmann@kde.org>. |
|
20597 |
|
20598 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway. |
|
20599 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information. |
|
20600 * We pass the char-decoding.html test now |
|
20601 |
|
20602 |
|
20603 * Api/qwebnetworkinterface.cpp: |
|
20604 (decodePercentEncoding): |
|
20605 (QWebNetworkInterfacePrivate::parseDataUrl): |
|
20606 |
|
20607 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org> |
|
20608 |
|
20609 Reviewed by Lars Knoll <lars@trolltech.com>. |
|
20610 |
|
20611 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0. |
|
20612 |
|
20613 |
|
20614 * WebCoreSupport/EditorClientQt.cpp: |
|
20615 (WebCore::EditorClientQt::handleKeypress): |
|
20616 |
|
20617 2007-10-24 Lars Knoll <lars@trolltech.com> |
|
20618 |
|
20619 Reviewed by Simon. |
|
20620 |
|
20621 remove some notImplemented() warnings. |
|
20622 |
|
20623 * WebCoreSupport/EditorClientQt.cpp: |
|
20624 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled): |
|
20625 (WebCore::EditorClientQt::isGrammarCheckingEnabled): |
|
20626 (WebCore::EditorClientQt::respondToChangedSelection): |
|
20627 |
|
20628 2007-10-24 Lars Knoll <lars@trolltech.com> |
|
20629 |
|
20630 Reviewed by Simon. |
|
20631 |
|
20632 allow paste from DOM so we pass more test cases. |
|
20633 |
|
20634 * Api/qwebpage.cpp: |
|
20635 (QWebPage::setSettings): |
|
20636 |
|
20637 2007-10-24 Lars Knoll <lars@trolltech.com> |
|
20638 |
|
20639 Reviewed by Simon. |
|
20640 |
|
20641 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information. |
|
20642 |
|
20643 * Api/qwebpage.cpp: |
|
20644 (QWebPage::keyPressEvent): |
|
20645 (QWebPage::keyReleaseEvent): |
|
20646 |
|
20647 2007-10-24 Lars Knoll <lars@trolltech.com> |
|
20648 |
|
20649 Reviewed by Simon. |
|
20650 |
|
20651 some smaller fixes to the editing support in DRT. Makes another few tests pass. |
|
20652 |
|
20653 * WebCoreSupport/EditorClientQt.cpp: |
|
20654 (qt_dump_editing_callbacks): |
|
20655 (qt_drt_run): |
|
20656 |
|
20657 2007-10-24 Lars Knoll <lars@trolltech.com> |
|
20658 |
|
20659 Reviewed by Simon. |
|
20660 |
|
20661 implemented support for most editing shortcuts to make contentEditable usable. |
|
20662 |
|
20663 * Api/qwebpage.cpp: |
|
20664 (QWebPage::keyPressEvent): |
|
20665 |
|
20666 2007-10-24 Lars Knoll <lars@trolltech.com> |
|
20667 |
|
20668 Reviewed by Simon. |
|
20669 |
|
20670 no need to call setIsActive ourselves on the frame, as the focus controller does it for us. |
|
20671 |
|
20672 * Api/qwebpage.cpp: |
|
20673 (QWebPage::focusInEvent): |
|
20674 |
|
20675 2007-10-24 Lars Knoll <lars@trolltech.com> |
|
20676 |
|
20677 Reviewed by Simon. |
|
20678 |
|
20679 Implement support for testing editing. |
|
20680 |
|
20681 * WebCoreSupport/EditorClientQt.cpp: |
|
20682 (qt_dump_editing_callbacks): |
|
20683 (qt_dump_set_accepts_editing): |
|
20684 (dumpPath): |
|
20685 (dumpRange): |
|
20686 (WebCore::EditorClientQt::shouldDeleteRange): |
|
20687 (WebCore::EditorClientQt::shouldShowDeleteInterface): |
|
20688 (WebCore::EditorClientQt::shouldBeginEditing): |
|
20689 (WebCore::EditorClientQt::shouldEndEditing): |
|
20690 (WebCore::EditorClientQt::shouldInsertText): |
|
20691 (WebCore::EditorClientQt::shouldChangeSelectedRange): |
|
20692 (WebCore::EditorClientQt::shouldApplyStyle): |
|
20693 (WebCore::EditorClientQt::didBeginEditing): |
|
20694 (WebCore::EditorClientQt::respondToChangedContents): |
|
20695 (WebCore::EditorClientQt::respondToChangedSelection): |
|
20696 (WebCore::EditorClientQt::didEndEditing): |
|
20697 (WebCore::EditorClientQt::shouldInsertNode): |
|
20698 |
|
20699 2007-10-19 Alp Toker <alp@atoker.com> |
|
20700 |
|
20701 Reviewed by Oliver. |
|
20702 |
|
20703 GTK+ build fix enabling the new local database storage feature. |
|
20704 There is also a prospective Qt build fix. |
|
20705 |
|
20706 * WebCoreSupport/ChromeClientQt.cpp: |
|
20707 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt): |
|
20708 * WebCoreSupport/ChromeClientQt.h: |
|
20709 |
|
20710 2007-10-19 Simon Hausmann <hausmann@kde.org> |
|
20711 |
|
20712 Fix the Qt/Windows build: Include the moc file from the .cpp file so |
|
20713 that config.h is included before wtf/MathExtras. The former defines |
|
20714 the MSVC defines for rand_s. |
|
20715 |
|
20716 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
20717 |
|
20718 2007-10-19 Simon Hausmann <shausman@trolltech.com> |
|
20719 |
|
20720 Reviewed by Lars. |
|
20721 |
|
20722 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion. |
|
20723 |
|
20724 * Api/qwebframe.cpp: |
|
20725 * Api/qwebpage.cpp: |
|
20726 |
|
20727 2007-10-10 Alice Liu <alice.liu@apple.com> |
|
20728 |
|
20729 Reviewed by Geoff Garen. |
|
20730 |
|
20731 changes to keep the build from breaking |
|
20732 |
|
20733 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
20734 (WebCore::FrameLoaderClientQt::createFrame): |
|
20735 * WebCoreSupport/FrameLoaderClientQt.h: |
|
20736 |
|
20737 2007-10-09 Lars Knoll <lars@trolltech.com> |
|
20738 |
|
20739 Reviewed by Simon. |
|
20740 |
|
20741 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass. |
|
20742 |
|
20743 * Api/qwebpage.cpp: |
|
20744 (QWebPage::setSettings): |
|
20745 |
|
20746 2007-10-09 Lars Knoll <lars@trolltech.com> |
|
20747 |
|
20748 Reviewed by Simon. |
|
20749 |
|
20750 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html |
|
20751 |
|
20752 * Api/qwebnetworkinterface.cpp: |
|
20753 (QWebNetworkManager::add): |
|
20754 (QWebNetworkManager::cancel): |
|
20755 (QWebNetworkManager::started): |
|
20756 (QWebNetworkManager::data): |
|
20757 (QWebNetworkInterfacePrivate::parseDataUrl): |
|
20758 |
|
20759 2007-10-09 Lars Knoll <lars@trolltech.com> |
|
20760 |
|
20761 Reviewed by Simon. |
|
20762 |
|
20763 Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT. |
|
20764 |
|
20765 * Api/qwebpage.cpp: |
|
20766 (QWebPagePrivate::createMainFrame): |
|
20767 (QWebPage::createFrame): |
|
20768 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
20769 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle): |
|
20770 * WebCoreSupport/FrameLoaderClientQt.h: |
|
20771 |
|
20772 2007-10-09 Lars Knoll <lars@trolltech.com> |
|
20773 |
|
20774 Reviewed by Simon. |
|
20775 |
|
20776 add a clear() method to QWebPageHistory. |
|
20777 |
|
20778 * Api/qwebpagehistory.cpp: |
|
20779 (QWebPageHistory::clear): |
|
20780 (QWebPageHistory::itemAtIndex): |
|
20781 * Api/qwebpagehistory.h: |
|
20782 |
|
20783 2007-10-05 Lars Knoll <lars@trolltech.com> |
|
20784 |
|
20785 add proper error messages to the FrameLoaderClient. |
|
20786 Implement ChromeClientQt::closeWindowSoon and |
|
20787 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO). |
|
20788 Some fixes in DRT to make it work correctly with multiple windows. |
|
20789 |
|
20790 Reviewed by Maciej. |
|
20791 |
|
20792 * Api/qwebframe.h: |
|
20793 * Api/qwebnetworkinterface.cpp: |
|
20794 (QWebNetworkManager::cancel): |
|
20795 (QWebNetworkInterface::addJob): |
|
20796 * WebCoreSupport/ChromeClientQt.cpp: |
|
20797 (WebCore::ChromeClientQt::closeWindowSoon): |
|
20798 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
20799 (WebCore::FrameLoaderClientQt::cancelledError): |
|
20800 (WebCore::): |
|
20801 (WebCore::FrameLoaderClientQt::blockedError): |
|
20802 (WebCore::FrameLoaderClientQt::cannotShowURLError): |
|
20803 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError): |
|
20804 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError): |
|
20805 (WebCore::FrameLoaderClientQt::dispatchCreatePage): |
|
20806 |
|
20807 2007-10-03 Lars Knoll <lars@trolltech.com> |
|
20808 |
|
20809 Signed off by Olliej. |
|
20810 |
|
20811 move WebKitQt to WebKit/qt for consistency with the other ports. |
|
20812 |
|
20813 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri. |
|
20814 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp. |
|
20815 (QCookieJarPrivate::QCookieJarPrivate): |
|
20816 (qHash): |
|
20817 (QCookieJar::QCookieJar): |
|
20818 (QCookieJar::~QCookieJar): |
|
20819 (QCookieJar::setCookies): |
|
20820 (QCookieJar::cookies): |
|
20821 (QCookieJar::isEnabled): |
|
20822 (QCookieJar::setEnabled): |
|
20823 (gCleanupJar): |
|
20824 (QCookieJar::setCookieJar): |
|
20825 (QCookieJar::cookieJar): |
|
20826 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h. |
|
20827 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf. |
|
20828 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp. |
|
20829 (QWebFramePrivate::init): |
|
20830 (QWebFramePrivate::parentFrame): |
|
20831 (QWebFramePrivate::horizontalScrollBar): |
|
20832 (QWebFramePrivate::verticalScrollBar): |
|
20833 (QWebFrame::QWebFrame): |
|
20834 (QWebFrame::~QWebFrame): |
|
20835 (QWebFrame::addToJSWindowObject): |
|
20836 (QWebFrame::markup): |
|
20837 (QWebFrame::innerText): |
|
20838 (QWebFrame::renderTreeDump): |
|
20839 (QWebFrame::title): |
|
20840 (QWebFrame::name): |
|
20841 (QWebFrame::page): |
|
20842 (QWebFrame::selectedText): |
|
20843 (QWebFrame::childFrames): |
|
20844 (QWebFrame::verticalScrollBarPolicy): |
|
20845 (QWebFrame::setVerticalScrollBarPolicy): |
|
20846 (QWebFrame::horizontalScrollBarPolicy): |
|
20847 (QWebFrame::setHorizontalScrollBarPolicy): |
|
20848 (QWebFrame::render): |
|
20849 (QWebFrame::layout): |
|
20850 (QWebFrame::pos): |
|
20851 (QWebFrame::geometry): |
|
20852 (QWebFrame::evaluateJavaScript): |
|
20853 (QWebFrame::mouseMoveEvent): |
|
20854 (QWebFrame::mousePressEvent): |
|
20855 (QWebFrame::mouseDoubleClickEvent): |
|
20856 (QWebFrame::mouseReleaseEvent): |
|
20857 (QWebFrame::wheelEvent): |
|
20858 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h. |
|
20859 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h. |
|
20860 (QWebFramePrivate::QWebFramePrivate): |
|
20861 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp. |
|
20862 (WebCore::historyContains): |
|
20863 (gCleanupInterface): |
|
20864 (QWebHistoryInterface::setDefaultInterface): |
|
20865 (QWebHistoryInterface::defaultInterface): |
|
20866 (QWebHistoryInterface::QWebHistoryInterface): |
|
20867 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h. |
|
20868 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h. |
|
20869 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp. |
|
20870 (qHash): |
|
20871 (operator==): |
|
20872 (QWebNetworkRequestPrivate::init): |
|
20873 (QWebNetworkRequestPrivate::setURL): |
|
20874 (QWebNetworkRequest::QWebNetworkRequest): |
|
20875 (QWebNetworkRequest::operator=): |
|
20876 (QWebNetworkRequest::~QWebNetworkRequest): |
|
20877 (QWebNetworkRequest::url): |
|
20878 (QWebNetworkRequest::setUrl): |
|
20879 (QWebNetworkRequest::httpHeader): |
|
20880 (QWebNetworkRequest::setHttpHeader): |
|
20881 (QWebNetworkRequest::httpHeaderField): |
|
20882 (QWebNetworkRequest::setHttpHeaderField): |
|
20883 (QWebNetworkRequest::postData): |
|
20884 (QWebNetworkRequest::setPostData): |
|
20885 (QWebNetworkJob::QWebNetworkJob): |
|
20886 (QWebNetworkJob::~QWebNetworkJob): |
|
20887 (QWebNetworkJob::url): |
|
20888 (QWebNetworkJob::postData): |
|
20889 (QWebNetworkJob::httpHeader): |
|
20890 (QWebNetworkJob::request): |
|
20891 (QWebNetworkJob::response): |
|
20892 (QWebNetworkJob::setResponse): |
|
20893 (QWebNetworkJob::cancelled): |
|
20894 (QWebNetworkJob::ref): |
|
20895 (QWebNetworkJob::deref): |
|
20896 (QWebNetworkJob::networkInterface): |
|
20897 (QWebNetworkJob::frame): |
|
20898 (QWebNetworkManager::QWebNetworkManager): |
|
20899 (QWebNetworkManager::self): |
|
20900 (QWebNetworkManager::add): |
|
20901 (QWebNetworkManager::cancel): |
|
20902 (QWebNetworkManager::started): |
|
20903 (QWebNetworkManager::data): |
|
20904 (QWebNetworkManager::finished): |
|
20905 (QWebNetworkManager::addHttpJob): |
|
20906 (QWebNetworkManager::cancelHttpJob): |
|
20907 (QWebNetworkManager::httpConnectionClosed): |
|
20908 (QWebNetworkInterfacePrivate::sendFileData): |
|
20909 (QWebNetworkInterfacePrivate::parseDataUrl): |
|
20910 (gCleanupInterface): |
|
20911 (QWebNetworkInterface::setDefaultInterface): |
|
20912 (QWebNetworkInterface::defaultInterface): |
|
20913 (QWebNetworkInterface::QWebNetworkInterface): |
|
20914 (QWebNetworkInterface::~QWebNetworkInterface): |
|
20915 (QWebNetworkInterface::addJob): |
|
20916 (QWebNetworkInterface::cancelJob): |
|
20917 (WebCoreHttp::WebCoreHttp): |
|
20918 (WebCoreHttp::~WebCoreHttp): |
|
20919 (WebCoreHttp::request): |
|
20920 (WebCoreHttp::scheduleNextRequest): |
|
20921 (WebCoreHttp::getConnection): |
|
20922 (WebCoreHttp::onResponseHeaderReceived): |
|
20923 (WebCoreHttp::onReadyRead): |
|
20924 (WebCoreHttp::onRequestFinished): |
|
20925 (WebCoreHttp::onDone): |
|
20926 (WebCoreHttp::onStateChanged): |
|
20927 (WebCoreHttp::cancel): |
|
20928 (WebCoreHttp::onSslErrors): |
|
20929 (WebCoreHttp::onAuthenticationRequired): |
|
20930 (WebCoreHttp::onProxyAuthenticationRequired): |
|
20931 (HostInfo::HostInfo): |
|
20932 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h. |
|
20933 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h. |
|
20934 (QWebNetworkJobPrivate::QWebNetworkJobPrivate): |
|
20935 (WebCore::HostInfo::HostInfo): |
|
20936 (WebCore::WebCoreHttp::HttpConnection::HttpConnection): |
|
20937 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp. |
|
20938 (QWebFactoryLoader::QWebFactoryLoader): |
|
20939 (QWebFactoryLoader::self): |
|
20940 (QWebFactoryLoader::descriptionForName): |
|
20941 (QWebFactoryLoader::mimetypesForName): |
|
20942 (QWebFactoryLoader::mimeTypeForExtension): |
|
20943 (QWebFactoryLoader::extensions): |
|
20944 (QWebFactoryLoader::nameForMimetype): |
|
20945 (QWebFactoryLoader::create): |
|
20946 (QWebObjectPlugin::QWebObjectPlugin): |
|
20947 (QWebObjectPlugin::~QWebObjectPlugin): |
|
20948 (QWebObjectPlugin::descriptionForKey): |
|
20949 (QWebObjectPlugin::mimetypesForKey): |
|
20950 (QWebObjectPlugin::extensionsForMimetype): |
|
20951 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h. |
|
20952 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h. |
|
20953 (QWebFactoryLoader::names): |
|
20954 (QWebFactoryLoader::supportsMimeType): |
|
20955 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp. |
|
20956 (QWebObjectPluginConnector::QWebObjectPluginConnector): |
|
20957 (QWebObjectPluginConnector::frame): |
|
20958 (QWebObjectPluginConnector::pluginParentWidget): |
|
20959 (QWebObjectPluginConnector::requestUrl): |
|
20960 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h. |
|
20961 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp. |
|
20962 (QWebPagePrivate::QWebPagePrivate): |
|
20963 (QWebPagePrivate::~QWebPagePrivate): |
|
20964 (QWebPagePrivate::navigationRequested): |
|
20965 (QWebPagePrivate::createMainFrame): |
|
20966 (QWebPage::QWebPage): |
|
20967 (QWebPage::~QWebPage): |
|
20968 (QWebPage::createFrame): |
|
20969 (QWebPage::open): |
|
20970 (QWebPage::url): |
|
20971 (QWebPage::title): |
|
20972 (QWebPage::mainFrame): |
|
20973 (QWebPage::sizeHint): |
|
20974 (QWebPage::stop): |
|
20975 (QWebPage::history): |
|
20976 (QWebPage::goBack): |
|
20977 (QWebPage::goForward): |
|
20978 (QWebPage::goToHistoryItem): |
|
20979 (QWebPage::javaScriptConsoleMessage): |
|
20980 (QWebPage::javaScriptAlert): |
|
20981 (QWebPage::javaScriptConfirm): |
|
20982 (QWebPage::javaScriptPrompt): |
|
20983 (QWebPage::createWindow): |
|
20984 (QWebPage::createModalDialog): |
|
20985 (QWebPage::createPlugin): |
|
20986 (QWebPage::navigationRequested): |
|
20987 (QWebPage::setWindowGeometry): |
|
20988 (QWebPage::canCut): |
|
20989 (QWebPage::canCopy): |
|
20990 (QWebPage::canPaste): |
|
20991 (QWebPage::cut): |
|
20992 (QWebPage::copy): |
|
20993 (QWebPage::paste): |
|
20994 (QWebPage::isModified): |
|
20995 (QWebPage::undoStack): |
|
20996 (dropActionToDragOp): |
|
20997 (dragOpToDropAction): |
|
20998 (QWebPage::resizeEvent): |
|
20999 (QWebPage::paintEvent): |
|
21000 (QWebPage::mouseMoveEvent): |
|
21001 (QWebPage::mousePressEvent): |
|
21002 (QWebPage::mouseDoubleClickEvent): |
|
21003 (QWebPage::mouseReleaseEvent): |
|
21004 (QWebPage::wheelEvent): |
|
21005 (QWebPage::keyPressEvent): |
|
21006 (QWebPage::keyReleaseEvent): |
|
21007 (QWebPage::focusInEvent): |
|
21008 (QWebPage::focusOutEvent): |
|
21009 (QWebPage::focusNextPrevChild): |
|
21010 (QWebPage::dragEnterEvent): |
|
21011 (QWebPage::dragLeaveEvent): |
|
21012 (QWebPage::dragMoveEvent): |
|
21013 (QWebPage::dropEvent): |
|
21014 (QWebPage::setNetworkInterface): |
|
21015 (QWebPage::networkInterface): |
|
21016 (QWebPage::icon): |
|
21017 (QWebPage::setSettings): |
|
21018 (QWebPage::settings): |
|
21019 (QWebPage::chooseFile): |
|
21020 (QWebPage::setNetworkProxy): |
|
21021 (QWebPage::networkProxy): |
|
21022 (QWebPage::userAgentStringForUrl): |
|
21023 (QWebPage::onLoadProgressChanged): |
|
21024 (QWebPage::totalBytes): |
|
21025 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h. |
|
21026 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h. |
|
21027 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp. |
|
21028 (QWebHistoryItem::QWebHistoryItem): |
|
21029 (QWebHistoryItem::operator=): |
|
21030 (QWebHistoryItem::~QWebHistoryItem): |
|
21031 (QWebHistoryItem::originalUrl): |
|
21032 (QWebHistoryItem::currentUrl): |
|
21033 (QWebHistoryItem::title): |
|
21034 (QWebHistoryItem::lastVisited): |
|
21035 (QWebHistoryItem::icon): |
|
21036 (QWebPageHistory::QWebPageHistory): |
|
21037 (QWebPageHistory::itemAtIndex): |
|
21038 (QWebPageHistory::operator=): |
|
21039 (QWebPageHistory::~QWebPageHistory): |
|
21040 (QWebPageHistory::items): |
|
21041 (QWebPageHistory::backItems): |
|
21042 (QWebPageHistory::forwardItems): |
|
21043 (QWebPageHistory::canGoBack): |
|
21044 (QWebPageHistory::canGoForward): |
|
21045 (QWebPageHistory::goBack): |
|
21046 (QWebPageHistory::goForward): |
|
21047 (QWebPageHistory::goToItem): |
|
21048 (QWebPageHistory::backItem): |
|
21049 (QWebPageHistory::currentItem): |
|
21050 (QWebPageHistory::forwardItem): |
|
21051 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h. |
|
21052 (QExplicitlySharedDataPointer::operator*): |
|
21053 (QExplicitlySharedDataPointer::operator->): |
|
21054 (QExplicitlySharedDataPointer::operator T *): |
|
21055 (QExplicitlySharedDataPointer::operator const T *): |
|
21056 (QExplicitlySharedDataPointer::data): |
|
21057 (QExplicitlySharedDataPointer::constData): |
|
21058 (QExplicitlySharedDataPointer::operator==): |
|
21059 (QExplicitlySharedDataPointer::operator!=): |
|
21060 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer): |
|
21061 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer): |
|
21062 (QExplicitlySharedDataPointer::operator=): |
|
21063 (QExplicitlySharedDataPointer::operator!): |
|
21064 (::QExplicitlySharedDataPointer): |
|
21065 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h. |
|
21066 (QWebHistoryItemPrivate::QWebHistoryItemPrivate): |
|
21067 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate): |
|
21068 (QWebPageHistoryPrivate::QWebPageHistoryPrivate): |
|
21069 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate): |
|
21070 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp. |
|
21071 (QWebSettingsPrivate::QWebSettingsPrivate): |
|
21072 (QWebSettings::QWebSettings): |
|
21073 (QWebSettings::~QWebSettings): |
|
21074 (QWebSettings::setMinimumFontSize): |
|
21075 (QWebSettings::minimumFontSize): |
|
21076 (QWebSettings::setMinimumLogicalFontSize): |
|
21077 (QWebSettings::minimumLogicalFontSize): |
|
21078 (QWebSettings::setDefaultFontSize): |
|
21079 (QWebSettings::defaultFontSize): |
|
21080 (QWebSettings::setDefaultFixedFontSize): |
|
21081 (QWebSettings::defaultFixedFontSize): |
|
21082 (QWebSettings::setUserStyleSheetLocation): |
|
21083 (QWebSettings::userStyleSheetLocation): |
|
21084 (QWebSettings::setIconDatabaseEnabled): |
|
21085 (QWebSettings::iconDatabaseEnabled): |
|
21086 (QWebSettings::setWebGraphic): |
|
21087 (QWebSettings::webGraphic): |
|
21088 (QWebSettings::operator=): |
|
21089 (QWebSettings::setGlobal): |
|
21090 (QWebSettings::global): |
|
21091 (QWebSettings::setFontFamily): |
|
21092 (QWebSettings::fontFamily): |
|
21093 (QWebSettings::setAttribute): |
|
21094 (QWebSettings::testAttribute): |
|
21095 (loadResourcePixmap): |
|
21096 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h. |
|
21097 * ChangeLog: Renamed from WebKitQt/ChangeLog. |
|
21098 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp. |
|
21099 (IcoHeader::operator >>): |
|
21100 (IcoHeader::BMP_INFOHDR::): |
|
21101 (IcoHeader::operator<<): |
|
21102 (IcoHeader::LessDifference::LessDifference): |
|
21103 (IcoHeader::LessDifference::operator ()): |
|
21104 (IcoHeader::loadFromDIB): |
|
21105 (ICOHandler::ICOHandler): |
|
21106 (ICOHandler::canRead): |
|
21107 (ICOHandler::read): |
|
21108 (ICOHandler::write): |
|
21109 (ICOHandler::name): |
|
21110 (ICOPlugin::keys): |
|
21111 (ICOPlugin::capabilities): |
|
21112 (ICOPlugin::create): |
|
21113 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h. |
|
21114 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro. |
|
21115 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro. |
|
21116 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp. |
|
21117 (HoverLabel::HoverLabel): |
|
21118 (HoverLabel::setHoverLink): |
|
21119 (HoverLabel::sizeForFont): |
|
21120 (HoverLabel::sizeHint): |
|
21121 (HoverLabel::updateSize): |
|
21122 (HoverLabel::resetAnimation): |
|
21123 (HoverLabel::paintEvent): |
|
21124 (HoverLabel::interpolate): |
|
21125 (ClearButton::ClearButton): |
|
21126 (ClearButton::paintEvent): |
|
21127 (SearchEdit::SearchEdit): |
|
21128 (SearchEdit::~SearchEdit): |
|
21129 (SearchEdit::paintEvent): |
|
21130 (SearchEdit::resizeEvent): |
|
21131 (SearchEdit::moveEvent): |
|
21132 (MainWindow::MainWindow): |
|
21133 (MainWindow::changeLocation): |
|
21134 (MainWindow::loadFinished): |
|
21135 (MainWindow::showLinkHover): |
|
21136 (MainWindow::resizeEvent): |
|
21137 (main): |
|
21138 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp. |
|
21139 (WebCore::ChromeClientQt::ChromeClientQt): |
|
21140 (WebCore::ChromeClientQt::~ChromeClientQt): |
|
21141 (WebCore::ChromeClientQt::setWindowRect): |
|
21142 (WebCore::ChromeClientQt::windowRect): |
|
21143 (WebCore::ChromeClientQt::pageRect): |
|
21144 (WebCore::ChromeClientQt::scaleFactor): |
|
21145 (WebCore::ChromeClientQt::focus): |
|
21146 (WebCore::ChromeClientQt::unfocus): |
|
21147 (WebCore::ChromeClientQt::canTakeFocus): |
|
21148 (WebCore::ChromeClientQt::takeFocus): |
|
21149 (WebCore::ChromeClientQt::createWindow): |
|
21150 (WebCore::ChromeClientQt::createModalDialog): |
|
21151 (WebCore::ChromeClientQt::show): |
|
21152 (WebCore::ChromeClientQt::canRunModal): |
|
21153 (WebCore::ChromeClientQt::runModal): |
|
21154 (WebCore::ChromeClientQt::setToolbarsVisible): |
|
21155 (WebCore::ChromeClientQt::toolbarsVisible): |
|
21156 (WebCore::ChromeClientQt::setStatusbarVisible): |
|
21157 (WebCore::ChromeClientQt::statusbarVisible): |
|
21158 (WebCore::ChromeClientQt::setScrollbarsVisible): |
|
21159 (WebCore::ChromeClientQt::scrollbarsVisible): |
|
21160 (WebCore::ChromeClientQt::setMenubarVisible): |
|
21161 (WebCore::ChromeClientQt::menubarVisible): |
|
21162 (WebCore::ChromeClientQt::setResizable): |
|
21163 (WebCore::ChromeClientQt::addMessageToConsole): |
|
21164 (WebCore::ChromeClientQt::chromeDestroyed): |
|
21165 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel): |
|
21166 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel): |
|
21167 (WebCore::ChromeClientQt::closeWindowSoon): |
|
21168 (WebCore::ChromeClientQt::runJavaScriptAlert): |
|
21169 (WebCore::ChromeClientQt::runJavaScriptConfirm): |
|
21170 (WebCore::ChromeClientQt::runJavaScriptPrompt): |
|
21171 (WebCore::ChromeClientQt::setStatusbarText): |
|
21172 (WebCore::ChromeClientQt::shouldInterruptJavaScript): |
|
21173 (WebCore::ChromeClientQt::tabsToLinks): |
|
21174 (WebCore::ChromeClientQt::windowResizerRect): |
|
21175 (WebCore::ChromeClientQt::addToDirtyRegion): |
|
21176 (WebCore::ChromeClientQt::scrollBackingStore): |
|
21177 (WebCore::ChromeClientQt::updateBackingStore): |
|
21178 (WebCore::ChromeClientQt::mouseDidMoveOverElement): |
|
21179 (WebCore::ChromeClientQt::setToolTip): |
|
21180 (WebCore::ChromeClientQt::print): |
|
21181 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h. |
|
21182 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp. |
|
21183 (WebCore::ContextMenuClientQt::contextMenuDestroyed): |
|
21184 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems): |
|
21185 (WebCore::ContextMenuClientQt::contextMenuItemSelected): |
|
21186 (WebCore::ContextMenuClientQt::downloadURL): |
|
21187 (WebCore::ContextMenuClientQt::lookUpInDictionary): |
|
21188 (WebCore::ContextMenuClientQt::speak): |
|
21189 (WebCore::ContextMenuClientQt::stopSpeaking): |
|
21190 (WebCore::ContextMenuClientQt::searchWithGoogle): |
|
21191 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h. |
|
21192 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp. |
|
21193 (WebCore::DragClientQt::actionMaskForDrag): |
|
21194 (WebCore::DragClientQt::willPerformDragDestinationAction): |
|
21195 (WebCore::DragClientQt::dragControllerDestroyed): |
|
21196 (WebCore::DragClientQt::dragSourceActionMaskForPoint): |
|
21197 (WebCore::DragClientQt::willPerformDragSourceAction): |
|
21198 (WebCore::DragClientQt::startDrag): |
|
21199 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h. |
|
21200 (WebCore::DragClientQt::DragClientQt): |
|
21201 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp. |
|
21202 (EditCommandQt::EditCommandQt): |
|
21203 (EditCommandQt::~EditCommandQt): |
|
21204 (EditCommandQt::redo): |
|
21205 (EditCommandQt::undo): |
|
21206 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h. |
|
21207 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp. |
|
21208 (WebCore::EditorClientQt::shouldDeleteRange): |
|
21209 (WebCore::EditorClientQt::shouldShowDeleteInterface): |
|
21210 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled): |
|
21211 (WebCore::EditorClientQt::isGrammarCheckingEnabled): |
|
21212 (WebCore::EditorClientQt::spellCheckerDocumentTag): |
|
21213 (WebCore::EditorClientQt::shouldBeginEditing): |
|
21214 (WebCore::EditorClientQt::shouldEndEditing): |
|
21215 (WebCore::EditorClientQt::shouldInsertText): |
|
21216 (WebCore::EditorClientQt::shouldChangeSelectedRange): |
|
21217 (WebCore::EditorClientQt::shouldApplyStyle): |
|
21218 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete): |
|
21219 (WebCore::EditorClientQt::didBeginEditing): |
|
21220 (WebCore::EditorClientQt::respondToChangedContents): |
|
21221 (WebCore::EditorClientQt::respondToChangedSelection): |
|
21222 (WebCore::EditorClientQt::didEndEditing): |
|
21223 (WebCore::EditorClientQt::didWriteSelectionToPasteboard): |
|
21224 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard): |
|
21225 (WebCore::EditorClientQt::selectWordBeforeMenuEvent): |
|
21226 (WebCore::EditorClientQt::isEditable): |
|
21227 (WebCore::EditorClientQt::registerCommandForUndo): |
|
21228 (WebCore::EditorClientQt::registerCommandForRedo): |
|
21229 (WebCore::EditorClientQt::clearUndoRedoOperations): |
|
21230 (WebCore::EditorClientQt::canUndo): |
|
21231 (WebCore::EditorClientQt::canRedo): |
|
21232 (WebCore::EditorClientQt::undo): |
|
21233 (WebCore::EditorClientQt::redo): |
|
21234 (WebCore::EditorClientQt::shouldInsertNode): |
|
21235 (WebCore::EditorClientQt::pageDestroyed): |
|
21236 (WebCore::EditorClientQt::smartInsertDeleteEnabled): |
|
21237 (WebCore::EditorClientQt::toggleContinuousSpellChecking): |
|
21238 (WebCore::EditorClientQt::toggleGrammarChecking): |
|
21239 (WebCore::EditorClientQt::handleKeypress): |
|
21240 (WebCore::EditorClientQt::handleInputMethodKeypress): |
|
21241 (WebCore::EditorClientQt::EditorClientQt): |
|
21242 (WebCore::EditorClientQt::textFieldDidBeginEditing): |
|
21243 (WebCore::EditorClientQt::textFieldDidEndEditing): |
|
21244 (WebCore::EditorClientQt::textDidChangeInTextField): |
|
21245 (WebCore::EditorClientQt::doTextFieldCommandFromEvent): |
|
21246 (WebCore::EditorClientQt::textWillBeDeletedInTextField): |
|
21247 (WebCore::EditorClientQt::textDidChangeInTextArea): |
|
21248 (WebCore::EditorClientQt::ignoreWordInSpellDocument): |
|
21249 (WebCore::EditorClientQt::learnWord): |
|
21250 (WebCore::EditorClientQt::checkSpellingOfString): |
|
21251 (WebCore::EditorClientQt::checkGrammarOfString): |
|
21252 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString): |
|
21253 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord): |
|
21254 (WebCore::EditorClientQt::showSpellingUI): |
|
21255 (WebCore::EditorClientQt::spellingUIIsShowing): |
|
21256 (WebCore::EditorClientQt::getGuessesForWord): |
|
21257 (WebCore::EditorClientQt::isEditing): |
|
21258 (WebCore::EditorClientQt::setInputMethodState): |
|
21259 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h. |
|
21260 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp. |
|
21261 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): |
|
21262 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt): |
|
21263 (WebCore::FrameLoaderClientQt::setFrame): |
|
21264 (WebCore::FrameLoaderClientQt::webFrame): |
|
21265 (WebCore::FrameLoaderClientQt::callPolicyFunction): |
|
21266 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction): |
|
21267 (WebCore::FrameLoaderClientQt::hasWebView): |
|
21268 (WebCore::FrameLoaderClientQt::hasFrameView): |
|
21269 (WebCore::FrameLoaderClientQt::hasBackForwardList): |
|
21270 (WebCore::FrameLoaderClientQt::resetBackForwardList): |
|
21271 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget): |
|
21272 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache): |
|
21273 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache): |
|
21274 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled): |
|
21275 (WebCore::FrameLoaderClientQt::makeDocumentView): |
|
21276 (WebCore::FrameLoaderClientQt::makeRepresentation): |
|
21277 (WebCore::FrameLoaderClientQt::forceLayout): |
|
21278 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML): |
|
21279 (WebCore::FrameLoaderClientQt::setCopiesOnScroll): |
|
21280 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset): |
|
21281 (WebCore::FrameLoaderClientQt::resetAfterLoadError): |
|
21282 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError): |
|
21283 (WebCore::FrameLoaderClientQt::willCloseDocument): |
|
21284 (WebCore::FrameLoaderClientQt::detachedFromParent2): |
|
21285 (WebCore::FrameLoaderClientQt::detachedFromParent3): |
|
21286 (WebCore::FrameLoaderClientQt::detachedFromParent4): |
|
21287 (WebCore::FrameLoaderClientQt::loadedFromCachedPage): |
|
21288 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents): |
|
21289 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad): |
|
21290 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect): |
|
21291 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect): |
|
21292 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage): |
|
21293 (WebCore::FrameLoaderClientQt::dispatchWillClose): |
|
21294 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad): |
|
21295 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle): |
|
21296 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad): |
|
21297 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad): |
|
21298 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): |
|
21299 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout): |
|
21300 (WebCore::FrameLoaderClientQt::dispatchShow): |
|
21301 (WebCore::FrameLoaderClientQt::cancelPolicyCheck): |
|
21302 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm): |
|
21303 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource): |
|
21304 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache): |
|
21305 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache): |
|
21306 (WebCore::FrameLoaderClientQt::revertToProvisionalState): |
|
21307 (WebCore::FrameLoaderClientQt::clearUnarchivingState): |
|
21308 (WebCore::FrameLoaderClientQt::postProgressStartedNotification): |
|
21309 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification): |
|
21310 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): |
|
21311 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady): |
|
21312 (WebCore::FrameLoaderClientQt::willChangeTitle): |
|
21313 (WebCore::FrameLoaderClientQt::didChangeTitle): |
|
21314 (WebCore::FrameLoaderClientQt::finishedLoading): |
|
21315 (WebCore::FrameLoaderClientQt::finalSetupForReplace): |
|
21316 (WebCore::FrameLoaderClientQt::setDefersLoading): |
|
21317 (WebCore::FrameLoaderClientQt::isArchiveLoadPending): |
|
21318 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad): |
|
21319 (WebCore::FrameLoaderClientQt::clearArchivedResources): |
|
21320 (WebCore::FrameLoaderClientQt::canShowMIMEType): |
|
21321 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme): |
|
21322 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme): |
|
21323 (WebCore::FrameLoaderClientQt::frameLoadCompleted): |
|
21324 (WebCore::FrameLoaderClientQt::restoreViewState): |
|
21325 (WebCore::FrameLoaderClientQt::provisionalLoadStarted): |
|
21326 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent): |
|
21327 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll): |
|
21328 (WebCore::FrameLoaderClientQt::didFinishLoad): |
|
21329 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement): |
|
21330 (WebCore::FrameLoaderClientQt::setTitle): |
|
21331 (WebCore::FrameLoaderClientQt::userAgent): |
|
21332 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon): |
|
21333 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed): |
|
21334 (WebCore::FrameLoaderClientQt::canHandleRequest): |
|
21335 (WebCore::FrameLoaderClientQt::windowObjectCleared): |
|
21336 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation): |
|
21337 (WebCore::FrameLoaderClientQt::registerForIconNotification): |
|
21338 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage): |
|
21339 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad): |
|
21340 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload): |
|
21341 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem): |
|
21342 (WebCore::FrameLoaderClientQt::saveViewStateToItem): |
|
21343 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage): |
|
21344 (WebCore::FrameLoaderClientQt::canCachePage): |
|
21345 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
21346 (WebCore::FrameLoaderClientQt::committedLoad): |
|
21347 (WebCore::FrameLoaderClientQt::cancelledError): |
|
21348 (WebCore::FrameLoaderClientQt::blockedError): |
|
21349 (WebCore::FrameLoaderClientQt::cannotShowURLError): |
|
21350 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError): |
|
21351 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError): |
|
21352 (WebCore::FrameLoaderClientQt::fileDoesNotExistError): |
|
21353 (WebCore::FrameLoaderClientQt::shouldFallBack): |
|
21354 (WebCore::FrameLoaderClientQt::createDocumentLoader): |
|
21355 (WebCore::FrameLoaderClientQt::download): |
|
21356 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest): |
|
21357 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest): |
|
21358 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge): |
|
21359 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge): |
|
21360 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): |
|
21361 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength): |
|
21362 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading): |
|
21363 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
21364 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache): |
|
21365 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): |
|
21366 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): |
|
21367 (WebCore::FrameLoaderClientQt::dispatchCreatePage): |
|
21368 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
21369 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
21370 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
21371 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy): |
|
21372 (WebCore::FrameLoaderClientQt::startDownload): |
|
21373 (WebCore::FrameLoaderClientQt::willUseArchive): |
|
21374 (WebCore::FrameLoaderClientQt::createFrame): |
|
21375 (WebCore::FrameLoaderClientQt::objectContentType): |
|
21376 (WebCore::): |
|
21377 (WebCore::FrameLoaderClientQt::createPlugin): |
|
21378 (WebCore::FrameLoaderClientQt::redirectDataToPlugin): |
|
21379 (WebCore::FrameLoaderClientQt::createJavaAppletWidget): |
|
21380 (WebCore::FrameLoaderClientQt::overrideMediaType): |
|
21381 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h. |
|
21382 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp. |
|
21383 (WebCore::InspectorClientQt::inspectorDestroyed): |
|
21384 (WebCore::InspectorClientQt::createPage): |
|
21385 (WebCore::InspectorClientQt::showWindow): |
|
21386 (WebCore::InspectorClientQt::closeWindow): |
|
21387 (WebCore::InspectorClientQt::attachWindow): |
|
21388 (WebCore::InspectorClientQt::detachWindow): |
|
21389 (WebCore::InspectorClientQt::highlight): |
|
21390 (WebCore::InspectorClientQt::hideHighlight): |
|
21391 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h. |
|
21392 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp. |
|
21393 (WebKitFactory::WebKitFactory): |
|
21394 (WebKitFactory::~WebKitFactory): |
|
21395 (WebKitFactory::createPartObject): |
|
21396 (WebKitFactory::instance): |
|
21397 (WebKitFactory::ref): |
|
21398 (WebKitFactory::deref): |
|
21399 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h. |
|
21400 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp. |
|
21401 (WebKitPart::WebKitPart): |
|
21402 (WebKitPart::~WebKitPart): |
|
21403 (WebKitPart::openFile): |
|
21404 (WebKitPart::openUrl): |
|
21405 (WebKitPart::closeUrl): |
|
21406 (WebKitPart::parentPart): |
|
21407 (WebKitPart::frame): |
|
21408 (WebKitPart::initView): |
|
21409 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop. |
|
21410 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h. |
|
21411 (WebKitPart::): |
|
21412 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc. |
|
21413 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc. |
|
21414 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp. |
|
21415 (WebKitPartBrowserExtension::WebKitPartBrowserExtension): |
|
21416 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h. |
|
21417 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp. |
|
21418 (WebKitPartClient::WebKitPartClient): |
|
21419 (WebKitPartClient::~WebKitPartClient): |
|
21420 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h. |
|
21421 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp. |
|
21422 (WebKitPartInterface::WebKitPartInterface): |
|
21423 (WebKitPartInterface::~WebKitPartInterface): |
|
21424 (WebKitPartInterface::url): |
|
21425 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h. |
|
21426 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml. |
|
21427 |
|
21428 2007-10-02 Adam Treat <adam.treat@torchmobile.com> |
|
21429 |
|
21430 Reviewed by Eric Seidel. |
|
21431 |
|
21432 Open the requested url on the newly created window. |
|
21433 Implement createModalDialog and provide new API for this. |
|
21434 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me. |
|
21435 |
|
21436 * Api/qwebpage.cpp: |
|
21437 (QWebPage::createModalDialog): |
|
21438 * Api/qwebpage.h: |
|
21439 * WebCoreSupport/ChromeClientQt.cpp: |
|
21440 (WebCore::ChromeClientQt::createWindow): |
|
21441 (WebCore::ChromeClientQt::createModalDialog): |
|
21442 |
|
21443 2007-10-02 Lars Knoll <lars@trolltech.com> |
|
21444 |
|
21445 Reviewed by bdash. |
|
21446 |
|
21447 Add API to retrieve the frame name from QWebFrame. |
|
21448 Implement support for DRT::dumpChildrenAsText. |
|
21449 |
|
21450 * Api/qwebframe.cpp: |
|
21451 (QWebFrame::name): |
|
21452 * Api/qwebframe.h: |
|
21453 |
|
21454 2007-10-02 Lars Knoll <lars@trolltech.com> |
|
21455 |
|
21456 Reviewed by bdash. |
|
21457 |
|
21458 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher. |
|
21459 |
|
21460 * Api/qwebnetworkinterface.cpp: |
|
21461 (QWebNetworkManager::started): |
|
21462 (QWebNetworkManager::data): |
|
21463 (QWebNetworkManager::finished): |
|
21464 (QWebNetworkInterfacePrivate::sendFileData): |
|
21465 (QWebNetworkInterfacePrivate::parseDataUrl): |
|
21466 (WebCoreHttp::scheduleNextRequest): |
|
21467 (WebCoreHttp::onSslErrors): |
|
21468 * QtLauncher/main.cpp: |
|
21469 (main): |
|
21470 |
|
21471 2007-10-01 Lars Knoll <lars@trolltech.com> |
|
21472 |
|
21473 Reviewed by Eric. |
|
21474 |
|
21475 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient. |
|
21476 |
|
21477 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21478 (WebCore::FrameLoaderClientQt::makeDocumentView): |
|
21479 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): |
|
21480 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): |
|
21481 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): |
|
21482 (WebCore::FrameLoaderClientQt::objectContentType): |
|
21483 (WebCore::FrameLoaderClientQt::createPlugin): |
|
21484 |
|
21485 2007-09-30 George Staikos <staikos@kde.org> |
|
21486 |
|
21487 Qt build fix (OS X specific). |
|
21488 |
|
21489 * QtLauncher/QtLauncher.pro: |
|
21490 |
|
21491 2007-09-26 Mark Rowe <mrowe@apple.com> |
|
21492 |
|
21493 Qt build fix. |
|
21494 |
|
21495 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21496 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL. |
|
21497 |
|
21498 2007-09-25 David Kilzer <ddkilzer@webkit.org> |
|
21499 |
|
21500 Reviewed by Adam. |
|
21501 |
|
21502 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885 |
|
21503 LGPL'ed files contain incorrect FSF address |
|
21504 |
|
21505 * Api/qcookiejar.cpp: |
|
21506 * Api/qcookiejar.h: |
|
21507 * Api/qwebframe.cpp: |
|
21508 * Api/qwebframe.h: |
|
21509 * Api/qwebframe_p.h: |
|
21510 * Api/qwebhistoryinterface.cpp: |
|
21511 * Api/qwebhistoryinterface.h: |
|
21512 * Api/qwebkitglobal.h: |
|
21513 * Api/qwebnetworkinterface.cpp: |
|
21514 * Api/qwebnetworkinterface.h: |
|
21515 * Api/qwebnetworkinterface_p.h: |
|
21516 * Api/qwebobjectplugin.cpp: |
|
21517 * Api/qwebobjectplugin.h: |
|
21518 * Api/qwebobjectpluginconnector.cpp: |
|
21519 * Api/qwebobjectpluginconnector.h: |
|
21520 * Api/qwebpage.cpp: |
|
21521 * Api/qwebpage.h: |
|
21522 * Api/qwebpage_p.h: |
|
21523 * Api/qwebpagehistory.cpp: |
|
21524 * Api/qwebpagehistory.h: |
|
21525 * Api/qwebsettings.cpp: |
|
21526 * Api/qwebsettings.h: |
|
21527 * WebCoreSupport/EditCommandQt.cpp: |
|
21528 * WebCoreSupport/EditCommandQt.h: |
|
21529 |
|
21530 2007-09-25 Adam Treat <adam.treat@torchmobile.com> |
|
21531 |
|
21532 Reviewed by Simon and Lars. |
|
21533 |
|
21534 Modifies the addToJSWindowObject to bind js objects using the built-in |
|
21535 kjs_window class. Make sure to protect the created runtime object from |
|
21536 garbage collection. |
|
21537 |
|
21538 Adds a signal to QWebFrame to notify clients of the beginning of a |
|
21539 provisional load. DRT needs this. |
|
21540 |
|
21541 * Api/qwebframe.cpp: |
|
21542 (QWebFrame::addToJSWindowObject): |
|
21543 * Api/qwebframe.h: |
|
21544 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21545 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad): |
|
21546 |
|
21547 2007-09-10 Qing Zhao <qing@staikos.net> |
|
21548 |
|
21549 Reviewed by George Staikos. |
|
21550 |
|
21551 Don't re-encode urls, resulting in double encoding. Fixes login to |
|
21552 GMail. |
|
21553 |
|
21554 * Api/qwebnetworkinterface.cpp: |
|
21555 (QWebNetworkRequestPrivate::init): |
|
21556 (QWebNetworkManager::started): |
|
21557 |
|
21558 2007-09-08 Mark Rowe <mrowe@apple.com> |
|
21559 |
|
21560 Qt build fix. Move stub method implementations to the right class. |
|
21561 |
|
21562 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21563 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation): |
|
21564 |
|
21565 2007-09-08 Brady Eidson <beidson@apple.com> |
|
21566 |
|
21567 YABF (Yet Another Build Fix) |
|
21568 |
|
21569 * Api/qwebsettings.cpp: |
|
21570 (QWebSettings::iconDatabaseEnabled): |
|
21571 |
|
21572 2007-09-08 Brady Eidson <beidson@apple.com> |
|
21573 |
|
21574 Better build fix |
|
21575 |
|
21576 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21577 (WebCore::FrameLoaderClient::registerForIconNotification): |
|
21578 * WebCoreSupport/FrameLoaderClientQt.h: |
|
21579 |
|
21580 2007-09-08 Brady Eidson <beidson@apple.com> |
|
21581 |
|
21582 Build fix |
|
21583 |
|
21584 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21585 (WebCore::FrameLoaderClient::registerForIconNotification): |
|
21586 * WebCoreSupport/FrameLoaderClientQt.h: |
|
21587 |
|
21588 2007-09-05 Geoffrey Garen <ggaren@apple.com> |
|
21589 |
|
21590 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher. |
|
21591 |
|
21592 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no |
|
21593 memory cache, or a very tiny one |
|
21594 |
|
21595 Keep the Qt build working with an empty stub. |
|
21596 |
|
21597 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21598 (WebCore::FrameLoaderClient::didPerformFirstNavigation): |
|
21599 * WebCoreSupport/FrameLoaderClientQt.h: |
|
21600 |
|
21601 2007-09-07 George Staikos <staikos@kde.org> |
|
21602 |
|
21603 Fix typo. |
|
21604 |
|
21605 * Api/qwebpage.cpp: |
|
21606 (QWebPage::onLoadProgressChanged): |
|
21607 |
|
21608 2007-09-07 Qing Zhao <qing@staikos.net> |
|
21609 |
|
21610 Reviewed by Anders and George. |
|
21611 |
|
21612 Export page size and load progress in bytes. |
|
21613 |
|
21614 * Api/qwebpage.cpp: |
|
21615 (QWebPage::QWebPage): |
|
21616 (QWebPage::onLoadProgressChanged): |
|
21617 (QWebPage::totalBytes): |
|
21618 (QWebPage::bytesReceived): |
|
21619 * Api/qwebpage.h: |
|
21620 * Api/qwebpage_p.h: |
|
21621 |
|
21622 2007-09-06 George Staikos <staikos@kde.org> |
|
21623 |
|
21624 Reviewed by Anders. |
|
21625 |
|
21626 Make popup windows work again. |
|
21627 |
|
21628 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21629 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
21630 |
|
21631 2007-09-01 Oliver Hunt <oliver@apple.com> |
|
21632 |
|
21633 Reviewed by Sam. |
|
21634 |
|
21635 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions |
|
21636 |
|
21637 EditorClient::setInputMethodState stub |
|
21638 |
|
21639 * WebCoreSupport/EditorClientQt.cpp: |
|
21640 (WebCore::EditorClientQt::setInputMethodState): |
|
21641 * WebCoreSupport/EditorClientQt.h: |
|
21642 |
|
21643 2007-08-30 Simon Hausmann <hausmann@kde.org> |
|
21644 |
|
21645 Reviewed by Zack. |
|
21646 |
|
21647 Use QKeySequence::StandardKey for the page wise scrolling shortcuts. |
|
21648 |
|
21649 * Api/qwebpage.cpp: |
|
21650 (QWebPage::keyPressEvent): |
|
21651 |
|
21652 2007-08-30 Simon Hausmann <hausmann@kde.org> |
|
21653 |
|
21654 Reviewed by Zack. |
|
21655 |
|
21656 When scrolling with the keyboard don't call update() on the entire widget. |
|
21657 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt |
|
21658 on a value change. |
|
21659 |
|
21660 * Api/qwebpage.cpp: |
|
21661 (QWebPage::keyPressEvent): |
|
21662 |
|
21663 2007-08-30 Simon Hausmann <hausmann@kde.org> |
|
21664 |
|
21665 Reviewed by Zack. |
|
21666 |
|
21667 Fix scrolling with the keyboard if only one of the two scrollbars is visible. |
|
21668 |
|
21669 * Api/qwebpage.cpp: |
|
21670 (QWebPage::keyPressEvent): |
|
21671 |
|
21672 2007-08-29 Simon Hausmann <hausmann@kde.org> |
|
21673 |
|
21674 Reviewed by Zack. |
|
21675 |
|
21676 Fix compilation. |
|
21677 |
|
21678 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21679 (WebCore::FrameLoaderClientQt::objectContentType): |
|
21680 |
|
21681 2007-08-19 Mike Hommey <mh+webkit@glandium.org> |
|
21682 |
|
21683 Reviewed by George Staikos. |
|
21684 |
|
21685 Don't export ICO symbols. |
|
21686 |
|
21687 * Plugins/Plugins.pro: |
|
21688 |
|
21689 2007-08-19 George Staikos <staikos@kde.org> |
|
21690 |
|
21691 Fix compilation. |
|
21692 |
|
21693 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21694 (WebCore::FrameLoaderClientQt::createPlugin): |
|
21695 * WebCoreSupport/FrameLoaderClientQt.h: |
|
21696 |
|
21697 2007-08-10 Lars Knoll <lars@trolltech.com> |
|
21698 |
|
21699 Reviewed and landed by Simon. |
|
21700 |
|
21701 Limit the set of properties from the computed style to apply to Qt |
|
21702 plugin widgets, as only a few of them make sense. |
|
21703 |
|
21704 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21705 (WebCore::): |
|
21706 |
|
21707 2007-08-10 Lars Knoll <lars@trolltech.com> |
|
21708 |
|
21709 Reviewed by Simon. |
|
21710 |
|
21711 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin. |
|
21712 |
|
21713 * Api/qwebpage.cpp: |
|
21714 (QWebPage::createPlugin): |
|
21715 * Api/qwebpage.h: |
|
21716 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21717 (WebCore::FrameLoaderClientQt::objectContentType): |
|
21718 (WebCore::FrameLoaderClientQt::createPlugin): |
|
21719 |
|
21720 2007-08-10 Simon Hausmann <hausmann@kde.org> |
|
21721 |
|
21722 Reviewed by Lars. |
|
21723 |
|
21724 Added support for network jobs from Qt resources using the qrc protocol. |
|
21725 |
|
21726 * Api/qwebnetworkinterface.cpp: |
|
21727 (QWebNetworkInterface::addJob): |
|
21728 |
|
21729 2007-08-10 Simon Hausmann <hausmann@kde.org> |
|
21730 |
|
21731 Reviewed by Lars. |
|
21732 |
|
21733 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also |
|
21734 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute. |
|
21735 |
|
21736 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21737 (WebCore::FrameLoaderClientQt::objectContentType): |
|
21738 (WebCore::): |
|
21739 (WebCore::FrameLoaderClientQt::createPlugin): |
|
21740 |
|
21741 2007-08-10 Simon Hausmann <hausmann@kde.org> |
|
21742 |
|
21743 Reviewed by Lars. |
|
21744 |
|
21745 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin" |
|
21746 and fixed widget embedding by setting the right QWidget parent. |
|
21747 |
|
21748 * Api/qwebpage.cpp: |
|
21749 (QWebPage::createPlugin): |
|
21750 * Api/qwebpage.h: |
|
21751 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21752 (WebCore::FrameLoaderClientQt::objectContentType): |
|
21753 (WebCore::FrameLoaderClientQt::createPlugin): |
|
21754 |
|
21755 2007-08-02 George Staikos <staikos@kde.org> |
|
21756 |
|
21757 Reviewed by Simon. |
|
21758 |
|
21759 Add an interface for the useragent string. |
|
21760 |
|
21761 * Api/qwebpage.cpp: |
|
21762 (QWebPage::userAgentStringForUrl): |
|
21763 * Api/qwebpage.h: |
|
21764 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21765 (WebCore::FrameLoaderClientQt::userAgent): |
|
21766 |
|
21767 2007-08-01 Adam Treat <adam.treat@torchmobile.com> |
|
21768 |
|
21769 Reviewed by George Staikos. |
|
21770 |
|
21771 Add an interface to manage global history for clients |
|
21772 |
|
21773 * Api/headers.pri: |
|
21774 * Api/qwebhistoryinterface.cpp: Added. |
|
21775 (WebCore::historyContains): |
|
21776 (gCleanupInterface): |
|
21777 (QWebHistoryInterface::setDefaultInterface): |
|
21778 (QWebHistoryInterface::defaultInterface): |
|
21779 (QWebHistoryInterface::QWebHistoryInterface): |
|
21780 * Api/qwebhistoryinterface.h: Added. |
|
21781 |
|
21782 2007-07-30 Adam Treat <adam.treat@torchmobile.com> |
|
21783 |
|
21784 Fix build. |
|
21785 |
|
21786 * WebCoreSupport/EditorClientQt.cpp: |
|
21787 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete): |
|
21788 * WebCoreSupport/EditorClientQt.h: |
|
21789 |
|
21790 2007-07-30 Simon Hausmann <hausmann@kde.org> |
|
21791 |
|
21792 Reviewed by Lars. |
|
21793 |
|
21794 Link QtLauncher into $$OUTPUT_DIR/bin |
|
21795 |
|
21796 * QtLauncher/QtLauncher.pro: |
|
21797 |
|
21798 2007-07-29 Adam Treat <adam.treat@torchmobile.com> |
|
21799 |
|
21800 Reviewed by George Staikos. |
|
21801 |
|
21802 Change QWebPage::paintEvent to draw using the individual rects provided |
|
21803 via the QRegion and set the widget to use opaque paint events. |
|
21804 |
|
21805 These changes greatly reduce the cpu load as we are no longer painting the |
|
21806 entire page for each 1px scroll :P |
|
21807 |
|
21808 * Api/qwebframe.cpp: |
|
21809 (QWebFrame::render): |
|
21810 * Api/qwebpage.cpp: |
|
21811 (QWebPage::QWebPage): |
|
21812 (QWebPage::paintEvent): |
|
21813 * WebCoreSupport/ChromeClientQt.cpp: |
|
21814 (WebCore::ChromeClientQt::addToDirtyRegion): |
|
21815 |
|
21816 2007-07-29 Adam Treat <adam.treat@torchmobile.com> |
|
21817 |
|
21818 Reviewed by Alexey Proskuryakov. |
|
21819 |
|
21820 Respect the margins when creating frames. |
|
21821 Set the scroll mode to always off like we did before the rendered |
|
21822 frames patch and the other ports do now. |
|
21823 |
|
21824 * Api/qwebframe.cpp: |
|
21825 (QWebFramePrivate::init): |
|
21826 |
|
21827 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org> |
|
21828 |
|
21829 Reviewed by Mark. |
|
21830 |
|
21831 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working. |
|
21832 |
|
21833 * QtLauncher/QtLauncher.pro: |
|
21834 |
|
21835 2007-07-27 Simon Hausmann <hausmann@kde.org> |
|
21836 |
|
21837 Reviewed by Lars. |
|
21838 |
|
21839 Fix compilation with MSVC. |
|
21840 |
|
21841 * Api/qwebpagehistory.cpp: |
|
21842 (QWebPageHistory::operator=): |
|
21843 * Api/qwebpagehistory.h: |
|
21844 * Api/qwebsettings.cpp: |
|
21845 (QWebSettings::operator=): |
|
21846 * Api/qwebsettings.h: |
|
21847 |
|
21848 2007-07-26 Qing Zhao <qing@staikos.net> |
|
21849 |
|
21850 Reviewed by George Staikos. |
|
21851 |
|
21852 Add a signal for history notification. |
|
21853 |
|
21854 * Api/qwebpage.h: |
|
21855 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21856 |
|
21857 2007-07-24 Adam Treat <adam.treat@torchmobile.com> |
|
21858 |
|
21859 Reviewed by Niko and Lars. |
|
21860 |
|
21861 These are no longer necessary or used. |
|
21862 |
|
21863 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21864 * WebCoreSupport/FrameLoaderClientQt.h: |
|
21865 |
|
21866 2007-07-20 Adam Treat <adam@staikos.net> |
|
21867 |
|
21868 Reviewed by George Staikos. |
|
21869 |
|
21870 Add a signal for first layout and add the action type for the policy |
|
21871 function. |
|
21872 |
|
21873 * Api/qwebpage.cpp: |
|
21874 (QWebPagePrivate::navigationRequested): |
|
21875 (QWebPage::navigationRequested): |
|
21876 * Api/qwebpage.h: |
|
21877 * Api/qwebpage_p.h: |
|
21878 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21879 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout): |
|
21880 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
21881 |
|
21882 2007-07-19 Adam Treat <adam.treat@torchmobile.com> |
|
21883 |
|
21884 Reviewed by George. |
|
21885 |
|
21886 Do a recursive layout on the frame's children. This fixes a |
|
21887 segfault found when rendering some framesets. |
|
21888 |
|
21889 * Api/qwebframe.cpp: |
|
21890 (QWebFrame::render): |
|
21891 (QWebFrame::layout): |
|
21892 * Api/qwebframe.h: |
|
21893 |
|
21894 2007-07-18 Timothy Hatcher <timothy@apple.com> |
|
21895 |
|
21896 Reviewed by Adam. |
|
21897 |
|
21898 Make the Page with the now required InspectorClient. |
|
21899 |
|
21900 * Api/qwebpage.cpp: |
|
21901 (QWebPagePrivate::QWebPagePrivate): |
|
21902 * WebKitPart/WebKitPart.cpp: |
|
21903 (WebKitPart::initView): |
|
21904 |
|
21905 2007-07-18 Sam Weinig <sam@webkit.org> |
|
21906 |
|
21907 Build fix. |
|
21908 |
|
21909 * Api/qwebnetworkinterface.cpp: |
|
21910 (QWebNetworkManager::started): |
|
21911 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21912 (WebCore::FrameLoaderClientQt::canShowMIMEType): |
|
21913 (WebCore::FrameLoaderClientQt::objectContentType): |
|
21914 |
|
21915 2007-07-18 Lars Knoll <lars@trolltech.com> |
|
21916 |
|
21917 Reviewed by Zack & Simon |
|
21918 |
|
21919 Reallow setting of scrollbar policies on QWebFrame. |
|
21920 |
|
21921 * Api/qwebframe.cpp: |
|
21922 (QWebFrame::verticalScrollBarPolicy): |
|
21923 (QWebFrame::setVerticalScrollBarPolicy): |
|
21924 (QWebFrame::horizontalScrollBarPolicy): |
|
21925 * Api/qwebframe.h: |
|
21926 |
|
21927 2007-07-17 Adam Treat <adam.treat@torchmobile.com> |
|
21928 |
|
21929 Build fix. |
|
21930 |
|
21931 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21932 (WebCore::FrameLoaderClientQt::createFrame): |
|
21933 |
|
21934 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org> |
|
21935 |
|
21936 Blind build fix for Qt after r24366 by adding the additional |
|
21937 WebCore::ResourceRequest& parameter to the download method. |
|
21938 |
|
21939 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
21940 (WebCore::FrameLoaderClientQt::download): |
|
21941 * WebCoreSupport/FrameLoaderClientQt.h: |
|
21942 |
|
21943 2007-07-17 Adam Roben <aroben@apple.com> |
|
21944 |
|
21945 Remove ContextMenuClientQt::shouldIncludeInspectElementItem |
|
21946 |
|
21947 Reviewed by Tim. |
|
21948 |
|
21949 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
21950 * WebCoreSupport/ContextMenuClientQt.h: |
|
21951 |
|
21952 2007-07-16 Adam Roben <aroben@apple.com> |
|
21953 |
|
21954 Updated ChromeClientQt for ChromeClient changes. |
|
21955 |
|
21956 Reviewed by Darin Adler. |
|
21957 |
|
21958 * WebCoreSupport/ChromeClientQt.cpp: |
|
21959 (WebCore::ChromeClientQt::print): Added a Frame* parameter. |
|
21960 * WebCoreSupport/ChromeClientQt.h: Ditto. |
|
21961 |
|
21962 2007-07-13 Mark Rowe <mrowe@apple.com> |
|
21963 |
|
21964 Reviewed by Mitz. |
|
21965 |
|
21966 Build fix. Stub out ChromeClientQt::print. |
|
21967 |
|
21968 * WebCoreSupport/ChromeClientQt.cpp: |
|
21969 (WebCore::ChromeClientQt::print): |
|
21970 * WebCoreSupport/ChromeClientQt.h: |
|
21971 |
|
21972 2007-07-12 George Staikos <staikos@kde.org> |
|
21973 |
|
21974 Qt build fix for assertions. |
|
21975 |
|
21976 * Api/qwebnetworkinterface.cpp: |
|
21977 (QWebNetworkManager::add): |
|
21978 |
|
21979 2007-07-12 George Staikos <staikos@kde.org> |
|
21980 |
|
21981 Qt build fix. |
|
21982 |
|
21983 * Api/qwebnetworkinterface.cpp: |
|
21984 (QWebNetworkManager::add): |
|
21985 |
|
21986 2007-07-10 Mark Rowe <mrowe@apple.com> |
|
21987 |
|
21988 Qt build fix after r24126. |
|
21989 |
|
21990 * Api/qwebframe.cpp: |
|
21991 (QWebFrame::evaluateJavaScript): |
|
21992 |
|
21993 2007-07-10 Eli Fidler <eli@staikos.net> |
|
21994 |
|
21995 Reviewed by George Staikos. |
|
21996 |
|
21997 Properly url-decode data urls. |
|
21998 |
|
21999 * Api/qwebnetworkinterface.cpp: |
|
22000 (QWebNetworkInterfacePrivate::parseDataUrl): |
|
22001 |
|
22002 2007-07-09 Adam Treat <adam@staikos.net> |
|
22003 |
|
22004 Reviewed by George Staikos. |
|
22005 |
|
22006 Convert QWebFrame from a QFrame to a pure QObject to eliminate all |
|
22007 traces of widgets. |
|
22008 |
|
22009 * Api/qwebframe.cpp: |
|
22010 (QWebFramePrivate::init): |
|
22011 (QWebFramePrivate::parentFrame): |
|
22012 (QWebFrame::QWebFrame): |
|
22013 (QWebFrame::render): |
|
22014 (QWebFrame::pos): |
|
22015 (QWebFrame::geometry): |
|
22016 (QWebFrame::evaluateJavaScript): |
|
22017 (QWebFrame::mouseMoveEvent): |
|
22018 (QWebFrame::mousePressEvent): |
|
22019 (QWebFrame::mouseDoubleClickEvent): |
|
22020 (QWebFrame::mouseReleaseEvent): |
|
22021 (QWebFrame::wheelEvent): |
|
22022 * Api/qwebframe.h: |
|
22023 * Api/qwebobjectpluginconnector.cpp: |
|
22024 (QWebObjectPluginConnector::pluginParentWidget): |
|
22025 * Api/qwebpage.cpp: |
|
22026 (QWebPagePrivate::QWebPagePrivate): |
|
22027 (QWebPagePrivate::createMainFrame): |
|
22028 (QWebPage::QWebPage): |
|
22029 (QWebPage::javaScriptAlert): |
|
22030 (QWebPage::javaScriptConfirm): |
|
22031 (QWebPage::javaScriptPrompt): |
|
22032 (QWebPage::resizeEvent): |
|
22033 (QWebPage::paintEvent): |
|
22034 (QWebPage::mouseMoveEvent): |
|
22035 (QWebPage::mousePressEvent): |
|
22036 (QWebPage::mouseDoubleClickEvent): |
|
22037 (QWebPage::mouseReleaseEvent): |
|
22038 (QWebPage::wheelEvent): |
|
22039 (QWebPage::keyPressEvent): |
|
22040 (QWebPage::keyReleaseEvent): |
|
22041 (QWebPage::focusInEvent): |
|
22042 (QWebPage::focusOutEvent): |
|
22043 (QWebPage::focusNextPrevChild): |
|
22044 (QWebPage::chooseFile): |
|
22045 * Api/qwebpage.h: |
|
22046 * Api/qwebpage_p.h: |
|
22047 * WebCoreSupport/ChromeClientQt.cpp: |
|
22048 (WebCore::ChromeClientQt::addToDirtyRegion): |
|
22049 |
|
22050 2007-07-09 George Staikos <staikos@kde.org> |
|
22051 |
|
22052 Fix a minor memory leak in the loader. |
|
22053 |
|
22054 * Api/qwebnetworkinterface.cpp: |
|
22055 (gCleanupInterface): |
|
22056 (QWebNetworkInterface::setDefaultInterface): |
|
22057 (QWebNetworkInterface::defaultInterface): |
|
22058 |
|
22059 2007-07-09 George Staikos <staikos@kde.org> |
|
22060 |
|
22061 Fix a massive memory leak in the loader. |
|
22062 |
|
22063 * Api/qwebnetworkinterface.cpp: |
|
22064 (QWebNetworkManager::httpConnectionClosed): |
|
22065 (WebCoreHttp::~WebCoreHttp): |
|
22066 |
|
22067 2007-07-09 George Staikos <staikos@kde.org> |
|
22068 |
|
22069 Reviewed by Simon. |
|
22070 |
|
22071 Rework much of the HTTP stuff to make it more stable, and add SSL and |
|
22072 proxy support. Major memory leak also discovered but it needs more |
|
22073 research as the obvious fix causes crashes. |
|
22074 |
|
22075 * Api/qwebnetworkinterface.cpp: |
|
22076 (QWebNetworkManager::add): |
|
22077 (QWebNetworkManager::started): |
|
22078 (QWebNetworkManager::data): |
|
22079 (WebCoreHttp::WebCoreHttp): |
|
22080 (WebCoreHttp::~WebCoreHttp): |
|
22081 (WebCoreHttp::request): |
|
22082 (WebCoreHttp::scheduleNextRequest): |
|
22083 (WebCoreHttp::getConnection): |
|
22084 (WebCoreHttp::onResponseHeaderReceived): |
|
22085 (WebCoreHttp::onReadyRead): |
|
22086 (WebCoreHttp::onRequestFinished): |
|
22087 (WebCoreHttp::onDone): |
|
22088 (WebCoreHttp::onStateChanged): |
|
22089 (WebCoreHttp::onSslErrors): |
|
22090 (WebCoreHttp::onAuthenticationRequired): |
|
22091 (WebCoreHttp::onProxyAuthenticationRequired): |
|
22092 * Api/qwebnetworkinterface.h: |
|
22093 * Api/qwebnetworkinterface_p.h: |
|
22094 (WebCore::WebCoreHttp::HttpConnection::HttpConnection): |
|
22095 |
|
22096 2007-07-06 Adam Treat <adam@staikos.net> |
|
22097 |
|
22098 Reviewed by George Staikos. |
|
22099 |
|
22100 Convert QWebFrame to a QFrame from a scroll area. |
|
22101 |
|
22102 * Api/qwebframe.cpp: |
|
22103 (QWebFramePrivate::init): |
|
22104 (QWebFramePrivate::parentFrame): |
|
22105 (QWebFramePrivate::horizontalScrollBar): |
|
22106 (QWebFramePrivate::verticalScrollBar): |
|
22107 (QWebFrame::QWebFrame): |
|
22108 (QWebFrame::resizeEvent): |
|
22109 (QWebFrame::suppressScrollbars): |
|
22110 (QWebFrame::paintEvent): |
|
22111 (QWebFrame::mouseMoveEvent): |
|
22112 (QWebFrame::mousePressEvent): |
|
22113 (QWebFrame::mouseDoubleClickEvent): |
|
22114 (QWebFrame::mouseReleaseEvent): |
|
22115 (QWebFrame::wheelEvent): |
|
22116 (QWebFrame::keyPressEvent): |
|
22117 (QWebFrame::focusInEvent): |
|
22118 (QWebFrame::focusOutEvent): |
|
22119 (QWebFrame::evaluateJavaScript): |
|
22120 * Api/qwebframe.h: |
|
22121 * Api/qwebframe_p.h: |
|
22122 * Api/qwebobjectpluginconnector.cpp: |
|
22123 (QWebObjectPluginConnector::pluginParentWidget): |
|
22124 |
|
22125 2007-07-04 Adam Roben <aroben@apple.com> |
|
22126 |
|
22127 Added a stub for ChromeClientQt::setToolTip |
|
22128 |
|
22129 Reviewed by Sam. |
|
22130 |
|
22131 * WebCoreSupport/ChromeClientQt.cpp: |
|
22132 (WebCore::ChromeClientQt::setToolTip): |
|
22133 * WebCoreSupport/ChromeClientQt.h: |
|
22134 |
|
22135 2007-07-04 Adam Roben <aroben@apple.com> |
|
22136 |
|
22137 Added a stub for ChromeClientQt::mouseDidMoveOverElement |
|
22138 |
|
22139 Reviewed by Sam. |
|
22140 |
|
22141 * WebCoreSupport/ChromeClientQt.cpp: |
|
22142 (WebCore::ChromeClientQt::mouseDidMoveOverElement): |
|
22143 * WebCoreSupport/ChromeClientQt.h: |
|
22144 |
|
22145 2007-06-28 Simon Hausmann <hausmann@kde.org> |
|
22146 |
|
22147 Reviewed by Zack. |
|
22148 |
|
22149 Propagate mouse double click events from Qt to WebCore. |
|
22150 |
|
22151 * Api/qwebframe.cpp: |
|
22152 (QWebFrame::mouseDoubleClickEvent): |
|
22153 * Api/qwebframe.h: |
|
22154 |
|
22155 2007-06-28 Simon Hausmann <hausmann@kde.org> |
|
22156 |
|
22157 Reviewed by Zack. |
|
22158 |
|
22159 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal. |
|
22160 |
|
22161 * Api/qwebpage.cpp: |
|
22162 (QWebPage::canCut): |
|
22163 (QWebPage::canCopy): |
|
22164 (QWebPage::canPaste): |
|
22165 (QWebPage::cut): |
|
22166 (QWebPage::copy): |
|
22167 (QWebPage::paste): |
|
22168 * Api/qwebpage.h: |
|
22169 * WebCoreSupport/EditorClientQt.cpp: |
|
22170 |
|
22171 2007-06-27 George Staikos <staikos@kde.org> |
|
22172 |
|
22173 Compile with various Qt configurations. |
|
22174 |
|
22175 * Api/qwebnetworkinterface.cpp: |
|
22176 (WebCoreHttp::scheduleNextRequest): |
|
22177 * Api/qwebpage.cpp: |
|
22178 (QWebPage::javaScriptPrompt): |
|
22179 (QWebPage::dragEnterEvent): |
|
22180 (QWebPage::dragLeaveEvent): |
|
22181 (QWebPage::dragMoveEvent): |
|
22182 (QWebPage::dropEvent): |
|
22183 (QWebPage::chooseFile): |
|
22184 * Api/qwebpage.h: |
|
22185 * Api/qwebpage_p.h: |
|
22186 * WebCoreSupport/DragClientQt.cpp: |
|
22187 (WebCore::DragClientQt::startDrag): |
|
22188 |
|
22189 2007-06-27 Eli Fidler <eli@staikos.net> |
|
22190 |
|
22191 Reviewed by George Staikos. |
|
22192 |
|
22193 Check for QT_NO_IMAGE_TEXT and compile either way. |
|
22194 |
|
22195 * Plugins/ICOHandler.cpp: |
|
22196 (ICOHandler::read): |
|
22197 |
|
22198 2007-06-27 Eli Fidler <eli@staikos.net> |
|
22199 |
|
22200 Reviewed by George Staikos. |
|
22201 |
|
22202 Remove QT3_SUPPORT dependency in the ICO plugin. |
|
22203 |
|
22204 * Plugins/ICOHandler.cpp: |
|
22205 (IcoHeader::loadFromDIB): |
|
22206 |
|
22207 2007-06-25 George Staikos <staikos@kde.org> |
|
22208 |
|
22209 Reviewed by Zack. |
|
22210 |
|
22211 Start to add proxy and SSL support to WebKit Qt. Proxy works |
|
22212 unauthenticated. Added hooks to be able to add authentication. |
|
22213 Also fixes some network errors. |
|
22214 |
|
22215 * Api/qwebnetworkinterface.cpp: |
|
22216 (QWebNetworkRequestPrivate::setURL): |
|
22217 (QWebNetworkJob::frame): |
|
22218 (WebCoreHttp::WebCoreHttp): |
|
22219 (WebCoreHttp::scheduleNextRequest): |
|
22220 (WebCoreHttp::onRequestFinished): |
|
22221 (WebCoreHttp::onDone): |
|
22222 (WebCoreHttp::onSslErrors): |
|
22223 (WebCoreHttp::onAuthenticationRequired): |
|
22224 (WebCoreHttp::onProxyAuthenticationRequired): |
|
22225 * Api/qwebnetworkinterface.h: |
|
22226 * Api/qwebnetworkinterface_p.h: |
|
22227 * Api/qwebpage.cpp: |
|
22228 (QWebPage::setNetworkProxy): |
|
22229 (QWebPage::networkProxy): |
|
22230 * Api/qwebpage.h: |
|
22231 * Api/qwebpage_p.h: |
|
22232 |
|
22233 2007-06-21 Adam Treat <adam@staikos.net> |
|
22234 |
|
22235 Reviewed by George Staikos. |
|
22236 |
|
22237 Implement the default resources on Qt. |
|
22238 |
|
22239 * Api/qwebpage.cpp: |
|
22240 (QWebPage::icon): |
|
22241 * Api/qwebsettings.cpp: |
|
22242 (QWebSettings::setWebGraphic): |
|
22243 (QWebSettings::webGraphic): |
|
22244 (loadResourcePixmap): |
|
22245 * Api/qwebsettings.h: |
|
22246 |
|
22247 2007-06-15 Adam Treat <adam@staikos.net> |
|
22248 |
|
22249 Reviewed by George Staikos. |
|
22250 |
|
22251 Add ICO support to the Qt build. |
|
22252 |
|
22253 * Api/qwebpage.cpp: |
|
22254 (QWebPage::icon): |
|
22255 * Api/qwebpage.h: |
|
22256 * Api/qwebsettings.cpp: |
|
22257 (QWebSettings::setIconDatabaseEnabled): |
|
22258 (QWebSettings::iconDatabaseEnabled): |
|
22259 * Api/qwebsettings.h: |
|
22260 * Plugins: Added. |
|
22261 * Plugins/ICOHandler.cpp: Added. |
|
22262 (IcoHeader::operator >>): |
|
22263 (IcoHeader::BMP_INFOHDR::): |
|
22264 (IcoHeader::operator<<): |
|
22265 (IcoHeader::LessDifference::LessDifference): |
|
22266 (IcoHeader::LessDifference::operator ()): |
|
22267 (IcoHeader::loadFromDIB): |
|
22268 (ICOHandler::ICOHandler): |
|
22269 (ICOHandler::canRead): |
|
22270 (ICOHandler::read): |
|
22271 (ICOHandler::write): |
|
22272 (ICOHandler::name): |
|
22273 (ICOPlugin::keys): |
|
22274 (ICOPlugin::capabilities): |
|
22275 (ICOPlugin::create): |
|
22276 * Plugins/ICOHandler.h: Added. |
|
22277 * Plugins/Plugins.pro: Added. |
|
22278 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22279 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon): |
|
22280 |
|
22281 2007-06-15 George Staikos <staikos@kde.org> |
|
22282 |
|
22283 Fixing the Qt build. |
|
22284 |
|
22285 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
22286 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem): |
|
22287 * WebCoreSupport/ContextMenuClientQt.h: |
|
22288 |
|
22289 2007-06-20 Adam Roben <aroben@apple.com> |
|
22290 |
|
22291 More speculative Qt build fixes. |
|
22292 |
|
22293 Add a stub implementation of InspectorClientQt. |
|
22294 |
|
22295 * WebCoreSupport/InspectorClientQt.cpp: Added. |
|
22296 (WebCore::InspectorClientQt::inspectorDestroyed): |
|
22297 (WebCore::InspectorClientQt::createPage): |
|
22298 (WebCore::InspectorClientQt::showWindow): |
|
22299 (WebCore::InspectorClientQt::closeWindow): |
|
22300 (WebCore::InspectorClientQt::attachWindow): |
|
22301 (WebCore::InspectorClientQt::detachWindow): |
|
22302 (WebCore::InspectorClientQt::highlight): |
|
22303 (WebCore::InspectorClientQt::hideHighlight): |
|
22304 * WebCoreSupport/InspectorClientQt.h: Added. |
|
22305 |
|
22306 2007-06-19 George Staikos <staikos@kde.org> |
|
22307 |
|
22308 Reviewed by Tim Hatcher. |
|
22309 |
|
22310 Add https support. |
|
22311 |
|
22312 * Api/qwebnetworkinterface.cpp: |
|
22313 (QWebNetworkInterface::addJob): |
|
22314 (QWebNetworkInterface::cancelJob): |
|
22315 (WebCoreHttp::WebCoreHttp): |
|
22316 |
|
22317 2007-06-14 George Staikos <staikos@kde.org> |
|
22318 |
|
22319 Reviewed by Lars. |
|
22320 |
|
22321 Add evaluateJavaScript() method. |
|
22322 |
|
22323 * Api/qwebframe.cpp: |
|
22324 (QWebFrame::evaluateJavaScript): |
|
22325 * Api/qwebframe.h: |
|
22326 |
|
22327 2007-06-14 George Staikos <staikos@kde.org> |
|
22328 |
|
22329 Reviewed by Lars. |
|
22330 |
|
22331 Implement most of the editing commands, better focus handling, fix some |
|
22332 keyboard and mouse handling, and add keyboard navigation. May be |
|
22333 refactored later as the key switches are ugly. |
|
22334 |
|
22335 * Api/qwebframe.cpp: |
|
22336 (QWebFramePrivate::init): |
|
22337 (QWebFrame::mousePressEvent): |
|
22338 (QWebFrame::mouseReleaseEvent): |
|
22339 (QWebFrame::wheelEvent): |
|
22340 (QWebFrame::keyPressEvent): |
|
22341 (QWebFrame::keyReleaseEvent): |
|
22342 (QWebFrame::focusInEvent): |
|
22343 (QWebFrame::focusOutEvent): |
|
22344 (QWebFrame::focusNextPrevChild): |
|
22345 * Api/qwebframe.h: |
|
22346 * Api/qwebframe_p.h: |
|
22347 * WebCoreSupport/EditorClientQt.cpp: |
|
22348 (WebCore::EditorClientQt::handleKeypress): |
|
22349 |
|
22350 2007-06-14 George Staikos <staikos@kde.org> |
|
22351 |
|
22352 Reviewed by Lars. |
|
22353 |
|
22354 Implement all of the Javascript dialogs and file chooser. |
|
22355 Also makes the statusbar virtual into a signal and shuffles some |
|
22356 virtuals around a bit. The helper in FrameLoaderClientQt may go away |
|
22357 shortly. |
|
22358 |
|
22359 * Api/qwebpage.cpp: |
|
22360 (QWebPagePrivate::QWebPagePrivate): |
|
22361 (QWebPage::javaScriptAlert): |
|
22362 (QWebPage::javaScriptConfirm): |
|
22363 (QWebPage::javaScriptPrompt): |
|
22364 (QWebPage::chooseFile): |
|
22365 * Api/qwebpage.h: |
|
22366 * WebCoreSupport/ChromeClientQt.cpp: |
|
22367 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel): |
|
22368 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel): |
|
22369 (WebCore::ChromeClientQt::runJavaScriptAlert): |
|
22370 (WebCore::ChromeClientQt::runJavaScriptConfirm): |
|
22371 (WebCore::ChromeClientQt::runJavaScriptPrompt): |
|
22372 (WebCore::ChromeClientQt::setStatusbarText): |
|
22373 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22374 (WebCore::FrameLoaderClientQt::chooseFile): |
|
22375 * WebCoreSupport/FrameLoaderClientQt.h: |
|
22376 |
|
22377 2007-06-14 Simon Hausmann <hausmann@kde.org> |
|
22378 |
|
22379 Reviewed by Zack. |
|
22380 |
|
22381 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's |
|
22382 |
|
22383 HistoryItem itself doesn't seem to have a parent pointer either. |
|
22384 |
|
22385 * Api/qwebpagehistory.h: |
|
22386 |
|
22387 2007-06-14 Simon Hausmann <hausmann@kde.org> |
|
22388 |
|
22389 Reviewed by Zack. |
|
22390 |
|
22391 Make it possible to copy QWebHistoryItem objects. |
|
22392 |
|
22393 * Api/qwebpagehistory.cpp: |
|
22394 * Api/qwebpagehistory.h: |
|
22395 |
|
22396 2007-06-14 Lars Knoll <lars@trolltech.com> |
|
22397 |
|
22398 Reviewed by George |
|
22399 |
|
22400 Fix a crash when a request from the plugin resulted |
|
22401 in a HTTP redirect. |
|
22402 |
|
22403 * Api/qwebnetworkinterface.cpp: |
|
22404 (QWebNetworkManager::started): |
|
22405 |
|
22406 2007-06-14 Lars Knoll <lars@trolltech.com> |
|
22407 |
|
22408 Reviewed by George. |
|
22409 |
|
22410 Work around a bug in Qt's QHttp implementation and |
|
22411 get web pages to load again. |
|
22412 |
|
22413 * Api/qwebpage.cpp: |
|
22414 (QWebPage::open): |
|
22415 |
|
22416 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22417 |
|
22418 Reviewed by Lars. |
|
22419 |
|
22420 Added a make install target that installs the Qt port and renamed |
|
22421 WebKitQt to QtWebKit |
|
22422 |
|
22423 * Api/headers.pri: Added. |
|
22424 * Api/qtwebkit.prf: Added. |
|
22425 |
|
22426 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22427 |
|
22428 Reviewed by Lars. |
|
22429 |
|
22430 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience. |
|
22431 |
|
22432 * Api/qwebnetworkinterface.cpp: |
|
22433 * Api/qwebnetworkinterface.h: |
|
22434 |
|
22435 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22436 |
|
22437 Reviewed by Lars. |
|
22438 |
|
22439 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument. |
|
22440 |
|
22441 * Api/qwebnetworkinterface.h: |
|
22442 * Api/qwebobjectpluginconnector.cpp: |
|
22443 (QWebObjectPluginConnector::requestUrl): |
|
22444 * Api/qwebobjectpluginconnector.h: |
|
22445 |
|
22446 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22447 |
|
22448 Reviewed by Lars. |
|
22449 |
|
22450 Added a QWebNetworkRequest convenience constructor. |
|
22451 |
|
22452 * Api/qwebnetworkinterface.cpp: |
|
22453 * Api/qwebnetworkinterface.h: |
|
22454 * Api/qwebpage.cpp: |
|
22455 (QWebPage::open): |
|
22456 |
|
22457 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22458 |
|
22459 Reviewed by Lars. |
|
22460 |
|
22461 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData) |
|
22462 overload to take a QWebNetworkRequest instead. |
|
22463 |
|
22464 * Api/qwebpage.cpp: |
|
22465 (QWebPage::open): |
|
22466 * Api/qwebpage.h: |
|
22467 |
|
22468 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22469 |
|
22470 Reviewed by Lars. |
|
22471 |
|
22472 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population |
|
22473 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just |
|
22474 pick the individual fields if we can use them. |
|
22475 |
|
22476 * Api/qwebpage.cpp: |
|
22477 (QWebPage::open): |
|
22478 |
|
22479 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22480 |
|
22481 Reviewed by Lars. |
|
22482 |
|
22483 Minor QWebNetworkRequet API fixlet |
|
22484 |
|
22485 * Api/qwebnetworkinterface.cpp: |
|
22486 * Api/qwebnetworkinterface.h: |
|
22487 |
|
22488 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22489 |
|
22490 Reviewed by Lars. |
|
22491 |
|
22492 Use QWebNetworkRequest for QWebPage::navigationRequested. |
|
22493 |
|
22494 * Api/qwebnetworkinterface.cpp: |
|
22495 * Api/qwebnetworkinterface.h: |
|
22496 * Api/qwebpage.cpp: |
|
22497 (QWebPagePrivate::navigationRequested): |
|
22498 (QWebPage::navigationRequested): |
|
22499 * Api/qwebpage.h: |
|
22500 * Api/qwebpage_p.h: |
|
22501 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22502 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
22503 |
|
22504 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22505 |
|
22506 Reviewed by Lars. |
|
22507 |
|
22508 Some docs for QWebNetworkRequest |
|
22509 |
|
22510 * Api/qwebnetworkinterface.cpp: |
|
22511 (QWebNetworkRequest::QWebNetworkRequest): |
|
22512 (QWebNetworkRequest::~QWebNetworkRequest): |
|
22513 |
|
22514 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22515 |
|
22516 Reviewed by Lars. |
|
22517 |
|
22518 Moved QWebNetworkJob::Method enum into QWebNetworkRequest. |
|
22519 |
|
22520 * Api/qwebnetworkinterface.h: |
|
22521 * Api/qwebobjectpluginconnector.cpp: |
|
22522 (QWebObjectPluginConnector::requestUrl): |
|
22523 * Api/qwebobjectpluginconnector.h: |
|
22524 |
|
22525 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22526 |
|
22527 Reviewed by Lars. |
|
22528 |
|
22529 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added |
|
22530 |
|
22531 * Api/qwebnetworkinterface.cpp: |
|
22532 (QWebNetworkJob::postData): |
|
22533 (WebCoreHttp::WebCoreHttp): |
|
22534 (WebCoreHttp::scheduleNextRequest): |
|
22535 * Api/qwebnetworkinterface.h: |
|
22536 |
|
22537 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22538 |
|
22539 Reviewed by Lars. |
|
22540 |
|
22541 Introduce QWebNetworkRequest in the public API. |
|
22542 |
|
22543 * Api/qwebnetworkinterface.cpp: |
|
22544 (QWebNetworkRequestPrivate::init): |
|
22545 * Api/qwebnetworkinterface.h: |
|
22546 * Api/qwebnetworkinterface_p.h: |
|
22547 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22548 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
22549 |
|
22550 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22551 |
|
22552 Reviewed by Lars. |
|
22553 |
|
22554 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it. |
|
22555 |
|
22556 * Api/qwebnetworkinterface.cpp: |
|
22557 (QWebNetworkManager::add): |
|
22558 (QWebNetworkManager::started): |
|
22559 (QWebNetworkManager::data): |
|
22560 (QWebNetworkManager::finished): |
|
22561 * Api/qwebnetworkinterface_p.h: |
|
22562 * Api/qwebobjectpluginconnector.cpp: |
|
22563 (QWebObjectPluginConnector::requestUrl): |
|
22564 |
|
22565 2007-06-13 Simon Hausmann <hausmann@kde.org> |
|
22566 |
|
22567 Reviewed by Lars. |
|
22568 |
|
22569 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader. |
|
22570 |
|
22571 * Api/qwebnetworkinterface.cpp: |
|
22572 (QWebNetworkRequest::init): |
|
22573 (QWebNetworkRequest::setURL): |
|
22574 (QWebNetworkManager::add): |
|
22575 (QWebNetworkManager::started): |
|
22576 * Api/qwebnetworkinterface_p.h: |
|
22577 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22578 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
22579 |
|
22580 2007-06-12 Lars Knoll <lars@trolltech.com> |
|
22581 |
|
22582 Reviewed by George Staikos. |
|
22583 |
|
22584 Remove duplicate symbols. |
|
22585 |
|
22586 * Api/qwebobjectplugin_p.h: |
|
22587 |
|
22588 2007-06-13 Lars Knoll <lars@trolltech.com> |
|
22589 |
|
22590 Reviewed by Niko. |
|
22591 |
|
22592 Fix compilation, and remove dependency on Qt |
|
22593 private header. |
|
22594 |
|
22595 * Api/qwebobjectplugin_p.h: |
|
22596 (QWebFactoryLoader::supportsMimeType): |
|
22597 |
|
22598 2007-06-13 Lars Knoll <lars@trolltech.com> |
|
22599 |
|
22600 Reviewed by Niko. |
|
22601 |
|
22602 Parts of the patch done by Zack. |
|
22603 Fix up some parts in the implementation of QWebNetworkInterface |
|
22604 so it can be used by plugins. |
|
22605 Change the plugin API so we can actually get all the information |
|
22606 required by the JS bridge from them as well. |
|
22607 |
|
22608 * Api/qwebnetworkinterface.cpp: |
|
22609 (QWebNetworkJob::cancelled): |
|
22610 (QWebNetworkManager::cancel): |
|
22611 (QWebNetworkManager::started): |
|
22612 (QWebNetworkManager::finished): |
|
22613 * Api/qwebobjectplugin.cpp: |
|
22614 (QWebFactoryLoader::QWebFactoryLoader): |
|
22615 (QWebFactoryLoader::descriptionForName): |
|
22616 (QWebFactoryLoader::mimetypesForName): |
|
22617 (QWebFactoryLoader::mimeTypeForExtension): |
|
22618 (QWebFactoryLoader::extensions): |
|
22619 (QWebFactoryLoader::nameForMimetype): |
|
22620 (QWebFactoryLoader::create): |
|
22621 (QWebObjectPlugin::descriptionForKey): |
|
22622 (QWebObjectPlugin::mimetypesForKey): |
|
22623 * Api/qwebobjectplugin.h: |
|
22624 * Api/qwebobjectplugin_p.h: |
|
22625 (QWebFactoryLoader::names): |
|
22626 * Api/qwebobjectpluginconnector.cpp: |
|
22627 (QWebObjectPluginConnector::requestUrl): |
|
22628 * Api/qwebpage.cpp: |
|
22629 (QWebPage::networkInterface): |
|
22630 |
|
22631 2007-06-11 Simon Hausmann <hausmann@kde.org> |
|
22632 |
|
22633 Reviewed by Lars. |
|
22634 |
|
22635 Added a QWebPage::open overload to allow specifying the http header and post data. |
|
22636 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h, |
|
22637 which would imply that one has to have QT += network in the .pro file for using WebKitQt) |
|
22638 |
|
22639 * Api/qwebpage.cpp: |
|
22640 * Api/qwebpage.h: |
|
22641 |
|
22642 2007-06-11 Simon Hausmann <hausmann@kde.org> |
|
22643 |
|
22644 Reviewed by Lars. |
|
22645 |
|
22646 Added the possibility to intercept url requests through QWebPage::navigationRequested. |
|
22647 |
|
22648 * Api/qwebpage.cpp: |
|
22649 (QWebPagePrivate::QWebPagePrivate): |
|
22650 (QWebPage::createFrame): |
|
22651 * Api/qwebpage.h: |
|
22652 * Api/qwebpage_p.h: |
|
22653 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22654 |
|
22655 2007-06-11 Simon Hausmann <hausmann@kde.org> |
|
22656 |
|
22657 Reviewed by Lars. |
|
22658 |
|
22659 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest, |
|
22660 to be called from FrameLoaderClientQt in the near future. |
|
22661 |
|
22662 * Api/qwebnetworkinterface.cpp: |
|
22663 (QWebNetworkManager::add): |
|
22664 * Api/qwebnetworkinterface_p.h: |
|
22665 |
|
22666 2007-06-11 Simon Hausmann <hausmann@kde.org> |
|
22667 |
|
22668 Reviewed by Lars. |
|
22669 |
|
22670 Moved the postData setup into QWebNetworkRequest::init. |
|
22671 |
|
22672 * Api/qwebnetworkinterface.cpp: |
|
22673 (QWebNetworkRequest::init): |
|
22674 (QWebNetworkManager::add): |
|
22675 |
|
22676 2007-06-11 Simon Hausmann <hausmann@kde.org> |
|
22677 |
|
22678 Reviewed by Lars. |
|
22679 |
|
22680 Moved HTTP header field propagation to QWebNetworkRequest::init. |
|
22681 |
|
22682 * Api/qwebnetworkinterface.cpp: |
|
22683 (QWebNetworkRequest::init): |
|
22684 (QWebNetworkManager::add): |
|
22685 |
|
22686 2007-06-11 Simon Hausmann <hausmann@kde.org> |
|
22687 |
|
22688 Reviewed by Lars. |
|
22689 |
|
22690 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData |
|
22691 and QHttpRequestHeader into a separate little QWebNetworkRequest struct. |
|
22692 |
|
22693 * Api/qwebnetworkinterface.cpp: |
|
22694 (QWebNetworkRequest::init): |
|
22695 (QWebNetworkManager::add): |
|
22696 * Api/qwebnetworkinterface_p.h: |
|
22697 * Api/qwebobjectpluginconnector.cpp: |
|
22698 (QWebObjectPluginConnector::requestUrl): |
|
22699 |
|
22700 2007-06-11 Zack Rusin <zrusin@trolltech.com> |
|
22701 |
|
22702 Reviewed by Lars |
|
22703 |
|
22704 Forgot to export the plugin connector. |
|
22705 |
|
22706 * Api/qwebobjectpluginconnector.h |
|
22707 |
|
22708 2007-06-08 Lars Knoll <lars@trolltech.com> |
|
22709 |
|
22710 Reviewed by Zack. |
|
22711 |
|
22712 Add a QWebObjectPluginConnector class. The class will |
|
22713 facility communication between the plugin and WebKit. |
|
22714 Currently it's used to make the plugin network capable. |
|
22715 |
|
22716 * Api/qwebnetworkinterface.cpp: |
|
22717 (QWebNetworkJobPrivate::setDefaults): |
|
22718 (QWebNetworkManager::add): |
|
22719 (QWebNetworkManager::started): |
|
22720 (QWebNetworkManager::data): |
|
22721 (QWebNetworkManager::finished): |
|
22722 * Api/qwebnetworkinterface.h: |
|
22723 * Api/qwebnetworkinterface_p.h: |
|
22724 (QWebNetworkJobPrivate::QWebNetworkJobPrivate): |
|
22725 * Api/qwebobjectplugin.cpp: |
|
22726 (QWebFactoryLoader::create): |
|
22727 * Api/qwebobjectplugin.h: |
|
22728 * Api/qwebobjectplugin_p.h: |
|
22729 * Api/qwebobjectpluginconnector.cpp: Added. |
|
22730 (QWebObjectPluginConnector::QWebObjectPluginConnector): |
|
22731 (QWebObjectPluginConnector::frame): |
|
22732 (QWebObjectPluginConnector::pluginParentWidget): |
|
22733 (QWebObjectPluginConnector::requestUrl): |
|
22734 * Api/qwebobjectpluginconnector.h: Added. |
|
22735 (QWebObjectPluginConnector::): |
|
22736 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22737 (WebCore::FrameLoaderClientQt::createPlugin): |
|
22738 |
|
22739 2007-06-06 Lars Knoll <lars@trolltech.com> |
|
22740 |
|
22741 Reviewed by Zack |
|
22742 |
|
22743 Add an API to create and load plugins. |
|
22744 Don't include moc files by hand anymore, rather let |
|
22745 qmake handle them. |
|
22746 |
|
22747 * Api/qcookiejar.cpp: |
|
22748 (QCookieJar::cookieJar): |
|
22749 * Api/qwebframe.cpp: |
|
22750 (QWebFrame::scrollContentsBy): |
|
22751 * Api/qwebnetworkinterface.cpp: |
|
22752 * Api/qwebobjectplugin.cpp: Added. |
|
22753 (QWebFactoryLoader::QWebFactoryLoader): |
|
22754 (QWebFactoryLoader::self): |
|
22755 (QWebFactoryLoader::mimeTypeForExtension): |
|
22756 (QWebFactoryLoader::create): |
|
22757 (QWebObjectPlugin::QWebObjectPlugin): |
|
22758 (QWebObjectPlugin::~QWebObjectPlugin): |
|
22759 (QWebObjectPlugin::extensionsForMimetype): |
|
22760 * Api/qwebobjectplugin.h: Added. |
|
22761 * Api/qwebobjectplugin_p.h: Added. |
|
22762 (QWebFactoryLoader::mimeTypes): |
|
22763 (QWebFactoryLoader::extensions): |
|
22764 (QWebFactoryLoader::supportsMimeType): |
|
22765 * Api/qwebpage.cpp: |
|
22766 (QWebPage::settings): |
|
22767 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22768 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents): |
|
22769 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification): |
|
22770 (WebCore::FrameLoaderClientQt::objectContentType): |
|
22771 (WebCore::FrameLoaderClientQt::createPlugin): |
|
22772 |
|
22773 2007-05-28 Zack Rusin <zrusin@trolltech.com> |
|
22774 |
|
22775 Reviewed by andersca and simon |
|
22776 |
|
22777 Adding public settings Api to the Qt port. |
|
22778 QWebSetting's is a value based settings |
|
22779 object settable on the QWebPage. |
|
22780 |
|
22781 * Api/qwebpage.cpp: |
|
22782 (QWebPagePrivate::QWebPagePrivate): |
|
22783 (QWebPage::QWebPage): |
|
22784 (QWebPage::setSettings): |
|
22785 (QWebPage::settings): |
|
22786 * Api/qwebpage.h: |
|
22787 * Api/qwebsettings.cpp: Added. |
|
22788 (QWebSettingsPrivate::QWebSettingsPrivate): |
|
22789 (QWebSettings::QWebSettings): |
|
22790 (QWebSettings::~QWebSettings): |
|
22791 (QWebSettings::setMinimumFontSize): |
|
22792 (QWebSettings::minimumFontSize): |
|
22793 (QWebSettings::setMinimumLogicalFontSize): |
|
22794 (QWebSettings::minimumLogicalFontSize): |
|
22795 (QWebSettings::setDefaultFontSize): |
|
22796 (QWebSettings::defaultFontSize): |
|
22797 (QWebSettings::setDefaultFixedFontSize): |
|
22798 (QWebSettings::defaultFixedFontSize): |
|
22799 (QWebSettings::setUserStyleSheetLocation): |
|
22800 (QWebSettings::userStyleSheetLocation): |
|
22801 (QWebSettings::setGlobal): |
|
22802 (QWebSettings::global): |
|
22803 (QWebSettings::setFontFamily): |
|
22804 (QWebSettings::fontFamily): |
|
22805 (QWebSettings::setAttribute): |
|
22806 (QWebSettings::testAttribute): |
|
22807 * Api/qwebsettings.h: Added. |
|
22808 * QtLauncher/main.cpp: |
|
22809 (main): |
|
22810 2007-05-27 Kevin Ollivier <kevino@theolliviers.com> |
|
22811 |
|
22812 Reviewed by Sam Weinig. |
|
22813 |
|
22814 Consolidate all notImplemented() macro definitions into |
|
22815 one header file for all platforms. |
|
22816 |
|
22817 * WebCoreSupport/ChromeClientQt.cpp: |
|
22818 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
22819 * WebCoreSupport/EditorClientQt.cpp: |
|
22820 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22821 |
|
22822 2007-05-25 George Staikos <staikos@kde.org> |
|
22823 |
|
22824 Reviewed by Simon. |
|
22825 |
|
22826 The http loader should only ask for .... http cookies! |
|
22827 |
|
22828 * Api/qwebnetworkinterface.cpp: |
|
22829 (QWebNetworkManager::add): |
|
22830 |
|
22831 2007-05-24 Simon Hausmann <hausmann@kde.org> |
|
22832 |
|
22833 Reviewed by Zack. |
|
22834 |
|
22835 Fix multipart/form-data HTTP POSTs. The content-type wasn't set |
|
22836 correctly. Fortunately WebCore does it already, so there's no need |
|
22837 for us to do it since we already transfer all HTTP header fields :) |
|
22838 |
|
22839 * Api/qwebnetworkinterface.cpp: |
|
22840 (QWebNetworkManager::add): |
|
22841 |
|
22842 2007-05-23 Simon Hausmann <hausmann@kde.org> |
|
22843 |
|
22844 Reviewed by Zack, idea from Lars. |
|
22845 |
|
22846 Share WebCoreHttp and therefore HTTP connections among multiple |
|
22847 QWebNetworkInterface instances by moving the code into |
|
22848 QWebNetworkManager. |
|
22849 |
|
22850 * Api/qwebnetworkinterface.cpp: |
|
22851 (QWebNetworkManager::addHttpJob): |
|
22852 (QWebNetworkManager::cancelHttpJob): |
|
22853 (QWebNetworkManager::httpConnectionClosed): |
|
22854 (QWebNetworkInterface::addJob): |
|
22855 (QWebNetworkInterface::cancelJob): |
|
22856 (WebCoreHttp::scheduleNextRequest): |
|
22857 (WebCoreHttp::onResponseHeaderReceived): |
|
22858 (WebCoreHttp::onReadyRead): |
|
22859 (WebCoreHttp::onRequestFinished): |
|
22860 (WebCoreHttp::cancel): |
|
22861 * Api/qwebnetworkinterface.h: |
|
22862 * Api/qwebnetworkinterface_p.h: |
|
22863 |
|
22864 2007-05-23 Simon Hausmann <hausmann@kde.org> |
|
22865 |
|
22866 Reviewed by Zack, discussed also with Lars. |
|
22867 |
|
22868 Make it possible to specify a per-QWebPage network interface (needed |
|
22869 for the KDE KIO integration). |
|
22870 |
|
22871 Merged the file and the network loader into |
|
22872 QWebNetworkInterface(Private), which simplifies the loading code. |
|
22873 |
|
22874 When receiving a redirection don't emit the data of the redirected job |
|
22875 to the document. (otherwise the kind of "This page has moved" text |
|
22876 appears right on top of the real page content) |
|
22877 |
|
22878 * Api/qwebnetworkinterface.cpp: |
|
22879 (qHash): |
|
22880 (operator==): |
|
22881 (QWebNetworkJob::QWebNetworkJob): |
|
22882 (QWebNetworkJob::networkInterface): |
|
22883 (QWebNetworkManager::add): |
|
22884 (QWebNetworkManager::cancel): |
|
22885 (QWebNetworkManager::data): |
|
22886 (QWebNetworkManager::finished): |
|
22887 (QWebNetworkInterfacePrivate::sendFileData): |
|
22888 (QWebNetworkInterfacePrivate::parseDataUrl): |
|
22889 (QWebNetworkInterfacePrivate::addHttpJob): |
|
22890 (QWebNetworkInterfacePrivate::httpConnectionClosed): |
|
22891 (QWebNetworkInterface::setDefaultInterface): |
|
22892 (QWebNetworkInterface::QWebNetworkInterface): |
|
22893 (QWebNetworkInterface::addJob): |
|
22894 (QWebNetworkInterface::cancelJob): |
|
22895 (WebCoreHttp::scheduleNextRequest): |
|
22896 (WebCoreHttp::onResponseHeaderReceived): |
|
22897 (WebCoreHttp::onReadyRead): |
|
22898 (WebCoreHttp::onRequestFinished): |
|
22899 (WebCoreHttp::cancel): |
|
22900 * Api/qwebnetworkinterface.h: |
|
22901 * Api/qwebnetworkinterface_p.h: |
|
22902 * Api/qwebpage.cpp: |
|
22903 (QWebPagePrivate::QWebPagePrivate): |
|
22904 (QWebPage::setNetworkInterface): |
|
22905 * Api/qwebpage.h: |
|
22906 * Api/qwebpage_p.h: |
|
22907 |
|
22908 2007-05-23 Lars Knoll <lars@trolltech.com> |
|
22909 |
|
22910 Reviewed by Zack |
|
22911 |
|
22912 Don't do HTTP downloads in a second thread. Simplifies |
|
22913 the code significantly and fixes crashes on some |
|
22914 Web pages. |
|
22915 |
|
22916 * Api/qwebnetworkinterface.cpp: |
|
22917 (QWebNetworkManager::add): |
|
22918 (QWebNetworkInterface::QWebNetworkInterface): |
|
22919 (QWebNetworkInterface::addJob): |
|
22920 (QWebNetworkInterface::cancelJob): |
|
22921 (LoaderThread::LoaderThread): |
|
22922 (LoaderThread::run): |
|
22923 (WebCoreHttp::cancel): |
|
22924 (NetworkLoader::NetworkLoader): |
|
22925 (NetworkLoader::request): |
|
22926 (NetworkLoader::cancel): |
|
22927 * Api/qwebnetworkinterface_p.h: |
|
22928 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
22929 (WebCore::FrameLoaderClientQt::committedLoad): |
|
22930 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength): |
|
22931 |
|
22932 2007-05-23 Lars Knoll <lars@trolltech.com> |
|
22933 |
|
22934 Reviewed by Simon. |
|
22935 |
|
22936 * Api/qwebnetworkinterface.cpp: |
|
22937 (QWebNetworkJobPrivate::setURL): |
|
22938 (QWebNetworkManager::started): |
|
22939 Fix Host: line in HTTP headers and resolving of relative URLs |
|
22940 when redirecting. |
|
22941 * Api/qwebnetworkinterface_p.h: |
|
22942 Clean up qHash forward declaration a bit. |
|
22943 |
|
22944 2007-05-23 Simon Hausmann <hausmann@kde.org> |
|
22945 |
|
22946 Reviewed by Zack. |
|
22947 |
|
22948 * QtLauncher/main.cpp: |
|
22949 (MainWindow::MainWindow): Fix loading progress signal/slot connection. |
|
22950 |
|
22951 2007-05-22 Simon Hausmann <hausmann@kde.org> |
|
22952 |
|
22953 Reviewed by Lars. |
|
22954 |
|
22955 * Api/qwebnetworkinterface.cpp: |
|
22956 (QWebNetworkManager::add): Fix http headers for POST. |
|
22957 |
|
22958 2007-05-21 Lars Knoll <lars@trolltech.com> |
|
22959 |
|
22960 Reviewed by Simon |
|
22961 |
|
22962 Remove the userHandle methods from QWebnetworkJob again. |
|
22963 They don't really give us anything and just clutter the API. |
|
22964 |
|
22965 * Api/qwebnetworkinterface.cpp: |
|
22966 * Api/qwebnetworkinterface.h: |
|
22967 * Api/qwebnetworkinterface_p.h: |
|
22968 |
|
22969 2007-05-21 Simon Hausmann <hausmann@kde.org> |
|
22970 |
|
22971 Reviewed by Zack. |
|
22972 |
|
22973 * Api/qwebnetworkinterface.h: Export the net API. |
|
22974 |
|
22975 2007-05-21 Lars Knoll <lars@trolltech.com> |
|
22976 |
|
22977 Reviewed by Zack. |
|
22978 |
|
22979 Add an API layer for network downloads. Basically QWebnetworkInterface |
|
22980 is an interface class for downloading resources. QWebnetworkJob describes |
|
22981 the actual object to download. |
|
22982 |
|
22983 QWebNetworkInterface has a default implementation that replaces the |
|
22984 old ResourceHandleManager class in the Qt port. |
|
22985 |
|
22986 * Api/qwebnetworkinterface.cpp: Added. |
|
22987 (QWebNetworkJobPrivate::setURL): |
|
22988 (QWebNetworkJob::QWebNetworkJob): |
|
22989 (QWebNetworkJob::~QWebNetworkJob): |
|
22990 (QWebNetworkJob::url): |
|
22991 (QWebNetworkJob::postData): |
|
22992 (QWebNetworkJob::request): |
|
22993 (QWebNetworkJob::response): |
|
22994 (QWebNetworkJob::setResponse): |
|
22995 (QWebNetworkJob::cancelled): |
|
22996 (QWebNetworkJob::ref): |
|
22997 (QWebNetworkJob::deref): |
|
22998 (QWebNetworkJob::setUserHandle): |
|
22999 (QWebNetworkJob::userHandle): |
|
23000 (QWebNetworkManager::QWebNetworkManager): |
|
23001 (QWebNetworkManager::self): |
|
23002 (QWebNetworkManager::add): |
|
23003 (QWebNetworkManager::cancel): |
|
23004 (QWebNetworkManager::started): |
|
23005 (QWebNetworkManager::data): |
|
23006 (QWebNetworkManager::finished): |
|
23007 (QWebNetworkInterface::setDefaultInterface): |
|
23008 (QWebNetworkInterface::defaultInterface): |
|
23009 (QWebNetworkInterface::QWebNetworkInterface): |
|
23010 (QWebNetworkInterface::~QWebNetworkInterface): |
|
23011 (QWebNetworkInterface::addJob): |
|
23012 (QWebNetworkInterface::cancelJob): |
|
23013 (LoaderThread::LoaderThread): |
|
23014 (LoaderThread::run): |
|
23015 (FileLoader::FileLoader): |
|
23016 (FileLoader::request): |
|
23017 (FileLoader::sendData): |
|
23018 (FileLoader::parseDataUrl): |
|
23019 (WebCoreHttp::WebCoreHttp): |
|
23020 (WebCoreHttp::~WebCoreHttp): |
|
23021 (WebCoreHttp::request): |
|
23022 (WebCoreHttp::scheduleNextRequest): |
|
23023 (WebCoreHttp::getConnection): |
|
23024 (WebCoreHttp::onResponseHeaderReceived): |
|
23025 (WebCoreHttp::onReadyRead): |
|
23026 (WebCoreHttp::onRequestFinished): |
|
23027 (WebCoreHttp::onStateChanged): |
|
23028 (WebCoreHttp::cancel): |
|
23029 (HostInfo::HostInfo): |
|
23030 (qHash): |
|
23031 (operator==): |
|
23032 (NetworkLoader::NetworkLoader): |
|
23033 (NetworkLoader::~NetworkLoader): |
|
23034 (NetworkLoader::request): |
|
23035 (NetworkLoader::connectionClosed): |
|
23036 (NetworkLoader::cancel): |
|
23037 * Api/qwebnetworkinterface.h: Added. |
|
23038 (QWebNetworkJob::setHandle): |
|
23039 (QWebNetworkJob::handle): |
|
23040 * Api/qwebnetworkinterface_p.h: Added. |
|
23041 (WebCore::LoaderThread::): |
|
23042 (WebCore::LoaderThread::waitForSetup): |
|
23043 (WebCore::HostInfo::HostInfo): |
|
23044 |
|
23045 2007-05-18 Simon Hausmann <hausmann@kde.org> |
|
23046 |
|
23047 Reviewed by Nikolas. |
|
23048 |
|
23049 * Api/qwebpage.h: Changed the loadProgressChanged API to use an |
|
23050 percent integer instead of a double precision floating pointer number. |
|
23051 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23052 (WebCore::FrameLoaderClientQt::setFrame): |
|
23053 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification): |
|
23054 * WebCoreSupport/FrameLoaderClientQt.h: |
|
23055 |
|
23056 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com> |
|
23057 |
|
23058 Reviewed by Zack Rusin. |
|
23059 |
|
23060 The default constructed KeyboardEvent has |
|
23061 no PlatformKeyboardEvent. |
|
23062 |
|
23063 * WebCoreSupport/EditorClientQt.cpp: |
|
23064 (WebCore::EditorClientQt::handleKeypress): |
|
23065 |
|
23066 2007-05-17 Adam Treat <adam@staikos.net> |
|
23067 |
|
23068 Reviewed by George Staikos. |
|
23069 |
|
23070 - Implement frameLoadCompleted |
|
23071 - Fix build (by George) |
|
23072 |
|
23073 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23074 (WebCore::FrameLoaderClientQt::frameLoadCompleted): |
|
23075 (WebCore::FrameLoaderClientQt::createFrame): |
|
23076 |
|
23077 2007-05-17 Adam Treat <adam@staikos.net> |
|
23078 |
|
23079 Reviewed by George Staikos. |
|
23080 |
|
23081 Implement canShowMIMEType |
|
23082 |
|
23083 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23084 (WebCore::FrameLoaderClientQt::canShowMIMEType): |
|
23085 |
|
23086 2007-05-16 Lars Knoll <lars@trolltech.com> |
|
23087 |
|
23088 Reviewed by Zack |
|
23089 |
|
23090 pass the mouse events to the event handler, not the frameview. |
|
23091 |
|
23092 * Api/qwebframe.cpp: |
|
23093 (QWebFrame::mouseMoveEvent): |
|
23094 (QWebFrame::mouseReleaseEvent): |
|
23095 |
|
23096 2007-05-14 Lars Knoll <lars@trolltech.com> |
|
23097 |
|
23098 Reviewed by Zack |
|
23099 |
|
23100 Updates after Maciej's frame change. |
|
23101 |
|
23102 * Api/qwebpage.cpp: |
|
23103 (QWebPage::stop): |
|
23104 Call stopForUserCancel() instead of stopAllLoaders() |
|
23105 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23106 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents): |
|
23107 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): |
|
23108 (WebCore::FrameLoaderClientQt::didFinishLoad): |
|
23109 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
23110 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest): |
|
23111 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): |
|
23112 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): |
|
23113 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): |
|
23114 Call QWebFrame::loadDone() from the places it's supposed to be |
|
23115 called from. |
|
23116 |
|
23117 2007-05-12 Maciej Stachowiak <mjs@apple.com> |
|
23118 |
|
23119 Reviewed by Rob Buis. |
|
23120 |
|
23121 - call Frame::init as needed - this prevents crashes but pages don't appear. |
|
23122 |
|
23123 * Api/qwebframe.cpp: |
|
23124 (QWebFramePrivate::init): |
|
23125 * WebKitPart/WebKitPart.cpp: |
|
23126 (WebKitPart::initView): |
|
23127 |
|
23128 2007-05-08 Steve Falkenburg <sfalken@apple.com> |
|
23129 |
|
23130 Reviewed by Ada. |
|
23131 |
|
23132 Slight modification to last editor method fix. |
|
23133 |
|
23134 * WebCoreSupport/EditorClientQt.cpp: |
|
23135 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString): |
|
23136 * WebCoreSupport/EditorClientQt.h: |
|
23137 |
|
23138 2007-05-03 Steve Falkenburg <sfalken@apple.com> |
|
23139 |
|
23140 Reviewed by Oliver. |
|
23141 |
|
23142 Add missing user description parameter to spelling-related editor client method. |
|
23143 |
|
23144 * WebCoreSupport/EditorClientQt.cpp: |
|
23145 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString): |
|
23146 * WebCoreSupport/EditorClientQt.h: |
|
23147 |
|
23148 2007-04-29 Oliver Hunt <oliver@apple.com> |
|
23149 |
|
23150 Reviewed by Zack. |
|
23151 |
|
23152 Tie QT drag events to the DragController logic |
|
23153 to allow drag and drop events to be handled by |
|
23154 webkit. |
|
23155 |
|
23156 * Api/qwebframe.cpp: |
|
23157 * Api/qwebframe.h: |
|
23158 * Api/qwebpage.cpp: |
|
23159 (QWebPagePrivate::QWebPagePrivate): |
|
23160 (QWebPage::QWebPage): |
|
23161 (dropActionToDragOp): |
|
23162 (dragOpToDropAction): |
|
23163 (QWebPage::dragEnterEvent): |
|
23164 (QWebPage::dragLeaveEvent): |
|
23165 (QWebPage::dragMoveEvent): |
|
23166 (QWebPage::dropEvent): |
|
23167 * Api/qwebpage.h: |
|
23168 * WebCoreSupport/DragClientQt.cpp: |
|
23169 (WebCore::DragClientQt::startDrag): |
|
23170 * WebCoreSupport/DragClientQt.h: |
|
23171 (WebCore::DragClientQt::DragClientQt): |
|
23172 |
|
23173 2007-04-27 Holger Freyther <freyther@kde.org> |
|
23174 |
|
23175 Reviewed by Maciej. |
|
23176 |
|
23177 Remove unmaintained CMake build system. |
|
23178 |
|
23179 * QtLauncher/CMakeLists.txt: Removed. |
|
23180 * WebKitPart/CMakeLists.txt: Removed. |
|
23181 |
|
23182 2007-04-25 Steve Falkenburg <sfalken@apple.com> |
|
23183 |
|
23184 Reviewed by Adam. |
|
23185 |
|
23186 Fix spelling error in spelling method name. |
|
23187 |
|
23188 * WebCoreSupport/EditorClientQt.cpp: |
|
23189 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString): |
|
23190 * WebCoreSupport/EditorClientQt.h: |
|
23191 |
|
23192 2007-04-24 Steve Falkenburg <sfalken@apple.com> |
|
23193 |
|
23194 Reviewed by Oliver. |
|
23195 |
|
23196 Spelling and grammar stubs |
|
23197 |
|
23198 * WebCoreSupport/EditorClientQt.cpp: |
|
23199 (WebCore::EditorClientQt::ignoreWordInSpellDocument): |
|
23200 (WebCore::EditorClientQt::learnWord): |
|
23201 (WebCore::EditorClientQt::checkSpellingOfString): |
|
23202 (WebCore::EditorClientQt::checkGrammarOfString): |
|
23203 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString): |
|
23204 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord): |
|
23205 (WebCore::EditorClientQt::showSpellingUI): |
|
23206 (WebCore::EditorClientQt::spellingUIIsShowing): |
|
23207 (WebCore::EditorClientQt::getGuessesForWord): |
|
23208 * WebCoreSupport/EditorClientQt.h: |
|
23209 |
|
23210 2007-04-11 MorganL <morganl.webkit@yahoo.com> |
|
23211 |
|
23212 Reviewed by Maciej. |
|
23213 |
|
23214 Add a Frame pointer to ChromeClient methods: |
|
23215 http://bugs.webkit.org/show_bug.cgi?id=13127 |
|
23216 |
|
23217 * WebCoreSupport/ChromeClientQt.cpp: |
|
23218 (WebCore::ChromeClientQt::createWindow): |
|
23219 (WebCore::ChromeClientQt::createModalDialog): |
|
23220 * WebCoreSupport/ChromeClientQt.h: |
|
23221 |
|
23222 2007-04-12 Mark Rowe <mrowe@apple.com> |
|
23223 |
|
23224 Second part of Qt build fix. |
|
23225 |
|
23226 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23227 (WebCore::FrameLoaderClientQt::loadedFromCachedPage): |
|
23228 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage): |
|
23229 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage): |
|
23230 * WebCoreSupport/FrameLoaderClientQt.h: |
|
23231 |
|
23232 2007-03-27 Zack Rusin <zrusin@trolltech.com> |
|
23233 |
|
23234 Fix the rendering crashes due triggered |
|
23235 asserts. Improve a bit the layout |
|
23236 scheduling. |
|
23237 |
|
23238 * Api/qwebframe.cpp: |
|
23239 (QWebFrame::resizeEvent): |
|
23240 (QWebFrame::paintEvent): |
|
23241 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23242 (WebCore::FrameLoaderClientQt::forceLayout): |
|
23243 |
|
23244 2007-03-16 Lars Knoll <lars@trolltech.com> |
|
23245 |
|
23246 Fix the Qt build once again. |
|
23247 |
|
23248 * WebCoreSupport/EditorClientQt.cpp: |
|
23249 (WebCore::EditorClientQt::handleKeypress): |
|
23250 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23251 (WebCore::FrameLoaderClientQt::blockedError): |
|
23252 * WebCoreSupport/FrameLoaderClientQt.h: |
|
23253 |
|
23254 2007-03-13 Lars Knoll <lars@trolltech.com> |
|
23255 |
|
23256 Reviewed by George. |
|
23257 |
|
23258 Don't try to load <object> tags with an invalid url. |
|
23259 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html |
|
23260 which hit an assertion in the frameloader. |
|
23261 |
|
23262 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23263 (WebCore::FrameLoaderClientQt::objectContentType): |
|
23264 |
|
23265 2007-03-13 Lars Knoll <lars@trolltech.com> |
|
23266 |
|
23267 Reviewed by Anders. |
|
23268 |
|
23269 Fix some crashes in the Qt build. |
|
23270 |
|
23271 * Api/qwebframe.cpp: |
|
23272 (QWebFrame::markup): |
|
23273 Check for null pointer |
|
23274 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23275 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
23276 Don't use an async callback into the FrameLoader. |
|
23277 (WebCore::FrameLoaderClientQt::createFrame): |
|
23278 |
|
23279 2007-03-11 Oliver Hunt <oliver@apple.com> |
|
23280 |
|
23281 Reviewed by Adele. |
|
23282 |
|
23283 Stub for EditorClientQt::respondToChangedSelection |
|
23284 |
|
23285 * WebCoreSupport/EditorClientQt.cpp: |
|
23286 (WebCore::EditorClientQt::respondToChangedSelection): |
|
23287 * WebCoreSupport/EditorClientQt.h: |
|
23288 |
|
23289 2007-03-07 Adele Peterson <adele@apple.com> |
|
23290 |
|
23291 Reviewed by Darin Adler. |
|
23292 |
|
23293 WebKitQT part of fix for: |
|
23294 http://bugs.webkit.org/show_bug.cgi?id=10871 |
|
23295 http://bugs.webkit.org/show_bug.cgi?id=12677 |
|
23296 <rdar://problem/4823129> REGRESSION: IME key events different in nightly |
|
23297 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri |
|
23298 |
|
23299 * WebCoreSupport/EditorClientQt.cpp: |
|
23300 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress. |
|
23301 (WebCore::EditorClientQt::handleInputMethodKeypress): Added. |
|
23302 * WebCoreSupport/EditorClientQt.h: |
|
23303 |
|
23304 2007-03-07 Darin Adler <darin@apple.com> |
|
23305 |
|
23306 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header. |
|
23307 |
|
23308 2007-03-07 Darin Adler <darin@apple.com> |
|
23309 |
|
23310 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent): |
|
23311 Try to fix the build by correcting the parameter here. |
|
23312 |
|
23313 2007-03-02 Sam Weinig <sam@webkit.org> |
|
23314 |
|
23315 Reviewed by Anders. |
|
23316 |
|
23317 Try to fix the Qt build |
|
23318 |
|
23319 * WebCoreSupport/DragClientQt.cpp: |
|
23320 (WebCore::DragClientQt::willPerformDragDestinationAction): |
|
23321 (WebCore::DragClientQt::dragControllerDestroyed): |
|
23322 (WebCore::DragClientQt::createDragImageForLink): |
|
23323 |
|
23324 2007-02-26 Maciej Stachowiak <mjs@apple.com> |
|
23325 |
|
23326 Reviewed by Kevin McCullough. |
|
23327 |
|
23328 - fix Qt build for earlier SVG changes. |
|
23329 |
|
23330 * WebCoreSupport/EditCommandQt.cpp: |
|
23331 |
|
23332 2007-02-24 Zack Rusin <zrusin@trolltech.com> |
|
23333 |
|
23334 Adjust the animation a little bit to make it more natural. |
|
23335 |
|
23336 * QtLauncher/main.cpp: |
|
23337 (HoverLabel::paintEvent): |
|
23338 |
|
23339 2007-02-23 Zack Rusin <zrusin@trolltech.com> |
|
23340 |
|
23341 Adding a little bit of eye-candy to the last |
|
23342 commit (animations on hover events) |
|
23343 |
|
23344 * QtLauncher/main.cpp: |
|
23345 (HoverLabel::HoverLabel): |
|
23346 (HoverLabel::setHoverLink): |
|
23347 (HoverLabel::sizeForFont): |
|
23348 (HoverLabel::sizeHint): |
|
23349 (HoverLabel::resetAnimation): |
|
23350 (HoverLabel::paintEvent): |
|
23351 (HoverLabel::interpolate): |
|
23352 (SearchEdit::resizeEvent): |
|
23353 |
|
23354 2007-02-23 Zack Rusin <zrusin@trolltech.com> |
|
23355 |
|
23356 Reviewed by Lars |
|
23357 |
|
23358 Adding API and code for notification of when the |
|
23359 mouse is hovering over a link and adding code to |
|
23360 the sample app to showcase it. |
|
23361 |
|
23362 * Api/qwebframe.cpp: |
|
23363 (QWebFrame::mouseMoveEvent): |
|
23364 * Api/qwebframe.h: |
|
23365 * Api/qwebframe_p.h: |
|
23366 (QWebFramePrivate::QWebFramePrivate): |
|
23367 * Api/qwebpage.cpp: |
|
23368 (QWebPage::createFrame): |
|
23369 * Api/qwebpage.h: |
|
23370 * QtLauncher/main.cpp: |
|
23371 (HoverLabel::HoverLabel): |
|
23372 (HoverLabel::setHoverLink): |
|
23373 (HoverLabel::sizeHint): |
|
23374 (HoverLabel::updateSize): |
|
23375 (HoverLabel::paintEvent): |
|
23376 (ClearButton::ClearButton): |
|
23377 (ClearButton::paintEvent): |
|
23378 (SearchEdit::SearchEdit): |
|
23379 (SearchEdit::resizeEvent): |
|
23380 (SearchEdit::moveEvent): |
|
23381 (MainWindow::MainWindow): |
|
23382 (MainWindow::showLinkHover): |
|
23383 (MainWindow::resizeEvent): |
|
23384 |
|
23385 2007-02-22 Zack Rusin <zrusin@trolltech.com> |
|
23386 |
|
23387 Reviewed by Lars |
|
23388 |
|
23389 Fixing the default scroll offset, cleaning |
|
23390 up private methods and making the default |
|
23391 look not use any frames. |
|
23392 |
|
23393 * Api/qwebframe.cpp: |
|
23394 (QWebFramePrivate::init): |
|
23395 (QWebFramePrivate::_q_handleKeyEvent): |
|
23396 (QWebFrame::QWebFrame): |
|
23397 (QWebFrame::wheelEvent): |
|
23398 (QWebFrame::keyPressEvent): |
|
23399 (QWebFrame::keyReleaseEvent): |
|
23400 * Api/qwebframe.h: |
|
23401 * Api/qwebframe_p.h: |
|
23402 |
|
23403 2007-02-22 Zack Rusin <zrusin@trolltech.com> |
|
23404 |
|
23405 Reviewed by Lars |
|
23406 |
|
23407 Make the qwebframe act as a proper canvas. |
|
23408 Implement it on top of QAbstractScrollArea. |
|
23409 |
|
23410 * Api/qwebframe.cpp: |
|
23411 (QWebFramePrivate::init): |
|
23412 (QWebFramePrivate::_q_adjustScrollbars): |
|
23413 (QWebFrame::init): |
|
23414 (QWebFrame::QWebFrame): |
|
23415 (QWebFrame::resizeEvent): |
|
23416 (QWebFrame::childFrames): |
|
23417 (QWebFrame::paintEvent): |
|
23418 (QWebFrame::mouseMoveEvent): |
|
23419 (QWebFrame::mousePressEvent): |
|
23420 (QWebFrame::mouseReleaseEvent): |
|
23421 (QWebFrame::wheelEvent): |
|
23422 (QWebFrame::keyPressEvent): |
|
23423 (QWebFrame::keyReleaseEvent): |
|
23424 (QWebFrame::dragEnterEvent): |
|
23425 (QWebFrame::dragLeaveEvent): |
|
23426 (QWebFrame::dragMoveEvent): |
|
23427 (QWebFrame::handleKeyEvent): |
|
23428 (QWebFrame::scrollContentsBy): |
|
23429 * Api/qwebframe.h: |
|
23430 * Api/qwebframe_p.h: |
|
23431 (QWebFramePrivate::QWebFramePrivate): |
|
23432 |
|
23433 2007-02-21 George Staikos <staikos@kde.org> |
|
23434 |
|
23435 Reviewed by Zack. |
|
23436 |
|
23437 Add more editing support, and undo/redo. Requires some nasty evil |
|
23438 hacks that have to be sorted out in WebCore/editor. |
|
23439 |
|
23440 * Api/qwebpage.cpp: |
|
23441 (QWebPagePrivate::QWebPagePrivate): |
|
23442 (QWebPagePrivate::~QWebPagePrivate): |
|
23443 (QWebPage::undoStack): |
|
23444 * Api/qwebpage.h: |
|
23445 * Api/qwebpage_p.h: |
|
23446 * WebCoreSupport/EditorClientQt.cpp: |
|
23447 (WebCore::EditorClientQt::didBeginEditing): |
|
23448 (WebCore::EditorClientQt::didEndEditing): |
|
23449 (WebCore::EditorClientQt::isEditable): |
|
23450 (WebCore::EditorClientQt::registerCommandForUndo): |
|
23451 (WebCore::EditorClientQt::registerCommandForRedo): |
|
23452 (WebCore::EditorClientQt::clearUndoRedoOperations): |
|
23453 (WebCore::EditorClientQt::canUndo): |
|
23454 (WebCore::EditorClientQt::canRedo): |
|
23455 (WebCore::EditorClientQt::undo): |
|
23456 (WebCore::EditorClientQt::redo): |
|
23457 (WebCore::EditorClientQt::handleKeyPress): |
|
23458 (WebCore::EditorClientQt::EditorClientQt): |
|
23459 (WebCore::EditorClientQt::textFieldDidBeginEditing): |
|
23460 (WebCore::EditorClientQt::textFieldDidEndEditing): |
|
23461 (WebCore::EditorClientQt::isEditing): |
|
23462 * WebCoreSupport/EditorClientQt.h: |
|
23463 |
|
23464 2007-02-21 Zack Rusin <zrusin@trolltech.com> |
|
23465 |
|
23466 Fix compilation. |
|
23467 |
|
23468 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
23469 * WebCoreSupport/ContextMenuClientQt.h: |
|
23470 |
|
23471 2007-02-21 George Staikos <staikos@kde.org> |
|
23472 |
|
23473 Fix compile. |
|
23474 |
|
23475 * Api/qwebpage.cpp: |
|
23476 (QWebPage::stop): |
|
23477 |
|
23478 2007-02-20 Zack Rusin <zrusin@trolltech.com> |
|
23479 |
|
23480 Reviewed by Lars |
|
23481 |
|
23482 Make editing of forms work plus make sure that non-void methods |
|
23483 always return something. |
|
23484 |
|
23485 * WebCoreSupport/ChromeClientQt.cpp: |
|
23486 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel): |
|
23487 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel): |
|
23488 (WebCore::ChromeClientQt::runJavaScriptConfirm): |
|
23489 (WebCore::ChromeClientQt::runJavaScriptPrompt): |
|
23490 (WebCore::ChromeClientQt::shouldInterruptJavaScript): |
|
23491 * WebCoreSupport/EditorClientQt.cpp: |
|
23492 (WebCore::EditorClientQt::shouldDeleteRange): |
|
23493 (WebCore::EditorClientQt::shouldBeginEditing): |
|
23494 (WebCore::EditorClientQt::shouldEndEditing): |
|
23495 (WebCore::EditorClientQt::shouldInsertText): |
|
23496 (WebCore::EditorClientQt::shouldChangeSelectedRange): |
|
23497 (WebCore::EditorClientQt::shouldApplyStyle): |
|
23498 (WebCore::EditorClientQt::shouldInsertNode): |
|
23499 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23500 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache): |
|
23501 (WebCore::FrameLoaderClientQt::dispatchCreatePage): |
|
23502 |
|
23503 2007-02-17 Lars Knoll <lars@trolltech.com> |
|
23504 |
|
23505 Reviewed by Maciej. |
|
23506 |
|
23507 Additional coding by Maciej, additional review by Oliver. |
|
23508 |
|
23509 Add stubs for the new methods in ChormeClient and EditorClient, |
|
23510 remove all references to FrameQt. |
|
23511 |
|
23512 * Api/qwebframe.cpp: |
|
23513 (QWebFrame::QWebFrame): |
|
23514 * Api/qwebframe_p.h: |
|
23515 * Api/qwebpage.cpp: |
|
23516 * WebCoreSupport/ChromeClientQt.cpp: |
|
23517 (WebCore::ChromeClientQt::shouldInterruptJavaScript): |
|
23518 * WebCoreSupport/ChromeClientQt.h: |
|
23519 * WebCoreSupport/EditorClientQt.cpp: |
|
23520 (WebCore::EditorClientQt::shouldChangeSelectedRange): |
|
23521 (WebCore::EditorClientQt::isEditable): |
|
23522 * WebCoreSupport/EditorClientQt.h: |
|
23523 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23524 (WebCore::FrameLoaderClientQt::setFrame): |
|
23525 (WebCore::FrameLoaderClientQt::webFrame): |
|
23526 * WebCoreSupport/FrameLoaderClientQt.h: |
|
23527 |
|
23528 2007-02-18 Oliver Hunt <oliver@apple.com> |
|
23529 |
|
23530 Build fix -- adding DragClientQt method stubs |
|
23531 |
|
23532 * WebCoreSupport/DragClientQt.cpp: |
|
23533 (WebCore::DragClientQt::willPerformDragSourceAction): |
|
23534 (WebCore::DragClientQt::startDrag): |
|
23535 (WebCore::DragClientQt::createDragImageForLink): |
|
23536 * WebCoreSupport/DragClientQt.h: |
|
23537 |
|
23538 2007-02-15 Brady Eidson <beidson@apple.com> |
|
23539 |
|
23540 Reviewed by Adam |
|
23541 |
|
23542 Moved scroll state down into the cross platform FrameLoader - |
|
23543 Blind attempt at keeping Qt building |
|
23544 |
|
23545 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23546 (WebCore::FrameLoaderClientQt::restoreViewState): |
|
23547 (WebCore::FrameLoaderClientQt::saveViewStateToItem): |
|
23548 * WebCoreSupport/FrameLoaderClientQt.h: |
|
23549 |
|
23550 2007-02-07 Anders Carlsson <acarlsson@apple.com> |
|
23551 |
|
23552 Try fixing the Qt build. |
|
23553 |
|
23554 * WebCoreSupport/ChromeClientQt.cpp: |
|
23555 (WebCore::ChromeClientQt::shouldInterruptJavaScript): |
|
23556 * WebCoreSupport/ChromeClientQt.h: |
|
23557 |
|
23558 2007-02-02 Zack Rusin <zrusin@trolltech.com> |
|
23559 |
|
23560 Compilation fix: forward declare d-ptr. |
|
23561 |
|
23562 * Api/qcookiejar.h: |
|
23563 |
|
23564 2007-02-02 Zack Rusin <zrusin@trolltech.com> |
|
23565 |
|
23566 Reviewed by Lars |
|
23567 |
|
23568 Make the frames white by default and get the |
|
23569 files that WebCore can handle render inside |
|
23570 the frames. |
|
23571 |
|
23572 * Api/qwebframe.cpp: |
|
23573 (QWebFrame::QWebFrame): |
|
23574 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23575 (WebCore::FrameLoaderClientQt::createFrame): |
|
23576 (WebCore::FrameLoaderClientQt::objectContentType): |
|
23577 |
|
23578 2007-02-01 George Staikos <staikos@kde.org> |
|
23579 |
|
23580 Reviewed by Zack and Lars. |
|
23581 |
|
23582 Add a cookie interface for the Qt build. |
|
23583 |
|
23584 * Api/qcookiejar.cpp: Added. |
|
23585 (QCookieJarPrivate::QCookieJarPrivate): |
|
23586 (qHash): |
|
23587 (QCookieJar::QCookieJar): |
|
23588 (QCookieJar::~QCookieJar): |
|
23589 (QCookieJar::setCookies): |
|
23590 (QCookieJar::cookies): |
|
23591 (QCookieJar::isEnabled): |
|
23592 (QCookieJar::setEnabled): |
|
23593 (gCleanupJar): |
|
23594 (QCookieJar::setCookieJar): |
|
23595 (QCookieJar::cookieJar): |
|
23596 * Api/qcookiejar.h: Added. |
|
23597 |
|
23598 2007-02-01 Lars Knoll <lars@trolltech.com> |
|
23599 |
|
23600 Reviewed by Adam. |
|
23601 |
|
23602 Fix form loading for the Qt build. |
|
23603 |
|
23604 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23605 (WebCore::FrameLoaderClientQt::callPolicyFunction): |
|
23606 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction): |
|
23607 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm): |
|
23608 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
23609 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
23610 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
23611 |
|
23612 2007-01-31 Zack Rusin <zrusin@trolltech.com> |
|
23613 |
|
23614 Expose the fact that the form has been edited |
|
23615 in the public api. |
|
23616 |
|
23617 * Api/qwebpage.cpp: |
|
23618 (QWebPagePrivate::QWebPagePrivate): |
|
23619 (QWebPage::isModified): |
|
23620 * Api/qwebpage.h: |
|
23621 * Api/qwebpage_p.h: |
|
23622 * WebCoreSupport/EditorClientQt.cpp: |
|
23623 (WebCore::EditorClientQt::respondToChangedContents): |
|
23624 (WebCore::EditorClientQt::isEditable): |
|
23625 |
|
23626 2007-01-31 Zack Rusin <zrusin@trolltech.com> |
|
23627 |
|
23628 Reviewed by Lars |
|
23629 |
|
23630 Properly propagate key events. |
|
23631 |
|
23632 * Api/qwebframe.cpp: |
|
23633 (QWebFrame::addToJSWindowObject): |
|
23634 (QWebFrame::innerText): |
|
23635 (QWebFrame::renderTreeDump): |
|
23636 * Api/qwebpage.cpp: |
|
23637 (QWebPagePrivate::QWebPagePrivate): |
|
23638 * Api/qwebpage.h: |
|
23639 * WebCoreSupport/EditorClientQt.cpp: |
|
23640 (WebCore::EditorClientQt::pageDestroyed): |
|
23641 (WebCore::EditorClientQt::handleKeyPress): |
|
23642 (WebCore::EditorClientQt::EditorClientQt): |
|
23643 * WebCoreSupport/EditorClientQt.h: |
|
23644 |
|
23645 2007-01-31 George Staikos <staikos@kde.org> |
|
23646 |
|
23647 Remove focusFrame() - misguided - and add childFrames(). Fix a crash |
|
23648 on exit. |
|
23649 |
|
23650 Reviewed by Zack. |
|
23651 |
|
23652 * Api/qwebframe.cpp: |
|
23653 (QWebFrame::resizeEvent): |
|
23654 (QWebFrame::childFrames): |
|
23655 * Api/qwebframe.h: |
|
23656 * Api/qwebpage.cpp: |
|
23657 * Api/qwebpage.h: |
|
23658 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23659 (WebCore::FrameLoaderClientQt::webFrame): |
|
23660 * WebCoreSupport/FrameLoaderClientQt.h: |
|
23661 |
|
23662 2007-01-30 Zack Rusin <zrusin@trolltech.com> |
|
23663 |
|
23664 Improve QtLauncher to make it more useful as a testing tool. |
|
23665 |
|
23666 * QtLauncher/main.cpp: |
|
23667 (ClearButton::ClearButton): |
|
23668 (ClearButton::paintEvent): |
|
23669 (SearchEdit::SearchEdit): |
|
23670 (SearchEdit::~SearchEdit): |
|
23671 (SearchEdit::paintEvent): |
|
23672 (SearchEdit::resizeEvent): |
|
23673 (SearchEdit::moveEvent): |
|
23674 (MainWindow::MainWindow): |
|
23675 (MainWindow::changeLocation): |
|
23676 (MainWindow::loadFinished): |
|
23677 |
|
23678 2007-01-30 Simon Hausmann <hausmann@kde.org> |
|
23679 |
|
23680 Reviewed by Zack. |
|
23681 |
|
23682 Added import/export macros needed for build with ELF visibility and |
|
23683 for a build on Windows (in the future). |
|
23684 |
|
23685 * Api/qwebframe.h: |
|
23686 * Api/qwebkitglobal.h: Added. |
|
23687 * Api/qwebpage.h: |
|
23688 * Api/qwebpagehistory.h: |
|
23689 |
|
23690 2007-01-30 Zack Rusin <zack@kde.org> |
|
23691 |
|
23692 Change the signature of handleKeyPress |
|
23693 (make it compile) |
|
23694 |
|
23695 * WebCoreSupport/EditorClientQt.cpp: |
|
23696 (WebCore::EditorClientQt::handleKeyPress): |
|
23697 * WebCoreSupport/EditorClientQt.h: |
|
23698 |
|
23699 2007-01-29 Zack Rusin <zack@kde.org> |
|
23700 |
|
23701 Reviewed by Lars |
|
23702 |
|
23703 Set the allows-scrolling property on the view. |
|
23704 |
|
23705 * Api/qwebframe.cpp: |
|
23706 (QWebFrame::QWebFrame): |
|
23707 |
|
23708 2007-01-29 Oliver Hunt <oliver@apple.com> |
|
23709 |
|
23710 Reviewed by Adam. |
|
23711 |
|
23712 Stub for new DragClient method |
|
23713 |
|
23714 * WebCoreSupport/DragClientQt.cpp: |
|
23715 (WebCore::DragClientQt::dragSourceActionMaskForPoint): |
|
23716 * WebCoreSupport/DragClientQt.h: |
|
23717 |
|
23718 2007-01-29 Maciej Stachowiak <mjs@apple.com> |
|
23719 |
|
23720 Reviewed by Mark. |
|
23721 |
|
23722 - updated for cross-platform data loading support |
|
23723 |
|
23724 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23725 (WebCore::FrameLoaderClientQt::createDocumentLoader): |
|
23726 * WebCoreSupport/FrameLoaderClientQt.h: |
|
23727 |
|
23728 2007-01-29 George Staikos <staikos@kde.org> |
|
23729 |
|
23730 Make window resizing work. |
|
23731 |
|
23732 * Api/qwebpage.cpp: |
|
23733 (QWebPage::setWindowGeometry): |
|
23734 * Api/qwebpage.h: |
|
23735 * WebCoreSupport/ChromeClientQt.cpp: |
|
23736 (WebCore::ChromeClientQt::setWindowRect): |
|
23737 |
|
23738 2007-01-29 George Staikos <staikos@kde.org> |
|
23739 |
|
23740 Make popup windows work. |
|
23741 |
|
23742 * Api/qwebpage.cpp: |
|
23743 (QWebPage::createWindow): |
|
23744 * Api/qwebpage.h: |
|
23745 * WebCoreSupport/ChromeClientQt.cpp: |
|
23746 (WebCore::ChromeClientQt::createWindow): |
|
23747 |
|
23748 2007-01-29 Lars Knoll <lars@trolltech.com> |
|
23749 |
|
23750 Reviewed by Zack |
|
23751 |
|
23752 Fix the way we handle native widgets (QWidget) inside |
|
23753 WebCore. Now WebCore::Widget owns the QWidget in all |
|
23754 cases. This is the only way to get well defined semantics |
|
23755 for all teh native widgets we have (currently ScrollView |
|
23756 and ScrollBar, but plugins will follow). |
|
23757 |
|
23758 This has the side effect that one cannot rely on a defined |
|
23759 lifetime of a QWebFrame when using the API. |
|
23760 |
|
23761 * Api/qwebframe.cpp: |
|
23762 (QWebFrame::~QWebFrame): |
|
23763 * Api/qwebpage.cpp: |
|
23764 (QWebPage::~QWebPage): |
|
23765 * Api/qwebpage_p.h: |
|
23766 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23767 (WebCore::FrameLoaderClientQt::detachedFromParent3): |
|
23768 (WebCore::FrameLoaderClientQt::detachedFromParent4): |
|
23769 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed): |
|
23770 * WebCoreSupport/FrameLoaderClientQt.h: |
|
23771 |
|
23772 2007-01-29 George Staikos <staikos@kde.org> |
|
23773 |
|
23774 Reviewed by Zack. |
|
23775 |
|
23776 Implement more functions |
|
23777 |
|
23778 * Api/qwebpage.cpp: |
|
23779 (QWebPage::javaScriptConsoleMessage): |
|
23780 (QWebPage::statusTextChanged): |
|
23781 (QWebPage::runJavaScriptAlert): |
|
23782 * Api/qwebpage.h: |
|
23783 * Api/qwebpagehistory.cpp: |
|
23784 (QWebPageHistory::canGoBack): |
|
23785 (QWebPageHistory::canGoForward): |
|
23786 * Api/qwebpagehistory.h: |
|
23787 * WebCoreSupport/ChromeClientQt.cpp: |
|
23788 (WebCore::ChromeClientQt::addMessageToConsole): |
|
23789 (WebCore::ChromeClientQt::runJavaScriptAlert): |
|
23790 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23791 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem): |
|
23792 |
|
23793 2007-01-26 George Staikos <staikos@kde.org> |
|
23794 |
|
23795 Reviewed by Zack. |
|
23796 |
|
23797 Qt implementation. |
|
23798 |
|
23799 * Api/qwebframe.cpp: |
|
23800 (QWebFrame::QWebFrame): |
|
23801 (QWebFrame::title): |
|
23802 (QWebFrame::selectedText): |
|
23803 * Api/qwebframe.h: |
|
23804 * Api/qwebframe_p.h: |
|
23805 * Api/qwebpage.cpp: |
|
23806 (QWebPage::createFrame): |
|
23807 (QWebPage::open): |
|
23808 (QWebPage::url): |
|
23809 (QWebPage::title): |
|
23810 (QWebPage::focusFrame): |
|
23811 (QWebPage::stop): |
|
23812 * Api/qwebpage.h: |
|
23813 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23814 (WebCore::FrameLoaderClientQt::setFrame): |
|
23815 (WebCore::FrameLoaderClientQt::detachFrameLoader): |
|
23816 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle): |
|
23817 (WebCore::FrameLoaderClientQt::didChangeTitle): |
|
23818 (WebCore::FrameLoaderClientQt::setTitle): |
|
23819 * WebCoreSupport/FrameLoaderClientQt.h: |
|
23820 |
|
23821 2007-01-26 Lars Knoll <lars@trolltech.com> |
|
23822 |
|
23823 Make it compile again with Qt 4.2 and add the copyright |
|
23824 headers where forgotten in the last submit. |
|
23825 |
|
23826 * Api/qwebpagehistory.cpp: |
|
23827 * Api/qwebpagehistory.h: |
|
23828 (QExplicitlySharedDataPointer::operator*): |
|
23829 (QExplicitlySharedDataPointer::operator->): |
|
23830 (QExplicitlySharedDataPointer::operator T *): |
|
23831 (QExplicitlySharedDataPointer::operator const T *): |
|
23832 (QExplicitlySharedDataPointer::data): |
|
23833 (QExplicitlySharedDataPointer::constData): |
|
23834 (QExplicitlySharedDataPointer::operator==): |
|
23835 (QExplicitlySharedDataPointer::operator!=): |
|
23836 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer): |
|
23837 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer): |
|
23838 (QExplicitlySharedDataPointer::operator=): |
|
23839 (QExplicitlySharedDataPointer::operator!): |
|
23840 (::QExplicitlySharedDataPointer): |
|
23841 |
|
23842 2007-01-26 Zack Rusin <zrusin@trolltech.com> |
|
23843 |
|
23844 Reviewed by Lars |
|
23845 |
|
23846 Implement history support on platform Qt. |
|
23847 |
|
23848 * Api/qwebpage.cpp: |
|
23849 (QWebPage::history): |
|
23850 (QWebPage::goBack): |
|
23851 (QWebPage::goForward): |
|
23852 (QWebPage::goToHistoryItem): |
|
23853 * Api/qwebpage.h: |
|
23854 * Api/qwebpagehistory.cpp: Added. |
|
23855 (QWebHistoryItem::~QWebHistoryItem): |
|
23856 (QWebHistoryItem::originalUrl): |
|
23857 (QWebHistoryItem::currentUrl): |
|
23858 (QWebHistoryItem::title): |
|
23859 (QWebHistoryItem::lastVisited): |
|
23860 (QWebHistoryItem::icon): |
|
23861 (QWebHistoryItem::QWebHistoryItem): |
|
23862 (QWebPageHistory::QWebPageHistory): |
|
23863 (QWebPageHistory::itemAtIndex): |
|
23864 (QWebPageHistory::~QWebPageHistory): |
|
23865 (QWebPageHistory::items): |
|
23866 (QWebPageHistory::backItems): |
|
23867 (QWebPageHistory::forwardItems): |
|
23868 (QWebPageHistory::goBack): |
|
23869 (QWebPageHistory::goForward): |
|
23870 (QWebPageHistory::goToItem): |
|
23871 (QWebPageHistory::backItem): |
|
23872 (QWebPageHistory::currentItem): |
|
23873 (QWebPageHistory::forwardItem): |
|
23874 * Api/qwebpagehistory.h: Added. |
|
23875 * Api/qwebpagehistory_p.h: Added. |
|
23876 (QWebHistoryItemPrivate::QWebHistoryItemPrivate): |
|
23877 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate): |
|
23878 (QWebPageHistoryPrivate::QWebPageHistoryPrivate): |
|
23879 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate): |
|
23880 |
|
23881 2007-01-26 Lars Knoll <lars@trolltech.com> |
|
23882 |
|
23883 Get rid of FrameQtClient. It's unused since we moved over |
|
23884 to the loader. |
|
23885 |
|
23886 * Api/qwebframe.cpp: |
|
23887 (QWebFrame::QWebFrame): |
|
23888 |
|
23889 2007-01-26 Zack Rusin <zack@kde.org> |
|
23890 |
|
23891 Reviewed by Lars |
|
23892 |
|
23893 Correctly position child frames within the |
|
23894 toplevel frame. We were placed it on the widget |
|
23895 itself instead of the vieweport. |
|
23896 |
|
23897 * Api/qwebframe.cpp: |
|
23898 (QWebFrame::QWebFrame): |
|
23899 |
|
23900 2007-01-26 Lars Knoll <lars@trolltech.com> |
|
23901 |
|
23902 Reviewed by Zack |
|
23903 |
|
23904 Make sure we resize the HTML when resizing a |
|
23905 QWebFrame. Also ensure that the render tree |
|
23906 is up to date before dumping it. |
|
23907 |
|
23908 * Api/qwebframe.cpp: |
|
23909 (QWebFrame::innerText): |
|
23910 (QWebFrame::renderTreeDump): |
|
23911 (QWebFrame::resizeEvent): |
|
23912 * Api/qwebframe.h: |
|
23913 * Api/qwebpage.cpp: |
|
23914 (QWebPagePrivate::createMainFrame): |
|
23915 |
|
23916 2007-01-26 Zack Rusin <zack@kde.org> |
|
23917 |
|
23918 Reviewed by Lars |
|
23919 |
|
23920 Display pages inside a mainwindow instead |
|
23921 of a custom qwidget. |
|
23922 |
|
23923 * QtLauncher/main.cpp: |
|
23924 (MainWindow::MainWindow): |
|
23925 (main): |
|
23926 |
|
23927 2007-01-25 Lars Knoll <lars@trolltech.com> |
|
23928 |
|
23929 Reviewed by Zack |
|
23930 |
|
23931 Emit the loadDone() signal from teh onload event callback |
|
23932 again. This hangs on one or two test cases, but removes |
|
23933 hundreds of failures elsewhere. |
|
23934 |
|
23935 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23936 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents): |
|
23937 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): |
|
23938 |
|
23939 2007-01-24 Lars Knoll <lars@trolltech.com> |
|
23940 |
|
23941 Reviewed by Zack |
|
23942 |
|
23943 Implement some bits and pieces required by the loader. |
|
23944 Fixes quite a few crashes and hangs in the lyout tests |
|
23945 |
|
23946 * Api/qwebframe.h: |
|
23947 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23948 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents): |
|
23949 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): |
|
23950 (WebCore::FrameLoaderClientQt::finishedLoading): |
|
23951 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
23952 (WebCore::FrameLoaderClientQt::committedLoad): |
|
23953 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading): |
|
23954 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
23955 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
23956 (WebCore::FrameLoaderClientQt::createFrame): |
|
23957 |
|
23958 2007-01-24 Lars Knoll <lars@trolltech.com> |
|
23959 |
|
23960 Fix compilation again. |
|
23961 |
|
23962 * WebCoreSupport/EditorClientQt.cpp: |
|
23963 (WebCore::EditorClientQt::handleKeyPress): |
|
23964 * WebCoreSupport/EditorClientQt.h: |
|
23965 |
|
23966 2007-01-23 Lars Knoll <lars@trolltech.com> |
|
23967 |
|
23968 Reviewed by Zack |
|
23969 |
|
23970 Fix refcounting of FrameViews (they get created with a |
|
23971 refcount of 1) and add a few safety checks to the |
|
23972 FrameLoaderClientQt. |
|
23973 |
|
23974 * Api/qwebframe.cpp: |
|
23975 (QWebFrame::QWebFrame): |
|
23976 (QWebFrame::~QWebFrame): |
|
23977 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
23978 (WebCore::FrameLoaderClientQt::detachedFromParent3): |
|
23979 (WebCore::FrameLoaderClientQt::detachedFromParent4): |
|
23980 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents): |
|
23981 (WebCore::FrameLoaderClientQt::postProgressStartedNotification): |
|
23982 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification): |
|
23983 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): |
|
23984 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed): |
|
23985 (WebCore::FrameLoaderClientQt::windowObjectCleared): |
|
23986 |
|
23987 2007-01-23 Zack Rusin <zack@kde.org> |
|
23988 |
|
23989 Adjust the DragClientQt to latest changes. |
|
23990 |
|
23991 * Api/qwebpage.cpp: |
|
23992 (QWebPagePrivate::QWebPagePrivate): |
|
23993 * WebCoreSupport/DragClientQt.cpp: |
|
23994 (WebCore::DragClientQt::dragControllerDestroyed): |
|
23995 * WebCoreSupport/DragClientQt.h: |
|
23996 |
|
23997 2007-01-23 Zack Rusin <zack@kde.org> |
|
23998 |
|
23999 Fix the Qt build |
|
24000 |
|
24001 * WebCoreSupport/DragClientQt.cpp: |
|
24002 (WebCore::DragClientQt::willPerformDragDestinationAction): |
|
24003 * WebCoreSupport/DragClientQt.h: |
|
24004 |
|
24005 2007-01-23 Lars Knoll <lars@trolltech.com> |
|
24006 |
|
24007 Reviewed by Maciej |
|
24008 |
|
24009 Add support for Frames to the Qt build and fix some issues |
|
24010 in the API classes. |
|
24011 |
|
24012 * Api/qwebframe.cpp: |
|
24013 (QWebFrame::QWebFrame): |
|
24014 (QWebFrame::~QWebFrame): |
|
24015 * Api/qwebframe.h: |
|
24016 * Api/qwebframe_p.h: |
|
24017 * Api/qwebpage.cpp: |
|
24018 (QWebPagePrivate::QWebPagePrivate): |
|
24019 (QWebPagePrivate::createMainFrame): |
|
24020 (QWebPage::createFrame): |
|
24021 * Api/qwebpage.h: |
|
24022 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24023 (WebCore::FrameLoaderClientQt::detachedFromParent3): |
|
24024 (WebCore::FrameLoaderClientQt::detachedFromParent4): |
|
24025 (WebCore::FrameLoaderClientQt::cancelPolicyCheck): |
|
24026 (WebCore::FrameLoaderClientQt::windowObjectCleared): |
|
24027 (WebCore::FrameLoaderClientQt::createFrame): |
|
24028 (WebCore::FrameLoaderClientQt::objectContentType): |
|
24029 (WebCore::FrameLoaderClientQt::createPlugin): |
|
24030 (WebCore::FrameLoaderClientQt::redirectDataToPlugin): |
|
24031 (WebCore::FrameLoaderClientQt::createJavaAppletWidget): |
|
24032 (WebCore::FrameLoaderClientQt::overrideMediaType): |
|
24033 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24034 |
|
24035 2007-01-23 Oliver Hunt <oliver@apple.com> |
|
24036 |
|
24037 Reviewed by Adam. |
|
24038 |
|
24039 Qt build stubs for Drop logic |
|
24040 |
|
24041 * WebCoreSupport/DragClientQt.cpp: Added. |
|
24042 (WebCore::DragClientQt::actionMaskForDrag): |
|
24043 (WebCore::DragClientQt::willPerformDragDestinationAction): |
|
24044 * WebCoreSupport/DragClientQt.h: Added. |
|
24045 * WebKitPart/WebKitPart.cpp: |
|
24046 (WebKitPart::initView): |
|
24047 |
|
24048 2007-01-19 John Sullivan <sullivan@apple.com> |
|
24049 |
|
24050 Added stubs for new callbacks, to try to avoid breaking the Qt port. |
|
24051 |
|
24052 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24053 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad): |
|
24054 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24055 |
|
24056 2007-01-19 Anders Carlsson <acarlsson@apple.com> |
|
24057 |
|
24058 Try fixing the QT build. |
|
24059 |
|
24060 * WebCoreSupport/ChromeClientQt.cpp: |
|
24061 (WebCore::ChromeClientQt::runJavaScriptAlert): |
|
24062 (WebCore::ChromeClientQt::runJavaScriptConfirm): |
|
24063 (WebCore::ChromeClientQt::runJavaScriptPrompt): |
|
24064 (WebCore::ChromeClientQt::setStatusbarText): |
|
24065 * WebCoreSupport/ChromeClientQt.h: |
|
24066 |
|
24067 2007-01-18 Zack Rusin <zack@kde.org> |
|
24068 |
|
24069 Reviewed by Lars. |
|
24070 |
|
24071 Implementing a little bit of load progress tracking in the Qt port. |
|
24072 |
|
24073 * Api/qwebframe.cpp: |
|
24074 (QWebFrame::QWebFrame): |
|
24075 (QWebFrame::page): |
|
24076 * Api/qwebframe.h: |
|
24077 * Api/qwebframe_p.h: |
|
24078 (QWebFramePrivate::QWebFramePrivate): |
|
24079 * Api/qwebpage.h: |
|
24080 * QtLauncher/main.cpp: |
|
24081 (main): |
|
24082 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24083 (WebCore::FrameLoaderClientQt::setFrame): |
|
24084 (WebCore::FrameLoaderClientQt::detachFrameLoader): |
|
24085 (WebCore::FrameLoaderClientQt::postProgressStartedNotification): |
|
24086 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification): |
|
24087 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): |
|
24088 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24089 |
|
24090 2007-01-17 Alice Liu <alice.liu@apple.com> |
|
24091 |
|
24092 Added these stubs to keep the Qt build from failing. |
|
24093 |
|
24094 * WebCoreSupport/EditorClientQt.cpp: |
|
24095 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard): |
|
24096 * WebCoreSupport/EditorClientQt.h: |
|
24097 |
|
24098 2007-01-17 Lars Knoll <lars@trolltech.com> |
|
24099 |
|
24100 Reviewed by Zack |
|
24101 |
|
24102 Remove the inheritance from Shared<XxxClient> in the |
|
24103 client classes. |
|
24104 |
|
24105 Answer asynchronously to most of the Policy checking methods |
|
24106 in FrameLoaderClientQt to avoid some crashes in the loader. |
|
24107 |
|
24108 * WebCoreSupport/ChromeClientQt.cpp: |
|
24109 * WebCoreSupport/ChromeClientQt.h: |
|
24110 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
24111 * WebCoreSupport/ContextMenuClientQt.h: |
|
24112 * WebCoreSupport/EditorClientQt.cpp: |
|
24113 * WebCoreSupport/EditorClientQt.h: |
|
24114 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24115 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): |
|
24116 (WebCore::FrameLoaderClientQt::callPolicyFunction): |
|
24117 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction): |
|
24118 (WebCore::FrameLoaderClientQt::cancelPolicyCheck): |
|
24119 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm): |
|
24120 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
24121 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
24122 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
24123 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24124 |
|
24125 2007-01-17 Lars Knoll <lars@trolltech.com> |
|
24126 |
|
24127 Reviewed by Zack |
|
24128 |
|
24129 change all notImplemented() macros to use qDebug |
|
24130 instead of fprintf(stder, ...) |
|
24131 |
|
24132 * WebCoreSupport/ChromeClientQt.cpp: |
|
24133 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
24134 * WebCoreSupport/EditorClientQt.cpp: |
|
24135 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24136 |
|
24137 2007-01-16 Alice Liu <alice.liu@apple.com> |
|
24138 |
|
24139 Added these stubs to keep the Qt build from failing. |
|
24140 |
|
24141 * WebCoreSupport/EditorClientQt.cpp: |
|
24142 (WebCore::EditorClientQt::didWriteSelectionToPasteboard): |
|
24143 * WebCoreSupport/EditorClientQt.h: |
|
24144 |
|
24145 2007-01-16 Lars Knoll <lars@trolltech.com> |
|
24146 |
|
24147 Reviewed by Zack |
|
24148 |
|
24149 Added the start of a public API to the Qt build |
|
24150 of WebKit. Currently we have QWebPage and QWebFrame |
|
24151 with a few small methods. |
|
24152 |
|
24153 Converted the QtLauncher to use the new public API. |
|
24154 |
|
24155 * Api/qwebframe.cpp: Added. |
|
24156 (QWebFrame::QWebFrame): |
|
24157 (QWebFrame::~QWebFrame): |
|
24158 (QWebFrame::addToJSWindowObject): |
|
24159 (QWebFrame::markup): |
|
24160 (QWebFrame::innerText): |
|
24161 (QWebFrame::renderTreeDump): |
|
24162 * Api/qwebframe.h: Added. |
|
24163 * Api/qwebframe_p.h: Added. |
|
24164 (QWebFramePrivate::QWebFramePrivate): |
|
24165 * Api/qwebpage.cpp: Added. |
|
24166 (QWebPagePrivate::QWebPagePrivate): |
|
24167 (QWebPagePrivate::~QWebPagePrivate): |
|
24168 (QWebPagePrivate::createMainFrame): |
|
24169 (QWebPage::QWebPage): |
|
24170 (QWebPage::~QWebPage): |
|
24171 (QWebPage::createFrame): |
|
24172 (QWebPage::open): |
|
24173 (QWebPage::mainFrame): |
|
24174 (QWebPage::sizeHint): |
|
24175 * Api/qwebpage.h: Added. |
|
24176 * Api/qwebpage_p.h: Added. |
|
24177 * QtLauncher/main.cpp: |
|
24178 (main): |
|
24179 * WebCoreSupport/ChromeClientQt.cpp: |
|
24180 (WebCore::ChromeClientQt::ChromeClientQt): |
|
24181 (WebCore::ChromeClientQt::setWindowRect): |
|
24182 (WebCore::ChromeClientQt::windowRect): |
|
24183 (WebCore::ChromeClientQt::pageRect): |
|
24184 (WebCore::ChromeClientQt::focus): |
|
24185 (WebCore::ChromeClientQt::unfocus): |
|
24186 (WebCore::ChromeClientQt::canTakeFocus): |
|
24187 (WebCore::ChromeClientQt::takeFocus): |
|
24188 (WebCore::ChromeClientQt::createWindow): |
|
24189 (WebCore::ChromeClientQt::createModalDialog): |
|
24190 (WebCore::ChromeClientQt::show): |
|
24191 (WebCore::ChromeClientQt::addMessageToConsole): |
|
24192 (WebCore::ChromeClientQt::chromeDestroyed): |
|
24193 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel): |
|
24194 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel): |
|
24195 (WebCore::ChromeClientQt::closeWindowSoon): |
|
24196 * WebCoreSupport/ChromeClientQt.h: |
|
24197 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24198 (WebCore::FrameLoaderClientQt::setFrame): |
|
24199 (WebCore::FrameLoaderClientQt::detachFrameLoader): |
|
24200 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents): |
|
24201 (WebCore::FrameLoaderClientQt::partClearedInBegin): |
|
24202 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24203 |
|
24204 2007-01-15 Anders Carlsson <acarlsson@apple.com> |
|
24205 |
|
24206 Fix build. |
|
24207 |
|
24208 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24209 (WebCore::FrameLoaderClientQt::postProgressStartedNotification): |
|
24210 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification): |
|
24211 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): |
|
24212 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24213 |
|
24214 2007-01-13 Lars Knoll <lars@trolltech.com> |
|
24215 |
|
24216 Compile again after yesterdays changes. |
|
24217 |
|
24218 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24219 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest): |
|
24220 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest): |
|
24221 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge): |
|
24222 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge): |
|
24223 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): |
|
24224 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength): |
|
24225 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading): |
|
24226 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
24227 (WebCore::FrameLoaderClientQt::incrementProgress): |
|
24228 (WebCore::FrameLoaderClientQt::completeProgress): |
|
24229 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24230 |
|
24231 2007-01-11 Brady Eidson <beidson@apple.com> |
|
24232 |
|
24233 Keep the fancy new FrameLoaderClientQt building with a small api change in WebCore |
|
24234 Yay for the loader on QT! |
|
24235 |
|
24236 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24237 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge): |
|
24238 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge): |
|
24239 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24240 |
|
24241 2007-01-11 Lars Knoll <lars@trolltech.com> |
|
24242 |
|
24243 Reviewed by Darin |
|
24244 |
|
24245 Start using the loader in the Qt port. |
|
24246 |
|
24247 * QtLauncher/main.cpp: |
|
24248 (main): |
|
24249 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24250 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): |
|
24251 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt): |
|
24252 (WebCore::FrameLoaderClientQt::setFrame): |
|
24253 (WebCore::FrameLoaderClientQt::detachFrameLoader): |
|
24254 (WebCore::FrameLoaderClientQt::makeDocumentView): |
|
24255 (WebCore::FrameLoaderClientQt::makeRepresentation): |
|
24256 (WebCore::FrameLoaderClientQt::setCopiesOnScroll): |
|
24257 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad): |
|
24258 (WebCore::FrameLoaderClientQt::cancelPolicyCheck): |
|
24259 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm): |
|
24260 (WebCore::FrameLoaderClientQt::progressStarted): |
|
24261 (WebCore::FrameLoaderClientQt::progressCompleted): |
|
24262 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady): |
|
24263 (WebCore::FrameLoaderClientQt::clearArchivedResources): |
|
24264 (WebCore::FrameLoaderClientQt::canShowMIMEType): |
|
24265 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme): |
|
24266 (WebCore::FrameLoaderClientQt::provisionalLoadStarted): |
|
24267 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement): |
|
24268 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed): |
|
24269 (WebCore::FrameLoaderClientQt::canHandleRequest): |
|
24270 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem): |
|
24271 (WebCore::FrameLoaderClientQt::canCachePage): |
|
24272 (WebCore::FrameLoaderClientQt::committedLoad): |
|
24273 (WebCore::FrameLoaderClientQt::cancelledError): |
|
24274 (WebCore::FrameLoaderClientQt::cannotShowURLError): |
|
24275 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError): |
|
24276 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError): |
|
24277 (WebCore::FrameLoaderClientQt::fileDoesNotExistError): |
|
24278 (WebCore::FrameLoaderClientQt::shouldFallBack): |
|
24279 (WebCore::FrameLoaderClientQt::createDocumentLoader): |
|
24280 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest): |
|
24281 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): |
|
24282 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
24283 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
24284 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
24285 (WebCore::FrameLoaderClientQt::willUseArchive): |
|
24286 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24287 |
|
24288 2007-01-11 George Staikos <staikos@kde.org> |
|
24289 |
|
24290 Fix Qt Build. |
|
24291 |
|
24292 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
24293 (WebCore::ContextMenuClientQt::searchWithGoogle): |
|
24294 * WebCoreSupport/ContextMenuClientQt.h: |
|
24295 |
|
24296 2007-01-06 George Staikos <staikos@kde.org> |
|
24297 |
|
24298 Reviewed by Brady. |
|
24299 |
|
24300 Make it link. |
|
24301 |
|
24302 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24303 (WebCore::FrameLoaderClientQt::setMainDocumentError): |
|
24304 (WebCore::FrameLoaderClientQt::committedLoad): |
|
24305 (WebCore::FrameLoaderClientQt::cancelledError): |
|
24306 (WebCore::FrameLoaderClientQt::cannotShowURLError): |
|
24307 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError): |
|
24308 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError): |
|
24309 (WebCore::FrameLoaderClientQt::fileDoesNotExistError): |
|
24310 (WebCore::FrameLoaderClientQt::shouldFallBack): |
|
24311 (WebCore::FrameLoaderClientQt::createDocumentLoader): |
|
24312 (WebCore::FrameLoaderClientQt::download): |
|
24313 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest): |
|
24314 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): |
|
24315 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength): |
|
24316 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading): |
|
24317 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading): |
|
24318 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache): |
|
24319 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): |
|
24320 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): |
|
24321 (WebCore::FrameLoaderClientQt::dispatchCreatePage): |
|
24322 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): |
|
24323 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): |
|
24324 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): |
|
24325 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy): |
|
24326 (WebCore::FrameLoaderClientQt::incrementProgress): |
|
24327 (WebCore::FrameLoaderClientQt::completeProgress): |
|
24328 (WebCore::FrameLoaderClientQt::startDownload): |
|
24329 (WebCore::FrameLoaderClientQt::willUseArchive): |
|
24330 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24331 |
|
24332 2007-01-05 Lars Knoll <lars@trolltech.com> |
|
24333 |
|
24334 Make the Qt build compile again |
|
24335 |
|
24336 * WebCoreSupport/ChromeClientQt.cpp: |
|
24337 (WebCore::ChromeClientQt::canTakeFocus): |
|
24338 (WebCore::ChromeClientQt::takeFocus): |
|
24339 * WebCoreSupport/ChromeClientQt.h: |
|
24340 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
24341 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems): |
|
24342 * WebCoreSupport/ContextMenuClientQt.h: |
|
24343 |
|
24344 2007-01-03 Lars Knoll <lars@trolltech.com> |
|
24345 |
|
24346 Fix the Qt build |
|
24347 |
|
24348 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24349 (WebCore::FrameLoaderClientQt::setDocumentViewFromPageCache): |
|
24350 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad): |
|
24351 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload): |
|
24352 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem): |
|
24353 (WebCore::FrameLoaderClientQt::saveScrollPositionAndViewStateToItem): |
|
24354 (WebCore::FrameLoaderClientQt::saveDocumentViewToPageCache): |
|
24355 (WebCore::FrameLoaderClientQt::canCachePage): |
|
24356 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24357 |
|
24358 2006-12-29 George Staikos <staikos@kde.org> |
|
24359 |
|
24360 Add missing notimplemented. |
|
24361 |
|
24362 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24363 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed): |
|
24364 (WebCore::FrameLoaderClientQt::canHandleRequest): |
|
24365 (WebCore::FrameLoaderClientQt::partClearedInBegin): |
|
24366 |
|
24367 2006-12-21 Lars Knoll <lars@trolltech.com> |
|
24368 |
|
24369 Reviewed by Zack |
|
24370 |
|
24371 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24372 (WebCore::FrameLoaderClientQt::hasWebView): |
|
24373 (WebCore::FrameLoaderClientQt::hasFrameView): |
|
24374 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents): |
|
24375 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout): |
|
24376 (WebCore::FrameLoaderClientQt::setTitle): |
|
24377 (WebCore::FrameLoaderClientQt::partClearedInBegin): |
|
24378 * WebCoreSupport/FrameLoaderClientQt.h: |
|
24379 Remove some runtimw warnings |
|
24380 Add partClearedInBegin forwarding call, so |
|
24381 I can catch this in the layout tests. |
|
24382 |
|
24383 2006-12-19 Lars Knoll <lars@trolltech.com> |
|
24384 |
|
24385 Reviewed by Rob. |
|
24386 |
|
24387 * WebCoreSupport/ChromeClientQt.cpp: |
|
24388 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel): |
|
24389 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel): |
|
24390 (WebCore::ChromeClientQt::closeWindowSoon): |
|
24391 * WebCoreSupport/ChromeClientQt.h: |
|
24392 Make it compile. |
|
24393 |
|
24394 2006-12-16 Zack Rusin <zack@kde.org> |
|
24395 |
|
24396 Adjust the client to the most recent interface. |
|
24397 |
|
24398 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
24399 (WebCore::ContextMenuClientQt::contextMenuDestroyed): |
|
24400 (WebCore::ContextMenuClientQt::addCustomContextMenuItems): |
|
24401 (WebCore::ContextMenuClientQt::contextMenuItemSelected): |
|
24402 (WebCore::ContextMenuClientQt::downloadURL): |
|
24403 (WebCore::ContextMenuClientQt::copyImageToClipboard): |
|
24404 (WebCore::ContextMenuClientQt::lookUpInDictionary): |
|
24405 * WebCoreSupport/ContextMenuClientQt.h: |
|
24406 |
|
24407 2006-12-14 Simon Hausmann <hausmann@kde.org> |
|
24408 |
|
24409 Reviewed by Zack. |
|
24410 |
|
24411 * QtLauncher/QtLauncher.pro: Link this little test program |
|
24412 with rpath, for convenience. (This is never going to get installed |
|
24413 anyway) |
|
24414 |
|
24415 2006-12-12 George Staikos <staikos@kde.org> |
|
24416 |
|
24417 Reviewed by Alexey. |
|
24418 |
|
24419 Fix the Qt build again. |
|
24420 |
|
24421 * WebCoreSupport/ContextMenuClientQt.cpp: |
|
24422 (WebCore::ContextMenuClientQt::speak): |
|
24423 (WebCore::ContextMenuClientQt::stopSpeaking): |
|
24424 * WebCoreSupport/ContextMenuClientQt.h: |
|
24425 * WebCoreSupport/EditorClientQt.cpp: |
|
24426 (WebCore::EditorClientQt::toggleContinuousSpellChecking): |
|
24427 (WebCore::EditorClientQt::toggleGrammarChecking): |
|
24428 * WebCoreSupport/EditorClientQt.h: |
|
24429 |
|
24430 2006-12-10 George Staikos <staikos@kde.org> |
|
24431 |
|
24432 Reviewed by Zack. |
|
24433 |
|
24434 Add a default user agent for now. |
|
24435 |
|
24436 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24437 (WebCore::FrameLoaderClientQt::userAgent): |
|
24438 |
|
24439 2006-12-10 Lars Knoll <lars@trolltech.com> |
|
24440 |
|
24441 Reviewed by Zack |
|
24442 |
|
24443 Comment out a notImplemented() warning |
|
24444 |
|
24445 * WebCoreSupport/EditorClientQt.cpp: |
|
24446 (WebCore::EditorClientQt::clearUndoRedoOperations): |
|
24447 |
|
24448 2006-12-10 Zack Rusin <zack@kde.org> |
|
24449 |
|
24450 Print out the method name if it's unimplemented. |
|
24451 |
|
24452 * WebCoreSupport/FrameLoaderClientQt.cpp: |
|
24453 |
|
24454 2006-12-10 Zack Rusin <zack@kde.org> |
|
24455 |
|
24456 Moving the clients from platform to their final location. |
|
24457 |
|
24458 * WebCoreSupport/FrameLoaderClientQt.cpp: Added. |
|
24459 * WebCoreSupport/FrameLoaderClientQt.h: Added. |
|
24460 * WebCoreSupport/ChromeClientQt.cpp: Added. |
|
24461 * WebCoreSupport/ChromeClientQt.h: Added. |
|
24462 * WebCoreSupport/ContextMenuClientQt.cpp: Added. |
|
24463 * WebCoreSupport/ContextMenuClientQt.h: Added. |
|
24464 * WebCoreSupport/EditorClientQt.cpp: Added. |
|
24465 * WebCoreSupport/EditorClientQt.h: Added. |
|
24466 |
|
24467 2006-12-10 Zack Rusin <zack@kde.org> |
|
24468 |
|
24469 Adjusting to the changes in platform/qt. |
|
24470 |
|
24471 * QtLauncher/main.cpp: |
|
24472 (main): |
|
24473 |
|
24474 2006-12-09 Lars Knoll <lars@trolltech.com> |
|
24475 |
|
24476 Reviewed by Zack |
|
24477 |
|
24478 Make it possible to build WebKit with qmake. |
|
24479 |
|
24480 * QtLauncher/QtLauncher.pro: Added. |
|
24481 * QtLauncher/main.cpp: |
|
24482 |
|
24483 2006-12-08 Zack Rusin <zack@kde.org> |
|
24484 |
|
24485 Reviewed by Maciej. |
|
24486 |
|
24487 Fix the build after the recent changes. |
|
24488 |
|
24489 * QtLauncher/main.cpp: |
|
24490 (main): |
|
24491 * WebKitPart/WebKitPart.cpp: |
|
24492 (WebKitPart::initView): |
|
24493 |
|
24494 2006-11-19 Simon Hausmann <hausmann@kde.org> |
|
24495 |
|
24496 Reviewed by Zack. |
|
24497 |
|
24498 http://bugs.webkit.org/show_bug.cgi?id=11649 |
|
24499 Fix Qt-only build |
|
24500 |
|
24501 * QtLauncher/CMakeLists.txt: |
|
24502 |
|
24503 2006-11-17 Zack Rusin <zack@kde.org> |
|
24504 |
|
24505 Reviewed by Mitz. Landed by Niko. |
|
24506 |
|
24507 Adjusting to the new api. |
|
24508 |
|
24509 * QtLauncher/main.cpp: |
|
24510 (main): |
|
24511 * WebKitPart/WebKitPart.cpp: |
|
24512 (WebKitPart::initView): |
|
24513 |
|
24514 2006-11-10 Zack Rusin <zack@kde.org> |
|
24515 |
|
24516 Reviewed and landed by Anders. |
|
24517 |
|
24518 Adjusting to the recent loader changes, making it compile |
|
24519 and work. |
|
24520 |
|
24521 * QtLauncher/main.cpp: |
|
24522 (main): |
|
24523 * WebKitPart/WebKitPart.cpp: |
|
24524 (WebKitPart::closeUrl): |
|
24525 (WebKitPart::initView): |
|
24526 |
|
24527 2006-11-03 Zack Rusin <zack@kde.org> |
|
24528 |
|
24529 Reviewed by Maciej. |
|
24530 |
|
24531 Fixing compile on both Qt and KDE platforms. |
|
24532 |
|
24533 * QtLauncher/main.cpp: |
|
24534 (main): url has already been defined |
|
24535 * WebKitPart/WebKitPartBrowserExtension.cpp: removing |
|
24536 duplicate implementation of this class |
|
24537 |
|
24538 2006-10-31 Simon Hausmann <hausmann@kde.org> |
|
24539 |
|
24540 Reviewed by Maciej, landed by Anders. |
|
24541 |
|
24542 * QtLauncher/CMakeLists.txt: Make linkage against kde libraries |
|
24543 optional |
|
24544 * QtLauncher/main.cpp: Make it compile without KDE. |
|
24545 (main): |
|
24546 |
|
24547 2006-11-02 Simon Hausmann <hausmann@kde.org> |
|
24548 |
|
24549 Reviewed by Maciej, landed by Anders. |
|
24550 |
|
24551 * QtLauncher/main.cpp: |
|
24552 (main): Declare our frame as main frame to the Page object. |
|
24553 Fixes crashes on various web sites |
|
24554 |
|
24555 2006-10-31 Zack Rusin <zack@kde.org> |
|
24556 |
|
24557 Reviewed by Mitz. |
|
24558 |
|
24559 Fix the Qt build after last nights changes. |
|
24560 |
|
24561 * QtLauncher/CMakeLists.txt: |
|
24562 * WebKitPart/CMakeLists.txt: |
|
24563 |
|
24564 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org> |
|
24565 |
|
24566 Reviewed by Darin Adler. |
|
24567 |
|
24568 Fix Qt/Linux build. |
|
24569 |
|
24570 * QtLauncher/main.cpp: |
|
24571 (main): |
|
24572 * WebKitPart/WebKitPart.cpp: |
|
24573 (WebKitPart::openUrl): |
|
24574 |
|
24575 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org> |
|
24576 |
|
24577 Reviewed by Maciej. |
|
24578 |
|
24579 Fix Qt/Linux build. |
|
24580 |
|
24581 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt. |
|
24582 - Fix CMakeLists.txt to include platform/network. |
|
24583 |
|
24584 * QtLauncher/CMakeLists.txt: |
|
24585 * WebKitPart/CMakeLists.txt: |
|
24586 |
|
24587 2006-10-24 Simon Hausmann <hausmann@kde.org> |
|
24588 |
|
24589 Reviewed by Darin Adler. |
|
24590 |
|
24591 * QtLauncher/CMakeLists.txt, WebKitPart/CMakeLists.txt: Added project name to |
|
24592 kde4_automoc macro, as required by the latest KDE4 cmake module. |
|
24593 |
|
24594 2006-10-20 Nikolas Zimmermann <zimmermann@kde.org> |
|
24595 |
|
24596 Reviewed and landed by Anders. |
|
24597 |
|
24598 Adapt to FrameQtClient changes, and provide some kind of status |
|
24599 information to the KPart wheter we're loading or not (started/completed signaling). |
|
24600 |
|
24601 * WebKitPart/CMakeLists.txt: |
|
24602 * WebKitPart/WebKitPart.cpp: |
|
24603 (WebKitPart::WebKitPart): |
|
24604 (WebKitPart::~WebKitPart): |
|
24605 (WebKitPart::openUrl): |
|
24606 (WebKitPart::initView): |
|
24607 * WebKitPart/WebKitPart.h: |
|
24608 * WebKitPart/WebKitPartBrowserExtension.cpp: Added. |
|
24609 (WebKitPartBrowserExtension::WebKitPartBrowserExtension): |
|
24610 (WebKitPartBrowserExtension::~WebKitPartBrowserExtension): |
|
24611 * WebKitPart/WebKitPartBrowserExtension.h: Added. |
|
24612 * WebKitPart/WebKitPartClient.cpp: |
|
24613 (WebKitPartClient::WebKitPartClient): |
|
24614 (WebKitPartClient::loadFinished): |
|
24615 * WebKitPart/WebKitPartClient.h: |
|
24616 * WebKitPart/WebKitPartInterface.h: |
|
24617 |
|
24618 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org> |
|
24619 |
|
24620 Reviewed by eseidel. Landed by eseidel. |
|
24621 |
|
24622 Fix last remaining issue Qt/Linux build with gcc3. |
|
24623 |
|
24624 * WebKitPart/WebKitPart.h: Remove Q_PROPERTY usage, which is not needed and made problems. |
|
24625 |
|
24626 2006-09-10 Nikolas Zimmermann <zimmermann@kde.org> |
|
24627 |
|
24628 Reviewed and landed by ap. |
|
24629 |
|
24630 Fix QtLauncher - it is supposed to create a FrameView on its own nowadays. |
|
24631 |
|
24632 * QtLauncher/main.cpp: |
|
24633 (main): |
|
24634 |
|
24635 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org> |
|
24636 |
|
24637 Reviewed by Tim H. |
|
24638 |
|
24639 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644 |
|
24640 Move QtLauncher down to WebKitQt. |
|
24641 |
|
24642 * QtLauncher/CMakeLists.txt: Added. |
|
24643 * QtLauncher/main.cpp: Added. |
|
24644 (main): |
|
24645 |
|
24646 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org> |
|
24647 |
|
24648 Reviewed by Darin Adler. Final polish by Sam. |
|
24649 |
|
24650 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644 |
|
24651 Add WebKitPart, an embeddable KPart for the KDE platform. |
|
24652 |
|
24653 * WebKitPart/CMakeLists.txt: Added. |
|
24654 * WebKitPart/WebKitFactory.cpp: Added. |
|
24655 (WebKitFactory::WebKitFactory): |
|
24656 (WebKitFactory::~WebKitFactory): |
|
24657 (WebKitFactory::createPartObject): |
|
24658 (WebKitFactory::instance): |
|
24659 (WebKitFactory::ref): |
|
24660 (WebKitFactory::deref): |
|
24661 (init_libWebKitPart): |
|
24662 * WebKitPart/WebKitFactory.h: Added. |
|
24663 * WebKitPart/WebKitPart.cpp: Added. |
|
24664 (WebKitPart::WebKitPart): |
|
24665 (WebKitPart::~WebKitPart): |
|
24666 (WebKitPart::openFile): |
|
24667 (WebKitPart::openUrl): |
|
24668 (WebKitPart::closeUrl): |
|
24669 (WebKitPart::parentPart): |
|
24670 (WebKitPart::frame): |
|
24671 (WebKitPart::initView): |
|
24672 * WebKitPart/WebKitPart.desktop: Added. |
|
24673 * WebKitPart/WebKitPart.h: Added. |
|
24674 (WebKitPart::): |
|
24675 * WebKitPart/WebKitPart.rc: Added. |
|
24676 * WebKitPart/WebKitPartBrowser.rc: Added. |
|
24677 * WebKitPart/WebKitPartClient.cpp: Added. |
|
24678 (WebKitPartClient::WebKitPartClient): |
|
24679 (WebKitPartClient::~WebKitPartClient): |
|
24680 * WebKitPart/WebKitPartClient.h: Added. |
|
24681 * WebKitPart/WebKitPartInterface.cpp: Added. |
|
24682 (WebKitPartInterface::WebKitPartInterface): |
|
24683 (WebKitPartInterface::~WebKitPartInterface): |
|
24684 (WebKitPartInterface::url): |
|
24685 (WebKitPartInterface::closeURL): |
|
24686 * WebKitPart/WebKitPartInterface.h: Added. |
|
24687 * WebKitPart/org.kde.WebKitPart.xml: Added. |
|
24688 |