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

2010-01-25 19:47 JS, revision 63262

Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps a chance to initiate processing after a page is presented.

2010-01-25 18:12 SC, revision 63261

better wheel support

2010-01-25 18:12 SC, revision 63260

make sure we can override GetModality

2010-01-25 14:27 SC, revision 63259

adding wxWindow::Show in order to make the sheet showing its children as well

2010-01-25 14:26 SC, revision 63258

fixing building on iphone

2010-01-25 12:32 JJ, revision 63257

Update compile support for OpenVMS

2010-01-25 00:28 KO, revision 63254

Fix mistake, though this assert is unfortunate since now FindString("whatever") will always assert under OS X Cocoa, even when it would find and return the position correctly.

2010-01-24 20:09 SC, revision 63253

supporting auto-rotate for translucent statusbar

2010-01-24 15:15 VZ, revision 63252

Compilation fix after ownerdraw-refactor branch merge. Don't use HDC in public headers, it may not be declared there. Use WXHDC instead even if this means having ugly casts. This fixed mingw32 compilation (see #11595).

2010-01-24 12:51 VS, revision 63251

Fixed dialog units <-> pixels conversion. The computation is now identical to Windows native one. To achieve this, MSDN-recommended GetTextExtent() call is used instead of GetCharWidth(). wxMulDivInt32() is used instead of integer arithmetics to achieve correct rounding. Use toplevel parent's font instead of window's own. This makes more sense, as dialog units are defined for TLWs, not individual subcontrols. Also fixed wxMSW's wxButton::GetDefaultSize() to compute dialog units correctly.

2010-01-24 12:51 VS, revision 63250

Determine wxButton size correctly in wxMSW. Instead of using default size for default GUI font, use the default font for this dialog's current font.

2010-01-24 12:33 VZ, revision 63249

Fix bug in wxStringOutputStream unit test. We wrote an extra NUL byte to the stream and, unsurprisingly, contents of its buffer didn't match the original string resulting in the test failure. Also get rid of a #if wxUSE_UNICODE.

2010-01-24 12:33 VZ, revision 63248

Override IsSeekable() in wxString{Input,Output}Stream to return true. These streams are seekable but somehow IsSeekable() was never overridden for them resulting in test failures in Input_SeekI().

2010-01-24 12:33 VZ, revision 63247

Document that wxComboBox::Dismiss() and Popup() generate events. Currently these functions generate events in both of the existing implementations (GTK and MSW) so it is simpler to let them to continue to do it but this must at least be documented as this is probably unexpected by users.

2010-01-24 11:13 VZ, revision 63246

Correct UTF-32BE BOM detection in wxConvAuto. On the fly detection of the BOM was wrongly implemented for UTF-32BE in r63064 and returned BOM_None for it if we tried to read exactly 2 bytes. Fix this by returning BOM_Unknown if the first 2 bytes are NUL.

2010-01-24 11:13 VZ, revision 63245

Correct bug with returning 0 for non-empty input from wxConvAuto::ToWChar(). Since the changes of r63064 we could return 0 when asked to convert a non-empty buffer containing only a BOM. This confused the logic in wxTextInputStream::NextChar() and was generally unexpected so now return wxCONV_FAILED in this case.

2010-01-24 11:13 VZ, revision 63244

Check the result of ToWChar() call in wxTextInputStream::NextChar() better. The logic in this function depends on ToWChar() working correctly so check that it doesn't return obviously wrong results, e.g. 0 output length for non-empty input. This was mostly done to detect the problem in wxConvAuto currently but it could also be useful with user-defined conversions and shouldn't have a big performance effect on wxTextInputStream so leave these checks in to facilitate debugging in the future.

2010-01-24 10:13 VZ, revision 63243

Replace wxLogWarning()s in wxOSX wxComboBox code with asserts. This incidentally fixes compilation when not using PCH as wx/log.h was not included but is also more correct as the messages meant for the programmer, and not the user, should be given using asserts and not wxLog. Also correct some asserts messages. In particular, don't mention the function name in the message itself as it's already shown by the assert and using it in the string itself isn't useful and simply introduces the risk of forgetting to update it after refactoring, as happened here in r63105.

2010-01-24 02:00 VZ, revision 63242

Add wxComboBox::Popup() and Dismiss() to manually show or hide its popup. Add implementations for wxMSW and wxGTK. Closes #11506.

2010-01-24 02:00 VZ, revision 63241

No changes, just remove the strange "#if 1". This was apparently unintentionally added in r15050 to all files of the widgets sample and somehow survived in this one only until now.

2010-01-24 02:00 VZ, revision 63240

Fix sending of wxEVT_COMMAND_LIST_COL_DRAGGING events in wxMSW wxListCtrl. We were not getting HDN_TRACK from the system because apparently it is not sent for header controls with HDS_FULLDRAG style which is used by default by the native list control. A possible solution would be to forcefully unset this style but this would make the UI look old fashioned and less intuitive so instead send these DRAGGING events from HDN_ITEMCHANGING. Closes #9471,

2010-01-24 02:00 VZ, revision 63239

Move wx/evtloop.h from GUI_CMN_HDR to BASE_CMN_HDR in files.bkl. And rebake. Now that wxEventLoop can be used in wxBase as well, we need this file to be installed as part of wxBase too. Closes #11617.

