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

2009-12-15 12:24 VS, revision 62889

PCH compilation fix

2009-12-14 20:17 VZ, revision 62886

Avoid painting generic wxDataViewCtrl if it has no columns. The code in wxDataViewMainWindow::OnPaint() relied on having at least the first column and didn't work for a completely empty control. Just don't paint it at all in this case as it's unnecessary anyhow.

2009-12-14 17:13 JMS, revision 62885

Make wxPG_EX_MULTIPLE_SELECTION behave more like a Windows list box (regarding Ctrl and Shift keys)

2009-12-14 16:33 JMS, revision 62884

Determine better whether the property editor needs to be refreshed in wxPGProperty::SetValue()

2009-12-14 16:18 JMS, revision 62882

'Set to Unspecified' -> 'Set Value to Unspecified'

2009-12-14 16:17 JMS, revision 62881

Set correct m_state in wxPGCheckBoxEditor::SetValueToUnspecified()

2009-12-14 16:15 JMS, revision 62880

Always refresh the editor when setting property value to unspecified.

2009-12-14 16:12 JMS, revision 62879

Fixed unspecified property value rendering for various editor types (including check box)

2009-12-14 13:41 VZ, revision 62877

Restore correct access to wxGenericStaticText::Set{Font,Label}. Accessibility of these methods was accidentally changed to protected in r62821 and this broke wxUniv compilation, make them public again.

2009-12-14 10:38 CE, revision 62876

fix for second bug in bug 11438

2009-12-13 13:52 VZ, revision 62871

Remove unnecessary Mac-specific TOOLKIT_LOWERCASE setting. TOOLKIT is never set to "MAC" at all (it is one of OSX_{CARBON,COCOA,IPHONE}) so it is not necessary to test for it. And for the other cases the special logic for OS X ports was the same as the general case so it seems to be unnecessary as well.

2009-12-13 13:52 VZ, revision 62870

Add --with-[osx_]iphone switch to configure. This is another Mac (wxUSE_MAC is defined) port with TOOLKIT=OSX_IPHONE. Also use this port by default for arm-apple-darwin platforms.

2009-12-13 13:52 VZ, revision 62869

Test for sw_vers availability before calling it in configure. There is no sw_vers when cross-compiling, just assume 10.4 system in this case and point the user to --with-macosx-version-min which can be used to override this.

2009-12-13 13:52 VZ, revision 62868

Rename --with-cocoa configure switch to --with-old_cocoa to avoid confusion. Change --with-cocoa to be synonym for --with-osx_cocoa, add --with-carbon as a synonym for --with-osx_carbon for consistency and --with-osx as a synonym for --with-mac.

2009-12-13 13:00 JMS, revision 62867

Added wxPropertyGridManager header support; Refactored wxPropertyGrid DoSetSplitterPosition() code

2009-12-12 15:01 SC, revision 62866

rearranging contentview, adding toolbar

2009-12-12 14:40 SC, revision 62865

rearranging contentview, adding toolbar

2009-12-12 13:24 JMS, revision 62864

wxHeaderColumnBase -> wxHeaderColumn; Fixed UpdateColumnWidthToFit() sample code

2009-12-12 11:10 JMS, revision 62863

On Windows, force read-only property editor wxTextCtrl to have 'white' background (for now...)

2009-12-12 10:59 JMS, revision 62862

Added a proper log frame to the propgrid sample

2009-12-12 10:38 JMS, revision 62861

Generate wxPropertyGrid splitter (column divider) events: wxEVT_PG_COL_BEGIN_DRAG, wxEVT_PG_COL_DRAGGING, wxEVT_PG_COL_END_DRAG

2009-12-11 16:50 JMS, revision 62859

