wx build fix. Make sure we link png/jpeg libraries before wx libraries to get the...
[WebKit.git] / WebKit / wx / ChangeLog
1 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
2
3         wx build fix. Make sure we link png/jpeg libraries before
4         wx libraries to get the right symbols.
5
6         * wxwebkit.bkl:
7         * wxwk-settings.bkl:
8
9 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
10
11         Rubber stamped by Darin.
12
13         Add set-webkit-configuration support for wx port, and centralize
14         build dir location setting.
15
16         http://bugs.webkit.org/show_bug.cgi?id=17790
17
18         * bindings/python/wxwebkit-py.bkl:
19         * presets/wxwebkit.bkl:
20         * wxwebkit.bkl:
21         * wxwk-settings.bkl:
22
23 2008-03-12  David Hyatt  <hyatt@apple.com>
24
25         Make the zoom factor a float and not a percent.
26
27         Reviewed by antti
28
29         * WebView.cpp:
30         (wxWebView::IncreaseTextSize):
31         (wxWebView::DecreaseTextSize):
32
33 2008-03-03  Kevin Ollivier  <kevino@theolliviers.com>
34
35         wx build fix after Frame::setZoomFactor API change.
36
37         * WebView.cpp:
38         (wxWebView::IncreaseTextSize):
39         (wxWebView::DecreaseTextSize):
40
41 2008-02-24  Darin Adler  <darin@apple.com>
42
43         Reviewed by Sam.
44
45         - remove separate client calls for "standard" and "reload' history
46
47         * WebKitSupport/FrameLoaderClientWx.cpp:
48         (WebCore::FrameLoaderClientWx::updateGlobalHistory):
49         * WebKitSupport/FrameLoaderClientWx.h:
50
51 2008-02-23  Kevin Ollivier  <kevino@theolliviers.com>
52
53         Reviewed by Darin Adler.
54
55         Move text drawing into wxcode, as we need platform-dependent
56         APIs for drawing non-kerned text, which wx doesn't yet have.
57         (But hopefully will, once these APIs are fleshed out on all 
58         platforms!)
59
60         http://bugs.webkit.org/show_bug.cgi?id=17396
61
62         * wxwebkit.bkl:
63         We need to directly link against GDI+ on Windows since we now
64         directly call GDI+ APIs.
65
66 2008-02-14  Darin Adler  <darin@apple.com>
67
68         * WebView.cpp: Removed use of DeprecatedString to keep this compiling.
69
70 2008-02-11  Kevin Ollivier <kevino@theolliviers.com>
71
72         Reviewed by Darin Adler.
73
74         A couple quick wx fixes.
75         
76         http://bugs.webkit.org/show_bug.cgi?id=17321
77
78         * WebView.cpp:
79         (wxWebView::OnPaint):
80         Make sure wxGCDC has its paint origin set properly after
81         the move to wxWindow for scrolling.
82         * bindings/python/webview.i:
83         Update the wxPython bindings after event rename.
84
85 2008-02-10  Darin Adler  <darin@apple.com>
86
87         Reviewed by Eric.
88
89         - http://bugs.webkit.org/show_bug.cgi?id=17256
90           eliminate default ref. count of 0 in RefCounted class
91
92         * WebKitSupport/FrameLoaderClientWx.cpp:
93         (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
94         Set the count to 0 explicitly (one stray client I missed in my last pass).
95
96 2008-02-03  Kevin Ollivier  <kevino@theolliviers.com>
97
98         Reviewed by Darin Adler.
99
100         Typo fix. Don't use the provisionalDocumentLoader() after the
101         whole page has already been loaded.
102
103         * WebKitSupport/FrameLoaderClientWx.cpp:
104         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
105
106 2008-02-03  Kevin Ollivier  <kevino@theolliviers.com>
107
108         Build fix for last wx commit (a couple things were not committed). 
109         Also fix some style issues.
110
111         * WebView.cpp:
112         (wxWebView::wxWebView):
113         (wxWebView::OnPaint):
114         (wxWebView::OnSize):
115         (wxWebView::CanCopy):
116         (wxWebView::Copy):
117         (wxWebView::CanCut):
118         (wxWebView::Cut):
119         (wxWebView::CanPaste):
120         (wxWebView::Paste):
121         (wxWebView::OnKeyEvents):
122         (wxWebView::OnSetFocus):
123         (wxWebView::OnKillFocus):
124         (wxWebView::OnActivate):
125         * WebView.h:
126
127 2008-01-31  Kevin Ollivier  <kevino@theolliviers.com>
128
129         Reviewed by Adam Roben.
130
131         On MSW, the wx port internally uses callbacks for wxTimer, so the
132         wx port suffers from the same crash problem that was fixed
133         in r28500 for the Windows port. For now, use the SharedTimerWin.cpp
134         impl. for wx too on MSW, until a version of wx is released that
135         fixes the issue by reworking wxTimer.
136
137         * WebView.cpp:
138         (wxWebView::wxWebView):
139
140 2008-01-21  Darin Adler  <darin@apple.com>
141
142         Reviewed by John Sullivan.
143
144         - updated for changes to ChromeClient database functions
145
146         * WebKitSupport/ChromeClientWx.cpp:
147         (WebCore::ChromeClientWx::exceededDatabaseQuota):
148         * WebKitSupport/ChromeClientWx.h:
149
150 2008-01-16  Adam Roben  <aroben@apple.com>
151
152         Updated for WebCore method renames.
153
154         Reviewed by Darin.
155
156         * WebView.cpp:
157         (wxWebView::OnSetFocus):
158         (wxWebView::OnKillFocus):
159         (wxWebView::OnActivate):
160
161 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
162
163         Reviewed by Darin Adler.
164
165         wxWebKit API changes in preparation for DRT implementation. 
166         Specifically:
167
168         - Add CONSOLE_MESSAGE callback so clients can choose how to handle
169         console messages.
170         - Add more load events, and rename wxWebViewStateChangedEvent to 
171         wxWebViewLoadEvent to reflect that all 'states' are load states.
172         - Add wxWebView impls. for GetInnerText(), GetAsMarkup() and 
173         GetExternalRepresentation()
174
175         * WebFrame.cpp:
176         (wxWebFrame::OnLoadEvent):
177         * WebFrame.h:
178         * WebKitSupport/ChromeClientWx.cpp:
179         (WebCore::ChromeClientWx::ChromeClientWx):
180         (WebCore::ChromeClientWx::addMessageToConsole):
181         * WebKitSupport/ChromeClientWx.h:
182         * WebKitSupport/FrameLoaderClientWx.cpp:
183         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
184         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
185         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
186         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
187         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
188         * WebView.cpp:
189         (wxWebViewLoadEvent::wxWebViewLoadEvent):
190         (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
191         (wxWebView::wxWebView):
192         (wxWebView::GetPageSource):
193         (wxWebView::GetInnerText):
194         (wxWebView::GetAsMarkup):
195         (wxWebView::GetExternalRepresentation):
196         * WebView.h:
197
198 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
199
200         wx build fix. Add WebCore/icu/include dir for OS X boxes with
201         only stock ICU installed.
202
203         * dependencies.bkl:
204
205 2008-01-10  Maciej Stachowiak  <mjs@apple.com>
206
207         Reviewed by Sam.
208
209         - remove SecurityOriginData and fold its functionality into SecurityOrigin
210
211         * WebKitSupport/ChromeClientWx.cpp:
212         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
213         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
214         * WebKitSupport/ChromeClientWx.h:
215
216 2007-12-16  Darin Adler  <darin@apple.com>
217
218         - try to fix the build
219
220         * WebView.cpp:
221         (wxWebView::OnKeyEvents): Add a WebCore prefix.
222
223 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
224
225         Reviewed by Darin.
226
227         http://bugs.webkit.org/show_bug.cgi?id=16462
228         REGRESSION: access keys broken on Windows
229
230         * WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
231
232 2007-12-14  Darin Adler  <darin@apple.com>
233
234         Reviewed by Alexey.
235
236         * WebKitSupport/EditorClientWx.cpp:
237         (WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
238         to Editor::command.
239
240 2007-12-12  Brady Eidson  <beidson@apple.com>
241
242         Reviewed by Sam Weinig
243
244         As part of doing some CachedPage and client cleanup, keep Wx building
245
246         * WebKitSupport/FrameLoaderClientWx.cpp:
247         (WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
248         (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
249         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
250         * WebKitSupport/FrameLoaderClientWx.h:
251
252 2007-12-12  Sam Weinig  <sam@webkit.org>
253
254         Build fix.
255
256         * WebKitSupport/ChromeClientWx.cpp:
257         (WebCore::ChromeClientWx::createWindow):
258         * WebKitSupport/FrameLoaderClientWx.cpp:
259         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
260         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
261         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
262         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
263         (WebCore::FrameLoaderClientWx::didChangeTitle):
264         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
265
266 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
267
268         Reviewed by Darin.
269
270         <rdar://problem/5535636>
271         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
272
273         http://bugs.webkit.org/show_bug.cgi?id=13916
274         JavaScript detects Tab as a character input on a textfield validation
275
276         * WebKitSupport/EditorClientWx.cpp:
277         (WebCore::EditorClientWx::handleInputMethodKeydown):
278         (WebCore::EditorClientWx::handleKeyboardEvent):
279         * WebKitSupport/EditorClientWx.h:
280         Updated for cross-platform changes as much as it was possible without a wx build environment.
281         The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
282         after the Windows port.
283
284 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
285
286         Fix page leak caused because the Frame's page pointer is 0 by the 
287         time we call delete on it. Store a reference to the page instead
288         and delete it that way.
289
290         Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
291         on Linux the wxGCDC gcdc(dc) constructor will not retain the
292         changes made to dc by PrepareDC(dc).
293
294         Reviewed by Darin Adler.
295
296         * WebView.cpp:
297         (wxWebView::wxWebView):
298         (wxWebView::~wxWebView):
299         (wxWebView::OnPaint):
300         * WebViewPrivate.h:
301         (WebViewPrivate::WebViewPrivate):
302
303 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
304
305         Linux build fix - ensure that webcore is linked before jscore
306         so that the linker will know which symbols it needs to link in.
307         Also fix MSVC project file name typo for sample app.
308
309         * Bakefiles.bkgen:
310         * wxwebkit.bkl:
311
312 2007-12-04  Darin Adler  <darin@apple.com>
313
314         Reviewed by Kevin Decker.
315
316         * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
317         * WebKitSupport/FrameLoaderClientWx.h: Ditto.
318
319 2007-12-03  Mark Rowe  <mrowe@apple.com>
320
321         wx build fix.
322
323         * WebView.cpp:
324         (wxWebView::RunScript):
325
326 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
327
328         wx build fix. Add WebCore/platform/graphics/wx to includes.
329
330         * wxwebkit.bkl:
331
332 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
333
334         Fix method signatures to be members of ClientChromeWx class.
335
336         * WebKitSupport/ChromeClientWx.cpp:
337         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
338         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
339
340 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
341
342         Build fix. Add platform/text to includes for targets that
343         need WebCore headers.
344
345         * presets/wxwebkit.bkl:
346
347 2007-11-29  Brady Eidson  <beidson@apple.com>
348
349         Keep it building with new client method
350
351         * WebKitSupport/ChromeClientWx.cpp:
352         (WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
353         (WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
354         * WebKitSupport/ChromeClientWx.h:
355
356 2007-11-25  Kevin Ollivier  <kevino@theolliviers.com>
357
358         wx build fix. Don't get xslt-config options at bake time, do it
359         at make time.
360
361         * dependencies.bkl:
362
363 2007-11-23  Kevin Ollivier  <kevino@theolliviers.com>
364
365         wx build fix. Include config.h in WebFrame/WebView to ensure
366         WebCore headers are properly configured, fix unicode/utf8.h and
367         config.h include ordering issues, centralize wx project options to 
368         ensure proper configuration, and fix wxwebkit-python target so that
369         it links against wx libs.
370
371         * WebFrame.cpp:
372         * WebView.cpp:
373         * bindings/python/wxwebkit-py.bkl:
374         * dependencies.bkl:
375         * presets/wxwebkit.bkl:
376         * wxwebkit.bkl:
377         * wxwk-settings.bkl:
378
379 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
380
381         wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
382         it indiscriminately copies any headers inside JavaScriptCore,
383         which includes Tiger ICU headers. 
384
385         * presets/wxwebkit.bkl:
386         Remove WebCore/include reference and add JSCore header dirs needed
387         instead.
388
389 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
390
391         Add pcre directory to JSCore includes, and update the wx port
392         to reflect the Shared -> RefCounted name change. Also, fix
393         WebFrame.cpp to re-enable code that should never have been 
394         committed disabled. 
395
396         Reviewed by Adam.
397
398         * WebFrame.cpp:
399         (wxWebFrame::wxWebFrame):
400         * WebKitSupport/FrameLoaderClientWx.cpp:
401         (WebCore::FrameLoaderClientWx::ref):
402         (WebCore::FrameLoaderClientWx::deref):
403         * WebKitSupport/FrameLoaderClientWx.h:
404         * presets/wxwebkit.bkl:
405
406 2007-11-17  Timothy Hatcher  <timothy@apple.com>
407
408         Reviewed by Mark Rowe.
409
410         Bug 13470: i18n: The Web Inspector is not localizable
411         http://bugs.webkit.org/show_bug.cgi?id=13470
412
413         * WebKitSupport/InspectorClientWx.cpp:
414         (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
415         * WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
416
417 2007-11-08  Kevin Ollivier  <kevino@theolliviers.com>
418
419         Initial commit of wx implementation of WebKit. This includes
420         the wxWebFrame and wxWebView wx front end classes, the 
421         WebKitSupport directory containing implementations of interfaces
422         used by WebCore to talk with the wxWebKit front end, and the 
423         language bindings for wxWebKit (bindings dir), currently
424         only containing bindings and a sample app for wxPython.
425
426         Reviewed by Mark Rowe.
427
428         * Bakefiles.bkgen: Added.
429         * WebFrame.cpp: Added.
430         * WebFrame.h: Added.
431         * WebKitSupport: Added.
432         * WebKitSupport/ChromeClientWx.cpp: Added.
433         * WebKitSupport/ChromeClientWx.h: Added.
434         * WebKitSupport/ContextMenuClientWx.cpp: Added.
435         * WebKitSupport/ContextMenuClientWx.h: Added.
436         * WebKitSupport/DragClientWx.cpp: Added.
437         * WebKitSupport/DragClientWx.h: Added.
438         * WebKitSupport/EditorClientWx.cpp: Added.
439         * WebKitSupport/EditorClientWx.h: Added.
440         * WebKitSupport/FrameLoaderClientWx.cpp: Added.
441         * WebKitSupport/FrameLoaderClientWx.h: Added.
442         * WebKitSupport/InspectorClientWx.cpp: Added.
443         * WebKitSupport/InspectorClientWx.h: Added.
444         * WebView.cpp: Added.
445         * WebView.h: Added.
446         * WebViewPrivate.h: Added.
447         * bindings: Added.
448         * bindings/python: Added.
449         * bindings/python/samples: Added.
450         * bindings/python/samples/simple.py: Added.
451         * bindings/python/webview.i: Added.
452         * bindings/python/wxwebkit-py.bkl: Added.
453         * dependencies.bkl: Added.
454         * presets: Added.
455         * presets/wxwebkit.bkl: Added.
456         * wxwebkit.bkl: Added.
457         * wxwk-settings.bkl: Added.
458