Changelogs

Overview

These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2011-08-10 20:32 SJL, revision 68627

Complete rebake with web libraries to allow easier testing.

2011-08-10 20:10 SJL, revision 68626

Merge in from trunk r64802 - r68625

2011-08-10 19:57 JC, revision 68625

Merged the trunk

2011-08-10 19:46 JC, revision 68624

Working on scrollable window. Dataview can be built with gtk+2.0

2011-08-10 17:24 VS, revision 68623

Add some basic tests for wxDataViewCtrl selection handling.

2011-08-10 17:24 VS, revision 68622

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.

2011-08-10 17:21 VS, revision 68621

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.

2011-08-10 16:06 JS, revision 68620

Added the ability to deselect attributes in the font dialog

2011-08-10 16:06 JS, revision 68619

Added the ability to deselect attributes in the font dialog

2011-08-10 08:46 JC, revision 68618

Working on scrollable window

2011-08-10 00:17 DS, revision 68617

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.

2011-08-09 21:19 JC, revision 68616

Re-baked to get rid of the wired symbols in samples Makefile.in

2011-08-09 17:46 VZ, revision 68614

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.

2011-08-09 13:35 VS, revision 68613

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.

2011-08-09 13:25 VZ, revision 68612

No changes, just correct the helpview sample name in comment. "printing.cpp" was used for whatever reason.

2011-08-09 03:35 LV, revision 68611

Scope comments in wxiOS test project -- further attempt to figure out how much exactly is done

2011-08-08 20:44 JC, revision 68607

Added GTK+3 support

2011-08-08 17:15 VZ, revision 68606

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.

2011-08-08 17:12 SJL, revision 68605

Use shared pointers to hold wxWebHandlers throughout.

2011-08-08 16:24 SJL, revision 68604

Add wxWebView sample to documentation.

2011-08-08 16:03 SJL, revision 68603

Improve the detailed description in the documentation.

2011-08-08 14:18 SJL, revision 68602

Note that CanCut / CanCopy / CanPaste are not currently supported on the OSX WebKit implementation.

2011-08-08 14:12 SJL, revision 68601

Fix a bunch of spelling mistakes cause by an early commit.

2011-08-08 14:05 SJL, revision 68600

Add backend descriptions for all backends to the documentation.

2011-08-08 13:22 SJL, revision 68599

Add a section about async notifications to the documentation.

2011-08-08 12:23 VS, revision 68598

Check for invalid items in generic wxDataViewCtrl::GetSelections(). This shouldn't normally happen, but if some bug causes it, detect it.

2011-08-08 12:11 VS, revision 68597

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.

2011-08-08 11:32 VZ, revision 68596

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.

2011-08-08 11:32 VZ, revision 68595

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.

2011-08-08 10:33 VZ, revision 68594

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.

2011-08-08 09:41 JC, revision 68593

samples/animate works

2011-08-08 08:15 JC, revision 68592

Ported these two files to wxgtk3

2011-08-08 03:15 JC, revision 68591

Working on porting wxAdvance features from wxgtk2 to wxgtk3. wxBitmap needs to be fixed very soon to make it possible

2011-08-08 02:22 JC, revision 68590

Added buttion->event_window compatibility

2011-08-08 01:34 JC, revision 68589

Added anybutton.cpp to wxgtk3

2011-08-08 01:22 JC, revision 68588

Changed the test order of WXGTK=3 and WXGTK=2 in configure.in. So far wxgtk3 doesn't support gtkprint or gnomeprint

2011-08-08 01:19 JC, revision 68587

Added anybutton.cpp/anybutton.h

2011-08-07 21:31 VZ, revision 68586

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.

2011-08-07 20:32 JC, revision 68585

Still use gtk2 drawing function to draw the size grip of statusbar. gtk3.0 equivalent function needs more effort to make it right

2011-08-07 20:19 JC, revision 68584

Added a Perl script to generate Makefile for samples supporting 'make -j8', i.e. concurrent make. See the comment in the code for more details

2011-08-07 19:29 VS, revision 68583

Use ChangeCurrentRow() in wxDataViewMainWindow::ItemDeleted().

2011-08-07 19:29 VS, revision 68582

Clean up wxDataViewMainWindow::ItemDeleted() a bit. Reuse shared code instead of duplicating it. No real changes.

2011-08-07 19:29 VS, revision 68581

wxDataViewSelection private type doesn't need to be exported.

2011-08-07 19:29 VS, revision 68580

Remove unused ItemList type from datavgen.cpp.

2011-08-07 17:32 PC, revision 68579

fix another use of GtkFixedChild

2011-08-07 11:24 SJL, revision 68578

Remove some out of date comments.

2011-08-07 11:19 SJL, revision 68577

Remove the WebView - wxWebViewWebKit map as our policy delegates already held a pointer to the control.

2011-08-07 10:51 JC, revision 68576

Fixed a GTK+ size_allocate bug. samples/minimal is working OK now

2011-08-07 01:02 JC, revision 68575

wxaui can be built

2011-08-06 21:37 JC, revision 68574

Moved files in src/gtk3 to src/gtk in order to browse easily in vim. They might be moved back in future

2011-08-06 15:55 SJL, revision 68573

Remove old WXCOCOA code.

2011-08-06 15:32 SJL, revision 68572

Implement GetSelectedSource for the OSX WebKit backend.

2011-08-06 14:58 SJL, revision 68571

Implement SelectAll for OSX WebKit.

