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-10-03 19:16 VZ, revision 65746

Update CRT environment in wxSetEnv() for MinGW too. MinGW uses the same CRT as MSVC so we can use the same _putenv() call for it too. This ensures that wxGetenv() returns the value updated by wxSetEnv() and fixes CrtTestCase::SetGetEnv() unit test when using MinGW.

2010-10-03 19:16 VZ, revision 65745

Use wxUSING_VC_CRT_IO for MSVC CRT-specific test results. Move USING_VC_CRT into testprec.h to allow its reuse in other files and rename it to wxUSING_VC_CRT_IO as it only checks whether we're using MSVC STDIO implementation and could be false even when we are otherwise using MSVC CRT. Use this symbol for the tests whose result depends on the concrete version of the CRT we use. This fixes StringTestCase::FromDouble() failure under MinGW.

2010-10-03 19:15 VZ, revision 65744

Fix DirTestCase to run on the systems without "C:" drive. "C:" drive doesn't need to exist under Windows, rely on HOMEDRIVE environment variable defined in all recent Windows versions to get a valid drive letter (still fall back to "C:" if the variable is not defined -- we could have use wxFSVolume to find it then but this seems like an overkill).

2010-10-03 19:15 VZ, revision 65743

Run MBConvTestCase::LibcTests() only for MSVC and not other Windows compilers. This test fails for MinGW, probably because its CRT doesn't use the same locale names as MSVC CRT. Just disable it for now, as it was already disabled for non-MSW platforms. Also use LocaleSetter class (extracted from CLocaleSetter) to change the locale for this test duration only to avoid affecting any tests running after it.

2010-10-03 19:15 VZ, revision 65742

Show the failing string when conversion fails in MBConvTestCase. No real changes, just give more information when a test fails in MBConvTestCase::TestDecoder().

2010-10-03 19:15 VZ, revision 65741

No real changes, just simplify some MBConvTestCase code. Remove unnecessary casts and initialize the variable with its contents directly instead of using strange looking wxWCharBuffer ctor from size_t (even if it did work, it was unnecessary).

2010-10-03 19:15 VZ, revision 65740

Exclude tests relying on last error being set under MinGW. The value of the last error seems to change somewhere between our code and ::GetLastError() call, probably in MinGW CRT, so exclude the tests relying on it being preserved.

2010-10-03 19:15 VZ, revision 65739

