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-10-18 23:56 VZ, revision 69460

Fix SetShape() in wxOSX/Cocoa. Explicitly erase the part of the window outside of its shape with a transparent colour to ensure that it is indeed transparent and not just has the default solid background. Closes #13340.

2011-10-18 23:56 VZ, revision 69459

Don't create a valid wxRegion when using default ctor in wxOSX. Default constructing a wxRegion created an object that unexpectedly passed IsOk() test in wxOSX. This was completely unexpected so don't do this and leave default constructed wxRegion invalid, as in the other ports. Update DoCombine() to be able to deal with the case of an invalid source region in a way consistent with the other ports.

2011-10-18 23:56 VZ, revision 69458

Don't interpret '&' specially in wxTextWrapper. wxTextWrapper is used for the multiline text for which it doesn't make sense to use mnemonics so don't interpret '&' specially in the text used with it. Doing this also allows to remove the hack used in wxDialog::CreateTextSizer() to deal with it that was used so far.

2011-10-18 23:56 VZ, revision 69457

Use wxWindow::GetClientAreaOrigin() instead of MSW functions. ::AdjustWindowRectEx() doesn't seem to work correctly for wxPopupWindow and still offsets the coordinates by the title bar height even if these windows don't have WS_CAPTION style. Rather than try to work around this, simply use wxWindow method instead of the Windows function as shape wxRegion offset.

2011-10-18 23:56 VZ, revision 69456

No changes, just fix a typo in a header comment.

2011-10-18 23:56 VZ, revision 69455

No changes, just fix typo in a comment following an #endif. The closing comment used wrong symbol.

2011-10-18 23:54 VZ, revision 69454

Correct the direction passed to wxDataObject in wxGTK clipboard code. We should quert for IsSupportedFormat(format, Set) before calling SetData() with this format, not for IsSupportedFormat(Get) which is the default and was used by the code.

2011-10-18 00:26 VZ, revision 69447

Explicitly use _stati64() with MinGW-W64. Although this compiler provides underscore-less versions of all POSIX functions, this one only exists in a version with underscore, so use it to fix compilation with it in ANSI build.

2011-10-17 20:53 RD, revision 69446

Fix more missing and broken stuff in the interface, for Phoenix

2011-10-16 22:57 SC, revision 69445

supporting deployment < 10.6 when compiling against 10.7

2011-10-16 21:08 SC, revision 69444

removing QD dependency

2011-10-16 19:57 VZ, revision 69442

Align multiline labels correctly in wxMSW owner-drawn buttons. The label wasn't centered correctly in multi-line case. Closes #13567.

2011-10-16 17:59 SJL, revision 69440

Export a couple of Carbon functions to allow wxWebView to build correctly. This was already done in the wxWebView branch but got missed in the merge to trunk.

2011-10-15 16:19 VS, revision 69436

Set wxDataViewCtrl::m_focusWidget in wxGTK. The GtkTreeView control that should get the focus in in scrolled window; the same is already done for wxListBox.

2011-10-15 16:19 VS, revision 69435

Don't call wxEvent::SetTimestamp() twice in InitMouseEvent<>().

2011-10-15 02:20 VZ, revision 69434

Don't use wxMSW version of wxNonOwnedWindow at all under WinCE. This class becomes completely trivial under WinCE as its functionality (setting the window shape) can't be implemented under this platform, so just don't compile it at all there. This both (slightly) reduces the amount of #if checks and should make the code (slightly) smaller.

2011-10-14 03:38 RD, revision 69417

Add data members for RGBValue and HSVValue

2011-10-14 03:37 RD, revision 69416

fix parent class and constant

2011-10-13 16:54 VZ, revision 69411

Don't assert in wxDateTime::Format("%p") in locales not using AM/PM. If a locale doesn't use AM/PM strings, strftime() can return an empty string which does not indicate an error, so don't assert that strftime() failed in this case.

2011-10-13 15:19 VZ, revision 69409

The usual fix for PCH-less compilation after the last commit. Fix wxNonOwnedWindow compilation in wxGTK without PCH.

2011-10-13 14:45 VZ, revision 69408

Implement SetShape() for wxPopupWindow in wxGTK. Move SetShape() implementation from wxTopLevelWindow to wxNonOwnedWindow so that wxPopupWindow, which also inherits from the latter, could use it as well. This makes it possible to have popup windows with irregular shapes in wxGTK as well as in wxMSW and wxOSX.

2011-10-13 08:40 RD, revision 69406

Avoid an assert when m_dir is empty