2011-08-06 14:48 SJL, revision 68570

Implement GetPageText for the OSX WebKit implementation.

2011-08-06 14:20 SJL, revision 68569

Implement ClearSelection for the OSX WebKit backend.

2011-08-06 13:38 TIK, revision 68568

Handle positional printf arguments. Fixes #10965.

2011-08-06 09:15 JC, revision 68567

Migrated window resize grip drawing function from gtk2.0 to gtk3.0

2011-08-06 07:55 JC, revision 68566

Picked up the latest updates from trunk

2011-08-06 07:38 JC, revision 68565

Picked up the latest updates from trunk

2011-08-05 21:12 SJL, revision 68564

Remove string conversion functions and use the wx provided ones.

2011-08-05 21:02 VZ, revision 68563

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.

2011-08-05 20:58 SJL, revision 68562

Remove redundant InternalLoadURL method.

2011-08-05 20:41 SJL, revision 68561

Remove now unnecessary comment.

2011-08-05 20:23 SJL, revision 68560

Remove SetPageTitle and GetPageTitle and make GetCurrentTitle actually return the page title.

2011-08-05 18:40 SJL, revision 68559

Implement GetBackwardHistory, GetForwardHistory and LoadHistoryItem for OSX WebKit.

2011-08-05 17:37 SJL, revision 68558

Implement ClearHistory using the built in WebBackForwardList rather than a shared WebHistory on OSX.

2011-08-05 15:56 SJL, revision 68557

Add a WebHistory to the OSX WebKit backend and implement ClearHistory.

2011-08-05 15:25 SJL, revision 68556

Remove now unused GetSelection from the OSX WebKit backend.

2011-08-05 15:17 SJL, revision 68555

Add undo / redo support to OSX WebKit.

2011-08-05 11:06 SJL, revision 68554

Add support for loading resources in custom schemes for the WebKitGTK+ backend.

2011-08-05 01:50 LV, revision 68553

wxNavigationCtrl wxiOS tests

2011-08-05 01:49 LV, revision 68552

wxNotebook support for non-system tabs

2011-08-05 01:49 LV, revision 68551

wxNotebook wxiOS InsertPage, DeletePage, DeleteAllPages tests

2011-08-05 01:48 LV, revision 68550

Increased wxiOS tests logging level

2011-08-05 00:53 VZ, revision 68537

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).

2011-08-04 20:46 SJL, revision 68523

Add documentation for virtual file system support in wxWebView.

2011-08-04 18:12 VZ, revision 68522

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.

2011-08-04 18:12 VZ, revision 68521

Compilation fixes for wxUSE_GEOMETRY==0 build. Add missing wxUSE_GEOMETRY checks to wxAffineMatrix2D-related code. Closes #13379.

2011-08-04 18:12 VZ, revision 68520

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.

2011-08-04 15:19 VZ, revision 68519

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.

2011-08-04 14:31 JS, revision 68518

Added Page Break control to spacing page

2011-08-04 14:31 JS, revision 68517

Added Page Break control to spacing page

2011-08-04 10:54 SJL, revision 68516

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.

2011-08-04 10:30 SJL, revision 68515

Fix recursion problems when loading pages from a virtual file system using the WebKitGTK+ backend. Navigating through pages in an archive now works correctly.

2011-08-04 02:49 LV, revision 68514

Some wxNotebook tests

2011-08-04 02:49 LV, revision 68513

wxTableCell checks for bitmap validity

2011-08-04 02:49 LV, revision 68512

Most UIButtons stopped showing themselves, sizeToFit reports (0; 0)

2011-08-03 20:51 SJL, revision 68509

Rename wxWebFileHandler name from test to file.

2011-08-03 20:31 SJL, revision 68507

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.

2011-08-03 17:46 JS, revision 68506

Return sensible major and minor version numbers for Mac OS X

2011-08-03 13:41 JS, revision 68505

Outline and line spacing can now be reset via the UI; format dialog layout improvements

2011-08-03 13:40 JS, revision 68504

Outline and line spacing can now be reset via the UI; format dialog layout improvements

2011-08-03 11:29 SJL, revision 68503

Initial work on virtual file system support for the WebKitGTK+ backend. It now supports loading single pages from the VFS system.

2011-08-03 02:45 VZ, revision 68502

Fix bug with TAB being able to switch focus between MDI frames. The keyboard navigation code correctly checked that TAB was not propagated above the TLW containing the window in which the key was pressed to avoid switching focus between different TLWs by pressing TAB. However wxMDIChildFrame is not a TLW and so it was possible to switch focus between two different MDI child frames by pressing TAB. This was unexpected and counterintuitive, especially because the frame receiving focus was not even activated (which might be another bug). Fix this by adding a new wxWindow::IsTopNavigationDomain() virtual method that can be overridden to indicate that a window is a self-contained "keyboard navigation domain" and that keyboard events shouldn't propagate outside of it and override it in both wxTopLevelWindow and wxMDIChildFrame to ensure that it behaves correctly.

2011-08-03 02:45 VZ, revision 68501

No real changes, just rename a variable. "focussed" spelling is unusual and inconsistent with "focused" used in many other places in the same file, so renamed "focussed_child_of_parent" and also use standard camelCase naming convention for it.

2011-08-02 22:23 RD, revision 68495

If -1 is passed to InsertItem for the imageIndex then don't set wxLIST_MASK_IMAGE

2011-08-02 21:49 RD, revision 68494

