Changelogs

Overview

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

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2011-03-14 12:54 VZ, revision 67185

Allow wxThread::Wait() and Delete() to block, even under wxMSW. Add "wait mode" parameter to these methods which can be used to make them block even under wxMSW where they currently dispatch messages when called which can be totally unexpected. Do keep the old behaviour for compatibility however, although it will change i 3.2. Closes #12998.

2011-03-14 12:54 VZ, revision 67184

Respect alignment flags for owner-drawn buttons in wxMSW. Honour wxBU_{LEFT,RIGHT,TOP,BOTTOM} flags for owner drawn buttons too, this ensures that you can both change the colour and align the text differently for buttons under XP and later. Closes #12995.

2011-03-14 11:27 JS, revision 67183

Added initialisation and checks

2011-03-14 11:27 JS, revision 67182

Added initialisation and checks

2011-03-13 14:53 VZ, revision 67181

Added precision parameter to wxString::From[C]Double(). Optionally support fixed precision in wxString::FromDouble() and FromCDouble() methods. This is mostly useful for the latter to be able to format numbers in portable way (using dot as decimal separator) without loss of precision but also do it for the former for consistency. Closes #12973.

2011-03-13 14:53 VZ, revision 67180

No changes, just correct a wrong trailing comment in #else. The test meaning was inverted.

2011-03-13 14:33 VZ, revision 67179

Document wxTE_MULTILINE support in wxTextEntryDialog. It wasn't immediately obvious that this dialog could be used for multiline text entry too so mention it explicitly in the documentation. Also show this in action in the dialogs sample.

2011-03-13 10:32 JMS, revision 67178

wxComboCtrl and wxOwnerDrawnComboBox had incorrect (edge) background colour under some GTK+ themes

2011-03-12 16:57 SC, revision 67174

add external utf16 text type explicitely, as it otherwise gets treated like plain-text

2011-03-12 16:19 PMO, revision 67173

Move/Position the controls after they have been created

2011-03-12 16:05 PMO, revision 67172

Added QtTest library and '-fmessage-length=0' for easier error parsing

2011-03-11 20:54 SC, revision 67170

supporting 24 and 64 sizes via scaling up

2011-03-10 19:56 SC, revision 67168

under cocoa a too-small static box leads to erroneous layout information, therefore use fixed code layout info, fixes #13006

2011-03-10 19:55 SC, revision 67167

safeguard against not-yet-shown view which leads to crashes under OSX

2011-03-09 18:22 PC, revision 67164

add wxEVT_MAXIMIZE support to wxGTK

2011-03-09 17:35 VZ, revision 67163