Fixed incorrect use of RemoveAt() in wxPropertyGridPageState::SetColumnCount() (fixes #11539)

2009-12-11 14:55 CE, revision 62857

fix for bug 11438

2009-12-10 04:04 VZ, revision 62850

Add support for stretchable spaces to wxToolBar. Stretchable spaces consume all extra toolbar space not allocated to the fixed size items. They can in particular be used to right-align (some) toolbar tools. Add and document the new API, change the sample to show it and implement it for MSW, GTK and OS X/Cocoa. Also refactor MSW background erasing/repainting code to avoid duplicated calls to DrawThemeBackground(), call it from a new helper MSWEraseRect() function. Note that we may want to add support for "invisible" separators, IOW non-stretchable spaces. This could be easily done for MSW after the changes in this commit and is supported natively by GTK+ and Cocoa so implementing this would be trivial if there is any interest.

2009-12-10 04:04 VZ, revision 62849

Rename gtk{,1}/tbargtk.{h,cpp} to toolbar.{h,cpp}. We don't use crptknm$port.cpp naming convention even for MSW any more and there is really no reason to continue to do it for just this one file in wxGTK.

2009-12-10 03:59 VZ, revision 62848

Set correct toolbar width in wxMSW wxFrame. The hack introduced in r22410 artificially set wrong size for toolbar under MSW. This completely breaks any calculations that can be done using it (e.g. to find the space available for the stretchable part of the toolbar) and is completely and utterly unexpected. Revert it, toolbar flicker must be dealt in another way if it is still a problem.

2009-12-10 03:59 VZ, revision 62847

No changes, just refactor wxToolBarToolBase ctors. Add the usual Init() function for common initialization.

2009-12-10 03:59 VZ, revision 62846

No changes, just slightly simplify the tool insertion code. Added a helper DoInsertNewTool() function to avoid code duplication and ensure that we never forget to delete a new tool if inserting it into the toolbar failed. Also explicitly document that the tool passed to the public InsertTool() is not owned by the toolbar and so must be deleted by the caller if its insertion failed.

2009-12-09 19:48 PJC, revision 62845

Rewrote wxRibbonPage realisation and layout code to avoid setting the position and size of panels multiple times. Fixed memory leak in wxRibbonToolBar::Realize().

2009-12-09 15:59 VZ, revision 62844

Avoid outputting the assert message twice in non-GUI code. As we always log the assert message in ::ShowAssertDialog() itself there is no need to log it again in wxAppTraitsBase::ShowAssertDialog(). Also show the "please wait while generating stack trace information" in wxAppTraitsBase::GetAssertStackTrace() itself instead of doing it in both places which call it.

2009-12-09 15:59 VZ, revision 62843

Don't limit the number of stack frames in GTK assert dialog to 20. This dialog uses a scrollbar to keep its vertical size reasonable in any case so there is absolutely no danger of making it too tall even if we show more frames in it.

2009-12-09 15:59 VZ, revision 62842

Better handling for asserts in non-main threads. Don't call wxTrap() when an assert in a non-main thread fails. As asserts are now always enabled by default, this is not a good idea. Instead just show the full details about the assert failure using wxMessageOutputDebug under the platforms without MT-safe message box function (i.e. everything but MSW currently). Add a possibility to test an assert happening in non-main thread to the except sample.

2009-12-09 15:59 VZ, revision 62841

No real changes, just remove __WXDEBUG__ tests. These tests are unnecessary now because asserts are almost always enabled. We could test for wxDEBUG_LEVEL but the code still compiles even if it's defined as 0 so there doesn't seem to be any need for it.

2009-12-09 15:58 VZ, revision 62840

Override OnAssertFailure() and not deprecated OnAssert() in except sample. Also make the overridden version more interesting instead of just calling the base class method from it.

2009-12-09 14:45 VZ, revision 62839

Document that wxTrap() now traps [almost] always. Don't mention the words "release mode" as there is no such thing now, instead refer to wxDEBUG_LEVEL explicitly.

2009-12-09 14:40 VZ, revision 62838

Add wxSymbian-specific headers and sources and build files. Patch by Andrei Matuk. Closes #11489.

2009-12-09 14:31 VZ, revision 62837

Explicitly link the SDK application example with user32.lib. As this sample uses GUI Windows functions, it requires this library. Not sure why it isn't added by bakefile automatically for app-type==gui target.

2009-12-09 14:27 VZ, revision 62836

STL build compilation fix. Explicitly cast wxWindowBase pointer to wxWindow before passing it to wxWindowList::Find().

2009-12-09 09:21 SC, revision 62835

support for getting current event loop on iPhone

2009-12-09 08:38 SC, revision 62834

avoiding string conversions on 1st param of wxStat, as the latter is having a param of wxString now always and does the conversion internally

2009-12-09 08:29 SC, revision 62833

using on all OSX variants

2009-12-09 08:28 SC, revision 62832

fixing toolbar support, adding iphone

2009-12-09 08:27 SC, revision 62831

make sure it is compilable w/o menus (eg on iPhone)

2009-12-09 08:26 SC, revision 62830

remove workaround

2009-12-09 08:24 SC, revision 62829

avoid double define warnings

2009-12-09 06:25 KO, revision 62828

Add OSX prefix, and be clear that this is OS X only API to avoid any expectation that this API may work elsewhere.

2009-12-08 17:36 VZ, revision 62825

Use X64 machine type for MSVC linker instead of old AMD64. The officially supported machine type name is X64 now, even if AMD64 is still supported. Closes #10711.

2009-12-08 17:35 VZ, revision 62824

Fix duplicate accelerator use in animate sample. Both "Play" and "Stop" used Ctrl+P. Closes #11425.

2009-12-08 17:35 VZ, revision 62823

Make wxPORTRAIT and wxLANDSCAPE elements of wxPrintOrientation enum. Change wxPrintData::SetOrientation() to take wxPrintOrientation instead of int. Closes #11393.

2009-12-08 16:56 VZ, revision 62822

Visually show the cells boundaries in layout sample grid sizer test. Closes #11456.

2009-12-08 16:56 VZ, revision 62821

Don't override DoGetBestSize() in wxGenericStaticText, it's unnecessary. The base class already does exactly the same thing -- except that it also accounts for the borders properly. Also fix access for a couple of DoXXX() member functions which should be protected and an event handler which can be private.

2009-12-08 16:56 VZ, revision 62820

Implement wxWindow::DoGetBorderSize() in the trivial case of wxBORDER_NONE. This fixes an assert in wxGenericStaticText which overrode DoGetBestClientSize() but not DoGetBorderSize(). It would still be useful to implement DoGetBorderSize() in wxGTK (and other ports) in general too as using wxGenericStaticText with non-default border still doesn't work.

2009-12-08 16:56 VZ, revision 62819

Fix unused parameter warning after last commit (r62818).

2009-12-08 16:36 VZ, revision 62818

Fix event object in wxSysColourChangedEvent. The handler for this event in the base class incorrectly changed the event object of the original event instead of setting it for the event being sent to the window children as it was supposed to. Closes #11458.

2009-12-08 16:24 VZ, revision 62817

Don't set the initial size as minimal size for top level windows. Correct the change of r62814: only call SetMinSize() for non-top-level windows as the user should be able to resize the top-level ones to be smaller than their initial size. This also fixes the GTK+ warning resulting from calling wxTLW::SetMinSize() from the ctor, before the window is realized.

2009-12-08 15:07 JS, revision 62816

Speed up adding pages during freezing

2009-12-08 15:07 JS, revision 62815

Speed up adding pages during freezing

2009-12-08 00:37 VZ, revision 62814

Set initial window size as its minimal size. The change of r62306 broke the code which relied on the window created with a given initial size to never become smaller than this size. This was to be expected because the best size of such window is now (1, 1) and not its initial size but we still need to preserve the old behaviour for compatibility and also because it usually does make sense to avoid shrinking the window with an explicitly specified initial size beneath this value. So call SetMinSize() with the initial size explicitly now in wxWindowBase ctor.

2009-12-07 18:03 VZ, revision 62813

Reset wxTheApp when starting to destroy the object it points to. Using wxTheApp when the corresponding object is already half destroyed can't be a good idea so reset it to NULL as soon as possible. Closes #11525.

2009-12-07 17:27 VZ, revision 62812

Add a very simple example of a Win32 application using wx DLL.

2009-12-07 17:27 VZ, revision 62811

Use __declspec(dllexport) instead of WXEXPORT in dll sample header. This header can be included from non-wx code so we can't use wx symbols in it.

2009-12-07 16:26 VZ, revision 62810

Document wxListCtrl::FindItem() return value. In particular mention that it returns -1 if no items were found. Closes #11523.

2009-12-07 16:23 JS, revision 62809

Don't crash if no document

2009-12-07 16:22 JS, revision 62808

Don't crash if no document

2009-12-07 16:06 JS, revision 62807

Safer access of member variables

2009-12-07 16:05 JS, revision 62806

Safer access of member variables

2009-12-07 14:37 VZ, revision 62805

Generate erase background events for native controls too under MSW. Remove the test which prevented the generation of erase background events from wxMSW::wxWindow::HandleEraseBkgnd(). Although it is true that native controls mostly erase background on their own, there are exceptions: we must erase the background of wxToolBar ourselves, for example. More importantly, there is no reason to prevent the user code from defining wxEVT_ERASE_BACKGROUND handlers for the native controls as this works just fine under MSW (although it doesn't under GTK nor probably other ports...). So also add a test erase background handler to the toolbar sample to verify that this does work. Closes #11514.

2009-12-07 06:01 VZ, revision 62804

Use white background by default for multiline readonly wxTextCtrl under MSW. The best default behaviour seems to be to use white background for multiline text controls even when they're read-only, as in previous wx versions. Also see #11521 which could be implemented to make this configurable.

2009-12-07 06:01 VZ, revision 62803

Move wxMSW wxTextCtrl::GetDefaultAttributes() to wxTextCtrlBase. This commit doesn't introduce any changes in the control behaviour, it simply moves the existing method to the base class because it is not MSW-specific. Also implement wxTextCtrlBase::GetClassDefaultAttributes() because if a class implements GetDefaultAttributes() it should implement it as well.

2009-12-07 04:04 VZ, revision 62802

Define MY_DLL_BUILDING symbol for dll sample DLL build. This is necessary to properly define MY_DLL_DECL as either WXIMPORT or WXEXPORT depending on whether my_dll.h is included from DLL itself or from outside it. Without this, MSVC generated warnings about inconsistent dll linkage.

2009-12-07 04:04 VZ, revision 62801

Add semi-public wxDynamicLibrary::MSWGetModuleHandle(). Rename old private wxGetModuleHandle() function to wxDynamicLibrary:: MSWGetModuleHandle() to allow its use in the dll sample. This fixes the sample compilation with VC6 which lacks GetModuleHandleEx()- related declarations.

2009-12-07 04:04 VZ, revision 62800

Correct placement of calling convention keyword: must follow the return type. Using __stdcall before the return type results in a warning with VC6 and an error with VC9, place it after the return type. Also use wxSTDCALL instead of just __stdcall for potentially better compatibility with other compilers.

2009-12-07 04:04 VZ, revision 62799

Regenerate dll samples makefiles using the correct source file name. The file is called wx_exe.cpp and not dll_user_wx.cpp in the svn, do use the correct name.

2009-12-07 03:20 VZ, revision 62798
  • D /wxWidgets/trunk/samples/dll/dll.dsw
  • D /wxWidgets/trunk/samples/ribbon/ribbon.dsw

Remove a couple of VC6 workspace files for the samples. See r62797.

2009-12-07 03:18 VZ, revision 62797
  • D /wxWidgets/trunk/samples/dll/dll_vc7.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc8.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc9.sln

Remove the MSVC solution files added with the new dll sample. We don't keep solution files in svn for the other samples, there is no reason for this one to be exceptional.

2009-12-07 02:54 KO, revision 62796

Add wxTLW::SetModified to allow apps to set the TLW's dirty state. On Mac this gives us the dot in the close button, not implemented elsewhere yet.

2009-12-06 17:32 KO, revision 62795

Handle deprecated style so we don't assert and then crash.

2009-12-06 16:31 VZ, revision 62794

Restore TAB in accelerator string wrong removed by r62791. See #11512.

2009-12-06 03:30 VZ, revision 62793

Correct two bugs in wxMBConv::FromWChar() with non NUL-terminated strings. The variable "lenChunk" was incorrectly used as the length of the wide string chunk which could result in wrong output. Worse, the output buffer could be overflown for the final chunk because it didn't have to have enough space for the trailing NUL(s) in it. Fix both bugs and added unit tests for them. Based on patch by Kuang-che Wu. Closes #11486.

2009-12-06 03:29 VZ, revision 62792

Minor corrections to ToWChar() comment. Don't refer to the non-existent outputBuf parameter and don't imply that the value of dstLen matters to decide whether we really convert or not -- only whether dst pointer itself is NULL or not does. See #11486.

2009-12-06 03:29 VZ, revision 62791

Use wxAcceleratorEntry::ToString() for undo/redo accelerator labels. Don't hardcode the string representation of the accelerators, it was inconsistent with the rest of wxWidgets which used '-' while here a '+' was used. Closes #11512.

2009-12-06 03:29 VZ, revision 62790

Fix wxFD_CLR() definition for Intel compiler under Linux. wxFD_CLR() should be void, not bool. Closes #11517.

2009-12-05 20:57 PC, revision 62789

minor cleanup

2009-12-05 20:45 PC, revision 62788

remove unused variables, minor cleanup

2009-12-05 20:29 PC, revision 62787

remove -I on nonexistent directory

2009-12-05 20:26 PC, revision 62786

remove unnecessary DoGetBestSize

2009-12-05 20:25 PC, revision 62785

simplify Enable()

2009-12-05 19:54 VS, revision 62784

Added samples/dll for showing how to use wxWidgets to implement a DLL that is used from another application written with a different toolkit (or different wx version).

2009-12-05 18:31 VZ, revision 62783

Implement wxNativeContainerWindow::IsShown() for MSW. Simply use native ::IsWindowVisible() for IsShown() implementation. Closes #11503.

2009-12-05 18:31 VZ, revision 62782

Add support for MSW unique volume names to wxFileName. Recognize the paths starting with "\\?\Volume{GUID}" under MSW and provide a way to test for them. Closes #8874.

2009-12-05 18:30 VZ, revision 62781

Don't lock global mutex when deleting wxThread to avoid deadlocks. Calling out the user-defined wxThread dtor while holding gs_mutexDeleteThread lock is a bad idea as it may result in deadlocks if the dtor deletes another thread. Only lock the mutex directly before manipulating the data it protects. Thanks to Neno Ganchev. Closes #11501.

2009-12-05 18:24 PC, revision 62780

correct parameter type

2009-12-05 15:25 VZ, revision 62779

Don't crash in wxActiveXContainer if FindConnectionPoint() failed. This method is supposed to succeed but don't crash by calling Advise() on NULL pointer if it did not.

2009-12-05 10:05 VS, revision 62778

Documented that wxCriticalSection can be used before wxInitialize(), as a global object.

2009-12-05 02:32 VZ, revision 62777

Fix wxLogChain (and wxLogWindow deriving from it) broken by wxLog changes. wxLogChain::DoLogRecord() only called DoLogRecord() on the old logger but not the new one when the new logger was the same object as wxLogChain itself as is always the case for wxLogWindow. The result was that nothing was logged into the window.

2009-12-03 19:19 JMS, revision 62773

Exit wxPropertyGrid::RecalculateVirtualSize() immediately if it was called before the grid state was initialized.

2009-12-03 19:08 JMS, revision 62772

Handle the rare case where wxPropertyGrid::HandleCustomEditorEvent() may receive event before the grid state has been initialized.

2009-12-03 18:20 PC, revision 62771

make access for virtuals match base

2009-12-03 17:26 VZ, revision 62770

Suppress errors from static bitmap page of widgets sample. Don't fail loudly if the image file is not found (which can happen under Unix if the image sample wasn't built yet or if we're not running the sample from its own directory) but just don't create the bitmap.

2009-12-03 17:26 VZ, revision 62769

Don't assert if the path is not absolute in wxFileDialog::SetPath(). Remove the assert added in r62101 (see #10917), it was wrong as the other ports do not assert in this case. Instead, just ensure that the path we use with the GTK+ native chooser is absolute.