Initialize the native printer info for ConvertFromNative if it hasn't been done already.

2011-08-02 21:46 VZ, revision 68493

Don't un-maximize the window when Iconize(false) is called in wxMSW. Calling Iconize(false) on a maximized window restored it to its normal state instead of doing nothing as expected. Return immediately from Iconize() if the requested state is already the current one to avoid it. Closes #13373.

2011-08-02 21:46 VZ, revision 68492

Fix wxSocket::WaitForAccept() in blocking mode. When wxSocket::WaitForAccept() was called from another thread or on a socket with wxSOCKET_BLOCK flag it didn't work because it called wxSocketImpl::Select() with wxSOCKET_CONNECTION_FLAG which was only handled for the client sockets in this function. Handle it now for the server ones too, this should allow blocking server sockets to work again. Closes #12836.

2011-08-02 21:46 VZ, revision 68491

Remove documentation of non-existent wxTextAttr::CreateFont(). This method doesn't exist (only GetFont() does), so don't document it. Closes #13372.

2011-08-02 21:41 RD, revision 68490

Revert r68416 which should not have been committed to this tag.

2011-08-02 16:43 JS, revision 68489

Added semicolon needed by MSVC++ 6

2011-08-02 11:44 SJL, revision 68488

Implement HasSelection for the OSX WebKit backend.

2011-08-02 11:21 SJL, revision 68487

Add EnableHistory support to the OSX WebKit backend.

2011-08-01 19:57 SJL, revision 68485

Fix warnings for the OSX WebKit backend.

2011-08-01 19:41 SJL, revision 68484

Fix compilation for OSX backend.

2011-08-01 17:49 SJL, revision 68483

Add missing wxRTTI macros and fix incorrect ones.

2011-08-01 16:05 SJL, revision 68482

Hide the infobar in the sample if we start navigating to another page.

2011-08-01 15:20 SJL, revision 68481

Fix remaining warnings in ie backend.

2011-08-01 15:09 SJL, revision 68480

Fix all the unused variable warnings in the sample.

2011-08-01 14:54 SJL, revision 68479

Make web sample XPMs const to fix compiler warnings on gcc.

2011-08-01 14:35 SJL, revision 68478

Fix a couple of warning that crept back into the GTK backend.

2011-08-01 12:10 SJL, revision 68477

Add missing lines to setup.h.in. This properly fixes compilation under configure based environments. Also update the include guards for the wxWebHistoryItem files.

2011-07-31 17:37 SJL, revision 68474

Rework the GTK WebKit backend history to remove the need for the map between wxWebHistoryItems and WebKitWebHistoryItems.

2011-07-31 16:06 SJL, revision 68473

Split wxWebHistoryItem headers out into separate files for each backend. This will allow us to dramatically reduce the amount of code in the GTK history implementation and implement it and OSX history support more cleanly.

2011-07-31 15:25 VS, revision 68472

Silence Clang warning about numeric_limits<> specialization. libstdc++ (which is used by Clang) defines numeric_limits<> as a struct and Clang issues a warning about our specialization that uses 'class'. As libstdc++ developers have no intention of fixing this, silence the Clang warning by using 'struct' for it.

2011-07-31 15:25 VS, revision 68471

Disable symbols visibility support for the Clang compiler. Even Clang++ shipped with Xcode 4.1 still can't handle visibility of non-inline methods in exported template classes if the default visibility is 'hidden'. Disable visibility support for Clang for now, we'll revisit it in the future.

2011-07-31 14:19 VZ, revision 68470

Correct typo in wxArray::insert() fix of r68468. A wrong variable was mistakenly used. Closes #13371.

2011-07-31 12:50 SJL, revision 68469

Simplify the wxWebFileHandler code by using a map to store the query string and manipulate it.

2011-07-31 01:38 VZ, revision 68468

Fix crash in wxArray::insert() overload taking iterator range. The iterator passed as argument could be invalidated by the function itself, update it before using it. Closes #13371.

2011-07-30 23:54 VZ, revision 68467

Generate events with WXK_NONE Unicode keys for non-characters in wxOSX. The keyboard keys not corresponding to real characters, such as cursor arrows or function keys, must generate wxKeyEvents with WXK_NONE as Unicode key code to make it possible to distinguish them from the printable characters but wxOSX generated events with valid Unicode key codes for them instead. Avoid this by excluding Unicode key codes corresponding to code points in the Unicode private use area: while this doesn't seem to be documented anywhere, all non-printable characters seem to have their Unicode representation inside it. This change brings wxOSX keyboard event generation in line with the other ports and, as a side effect, also closes #12423.

2011-07-30 23:54 VZ, revision 68466

Avoid bogus focus loss event when wxTextCtrl is modified in wxOSX. A wxEVT_KILL_FOCUS event was generated when wxTextCtrl::WriteText() was called in wxOSX, even though the control didn't lose focus at all in this case. This was completely unexpected and thoroughly confused wxGrid code which closed the in place editor immediately after showing it because of this (this was perhaps only the case since r68319 but the changes there were correct so they only masked the real bug). Avoid this bogus event by remembering the NSView currently being programmatically modified and not doing anything in textDidEndEditing notification if it is generated for this view.

2011-07-30 23:54 VZ, revision 68465