2010-01-24 02:00 VZ, revision 63238

Fix wxHTTPStream::Eof() to return true for empty HTTP resources. Eof() never returned true when attempting to read an empty resource before. Closes #11596.

2010-01-24 01:59 VZ, revision 63237

Use a helper wxNEEDS_DECL_BEFORE_TEMPLATE symbol in wxStrcoll() workaround. The condition for which this workaround is needed has already changed once (see #11605) and may change again in the future as we test with more compilers so use a symbolic name for it. No real changes otherwise.

2010-01-24 01:59 VZ, revision 63236

Apply workaround for wxStrcoll() template for g++ to 3.4 too. At least mingw32 version of g++ 3.4.5 needs the same workaround to be able to compile wx. Closes #11605.

2010-01-23 23:45 KO, revision 63235

Fix for generic implementation.

2010-01-23 22:17 KO, revision 63234

Fix for non-Mac builds.

2010-01-23 21:10 KO, revision 63233

Remove assert that was used during testing while changing style flags.

2010-01-23 21:06 KO, revision 63232

Start on ShowWindowModal for OS X Cocoa. Not working properly as children do not display.

2010-01-23 16:25 VZ, revision 63231

Output wxT() and not _T() in code generated by wxrc. Also use wxT() in wxrc.cpp itself, just to be sure that there are no other occurrences of _T() left. Closes #11649.

2010-01-23 14:44 VZ, revision 63230

Add virtual wxSizer::DoInsert() to replace Insert(). This allows to avoid problems with hiding all but the overridden overloads of Insert() in wxSizer-derived classes, see #11616, without having to explicitly write any using statements. Keep Insert(size_t, wxSizerItem) virtual to allow the existing code overriding it to keep working.

2010-01-23 14:22 VZ, revision 63229

Allow to not create wxPaintDC in EVT_PAINT handler in wxMSW. Failure to create a wxPaintDC in EVT_PAINT handler resulted in many serious and difficult to debug problems under wxMSW. We used to document that the user shouldn't do it but this wasn't enough (see #11648). We could also assert if we detected that a handler didn't create a wxPaintDC but it seems better to just handle this case gracefully for consistency with the other platforms. Add wxDidCreatePaintDC global variable which is reset before generating wxPaintEvent and set to true when ::BeginPaint() is called from wxPaintDC ctor and validate the update region of the window ourselves if it wasn't set (meaning that wxPaintDC wasn't created). Update the documentation to emphasize the link between EVT_PAINT handlers and wxPaintDC but without saying that wxPaintDC object must always be created in the handler as this is not true any more.

2010-01-23 14:22 VZ, revision 63228

Don't crash when input is empty in wxFileConfig(wxInputStream) ctor. Fix crash due to dereferencing a NULL pointer when the input buffer in wxFileConfig ctor is empty. Closes #11636.

2010-01-23 14:22 VZ, revision 63227

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

2010-01-23 14:22 VZ, revision 63226

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

2010-01-23 14:21 VZ, revision 63225

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.

2010-01-23 14:21 VZ, revision 63224

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

2010-01-23 14:21 VZ, revision 63223

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.

2010-01-23 14:21 VZ, revision 63222

Fix calculation of the margins for owner-drawn menu items. Take into account the widths of the bitmaps properly. Closes #11268.

2010-01-23 14:21 VZ, revision 63221

Set up menu bitmaps correctly for checkable items. We must not set MENUITEMINFO::hbmpItem for the checkable items as it would then be used for both checked and unchecked state. Closes #11244.

2010-01-23 14:21 VZ, revision 63220

Refactor owner-drawing code. Only keep common code in the base class and extract all menu/listbox-specific stuff into derived classes. This makes the code cleaner and more maintainable but introduces some problems in wxCheckListBox appearance which will be fixed by the next patch. Closes #10635.

2010-01-23 14:20 VZ, revision 63219

Return old, not new, selection from wxMSW wxNotebook::ChangeSelection(). The function is documented to return the old selection and not the new one, so correct it to behave as expected. Closes #11646.

2010-01-22 23:01 VZ, revision 63218

Fix harmless g++ 4.3 warning about "suggested braces".

2010-01-22 23:01 VZ, revision 63217

Don't place NULL pointers in the GDK window array in GTKGetWindow(). This avoids an assert in GTKUpdateCursor() later on. Backport of r60458 from trunk.

2010-01-22 22:24 RD, revision 63213

Print the configure command

2010-01-22 22:24 RD, revision 63212

Use DESTDIR for installing to a location other than the prefix. Fixup install_name_tool usage.

2010-01-22 16:52 JJ, revision 63204

Correction on previous commit: statement order corrected

2010-01-22 08:55 JJ, revision 63203

Get wxDC defined when nescessary

2010-01-20 03:07 KO, revision 63197

Handle the case of NSNotFound result properly.

2010-01-20 01:17 VZ, revision 63195

Disable size grip for TLW status bar if TLW is not resizeable. wxSTB_SIZEGRIP is part of default status bar style but it doesn't make sense for non-resizeable TLWs, so turn it off in this case.