Make brush hatches in wxGTK consistent with wxMSW. The cross, vertically and horizontally hatched brushes used 4 pixels between the hatches in wxGTK but 7 in wxMSW which was very noticeable. Use the same pattern in wxGTK as MSW uses (as we can't change it there anyhow). Closes #13029.

2011-03-09 17:35 VZ, revision 67162

Correct the name of the header for GTK+ < 2.14. Remove the extra ".h" suffix added during recent GTK+ 3-related changes.

2011-03-09 17:35 VZ, revision 67161

Add tests of other hatched brushes to the drawing sample. Test wxCROSS_HATCH, wxVERTICAL_HATCH and wxHORIZONTAL_HATCH brushes and not only the wxCROSSDIAG_HATCH one. See #13029.

2011-03-09 17:35 VZ, revision 67160

Don't pop up annoying message box in the drawing sample. The rubber banding selection message box was shown even after a simple click, i.e. when nothing was actually selected which was quite annoying, so don't do this. Also remove unnecessary casts and use wxLogMessage() instead of wxString::Printf() + wxMessageBox().

2011-03-09 11:07 VZ, revision 67159

Corrections to wxTextCtrl::HitTest() documentation. Fix the signature of the overload returning row and column which got corrupted during transition to Doxygen and document the overload returning the position as well. Also document all the parameters. Closes #12954.

2011-03-09 10:44 VZ, revision 67158

Send wxEVT_COMMAND_DATAVIEW_CACHE_HINT to proper window. The event was sent to wxDataViewCtrl parent instead of the control itself for some reason, fix this. Closes #13020.

2011-03-09 10:40 VZ, revision 67157

Mention that wxEVT_MAXIMIZE is only generated by a few ports. Currently only wxMSW, wxOSX/Cocoa and wxOS2 generate this event. Notably wxGTK does not. See #13022.

2011-03-09 10:40 VZ, revision 67156

Correct EVT_MAXIMIZE macro name in wxTLW documentation. EVT_ACTIVATE was mistakenly used instead. See #13022.

2011-03-09 10:28 VZ, revision 67155

Fix search for item by text in wxMSW wxListCtrl. LVN_ODFINDITEM handler could enter infinite loop if its selection was 0 and a key not matching any of the items first letters was pressed. Rewrite the loop in a simpler form to ensure that it is correct. Also clarify some comments. Finally, fix the behaviour when no matching item was found (if it didn't hang in infinite loop, it used to select the first item in the control). Closes #13026.

2011-03-09 10:28 VZ, revision 67154

Don't assert if starting search position in LVN_ODFINDITEM is invalid. Just use wxLogDebug() if this happens, asserting here is not the right thing to do as it doesn't indicate an error in the program but rather invalid external input and, moreover, we can recover from it easily. No changes in behaviour in normal case.

2011-03-08 18:22 VZ, revision 67151

Add another missing #if wxUSE_MARKUP check. The definition of DoSetLabelMarkup() should only be compiled when wxUSE_MARKUP==1.

2011-03-08 18:22 VZ, revision 67150

Czech translation update from Zbynek Schwarz. Fix some incorrect terms.

2011-03-08 15:47 JS, revision 67149

Fixed a hang in wxYield caused by menubar fix sending size events in a loop. Now only resizes the frame's contents if the menubar has changed height, to avoid triggering the loop.

2011-03-07 21:26 SC, revision 67146

support app activated and deactivated events, also bring back float_on_parent windows to normal level on deactivate to avoid behaving like stay_on_top

2011-03-07 20:04 SC, revision 67144

window level support

2011-03-07 18:31 SC, revision 67143

bracket unused function

2011-03-07 14:02 JMS, revision 67142

To prevent wxPropertyGrid from stealing frocus from other controls, only let SetFocusOnCanvas() move focus to the main grid 'canvas' if focus was already in on the grid's child controls

2011-03-07 13:07 VS, revision 67141

gtk/gtkunixprint.h only exists since GTK+ 2.14.

2011-03-06 19:22 VS, revision 67137

Don't directly include GTK+ semi-public headers. Only the main headers (e.g. gtk/gtk.h) should be included and GTK+ 3 is strict about this. Enable compile-time checks for this that work with GTK+ 2.24.

2011-03-06 19:22 VS, revision 67136

Include gdk/gdkkeysyms-compat.h. GTK+ 2.22 changed GDK_* keysym constants to GDK_KEY_* and introduced a new header for the old names. This header must be explicitly included in GTK+ 3, so do it for now. In the long run, we should migrate to the new names.

2011-03-06 16:27 SC, revision 67135

use FixedToFloat everywhere to make sure we don't round too early, preserve fractional width with CoreText as well

2011-03-06 16:24 SC, revision 67134

position buttons to the right on OSX as well

2011-03-06 15:49 SC, revision 67133

fix positioning bug with window disabler and hidden windows

2011-03-06 10:09 JS, revision 67132

Fixed #13017: wxRichTextCtrl CopyToClipboard regression

2011-03-05 20:57 PMO, revision 67131

Update to trunk r67129

2011-03-05 19:36 SC, revision 67130

merge error

2011-03-05 13:21 SC, revision 67129

support wxWindowDisabler on osx_cocoa

2011-03-05 12:16 VZ, revision 67128

Add a dependency of wxUSE_TASKBARICON on wxUSE_MENUS. PopupMenu() method of wxTaskBarIcon doesn't make much sense without wxMenu.

2011-03-05 12:16 VZ, revision 67127

Don't initialize wxGBSpan with invalid values in wxGBSizerItem. Default wxGBSizerItem ctor initialized wxGBSpan with invalid values which resulted in an assert when loading wxGBSizer from XRC since r66964. Fix this by simply using the default wxGBSpan ctor instead. Closes #13004.

2011-03-04 17:36 SC, revision 67125

fixing a CG error during construction on 10.6, resizing the client area so that the content doesn't extend over the shape's boundingbox at the right and the bottom

2011-03-03 22:24 PMO, revision 67121

Improved creation of controls

2011-03-03 18:51 PC, revision 67120

fix Activate signature after r67099

2011-03-03 16:09 JS, revision 67119

Fixed crash on exit caused by deleting old logger in wxLogChain dtor.

2011-03-02 22:17 SC, revision 67114

proper focus lost for multiline textfields and having all demanding a focusrect

2011-03-02 22:16 SC, revision 67113

the wx part knows better whether it has the focus (may be the embedded NSView, not the m_peer)

2011-03-02 21:55 JS, revision 67112

Fixed a problem with paste resetting the content paragraph style.

2011-03-02 21:55 JS, revision 67111

Fixed a problem with paste resetting the content paragraph style.

2011-03-02 17:23 SC, revision 67110

move accel handling in front of the normal keyDown handling, support non-command menu accels

2011-03-02 17:21 SC, revision 67109

move accel handling in front of the normal keyDown handling

2011-03-02 16:43 SC, revision 67108

supporting more key equivalents for display, fixing setHidden: method warning

2011-03-02 16:42 SC, revision 67107

removing code that will not have to be updated

2011-03-02 11:29 VZ, revision 67106

Japanese translations update from Suzumizaki-Kimitaka. See #13003.

2011-03-02 11:28 VZ, revision 67105

Japanese translations update from Suzumizaki-Kimitaka. Closes #11773. Closes #13003.

2011-03-02 11:28 VZ, revision 67104

Fix typo in wxStack<T> documentation. I somehow managed to misspell wxStack<T> as wxSort<>. Closes #13002.

2011-03-02 11:15 VZ, revision 67103

Add missing wxUSE_MARKUP checks in wxOSX code. Don't define wxWidgetImpl::SetLabelMarkup() when wxUSE_MARKUP is off and definitely don't reimplement it in wxButtonCocoaImpl as this code doesn't compile without markup support.

2011-03-01 22:29 DS, revision 67101

Improved palette handling with saving PNG files. Instead of converting alpha to a mask an attempt is made to write a palettised PNG file with an ARGB palette using a maximum of 256 transparency values where formerly just up to one was supported. GIF images with 256 colours and transparency can now also be saved as a palettised PNG instead of true colour, making the image a lot smaller. Applied (modified) patch by troelsk. Closes #12850.

2011-03-01 13:16 VS, revision 67099

Pass wxRect/wxPoint arguments to wxDataViewCustomRenderer by reference. Instead of passing them by value, use const reference. This change is safe to do, because these methods' signatures were different in 2.8 anyhow.

2011-03-01 13:16 VS, revision 67098

Fixed typo.

2011-03-01 01:02 VZ, revision 67095

Relax the restriction on the number of colours in wxMSW wxPalette. Refuse to create palettes with more than 65536 colours and not 256 ones. It doesn't seem very useful to use more than 256 of them anyhow as any colours above index 255 can't be accessed via GetRGB() but don't break the palette creation with more colours in the stable branch without a good reason, maybe someone makes some use of this.

2011-02-28 22:23 VS, revision 67094

Toggle checkboxes in generic wxDataViewCtrl with single click. Both GTK+ and OS X native controls use single click to toggle checkboxes, instead of double-click activation used by the generic version. So does wxCheckListBox on Windows, so make wxDVC behave the same way. See #11185.

2011-02-28 22:23 VS, revision 67093

Get rid of WXGetAsCustom(). Instead, have WXOnActivate() and WXOnLeftClick() with same signatures as their public API counterparts and just call Activate/LeftClick() from them for wxDataViewCustomRenderer. This accomplishes the same thing, but makes it easier to override behaviour in wx's internal implementations of renderers.

2011-02-28 22:23 VS, revision 67092

wxDataViewCtrl: Fully prepare renderer for Activate() call. Instead of just setting the value in the generic implementation, do full preparation (incl. attributes etc.) as everywhere else.

2011-02-28 20:46 SC, revision 67091

adding hour constant to carbon build

2011-02-28 20:29 SC, revision 67090

fixing non-precomp headers

2011-02-28 15:47 SC, revision 67088

disable cursorRects for global busy state

2011-02-28 15:39 SC, revision 67087

avoid setting live cursor during busy state

2011-02-28 14:44 SC, revision 67086

add watch cursor to osx_cocoa

2011-02-28 13:14 SC, revision 67085

don't swallow command events that are not handled by accels, fixes #12373

2011-02-28 11:12 SC, revision 67084

adding taskbar implementation for statusitem (menubar) and dock, fixes #12838

2011-02-28 11:10 SC, revision 67083

moving appdelegate declaration to header

2011-02-28 11:07 SC, revision 67082

make sure the quit item is only shown where appropriate on osx

2011-02-28 10:26 SC, revision 67081

osx_cocoa supports both kind of taskbaricons in the menubar (standard) and as function of the dock (type DOCK)

2011-02-27 21:38 SC, revision 67078

make sure 10.4 command-key events are routed via the wx-accelerator route as well, fixes #12373

2011-02-27 19:36 VZ, revision 67077

Use single quotes in wxMarkupText unit test to work around VC6 bug. VC6 seems to have a strange bug with escaped quotes used in strings passed to macros and failed to compile the original code with nonsensical error messages. Use single quotes to try to work around this issue. They are also somewhat more readable as they don't need to be escaped inside C strings.

2011-02-27 19:36 VZ, revision 67076

Add a trivial virtual dtor to wxMarkupParserOutput. This class isn't really supposed to be used polymorphically but add a virtual dtor just to suppress g++ warning about it.

2011-02-27 19:36 VZ, revision 67075

Another fix for PCH-less build in markup code. Include wx/control.h to use wxControl::RemoveMnemonics() and FindAccelInIndex().

2011-02-27 16:09 DS, revision 67074

Fixed drawing glitch with vertical MSW toolbars. In case of a certain amount of whitespace at the bottom of a vertical toolbar it would not be drawn correctly: the more whitespace the more painting would be clipped starting from the left (covering the whole height of the toolbar) until the toolbar would look completely empty. This was reproducible using the toolbar sample, setting the toolbar on the left or right edge of the window and then increasing the height of the window sufficiently. Regression since r62971.

2011-02-27 15:01 VZ, revision 67073

Replace template function with template class to placate VC6. VC6 has very poor support for template functions and in particular doesn't understand explicitly choosing the type of the function to call so replace template DoApplyToFont() function with FontModifier template class in wxMarkupParserAttrOutput implementation.

2011-02-27 14:17 VZ, revision 67072

Fix for PCH-less build in markup code. Include wx/log.h to use wxLogDebug().

2011-02-27 14:10 VZ, revision 67071

Refuse to create palettes with more than 256 colours. Creating palettes with more than USHRT_MAX could result in memory corruption and there is really no reason to allow more than 256 of them anyhow as we already check that the color index is in 0..255 range in GetRGB().

2011-02-27 13:48 VZ, revision 67070

Update markup support documentation. Mention that wxButton and wxStaticText now support markup in all major ports (using the generic version of the latter under MSW). Also mention markup changes in the change log.

2011-02-27 13:48 VZ, revision 67069

Add markup support to wxOSX/Cocoa wxStaticText and wxButton. Add wxMarkupToAttrString helper that converts wx markup to OS X attribute strings and use it in wxStaticText and wxButton. This required adding new SetLabelMarkup() method to wxWidgetCocoaImpl, it seems to make sense to have it there as it could be implemented by more controls in the future.

2011-02-27 13:48 VZ, revision 67068

No real changes, just make wxColour::OSXGetNSColor() const. There is no reason to not allow calling this method on const wxColour objects.

2011-02-27 13:48 VZ, revision 67067

Add markup support to generic wxStaticText implementation. wxMarkupText allows to easily support markup in the controls that we draw ourselves so use it in wxGenericStaticText to have a possibility to use markup on all platforms, even those where there is no native markup support in wxStaticText itself.

2011-02-27 13:48 VZ, revision 67066

Implement support for markup labels for wxGTK wxButton. Simply directly set the markup for the GtkLabel used by GtkButton internally.

2011-02-27 13:48 VZ, revision 67065

Add markup support to wxMSW wxButton and show it in the sample. Use recently added wxMarkupText to implement support for markup in wxMSW wxButton. Update the button page of the widgets sample to show markup support.

2011-02-27 13:48 VZ, revision 67064

Add generic wxMarkupText class implementing handling of markup. wxMarkupText is a private class that implements generic handling of markup strings, i.e. can measure them and render them onto a wxDC. This class will be used for markup support in wxMSW wxButton. Also add wxMarkupParserAttrOutput which will be useful for other wxMarkupText implementations.

2011-02-27 13:48 VZ, revision 67063

Add wxDC::GetFontMetrics() and implement it for wxMSW. Add a new wxDC method allowing to retrieve the font characteristics not available from GetTextExtent(), notably the internal leading (and also the average font width). Currently this is implemented for wxMSW only, the internal leading is always 0 in the other ports.

2011-02-27 13:48 VZ, revision 67062

Add wxUSE_MARKUP and wrap SetLabelMarkup() in it. Make it possible to disable all the new markup-related code by setting wxUSE_MARKUP to 0 in setup.h or using configure --disable-markup option.

2011-02-27 13:47 VZ, revision 67061

No changes, just add a couple of #if wxUSE_COMMANDLINKBUTTON tests. Don't even declare m_chkCommandLink if we have no support for command link buttons in the library.

2011-02-27 13:47 VZ, revision 67060

Draw the underline 1 pixel higher in wxDC::DrawLabel(). Adjust the height of the underline to be compatible with native MSW behaviour. Notice that in wxGTK we should use pango_font_metrics_get_underline_position() to get the font-dependent value that should be used here.

2011-02-27 13:47 VZ, revision 67059

Restore height tweaking in wxMSWButton::GetFittingSize(). The change of r66893 was wrong, we do need to adjust the button height here because the increase to standard height is not enough if we use bigger fonts that require making taller buttons. The real problem was the use of EDIT_HEIGHT_FROM_CHAR_HEIGHT() which added too much to the height, so replace it with something based on the actual font height. This is still arbitrary but slightly better.

2011-02-27 13:47 VZ, revision 67058

Initialize wxButton::m_authNeeded in ctor and not Create() in wxMSW. Ensure that the member is always initialized as calling GetAuthNeeded() for a default-constructed button would access a non-initialized variable before.

2011-02-27 13:47 VZ, revision 67057

No changes, just do wxButton fields initialization in Init() in wxMSW. Add a helper function called from ctors and initialize m_imageData in it instead of doing it in each ctor -- this will be more important when we add more wxButton members.

2011-02-27 13:47 VZ, revision 67056

No changes, just move wxMSW wxButton::MakeOwnerDrawn() around. Put this method in the existing private section at the end of the class instead of having an extra access specifier just for it for some reason. Also add a comment explaining what it does and when is it used.