Improve wxTextCtrl::GetNumberOfLines() unit test and documentation. First, enable execution of the Lines() wxTextCtrl unit test case under wxOSX as it passes since the fix in the previous commit. Do add a test for GetNumberOfLines() that currently doesn't work in the same way under all platforms -- but with this test we at least can be sure how does it work exactly where. Also mention the current discrepancy in this function behaviour in the documentation. See #12366. Fix Lines() wxTextCtrl unit test to pass under wxGTK too.

2011-07-30 23:54 VZ, revision 68464

Fix off by one error in wxTextCtrl::GetLineLength() in wxOSX. The trailing new line shouldn't be counted in the line length.

2011-07-30 23:54 VZ, revision 68463

Fix stock accelerators handling in wxOSX. No modifiers were used for stock accelerators, i.e. Append(wxID_NEW) resulted in an item with the label "New" and plain "N" as accelerator in wxOSX. This was due to wxACCEL_CMD not being handled in wxAcceleratorEntry::ToString() so map it to the same prefix as wxACCEL_CTRL there, this is enough to make the accelerators work even though it's not clear whether this is really the best thing to do or if we should use a separate "Cmd+" prefix for it (and recognize it in Parse() too then) as otherwise it's unclear why do we have wxACCEL_CMD at all, it just seems to be treated identically to wxACCEL_CTRL everywhere.

2011-07-30 19:40 VZ, revision 68462

Emphasize that wxStandardPaths must not be created directly. wxStandardPaths::Get() must be used instead as the correct object to use might have a different type. See #11239.

2011-07-30 16:22 SJL, revision 68461

Overhaul wxWebHandler naming to try and make it consistent with the rest of wxWidgets. Split wxWebFileHandler into its own file.

2011-07-30 13:30 VZ, revision 68460

Get rid of ugly wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST macro. Replace it with wxWindowWithItems<> template class which takes care of disambiguating between the two inherited Get/SetClientXXX() versions and use it as a base class in all clases that previously used the macro.

2011-07-30 13:30 VZ, revision 68459

Resolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox. Use wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST for wxOSX/Cocoa too, not only for wxOSX/Carbon. This macro adds methods to explicitly disambiguate between the two inherited versions of each GetClientXXX() method, the one from wxItemContainer and the other one from wxEvtHandler. Closes #11637.

2011-07-30 13:26 SJL, revision 68458

Add new wxEVT_COMMAND_WEB_VIEW_TITLE_CHANGED event. Implement for all backends, extend the sample to demonstrate it and document. Also update some copyright notices.

2011-07-29 17:11 VZ, revision 68450

Add wxTextCtrl::PositionToCoords() functions for wxMSW and wxGTK. The new method allows to find the coordinates in pixels of the given character in a text control. Closes #13221.

2011-07-29 12:33 SJL, revision 68449

Add CombineURIs implementation for wxWebFileProtocolHandler. Update the IE backend to use it. Using the IE backend navigating through zip archives is now functional, including loading resources and links.

2011-07-28 19:22 PC, revision 68448

fix child allocations in size_allocate: can't use GtkFixedChild

2011-07-28 18:58 SJL, revision 68447

Tidy up the include guards for the various wxWebView header files.

2011-07-28 18:49 SJL, revision 68446

Move the wxWebFileProtocolHandler from the IE backend to the common source, add the RegisterProtocol method to all classes (as a stub in GTK and OSX). Register the file protocol handler in the sample for testing purposes.

2011-07-28 18:08 SJL, revision 68445

Initial implementation of wxWebProtocolHandler and wxWebFileProtocolHandler for the IE backend. This allows browsing of local files and files in zip archives when using a query string which specifies the protocol and path.

2011-07-28 07:35 PC, revision 68444

configuration and build fixes

2011-07-28 05:26 JC, revision 68443

Fixed a minor bug

2011-07-28 01:19 LV, revision 68442

wxMobile test(ing) project, created in order to make sure all features work on wxiOS

2011-07-28 01:19 LV, revision 68441

wxButton, wxTableCtrl fixes to support properties

2011-07-28 01:19 LV, revision 68440

Enforced GCC 4.2 on Xcode mobile projects

2011-07-27 14:35 JS, revision 68438

Compile fix

2011-07-26 23:37 VZ, revision 68437

Mention wxGTK wxAnimation implementation limitations in the docs. The native GTK implementation doesn't provide information about the frames count nor access to individual frames. See #13365.

2011-07-26 21:41 JC, revision 68435

Made wxgtk3 can also be built with gtk2

2011-07-26 19:43 JC, revision 68434

Removed unnecessary #ifdef

2011-07-26 18:41 JC, revision 68433

Merged to the trunk head

2011-07-26 18:11 SJL, revision 68432

Very basic implementation of IInternetProtocolInfo, this will allow us to correctly parse links in virtual file systems.

2011-07-26 17:34 JC, revision 68431

Merged to the trunk head

2011-07-26 17:23 JC, revision 68430

Merged to the trunk head

2011-07-26 15:45 SJL, revision 68429

Add a couple of missing forward declarations.

2011-07-26 15:14 SJL, revision 68428

We always let the user handle new window events so set the policy appropriately in the WebViewGTK+ backend.

2011-07-26 13:44 SJL, revision 68427

Fix compilation errors under OSX.

2011-07-26 13:31 VZ, revision 68426

Compilation fix: include wx/event.h from wx/containr.h. We now need wxEVT_XXX constants declarations in this file (at least when not wxHAS_NATIVE_TAB_TRAVERSAL) so include wx/event.h to fix PCH-less build of wxOSX.

