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-03-20 13:45 VZ, revision 63720

Fix some harmless unused parameter warnings. These warnings only happen in specific builds (when HAVE_LANGINFO_H and wxUSE_DISPLAY are undefined/off). See #11817.

2010-03-20 13:45 VZ, revision 63719

Check whether SA_RESTART is defined and don't use it if it isn't. SA_RESTART is not defined for QNX and not only VMS so test for it directly instead of testing for the platform. See #11817.

2010-03-20 13:45 VZ, revision 63718

Include sys/time.h from threadpsx.cpp for all systems. It's needed by Linux and QNX and shouldn't do any harm under the others. See #11817.

2010-03-20 13:45 VZ, revision 63717

Add support for QNX to dialup detection code. See #11817.

2010-03-20 13:45 VZ, revision 63716

Always include sys/time.h and sys/select.h from selectdispatcher.h. fd_set used by this header is supposed to be defined in sys/select.h and not including this header resulted in compilation problems under QNX. And including sys/time.h shouldn't hurt and is needed by select() under many systems anyhow. See #11817.

2010-03-20 13:45 VZ, revision 63715

Define wxGraphicsRenderer::GetDefaultRenderer() for all non-{MSW,Mac} ports. wxGraphicsRenderer::GetDefaultRenderer() was only defined for wxGTK for some reason but it needs to be defined in terms of GetCairoRenderer() for all ports without native renderer implementation, i.e. everything but wxMSW and wxMac. See #11817.

2010-03-20 13:45 VZ, revision 63714

Remove duplicate variable definition. The splitterX variable in wxPropertyGrid::HandleMouseMove() was defined twice with the same value, remove the second definition to avoid warnings about shadowing the variable in outer scope from some compilers. See #11817.

2010-03-19 23:35 FM, revision 63713

Fix various doxygen warnings

2010-03-19 10:57 VZ, revision 63712

Postpone initialization of owner-drawn menu metrics. Doing it during globals initialization time didn't work and could even result in a crash due to dereferencing a NULL wxTheApp pointer. Closes #11806.

2010-03-18 18:12 JMS, revision 63711

Clarify documentation for wxPropertyGridEvent::GetProperty()

2010-03-18 16:51 VZ, revision 63710

Return exit code as signed integer from wxExecute(wxEXEC_SYNC). The caller expects the function to return -1 if the child process exited with -1 error code and not 255 that was returned before. The function is also documented as returning -1 if the execution fails which wasn't true neither. Fix this by explicitly handling the exit code as signed. Closes #11824.

2010-03-18 16:14 VZ, revision 63709

Compilation fix for wxOS2 with Watcom. Assign BYTE* to pData variable in wxMenu::DoInsertOrAppend(), not char*.

2010-03-18 16:07 VZ, revision 63708

Ensure that setting wxChoice height to its default value does set it. Setting wxChoice height to its default value didn't change the height even if the current height was different from the default. This resulted in problems when a wxChoice was used inside a wxAuiToolBar because AUI temporarily reduces the toolbar size to (1, 1) when docking it (thus ensuring that the height of wxChoice is changed too) and generally didn't make sense. Fix this by resetting the height to the default value if the value passed to wxChoice::SetSize() is what it considers to be its default height. Add a unit test for this bug and also add a wxChoice to AUI sample to allow testing for wxChoice behaviour inside a wxAuiToolBar being [un]docked.

2010-03-18 16:07 VZ, revision 63707

Remove wxAuiProportionalBoxSizer hack and replace it with wxBoxSizer. The temporary workaround due to wxBoxSizer changes in 2.9.0 is not needed any more, revert r59889 and use wxBoxSizer instead of custom wxAuiProportionalBoxSizer again.

2010-03-18 16:07 VZ, revision 63706

Fix box sizer layout algorithm to respect both proportions and min sizes. The new version of the algorithm tries to distribute the entire space allocated to the sizer among its children, just as the version in 2.8 did, while still respecting minimal children sizes first and foremost. This means that the space allocated to the item will always be at least its minimal size if the total space is at least equal to the sum of minimal sizes of the children but that if there is enough space, the proportions will be respected too. Extended the unit test to check that laying out various combinations of three elements results in the expected results. Closes #11311.