2011-10-13 08:40 RD, revision 69405

Interface tweaks for Phoenix

2011-10-12 20:08 VZ, revision 69392

And another compilation fix. This time it really does compile.

2011-10-12 20:08 VZ, revision 69391

Compilation fix after a bad merge. Fix bad merge artefact in the previous commit.

2011-10-12 18:22 VZ, revision 69390

Added wxWindow::GTKHandleRealized() virtual method to wxGTK. This allows to easily do something in the derived classes when the widget is realized, without having to deal with GTK+ signals. In particular, get rid of another "realize" signal handler in wxTopLevelWindow and simply override this virtual method there. It also incidentally makes the callback code simpler as the window doesn't need to be constantly dereferenced. This shouldn't result in any changes to behaviour.

2011-10-12 13:20 VZ, revision 69389

Move wxUSE_GUI definition from chkconf.h to the top of platform.h. This avoids warnings about wxUSE_GUI not being defined in Mac tests in wx/platform.h which are now (since r69387) done before wx/chkconf.h inclusion.

2011-10-12 12:10 SC, revision 69388

applying slightly modified patch, fixes #13434

2011-10-12 10:57 SC, revision 69387

moving defines in front of the setup.h to make webkit definitions in setup.h work for Xcode builds as well

2011-10-12 02:35 VZ, revision 69386

Make it possible to close "shaped" sample from the menu. The sample didn't define any handler for wxID_EXIT menu item, do add it.

2011-10-11 19:56 VZ, revision 69381

Added missing WXDLLIMPEXP_CORE to wxNonOwnedWindowBase declaration. This fixes (harmless) MSVC warning C4275 about inheriting DLL-exported class from a non-DLL-exported base class. Closes #13554.

2011-10-11 19:14 VZ, revision 69380

Update status bar labels properly after width change in wxMSW. The labels were not updated (i.e. ellipsized or, on the contrary, displayed in full) correctly after a status bar field was changed; there was even a FIXME comment about this in the code. Fix this by calling DoUpdateStatusText() when the field width is changed and also update the field width after resetting the existing tooltips.

2011-10-11 19:08 VZ, revision 69379

Don't delete wxTaskBarIcon in wxMSW wxNotificationMessage if we don't own it. wxNotificationMessage can be associated with an existing wxTaskBarIcon under wxMSW instead of creating its own one internally and in this case the icon must not be deleted when the notification is hidden but it was always destroyed unconditionally by wxNotificationIconEvtHandler created by wxAutoNotifMsgImpl. Fix this by only creating this helper event handler if we do own the icon.

2011-10-11 19:07 VZ, revision 69378

Move SetBackgroundBitmap() from wxPanel to new wxCustomBackgroundWindow. wxCustomBackgroundWindow is a new class allowing to set a custom bitmap for the background of any window. The relevant code was mostly moved from wxPanel to which it was added only recently (before 2.9.2) making it unnecessary to preserve compatibility.

2011-10-11 08:30 RD, revision 69377

wxGraphicsRenderer::CreateContextFromImage is not static

2011-10-11 07:33 RD, revision 69375

Remove the ctor and Init methods that are not available on all ports

2011-10-10 19:12 VZ, revision 69367

Fix warnings about wxOSX_USE_CARBON being undefined when using g++. Test for __WXMAC__ before testing wxOSX_USE_CARBON to avoid -Wundef warnings from g++ in non-Mac builds.

2011-10-10 19:08 VZ, revision 69365

Fix PCH-less build after adding wxNonOwnerWindow in wxMSW. Include the required headers when not using PCH to fix compilation.

2011-10-10 12:53 VZ, revision 69364