2011-07-26 09:51 JC, revision 68425

Updated version number to 2.9.3. More src merges will be needed to catch up the head

2011-07-26 09:35 JC, revision 68424

Merged to the trunk head

2011-07-26 09:24 JC, revision 68423

Merged to the trunk head

2011-07-26 09:13 JC, revision 68422

samples/drawing compiled with wxgtk3

2011-07-26 01:31 DS, revision 68421

Fixed wxOSX-Cocoa compilation. OS X' wxComboBox::Init does not exist anymore since r68366 but an implementation still was present in combobox_osx.cpp which is used in Cocoa compilation. Removed the function.

2011-07-26 00:31 DS, revision 68420

Fixed containr.h compilation with gcc. At least apple-gcc 4.0 and 4.2 gave a compilation error on the three Connect calls in containr.h, insisting (unless using -fpermissive) on a declaration of Connect because there are no arguments to it that depend on a template parameter. Fixed by prepending BaseWindowClass to the Connect calls. Regression since r68363.

2011-07-25 20:57 RD, revision 68416

Initialize the native printer info for ConvertFromNative if it hasn't been done already.

2011-07-25 19:14 JC, revision 68403
  • D /wxWidgets/branches/SOC2011_GTK3/include/wx/gtk/dcclient_gtk2.h
  • D /wxWidgets/branches/SOC2011_GTK3/include/wx/gtk/dcmemory_gtk2.h
  • D /wxWidgets/branches/SOC2011_GTK3/include/wx/gtk/dcscreen_gtk2.h

Removed duplicated files

2011-07-25 18:54 SJL, revision 68402

Merge in from trunk r67662 to r64801

2011-07-25 17:43 SJL, revision 68401

Fix warnings in the MSW IE backend.

2011-07-25 17:19 SJL, revision 68400

We no longer need to veto the new window event in the sample as the behaviour has been unified across the ports.

2011-07-25 17:10 SJL, revision 68399

Link to urlmon from wxWeb to fix the compilation errors as we use CoInternetGetSession.

2011-07-25 16:30 SJL, revision 68398

Rename GetHref to GetURL in wxWebNavigationEvent, this brings it into line with the other functions in wxWebView.

2011-07-25 15:55 SJL, revision 68397

Add support for EVT_WEB_VIEW_NEWWINDOW to the OSX WebKit backend.

2011-07-25 15:37 SJL, revision 68396

Clarify what GetTarget actually returns in wxWebNavigationEvent.

2011-07-25 15:23 SJL, revision 68395

Update handling and documentation for new window events. Clarify that you must handle the event if you require an action, the default is for nothing to happen.

2011-07-25 12:46 SJL, revision 68394

Remove some now unused history variables.

2011-07-25 09:43 JC, revision 68393
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/dc.cpp

Removed unnecessary files

2011-07-25 09:33 JC, revision 68392
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/gnome
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/hildon

Removed unnecessary files

2011-07-25 09:32 JC, revision 68391
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/dnd.cpp

Removed unnecessary file

2011-07-25 09:27 JC, revision 68390

Merged more files from src/gtk3 to src/gtk

2011-07-25 08:32 JC, revision 68389
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/dataobj.cpp
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/evtloop.cpp

Merged evtloop.cpp from src/gtk3 to src/gtk

2011-07-25 08:13 JC, revision 68388
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/bdiag.xbm
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/cdiag.xbm
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/cross.xbm
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/fdiag.xbm
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/horiz.xbm
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/verti.xbm

Removed duplicated image files

2011-07-25 08:07 JC, revision 68387

Merged win_gtk.cpp from src/gtk3 to src/gtk

2011-07-25 08:06 JC, revision 68386
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/win_gtk.cpp.old

Merged win_gtk.cpp from src/gtk3 to src/gtk

2011-07-25 08:06 JC, revision 68385

Merged win_gtk.cpp from src/gtk3 to src/gtk

2011-07-25 07:59 JC, revision 68384
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/menu.cpp

menu.cpp has been merged to src/gtk

2011-07-25 07:49 JC, revision 68383
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/renderer.cpp.old

renderer.cpp is not needed in src/gtk3

2011-07-25 07:48 JC, revision 68382

renderer.cpp is not needed in src/gtk3

2011-07-25 07:00 JC, revision 68381
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/minifram.cpp.old

minifram.cpp is not needed in src/gtk3

2011-07-25 07:00 JC, revision 68380

minifram.cpp is not needed in src/gtk3

2011-07-25 06:26 JC, revision 68379
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/glcanvas.cpp

glcanvas.cpp is not needed in src/gtk3

2011-07-25 06:19 JC, revision 68378
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/private.cpp.old

Removed unnecessary src/gtk3/private.cpp

2011-07-25 06:18 JC, revision 68377

Merged src/gtk3/private.cpp to src/gtk/private.cpp

2011-07-25 05:51 JC, revision 68376
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/descrip.mms
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/eggtrayicon.c
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/eggtrayicon.h
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/taskbar.cpp

Removed unnecessary files in src/gtk3

2011-07-25 03:10 JC, revision 68375

Merged settings.cpp from src/gtk3 to src/gtk

2011-07-25 03:10 JC, revision 68374
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/settings.cpp.old

Removed unnecessary file settings.cpp.old

2011-07-25 03:09 JC, revision 68373

Merged settings.cpp from src/gtk3 to src/gtk

2011-07-25 02:56 JC, revision 68372
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/clipbrd.cpp.old