Correct wxConvAuto::ToWChar() behaviour with wxNO_LEN input size. We didn't handle the case when the length of the input buffer was not specified correctly and wxConvAuto::DetectBOM() could read beyond the end of input. Moreover, the unit test actually relied on this as it didn't pass the correct length for the literal strings with embedded NULs. This somehow worked with MSVC but failed with MinGW (see #10713). Correct the code to handle wxNO_LEN case correctly and fix the unit test to pass the correct lengths.

2010-10-03 19:15 VZ, revision 65738

Fix VsnprintfTestCase for recent MinGW versions. MinGW now uses its own printf() implementation which handles %p differently from the VC CRT one and uses %8x instead of %8X for it. Compare the results of wxPrintf("%p") case-insensitively to let the test pass in any case. Also introduce a USING_VC_CRT macro instead of testing for __USE_MINGW_ANSI_STDIO in two different places.

2010-10-03 19:15 VZ, revision 65737

Remove redundant wxUSE_WXVSNPRINTF checks from the unit test. The entire VsnprintfTestCase is only used when using our own wxUSE_WXVSNPRINTF so remove the redundant tests for it inside the enclosing #if.

2010-10-03 19:14 VZ, revision 65736

Fix tests compilation without wxUSE_REGEX. Don't build wxRegEx unit tests when wxUSE_REGEX == 0.

2010-10-03 19:14 VZ, revision 65735

Suppress harmless g++ 4.4 warnings about missing braces. Put braces around MSW-only wxLogXXX() calls to avoid warnings when building with MinGW 4.4+.

2010-10-03 12:51 JMS, revision 65734

In wxBitmapComboBox::RecreateControl(), always get recreated control's height from the best size, and also set the ComboBox item height with CB_SETITEMHEIGHT message (fixes #12515).

2010-10-02 18:50 TIK, revision 65730

Backport r65494: Initialize all fields of struct tm used by wxDateTime::Format(). Closes #12455

2010-10-02 17:47 TIK, revision 65726

Backport r65192: Fix attributes escaping when writing XML. Closes #12275

2010-10-02 15:05 TIK, revision 65725

Backport fix for crash in wxCommandProcessor::Store. Closes #12027

2010-10-02 14:57 TIK, revision 65724

Backport r65496: Fix infinite loop in wxDateTime::Format() when fields width was used. Closes #12451

2010-10-02 11:39 TIK, revision 65723

Connect to events only if using native implementation instead of using event table. Closes #12469

2010-10-02 10:53 TIK, revision 65722

Apply #12469: Do not start rename timer if the generic implementation is used which has its own rename timer already.

2010-10-01 15:05 VZ, revision 65707

Add non-vararg wxFileTypeInfo ctor and various setters. This allows to create wxFileTypeInfo objects in a more readable even if more verbose way. This should also incidentally fix the unit tests compilation with VC6 which seems to have some existential troubles with the vararg ctor in debug DLL build (only). Using the non-vararg ctor should hopefully make it happy and let the unit tests pass with this compiler. Also document wxFileTypeInfo class which wasn't documented at all.

2010-10-01 15:05 VZ, revision 65706

Add wxHAS_BITMAPTOGGLEBUTTON and test for it in the unit test. Not all ports define wxBitmapToggleButton class currently, so add a special symbol which is defined only if this class is indeed available and test for it in the unit test for this class. This fixes the tests compilation under wxX11.

2010-10-01 15:05 VZ, revision 65705

Disable ItemClick() unit test for wxListCtrl under wxMSW. This test just doesn't want to work on MSW buildbot slaves even though it works perfectly locally. No idea why but disable it when running on a build bot slave for now to let the entire test suite pass. Also add a comment explaining why the test is disabled for wxGTK.

2010-09-30 19:35 VZ, revision 65694

Disable wxEVT_COMMAND_LIST_ITEM_FOCUSED test for wxMSW. This test fails on MSW buildbot slaves for unknown reasons so disable it to make the test suite pass. The failure is irreproducible locally so no idea how to debug this unfortunately.

2010-09-30 19:30 SC, revision 65693

opening ATSU Font info for Ulrich Telle's wxPDFContext

2010-09-30 16:33 VZ, revision 65692

Add default value for GetPopupMenuSelectionFromUser() position argument. Let the menu be popped up at the system-determined position, just as it can already be done with PopupMenu() itself. Closes #12530.

2010-09-30 16:30 VZ, revision 65691

Correctly convert wxPrintf() to a buffer even when it doesn't fit. ConvertStringToBuf() helper function was defined incorrectly for converting wxString to a char* buffer as it didn't fill the buffer at all if the string didn't fit into it entirely instead of putting as much of the string into it as possible as was already done for the conversion to wchar_t* buffer. This broke wxSprintf()-related functions in when the ASCII output buffer was not big enough as it was not filled at all.

2010-09-30 16:30 VZ, revision 65690

Correct handling of %hs and %ls in our wxPrintf() implementation. The strings corresponding to %hs and %ls are always narrow/wide independently of the build so using wxArgNormalizedString which is defined differently in different builds doesn't make sense in wxPrintf(). Instead, simply expect the parameter of the appropriate matching type for these conversion specifications. Any conversions to it, if necessary, had been already done before by wxFormatString. This fixes some VsnprintfTestCase::BigToSmallBuffer() unit test failures.

2010-09-30 16:30 VZ, revision 65689

Fix handling of asterisks in wxPrintf() implementation. Count the number of asterisks before modifying the string we use to do this, otherwise we were off by one for the format specifications containing two of them. This really fixes the handling of asterisks (used for width/precision) in wxPrintf() format string, it wasn't done correctly by r60120 but now VsnprintfTestCase::Asterisk() test does pass.

2010-09-30 16:30 VZ, revision 65688

Expect an assert in wxVsnprintf() test with too many parameters. The call to wxPrintf() should provoke an assert if there are too many parameters, so update the test to expect it.

2010-09-30 16:30 VZ, revision 65687

Disable test failing under VC6 only. Somehow the expected assert is not generated by wxString::Format("%d", ptr) with VC6. Disable this test to make the test suite pass for VC6 for now to at least be able to monitor the appearance of the new errors in it. Of course, this one should ideally be debugged (by someone who is interested in VC6 support) as well...

2010-09-30 16:30 VZ, revision 65686

Insert another item in the list control in its unit test. For some reason the test fails with a single item in the control when running on the buildbot slave, check if this is still the case if we add another item to the control.

2010-09-30 16:30 VZ, revision 65685

Remove out of date code in DoStringPrintfV(). We can't clear a NULL buffer, the code didn't make any sense any more because it wasn't updated when the function was changed as part of UTF-8 transition. Closes #12529.

2010-09-30 15:09 MW, revision 65683

A couple of fixes for wxChm

2010-09-30 15:09 MW, revision 65682

A couple of fixes for wxChm

2010-09-30 14:30 VZ, revision 65681

More compilation fixes for new wxRTC image code without PCH. Add more headers needed when not using PCH.

2010-09-30 13:44 VZ, revision 65680

No changes whatsoever, just remove trailing whitespace. There are no real changes in this commit but it removes all trailing white space from our source files. This avoids problems when applying patches and making diffs and it would be nice to prevent it from reappearing.

2010-09-30 13:31 VZ, revision 65679

Use Unix EOL format for the new files.

2010-09-30 13:31 VZ, revision 65678

Include correct headers from richtextimagedlg.*. Include or forward declares the classes used by the header to make it self-contained. Do not include wx/wx.h from the source file to make compiling it faster when not using PCH. This fixes compilation under Unix after SOC2010_RTC_IMAGES branch merge.

2010-09-30 13:30 VZ, revision 65677

Remove interface/implementation #pragmas from richtextimagedlg.*. These pragmas are not necessary and may actually be harmful, no idea why were they added in the first place to a new file.

2010-09-30 12:27 VZ, revision 65676

Merge of SOC2010_RTC_IMAGES branch. Added floating images and image property dialog to wxRichTextCtrl, by Mingquan Yang as part of GSOC 2010. Also changed image block creation to use a memory stream instead of creating a temporary file.

2010-09-30 00:01 VZ, revision 65675

Correct printf() format specifiers for long variables in life demo. Fix asserts in 64 bit builds due to using %u (expecting 32 bit values on a typical Unix LP64 platform) for 64 bit long values.

2010-09-29 15:46 VZ, revision 65674

Add EVT_RIBBONBAR_TAB_LEFT_DCLICK event. Generate a special event when a ribbon bar is double clicked. Closes #12399.

2010-09-29 15:46 VZ, revision 65673

Fix crash in wxWebKitCtrl when using JavaScript. Ignore the unknown types of the script result, in particular don't crash trying to dereference an uninitialized pointer if the script didn't return anything. Closes #12361.

2010-09-29 15:46 VZ, revision 65672

Preserve page size when changing increment in wxGTK wxSpinCtrlDouble. The page size was wrongly reset when changing the increment before. See #12342.

2010-09-29 15:46 VZ, revision 65671

Fix wrong return value of wxGTK wxSpinCtrlDouble::GetIncrement(). Due to confusion in gtk_spin_button_get_increments() parameters order the page size was returned instead of the increment. See #12342.

2010-09-29 15:46 VZ, revision 65670

Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). Although returning wxFONTFAMILY_UNKNOWN when the font family is not recognized makes more sense, it breaks a lot of existing code including all the font-related code generated by DialogBlocks, so prefer to return wxFONTFAMILY_DEFAULT instead -- which can't be confused for a valid font family neither but can be passed to wxFont ctor or SetFamily() without problems. To ensure that this behaviour is correctly implemented by all ports, rename the existing wxFont::GetFamily() to DoGetFamily() and call the new method from wxFontBase::GetFamily() which adjusts the return value if needed. Closes #12330.

2010-09-29 15:45 VZ, revision 65669

Improve mouse handling code in wxAuiToolBar. Capture the mouse to handle mouse input on the buttons to ensure we always reset the button when the mouse leaves it. Closes #11784.

2010-09-29 15:45 VZ, revision 65668

Include wx/defs.h before testing for wxUSE_RADIOBOX. We need to include wx/defs.h that (indirectly) defines wxUSE_RADIOBOX before testing for it in wx/radiobox.h, otherwise the test may fail if the latter header is the first wx header included by the user code. This is similar to r65210 fix for wxUSE_CHECKLISTBOX. Closes #12526.

2010-09-28 20:59 JMS, revision 65666

Reset wxPGEditor singleton instance pointers in dtors. This is useful if wxPropertyGrid is being accessed from an external main loop.

2010-09-28 08:27 JS, revision 65661

Compile fix