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-02 18:28 PC, revision 62764

make array data fully const

2009-12-02 18:27 PC, revision 62763

use const_cast where appropriate

2009-12-02 17:36 PC, revision 62762

check for self assignment in operator=

2009-12-02 14:27 VZ, revision 62761

Compilation fix after r62754. Don't pass second argument to wxPizza::New() any more in wxStaticBox.

2009-12-02 01:57 BP, revision 62760

Removed hard-coded timer Id in wxAUI for the transparent hint fade functionality. (fixes #11435)

2009-12-01 21:23 BP, revision 62759

Forward-port of r62758 (Added wxHtmlEasyPrinting name accessor and modifier).

2009-12-01 21:21 BP, revision 62758

Added wxHtmlEasyPrinting name accessor and modifier (only one wxHtmlEasyPrinting instance is supposed to be used for multiple printouts).

2009-12-01 18:16 PC, revision 62756

remove m_backing_window member, to keep people from trying to use it

2009-12-01 17:47 VZ, revision 62755

Add wxOSX_10_6_AND_LATER macro and use it. Replace all occurrences of @interface wxFoo : NSFoo #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 <NSProtocol> #endif which we used for protocols new in 10.6 with just @interface wxFoo : NSFoo wxOSX_10_6_AND_LATER(<NSProtocol>) which looks better and simpler.

2009-12-01 17:23 PC, revision 62754

remove unused data member

2009-12-01 01:43 VZ, revision 62753

Define _CRT_NONSTDC_NO_WARNINGS to suppress MSVC warning in libtiff. Defining lfind as _lfind is not enough and a warning C4996 is still generated by MSVC9 when the function is called.

2009-12-01 01:42 VZ, revision 62752

Define _CRT_SECURE_NO_WARNINGS when building 3rd party libs with MSVC. Avoid dozens of warnings about "unsafe" use of the standard C library functions in 3rd party code which are harmless and which we don't care about in any case.

2009-11-30 18:47 SC, revision 62749

using 64bit APIs, closes #10184

2009-11-30 14:17 FM, revision 62748

partially revert changes of r58531 as wxCollapsiblePane currently doesn't work with GTK+ 2.18.3 (altough it does work with GTK+ 2.12.2); all following changes (r58632,58718,61109) should have been preserved

2009-11-30 02:08 KO, revision 62747

orderBack puts it behind all windows in its level, including in other apps, so use orderFront instead.

2009-11-30 01:30 VZ, revision 62746

Fix compilation of image sample with wxUSE_LIBPNG==0. Also don't propose to save the file using the extensions not supported in this library build. Closes #11495.

2009-11-30 01:30 VZ, revision 62745

Fix compilation in wxUSE_STL==1 case broken by r62738. We need to use wxString::c_str() explicitly to convert wxString to const char * in STL build.

2009-11-29 22:46 KO, revision 62744

Make sure we setup the base's Show state correctly and send a show event.

2009-11-29 10:42 JMS, revision 62743

Fixed regression: forgot to set wxPropertyGridPageState::m_anyModified to false in wxPropertyGridInterface::ClearModifiedStatus().

2009-11-28 21:09 KO, revision 62741

Fix needed to allow shaped windows, and other windows without a title bar, to get the focus when clicked under OS X.

2009-11-28 21:05 SC, revision 62740

64bit builds had problems with full circles, as we can use 10.4+ only APIs, use new implementation, fixes #11471

2009-11-28 15:37 VZ, revision 62738

Allow calling wxStrchr() with a narrow string and wide character. Calls to wxStrchr(char-string, wide-char) would previously fail if wide character couldn't be converted to a single character in the current locale encoding. Change it to simply return NULL in this case as it's a safe and useful generalization: a narrow string will never contain a wide character not representable in the current locale. Add wxUniChar::GetAsChar() to help with implementing this. Closes #11487.

2009-11-28 04:37 VZ, revision 62737

Define INVALID_FILE_ATTRIBUTES in filename.cpp too. Fix VC6 compilation: INVALID_FILE_ATTRIBUTES is not defined in its headers so we need to do it ourselves (this was done in filefn.cpp before but part of the code using this constant was moved to filename.cpp in r62735 so now we need to define it here too).

2009-11-28 04:37 VZ, revision 62736

No changes, just remove unnecessary UTF-8 bytes. The patch of #11187 (applied in r61884) unnecessarily used +U2019 which can't be converted to latin1, remove it.

2009-11-28 03:40 VZ, revision 62735

Implement wx{File,Dir}Exists() in terms of wxFileName methods. Use wxFileName from the global functions instead of using global functions in wxFileName methods as wxFileName is the preferred API for all these operations. Closes #11488.

2009-11-28 03:29 VZ, revision 62734

Don't override msw.remap system option value in wxToolbook. Introducing a system option for all toolbars and then ignoring it inside wx itself is ridiculous and just goes to prove that this option itself was a mistake. But as we have it, we should respect whatever value it's set to (which should hopefully be 0 anyhow for most modern systems) instead of overriding it forcefully making the mockery of the whole "option" concept.

2009-11-28 03:29 VZ, revision 62733

Avoid infinite recursion in wxToolbook::OnSize() under wxMSW. Reset m_needsRealizing flag before calling wxToolBar::Realize() as doing this can result in another call to wxToolbook::OnSize() itself. Closes #11942.

2009-11-28 03:28 VZ, revision 62732

Use OUTLINETEXTMETRIC::otmpFamilyName to get wxFont face name from MSW. In spite of the name, we need to use otmpFamilyName member of OUTLINETEXTMETRIC struct and not otmpFaceName to get the font face name: the latter may contain (locale-dependent, so the changes of r62708 didn't work for non-English versions of Windows) "Italic" or "Bold" suffix while the former does not and is what we want. This should really fix the unit test failures, even in French locale.

2009-11-27 22:36 VZ, revision 62731

Compilation fix for wxUSE_CAIRO==0 after last commit. Include wx/graphics.h when wxUSE_CAIRO==0 but wxUSE_GRAPHICS_CONTEXT==1 (as in e.g. MSW builds).

2009-11-27 22:06 VZ, revision 62730

Define wxUSE_CAIRO in wx/chkconf.h to ensure that it's always defined. wxUSE_CAIRO used to be defined only in wx/cairo.h but this header wasn't included by src/common/dcgraph.cpp so the code there was compiled as if we were not using Cairo even when we were (thanks g++ for the warning). Define it in wx/chkconf.h (included from wx/defs.h, i.e. always) now to ensure that not only this bug is fixed but also that it can't happen any more.

2009-11-27 22:05 VZ, revision 62729

Use #ifdef to check for __WXMSW__ and __WXGTK__ and not #if. Using #if doesn't work when symbols are not defined.

2009-11-27 02:47 VZ, revision 62728

Allow changing horizontal alignment of numeric cells in wxGrid. wxGridCellAttr didn't provide any way to query its alignment attributes without falling back to the (always defined) default alignment so the code in wxGridCellNumberRenderer and similar classes simply always used right alignment, Add a new wxGridCellAttr::GetNonDefaultAlignment() function which allows to retrieve the alignment defined in the attribute and use it to use right alignment by default but allow overriding it. Add a test to the sample showing a non right-aligned numeric cell. Incidentally fix a long-standing bug in wxGridCell{DateTime,Enum}Renderers which used wxRIGHT instead of wxALIGN_RIGHT and so were not aligned properly even by default.

2009-11-27 02:47 VZ, revision 62727

Add symbolic constant wxALIGN_INVALID and use it instead of -1 in wxGrid. wxGridCellAttr was using literal -1 to indicate "no alignment" which wasn't immediately obvious, use a new wxALIGN_INVALID (which has the same value) instead.

2009-11-27 00:14 KO, revision 62726

Build fix for OS X <= 10.5.

2009-11-27 00:11 KO, revision 62725

Allow OS X Cocoa (or any OS X port) to override GetBestSize and provide a native OS X Cocoa impl. Also, fix the line ending check under OS X Cocoa, and a sanity check for SetStyle.

2009-11-26 22:52 KO, revision 62724

Add CheckSpelling support for OS X Cocoa, make sure NSTextView-based wxTextCtrls emit EVT_TEXT, and a fix for GetStyle when position == length.

2009-11-26 17:17 VZ, revision 62722

Make wxFileDialog::Set/SetPath() behave consistently. wxFileDialog::GetPath() didn't return the value set by a previous call to SetPath() in wxMSW version. Fix this and also implement SetPath() and SetDirectory() methods in the generic versions in the same way as SetFilename(). Closes #3672.

2009-11-26 17:10 VZ, revision 62721

Fix off by 1 errors in owner-drawn menu drawing code in wxMSW. The label was offset by 1 pixel vertically and the check marks were 1 pixel too wide compared to the native ones under XP, correct this. Closes #11420 (again).

2009-11-26 16:59 VZ, revision 62720

Don't set wxTextAttr font family to invalid value. wxTextAttr::HasFontFamily() shouldn't return true if there is no valid font family in this attribute but this could happen if it was constructed from a font which didn't know its own family. This fixes asserts on the startup of the text sample in wxMSW due to passing wxFONTFAMILY_UNKNOWN to wxFont::SetFamily() when trying to use such invalid attribute later.

2009-11-26 16:59 VZ, revision 62719

Use wxTE_RICH style for the log window in the text sample. This makes it have nicer colour (white instead of grey by default) under MSW and wxTE_RICH was already in the code, just commented out -- it seems it's better to enable it (as it also allows more text to be shown in the control under old Windows versions) than to remove it.

2009-11-26 04:29 VZ, revision 62718

Explicitly set the cursor when showing popup menu on text control in wxMSW. Without this, an I-beam cursor is used when a menu is shown by a rich text control. Set the arrow cursor explicitly to work around this apparent bug in the native control. Closes #11314.

2009-11-26 03:34 VZ, revision 62717

No changes, just avoid overriding GetNativeFontInfoDesc() in wxMSW wxFont. wxFont::GetNativeFontInfoDesc() and GetNativeFontInfoUserDesc() were overridden just to ensure that the font is realized but it makes sense to do it in wxFontRefData::GetNativeFontInfo() itself as detecting the face name won't work if the font is not realized anyhow. And then we don't need these functions at all as the only thing they do is checking that the font is valid when they are called but this can be done in the base class itself as this should happen in all ports (document that this is the case).

2009-11-26 03:33 VZ, revision 62716

Return face name from wxFont::GetNativeFontInfo() under MSW. Retrieve the face name from the system if we don't have it already before returning the native font info. This fixes the currently failing font unit tests.

2009-11-26 02:51 VZ, revision 62715

Improve wxCheckListBox appearance under Vista/Win7. Fix the items alignment and also code cleanup: fix indentation, remove magic numbers &c. Closes #10286.

2009-11-25 15:17 VZ, revision 62713

Correct drawing of check marks for owner-drawn items without bitmaps. Standard check mark was not drawn correctly for check/radio items without bitmaps. Closes #11480.

2009-11-25 15:17 VZ, revision 62712

Correct alignment of menu accelerator strings in owner-drawn menus. Draw them right-aligned as the native menus do. Closes #11479.

2009-11-24 01:02 VZ, revision 62709

Don't use unsafe strcpy() when parsing wxNativeFontInfo. Fix a nice buffer overflow waiting to happen due to the use of wxStrcpy(). Call wxNativeFontInfo::SetFaceName() which uses wxStrlcpy() instead.

2009-11-24 01:02 VZ, revision 62708

Don't return italic/bold suffix from wxFont::GetFaceName() in wxMSW. These suffixes don't make part of the face name in wx API but the native MSW API which we use since r62675 does return them. This made the unit test fail in SettingsTestCase::GlobalFonts() as a face name with such suffix wasn't recognized as a valid face name any more, so simply remove them.

2009-11-24 01:01 VZ, revision 62707

Make the assert in SettingsTestCase::GlobalFonts() more informative. Show the index of the font and the face name which was invalid.

2009-11-24 01:01 VZ, revision 62706

Fix wxListCtrl::GetSubItemRect(wxLIST_RECT_ICON/LABEL) in wxMSW for column 0. Wrong width was returned for the icon or label rectangle when querying the first column. Fix this and add a test to the sample allowing to check this. GetSubItemRect() still returns wrong results for second and subsequent columns, see #11355.

2009-11-24 01:01 VZ, revision 62705

Don't change file access time implicitly when setting it explicitly. wxFileHandle helper class used in wxFileName::SetTimes() under MSW modified the file access time by setting it to the current time because it opened the file in a wrong mode. Closes #10567.

2009-11-24 01:01 VZ, revision 62704

Enable wxGraphicsContext and related classes by default if supported. For MSW, check for gdiplus.h availability when using configure but only support it for MSVC 7+ otherwise. For the other platforms, always support it.

2009-11-23 23:38 VZ, revision 62703

Use theme functions for drawing owner-drawn menus. This makes the menu items with custom attributes or bitmaps look more native, especially on post-XP systems. Closes #11420.

2009-11-23 10:34 JS, revision 62700

Made Unicode the default in symbols dialog.

2009-11-23 10:34 JS, revision 62699

Made Unicode the default in symbols dialog. Fixed wrongly sized symbols dialog.

2009-11-22 12:24 VZ, revision 62698

Define wxNO_RTTI if RTTI support is disabled for g++ or MSVC. For g++ it could have been possible to define wxNO_RTTI in configure itself but it seems better/simpler/more maintainable to do it in C++ code. As for MSVC, we already define wxNO_RTTI correctly if build/msw/makefile.vc is used but not if (modified or rebaked) project files are used and detecting RTTI support in the code is the only way to fix it.

2009-11-22 12:24 VZ, revision 62697

Document that throwing exceptions from wxTimer::Notify() is unsupported. Currently exceptions thrown from this function are not passed to wxApp:: OnExceptionInMainLoop() (unlike exceptions thrown from timer event handlers).

2009-11-22 12:00 SN, revision 62696

Fixed Cut&Paste error in wxTextCtrl::ChangeValue documentation (fixes #11469).

2009-11-21 18:02 SC, revision 62695

making sure creation is setup correctly for wx-frame coordinates into cocoa-content coordinates, fixes #11463

2009-11-21 12:39 JMS, revision 62694

Added a new documentation overview section 'Caveats When Not Using C++ RTTI', describing possible problems with Bind() and wxAny when C++ RTTI is disabled.

2009-11-21 10:28 JMS, revision 62693

Unified meaning of wxTypeIdentifier in RTTI and RTTI-less type info systems; Fixed and added some comments

2009-11-19 23:34 VZ, revision 62692

Fix compilation for some wxMSW configurations. wx/scopeguard.h was not always included when using PCH, so include it in any case, not just #ifndef WX_PRECOMP.

2009-11-19 22:16 JMS, revision 62691

Fixed builds without wxHAS_EVENT_BIND (typeinfo.h include was misplaced)

2009-11-19 20:27 JMS, revision 62690

Added typeinfo.h which implements wxTypeId, using C++ RTTI if available. wxAny and Unbind<>() code are updated to use it. Added and updated related unit tests.

2009-11-19 02:36 VZ, revision 62686

Compilation fix for wxUSE_STL build: another missing _str(). Use utf8_str() to convert wxString to GTK+ string instead of relying on implicit conversion which doesn't exist when wxUSE_STL==1 (and also when using wchar_t-based Unicode build).

2009-11-18 22:01 KO, revision 62683

Fix accidental commit of 2.8 ABI compat. code.

2009-11-18 20:22 KO, revision 62682

Rebake after last commit.

2009-11-18 20:05 KO, revision 62681

Forward port of r60190 (wxMSW Cairo support) to trunk.

2009-11-18 15:01 JS, revision 62680

Fixed #11212 [RichText sample] Assert/Crash when Styles combo box opened Patch by Catalin

2009-11-18 10:56 VZ, revision 62679

Suppress harmless g++ warnings about converting float/double to int. The conversion is done on purpose on these places so just suppress the warning by using explicit casts.

2009-11-18 10:56 VZ, revision 62678

Fix harmless g++ warning about using NULL for non-pointer. PostQueuedCompletionStatus() may be either an int or a pointer, pass 0 instead of NULL when we don't care about its value anyhow.

2009-11-18 04:45 VZ, revision 62677

Fix handling of invalid paths with multiple columns in wxFileName. SplitVolume() didn't handle colons in the initial position correctly which surprised SetPath() and led to accessing an out-of-range string element. Fix SplitVolume() and also add a check to SetPath() itself as it seems like it could be called with a path containing the volume only. Closes #11453.

2009-11-18 04:18 VZ, revision 62676

Remove unnecessary manual face name selection code. The change of r60391 made specifying the face name explicitly unnecessary but left the code which filled "facename" array in wxNativeFontInfo::SetFamily() with face names even though it was never used -- simply remove this code.

2009-11-18 04:18 VZ, revision 62675

Implement wxFont::GetFaceName() to return the face name being really used. Since the change of r60391 empty face name was returned for all fonts created using the standard wxFont constructor (so basically all fonts except for those created from native font info and the default/normal font which we retrieve from the system). Use Windows GetOutlineTextMetrics() function to get the real face name being used independently of the way the font was created.

2009-11-17 21:20 VS, revision 62674

Improved handling of anchors in wxHTML: scroll to better position (patch #11406).

2009-11-17 15:47 VZ, revision 62672

Fix typo in Bind() documentation: s/binded/bound/ Closes #11450.

2009-11-17 15:47 VZ, revision 62671

Explicitly document event types for EVT_CLOSE(). Closes #11445.

2009-11-16 22:57 BP, revision 62670

Backport of r62669 to 2.8 branch. Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)

2009-11-16 22:55 BP, revision 62669

Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)

2009-11-16 22:31 RD, revision 62668

Add some missing commas. Fixes #11443

2009-11-16 22:28 RD, revision 62667

Add some missing commas. Fixes #11443

2009-11-16 19:39 RR, revision 62666

Always set focus to the item selected using Select()

2009-11-16 16:03 VZ, revision 62665

Fix wxDataViewRenderer::GetEllipsizeMode() for kDataBrowserTruncateTextMiddle. The value of this constant is 0 so don't test for it using operator "&", it's just the default if no others are specified. Fixes assert on startup of the dataview sample.

2009-11-15 16:07 RR, revision 62664

Maybe fixed assertion when using built-in searching non-string columns

2009-11-15 15:54 RR, revision 62663

Don't use Ctrl-F as it hides a bug

2009-11-15 14:39 RR, revision 62662

Do earlier and better checking for matching actions and data format, hopefully fixes #11201

2009-11-15 13:05 SC, revision 62661

fixing typo for builds < 10.6

2009-11-15 11:29 RR, revision 62660

Disable GTK cast checks in wx code

2009-11-15 10:40 RR, revision 62659

Revert wxFlexGridSizer constr. change

2009-11-15 05:02 PC, revision 62657

look for backtrace() in -lexecinfo, fixes #9783

2009-11-15 02:36 KO, revision 62656

ShowWithoutActivating fix for OS X Cocoa, and also add support for shaped windows at least when the image being drawn has proper alpha/mask set. I'm not sure if we can support it by setting a region on the TLW, as the way to do this in Cocoa is just to make the TLW's background transparent and use alpha in whatever you draw.

2009-11-15 00:15 VZ, revision 62655

Implement support for wxSL_<DIR> in wxGTK, show them better in the sample. Support wxSL_{LEFT,TOP,RIGHT,BOTTOM} in wxGTL version of wxSlider. Make the display of the orientations in the slider page of the widgets sample more clear. Also document wxSL_<DIR> meaning better.

2009-11-15 00:15 VZ, revision 62654

No changes, just removed trailing spaces.

2009-11-15 00:15 VZ, revision 62653

Correct wxSL_VERTICAL addition in r62618. It was incorrectly added to the case label value instead of flags.

2009-11-15 00:14 VZ, revision 62652

Minor corrections to wxSL_LABELS definition and documentation. Use parentheses around the macro expansion to ensure that code like "whatever & ~wxSL_LABELS" still works as expected. Be more explicit in wxSL_LABELS description and mark wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL as being new in 2.9.1.

2009-11-14 22:50 RR, revision 62651

Restore ability to create wxFlexGridSizer with 2 params (number of columns and vertical gap)

2009-11-14 20:52 KO, revision 62650

Don't assert when we get wxBG_STYLE_TRANSPARENT.

2009-11-14 20:51 KO, revision 62649

Fix typo that broke compilation and adjust the defines to avoid an empty #if.

2009-11-14 19:56 RR, revision 62648

Hide value label explicitly

2009-11-14 18:34 VZ, revision 62645

Undo test code accidentally committed as part of r62643.