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
Changelog for wxWidgets (70435 changes):
2012-06-15 01:21 SC, revision 717772012-06-15 00:29 SC, revision 71771setting debug level explicitly
- M /wxWidgets/trunk/src/osx/carbon/app.cpp
- M /wxWidgets/trunk/src/osx/carbon/graphics.cpp
- M /wxWidgets/trunk/src/osx/carbon/region.cpp
- M /wxWidgets/trunk/src/osx/core/colour.cpp
- M /wxWidgets/trunk/src/osx/core/evtloop_cf.cpp
- M /wxWidgets/trunk/src/osx/utils_osx.cpp
2012-06-15 00:02 SC, revision 71770cleanup for 10.5 minimum
2012-06-14 23:55 SC, revision 71769clang analyzer support specific for OSX
2012-06-14 23:53 SC, revision 71768FixedWith support through CoreText
- M /wxWidgets/trunk/include/wx/osx/iphone/chkconf.h
- M /wxWidgets/trunk/include/wx/osx/iphone/private.h
2012-06-14 23:51 SC, revision 71767using CoreText under iOS
2012-06-14 23:47 SC, revision 71766guarding agains NULL
2012-06-14 23:46 SC, revision 71765guard XTI
2012-06-14 23:43 SC, revision 71764CoreText font enumeration support for iOS
2012-06-14 23:40 SC, revision 71763CoreText support for iOS
2012-06-14 23:37 SC, revision 71762fixing analyzer warning
2012-06-14 21:11 SC, revision 71761removing superfluous 10.5 checks
2012-06-14 17:07 SC, revision 71760as we always have CoreText available under 10.5+, we can properly determine fixed widths fonts, also use latest CoreText API if available
2012-06-14 01:33 SC, revision 71756removing attribute, as assert is not guaranteed not to return, but may just go on
2012-06-14 01:33 SC, revision 71755using WX_ATTRIBUTE_NORETURN for asserts
2012-06-14 01:20 RD, revision 71751adding WX_ATTRIBUTE_NORETURN support (for functions like assert, exit etc. that may not return)
2012-06-14 01:20 RD, revision 71750minor doc tweak
2012-06-14 01:20 RD, revision 71749Fix for compilo on non-PCH builds
2012-06-14 01:20 RD, revision 71748Allow the doxygen command to be used to be specified in the environment
2012-06-14 00:53 SC, revision 71747update comment about SDKs
2012-06-14 00:32 SC, revision 71746using native cocoa method for determining main window, fixes #14287
2012-06-13 20:43 SC, revision 71743exposing mainWindow for C++
2012-06-13 20:42 SC, revision 71742indicating the memory ownership of our c-method for the clang analyzer
2012-06-13 19:55 SC, revision 71741supporting clang memory management annotations
2012-06-13 19:38 SC, revision 71740adding explanation for osx and fixing typo
2012-06-13 19:13 SC, revision 71739proper init
2012-06-13 18:43 SC, revision 71738having ONE set of raster-ops starting from 10.5
2012-06-13 18:42 SC, revision 71737fixing mem leak
2012-06-13 01:32 SC, revision 71735proper braces avoiding potential dangling else resulting from expansion
2012-06-13 00:15 VZ, revision 71733avoiding dangerous redraw events for windows that are on their way out…
2012-06-12 23:57 VZ, revision 71731Slightly improve best size calculation for wxListCtrl with wxLC_NO_HEADER. Use some arbitrary but relatively large width and height instead of falling back to wxControlBase best size computation which, at least in wxGTK, simply returns (1, 1) resulting in list control of unusably small size. This is, of course, still far from ideal and we should really use the items to calculate the best width but it at least allow the list control in the generic log dialog to be shown correctly in wxGTK.
2012-06-12 23:56 VZ, revision 71730No real changes, just add a wxCHECK to GetDlgUnitBase(). Verify that we do have a valid TLW parent: even though this normally should be always the case, it might not be when the window is being created or destroyed, see #14355.
2012-06-12 23:42 VZ, revision 71728Fix crash in wxStaticBox::HandleEraseBkgnd() in wxMSW on closing. Don't process WM_ERASEBKGND if we're being destroyed. This is at best useful and at worst harmful as we currently crash in wxStaticBox::GetClientSize() if there is no valid TLW parent. Closes #14355.
- M /wxWidgets/trunk/autoconf_inc.m4
- M /wxWidgets/trunk/build/bakefiles/files.bkl
- M /wxWidgets/trunk/configure
- M /wxWidgets/trunk/Makefile.in
2012-06-12 23:42 VZ, revision 71727Only use Unix/X11-specific files under Unix in wxGTK. No real changes for now, this is another commit in preparation for wxGTK under MSW support. Closes #14394.
2012-06-12 23:41 VZ, revision 71726Remove another unneeded TOOLKIT test from the bakefiles. Don't check the toolkit unnecessarily, this doesn't really change anything right now but will not break wxGTK build under MSW when support for it is added. Closes #14379.
2012-06-12 23:41 VZ, revision 71725Add wx/setup.h header for wxGTK build under MSW. This is identical to wx/msw/setup0.h but will be used by wxGTK builds using MSVC when this is supported. Closes #14395.
2012-06-12 23:41 VZ, revision 71724Compilation fix in non-PCH build of wxMSW wxStaticBox. Include wx/sizer.h now that we use sizers in static box DoGetBestSize(). Closes #14397.
- M /wxWidgets/trunk/include/wx/generic/private/listctrl.h
- M /wxWidgets/trunk/src/generic/listctrl.cpp
2012-06-12 23:41 VZ, revision 71723Don't use generic wxListCtrl style for wxListMainWindow. This resulted in double border around wxListCtrl contents in wxOSX and almost certainly other ports except wxGTK for which we already had an explicit preprocessor check in the generic list control code. Remove it and simply don't use any wxListCtrl-specific styles, including borders, for its main window as it doesn't make any sense. Closes #3701.
2012-06-12 20:44 SC, revision 71719Make wxMSW tree item unlocking reentrant. Handle creating nested TreeItemUnlocker objects correctly. This fixes the problem when a wxTreeCtrl method unlocking some item is called with another item is already unlocked, e.g. from a selection changed event handler. Closes #14400.
2012-06-12 02:23 SC, revision 71717support for native tlw parents, see #14252
2012-06-12 02:21 SC, revision 71716using callback for menu enabling, allows to benefit from system menu disabling eg for modal dialogs, see #14177
2012-06-10 19:09 RD, revision 71713setting source as this, according to thread '[wx-dev] Bug in wxMenuBarBase::UpdateMenus'
2012-06-10 13:57 VZ, revision 71712Fix compilation error
2012-06-08 21:26 RD, revision 71704Fix wxHTMLDataObject compilation and memory leaks. Use wxString::FromUTF8() and utf8_str() instead of directly using wxConvUTF8 as this is simpler and also works correctly in non-Unicode build (and more efficiently in UTF-8 build as no conversion is done there). Do not allocate -- and leak -- buffer in wxHTMLDataObject::GetDataHere(), we're supposed to be putting data into the caller-provided buffer instead of using our own. Closes #14391.
2012-06-08 21:26 RD, revision 71703Keep track of the area intended to be buffered, and use that in UnMask instead of defaulting to the buffer size. Only clip to the DC size if wxBUFFER_VIRTUAL_AREA is not set. This fixes the issue where buffering the full virtual area in a wxScrolledWindow would only draw an area the physical size of the window. Fixes #11612.
2012-06-08 20:44 VZ, revision 71702Add doc for SendAutoScrollEvents
2012-06-08 20:44 VZ, revision 71701Fix wxWindow::IsDescendant() to work with argument equal to this window. Passing the window itself as IsDescendant() argument for a top level window resulted in a NULL pointer dereference. Fix this and also simplify the function code by not using the parent window before checking it's !NULL. Closes #14387.
2012-06-08 20:44 VZ, revision 71700Use wxString::Clone() instead of c_str() in wxThreadEvent copy ctor. Creating a new wxString from c_str() of the old one resulted in dropping all string data after the first embedded NUL. Fix this by using Clone() method that exists specifically for this purpose. It also makes the code more clear. Closes #14380.
- M /wxWidgets/trunk/build/bakefiles/build_cfg.bkl
- M /wxWidgets/trunk/build/bakefiles/common.bkl
- M /wxWidgets/trunk/build/bakefiles/wx.bkl
2012-06-08 07:11 RD, revision 71693Use PLATFORM checks in bakefiles instead of TOOLKIT checks. No real changes as the output is currently the same for all supported PLATFORM/TOOLKIT combinations anyhow but prefer checking for PLATFORM to prepare for the support of GTK toolkit under MSW platform. Closes #14379.
2012-06-07 07:18 PC, revision 71685Interface fixes for Phoenix
- M /wxWidgets/trunk/src/gtk/app.cpp
- M /wxWidgets/trunk/src/gtk/button.cpp
- M /wxWidgets/trunk/src/gtk/checkbox.cpp
- M /wxWidgets/trunk/src/gtk/checklst.cpp
- M /wxWidgets/trunk/src/gtk/clipbrd.cpp
- M /wxWidgets/trunk/src/gtk/dataview.cpp
- M /wxWidgets/trunk/src/gtk/filectrl.cpp
- M /wxWidgets/trunk/src/gtk/listbox.cpp
- M /wxWidgets/trunk/src/gtk/menu.cpp
- M /wxWidgets/trunk/src/gtk/radiobox.cpp
- M /wxWidgets/trunk/src/gtk/region.cpp
- M /wxWidgets/trunk/src/gtk/spinctrl.cpp
- M /wxWidgets/trunk/src/gtk/textctrl.cpp
- M /wxWidgets/trunk/src/gtk/textentry.cpp
- M /wxWidgets/trunk/src/gtk/toplevel.cpp
- M /wxWidgets/trunk/src/gtk/window.cpp
- M /wxWidgets/trunk/src/msw/ole/uuid.cpp
2012-06-07 07:13 PC, revision 71684fix warnings about conversion to bool, closes #14381
2012-06-07 06:43 RD, revision 71683fix warnings about unreachable return statements
2012-06-07 06:43 RD, revision 71682Add export macro for wxTreeListEvent so the non-inline class info and things can be found where they're exepcted
2012-06-07 06:43 RD, revision 71681Interface fixes for Phoenix
2012-06-07 06:42 RD, revision 71680Add missing wxRichToolTip::SetTitleFont implementation.
2012-06-06 19:18 VS, revision 71665Interface fixes for Phoenix
2012-06-06 04:06 RD, revision 71664wxHtmlHelpWindow: Fix contents panel syncing with view. Simply opened page notification code. Fix it to really highlight the page currently visible, instead of the previous one. Fixes #14320.
2012-06-05 23:26 RD, revision 71653add missing public keyword for base class
2012-06-05 23:26 RD, revision 71652If there is a sizer then use it's calculated minimum in wxStaticBox::DoGetBestSize
2012-06-05 23:26 RD, revision 71651Interface fixes for Phoenix
2012-06-05 18:49 PC, revision 71648Interface fixes for Phoenix
2012-06-05 14:21 VZ, revision 71647Workaround for Ubuntu 12.04 run time warning "LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent." Avoid calling gtk_widget_destroy() on a wxMenuBar attached to a frame Fixes #14292
2012-06-05 14:12 VZ, revision 71646Don't give incorrect example in wxTextEntry::GetInsertionPoint() docs. Using the text control position as index in GetValue() is wrong in general, show the correct way of doing this. Closes #14372.
2012-06-04 19:36 PC, revision 71644Fix ribbon sample compilation after r71642. Add a missing header with declaration of wxMessageBox() for PCH-less compilation. Closes #14376.
2012-06-04 11:13 JS, revision 71643Fix layout of wxStaticText, and possibly other controls. GtkLabel perversely does not use its actual size to do layout, but will use its size request. So restore calling gtk_widget_set_size_request() for all widgets, which was removed in r71465. See #14374
2012-06-03 21:17 VZ, revision 71642Corrected collection of common attributes, for clashing font size units.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/ribbon/art.h
- M /wxWidgets/trunk/include/wx/ribbon/panel.h
- M /wxWidgets/trunk/interface/wx/ribbon/art.h
- M /wxWidgets/trunk/interface/wx/ribbon/panel.h
- M /wxWidgets/trunk/samples/ribbon/ribbondemo.cpp
- M /wxWidgets/trunk/src/ribbon/art_aui.cpp
- M /wxWidgets/trunk/src/ribbon/art_msw.cpp
- M /wxWidgets/trunk/src/ribbon/panel.cpp
2012-06-03 21:17 VZ, revision 71641Implement support for wxRIBBON_PANEL_EXT_BUTTON wxRibbonPanel style. Show the "extension button" in the ribbon panel if this style is specified. Also generate a specific event if this button is clicked. Closes #14283.
- M /wxWidgets/trunk/include/wx/ribbon/control.h
- M /wxWidgets/trunk/interface/wx/ribbon/control.h
- M /wxWidgets/trunk/src/ribbon/control.cpp
2012-06-03 21:16 VZ, revision 71640Add wxRibbonControl::GetAncestorRibbonBar() helper. New method allowing to find the ribbon bar containing the given window. See #14283.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/msw/helpchm.h
- M /wxWidgets/trunk/include/wx/msw/private.h
- M /wxWidgets/trunk/src/msw/accel.cpp
- M /wxWidgets/trunk/src/msw/anybutton.cpp
- M /wxWidgets/trunk/src/msw/app.cpp
- M /wxWidgets/trunk/src/msw/calctrl.cpp
- M /wxWidgets/trunk/src/msw/checkbox.cpp
- M /wxWidgets/trunk/src/msw/choice.cpp
- M /wxWidgets/trunk/src/msw/colordlg.cpp
- M /wxWidgets/trunk/src/msw/combobox.cpp
- M /wxWidgets/trunk/src/msw/commandlinkbutton.cpp
- M /wxWidgets/trunk/src/msw/control.cpp
- M /wxWidgets/trunk/src/msw/dc.cpp
- M /wxWidgets/trunk/src/msw/dcprint.cpp
- M /wxWidgets/trunk/src/msw/dirdlg.cpp
- M /wxWidgets/trunk/src/msw/display.cpp
- M /wxWidgets/trunk/src/msw/enhmeta.cpp
- M /wxWidgets/trunk/src/msw/fdrepdlg.cpp
- M /wxWidgets/trunk/src/msw/filedlg.cpp
- M /wxWidgets/trunk/src/msw/fontenum.cpp
- M /wxWidgets/trunk/src/msw/gdiimage.cpp
- M /wxWidgets/trunk/src/msw/headerctrl.cpp
- M /wxWidgets/trunk/src/msw/helpchm.cpp
- M /wxWidgets/trunk/src/msw/helpwin.cpp
- M /wxWidgets/trunk/src/msw/iniconf.cpp
- M /wxWidgets/trunk/src/msw/listbox.cpp
- M /wxWidgets/trunk/src/msw/listctrl.cpp
- M /wxWidgets/trunk/src/msw/main.cpp
- M /wxWidgets/trunk/src/msw/mdi.cpp
- M /wxWidgets/trunk/src/msw/menu.cpp
- M /wxWidgets/trunk/src/msw/menuitem.cpp
- M /wxWidgets/trunk/src/msw/metafile.cpp
- M /wxWidgets/trunk/src/msw/msgdlg.cpp
- M /wxWidgets/trunk/src/msw/notebook.cpp
- M /wxWidgets/trunk/src/msw/ole/dataobj.cpp
- M /wxWidgets/trunk/src/msw/ownerdrw.cpp
- M /wxWidgets/trunk/src/msw/printdlg.cpp
- M /wxWidgets/trunk/src/msw/progdlg.cpp
- M /wxWidgets/trunk/src/msw/radiobox.cpp
- M /wxWidgets/trunk/src/msw/registry.cpp
- M /wxWidgets/trunk/src/msw/richmsgdlg.cpp
- M /wxWidgets/trunk/src/msw/slider.cpp
- M /wxWidgets/trunk/src/msw/spinctrl.cpp
- M /wxWidgets/trunk/src/msw/statbox.cpp
- M /wxWidgets/trunk/src/msw/statusbar.cpp
- M /wxWidgets/trunk/src/msw/taskbar.cpp
- M /wxWidgets/trunk/src/msw/textctrl.cpp
- M /wxWidgets/trunk/src/msw/textentry.cpp
- M /wxWidgets/trunk/src/msw/toolbar.cpp
- M /wxWidgets/trunk/src/msw/tooltip.cpp
- M /wxWidgets/trunk/src/msw/toplevel.cpp
- M /wxWidgets/trunk/src/msw/treectrl.cpp
- M /wxWidgets/trunk/src/msw/utils.cpp
- M /wxWidgets/trunk/src/msw/utilsgui.cpp
- M /wxWidgets/trunk/src/msw/volume.cpp
- M /wxWidgets/trunk/src/msw/wince/tbarwce.cpp
- M /wxWidgets/trunk/src/msw/window.cpp
2012-06-03 19:41 SJL, revision 71639Use wxString::t_str() in calls to Windows API functions in wxMSW. Use t_str() instead of wx_str() to make the code work correctly in UTF-8 build in which wx_str() returns a pointer to UTF-8 buffer while we need a wchar_t pointer for Windows. Closes #14371.
- M /wxWidgets/trunk/include/wx/msw/private/comptr.h
- M /wxWidgets/trunk/include/wx/msw/webview_ie.h
- M /wxWidgets/trunk/src/msw/webview_ie.cpp
2012-06-02 00:34 VZ, revision 71638Use wxCOMPtr throughout wxWebViewIE to simplify the code and reduce the chance of memory leaks. Also mark PPV_ARGS_CHECK as inline so it can be used from multiple libraries.
2012-06-02 00:34 VZ, revision 71637Add support for MSVC 11 (a.k.a. MSVS 2012) to MSVC-specific setup.h. Use vc110 prefix for VC11. Closes #14366.
2012-06-02 00:34 VZ, revision 71636Clear old selection when wxListBox becomes empty. When UpdateOldSelections() is called from wxListBox::DoClear(), it must clear the old selections array even for single selection list boxes, but it didn't do this under non-MSW platforms. Specifically check for the case of an empty listbox now and just forget the old selections then. This fixes the problem of keeping stale old selections and is also more efficient as we avoid the unnecessary GetSelections() call. Really closes #14359.
- M /wxWidgets/trunk/include/wx/msw/private.h
- M /wxWidgets/trunk/src/msw/dde.cpp
- M /wxWidgets/trunk/src/msw/registry.cpp
- M /wxWidgets/trunk/src/msw/utilsexc.cpp
2012-06-01 18:21 VZ, revision 71635Add wxMSW_CONV_LPCTSTR() and related macros and use them in wxBase. Add macros hiding the ugly casts needed to pass wxStrings to Windows API functions and use them in a couple of places in wxBase to simplify the code. Closes #14338.
2012-06-01 18:21 VZ, revision 71634Disable wxUIActionSimulator wxGrid tests using mouse under wxGTK. Something is seriously wrong with simulated mouse events and wxGrid under wxGTK, they seem to simply disappear sometimes. This results in unit tests suite failure, so disable these tests for the next release as I just don't understand how to fix them.
- M /wxWidgets/trunk/tests/controls/listbasetest.cpp
- M /wxWidgets/trunk/tests/test.cpp
- M /wxWidgets/trunk/tests/testprec.h
- M /wxWidgets/trunk/tests/validators/valnum.cpp
2012-06-01 18:21 VZ, revision 71633Add IsAutomaticTest() function to the unit tests. This allows to easily test if we're running on a buildbot slave and disable some difficult to debug test failures there.
2012-06-01 17:25 VZ, revision 71632Use printf() instead of wxPrintf() in cppunit details listener. Wide char output from wxPrintf() didn't appear at all under Linux because stdout was switched into narrow stream mode by GNU libc due to initial use of cout in the test. Use printf() instead of wxPrintf() as we are only printing ASCII strings anyhow. Of course, this is not a real fix but at least we can see the tests results like this.
2012-06-01 17:25 VZ, revision 71631Compilation fix to wxWebView under wxOSX/Carbon after r71620. wxWindow::m_peer is private, use GetPeer() to access it. See #14352.
2012-06-01 13:01 VZ, revision 71630Fix wxWebKitCtrl::RunScript() return value. Replace comparisons of the type name of the returned value with isKindOfClass: checks which are more reliable. Closes #14358.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/fontenc.h
- M /wxWidgets/trunk/interface/wx/font.h
- M /wxWidgets/trunk/src/common/fmapbase.cpp
- M /wxWidgets/trunk/src/common/fontmap.cpp
- M /wxWidgets/trunk/src/msw/fontutil.cpp
2012-06-01 13:01 VZ, revision 71629Add support for CP1258 (Vietnamese) and CP1361 (Korean Johab) encodings. Recognize these encodings names and translate them to/from the corresponding charset constants in wxMSW.
2012-06-01 13:01 VZ, revision 71628Use "GBK" as alternative name for CP936 encoding. This is the official name of this encoding, so recognize it as synonym. See #14360.
2012-06-01 13:01 VZ, revision 71627Use float instead of double division in wxHashMap code. We don't need double precision for determining the hash table fill rate and using double constant also results in float-to-double promotion warnings from gcc 4.7. See #14362.
2012-06-01 13:01 VZ, revision 71626Keep user-set wxFrame background color even if MSW system background changes. Don't override wxFrame background colour when the system background colour changes if it was explicitly set by the user. Closes #14364.
2012-06-01 13:01 VZ, revision 71625Update old selections after clearing wxListBox in wxGTK. Don't keep stale selected item indices in m_oldSelections after clearing the listbox, call UpdateOldSelections() from DoClear() in wxGTK just as we do in the other ports. Closes #14359.
- M /wxWidgets/trunk/include/wx/xtihandler.h
- M /wxWidgets/trunk/include/wx/xtiprop.h
- M /wxWidgets/trunk/src/common/dynload.cpp
- M /wxWidgets/trunk/src/common/mediactrlcmn.cpp
- M /wxWidgets/trunk/src/common/module.cpp
- M /wxWidgets/trunk/src/generic/imaglist.cpp
- M /wxWidgets/trunk/src/generic/listctrl.cpp
- M /wxWidgets/trunk/src/generic/tabg.cpp
- M /wxWidgets/trunk/src/gtk/print.cpp
- M /wxWidgets/trunk/src/msw/statbmp.cpp
- M /wxWidgets/trunk/src/msw/treectrl.cpp
- M /wxWidgets/trunk/src/propgrid/manager.cpp
- M /wxWidgets/trunk/src/propgrid/property.cpp
- M /wxWidgets/trunk/src/propgrid/propgrid.cpp
- M /wxWidgets/trunk/src/propgrid/props.cpp
- M /wxWidgets/trunk/src/richtext/richtextbuffer.cpp
- M /wxWidgets/trunk/src/richtext/richtextstyles.cpp
2012-06-01 13:01 VZ, revision 71624Use wxCLASSINFO() instead of deprecated CLASSINFO(). No real changes, just use the version of the macro with a "wx" prefix. Closes #14356.
- M /wxWidgets/trunk/src/aui/auibook.cpp
- M /wxWidgets/trunk/src/aui/framemanager.cpp
- M /wxWidgets/trunk/src/common/combocmn.cpp
- M /wxWidgets/trunk/src/common/fs_arc.cpp
- M /wxWidgets/trunk/src/common/sckipc.cpp
- M /wxWidgets/trunk/src/common/utilscmn.cpp
- M /wxWidgets/trunk/src/common/valgen.cpp
- M /wxWidgets/trunk/src/common/valtext.cpp
- M /wxWidgets/trunk/src/common/wincmn.cpp
- M /wxWidgets/trunk/src/generic/dragimgg.cpp
- M /wxWidgets/trunk/src/generic/laywin.cpp
- M /wxWidgets/trunk/src/generic/logg.cpp
- M /wxWidgets/trunk/src/generic/odcombo.cpp
- M /wxWidgets/trunk/src/generic/sashwin.cpp
- M /wxWidgets/trunk/src/gtk/renderer.cpp
- M /wxWidgets/trunk/src/html/helpfrm.cpp
- M /wxWidgets/trunk/src/msw/dragimag.cpp
- M /wxWidgets/trunk/src/msw/listctrl.cpp
- M /wxWidgets/trunk/src/msw/mdi.cpp
- M /wxWidgets/trunk/src/msw/window.cpp
- M /wxWidgets/trunk/src/propgrid/advprops.cpp
- M /wxWidgets/trunk/src/propgrid/editors.cpp
- M /wxWidgets/trunk/src/propgrid/propgrid.cpp
- M /wxWidgets/trunk/src/propgrid/props.cpp
- M /wxWidgets/trunk/src/richtext/richtextbuffer.cpp
- M /wxWidgets/trunk/src/richtext/richtextctrl.cpp
- M /wxWidgets/trunk/src/richtext/richtextformatdlg.cpp
- M /wxWidgets/trunk/src/richtext/richtextstyledlg.cpp
- M /wxWidgets/trunk/src/richtext/richtextstylepage.cpp
2012-06-01 13:01 VZ, revision 71623Use wxDynamicCast() instead of IsKindOf() checks. wxDynamicCast() is less verbose (due to the absence of "CLASSINFO") and more compatible with the standard dynamic_cast<>, so prefer to use it when possible. See #14356.
2012-06-01 13:01 VZ, revision 71622Remove unneeded dynamic cast in wxPropertyGrid. It's completely useless to check that an object is of its own statically declared type as this is always true, simply don't do it.
2012-06-01 13:01 VZ, revision 71621Remove unnecessary dynamic cast in wxComboPopupWindow. Objects of this type are either always of wxPopupTransientWindow type, in which case just a static_cast<> is enough and we don't need a dynamic one, or is never of its type in which case this code shouldn't be compiled and if it is, then static_cast<> will correctly fail preventing it from compiling.
2012-06-01 13:01 VZ, revision 71620Don't reset previous window event handler in PopEventHandler(). This is harmless but also useless as the previous event handler of a wxWindow is always NULL anyhow, so simply don't do this. This is consistent with PushEventHandler() which doesn't call SetPreviousHandler() for the window itself neither. Closes #14353.
2012-06-01 13:00 VZ, revision 71619Fix wxMac preprocessor check in wxWebView code. Fix typo in "__WXMAC__" in wxWebView under wxOSX/Carbon and also in wxWebKitCtrl from where this code was copied. Closes #14352.
2012-05-31 18:29 PC, revision 71616No changes, just refactor wxGrid::Render() to simplify it. Introduce a couple of new helpers to make the main Render() function smaller and more clear. Closes #14347.
2012-05-31 18:28 PC, revision 71615silence warning about converting NULL to wxUIntPtr
2012-05-30 21:21 RD, revision 71610silence warning about __WXMSW__ not defined
- M /wxWidgets/trunk/include/wx/dataobj.h
- M /wxWidgets/trunk/interface/wx/dataobj.h
- M /wxWidgets/trunk/src/common/dobjcmn.cpp
- M /wxWidgets/trunk/src/gtk/dataobj.cpp
- M /wxWidgets/trunk/src/msw/clipbrd.cpp
- M /wxWidgets/trunk/src/msw/ole/dataobj.cpp
- M /wxWidgets/trunk/src/osx/carbon/dataobj.cpp
2012-05-30 06:20 SC, revision 71604A patch adding wxHTMLDataObject which can be used for handling the standard platform formats for transfering HTML formatted text.
2012-05-30 05:13 RD, revision 71595fixing build with wxUSE_PROTOCOL = 1 and wxUSE_SOCKETS = 0
2012-05-30 05:13 RD, revision 71594Adjust the client area origin and the client size of the MSW wxStaticBox according to the guidelines on http://msdn.microsoft.com/en-us/library/aa511279.aspx. This is so widgets that are children of the static box will not overlap the label or box borders.
- M /wxWidgets/trunk/interface/wx/frame.h
- M /wxWidgets/trunk/interface/wx/laywin.h
- M /wxWidgets/trunk/interface/wx/sashwin.h
2012-05-29 17:26 SC, revision 71588Interface fixes for Phoenix
2012-05-29 17:24 SC, revision 71587adapting char event handling to msw / gtk, see #13415, see #14197
2012-05-29 17:18 SC, revision 71586clang compat.
2012-05-28 21:38 VZ, revision 71579clang compat.
2012-05-28 14:52 VZ, revision 71578Improve wxDatePickerCtrlGeneric best size calculation. Make the control just wide enough to fully show the contents of its text part. This is still not ideal as we don't take into account wxComboCtrl internal complications but better than before. Closes #14342.
2012-05-27 15:00 VZ, revision 71577Fix bug in wxAutomationObject introduced by r71574. Check that we have any arguments, expression oleArgs[0] is invalid otherwise. Closes #14343.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/generic/grid.h
- M /wxWidgets/trunk/interface/wx/grid.h
- M /wxWidgets/trunk/samples/grid/griddemo.cpp
- M /wxWidgets/trunk/samples/grid/griddemo.h
- M /wxWidgets/trunk/src/generic/grid.cpp
2012-05-27 15:00 VZ, revision 71576Add wxGrid::Render() for drawing the grid to any wxDC. In particular, this allows to print the grid contents easily. Closes #14294.
2012-05-27 15:00 VZ, revision 71575Add wxGrid::DrawRangeGridLines(). This method draws only the grid lines for the cells in the specified range and not for all of them. It is not used yet but will be by the upcoming wxGrid::Render(), see #14294.
2012-05-27 15:00 VZ, revision 71574No changes, just refactor wxGrid::DrawAllGridLines(). Extract the actual drawing of the lines into a new DoDrawGridLines() method. This will be used by the upcoming commits for drawing grid lines for a part of the grid only, see #14294.
2012-05-26 16:17 JS, revision 71572Fix memory leaks in wxAutomationObject::Invoke(). Use wxVector<>, wxBasicString and wxOleVariantArg instead of raw arrays, BSTR and VARIANT to ensure that different objects allocated by this function are always freed when it exits. Closes #14293.
- M /wxWidgets/trunk/include/wx/richtext/richtextctrl.h
- M /wxWidgets/trunk/interface/wx/richtext/richtextctrl.h
- M /wxWidgets/trunk/src/richtext/richtextbuffer.cpp
- M /wxWidgets/trunk/src/richtext/richtextctrl.cpp
2012-05-26 14:29 VZ, revision 71571Added full scaling to wxRTC
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/dynload.h
- M /wxWidgets/trunk/src/common/dynload.cpp
2012-05-26 14:29 VZ, revision 71570Fix bug with unloading wxPluginLibrary objects in "wrong" order. wxPluginLibrary objects had to be unloaded in exactly the reverse order to which they were loaded in. This was not documented and was a serious limitation for any realistic use of plugins anyhow, so fix it and allow unloading them in any order now. Instead of keeping a pointer to the last wxClassInfo not created by this plugin, now keep a pointer to the first wxClassInfo that was created by it. This makes the code slightly more complex but this pointer, unlike the old one, remains valid even if another plugin was unloaded. Closes #14261.
2012-05-26 14:29 VZ, revision 71569Refactor SAFEARRAY creation code in wxConvertStringFromOle(). No changes, just make the code simpler and more obviously correct by using a helper class to create and fill the SAFEARRAY that we create. Closes #14296.
2012-05-26 14:29 VZ, revision 71568Fix DrawChoice() behaviour in wxRendererXP. The implementation of wxRendererXP::DrawChoice() inadvertently used wxRendererMSW::DrawComboBoxDropButton() and so drew the button in the classic and not themed style. Fix this by defining DrawChoice() in the base wxRendererMSWBase class and reusing it in wxRendererXP via inheritance and not composition. Closes #14337.
- M /wxWidgets/trunk/build/bakefiles/files.bkl
- M /wxWidgets/trunk/build/msw/wx_net.dsp
- M /wxWidgets/trunk/build/msw/wx_vc7_net.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc8_net.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc9_net.vcproj
- M /wxWidgets/trunk/Makefile.in
2012-05-26 14:29 VZ, revision 71567Remove private headers from files.bkl. Private headers are not supposed to be installed because they are only use when building wxWidgets itself, so don't list them in files.bkl.
- M /wxWidgets/trunk/build/bakefiles/files.bkl
- A /wxWidgets/trunk/include/wx/osx/core/objcid.h
- D /wxWidgets/trunk/include/wx/osx/private/objcid.h
- M /wxWidgets/trunk/include/wx/osx/webviewhistoryitem_webkit.h
- M /wxWidgets/trunk/include/wx/osx/webview_webkit.h
- M /wxWidgets/trunk/Makefile.in
2012-05-25 19:02 VZ, revision 71563Move include/wx/osx/private/objcid.h to include/wx/osx/core. This header is used by public headers and hence is not really private, move it to a better place and add it to the list of OSX headers in the bakefile. Closes #14339.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/dataview.h
- M /wxWidgets/trunk/interface/wx/dataview.h
- M /wxWidgets/trunk/src/common/datavcmn.cpp
2012-05-25 19:02 VZ, revision 71562Add wxDataViewListCtrl::GetItemCount(). This method is convenient and (almost, except for the return value) compatible with wxListCtrl. See #11088.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/dataview.h
- M /wxWidgets/trunk/interface/wx/dataview.h
- M /wxWidgets/trunk/src/common/datavcmn.cpp
2012-05-25 19:02 VZ, revision 71561Add wxDataViewListCtrl::{Set,Get}ItemData() methods. These methods are convenient when migrating the code that previously used wxListCtrl to wxDataViewCtrl. Closes #11088.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/dataview.h
- M /wxWidgets/trunk/interface/wx/dataview.h
- M /wxWidgets/trunk/src/common/datavcmn.cpp
2012-05-25 11:48 VZ, revision 71560Use wxUIntPtr instead of wxClientData in wxDataViewListCtrl. Do not delete the client data in wxDataViewListCtrl, this class mainly exists for compatibility with wxListCtrl and as the latter doesn't delete its client data, neither should the former. See #11088.
2012-05-25 11:48 VZ, revision 71559Remove redundant wxAuiNotebook methods already present in wxBookCtrlBase. wxAuiNotebook already inherits perfectly workable AdvanceSelection() and GetCurrentPage() methods from wxBookCtrlBase, no need to reimplement them in it. See #14309.
2012-05-25 11:48 VZ, revision 71558Don't send a huge number of unneeded wxChildFocusEvents. wxControlContainer::SetLastFocus() propagated wxChildFocusEvent explicitly to its parent but this is not needed because wxChildFocusEvents propagate by default, being derived from wxCommandEvent. And doing it again resulted in the total number of events increasing exponentially with the depth of the window hierarchy and real performance problems due to processing all of them. Closes #14310.
2012-05-25 11:48 VZ, revision 71557Suppress warnings about gnome_print_dialog_get_range() return type. This function seems to be declared incorrectly and while it actually does return the values we compare its return value with, it's prototyped with a wrong enum as return type, so explicitly cast it to int to avoid warnings from recent g++ versions. See http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/115782/focus=115955
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/stc/stc.h
- M /wxWidgets/trunk/src/stc/stc.h.in
2012-05-25 11:48 VZ, revision 71556Fully implement wxStyledTextCtrl::PositionToXY(). Fill in the column parameter too now. Closes #14332.
2012-05-25 11:48 VZ, revision 71555Fix calculation of wxStyledTextCtrl selection size in GetSelectedText(). Do the same changes as were done in r71540 to GetSelectedTextRaw() in GetSelectedText() itself by modifying the code in gen_iface.py that generates it. Closes #14331.
- M /wxWidgets/trunk/include/wx/affinematrix2d.h
- M /wxWidgets/trunk/interface/wx/affinematrix2d.h
- M /wxWidgets/trunk/interface/wx/affinematrix2dbase.h
- M /wxWidgets/trunk/interface/wx/graphics.h
- M /wxWidgets/trunk/src/common/affinematrix2d.cpp
- M /wxWidgets/trunk/tests/graphics/affinematrix.cpp
2012-05-25 01:26 RD, revision 71549Several fixes for wxAffineMatrix2D transformations. Correct errors in TransformPoint() and TransformDistance(). Change Rotate() to interpret positive angles as rotating clockwise, for consistency with wxGraphicsContext::Rotate(). Improve the unit test to verify that all the transformations work correctly. Closes #14334.
- M /wxWidgets/trunk/build/tools/build-wxwidgets.py
- M /wxWidgets/trunk/build/tools/builder.py
- M /wxWidgets/trunk/src/stc/gen_iface.py
2012-05-25 01:26 RD, revision 71548Changes to allow these build scripts to use python3
2012-05-25 01:21 VZ, revision 71547Interface fixes for Phoenix
2012-05-23 23:16 VZ, revision 71546Document that SetFocus() can't be called from EVT_KILL_FOCUS handler. Also explain how to use wxIdleEvent for "delated action". See #14335.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/src/common/appbase.cpp
- M /wxWidgets/trunk/src/common/strvararg.cpp
- M /wxWidgets/trunk/src/msw/crashrpt.cpp
- M /wxWidgets/trunk/src/msw/dde.cpp
- M /wxWidgets/trunk/src/msw/debughlp.cpp
- M /wxWidgets/trunk/src/msw/registry.cpp
- M /wxWidgets/trunk/src/msw/utils.cpp
- M /wxWidgets/trunk/src/msw/utilsexc.cpp
- M /wxWidgets/trunk/src/msw/volume.cpp
2012-05-23 23:16 VZ, revision 71545Fix wxBase compilation with UTF-8-based wxString under MSW. Use wxString::t_str() instead of wx_str() in Windows API function calls. Closes #14325.
2012-05-23 23:16 VZ, revision 71544Don't use wxCHECK_W32API_VERSION() in #if when it can be undefined. wxCHECK_W32API_VERSION() is only defined when using MinGW, don't use it an #if test which is always parsed but only in a separate test inside #ifdef __GNUG__ test which is parsed only when we do use MinGW. This fixes harmless but annoying warning from MSVC 10.
2012-05-23 23:16 VZ, revision 71543No real changes, just slightly simplify HasAppKit_10_6() function. Remove redundant check for version == -1. See #13831.
2012-05-23 23:16 VZ, revision 71542Compilation fix for wxUSE_STL && !wxUSE_STL_BASED_WXSTRING build. Don't rely on implicit wxString to "const char*" conversion in Replace(). Closes #14327.
2012-05-23 23:16 VZ, revision 71541Document that wxClipboard::Flush() is not implemented in wxGTK. See #10515.
2012-05-23 23:16 VZ, revision 71540Document "raw control" use with accelerators. Mention it in the places where the other accelerator prefixes are documented. See #13496.
2012-05-23 23:16 VZ, revision 71539Fix calculation of the wxStyledTextCtrl selection size. Use SCI_GETSELTEXT to compute the size of the buffer instead of doing it ourselves, especially as we do it incorrectly in case of rectangular selection. Closes #14331.
2012-05-23 22:36 VZ, revision 71538No real changes, just backwards propagate the changes to stc.cpp. Apply the changes done directly to stc.cpp in r71428 and r71429 to the script generating this code.
2012-05-22 09:37 JJ, revision 71535Fix removing event handler filters in wxEvtHandler. Removal from the simply linked list of event filters wasn't done correctly as the pointer to the previous node was never updated.
2012-05-22 02:17 RD, revision 71525Fix compilation when wxUSE_DRAG_AND_DROP=0
2012-05-21 10:39 JJ, revision 71521Interface fixes for Phoenix
2012-05-21 10:31 JJ, revision 71520Allow for compilation with wxUSE_TOOLTIPS=0
2012-05-20 23:58 RD, revision 71519Add aui-capability top wxMOTIF for OpenVMS
2012-05-20 22:29 VZ, revision 71518Interface fixes for Phoenix
2012-05-20 22:29 VZ, revision 71517Fix 62 harmless but annoying Clang warnings in wxOSX build. Clang warns about using letters and digits in a switch on wxKeyCode enum which doesn't include them as elements. This is generally useful but really annoying in this case, especially due to the sheer number of warnings, so disable it using Clang-specific pragma.
- A /wxWidgets/trunk/include/wx/osx/private/objcid.h
- M /wxWidgets/trunk/include/wx/osx/webviewhistoryitem_webkit.h
- M /wxWidgets/trunk/include/wx/osx/webview_webkit.h
2012-05-20 22:29 VZ, revision 71516Use wxObjCID instead of "struct objc_object*" to fix clang build. Clang doesn't accept "struct objc_object*" as synonym for "id" in Objective-C code, so use the real "id" for it while still using the struct pointer for C++ code where "id" is not defined. Closes #13565.
2012-05-20 22:29 VZ, revision 71515Add support for task bar icon tooltips to wxOSX version. Set the tooltip used for the icon in wxOSX/Cocoa version of wxTaskBarIcon. Closes #14298.
2012-05-20 22:29 VZ, revision 71514Improve check for OS X version in Cocoa wxFileDialog implementation. A library using wxWidgets linked with 10.6 SDK might be loaded into an application loading 10.5 version of AppKit in which case 10.6-specific functions shouldn't be used. Check for the AppKit version effectively in use instead of just checking for the system version. Closes #13831.
2012-05-20 22:29 VZ, revision 71513Reset wxDialog::m_modality sooner in wxOSX. Change the internal flag to wxDIALOG_MODALITY_NONE before sending wxEVT_WINDOW_MODAL_DIALOG_CLOSED event. This ensures that if the dialog is shown again from this event handler it works correctly. Closes #13951.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/osx/chkconf.h
- M /wxWidgets/trunk/src/unix/stackwalk.cpp
2012-05-20 22:29 VZ, revision 71512Implement wxStackWalker for wxOSX. Use atos(1) to map address to their symbolic names. Closes #10067.
2012-05-20 22:29 VZ, revision 71511Fix menu sample compilation under wxOSX. Include copy.xpm under all platforms as all of them support (even though without necessarily implementing it) wxMenuItem::SetBitmap() now.
2012-05-20 21:47 VZ, revision 71510Fix crash on destruction of wxDataViewCtrl in wxOSX. The control remained associated to the model so a dangling pointer could be used if the model was destroyed after the control. Fix this by removing the control from the model list of notifiers when it is destroyed. Closes #14124.
2012-05-20 15:08 VZ, revision 71509Really fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case. Fix the fix of r71502, we need the variable declaration when not using HAVE_VARIADIC_MACROS.
2012-05-20 15:06 JS, revision 71508Remove non-existent section from Unicode overview TOC. This section is now just a subsection, don't list it in the table of contents.
2012-05-20 15:04 VZ, revision 71507Don't use deprecated font family style
2012-05-20 14:30 VZ, revision 71506Compilation fix for wxRichTextCtrl. Don't use wxDEFAULT, there is no match for wxFont ctor taking wxSize and it, use wxFONTFAMILY_DEFAULT instead. Also remove the unnecessary .c_str() from the same wxFont ctor call, there is really no reason at all to have it there.
2012-05-20 14:25 JS, revision 71505Fix harmless warning from g++ 4.8 in C11 mode. g++ 4.8 recognizes "cpu" in WX_CC_MANIFEST expansion as a user-defined literal suffix, add spaces around it to prevent this from happening.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/richtext/richtextbuffer.h
- M /wxWidgets/trunk/include/wx/richtext/richtextctrl.h
- M /wxWidgets/trunk/include/wx/richtext/richtextfontpage.h
- M /wxWidgets/trunk/include/wx/richtext/richtextformatdlg.h
- M /wxWidgets/trunk/include/wx/richtext/richtextstyles.h
- M /wxWidgets/trunk/include/wx/textctrl.h
- M /wxWidgets/trunk/interface/wx/richtext/richtextbuffer.h
- M /wxWidgets/trunk/interface/wx/richtext/richtextctrl.h
- M /wxWidgets/trunk/interface/wx/richtext/richtextformatdlg.h
- M /wxWidgets/trunk/interface/wx/textctrl.h
- M /wxWidgets/trunk/samples/richtext/richtext.cpp
- M /wxWidgets/trunk/src/common/textcmn.cpp
- M /wxWidgets/trunk/src/richtext/richtextbuffer.cpp
- M /wxWidgets/trunk/src/richtext/richtextctrl.cpp
- M /wxWidgets/trunk/src/richtext/richtextdialogs.pjd
- M /wxWidgets/trunk/src/richtext/richtextfontpage.cpp
- M /wxWidgets/trunk/src/richtext/richtextformatdlg.cpp
- M /wxWidgets/trunk/src/richtext/richtextstyles.cpp
- M /wxWidgets/trunk/src/richtext/richtextxml.cpp
2012-05-19 18:49 VZ, revision 71502Added pixel size capability to wxTextAttr and wxRichTextCtrl. Fixed composite object positioning in centred and right-aligned paragraphs. Added field example to sample, and enabled pixel font size selection. Added custom text and dimension scaling.
2012-05-19 18:49 VZ, revision 71501Fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case. Define the "unused" variable unless wxLogDebug() calls are variadic macros (not evaluating their arguments at all) and not functions. Fixes compilation broken since r71466.
2012-05-19 16:24 SC, revision 71500Fix compilation in wxUSE_STL=1 build after r71467. Restore explicit conversion of wxString to char*, there is no implicit conversion in wxUSE_STL build. Use utf8_str() instead of c_str() removed by r71467 however as this is what we need for wxGTK.
2012-05-19 15:17 SC, revision 71499removing unnecessary - and incorrect - override, fixes #14319
2012-05-19 08:33 SC, revision 71498adjusting min requirements
2012-05-19 08:21 RD, revision 71493fixes #14318
2012-05-19 08:21 RD, revision 71492Add interface and simple docs doe wxOverlay and wxDCOverlay.
2012-05-19 08:21 RD, revision 71491Add some missing setters for wxRect.
2012-05-18 21:54 RD, revision 71483Interface fixes for Phoenix
2012-05-18 21:54 RD, revision 7148210.5 is the minimum SDK for both OSX ports now
2012-05-18 13:09 SC, revision 71481Interface fixes for Phoenix
2012-05-18 12:35 SC, revision 71480fixing c++11 build
2012-05-18 12:34 SC, revision 71479fixing c++11 build
2012-05-18 11:56 SC, revision 71478fixing c++11 build
2012-05-18 11:56 SC, revision 71477fixing c++11 build
2012-05-17 18:10 VZ, revision 71470fixing c++11 build
2012-05-17 18:10 VZ, revision 71469Improve wxDir::Traverse() documentation. It didn't describe wxDIR_FILES correctly and didn't mention OnOpenError().
2012-05-17 17:46 PC, revision 71468Fix wrong format specifiers in the samples. Use "%ld" instead of "%d" to format long values, using "%d" results in an assert failure under LP64 systems as int and long have different sizes there. Closes #14311.
- M /wxWidgets/trunk/src/generic/graphicc.cpp
- M /wxWidgets/trunk/src/msw/graphics.cpp
- M /wxWidgets/trunk/src/osx/carbon/graphics.cpp
2012-05-17 17:46 PC, revision 71467mark virtual overrides as virtual
- M /wxWidgets/trunk/src/gtk/filectrl.cpp
- M /wxWidgets/trunk/src/gtk/taskbar.cpp
- M /wxWidgets/trunk/src/gtk/utilsgtk.cpp
2012-05-17 17:45 PC, revision 71466remove some unnecessary c_str() calls
2012-05-17 17:29 PC, revision 71465eliminate unused variable warning with wxUSE_LOG_DEBUG==0
- M /wxWidgets/trunk/include/wx/gtk/filepicker.h
- M /wxWidgets/trunk/include/wx/gtk/infobar.h
- M /wxWidgets/trunk/include/wx/gtk/private/win_gtk.h
- M /wxWidgets/trunk/include/wx/gtk/window.h
- M /wxWidgets/trunk/src/gtk/filedlg.cpp
- M /wxWidgets/trunk/src/gtk/frame.cpp
- M /wxWidgets/trunk/src/gtk/mdi.cpp
- M /wxWidgets/trunk/src/gtk/minifram.cpp
- M /wxWidgets/trunk/src/gtk/toolbar.cpp
- M /wxWidgets/trunk/src/gtk/toplevel.cpp
- M /wxWidgets/trunk/src/gtk/window.cpp
- M /wxWidgets/trunk/src/gtk/win_gtk.cpp
2012-05-17 04:47 RD, revision 71459Remove use of "size-request" signal for wxWindow sizing. This signal has been removed from GTK3. Instead have wxPizza keep track of child size, and use gtk_widget_set_size_request() for wxWindows in native containers.
2012-05-16 17:10 VZ, revision 71443Interface fixes for Phoenix
2012-05-16 17:10 VZ, revision 71442Make variable containing port number an ushort in the sockets sample. A port number is an unsigned short, not long, so don't make it long just because wxCmdLineParser doesn't provide a convenient way to get the value of an unsigned short option (it would be nice if it did...). This fixes the problem with using "%d" format specifier with a long variable as this resulted in an assert under LP64 systems. See #14311.
2012-05-16 15:24 VZ, revision 71441Fix wxWakeUpIdle() in Unix console application broken by r71089. Initialize m_pipeIsEmpty to true as we don't have anything in the pipe initially and if this variable was false, nothing was ever written to the wake up pipe and it was never set to true as nothing was read from it neither. Closes #14166.
2012-05-16 12:59 JS, revision 71440Don't use printf() with non-literal string as format. Replace calls to printf() with puts() in the typetest sample. See #14311.
- M /wxWidgets/trunk/include/wx/richtext/richtextbuffer.h
- M /wxWidgets/trunk/include/wx/richtext/richtextsizepage.h
- M /wxWidgets/trunk/interface/wx/richtext/richtextbuffer.h
- M /wxWidgets/trunk/src/richtext/richtextdialogs.pjd
- M /wxWidgets/trunk/src/richtext/richtextsizepage.cpp
2012-05-15 12:04 VZ, revision 71439The object size page now has full position attribute editing.
2012-05-15 12:04 VZ, revision 71438Fix pasting large amounts of text in wxGTK. We need to process GDK_PROPERTY_NOTIFY events when yielding for wxEVT_CATEGORY_CLIPBOARD, otherwise we never receive large selections. As GDK_PROPERTY_NOTIFY can be also used for non-clipboard stuff, exceptionally assign 2 categories to it and process it in either case. Closes #14284.
2012-05-15 12:04 VZ, revision 71437Correct the documentation of wxSpinCtrl initial and value arguments. It does make sense to specify "initial" if "value" is empty. See #13589.
2012-05-15 12:04 VZ, revision 71436Add support for wxArrayString to wxVariant-to-OLE conversion. This allows to call COM methods taking arrays of strings easily. Also remove support for the old and non-existent any more "stringlist" variant type. And add more error checking. Closes #14296.
2012-05-15 12:03 VZ, revision 71435Enable variadic macros for VC9 and later. VC9 and 10 support variadic macros so define HAVE_VARIADIC_MACROS for them too. This currently only affects wxLog{Debug,Trace} definitions in wx/log.h.
- M /wxWidgets/trunk/include/wx/choicebk.h
- M /wxWidgets/trunk/include/wx/listbook.h
- M /wxWidgets/trunk/include/wx/toolbook.h
- M /wxWidgets/trunk/include/wx/treebook.h
2012-05-15 12:03 VZ, revision 71434Fix keyboard navigation in wx{List,Choice,Tree,Tool}book controls. Inherit from wxNavigationEnabled<wxBookCtrlBase> instead of just wxBookCtrlBase to ensure that the keyboard navigation works correctly for these controls. The toolbar in wxToolbook still doesn't accept focus from keyboard but at least the pages can be TAB-bed too and from. And the rest of the controls are now fully accessible using only the keyboard. Closes #14303.
2012-05-14 19:23 JS, revision 71433Use iterators instead of indices in wxStripMenuCodes(). Make the function more efficient when using UTF-8 wxStrings by using iterators instead of indices in the loop searching for "&". Closes #14307.
2012-05-14 00:13 VZ, revision 71432Clear styles popup if there is no style sheet
2012-05-14 00:05 VZ, revision 71431Simplify wxEventLoopManual pending events processing logic. Don't try to process any remaining pending events in ProcessEvents() itself as this was inconsistent: we only processed low-level toolkit pending events in the main event loop itself if the loop was exited from a normal event handler but only processed the wxApp-level pending events if it was exited from a pending event handler. It also required more code than the new version that simply processes all the remaining pending events, of both kinds, after the main event loop termination. This corrects changes of r71304 and replaces those of r71329. Closes #14250.
2012-05-13 23:37 VZ, revision 71430Fix wxDateTime unit test after the changes of r71430. Don't test the return value of ParseFormat(wxCStrData) any more as this function is void now.
2012-05-13 23:37 VZ, revision 71429Don't return a dangling pointer from wxDateTime::ParseXXX(wxCStrData). We don't have any sufficiently long-lived pointer to return from this overload, so don't return anything from it -- it's better to break the compilation of the existing code rather than make it crash during run-time. Closes #14214.
- M /wxWidgets/trunk/include/wx/stc/private.h
- M /wxWidgets/trunk/src/stc/PlatWX.cpp
- M /wxWidgets/trunk/src/stc/stc.cpp
2012-05-13 23:37 VZ, revision 71428No changes, just simplify the code using wx2stc() a little. Assign wx2stc() return value to a suitably const variable instead of using ugly casts to get rid of constness. Also use wxCharBuffer/char* explicitly inside explicit wxUSE_UNICODE checks, using wxWX2MBbuf here doesn't gain us anything and just confuses the reader of this code.
2012-05-13 23:37 VZ, revision 71427Fix wxStyledTextCtrl compilation in non-Unicode build. The value returned by wx2stc() in non-Unicode build is a simple "char*" and we can't call length() method on it, add a helper wx2stclen() function to get the length from the original wxString itself in this case. Closes #14013.
2012-05-13 23:37 VZ, revision 71426Don't assert if no icon is specified for a wxDataViewCtrl item. An item in a column using wxDataViewIconTextRenderer might not have any valid icon associated with it, don't assert in case it doesn't in the native GTK version. Notice that the generic wxDataViewCtrl implementation already supports this but not perfectly: no space is reserved for the icon in the images without one, so giving the image to only some of them looks ugly. The GTK version aligns both the items with and without icon properly and simply leaves the image part blank and it would be better to modify the generic version to do the same thing in the future.
2012-05-13 23:37 VZ, revision 71425Minor change to wxString pretty-printer for gdb. Calling string() explicitly isn't necessary, at least not with gdb 7.2, and is actually harmful when using Python 2.5 (which doesn't support UTF-32) with wide strings.
2012-05-13 15:17 VZ, revision 71424Don't handle branches specially when sorting items in wxDataViewCtrl. The generic version of wxDataViewCtrl tried to put all branches before the leaves when sorting. This had a couple of problems: first, it didn't do it correctly and actually placed the branches after the leaves which didn't make any sense. Second, this was only done in the generic version and not the native GTK one making the behaviour inconsistent between platforms. Finally, this behaviour just doesn't make sense in general (i.e. when items don't necessarily represent anything in the file system and maybe even sometimes when they do) and there doesn't seem any good reason to do it by default. So stop doing it, partially reverting the changes of r47562. Closes #14100.
- M /wxWidgets/trunk/configure
- M /wxWidgets/trunk/configure.in
- M /wxWidgets/trunk/docs/doxygen/overviews/unicode.h
2012-05-13 15:17 VZ, revision 71423Disable the use of UTF-8 by default in Unix builds. Add up-to-date description of UTF-8 support to the Unicode overview.
2012-05-12 00:15 JS, revision 71419Remove wxDECLARE_APP() from wxIMPLEMENT_APP_NO_MAIN(). There is no need for a separate declaration inside wxIMPLEMENT_APP() as wxGetApp() is defined by it and redeclaring it immediately after definition results in a warning with some compilers/environments (Eclipse CDT). The move of wxGetApp() to the beginning of the macro is only to ensure that a semicolon is still required after wxIMPLEMENT_APP_NO_MAIN() and the other macros terminating with it, such as wxIMPLEMENT_APP() itself.
2012-05-12 00:10 VZ, revision 71418Fixed layout and hit-testing problem particularly with centred lines
2012-05-12 00:10 VZ, revision 71417Document that wxEVT_COMMAND_DATAVIEW_COLUMN_REORDERED is OSX-specific. This even is not generated by neither generic nor GTK version right now. See #14297.
2012-05-12 00:06 RD, revision 71416Fix extra event sent by wxTextEntry::ChangeValue() since r71308. The changes of r71308 sent the event unconditionally in case the text didn't really change but no events should be sent if the flags don't include SetValue_SendEvent, add a check for it. Re-closes #13936.
- M /wxWidgets/trunk/include/wx/graphics.h
- M /wxWidgets/trunk/include/wx/private/graphics.h
- M /wxWidgets/trunk/interface/wx/graphics.h
- M /wxWidgets/trunk/src/common/graphcmn.cpp
- M /wxWidgets/trunk/src/generic/graphicc.cpp
- M /wxWidgets/trunk/src/msw/graphics.cpp
- M /wxWidgets/trunk/src/osx/carbon/graphics.cpp
2012-05-12 00:06 RD, revision 71415Enable access to the native bitmap object wrapped by wxGraphicsBitmap
2012-05-11 08:28 SC, revision 71414Ensure a 32-bit cairo surface is created if it is needed
2012-05-11 00:38 RD, revision 71402fixes SetFirstItem, Thanks to David Wright
2012-05-11 00:34 RD, revision 71401More interface fixes for Phoenix
2012-05-11 00:34 RD, revision 71400Add wxFormatInvalid, and tweak the docs for wxDataObject::GetDataHere and SetData
2012-05-10 13:59 JS, revision 71399Add doc for wxCliboard::Get
- M /wxWidgets/trunk/include/wx/richtext/richtextxml.h
- M /wxWidgets/trunk/interface/wx/richtext/richtextxml.h
- M /wxWidgets/trunk/src/richtext/richtextbuffer.cpp
- M /wxWidgets/trunk/src/richtext/richtextxml.cpp
2012-05-10 13:53 VZ, revision 71398Added wxRichTextXMLHandler::RegisterNodeName so custom content classes can be added without breaking XML loading
2012-05-09 19:16 VZ, revision 71397Set LF EOL style for setup.h.in file. This file is only used under Unix so should have Unix EOLs, e.g. to allow building Unix ports from the sources checked out under Windows. Closes #14266.
2012-05-09 16:24 VZ, revision 71396Add missing wx/scopeguard.h include to fix the build. Closes #14285.
2012-05-09 16:24 VZ, revision 71395Fix wxGenericListCtrl best size calculation in report view. Just let the base class do it instead of using hard coded default value in wxGenericListCtrl::DoGetBestClientSize().
2012-05-09 16:24 VZ, revision 71394Unconditionally define IID_IShellItem in wxMSW sources. This GUID may not be defined in uuid.lib even when __IShellItem_INTERFACE_DEFINED__ is defined in the headers, so just define it always to avoid any problems. Closes #14244.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/msw/listctrl.h
- M /wxWidgets/trunk/src/msw/listctrl.cpp
2012-05-09 16:24 VZ, revision 71393Implement constrained best size calculation in wxMSW wxListCtrl. This fixes wxListbook controller size to avoid spurious scrollbars. Closes #13898.
2012-05-09 16:24 VZ, revision 71392Improve wxBookCtrlBase controller size calculations. Use GetBest{Height,Width}() in wxBookCtrlBase to compute the controller control size height/width from its known (from wxBookCtrlBase size itself) width/height. This will allow to correctly compute the size of wxListCtrl used by wxListbook once it provides the necessary support for width-from-height and height-from-width calculations. See #13898.
- M /wxWidgets/trunk/include/wx/window.h
- M /wxWidgets/trunk/interface/wx/window.h
- M /wxWidgets/trunk/src/common/wincmn.cpp
2012-05-09 16:24 VZ, revision 71391Add wxWindow::GetBest{Height,Width}(). These functions will be used when it is necessary to determine the best size of the control if one of its size components is fixed. Currently none of the classes implements DoGetBestClient{Height,Width}() yet but wxListCtrl will do it soon, see #13898.
2012-05-09 16:24 VZ, revision 71390Improve wxWindow best size documentation, mention DoGetBestClientSize(). Custom classes should typically override DoGetBestClientSize() instead of DoGetBestSize() to avoid having to deal with the borders. Also don't reference the deprecated SetInitialBestSize() unnecessarily and document its non-deprecated replacement.
2012-05-09 16:24 VZ, revision 71389Mention wxFoobookEvent change from classes to #defines in the change log. These classes can't be forward-declared any more as they're not really classes any longer but just compatibility #defines and can't be made classes again as this would break the existing code using wxBookCtrlEvent in 2.9. See #14242.
2012-05-09 16:24 VZ, revision 71388Allow entering more digits in wxSpinCtrl in wxMSW than fits into it. Scroll the control automatically if there is not enough space. This is consistent with (single line) wxTextCtrl and wxSpinCtrl under the other platforms. Closes #14211.
2012-05-09 16:24 VZ, revision 71387Attach MDI "Window" menu to the parent frame menu bar in wxMSW. This makes sense and fixes the regression with "Window" menu commands not being processed any more after the changes of r71114. Closes #14207.
- M /wxWidgets/trunk/interface/wx/spinctrl.h
- M /wxWidgets/trunk/src/msw/spinctrl.cpp
- M /wxWidgets/trunk/tests/controls/spinctrltest.cpp
2012-05-09 16:24 VZ, revision 71386Correct the initial value setting in wxMSW wxSpinCtrl. Always use value argument for the text control contents and also override the initial numeric value with it if it's numeric. This seems to be the only consistent thing to do, so document this behaviour and add a unit test checking for it. Closes #13589.
2012-05-09 16:24 VZ, revision 71385Remove assert checking bitmap size in wxMenuItem drawing code in wxMSW. This assert was fatal, as usual when asserting from a WM_PAINT handler, as the function was reentered resulting in nested asserts and program abort, so remove it to at least let the program continue to run even if there is not enough space for the bitmap in the menu. There is, of course, still something wrong with the menu geometry calculations if this happens but I can't even reproduce this any more so not sure what exactly. See #11657.
2012-05-09 16:24 VZ, revision 71384Fix creation of wxBitmap from wxIcon in wxMSW: premultiply the pixels. wxBitmap in wxMSW is supposed to store its data in alpha-premultiplied format but didn't do it when it was created from an icon (or a cursor), resulting in wrong display of wxIcons with alpha channel when they were used for e.g. menu items. Fix this by ensuring that the data is always premultiplied. This is not the best solution as in some cases (e.g. if this wxBitmap is added to wxImageList later) we could need to undo this premultiplication later which is quite inefficient but at least it's simple and straightforward. Closes #11414.
2012-05-09 16:24 VZ, revision 71383Fix wxString unit test when not using UTF-8. Restrict the tests added in r70987 to run when using UTF-8 strings only, they test for something that is simply not true (and for a bug that can't happen) with non-multibyte encodings.
2012-05-09 16:24 VZ, revision 71382Fix compilation of wxVariant code with VC6. This was broken by the changes in r71196 as the original VC6 SDK doesn't define VARIANT::llVal. See #14210.
2012-05-09 16:24 VZ, revision 71381Use better face names first in wxGTK wxNativeFontInfo::SetFamily(). Try better matches and not the most widespread ones first when building a list of face names to try for the given family. This gives better results when these better fonts are indeed available and doesn't change anything if they are not. See #14126.
2012-05-09 16:23 VZ, revision 71380Check that item ID is initialized when inserting it in wxListCtrl. Using uninitialized ID happened to work by accident with 2.8 but it doesn't work any more, try to detect this as early as possible and give a clear explanation of why it doesn't to help fixing the broken code that used to accidentally work.
2012-05-09 13:06 JS, revision 71379Fix wxStaticBitmap best size calculation in wxMSW. Take the control borders into account by overriding DoGetBestClientSize() instead of DoGetBestSize(). Also invalidate the default best size computed before we have any valid image when setting the initial image in Create(). Closes #4099.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/richtext/richtextbuffer.h
- M /wxWidgets/trunk/include/wx/richtext/richtextctrl.h
- M /wxWidgets/trunk/interface/wx/richtext/richtextbuffer.h
- M /wxWidgets/trunk/interface/wx/richtext/richtextctrl.h
- M /wxWidgets/trunk/src/richtext/richtextbuffer.cpp
- M /wxWidgets/trunk/src/richtext/richtextctrl.cpp
- M /wxWidgets/trunk/src/richtext/richtextxml.cpp
2012-05-08 19:31 JS, revision 71378Added field implementation
2012-05-07 17:47 JS, revision 71377Moved default margins to buffer class Init; reduced chance of accidental selection when clicking
2012-05-07 15:13 JS, revision 71376Corrected top-level object layout in paragraphs
2012-05-07 15:12 VZ, revision 71375Fixed inconsistent calculation of line height in paragraph layout
- M /wxWidgets/trunk/src/common/combocmn.cpp
- M /wxWidgets/trunk/src/common/datetimefmt.cpp
- M /wxWidgets/trunk/src/common/dcbase.cpp
- M /wxWidgets/trunk/src/common/filename.cpp
- M /wxWidgets/trunk/src/common/imagtiff.cpp
- M /wxWidgets/trunk/src/common/mediactrlcmn.cpp
- M /wxWidgets/trunk/src/common/rgncmn.cpp
- M /wxWidgets/trunk/src/common/translation.cpp
- M /wxWidgets/trunk/src/common/uri.cpp
- M /wxWidgets/trunk/src/common/xti.cpp
- M /wxWidgets/trunk/src/common/xtistrm.cpp
2012-05-07 15:12 JS, revision 71374No real changes, just fix some typos in comments. Closes #14276.
2012-05-07 15:12 VZ, revision 71373Added non-breaking space to whitespace check
- M /wxWidgets/trunk/build/bakefiles/make_dist.mk
- M /wxWidgets/trunk/Makefile.in
- M /wxWidgets/trunk/src/gtk/window.cpp
2012-05-07 15:12 VZ, revision 71372Use XkbKeycodeToKeysym() instead of deprecated XKeycodeToKeysym(). XKeycodeToKeysym() is deprecated in new X11 headers because it doesn't work correctly with all symbols (https://bugs.freedesktop.org/show_bug.cgi?id=5349). Use XkbKeycodeToKeysym() instead, this should help with some keys and also avoids deprecation warnings during compilation.
- M /wxWidgets/trunk/build/bakefiles/make_dist.mk
- A /wxWidgets/trunk/include/wx/x11/private
- A /wxWidgets/trunk/include/wx/x11/private/wrapxkb.h
- M /wxWidgets/trunk/Makefile.in
- M /wxWidgets/trunk/src/x11/utilsx.cpp
2012-05-07 14:23 VS, revision 71371Create a wrapper file for X11/XKBlib.h header. We need some hacks for the older systems before including this header, extract them from src/x11/utilsx.cpp into a new private header to be able to reuse it from wxGTK in the next commit.
2012-05-07 13:15 VS, revision 71370Make wxDocTemplate::CreateDocument() exceptions-safe. Don't create the document object if InitDocument() throws.
2012-05-06 18:56 VS, revision 71368Fix performance of wxHtmlParser::SkipCommentTag() in UTF-8 build. Avoid computing the difference between two potentially distant iterators, which is O(1) in wchar_t build, but O(n) in UTF-8 one. See #13445.
2012-05-06 15:10 VS, revision 71367Fix r71367: don't set bgCol twice needlessly.
2012-05-05 16:09 VZ, revision 71366Fix wxOwnerDrawnComboBox background on with classic theme. In wxMSW, if the classic theme was used, read-only wxOwnerDrawnComboBox had gray background, but native look should be the same for both editable and read-only combo boxes: white text entry-like rectangle. Apparently, a similar problem existed with non-classic themes too before, as there was a workaround in place. Fixed by moving the workaround into code used by both themed and classic rendering.
- M /wxWidgets/trunk/src/common/ftp.cpp
- M /wxWidgets/trunk/src/common/gbsizer.cpp
- M /wxWidgets/trunk/src/common/gifdecod.cpp
- M /wxWidgets/trunk/src/common/pickerbase.cpp
- M /wxWidgets/trunk/src/common/sizer.cpp
- M /wxWidgets/trunk/src/common/stream.cpp
2012-05-05 13:22 VZ, revision 71365No changes, just spelling corrections in the comments. Closes #14275.
- M /wxWidgets/trunk/include/wx/generic/statusbr.h
- M /wxWidgets/trunk/samples/statbar/statbar.cpp
- M /wxWidgets/trunk/src/generic/statusbr.cpp
2012-05-05 07:32 SC, revision 71364Update the field widths on demand in wxStatusBarGeneric. This ensures that the value returned from GetFieldRect() is always up to date, even when this method is called from the user-defined wxEVT_SIZE handler, i.e. before our own OnSize() could run. Also remove the now unneeded hack with calling the base class OnSize() from the statbar sample. Closes #14268.
2012-05-05 00:20 VZ, revision 71363fixes crashes with embedded controls in toolbars after toolbar destruction, code was moved in r62988, but apparently Destroy doesn't have to be called, so do a last check, fixes #14258
2012-05-05 00:20 VZ, revision 71362Don't return NULL widget from wxFileCtrl page of widgets sample. This makes all the common operations such as setting tooltip, colours &c on this page simply crash.
2012-05-04 22:35 VZ, revision 71361Derive wxGenericFileCtrl from wxControl. wxFileCtrl -- which can be #define'd as wxGenericFileCtrl -- is documented to inherit from wxControl and does derive from it in the native GTK version, so do it for the generic version too.
2012-05-04 22:35 VZ, revision 71360Improve documentation of wxDataViewCtrl mouse event handling. Explain that catching mouse events directly doesn't work. Also make it clear that double clicking an item can be caught by processing wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED. See #14111.
- M /wxWidgets/trunk/build/bakefiles/common.bkl
- M /wxWidgets/trunk/src/gtk/assertdlg_gtk.cpp
- M /wxWidgets/trunk/src/gtk/win_gtk.cpp
2012-05-04 22:35 VZ, revision 71359Fix precompiled headers use with MSVC in wxGTK sources. Don't use PCH for C sources, do include wx/wxprec.h from all wxGTK C++ sources. Closes #14224.
2012-05-04 22:35 VZ, revision 71358Declare variables before doing anything else in C code. Don't put statements before variable declaration in C source file. This fixes compilation with non C99-compliant C compilers such as MSVC. See #14224.
2012-05-04 22:35 VZ, revision 71357Allow using non-MSW toolkit in MSVC-specific auto-linking header. This makes it possible to auto-link wxGTK library when using MSVC too. Closes #14272.
2012-05-04 22:35 VZ, revision 71356Define wxCONCATn() macro up to n=9 from n=5 previously. We'll need it for n=6 for the next commit, so increase the max value of n a bit more. See #14272.
2012-05-04 22:35 VZ, revision 71355Use GTK-based wxWebView when using GTK+, not under Unix. Test for the GTK+ toolkit, not Unix platform to determine whether GTK+ wxWebView version should be used. Closes #14273.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/dir.h
- M /wxWidgets/trunk/interface/wx/dir.h
- M /wxWidgets/trunk/src/common/dircmn.cpp
- M /wxWidgets/trunk/tests/file/dir.cpp
2012-05-04 22:35 VZ, revision 71354Add wxDir::GetNameWithSep() and use it to avoid consecutive slashes. It is wrong to use dir.GetName()+"/" to obtain a slash-terminated directory name as this results in (usually harmless but at best ugly) double slashes at at the beginning of the string for the root directory. Add GetNameWithSep() to obtain the correct result in all cases.
2012-05-04 20:31 VZ, revision 71353Document wxTP_DEFAULT as a standalone constant. Make sure the declarations in the documentation header can be really parsed. Closes #14270.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/src/unix/dir.cpp
- M /wxWidgets/trunk/tests/file/dir.cpp
2012-05-04 01:30 RD, revision 71349Don't remove the last slash from "/" directory name under Unix. This was totally wrong as it returned empty string as (invalid) directory name.
2012-05-04 01:30 RD, revision 71348Add wxDropSource::SetIcon for wxGTK to mimic SetCursor on the other ports.
* Change "def" to defResult as def is a reserved word in Python * Correct some methods that were marked pure virtual but which aren't. * etc.