Removed unnecessary file clipbrd.cpp.old

2011-07-25 02:55 JC, revision 68371

Merged clipbrd.cpp from src/gtk3 to src/gtk

2011-07-25 02:40 JC, revision 68370
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/cursor.cpp.old

Removed unnecessary file cursor.cpp.old

2011-07-25 02:40 JC, revision 68369

Merged cursor.cpp from src/gtk3 to src/gtk

2011-07-25 00:19 VZ, revision 68368

No changes, just remove unnecessary wxPickerBase::OnSize(). This method did the same thing as the base wxWindow class event handler. Also remove wxPickerBase event table which became empty after removing this method.

2011-07-25 00:19 VZ, revision 68367

Exclude windows not accepting keyboard focus from GTK focus chain. For some reason the test for AcceptsFocusFromKeyboard() wasn't done in the correct place when constructing the GTK focus chain and even windows returning false from it were still added to it. Do not do this any more, this prevents the windows which are really not meant to be focusable from keyboard (such as the pseudo-buttons in the generic implementation of wxSearchCtrl) from gaining focus unexpectedly. See #12808.

2011-07-25 00:19 VZ, revision 68366

Replace wxControlContainer-related macros with wxNavigationEnabled<>. Simply inherit classes which need to provide TAB navigation among their children from wxNavigationEnabled<> and remove the now unnecessary WX_DECLARE_CONTROL_CONTAINER() macros. Also remove WX_INIT_CONTROL_CONTAINER(), WX_DELEGATE_TO_CONTROL_CONTAINER() and WX_EVENT_TABLE_CONTROL_CONTAINER() which are not needed neither any more. And remove the event tables which became empty after removing the last macro.

2011-07-25 00:19 VZ, revision 68365

Don't give focus to wxSearchButton when using keyboard navigation. The search control buttons don't show that they have focus and are not meant to have it anyhow as they are more control decorations than real buttons and their functionality can be activated by pressing "Enter" or "Escape" already from the keyboard. But giving it to them made TAB behave unexpectedly and wrongly when wxSearchCtrl had focus. Override AcceptsFocusFromKeyboard() to return false to correct this. See #12808.

2011-07-25 00:19 VZ, revision 68364

Use wxNavigationEnabled<> for keyboard navigation in generic wxSearchCtrl. Derive generic wxSearchCtrl implementation from wxNavigationEnabled<> to ensure that TAB navigation works correctly in it. While it did work before for search controls without wxTE_PROCESS_ENTER style (because this wasn't handled by this control itself at all in fact), it stopped working as soon as this style was used in wxMSW because then the navigation was implemented by manually calling wxWindow::Navigate() and this requires wxControlContainer support. Use wxNavigationEnabled<> to easily add it to wxSearchCtrl. See #12808.

2011-07-25 00:19 VZ, revision 68363

Add wxNavigationEnabled<> helper for implementing TAB navigation. Provide a clean, public and documented way to implement proper TAB navigation for subwindows of a composite control: instead of using various ugly and never documented WX_XXX_CONTROL_CONTAINER macros it is now enough to simply inherit from wxNavigationEnabled<BaseClass> to do it. No real changes in the code as the new class is not used anywhere yet.

2011-07-24 22:52 JC, revision 68360
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/bitmap.cpp

Removed surplus backup files

2011-07-24 22:51 JC, revision 68359
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/pen.cpp.old

Removed surplus backup files

2011-07-24 22:50 JC, revision 68358
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/brush.cpp.old
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/colour.cpp.old

Removed surplus backup files

2011-07-24 22:39 JC, revision 68357

Fixed bugs in colour.cpp and cursor.cpp

2011-07-24 12:50 VZ, revision 68351

Ignore WM_CLOSE generated by wxMSW edit control when Escape is pressed. Multiline edit control posts WM_CLOSE to its parent window when Escape key is pressed inside it for some reason. This is unwanted as it totally bypasses our logic for only closing the dialog when Escape is pressed if there is a Cancel-like button in it, so suppress this behaviour by not letting the edit control to get Escape at all. Closes #12501.

2011-07-23 21:36 VZ, revision 68345

Mention that pages can't be added to wxBookCtrl more than once. Apparently some people expect this to work although it's really not meant to. See #13209.

2011-07-23 21:36 VZ, revision 68344

Don't try to pop from an empty stack in wxGDIPlusContext::PopState(). Using PopState() without a previous PushState() is an error but it shouldn't result in a crash, so add an assert guarding against it. Closes #13197.

2011-07-23 14:01 VZ, revision 68339

Remove mentions of wxCommandEvent from wxThreadEvent documentation. wxThreadEvent doesn't derive from wxCommandEvent any more so don't say that it does. Also fix some grammar/wording. Closes #13359.

2011-07-23 13:59 VZ, revision 68338

Don't create an unnecessary extra button in wxMSW wxProgressDialog. MSWCommonTaskDialogInit() now (probably since r67620) always creates a IDCANCEL button so don't create another one in wxProgressDialog code, just ensure that the one created by that function has the correct label (either "Cancel" or "Close"). Closes #13358.

2011-07-22 18:53 VZ, revision 68337

Set wxDidCreatePaintDC to true even if we reused a cached wxPaintDC. Reusing a cached wxPaintDC should count as painting the window, otherwise we could call DefWindowProc(WM_PAINT) if WM_PAINT was generated from inside EVT_PAINT handler (e.g. by calling wxWindow::Update()) and this validated the entire window and no painting was really done. In particular this fixes redrawing of wxStyledTextCtrl which does call Update() (completely unnecessarily AFAICS) from its EVT_PAINT handler when it wants to fully refresh itself. Closes #13345.

2011-07-22 18:32 VZ, revision 68336

Increased the version to 2.9.3. Simply ran misc/scripts/inc_release and changed build/bakefiles/version.bkl and rebaked everything afterwards.

2011-07-22 18:31 VZ, revision 68335

Update the files changed by the version number increment script. src/wxWindows.xcodeproj doesn't exist any more so remove it but add build/tools/bld_chm_exe.bat and samples/minimal/Info*.plist files.

2011-07-22 18:16 VZ, revision 68334

Added customizable wxDocManager::OnMRUFileNotExist() virtual method. This method can be overridden to customize the previously hard-coded handling of the case when a file selected from the MRU menu doesn't exist any more: we used to always remove it from the file history completely. This may, however, be inappropriate and, in fact, probably never, or very rarely, is the right thing to do when the file that we failed to open still exists. So never remove the file from the MRU if we failed to open an existing file (also don't give an error about it as it should have been already given by CreateDocument()) and, while we still do it for the non-existent files, allow to override this behaviour by overriding the new OnMRUFileNotExist() method.