Move wxTopLevelWindow::SetShape() down to wxNonOwnedWindow. Also add wxNonOwnedWindow for wxMSW (which previously simply typedef'd it to wxWindow) and document this class now that it provides some user-visible functionality.

2011-10-10 00:07 VZ, revision 69362

No changes, just get rid of unnecessary variables in wxCairoBitmapData. Don't use bw and bh when we have perfectly appropriate m_width and m_height.

2011-10-10 00:07 VZ, revision 69361

Don't declare wxCairoFontData::m_underlined unnecessarily. This member was only used in wxGTK-specific code but it was declared for all platforms which was unnecessary and confusing. Move its declaration in wxGTK-only section of the class.

2011-10-10 00:07 VZ, revision 69360

Allow creating wxGraphicsFont without using wxFont. This is mostly important to allow using wxImage-based wxGraphicsContext without requiring X server connection under Unix: as wxFont can't be used without X server, we needed another way to create wxGraphicsFont in this case.

2011-10-10 00:07 VZ, revision 69359

Remove font scaling from wxMSW wxGraphicsContext.

2011-10-10 00:07 VZ, revision 69358

Allow creating wxGraphicsBitmap and wxGraphicsContext from wxImage. Provide a way to use wxGraphicsContext to draw on wxImage. This is implemented internally by drawing on wxGraphicsBitmap which can be now also created from wxImage. Add a test of the new functionality to the image sample.

2011-10-10 00:07 VZ, revision 69357

Refactor wxGDIPlusFontData ctor to allow using it without wxGDIPlusContext. wxGDIPlusFontData only needs wxGDIPlusContext to get the font unit to use, so pass the font unit directly to the ctor to allow also using it when there is no context at hand.

2011-10-10 00:07 VZ, revision 69356

Simplify and rationalize wxGDIPlusContext class constructors. Remove the now unnecessary default ctor from wxGDIPlusContext and wxGDIPlusMeasuringContext and add a ctor taking just wxGraphicsRenderer that can be useful to the derived classes instead. Merge Init() and SetDefaults() and initialize everything at once in the new Init() now.

2011-10-10 00:07 VZ, revision 69355

Don't make private wxGraphicsContext-derived classes dynamically creatable. This doesn't make any sense because classes such as wxGDIPlusContext, wxGDIPlusMeasuringContext and wxMacCoreGraphicsContext are private and don't need to be creatable by name (only renderers potentially need to be) and was inconsistent with Unix/Cairo backend in which these classes were not dynamic. So remove wxRTTI macros from them in wxMSW/wxOSX as well as this allows us to get rid of unnecessary default ctors.

2011-10-10 00:07 VZ, revision 69354

Fixed non-existent wxCairoContext default ctor. wxCairoContext class declared default ctor which wasn't implemented and even couldn't be implemented because its base class didn't have any default ctor neither. Fix this by providing a ctor taking wxGraphicsRenderer* and implement it.

2011-10-10 00:07 VZ, revision 69353

Added wxGraphicsBitmap::ConvertToImage(). Allow to convert wxGraphicsBitmap directly to wxImage, without passing by wxBitmap.

2011-10-10 00:07 VZ, revision 69352

No changes, just refactor wxCairoBitmapData ctor. Extract the code for buffer and surface creation into separate helper functions so that they could be reused by other constructors (to be added in the next commits). Also use cairo_format_stride_for_width(), if available, to compute the stride for the surfaces we create instead of hard coding 4*width.

2011-10-10 00:07 VZ, revision 69351

Document wxGraphicsBitmap and methods involving it. Document wxGraphics{Context,Renderer}::CreateBitmap() and CreateSubBitmap() and wxGraphicsContext::DrawBitmap() as well as the (trivial) class itself.

2011-10-10 00:02 VZ, revision 69350

Implement EVT_MOUSE_CAPTURE_LOST handling for wxPopupTransientWindow. Handle mouse capture lost events instead of polling for the mouse status in EVT_IDLE handler. This is not only more efficient but also catches the cases when the capture was lost before OnIdle() could be executed which could result in assertion failures and, before the previous commit, even crashes. The idle-time code is still used for wxOSX/Carbon because it doesn't seem to generate mouse capture loss events currently -- but should be removed as soon as support for these events is added.

2011-10-10 00:02 VZ, revision 69349

Implement delayed destruction for wxPopupTransientWindow. Windows of this class can be destroyed at any moment, even while some events are still being processed, so delay the real destruction until we can be sure that it's safe to delete the window. This fixes problems (crashes due to dangling pointers) when the object is deleted from the overridden OnDismiss(), for example.

2011-10-10 00:01 VZ, revision 69348

Fix inheriting parent background colour in wxPanel in wxMSW. wxPanel didn't inherit the background colour set for its parent any more in wxMSW because its HasTransparentBackground() didn't return true unless the panel was a child of wxNotebook. This was wrong because not only themed notebook background should be inherited but also any solid background explicitly set for a panel parent. Fix this by returning true from MSWHasInheritableBackground(), which is used by wxPanel::HasTransparentBackground() under MSW, if the window has an explicitly set and inheritable background colour. Closes #13487.

2011-10-09 15:07 VS, revision 69344

Return true from wxDataViewMainWindow::ItemDeleted(). Presumably, 'false' indicates failure, but there's no failure here: if an item is not visible, because its parent wasn't expanded yet, it's perfectly OK that we don't need to do anything.

2011-10-09 12:45 SJL, revision 69343

Reuse existing MinGW defines for all compilers that are missing them.

2011-10-09 03:28 RD, revision 69326

Interface updates for Phoenix. Add wxNativeFontInfo.

2011-10-07 23:25 SJL, revision 69324

Work around the fact that wxWebViewIE doesn't send page changing and page changed events during a refresh, yet IsBusy returns true. Closes #13518

2011-10-07 19:24 VS, revision 69323

Handle inline editing in generic wxDataViewCtrl as Windows 7 does. Mimic the behavior of Windows 7's Explorer: edit the item that has focus if it is selected or the first selected item if focus is out of selection.

2011-10-07 17:03 VS, revision 69322

Add columns focus and keyboard navigation to generic wxDataViewCtrl. The UI tries to mimic Windows 7's Explorer's approach as much as possible, taking inspiration in the GTK+ implementation when appropriate. In particular, as long as the user doesn't use horizontal navigation keys, everything looks as before and the user isn't bothered with the existence of per-cell focus.

2011-10-07 05:51 JS, revision 69321

Allow selected symbol to be scrolled into view initially

2011-10-07 05:51 JS, revision 69320

Allow selected symbol to be scrolled into view initially

2011-10-06 19:55 SJL, revision 69318

Fix various GCC warnings in wxWebView. Closes #13532

2011-10-06 12:01 SJL, revision 69317

Ensure we pass the correct type of string to EscapeFileNameCharsInURL in wxWebViewArchiveHandler.

2011-10-05 23:21 SJL, revision 69316

Delete the filesystem used by wxWebViewArchiveHandler when we are done with it. Fixes a memory leak. Closes #13500

2011-10-05 19:23 SJL, revision 69314

Store a pointer to each ClassFactory so we can correctly release it when the browser closes. This fixes a few more memory leaks. See #13500

2011-10-05 10:05 SJL, revision 69313

Delete the timer on close in the wxWebView sample. Fixes another memory leak. See #13500

2011-10-04 23:37 RD, revision 69309

Add Get|SetPrintMode

2011-10-04 19:03 VZ, revision 69308

Fix wxTimePickerCtrl compilation without PCH too. Include commctrl.h explicitly when not using PCH (this completes fixes of r69293).

2011-10-04 09:45 RD, revision 69300

Interface fixes for Phoenix

2011-10-02 19:39 VZ, revision 69293

Fix wxDateTimePickerCtrl compilation without PCH. Include the MSW private headers usually included from the PCH file.

2011-10-02 18:20 SJL, revision 69292

Add new definitions required by MinGW for webview. Re-enable custom schemes as a result. See #13509

2011-10-02 15:15 VZ, revision 69291

Fix current field highlighting in generic wxTimePickerCtrl under wxGTK. In wxGTK, calling HighlightCurrentField() from EVT_SET_FOCUS handler was not enough as the highlighting was overwritten by the default behaviour of selecting the entire text control contents on focus gain. Fix this by calling SetFocus() from HighlightCurrentField() before updating the selection. This ensures that the correct field is always highlighted.

2011-10-02 14:58 VZ, revision 69290

Added GTK+ screenshot of wxTimePickerCtrl.

2011-10-02 14:58 VZ, revision 69289

Use wxSP_WRAP for generic wxTimePicker spin button. This ensures that the spin button arrows are always enabled, as they should be, even under wxGTK where wxSpinButton disables its arrows on its own if its value reaches the end of its range and wxSP_WRAP is not used.

2011-10-02 14:21 SJL, revision 69288

Remove copied class definitions from missing.h. Disable custom scheme handling under MinGW as it lacks the correct definitions.

2011-10-02 13:32 VZ, revision 69287

Put wxWebView library addition on top of changes list. This list is supposed to be roughly in importance order. Also add a period at the end of wxAuiNotebook entry, let's try to be consistent about using them.

2011-10-02 13:28 VZ, revision 69286

Fix setting tooltips for wxSearchCtrl and other composite controls. Propagate SetToolTip() call on wxCompositeWindow to all subwindows to ensure that the tooltip is shown for all parts of the window. Notice that this is still not ideal as the tooltip temporarily disappears when mouse moves from one subwindow to another, instead of staying in place as it does with "monolithic" windows and ideally we should find a way to avoid it (should be possible at least under MSW with TTM_RELAYEVENT) but for now this is already much better than nothing. Closes #13523.

2011-10-02 13:28 VZ, revision 69285

Add wxWindowBase::CopyToolTip() method. This method simply sets the same tooltip for the window but making copy of, instead of taking ownership of, the wxToolTip passed in. It's not especially useful on its own but is needed by wxCompositeWindow and might be handy elsewhere. See #13523.

2011-10-02 13:28 VZ, revision 69284

Restore correct wxSearchCtrl size in wxMSW after wxTextCtrl changes. The code in generic wxSearchCtrl implementation was broken by the changes of r69066 which deccreased the best height of border-less text controls. Ideally we should probably change wxSearchCtrl::LayoutControls() to not be sensitive at all to the exact value returned from wxTextCtrl::GetBestSize() and just always centre everything vertically but this doesn't look simple to do with the current code so just override wxSearchTextCtrl::DoGetBestSize() to return the same size as wxTextCtrl used to return before to fix this for now.

2011-10-02 13:28 VZ, revision 69283

Fix harmless warnings in hot key code in wxOSX. Don't compare signed and unsigned variables if possible (insert a cast in one place where it wasn't). Put WXUNUSED() around the unused parameters.