2010-03-18 16:07 VZ, revision 63705

Ensure that size in the minor direction of box sizer doesn't exceed the total. This is similar to the previous commit but for the transversal direction of a box sizer: we could give an item size larger than the size of the sizer itself making only part of its window visible (and thus potentially making the window unusable e.g. because the scrollbar wasn't visible at all). Fix this by always restricting the item size in the minor direction to the total size available and add a unit test which failed previously and passes now.

2010-03-18 16:07 VZ, revision 63704

Ensure that size in the major direction of box sizer doesn't exceed the total. After fixing the problem with "growing items by negative proportion" in r56010 (which still was the correct thing to do as it fixed such indefensibly broken behaviour as shrinking items with larger proportion by more than "smaller" items when there was not enough space) the items in a box sizer could become larger than the total space allocated to the sizer resulting in only parts of them being visible. Fix this by truncating the items to the (remaining) total size even if this means making them less than their minimal sizes -- because there is nothing else we can do when the total space is smaller than the sum of minimal sizes anyhow. Closes #10008.

2010-03-18 16:07 VZ, revision 63703

Add (a very simple for now) wxBoxSizer unit test. Only check that layout for a single sizer item works correctly for now.

2010-03-18 16:02 VZ, revision 63702

Czech translation update from Herbert Breunung.

2010-03-17 19:17 JMS, revision 63700

Use explicit wxPGPropertyFlags enum type with wxPGProperty::SetFlag() and similar member functions (thus preventing use of incorrect set of flags). Also now document wxPGProperty flags.

2010-03-17 10:13 SC, revision 63699

fixing non-precomp builds

2010-03-17 09:05 SC, revision 63698

adding proper removal of observer for stacked event loops, using cfrunloop for console on osx as well

2010-03-17 08:14 SC, revision 63697

streamlining OSX event support third step, using platform specific native run methods for event loops

2010-03-16 20:13 RR, revision 63694

Don't use grouping of different methods as this creates confusing output

2010-03-16 15:48 VZ, revision 63693

Add white outline to bulls eye cursor used under MSW. The cursor used black circles only making it perfectly invisible on black background. Add a white outline as well to ensure that it can be seen in this case too, similarly to how it's done for magnifying glass cursor and the same bulls eye cursor in GTK+.

2010-03-16 01:23 VZ, revision 63690

Initialize picker style in native GTK file/dir pickers. This fixes the styles used in the native wxGTK version after changes in r63654: we must initialize base class m_pickerStyle now and the code didn't do this before resulting in various asserts and incorrect behaviour.

2010-03-15 20:31 SC, revision 63689

streamlining OSX event support second step, moving pending and idle event handling to runloop-observer, see #11805, see #11797

2010-03-15 16:40 SC, revision 63687

streamlining OSX event support first step, see #11805, see #11797

2010-03-14 18:15 JMS, revision 63686

Fixed label editor position for child properties

2010-03-14 15:47 VZ, revision 63685

Fix test for compilers not supporting \u escapes in strings (such as VC6). Also reformat the code to follow wx style and explicitly use UTF-8 for the test strings encoding instead of assuming the encoding of the current locale was UTF-8 (which is never the case under Windows).

2010-03-14 15:44 VZ, revision 63684

Set correct properties for the new file added in r63660.

2010-03-14 15:15 VZ, revision 63683

Use an appropriate icon automatically in wxMSW wxMessageDialog. wxMessageBox() functions uses wxICON_QUESTION or wxICON_INFORMATION automatically if no other icon style (including wxICON_NONE) is specified but wxMessageDialog under MSW didn't do this, unlike under e.g. wxGTK. Fix this by also determining the appropriate icon automatically in wxMessageDialog itself in wxMSW. Ideally we'd do this in all ports wxMessageDialog implementations and remove the code doing it from wxMessageBox() but right now it's still needed for the platforms other than wxMSW and wxGTK.

2010-03-14 15:15 VZ, revision 63682

Document that message box with wxYES_NO but without wxCANCEL can't be closed. Recommend using these styles together to avoid it.

2010-03-14 15:15 VZ, revision 63681