2011-07-22 18:16 VZ, revision 68333

Several corrections to wxDocManager fields documentation. Remove non-existent wxDocManager::m_flags. Added correct m_lastDirectory declaration to go with its documentation instead of the duplicated m_fileHistory documentation. Better document the default m_maxDocsOpen value. Put all the documented fields in protected section as they're really protected and not public.

2011-07-22 18:16 VZ, revision 68332

Save and restore file history in docview sample. Show how the file history can be saved to and restored from wxConfig. This makes it much easier to test file history related stuff as the history doesn't need to be recreated during every sample run. It is also closer to what real applications using docview framework do as the file history is relatively useless if it's not saved.

2011-07-22 18:16 VZ, revision 68331

Allow passing the error value to wxStreamBase::Reset(). It can be useful to induce an error on the stream explicitly, e.g. because an incorrect value was read from it and we want to indicate it to the caller by setting stream error to wxSTREAM_READ_ERROR. Allow to do this by passing an optional error value to wxStreamBase::Reset(). Add an example of using the new functionality to the docview sample which needs it to be able to signal errors while reading the files. Also document this method that previously wasn't documented at all.

2011-07-22 15:08 JS, revision 68330

Fixed Replace() to use the passed range instead of current selection

2011-07-22 15:07 JS, revision 68329

Fixed Replace() to use the passed range instead of current selection

2011-07-22 14:49 VZ, revision 68328

Don't pass spin text control messages processed at wx level to Windows. Windows messages handled at wx level shouldn't be processed again at Windows level but we always passed the events forwarded by spin control "buddy" text window to its default window proc as we had no way to determine whether they were really handled or not. Now we do have a way to do, by using the newly added MSWHandleMessage(), so only pass the messages to default window proc if they hadn't been handled already. This notably suppresses the annoying beep which happened if Enter key was pressed in a wxSpinCtrl with wxTE_PROCESS_ENTER style (as used by the corresponding wxDataViewCtrl renderer, for example). It probably corrects some other bugs/discrepancies with the other ports in event handling in wxSpinCtrl too.

2011-07-22 14:49 VZ, revision 68327

Refactor wxWindow::MSWHandleMessage() out from MSWWindowProc(). This commit just refactors the code without changing anything in its behaviour and will be followed by the real changes in the next one. The new function just handles the message, without calling MSWDefWindowProc() if it wasn't handled. This allows to call it and determine whether the message was really handled and only continue processing it if it wasn't. Notice that while in theory this shouldn't be necessary because the return value of MSWWindowProc() should indicate whether the message was handled or not (0 meaning that it was, for most messages), in practice it doesn't work because many standard controls window procs return 0 even for message they do nothing with, e.g. "up down" control always returns 0 for WM_CHAR messages even it it only really handles the arrow keys.

2011-07-22 14:31 SJL, revision 68326

Implement basic support for virtual file systems for the ie backend. Registering a temporary namespace allows us to use the existing wxFileSystem work to load virtual files.

2011-07-22 11:34 SJL, revision 68325

Replace define for OLECMDID_OPTICAL_ZOOM with an enum to avoid errors in compilers that define it as such.

2011-07-21 15:50 VZ, revision 68324

Fix double deletion bug in wxGTK wxDVC dnd code. The row_draggable callback could blithely delete m_dragDataObject twice as it didn't reset it to NULL after deleting it the first time. Then, if the object wasn't changed in the meanwhile, e.g. because dragging was not allowed for this item, it tried to do it again when called the next time resulting in a crash. Closes #12538.

2011-07-21 15:50 VZ, revision 68323

Fix the alignment used by custom wxDVC renderers in wxGTK by default. Correctly initialize the alignment used by the text renderer used by wxDataViewCustomRenderer in wxGTK implementation of wxDataViewCtrl. Closes #12298.

2011-07-21 15:50 VZ, revision 68322

Send wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED for generic version too. Send this event when the column used for sorting changed in the generic implementation of wxDataViewCtrl too. Closes #13005.

2011-07-21 15:50 VZ, revision 68321