2011-10-02 13:28 VZ, revision 69282

Fix harmless gcc initialization order warning. Put the initializes in wxDataViewTreeNode constructor initialization list in order of their declaration.

2011-10-02 13:27 VZ, revision 69281

zh_TW translation update from cw.ahbong.

2011-10-02 12:29 SJL, revision 69280

Derive wxAuiNotebook from wxBookCtrlBase. Document wxAuiNotebookEvent which now derives from wxBookCtrlEvent. Update the notebook sample to add wxAuiNotebook as an option.

2011-10-01 21:40 SJL, revision 69267

Add event descriptions to wxAuiNotebook.

2011-10-01 21:22 SJL, revision 69266

Correctly initialise ref count in custom scheme class factory.

2011-10-01 01:40 RD, revision 69253

Use wxAlphaPixelData if the source bitmap depth is 32 or if on wxGTK and there is a mask. Add a separate pass on MSW if there is a mask to adjust the cairo surface's alpha to match the mask.

2011-09-30 17:26 VZ, revision 69244

Fix the comparison direction in wxTextAttr::BitlistsEqPartial(). The comparison was apparently reversed. Closes #13521.

2011-09-30 17:26 VZ, revision 69243

Fix assert in initial call to wxPostScriptDC::SetPen(). Attempt to use wxPen::GetStyle() on the initially invalid pen resulted in an assert, so don't do it and test for pen validity explicitly. Closes #13524.

