]>
git.saurik.com Git - wxWidgets.git/log
Steve Lamerton [Thu, 18 Aug 2011 10:51:57 +0000 (10:51 +0000)]
Add some version checks to help compiling on OSX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68771
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 18 Aug 2011 09:26:52 +0000 (09:26 +0000)]
Remove MoveWindow method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68769
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 17 Aug 2011 13:50:01 +0000 (13:50 +0000)]
Return true by default under OSX WebKit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68763
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 17 Aug 2011 13:46:09 +0000 (13:46 +0000)]
Correctly stop the loading animation in the sample when we veto navigation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68762
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 17 Aug 2011 11:19:29 +0000 (11:19 +0000)]
Derive wxWebViewEvent from wxNotifyEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68761
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 17 Aug 2011 10:55:59 +0000 (10:55 +0000)]
Rename LoadUrl to LoadURL. This corrects the capitalisation as it is an acronym, and brings it into line with GetCurrentURL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68760
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 17 Aug 2011 10:49:17 +0000 (10:49 +0000)]
Tidy up webview.h. Remove all of the doxygen comments which have now been moved to the interface file. Organise method declarations more sensibly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68759
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 17 Aug 2011 10:36:14 +0000 (10:36 +0000)]
Make a few internal methods private.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68758
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 17 Aug 2011 10:26:09 +0000 (10:26 +0000)]
Const correct the wxWebView api.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68755
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 15 Aug 2011 13:10:34 +0000 (13:10 +0000)]
Add a menu item linking to a custom scheme example.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68700
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 15 Aug 2011 12:37:05 +0000 (12:37 +0000)]
Update bakefile for new header names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68699
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 15 Aug 2011 12:31:31 +0000 (12:31 +0000)]
Rename wxWebHistoryItem to wxWebViewHistoryItem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68698
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 15 Aug 2011 11:03:26 +0000 (11:03 +0000)]
Rename wxWebNavigationError to wxWebViewNavigationError and wxWebNavigationEvent to wxWebViewEvent. This makes the names more consistent with other parts of wxWidgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68697
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sun, 14 Aug 2011 12:25:44 +0000 (12:25 +0000)]
Add missing bakefile from previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68690
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sun, 14 Aug 2011 12:15:34 +0000 (12:15 +0000)]
Rename wxWebFileHandler to wxWebViewArchiveHandler, wxWebHandler to wxWebViewHandler. Update the documentation and the sample. Add a constructor taking a wxString to specify the scheme in wxWebViewHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68689
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 13 Aug 2011 16:01:47 +0000 (16:01 +0000)]
Merge in from trunk r68626 - r68683
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68684
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 13 Aug 2011 15:45:39 +0000 (15:45 +0000)]
Add various selection menu items to the sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68683
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 13 Aug 2011 14:53:46 +0000 (14:53 +0000)]
Add Run Script menu option to the sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68682
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 13 Aug 2011 14:11:32 +0000 (14:11 +0000)]
Add history list to the sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68681
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 13 Aug 2011 13:54:26 +0000 (13:54 +0000)]
Fix bitmap position attribute name in XRC handler.
Bitmap position attribute was called "bitmapposition" in the documentation and
in the code that generated an error message for a wrong value in it but was
inexplicably called "direction" in the code that really looked it up.
This seems to be just a straight typo from the original r61065. Surprising as
it is that it wasn't noticed before, do correct it now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68680
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 13 Aug 2011 10:07:03 +0000 (10:07 +0000)]
Call Dismiss rather than Show(false) on the infobar to correct the layout.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68679
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 13 Aug 2011 09:41:50 +0000 (09:41 +0000)]
Fix loading history items under GTK. The wrong function was being used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68678
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Aug 2011 14:09:41 +0000 (14:09 +0000)]
No changes, just remove gratuitous inefficiency from generic wxDVC.
Don't return wxDataViewMainWindow::m_selection array by value, returning a
const reference to it is enough and avoids completely unnecessary memory
allocations and copying of potentially large amounts of data.
Also make wxDataViewMainWindow::GetSelections() const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68652
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 12 Aug 2011 14:09:37 +0000 (14:09 +0000)]
Fix compilation of generic wxDVC code when not using STL containers.
wx sorted containers don't implement iterators so use indices to iterate over
wxDataViewMainWindow::m_selection, just as r68613 already did in another place.
Closes #13388.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68651
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 12 Aug 2011 10:49:52 +0000 (10:49 +0000)]
Update documentation about custom schemes and virtual file systems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 12 Aug 2011 10:44:50 +0000 (10:44 +0000)]
Fix history in wxWebViewIE when using a custom file scheme.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68649
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 12 Aug 2011 09:35:41 +0000 (09:35 +0000)]
Use the data scheme to load resources in the WebKitGTK+ implementation, rather than temporary files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68648
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 12 Aug 2011 05:45:59 +0000 (05:45 +0000)]
remove unneeded gdk_window_get_pointer() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68647
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Fri, 12 Aug 2011 05:33:59 +0000 (05:33 +0000)]
pass proper window to gdk_window_get_pointer(), NULL does not work with GTK3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68646
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 11 Aug 2011 18:56:13 +0000 (18:56 +0000)]
Add support for custom scheme handling and virtual file systems to the OSX WebKit implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 11 Aug 2011 12:21:47 +0000 (12:21 +0000)]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68642
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Aug 2011 10:56:05 +0000 (10:56 +0000)]
Use separate strings for stock labels with and without mnemonics.
Obtaining the string without mnemonics by simply removing "&" characters from
the string containing mnemonics doesn't work for some languages, notably
Chinese where the convention is to use "Chinese Text (&M)" for the labels with
"M" being the ASCII mnemonic and just "Chinese Text" and not "Chinese Text (M)"
should be used if wxSTOCK_WITH_MNEMONIC flag is not specified.
Fix the fundamental problem by using separate strings for the two cases.
Translations still need to be updated to really correct the labels appearance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 11 Aug 2011 10:54:02 +0000 (10:54 +0000)]
Fix typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68640
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 11 Aug 2011 10:49:50 +0000 (10:49 +0000)]
Rename delegates to try and stop name clashes, probably with wxWebKitCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 11 Aug 2011 08:43:38 +0000 (08:43 +0000)]
adjusting include styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68638
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 11 Aug 2011 08:43:13 +0000 (08:43 +0000)]
adjusting include styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68637
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 11 Aug 2011 08:42:39 +0000 (08:42 +0000)]
fixing osx_carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68636
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 11 Aug 2011 08:24:26 +0000 (08:24 +0000)]
fixing osx_cocoa, there's a reason m_peer is private in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68635
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 11 Aug 2011 08:14:37 +0000 (08:14 +0000)]
fixing osx_cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68634
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Dimitri Schoolwerth [Thu, 11 Aug 2011 00:39:18 +0000 (00:39 +0000)]
Fixed wxOSX build.
Since r68621 dataview.cpp didn't compile anymore (at least with wxOSX-Carbon). Fixed by explicitly using wxDataViewItem's void * constructor in a few cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68632
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Aug 2011 21:57:05 +0000 (21:57 +0000)]
Basque translations update from Xabier Aramendi.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68631
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Aug 2011 21:07:18 +0000 (21:07 +0000)]
Also regenerate configure after wxWeb-related bakefile changes.
Configure must be rebuilt after any changes to autoconf_inc.m4 but this wasn't
done by the previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68630
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 10 Aug 2011 18:32:52 +0000 (18:32 +0000)]
Complete rebake with web libraries to allow easier testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68627
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 10 Aug 2011 18:10:42 +0000 (18:10 +0000)]
Merge in from trunk r64802 - r68625
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68626
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 10 Aug 2011 15:24:25 +0000 (15:24 +0000)]
Add some basic tests for wxDataViewCtrl selection handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68623
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 10 Aug 2011 15:24:19 +0000 (15:24 +0000)]
Fix selection handling wxDataViewMainWindow::ItemDeleted().
The code to update m_selection was too aggressive in the virtual list
case, when it simply cleared it, and broken for single-item selection in
the general case.
Fixed to recompute selection properly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68622
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 10 Aug 2011 15:21:22 +0000 (15:21 +0000)]
Make the wxDataViewItem(void*) constructor explicit.
Not having this as an implicit one made it possible to create
wxDataViewItem from any pointer without realizing it, leading to hard to
debug crashes later.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68621
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 10 Aug 2011 14:06:28 +0000 (14:06 +0000)]
Added the ability to deselect attributes in the font dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68619
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Dimitri Schoolwerth [Tue, 9 Aug 2011 22:17:12 +0000 (22:17 +0000)]
Added NSApplicationDelegate's openFiles for wxOSX-Cocoa.
openFiles (available since OS X 10.3) replaces using the openFile method. It allows for more convenient handling of multiple drops and knowing in advance how much files/folders are dropped instead of openFile with which you only get to respond to a single file/folder drop at a time. By default openFiles calls the newly added MacOpenFiles which calls MacOpenFile multiple times, so ordinarily the behaviour is backwards compatible (both on wxOSX Cocoa and Carbon).
The openFile instance method has been removed because it doesn't seem to be called anymore: neither when dropping a single file on the application in the dock or Finder nor when passed as a command-line argument.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68617
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 9 Aug 2011 15:46:28 +0000 (15:46 +0000)]
Don't reset wxTLW::m_iconized when hiding the window in wxMSW.
Calling Hide() on an iconized window wrongly reset its m_iconized flag but
hiding the window shouldn't affect it.
Closes #13373.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68614
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 9 Aug 2011 11:35:32 +0000 (11:35 +0000)]
Don't use iterators with wxDataViewSelection.
They aren't implemented when using wx's homegrown sorted containers
and adding support is probably more trouble than it's worth.
Fixes #13388.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68613
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 9 Aug 2011 11:25:09 +0000 (11:25 +0000)]
No changes, just correct the helpview sample name in comment.
"printing.cpp" was used for whatever reason.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68612
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 8 Aug 2011 15:15:50 +0000 (15:15 +0000)]
Don't manually centre dialogs created with default position in wxMSW.
We always centered the dialogs on the main display which was wrong if the
parent window was on another one. Instead of fixing it, simply don't centre
them at all and let Windows position them, there is no reason to change the
default behaviour.
Closes #13387.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68606
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 8 Aug 2011 15:12:33 +0000 (15:12 +0000)]
Use shared pointers to hold wxWebHandlers throughout.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68605
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 8 Aug 2011 14:24:28 +0000 (14:24 +0000)]
Add wxWebView sample to documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68604
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 8 Aug 2011 14:03:15 +0000 (14:03 +0000)]
Improve the detailed description in the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68603
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 8 Aug 2011 12:18:58 +0000 (12:18 +0000)]
Note that CanCut / CanCopy / CanPaste are not currently supported on the OSX WebKit implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68602
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 8 Aug 2011 12:12:51 +0000 (12:12 +0000)]
Fix a bunch of spelling mistakes cause by an early commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68601
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 8 Aug 2011 12:05:58 +0000 (12:05 +0000)]
Add backend descriptions for all backends to the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68600
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Mon, 8 Aug 2011 11:22:40 +0000 (11:22 +0000)]
Add a section about async notifications to the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68599
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 8 Aug 2011 10:23:19 +0000 (10:23 +0000)]
Check for invalid items in generic wxDataViewCtrl::GetSelections().
This shouldn't normally happen, but if some bug causes it, detect it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68598
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 8 Aug 2011 10:11:04 +0000 (10:11 +0000)]
Remove selection methods taking int from generic wxDataViewCtrl.
Current public API uses wxDataViewItem, this code dated back to 2.8.
They were now protected instead of public, the code wasn't used
anywhere and wasn't portable, it existed only in the generic version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68597
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 8 Aug 2011 09:32:42 +0000 (09:32 +0000)]
Added wxTopLevelWindow::MSWGetSystemMenu() method.
Also generate events corresponding to WM_SYSCOMMAND messages for the custom
items of the system menu.
Add a small snippet to test the new functionality to the dialogs sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68596
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 8 Aug 2011 09:32:39 +0000 (09:32 +0000)]
Added private wxMenu::MSWNewFromHMENU() method.
Add a method allowing creation of a wxMenu object from a native menu handle.
This will be used to implement access to the system menu in an upcoming commit
but could also be useful for other purposes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68595
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 8 Aug 2011 08:33:19 +0000 (08:33 +0000)]
Fix compilation with g++ 4.7 (prerelease).
The workaround for a bug in g++ 3.5 breaks compilation with 4.7 which
implements two-phase lookup correctly, so disable this workaround for 4.7 and
later. We could probably even only enable it for 3.x but this doesn't really
matter as previous 4.x releases don't have problems with this anyhow.
Closes #13385.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68594
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 7 Aug 2011 19:31:52 +0000 (19:31 +0000)]
Use 0 instead of NULL to avoid g++ warning.
g++ (usefully) warns when assigning NULL to a non-pointer in wxGDIPlusRenderer.
Just use 0 instead of NULL to avoid the warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68586
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 7 Aug 2011 17:29:50 +0000 (17:29 +0000)]
Use ChangeCurrentRow() in wxDataViewMainWindow::ItemDeleted().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68583
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 7 Aug 2011 17:29:47 +0000 (17:29 +0000)]
Clean up wxDataViewMainWindow::ItemDeleted() a bit.
Reuse shared code instead of duplicating it. No real changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68582
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 7 Aug 2011 17:29:44 +0000 (17:29 +0000)]
wxDataViewSelection private type doesn't need to be exported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68581
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 7 Aug 2011 17:29:41 +0000 (17:29 +0000)]
Remove unused ItemList type from datavgen.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68580
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sun, 7 Aug 2011 09:24:02 +0000 (09:24 +0000)]
Remove some out of date comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68578
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sun, 7 Aug 2011 09:19:16 +0000 (09:19 +0000)]
Remove the WebView - wxWebViewWebKit map as our policy delegates already held a pointer to the control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68577
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 6 Aug 2011 13:55:15 +0000 (13:55 +0000)]
Remove old WXCOCOA code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68573
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 6 Aug 2011 13:32:40 +0000 (13:32 +0000)]
Implement GetSelectedSource for the OSX WebKit backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68572
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 6 Aug 2011 12:58:26 +0000 (12:58 +0000)]
Implement SelectAll for OSX WebKit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68571
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 6 Aug 2011 12:48:22 +0000 (12:48 +0000)]
Implement GetPageText for the OSX WebKit implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68570
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Sat, 6 Aug 2011 12:20:37 +0000 (12:20 +0000)]
Implement ClearSelection for the OSX WebKit backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68569
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 19:12:32 +0000 (19:12 +0000)]
Remove string conversion functions and use the wx provided ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68564
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 5 Aug 2011 19:02:26 +0000 (19:02 +0000)]
Implement wxFileType::GetOpenCommand() in wxOSX.
This method used to work in 2.8 but was unimplemented in 2.9.
Restore more or less the old implementation using the data that we already
have in wxMimeTypesManager anyhow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68563
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 18:58:38 +0000 (18:58 +0000)]
Remove redundant InternalLoadURL method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68562
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 18:41:54 +0000 (18:41 +0000)]
Remove now unnecessary comment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68561
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 18:23:08 +0000 (18:23 +0000)]
Remove SetPageTitle and GetPageTitle and make GetCurrentTitle actually return the page title.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68560
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 16:40:46 +0000 (16:40 +0000)]
Implement GetBackwardHistory, GetForwardHistory and LoadHistoryItem for OSX WebKit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68559
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 15:37:03 +0000 (15:37 +0000)]
Implement ClearHistory using the built in WebBackForwardList rather than a shared WebHistory on OSX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68558
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 13:56:50 +0000 (13:56 +0000)]
Add a WebHistory to the OSX WebKit backend and implement ClearHistory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68557
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 13:25:30 +0000 (13:25 +0000)]
Remove now unused GetSelection from the OSX WebKit backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68556
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 13:17:19 +0000 (13:17 +0000)]
Add undo / redo support to OSX WebKit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68555
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Fri, 5 Aug 2011 09:06:45 +0000 (09:06 +0000)]
Add support for loading resources in custom schemes for the WebKitGTK+ backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68554
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 4 Aug 2011 22:53:42 +0000 (22:53 +0000)]
Add support for wxHELP button to wxMessageDialog.
Implement support for wxHELP for wxMSW, wxGTK and wxOSX/Cocoa (at least when
showing the message box from the main thread, there doesn't seem to be any way
to show more than three buttons with CFUserNotificationDisplayAlert() so
"Help" button is not supported when using it).
This is useful not only on its own, i.e. to allow the user to ask for help,
but also because it brings the total number of buttons supported by the
message dialog to 4, meaning that more choices can be offered to the user
(which is rarely, but not quite never, useful).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68537
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 4 Aug 2011 18:46:49 +0000 (18:46 +0000)]
Add documentation for virtual file system support in wxWebView.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68523
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 4 Aug 2011 16:12:41 +0000 (16:12 +0000)]
Add missing header for minimalistic builds not using PCH.
wxWindow might not be fully declared in dcbase.cpp but we need its full
declaration for wxDCImpl::InheritAttributes() so explicitly include
wx/window.h -- while this is usually already included from somewhere else it
might not be in minimal builds with a lot of features disabled.
Closes #13380.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68522
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 4 Aug 2011 16:12:36 +0000 (16:12 +0000)]
Compilation fixes for wxUSE_GEOMETRY==0 build.
Add missing wxUSE_GEOMETRY checks to wxAffineMatrix2D-related code.
Closes #13379.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68521
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 4 Aug 2011 16:12:31 +0000 (16:12 +0000)]
Use wxWindowMSW instead of wxWindow to fix wxUniv/MSW compilation.
wxFindWindowAtPoint() only returns wxWindowMSW, not the derived wxWindow, in
wxUniv build so assign its return value to wxWindowMSW to avoid compilation
problems in it.
Closes #12534.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68520
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 4 Aug 2011 13:19:57 +0000 (13:19 +0000)]
Avoid unwanted line break in wxDataViewListModel::GetCount() docs.
Using "i.e." in the brief Doxygen comment makes it end it after the second
period and results in truncated brief description and an unwanted line break
in the full description.
Just avoid using periods for now inside the brief description. Maybe a better
solution could be found in the future.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68519
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 4 Aug 2011 12:31:44 +0000 (12:31 +0000)]
Added Page Break control to spacing page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68517
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 4 Aug 2011 08:54:54 +0000 (08:54 +0000)]
Update wxWebFileHandler to handle paths with fragments correctly, some backends pass this to the handler and some don't so we strip it if necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68516
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Thu, 4 Aug 2011 08:30:37 +0000 (08:30 +0000)]
Fix recursion problems when loading pages from a virtual file system using the WebKitGTK+ backend. Navigating through pages in an archive now works correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68515
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 3 Aug 2011 18:51:53 +0000 (18:51 +0000)]
Rename wxWebFileHandler name from test to file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68509
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Steve Lamerton [Wed, 3 Aug 2011 18:31:48 +0000 (18:31 +0000)]
Rework IE virtual file system support to use new syntax. Remove now unused code for resolving links ourselves, we can let the backend resolves them itself.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68507
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 3 Aug 2011 15:46:43 +0000 (15:46 +0000)]
Return sensible major and minor version numbers for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68506
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775