wxWebKit API changes in preparation for DRT implementation.
[WebKit.git] / WebKit / wx / ChangeLog
1 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
2
3         Reviewed by Darin Adler.
4
5         wxWebKit API changes in preparation for DRT implementation. 
6         Specifically:
7
8         - Add CONSOLE_MESSAGE callback so clients can choose how to handle
9         console messages.
10         - Add more load events, and rename wxWebViewStateChangedEvent to 
11         wxWebViewLoadEvent to reflect that all 'states' are load states.
12         - Add wxWebView impls. for GetInnerText(), GetAsMarkup() and 
13         GetExternalRepresentation()
14
15         * WebFrame.cpp:
16         (wxWebFrame::OnLoadEvent):
17         * WebFrame.h:
18         * WebKitSupport/ChromeClientWx.cpp:
19         (WebCore::ChromeClientWx::ChromeClientWx):
20         (WebCore::ChromeClientWx::addMessageToConsole):
21         * WebKitSupport/ChromeClientWx.h:
22         * WebKitSupport/FrameLoaderClientWx.cpp:
23         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
24         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
25         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
26         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
27         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
28         * WebView.cpp:
29         (wxWebViewLoadEvent::wxWebViewLoadEvent):
30         (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
31         (wxWebView::wxWebView):
32         (wxWebView::GetPageSource):
33         (wxWebView::GetInnerText):
34         (wxWebView::GetAsMarkup):
35         (wxWebView::GetExternalRepresentation):
36         * WebView.h:
37
38 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
39
40         wx build fix. Add WebCore/icu/include dir for OS X boxes with
41         only stock ICU installed.
42
43         * dependencies.bkl:
44
45 2008-01-10  Maciej Stachowiak  <mjs@apple.com>
46
47         Reviewed by Sam.
48
49         - remove SecurityOriginData and fold its functionality into SecurityOrigin
50
51         * WebKitSupport/ChromeClientWx.cpp:
52         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
53         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
54         * WebKitSupport/ChromeClientWx.h:
55
56 2007-12-16  Darin Adler  <darin@apple.com>
57
58         - try to fix the build
59
60         * WebView.cpp:
61         (wxWebView::OnKeyEvents): Add a WebCore prefix.
62
63 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
64
65         Reviewed by Darin.
66
67         http://bugs.webkit.org/show_bug.cgi?id=16462
68         REGRESSION: access keys broken on Windows
69
70         * WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
71
72 2007-12-14  Darin Adler  <darin@apple.com>
73
74         Reviewed by Alexey.
75
76         * WebKitSupport/EditorClientWx.cpp:
77         (WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
78         to Editor::command.
79
80 2007-12-12  Brady Eidson  <beidson@apple.com>
81
82         Reviewed by Sam Weinig
83
84         As part of doing some CachedPage and client cleanup, keep Wx building
85
86         * WebKitSupport/FrameLoaderClientWx.cpp:
87         (WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
88         (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
89         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
90         * WebKitSupport/FrameLoaderClientWx.h:
91
92 2007-12-12  Sam Weinig  <sam@webkit.org>
93
94         Build fix.
95
96         * WebKitSupport/ChromeClientWx.cpp:
97         (WebCore::ChromeClientWx::createWindow):
98         * WebKitSupport/FrameLoaderClientWx.cpp:
99         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
100         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
101         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
102         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
103         (WebCore::FrameLoaderClientWx::didChangeTitle):
104         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
105
106 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
107
108         Reviewed by Darin.
109
110         <rdar://problem/5535636>
111         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
112
113         http://bugs.webkit.org/show_bug.cgi?id=13916
114         JavaScript detects Tab as a character input on a textfield validation
115
116         * WebKitSupport/EditorClientWx.cpp:
117         (WebCore::EditorClientWx::handleInputMethodKeydown):
118         (WebCore::EditorClientWx::handleKeyboardEvent):
119         * WebKitSupport/EditorClientWx.h:
120         Updated for cross-platform changes as much as it was possible without a wx build environment.
121         The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
122         after the Windows port.
123
124 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
125
126         Fix page leak caused because the Frame's page pointer is 0 by the 
127         time we call delete on it. Store a reference to the page instead
128         and delete it that way.
129
130         Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
131         on Linux the wxGCDC gcdc(dc) constructor will not retain the
132         changes made to dc by PrepareDC(dc).
133
134         Reviewed by Darin Adler.
135
136         * WebView.cpp:
137         (wxWebView::wxWebView):
138         (wxWebView::~wxWebView):
139         (wxWebView::OnPaint):
140         * WebViewPrivate.h:
141         (WebViewPrivate::WebViewPrivate):
142
143 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
144
145         Linux build fix - ensure that webcore is linked before jscore
146         so that the linker will know which symbols it needs to link in.
147         Also fix MSVC project file name typo for sample app.
148
149         * Bakefiles.bkgen:
150         * wxwebkit.bkl:
151
152 2007-12-04  Darin Adler  <darin@apple.com>
153
154         Reviewed by Kevin Decker.
155
156         * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
157         * WebKitSupport/FrameLoaderClientWx.h: Ditto.
158
159 2007-12-03  Mark Rowe  <mrowe@apple.com>
160
161         wx build fix.
162
163         * WebView.cpp:
164         (wxWebView::RunScript):
165
166 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
167
168         wx build fix. Add WebCore/platform/graphics/wx to includes.
169
170         * wxwebkit.bkl:
171
172 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
173
174         Fix method signatures to be members of ClientChromeWx class.
175
176         * WebKitSupport/ChromeClientWx.cpp:
177         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
178         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
179
180 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
181
182         Build fix. Add platform/text to includes for targets that
183         need WebCore headers.
184
185         * presets/wxwebkit.bkl:
186
187 2007-11-29  Brady Eidson  <beidson@apple.com>
188
189         Keep it building with new client method
190
191         * WebKitSupport/ChromeClientWx.cpp:
192         (WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
193         (WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
194         * WebKitSupport/ChromeClientWx.h:
195
196 2007-11-25  Kevin Ollivier  <kevino@theolliviers.com>
197
198         wx build fix. Don't get xslt-config options at bake time, do it
199         at make time.
200
201         * dependencies.bkl:
202
203 2007-11-23  Kevin Ollivier  <kevino@theolliviers.com>
204
205         wx build fix. Include config.h in WebFrame/WebView to ensure
206         WebCore headers are properly configured, fix unicode/utf8.h and
207         config.h include ordering issues, centralize wx project options to 
208         ensure proper configuration, and fix wxwebkit-python target so that
209         it links against wx libs.
210
211         * WebFrame.cpp:
212         * WebView.cpp:
213         * bindings/python/wxwebkit-py.bkl:
214         * dependencies.bkl:
215         * presets/wxwebkit.bkl:
216         * wxwebkit.bkl:
217         * wxwk-settings.bkl:
218
219 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
220
221         wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
222         it indiscriminately copies any headers inside JavaScriptCore,
223         which includes Tiger ICU headers. 
224
225         * presets/wxwebkit.bkl:
226         Remove WebCore/include reference and add JSCore header dirs needed
227         instead.
228
229 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
230
231         Add pcre directory to JSCore includes, and update the wx port
232         to reflect the Shared -> RefCounted name change. Also, fix
233         WebFrame.cpp to re-enable code that should never have been 
234         committed disabled. 
235
236         Reviewed by Adam.
237
238         * WebFrame.cpp:
239         (wxWebFrame::wxWebFrame):
240         * WebKitSupport/FrameLoaderClientWx.cpp:
241         (WebCore::FrameLoaderClientWx::ref):
242         (WebCore::FrameLoaderClientWx::deref):
243         * WebKitSupport/FrameLoaderClientWx.h:
244         * presets/wxwebkit.bkl:
245
246 2007-11-17  Timothy Hatcher  <timothy@apple.com>
247
248         Reviewed by Mark Rowe.
249
250         Bug 13470: i18n: The Web Inspector is not localizable
251         http://bugs.webkit.org/show_bug.cgi?id=13470
252
253         * WebKitSupport/InspectorClientWx.cpp:
254         (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
255         * WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
256
257 2007-11-08  Kevin Ollivier  <kevino@theolliviers.com>
258
259         Initial commit of wx implementation of WebKit. This includes
260         the wxWebFrame and wxWebView wx front end classes, the 
261         WebKitSupport directory containing implementations of interfaces
262         used by WebCore to talk with the wxWebKit front end, and the 
263         language bindings for wxWebKit (bindings dir), currently
264         only containing bindings and a sample app for wxPython.
265
266         Reviewed by Mark Rowe.
267
268         * Bakefiles.bkgen: Added.
269         * WebFrame.cpp: Added.
270         * WebFrame.h: Added.
271         * WebKitSupport: Added.
272         * WebKitSupport/ChromeClientWx.cpp: Added.
273         * WebKitSupport/ChromeClientWx.h: Added.
274         * WebKitSupport/ContextMenuClientWx.cpp: Added.
275         * WebKitSupport/ContextMenuClientWx.h: Added.
276         * WebKitSupport/DragClientWx.cpp: Added.
277         * WebKitSupport/DragClientWx.h: Added.
278         * WebKitSupport/EditorClientWx.cpp: Added.
279         * WebKitSupport/EditorClientWx.h: Added.
280         * WebKitSupport/FrameLoaderClientWx.cpp: Added.
281         * WebKitSupport/FrameLoaderClientWx.h: Added.
282         * WebKitSupport/InspectorClientWx.cpp: Added.
283         * WebKitSupport/InspectorClientWx.h: Added.
284         * WebView.cpp: Added.
285         * WebView.h: Added.
286         * WebViewPrivate.h: Added.
287         * bindings: Added.
288         * bindings/python: Added.
289         * bindings/python/samples: Added.
290         * bindings/python/samples/simple.py: Added.
291         * bindings/python/webview.i: Added.
292         * bindings/python/wxwebkit-py.bkl: Added.
293         * dependencies.bkl: Added.
294         * presets: Added.
295         * presets/wxwebkit.bkl: Added.
296         * wxwebkit.bkl: Added.
297         * wxwk-settings.bkl: Added.
298