Fix drawing of expander columns not at 0 position in generic wxDVC. The drawing code in the generic version of wxDataViewCtrl incorrectly supposed that the expander column was always at position 0. This resulted in the expander column not being drawn at all if it was not really the first one. Fix the test to use wxDataViewCtrl::GetExpanderColumn() to correct this. Closes #12870.

2011-07-21 15:50 VZ, revision 68320

Correct test for maximal row index in generic wxDataViewCtrl. The comparison in EVT_CHAR handler was incorrect for an empty control without any rows as it subtracting 1 from 0 resulted in UINT_MAX and not -1 as all the values were unsigned. Fix this by checking that the new row is valid instead, this is correct for both signed and unsigned values. Closes #13356.

2011-07-21 15:50 VZ, revision 68319

Never restore focus to hidden child. Don't set focus to a hidden window in our focus management code, this never makes sense and results in apparent focus loss. It also fixes, as a side effect, a crash in wxGrid under wxMSW as the focus is not restored to the hidden grid editor any longer and so the code in its wxEVT_KILL_FOCUS handler that resulted in the crash is not executed any longer, see #13349.

2011-07-21 15:50 VZ, revision 68318

Allow marking wxTreeBook nodes to expand initially in XRC. Add new "expanded" attribute for XRC nodes of treebookpage class. Also update the sample and the XRC format documentation. Closes #13355.

2011-07-21 15:49 VZ, revision 68317

Make wxEnhMetaFileDC ctor from wxDC explicit. This avoids implicit conversion of any kind of wxDC to wxEnhMetaFileDC which is totally unexpected. See #13326.

2011-07-21 15:49 VZ, revision 68316

Fix parsing of negated long options in wxCmdLineParser. Negated long options were not recognized in wxCmdLineParser::Parse(), do check for them now. Also extend the unit test to check for negated options. Closes #13335.

2011-07-21 15:49 VZ, revision 68315

Reset negatable switches correctly in wxCmdLineParser::Reset(). The "negated" flag of wxCmdLineOption struct was not reset by Reset() so parsing a command line with a negatable option once influenced the result of parsing it the next time because the old value was kept. Do clear it now to allow calling Parse() several times without side effects.

2011-07-20 18:23 JS, revision 68314

No longer ignores first-line indent if no left indent specified

2011-07-20 18:23 JS, revision 68313

No longer ignores first-line indent if no left indent specified

2011-07-20 18:21 JS, revision 68312

Forgotten commit

2011-07-20 13:41 VZ, revision 68311

Don't use template member function in drawing sample to placate VC6. VC6 can't instantiate member template functions so get rid of it and use ugly dynamic casts in the non-template function to construct wxGCDC correctly. See #13327.

2011-07-20 08:36 SC, revision 68310

fixes redraw problems under OSX, see #13345

2011-07-20 00:36 VZ, revision 68309

Fix harmless gcc warning about uninitialized mask in PNG saving code. The mask was actually only used when it was initialized (or, conversely, the mask was always initialized when it was used) but gcc doesn't seem to notice this and still warns that mask components "may be used uninitialized in this function". Suppress the warnings by always initializing the mask, even if we don't use it. Closes #13333.

2011-07-20 00:35 VZ, revision 68308

Refresh the old current row when right clicking in wxDataViewCtrl. the generic implementation of wxDataViewCtrl left the old current still focused after selecting another row as current when it was right clicked. Fix this by refreshing the previously current row after unfocusing it. Closes #13330.

2011-07-20 00:35 VZ, revision 68307

Add wxDataViewEvent::IsEditCancelled() and support for vetoing edit events. Currently this is only implemented in the generic wxDataViewCtrl, the native GTK/OSX ports should be modified to support this later. Closes #13323.

2011-07-20 00:35 VZ, revision 68306

Fix deleting columns in wxGridStringTable with custom column labels. We erroneously removed too many elements from m_colLabels array (basically we always removed all the elements remaining after this column, irrespectively of the actual number of columns to delete), fix this by removing at most the specified number of columns -- or possibly less if the array isn't entirely filled. See #13329.

2011-07-20 00:35 VZ, revision 68305

Allow saving the drawing sample canvas to a file or clipboard. This allows to test wxMemoryDC and, under MSW, wxMetafileDC and also can be used to compare the output of different versions of the sample (possibly from different ports, too). Closes #13327.

2011-07-20 00:35 VZ, revision 68304

Added wxGCDC(wxEnhMetaFileDC) ctor too. Make it possible to create wxGCDC associated with a metafile DC in wxMSW too. Closes #13326.

2011-07-20 00:35 VZ, revision 68303

Fix keyboard navigation in wxGrid with hidden columns. The hidden columns (i.e. those whose size was set to 0) should be skipped when find the previous/next column to select when the user presses Left/Right cursor arrow keys in wxGrid, otherwise the focus could completely disappear as it was invisible when it was set to a hidden column. Closes #13281.

2011-07-19 19:56 SC, revision 68302

doing WakeUp in osx_carbon differently for the main event as well

2011-07-19 18:17 SC, revision 68301

make sure we can issue a WakeUp call that really triggers at the NSRunLoop level not only only CFRunLoop

2011-07-19 12:56 SC, revision 68300

fixing width/height (were negative) thanks to Werner Smekal

2011-07-18 21:36 VZ, revision 68299

Fix memory leak in wxPanel::SetBackgroundBirmap() in wxMSW. The brush allocated for the bitmap was never freed, do free it in dtor.

2011-07-18 11:46 SJL, revision 68298

Make callback names consistent