2011-09-30 17:26 VZ, revision 69242

Create setup.h when building wxscintilla library. This library includes some wx headers and so setup.h must be available when it's being compiled but there was no rule to copy it in its projects, so add it now. Closes #13526.

2011-09-30 16:00 JJ, revision 69241

updates for OpenVMS

2011-09-30 08:05 JJ, revision 69240

Update OpenVMS compile support

2011-09-29 16:19 JJ, revision 69229

Update setup fort OpenVMS

2011-09-29 15:47 JJ, revision 69226

Fixes for OpenVMS on IA64

2011-09-29 15:43 VZ, revision 69225

Added XRC handler for wxTimePickerCtrl. Add a trivial handler modeled after the existing wxDateCtrlXmlHandler.

2011-09-29 15:43 VZ, revision 69224

Add wxTimePickerCtrl class. Implement wxTimePickerCtrl natively for MSW and add a generic implementation (very loosely based on the original class by Paul Breen) for the other platforms. Also update the calendar sample to show the new control.

2011-09-29 15:43 VZ, revision 69223

Correct wxDatePickerCtrl::GetValue() documentation and other minor fixes. The documentation for this method seems to have been copy-and-pasted from somewhere else and didn't make any sense. Also don't say that this control doesn't have any control-specific styles when it does.

2011-09-29 15:43 VZ, revision 69222

Refactor wxDatePickerCtrl to derive from wxDateTimePickerCtrl. No real changes, just refactor wxMSW wxDatePickerCtrl to allow sharing code with the upcoming wxTimePickerCtrl class. Even less changes for the other platforms where wxDateTimePickerCtrl is trivial.

2011-09-29 14:29 VZ, revision 69220

VC6 compilation fixes for wxTreeListCtrl. For some reason comparing wxTreeListItem with its associated Type doesn't work when using VC6 ("error C2593: 'operator ==' is ambiguous") so help the compiler to do it. Also remove the unnecessary (and unsupported by VC6) return from void function.

2011-09-29 14:05 JS, revision 69219

Fixed caret sizing problem around large objects by clipping the caret to the margins