1 2008-05-04 Robin Dunn <robin@alldunn.com>
3 Reviewed by Kevin Ollivier.
5 Allow events to specify the ID of the particular wxWebView they are to be sent to.
7 https://bugs.webkit.org/show_bug.cgi?id=18659
10 (wxWebFrame::wxWebFrame):
12 (wxWebViewLoadEvent::wxWebViewLoadEvent):
13 (wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent):
14 (wxWebViewNewWindowEvent::wxWebViewNewWindowEvent):
15 (wxWebViewRightClickEvent::wxWebViewRightClickEvent):
16 (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
18 * bindings/python/webview.i:
20 2008-04-27 Robin Dunn <robin@alldunn.com>
22 Reviewed by Kevin Ollivier.
24 Add methods to check if there is a previous/next page in the history. Also some
27 https://bugs.webkit.org/show_bug.cgi?id=18757
31 (wxWebView::GoForward):
32 (wxWebView::CanGoBack):
33 (wxWebView::CanGoForward):
36 2008-04-24 Anders Carlsson <andersca@apple.com>
40 Change some String arguments to be const references instead.
42 * WebKitSupport/EditorClientWx.cpp:
43 (WebCore::EditorClientWx::shouldInsertText):
44 * WebKitSupport/EditorClientWx.h:
46 2008-04-23 Kevin Ollivier <kevino@theolliviers.com>
48 Reviewed by Alp Toker.
50 Typo fix to restore text entry.
52 * WebKitSupport/EditorClientWx.cpp:
53 (WebCore::EditorClientWx::handleKeyboardEvent):
55 2008-04-19 Kevin Ollivier <kevino@theolliviers.com>
57 wx build fix. renderer() -> contentRenderer()
60 (wxWebView::GetExternalRepresentation):
63 2008-04-18 Kevin Ollivier <kevino@theolliviers.com>
65 wx build fix. We need to use ENABLE_DOM_STORAGE now.
69 2008-04-05 Kevin Ollivier <kevino@theolliviers.com>
71 Rubber stamped by Mark Rowe.
73 Don't assume wxWebKit to be part of the wx package. This allows
74 us to run it from any directory on the PYTHONPATH rather than
75 having to copy files into the wxPython directory.
77 * bindings/python/webview.i:
79 2008-03-25 Brady Eidson <beidson@apple.com>
83 Remove newly obsolete FrameLoaderClient methods
85 * WebKitSupport/FrameLoaderClientWx.cpp:
86 * WebKitSupport/FrameLoaderClientWx.h:
88 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
90 wx build fix. Make sure we link png/jpeg libraries before
91 wx libraries to get the right symbols.
96 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
98 Rubber stamped by Darin.
100 Add set-webkit-configuration support for wx port, and centralize
101 build dir location setting.
103 http://bugs.webkit.org/show_bug.cgi?id=17790
105 * bindings/python/wxwebkit-py.bkl:
106 * presets/wxwebkit.bkl:
110 2008-03-12 David Hyatt <hyatt@apple.com>
112 Make the zoom factor a float and not a percent.
117 (wxWebView::IncreaseTextSize):
118 (wxWebView::DecreaseTextSize):
120 2008-03-03 Kevin Ollivier <kevino@theolliviers.com>
122 wx build fix after Frame::setZoomFactor API change.
125 (wxWebView::IncreaseTextSize):
126 (wxWebView::DecreaseTextSize):
128 2008-02-24 Darin Adler <darin@apple.com>
132 - remove separate client calls for "standard" and "reload' history
134 * WebKitSupport/FrameLoaderClientWx.cpp:
135 (WebCore::FrameLoaderClientWx::updateGlobalHistory):
136 * WebKitSupport/FrameLoaderClientWx.h:
138 2008-02-23 Kevin Ollivier <kevino@theolliviers.com>
140 Reviewed by Darin Adler.
142 Move text drawing into wxcode, as we need platform-dependent
143 APIs for drawing non-kerned text, which wx doesn't yet have.
144 (But hopefully will, once these APIs are fleshed out on all
147 http://bugs.webkit.org/show_bug.cgi?id=17396
150 We need to directly link against GDI+ on Windows since we now
151 directly call GDI+ APIs.
153 2008-02-14 Darin Adler <darin@apple.com>
155 * WebView.cpp: Removed use of DeprecatedString to keep this compiling.
157 2008-02-11 Kevin Ollivier <kevino@theolliviers.com>
159 Reviewed by Darin Adler.
161 A couple quick wx fixes.
163 http://bugs.webkit.org/show_bug.cgi?id=17321
166 (wxWebView::OnPaint):
167 Make sure wxGCDC has its paint origin set properly after
168 the move to wxWindow for scrolling.
169 * bindings/python/webview.i:
170 Update the wxPython bindings after event rename.
172 2008-02-10 Darin Adler <darin@apple.com>
176 - http://bugs.webkit.org/show_bug.cgi?id=17256
177 eliminate default ref. count of 0 in RefCounted class
179 * WebKitSupport/FrameLoaderClientWx.cpp:
180 (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
181 Set the count to 0 explicitly (one stray client I missed in my last pass).
183 2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
185 Reviewed by Darin Adler.
187 Typo fix. Don't use the provisionalDocumentLoader() after the
188 whole page has already been loaded.
190 * WebKitSupport/FrameLoaderClientWx.cpp:
191 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
193 2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
195 Build fix for last wx commit (a couple things were not committed).
196 Also fix some style issues.
199 (wxWebView::wxWebView):
200 (wxWebView::OnPaint):
202 (wxWebView::CanCopy):
206 (wxWebView::CanPaste):
208 (wxWebView::OnKeyEvents):
209 (wxWebView::OnSetFocus):
210 (wxWebView::OnKillFocus):
211 (wxWebView::OnActivate):
214 2008-01-31 Kevin Ollivier <kevino@theolliviers.com>
216 Reviewed by Adam Roben.
218 On MSW, the wx port internally uses callbacks for wxTimer, so the
219 wx port suffers from the same crash problem that was fixed
220 in r28500 for the Windows port. For now, use the SharedTimerWin.cpp
221 impl. for wx too on MSW, until a version of wx is released that
222 fixes the issue by reworking wxTimer.
225 (wxWebView::wxWebView):
227 2008-01-21 Darin Adler <darin@apple.com>
229 Reviewed by John Sullivan.
231 - updated for changes to ChromeClient database functions
233 * WebKitSupport/ChromeClientWx.cpp:
234 (WebCore::ChromeClientWx::exceededDatabaseQuota):
235 * WebKitSupport/ChromeClientWx.h:
237 2008-01-16 Adam Roben <aroben@apple.com>
239 Updated for WebCore method renames.
244 (wxWebView::OnSetFocus):
245 (wxWebView::OnKillFocus):
246 (wxWebView::OnActivate):
248 2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
250 Reviewed by Darin Adler.
252 wxWebKit API changes in preparation for DRT implementation.
255 - Add CONSOLE_MESSAGE callback so clients can choose how to handle
257 - Add more load events, and rename wxWebViewStateChangedEvent to
258 wxWebViewLoadEvent to reflect that all 'states' are load states.
259 - Add wxWebView impls. for GetInnerText(), GetAsMarkup() and
260 GetExternalRepresentation()
263 (wxWebFrame::OnLoadEvent):
265 * WebKitSupport/ChromeClientWx.cpp:
266 (WebCore::ChromeClientWx::ChromeClientWx):
267 (WebCore::ChromeClientWx::addMessageToConsole):
268 * WebKitSupport/ChromeClientWx.h:
269 * WebKitSupport/FrameLoaderClientWx.cpp:
270 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
271 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
272 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
273 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
274 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
276 (wxWebViewLoadEvent::wxWebViewLoadEvent):
277 (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
278 (wxWebView::wxWebView):
279 (wxWebView::GetPageSource):
280 (wxWebView::GetInnerText):
281 (wxWebView::GetAsMarkup):
282 (wxWebView::GetExternalRepresentation):
285 2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
287 wx build fix. Add WebCore/icu/include dir for OS X boxes with
288 only stock ICU installed.
292 2008-01-10 Maciej Stachowiak <mjs@apple.com>
296 - remove SecurityOriginData and fold its functionality into SecurityOrigin
298 * WebKitSupport/ChromeClientWx.cpp:
299 (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
300 (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
301 * WebKitSupport/ChromeClientWx.h:
303 2007-12-16 Darin Adler <darin@apple.com>
305 - try to fix the build
308 (wxWebView::OnKeyEvents): Add a WebCore prefix.
310 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
314 http://bugs.webkit.org/show_bug.cgi?id=16462
315 REGRESSION: access keys broken on Windows
317 * WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
319 2007-12-14 Darin Adler <darin@apple.com>
323 * WebKitSupport/EditorClientWx.cpp:
324 (WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
327 2007-12-12 Brady Eidson <beidson@apple.com>
329 Reviewed by Sam Weinig
331 As part of doing some CachedPage and client cleanup, keep Wx building
333 * WebKitSupport/FrameLoaderClientWx.cpp:
334 (WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
335 (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
336 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
337 * WebKitSupport/FrameLoaderClientWx.h:
339 2007-12-12 Sam Weinig <sam@webkit.org>
343 * WebKitSupport/ChromeClientWx.cpp:
344 (WebCore::ChromeClientWx::createWindow):
345 * WebKitSupport/FrameLoaderClientWx.cpp:
346 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
347 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
348 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
349 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
350 (WebCore::FrameLoaderClientWx::didChangeTitle):
351 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
353 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
357 <rdar://problem/5535636>
358 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
360 http://bugs.webkit.org/show_bug.cgi?id=13916
361 JavaScript detects Tab as a character input on a textfield validation
363 * WebKitSupport/EditorClientWx.cpp:
364 (WebCore::EditorClientWx::handleInputMethodKeydown):
365 (WebCore::EditorClientWx::handleKeyboardEvent):
366 * WebKitSupport/EditorClientWx.h:
367 Updated for cross-platform changes as much as it was possible without a wx build environment.
368 The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
369 after the Windows port.
371 2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
373 Fix page leak caused because the Frame's page pointer is 0 by the
374 time we call delete on it. Store a reference to the page instead
375 and delete it that way.
377 Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
378 on Linux the wxGCDC gcdc(dc) constructor will not retain the
379 changes made to dc by PrepareDC(dc).
381 Reviewed by Darin Adler.
384 (wxWebView::wxWebView):
385 (wxWebView::~wxWebView):
386 (wxWebView::OnPaint):
388 (WebViewPrivate::WebViewPrivate):
390 2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
392 Linux build fix - ensure that webcore is linked before jscore
393 so that the linker will know which symbols it needs to link in.
394 Also fix MSVC project file name typo for sample app.
399 2007-12-04 Darin Adler <darin@apple.com>
401 Reviewed by Kevin Decker.
403 * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
404 * WebKitSupport/FrameLoaderClientWx.h: Ditto.
406 2007-12-03 Mark Rowe <mrowe@apple.com>
411 (wxWebView::RunScript):
413 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
415 wx build fix. Add WebCore/platform/graphics/wx to includes.
419 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
421 Fix method signatures to be members of ClientChromeWx class.
423 * WebKitSupport/ChromeClientWx.cpp:
424 (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
425 (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
427 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
429 Build fix. Add platform/text to includes for targets that
430 need WebCore headers.
432 * presets/wxwebkit.bkl:
434 2007-11-29 Brady Eidson <beidson@apple.com>
436 Keep it building with new client method
438 * WebKitSupport/ChromeClientWx.cpp:
439 (WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
440 (WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
441 * WebKitSupport/ChromeClientWx.h:
443 2007-11-25 Kevin Ollivier <kevino@theolliviers.com>
445 wx build fix. Don't get xslt-config options at bake time, do it
450 2007-11-23 Kevin Ollivier <kevino@theolliviers.com>
452 wx build fix. Include config.h in WebFrame/WebView to ensure
453 WebCore headers are properly configured, fix unicode/utf8.h and
454 config.h include ordering issues, centralize wx project options to
455 ensure proper configuration, and fix wxwebkit-python target so that
456 it links against wx libs.
460 * bindings/python/wxwebkit-py.bkl:
462 * presets/wxwebkit.bkl:
466 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
468 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
469 it indiscriminately copies any headers inside JavaScriptCore,
470 which includes Tiger ICU headers.
472 * presets/wxwebkit.bkl:
473 Remove WebCore/include reference and add JSCore header dirs needed
476 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
478 Add pcre directory to JSCore includes, and update the wx port
479 to reflect the Shared -> RefCounted name change. Also, fix
480 WebFrame.cpp to re-enable code that should never have been
486 (wxWebFrame::wxWebFrame):
487 * WebKitSupport/FrameLoaderClientWx.cpp:
488 (WebCore::FrameLoaderClientWx::ref):
489 (WebCore::FrameLoaderClientWx::deref):
490 * WebKitSupport/FrameLoaderClientWx.h:
491 * presets/wxwebkit.bkl:
493 2007-11-17 Timothy Hatcher <timothy@apple.com>
495 Reviewed by Mark Rowe.
497 Bug 13470: i18n: The Web Inspector is not localizable
498 http://bugs.webkit.org/show_bug.cgi?id=13470
500 * WebKitSupport/InspectorClientWx.cpp:
501 (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
502 * WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
504 2007-11-08 Kevin Ollivier <kevino@theolliviers.com>
506 Initial commit of wx implementation of WebKit. This includes
507 the wxWebFrame and wxWebView wx front end classes, the
508 WebKitSupport directory containing implementations of interfaces
509 used by WebCore to talk with the wxWebKit front end, and the
510 language bindings for wxWebKit (bindings dir), currently
511 only containing bindings and a sample app for wxPython.
513 Reviewed by Mark Rowe.
515 * Bakefiles.bkgen: Added.
516 * WebFrame.cpp: Added.
518 * WebKitSupport: Added.
519 * WebKitSupport/ChromeClientWx.cpp: Added.
520 * WebKitSupport/ChromeClientWx.h: Added.
521 * WebKitSupport/ContextMenuClientWx.cpp: Added.
522 * WebKitSupport/ContextMenuClientWx.h: Added.
523 * WebKitSupport/DragClientWx.cpp: Added.
524 * WebKitSupport/DragClientWx.h: Added.
525 * WebKitSupport/EditorClientWx.cpp: Added.
526 * WebKitSupport/EditorClientWx.h: Added.
527 * WebKitSupport/FrameLoaderClientWx.cpp: Added.
528 * WebKitSupport/FrameLoaderClientWx.h: Added.
529 * WebKitSupport/InspectorClientWx.cpp: Added.
530 * WebKitSupport/InspectorClientWx.h: Added.
531 * WebView.cpp: Added.
533 * WebViewPrivate.h: Added.
535 * bindings/python: Added.
536 * bindings/python/samples: Added.
537 * bindings/python/samples/simple.py: Added.
538 * bindings/python/webview.i: Added.
539 * bindings/python/wxwebkit-py.bkl: Added.
540 * dependencies.bkl: Added.
542 * presets/wxwebkit.bkl: Added.
543 * wxwebkit.bkl: Added.
544 * wxwk-settings.bkl: Added.