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.

2010-03-06 22:30 KO, revision 63646

Add uncommitted uiaction `sample bakefiles.

2010-03-06 21:15 KO, revision 63645

Rebake after wxUIActionSimulator addition.

2010-03-06 21:09 KO, revision 63644

Adding wxUIActionSimulator, a class for programmatically controlling the mouse and keyboard.

2010-03-06 14:30 VZ, revision 63642

Reset wxAuiNotebook selection to wxNOT_FOUND if it becomes empty. The selection was 0 in a notebook without any pages which was wrong as it must always be less than the page count. Fix this in wxAuiNotebook itself and add an assert checking for this invariant to the sample.

2010-03-06 05:51 KO, revision 63641

A call to wxPopupWindow::Show shouldn't automatically cause the popup window to steal focus.

2010-03-06 05:15 KO, revision 63640

Add git source control dirs to the list of excludes.

2010-03-06 05:08 KO, revision 63639

Add create-archive.py to wx source tree.

2010-03-06 01:31 VZ, revision 63638

Don't store header height in generic wxListCtrl member variable. This is simply unnecessary and resulted in a crash in wxDFB because the window was used for this variable initialization before being created. Closes #11711.

2010-03-06 01:31 VZ, revision 63637

Fix toggling the header in the generic wxListCtrl. We need to update the lfags first before deciding whether we should create or destroy the header. Also add a test for toggling the header to the listctrl sample.

2010-03-06 00:56 VZ, revision 63636

Don't stop dragging in the grid when the mouse leaves the window. Unexpected/unaccounted for mouse leaving and entering events stopped the drag operation currently in progress in wxGrid. And while it was resumed later, this resulted in the mouse being captured only twice but released only once. Fix this by ignoring the leaving and entering events and checking that we don't capture the mouse again. Closes #11662.

2010-03-06 00:55 VZ, revision 63635

Fix memory leak in wxDataViewListStore::DeleteItem(). The item data needs to be deleted in addition to simply removing it from the internal storage. Closes #11757.

2010-03-06 00:55 VZ, revision 63634

Correct IsMaximized() in wxOSX for non-resizable windows. NSWindow isZoomed always returns true in this case, so check the window rectangle ourselves to determine whether it's maximized. Closes #11734.

2010-03-06 00:55 VZ, revision 63633

Make the code more clear in aui sample and avoid g++ 4 warning. The code used bitwise XOR which was rather difficult to read and also resulted in g++ 4 warnings about suggested parentheses. Fix both issues by using bitwise AND and OR in two separate statements instead.

2010-03-06 00:55 VZ, revision 63632

Implement wxBookCtrlBase::CalcSizeFromPage() in the base class. The definition of this method was needlessly duplicated in all of wx{Choice,List,Tool,Tree}book and in all of them except the first one it didn't account correctly for the case when the size of the controller was greater than the size of the page. Avoid the duplication and fix the best size determination in such case by providing a single, correct version of the function in the base class itself. Closes #11793.

2010-03-06 00:55 VZ, revision 63631

Avoid conflict between accelerators in the notebook sample. Ctrl-5 was used both for the treebook in the "Type" menu and default orientation choice in the "Orientation" menu. Use Alt-[0..4] for the "Orientation" menu entries.

2010-03-06 00:55 VZ, revision 63630

No changes, just remove redundant GetControllerSize() definitions. For some reasons wxBookCtrlBase::GetControllerSize() was redefined in several derived classes even though it did exactly the same thing in all of them. Leave only the base class version and remove the other ones.

2010-03-06 00:55 VZ, revision 63629

Correct controller size determination in wxToolbook. The old code used the current toolbar size instead of determining its best size for some strange reason and this resulted in toolbar remaining of tiny (1 pixel) height at least under wxGTK. Fix this by simply using the best size of the toolbar. Closes #11606.

2010-03-06 00:55 VZ, revision 63628

Use wxWindow::ReleaseMouse() instead of MSW ::ReleaseCapture() function. As we capture the mouse using wxWindow::CaptureMouse(), we must release it with ReleaseMouse() and not just ReleaseCapture(). Closes #11791.

2010-03-05 21:51 FM, revision 63627

define TARGET_CPU (as a variable) also for formats using MSVS_PLATFORM; this allows a simpler logic in the following tests (and in the user bakefiles)

2010-03-04 16:09 JMS, revision 63624

Moved property unattachment code from wxPropertyGridInterface::RemoveProperty() to wxPropertyGridPageState::DoDelete() - fixes deferred removal issue

2010-03-04 09:29 SC, revision 63623

no existing on iphone

2010-03-04 00:00 SC, revision 63622

fixing leak, fixes #11781

2010-03-03 22:52 SC, revision 63621

fixing leak, fixes #11782

2010-03-03 17:53 SC, revision 63620

using native fullscreen support and ShowEvent triggers

2010-03-03 17:51 SC, revision 63619

fixing warning

2010-03-03 17:33 SC, revision 63618

make sure ShowEvent doesn't get triggered to early during construction

2010-03-03 15:19 VZ, revision 63617

Allow using version-specific vc prefix in msvc/wx/setup.h. We still use just "vc" by default for compatibility but allow the user to predefine either wxMSVC_VERSION or wxMSVC_VERSION_AUTO to use the specified or version-dependent prefix instead. This is very convenient when using multiple MSVC versions. See #11022.

2010-03-03 15:19 VZ, revision 63616

Use correct directory names in msvc/wx/setup.h for 64 bit builds. Use _amd64 and _ia64 suffixes if _M_X64 or _M_IA64 is defined. Closes #11022.

2010-03-03 15:19 VZ, revision 63615

Added Arabic translation from Abdullah Abouzekry.

2010-03-03 15:19 VZ, revision 63614

Fix wxCommandProcessor compilation with wxUSE_ACCEL==0. Leave the accelerator strings empty in this case. Closes #11783.

2010-03-03 08:17 RD, revision 63613

Layout the immediate parent of the info bar as described in the docs, not the top-level parent.

2010-03-03 02:08 VZ, revision 63609

Document that images in buttons and menus might not be shown under GTK. Mention gtk-{button,menu}-images GTK+ settings. See #11369.

2010-03-03 01:35 FM, revision 63608

add 64bit support to those formats which I could test and which support 64bit build modes (msvc, msvs2005prj and msvs2008prj) by adding a TARGET_CPU option similar to what wxWidgets bakefiles do (note the absence of the WX_ prefix since it does not make sense to have a wx-specific architecture); this additional feature allows correct inclusion of the vc_[amd64|ia64]_[lib|dll] path when building a wx-based project on Windows.

2010-03-03 00:21 FM, revision 63606

(minor change) update list of supported Windows versions

2010-03-02 21:46 VZ, revision 63605

Use user locale with Latin-1 as fallback for command line arguments. Command line arguments can contain characters outside of 7 bit ASCII range. Assume that they use the default user encoding but fall back to Latin-1 if conversion failed. Closes #11754.

2010-03-02 19:16 VZ, revision 63604

Don't use m_macToolbar in wxOSX wxToolBar if it is NULL. This fixes a crash when a native toolbar is not used by wxToolBar as it happens when it's used by wxToolbook for example. Closes #11775.

2010-03-02 19:16 VZ, revision 63603

Enclose code using m_macToolbar in #if wxOSX_USE_NATIVE_TOOLBAR. Don't use m_macToolbar which is only used when the toolbar is a native one when we don't really use the native toolbar. This should fix compilation in case wxOSX_USE_NATIVE_TOOLBAR is 0.

2010-03-02 01:23 RD, revision 63602

Document GetBitmapMargins

2010-03-02 01:20 VZ, revision 63601

Fix another incorrect file name conversion in wxGTK. GTK file paths are in UTF-8 and not ASCII. Really closes #11743.

2010-03-02 01:15 VZ, revision 63600

Always use UTF-8 for GTK+ strings [backport of r63549 from trunk]. Strings returned and accepted by GTK+ functions always use UTF-8 independently of the current locale and of the file name encoding we use. So use UTF-8 instead of wxConvFileName everywhere where we deal with GTK+ directly. Closes #11743.

2010-03-02 00:45 VZ, revision 63599

Fix crash when accessing clipboard before entering the main loop. Check that we have an event loop running before yielding to it. Notice that we really do need an event loop in wxClipboardSync as events must be dispatched for the clipboard code to work so while not using the event loop if it doesn't exist would have fixed a crash as well, it wouldn't allow to use the clipboard in e.g. wxApp-derived class OnInit().

2010-03-02 00:20 RD, revision 63595

Invalidate best size when the bitmap or bitmap position changes. Add GetBitmapMargins

2010-03-01 23:54 RD, revision 63594

Use the correct event class for the window modal notification

2010-03-01 16:30 JMS, revision 63593

Have to implement wxPGProperty::DeleteChildren() differently so that it will work with deferred property deletion

2010-03-01 16:26 JMS, revision 63592

Have to check for wxPG_SPLITTER_AUTO_CENTER style before setting propgrid column proportion in the sample

2010-02-28 18:29 SC, revision 63590

translate 0.5 offset into user space before applying translation, see #11769, see #11771

2010-02-28 18:27 SC, revision 63589

moving header for precomp builds

2010-02-28 12:30 VZ, revision 63587

Simplify and correct bugs in wxMSW wxScrollBar message handling. For some reason we computed scroll increment from the native message and not the new position directly which is actually simpler and probably would have never resulted in a bug which exchanged the meanings of SB_TOP and SB_BOTTOM. Get rid of nScrollInc and just update the position variable directly. Closes #11741.

2010-02-28 12:30 VZ, revision 63586

No real changes, just cleanup wxMSW wxScrollBar a little. Get rid of old, Win16-compatible, commented out code.

2010-02-28 12:09 VZ, revision 63585

Make it possible to use wxCharBuffer during program initialization. wxCharBuffer might be used during static initialization, even if only implicitly. E.g. it is used by wxString::Format() which can be used to initialize a global string. But it uses the global s_untypedNullData variable might not be initialized yet resulting in mysterious failures. Fix this in the usual way by wrapping access to the variable via a function.