Add a "not specified" icon style to the message box test dialog. The sample allowed to test the behaviour with all wxICON_XXX including wxICON_NONE but not without any icon styles at all. Do allow it now. Also use symbolic names for the radiobox indices for clarity.

2010-03-13 22:58 VZ, revision 63680

Use event tables instead of Bind() in uiaction sample. This should fix VC6 build broken by addition of this sample as VC6 doesn't support Bind(). Luckily, there is no need to use it here anyhow.

2010-03-12 23:59 VZ, revision 63664

Add minimal support for QNX to configure. Recognize QNX and define __QNX__ under it. Don't use -lpthreads as the thread functions are in libc under QNX. Use wxX11 by default. See #11790.

2010-03-12 15:38 JMS, revision 63663

Fixed property editor re-positioning when additional column editor (e.g. label editor) is used

2010-03-12 10:36 VZ, revision 63662

Revert unneeded fix for list control headers from r63177. The call to SetItemMinSize() shouldn't be needed and the latest OS X version does work correctly without it. Apparently the real bug was fixed somewhere else in the meanwhile. Closes #11309.

2010-03-12 10:27 VZ, revision 63661

Correct query for formats supported by wxDataObject in wxGTK wxClipboard. We wrongly asked wxDataObject for the formats it could provide on output instead of those it accepted as input in wxClipboard::GetData() in wxGTK. This could result in clipboard not working for "asymmetrical" data objects. See #11811.

2010-03-10 14:57 FM, revision 63660

Fix function wxControlBase::DoEllipsizeSingleLine to really make sure that the ellipsized string takes less pixels than maxFinalWidthPx. Add comments to explain in more details what the function does and in particular the valid ranges of all internal variables; fix in that regard both the code of both wxELLIPSIZE_START, wxELLIPSIZE_MIDDLE and wxELLIPSIZE_END. Add more asserts to check the valid ranges and turn a couple of time-expensive checks in level-2 asserts. Add a test unit for the wxControl::Ellipsize function. Fix minor details in the docs of wxControl::Ellipsize. Closes #11567.

2010-03-10 12:07 FM, revision 63659

no real changes, just rename the variables to make the code more readable and to prepare everything for the next commit: - add postfix "Px" to all variables containing numbers of pixels - add postfix "ToRemove" to initialChar and nChars vars to make it clear what they are for

2010-03-09 12:08 VZ, revision 63658

Use _UNICODE instead of UNICODE in wx/msw/winundef.h. This is consistent with the other checks and generally more correct.

2010-03-09 00:34 VZ, revision 63655

Another German translation update from Herbert Breunung. German translation is now 100% complete again.

2010-03-08 20:37 VZ, revision 63654

Use correct style for the dialog shown by generic file/dir pickers. The picker styles don't make sense for the button so we don't use them when creating the button but we do need to somehow use the style the picker was created with to create an appropriate dialog when it's clicked. Fix the problem by simply storing the style in a member variable and using it instead of wxWindow::m_windowStyle. Closes #11635.

2010-03-08 13:21 VS, revision 63653

Fix wxTlsValue<> memory leaks. Win32 API doesn't provide pthreads-like destructors, so we need to emulate them to free per-thread allocated memory.

2010-03-08 12:08 SC, revision 63652

pending events detected didn't work properly, go the safe route now, fixes #11797

2010-03-07 17:03 FM, revision 63650

Provide more details about the major and minor version numbers returned by wxGetOsVersion() under linux,mac,windows. Document that wxOS_UNIX, wxOS_MAC and wxOS_WINDOWS enum values are combinations of other values (unfortunately doxygen does not show the definition of those symbols in the HTML docs so we need to explicitely state that).

2010-03-07 12:37 VZ, revision 63649

German translations update from Herbert Breunung.

2010-03-07 11:46 VZ, revision 63648

Skip wxChildFocusEvent in wxAuiNotebook handler. There doesn't seem to be any good reason to eat the event in this handler, leave it for the others if needed. See #11785.

2010-03-07 11:46 VZ, revision 63647

Show pages icons in window list menu in wxAuiNotebook. Reuse the tab icons in the wxAuiNotebook window list menu. Closes #11785.