]>
git.saurik.com Git - wxWidgets.git/log
Steve Lamerton [Fri, 15 Jul 2011 18:49:40 +0000 (18:49 +0000)]
Remove some code that shouldn't be in the interface file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68277
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 15 Jul 2011 15:22:08 +0000 (15:22 +0000)]
Send correct navigation events when using SetPage on the IE backend, they now mimic Webkit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68276
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 15 Jul 2011 12:38:47 +0000 (12:38 +0000)]
Add RunScript and implement on all backends. Document and add a very simple unit test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68275
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 15 Jul 2011 09:36:08 +0000 (09:36 +0000)]
Add ClearSelection for msw ie and gtk webkit, with a stub for osx webkit. Document and add to unit tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68274
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 14 Jul 2011 19:31:21 +0000 (19:31 +0000)]
Fix all the unit tests for gtk, they now all pass on msw with the ie backend and gtk with the webkit backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68271
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 14 Jul 2011 14:02:14 +0000 (14:02 +0000)]
Add unit tests for zoom functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68270
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 14 Jul 2011 13:33:20 +0000 (13:33 +0000)]
Yield after control creation to allow it to load the initial page.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68269
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 14 Jul 2011 13:19:53 +0000 (13:19 +0000)]
Update web units tests so that they compile after api change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68268
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 14 Jul 2011 13:05:12 +0000 (13:05 +0000)]
Fix compiler warnings in the IE backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68267
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 14 Jul 2011 12:53:28 +0000 (12:53 +0000)]
Update the web sample to allow choosing between different types of zoom, text or layout.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68266
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 14 Jul 2011 11:14:37 +0000 (11:14 +0000)]
Implement CanSetZoomType correctly for the IE backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68265
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 14 Jul 2011 09:58:33 +0000 (09:58 +0000)]
Overhaul IE zoom functions to support both text and optical zoom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68264
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 13 Jul 2011 17:25:05 +0000 (17:25 +0000)]
Add GetPageText to MSW IE and to GTK WebKit. Add stub for OSX and document.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68250
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 13 Jul 2011 15:30:25 +0000 (15:30 +0000)]
Rename GetSelectedHTML to GetSelectedSource, this brings it into line with GetPageSource, and also with its intended use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68249
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 12 Jul 2011 08:41:11 +0000 (08:41 +0000)]
Update selection unit test to test GetSelectedHTML.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68234
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 11 Jul 2011 18:26:07 +0000 (18:26 +0000)]
Implement GetSelectedHTML for the ie and gtk webkit backends and document.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68226
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 11 Jul 2011 12:52:07 +0000 (12:52 +0000)]
Fix various gtk webkit warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68224
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 11 Jul 2011 11:21:05 +0000 (11:21 +0000)]
Tidy up the ie backend a little, make sure all com objects are correctly released.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68223
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 11 Jul 2011 09:35:41 +0000 (09:35 +0000)]
Fix warnings in the ie backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68222
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sun, 10 Jul 2011 18:11:43 +0000 (18:11 +0000)]
Add support for retrieving the currently selected text. Implement on all backends, document and unit test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68220
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 9 Jul 2011 14:31:29 +0000 (14:31 +0000)]
Add start of selection api, support for HasSelection, SelectAll and DeleteSelection along with documentation. Implement for IE and WebKitGTK and add stubs for OSX WebKit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68195
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 8 Jul 2011 19:34:56 +0000 (19:34 +0000)]
Add the ability to enable / disable and check for the editable property of a rendering engine. Implement for all three backends and extend the sample, document and unit test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68193
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 8 Jul 2011 14:46:51 +0000 (14:46 +0000)]
Factor out url loading logic into a separate function to reduce repetition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68191
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 8 Jul 2011 14:35:49 +0000 (14:35 +0000)]
Add tests for the back and forward history lists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68190
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 8 Jul 2011 14:21:46 +0000 (14:21 +0000)]
Add unit tests for history clearing and enabling / disabling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68189
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 8 Jul 2011 13:11:17 +0000 (13:11 +0000)]
Add tests for url and history support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68188
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 8 Jul 2011 10:51:15 +0000 (10:51 +0000)]
Add tests for the page title
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68187
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 8 Jul 2011 08:19:25 +0000 (08:19 +0000)]
Add scaffolding for wxWebView unit tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68185
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 6 Jul 2011 10:20:03 +0000 (10:20 +0000)]
Implement cut / copy / paste in osx webkit and fix the function stubs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68173
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 6 Jul 2011 09:45:29 +0000 (09:45 +0000)]
Add some more missing stubs to the osx webkit backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68172
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 5 Jul 2011 17:06:12 +0000 (17:06 +0000)]
Add stubs to osx webkit backend to allow compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68170
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 5 Jul 2011 15:33:42 +0000 (15:33 +0000)]
Simplify backend enum naming, we do not need separate values for gtk and osx webkit backends. Simplify factory creation code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68169
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 5 Jul 2011 14:19:38 +0000 (14:19 +0000)]
Remove comment about a new frame api as this is now offered.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68168
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 5 Jul 2011 13:57:44 +0000 (13:57 +0000)]
Bring osx class naming into line with the other ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68167
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 5 Jul 2011 13:40:00 +0000 (13:40 +0000)]
Remove out of date osx defines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68166
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 5 Jul 2011 11:06:33 +0000 (11:06 +0000)]
Add osx configure support for wxWebView.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68165
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 4 Jul 2011 18:46:01 +0000 (18:46 +0000)]
Factor logic that returns an IHTMLDocument2 into a separate function to reduce repetition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68156
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 4 Jul 2011 18:27:14 +0000 (18:27 +0000)]
Filter out subframes from the ie backend history and the sample. Also document that many wxEVT_COMMAND_WEB_VIEW_LOADED events may be sent, one for each frame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68155
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 4 Jul 2011 11:34:33 +0000 (11:34 +0000)]
Add a note to the documentation about the emulation modes of the ie backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68146
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 2 Jul 2011 17:11:46 +0000 (17:11 +0000)]
Add web documentation category.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68138
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 2 Jul 2011 16:41:51 +0000 (16:41 +0000)]
Get the page title from the IHtmlDocument rather than the bowser as it actually returns the title rather than the url.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68137
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 2 Jul 2011 16:24:56 +0000 (16:24 +0000)]
Overhaul the wxWebView documentation. Split the documentation into sections and add documentation for clipboard and history functions. Add documentation for wxWebHistoryItem. Fix many spelling mistakes. Alphabetise the function names. Add missing svn properties.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68136
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 2 Jul 2011 15:07:46 +0000 (15:07 +0000)]
Implement undo and redo for the ie and gtk webkit backends. Extend the sample to show their use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68135
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 2 Jul 2011 14:32:02 +0000 (14:32 +0000)]
Implement clipboard api in gtk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68130
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 2 Jul 2011 11:45:19 +0000 (11:45 +0000)]
Add new clipboard api and support for it in the ie backend. Also extend the sample to demonstrate the new functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68129
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 1 Jul 2011 19:46:31 +0000 (19:46 +0000)]
Implement extended history api in gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68122
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 1 Jul 2011 10:57:37 +0000 (10:57 +0000)]
Extend history api using the ie backend to include loading history items, and getting the backward and forward history lists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68120
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 1 Jul 2011 10:01:45 +0000 (10:01 +0000)]
Use shared pointers throughout when managing history with the ie backend, simplifying memory management. Also add more comments explaining how the history is managed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68119
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 1 Jul 2011 07:54:49 +0000 (07:54 +0000)]
Add an extra assert in the case of trying to load an invalid history item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68118
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 30 Jun 2011 19:57:26 +0000 (19:57 +0000)]
Add support for the new history functions to the ie backend. For this we manage our own history as there are no suitable built-in ways of managing it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68116
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 30 Jun 2011 15:07:52 +0000 (15:07 +0000)]
Only send a document complete event when the page is completely loaded, as opposed to with every frame. This brings the event in to line with what is emitted by webkit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68115
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 30 Jun 2011 10:03:25 +0000 (10:03 +0000)]
Add basic history api and implement it under gtk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68108
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 29 Jun 2011 16:09:52 +0000 (16:09 +0000)]
Give the sample a more sensible initial size for web browsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68093
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 29 Jun 2011 16:04:42 +0000 (16:04 +0000)]
Adjust animation size to fit the toolbar properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68092
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 29 Jun 2011 12:03:36 +0000 (12:03 +0000)]
Update the sample to show how to block navigation and new window events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68091
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 29 Jun 2011 09:27:11 +0000 (09:27 +0000)]
Update the web sample to use images from the art provider if possible. Scale existing images down to 24x24 so that this fit better with the art provider images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68089
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 29 Jun 2011 08:27:33 +0000 (08:27 +0000)]
Add support for loading a url in the constructor to the ie backend and update the sample to use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68084
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 29 Jun 2011 08:09:47 +0000 (08:09 +0000)]
Add support for new window events in gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68083
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 28 Jun 2011 17:06:28 +0000 (17:06 +0000)]
Don't use a depreciated method for loading a url.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68075
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 28 Jun 2011 16:57:49 +0000 (16:57 +0000)]
Bring gtk class naming into line with the new naming scheme by dropping the gtk part.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68074
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 28 Jun 2011 16:11:00 +0000 (16:11 +0000)]
Update msw files to use the new definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68073
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 28 Jun 2011 15:15:51 +0000 (15:15 +0000)]
Fix the build system in gtk, plus a couple of compilation errors. wxWebView now successfully builds under gtk and the sample runs correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68072
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 23 Jun 2011 20:44:19 +0000 (20:44 +0000)]
Fix a number of mingw compile errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68030
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Tue, 14 Jun 2011 21:15:20 +0000 (21:15 +0000)]
Add wxWebView backend wxUSE_ macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67934
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 27 May 2011 19:47:57 +0000 (19:47 +0000)]
Overhaul the wxWebView sample. Bring the style into line with the other samples and improve naming and consistency. Also use a wxInfoBar rather than a custom notification system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67805
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 26 May 2011 19:53:03 +0000 (19:53 +0000)]
Load the wxWidgets homepage by default in the wxWebView sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67788
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 26 May 2011 19:36:20 +0000 (19:36 +0000)]
Do not show the wxWebView sample tools menu unless a page has been loaded. Originally it crashed but it doesn't make sense to change the zoom or view the source if there is no page loaded.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67787
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 26 May 2011 19:17:01 +0000 (19:17 +0000)]
Remove various bit of redundant code from the wxWebView sample source view dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67786
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 26 May 2011 18:43:18 +0000 (18:43 +0000)]
Add a new event type for new window creation, document and implement under MSW. Update the sample to veto new window events, this means under Window we no long get Internet Explorer windows appearing for some links.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67785
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 19 May 2011 20:43:45 +0000 (20:43 +0000)]
Don't pass raw urls to logging functions in the wxWebView sample as they can contain percent characters which then cause format string errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67767
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 19 May 2011 20:14:27 +0000 (20:14 +0000)]
Block new frames being created in wxWebViewIE, bringing it into line with the other ports. The existing code was mostly correct but a missing break in the switch caused many spurious events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67766
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 19 May 2011 19:42:01 +0000 (19:42 +0000)]
Remove defined values from wxWebView enums. We probably don't want people relying on these as they may well end up changing and there is no benefit to fixing them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67765
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 19 May 2011 18:28:01 +0000 (18:28 +0000)]
Move wxWebView documentation into a separate interface file and add the wxWeb library to the libraries page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67764
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 18 May 2011 16:35:35 +0000 (16:35 +0000)]
Update wxWebViewIE::Reload so that reloading without using the cache works and doesn't crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67762
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 16 May 2011 20:49:54 +0000 (20:49 +0000)]
Rename source files for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67755
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 6 May 2011 15:28:19 +0000 (15:28 +0000)]
Enable IE backend in msw builds unconditionally until the backend flags work properly. Conditionally define INET constants only under mingw as it does not apparently provide them. Fix some typos. The sample now compiles under msw.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67712
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 6 May 2011 13:37:01 +0000 (13:37 +0000)]
Use correct reload flags on all platforms to avoid compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67711
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 6 May 2011 12:59:13 +0000 (12:59 +0000)]
Move msw configuration checking to chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67710
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 6 May 2011 11:00:45 +0000 (11:00 +0000)]
Add the correct dll export macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67709
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 5 May 2011 20:51:49 +0000 (20:51 +0000)]
Minor fixes to allow web sample to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67707
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 5 May 2011 20:30:51 +0000 (20:30 +0000)]
Fix compilation under dll builds. Wrap source files in wxUSE_WEB checks to allow minimal builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67706
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 5 May 2011 18:48:07 +0000 (18:48 +0000)]
A few more build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67705
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 5 May 2011 13:01:54 +0000 (13:01 +0000)]
Various typos fixes and minor build system changes. After a rebake wxMSW should now compile, although without any functionality.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67702
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 4 May 2011 19:03:53 +0000 (19:03 +0000)]
Tidy the files list, move the wxWEB files to their own section. Include the headers in the all headers section.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67700
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 4 May 2011 18:24:30 +0000 (18:24 +0000)]
Set the correct svn properties on the new files. Correct a minor date typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67699
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 4 May 2011 15:40:00 +0000 (15:40 +0000)]
Application of the most recent wxWebView patch, the only changes were so tab to space conversions. Please note this probably won't compile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67698
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 May 2011 16:05:52 +0000 (16:05 +0000)]
Create branch for wxWebView GSoC 2011 project.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 May 2011 15:58:36 +0000 (15:58 +0000)]
Translate various user-visible strings in rich text print code.
Make default wxRichTextPrintout title and the name of wxRichTextPrinting
object translatable.
Closes #13187.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67660
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 May 2011 15:47:46 +0000 (15:47 +0000)]
Verify the validity of the buffer size in wxBufferedDC.
Passing invalid (e.g. negative) buffer size to wxBufferedDC resulted in many
problems later on so refuse it immediately.
Closes #13175.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67659
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 1 May 2011 15:47:44 +0000 (15:47 +0000)]
Add a section about STL containers-related incompatible changes.
Document the main incompatibilities between the STL and non-STL containers
builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67658
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Dimitri Schoolwerth [Sun, 1 May 2011 14:58:58 +0000 (14:58 +0000)]
Rebaked test GUI projects with toplevel.cpp included.
Added toplevel.cpp to GUI test projects and removed the test suite from the unnamed registry so that by default its tests don't run (some regarding ShowWithoutActivating are failing). This way at least the source file has more of a chance to be in a compilable state (compilation was broken). toplevel.cpp has never been included in a project since its addition in r62508 ("[...] until the mainloop issues are resolved [...]").
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67657
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Dimitri Schoolwerth [Sat, 30 Apr 2011 10:57:04 +0000 (10:57 +0000)]
No code changes, fixed some typos.
Changed several occurrences of "it's" where "its" is meant, as well as a few other minor typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67656
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 29 Apr 2011 20:03:45 +0000 (20:03 +0000)]
Fix popen2 deprecation warning.
Fix binary name inside the framework to be the same as the framework name.
Inject a bit of info about the framework into wx-config, so it can output framework flags/names instead of lib flags/names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 28 Apr 2011 16:57:21 +0000 (16:57 +0000)]
Remove fixed size of gs_encodingNames array in font mapper code.
Specifying the size explicitly made wxCOMPILE_TIME_ASSERT() checking that the
array sizes were synchronized useless as the array always had the correct
size, independently of the real number of elements in it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67645
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 28 Apr 2011 16:57:15 +0000 (16:57 +0000)]
Correct wxFontMapper tables for Big-5, Shift-JIS and GB2312 encodings.
As wxFONTENCODING_{BIG5,SHIFT_JIS,GB2312} are only synonyms for the other
encoding constants, we must append the corresponding names to the array of
names for the real encoding value instead of having the (never used) separate
entries for them in the names array.
Closes #13164.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 28 Apr 2011 16:16:16 +0000 (16:16 +0000)]
Fix wxULongLongNative::ToDouble() compilation with VC6.
The problem alluded to by the commit message of r40658 arose only in the DLL
build using VC6 so reintroduce the workaround for it removed by r67634 but
make it VC6-specific and, arguably even more importantly, also make it work
correctly for wxULongLongNative values greater than LONGLONG_MAX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67643
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 28 Apr 2011 14:29:56 +0000 (14:29 +0000)]
Use correct GTK macro in wx_gtk_widget_get_sensitive().
Using GTK_WIDGET_VISIBLE() to test for sensitivity was not going to work (and,
in fact, it didn't and broke the unit tests).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67642
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 28 Apr 2011 14:20:32 +0000 (14:20 +0000)]
Fix check in assert in wxULongLong::ToULong().
We can convert values up to ULONG_MAX to unsigned long losslessly, not up to
LONG_MAX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 28 Apr 2011 14:20:29 +0000 (14:20 +0000)]
Don't specialize std::numeric_limits<> for wxLongLong when using VC6.
This doesn't work with VC6 anyhow as it doesn't provide numeric_limits<>
specialization for __int64 and results in many warnings C4663 as the standard
header itself uses obsolete template specialization syntax.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67640
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 28 Apr 2011 06:08:47 +0000 (06:08 +0000)]
Change --j to --jobs, add --mac_framework_prefix, add some helper functions to be used from build-wxpython.py and fix a bunch of other little stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67638
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775