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-05-01 18:05 VZ, revision 67662

Create branch for wxWebView GSoC 2011 project.

2011-05-01 18:05 VZ, revision 67661

Create branch for GTK3 porting GSoC 2011 project.

2011-05-01 17:58 VZ, revision 67660

Translate various user-visible strings in rich text print code. Make default wxRichTextPrintout title and the name of wxRichTextPrinting object translatable. Closes #13187.

2011-05-01 17:47 VZ, revision 67659

Verify the validity of the buffer size in wxBufferedDC. Passing invalid (e.g. negative) buffer size to wxBufferedDC resulted in many problems later on so refuse it immediately. Closes #13175.

2011-05-01 17:47 VZ, revision 67658

Add a section about STL containers-related incompatible changes. Document the main incompatibilities between the STL and non-STL containers builds.

2011-05-01 16:58 DS, revision 67657

Rebaked test GUI projects with toplevel.cpp included. Added toplevel.cpp to GUI test projects and removed the test suite from the unnamed registry so that by default its tests don't run (some regarding ShowWithoutActivating are failing). This way at least the source file has more of a chance to be in a compilable state (compilation was broken). toplevel.cpp has never been included in a project since its addition in r62508 ("[...] until the mainloop issues are resolved [...]").

2011-04-30 12:57 DS, revision 67656

No code changes, fixed some typos. Changed several occurrences of "it's" where "its" is meant, as well as a few other minor typos.

2011-04-29 22:03 RD, revision 67650

Fix popen2 deprecation warning. Fix binary name inside the framework to be the same as the framework name. Inject a bit of info about the framework into wx-config, so it can output framework flags/names instead of lib flags/names.

2011-04-28 18:57 VZ, revision 67645

Remove fixed size of gs_encodingNames array in font mapper code. Specifying the size explicitly made wxCOMPILE_TIME_ASSERT() checking that the array sizes were synchronized useless as the array always had the correct size, independently of the real number of elements in it.

2011-04-28 18:57 VZ, revision 67644

Correct wxFontMapper tables for Big-5, Shift-JIS and GB2312 encodings. As wxFONTENCODING_{BIG5,SHIFT_JIS,GB2312} are only synonyms for the other encoding constants, we must append the corresponding names to the array of names for the real encoding value instead of having the (never used) separate entries for them in the names array. Closes #13164.

2011-04-28 18:16 VZ, revision 67643

Fix wxULongLongNative::ToDouble() compilation with VC6. The problem alluded to by the commit message of r40658 arose only in the DLL build using VC6 so reintroduce the workaround for it removed by r67634 but make it VC6-specific and, arguably even more importantly, also make it work correctly for wxULongLongNative values greater than LONGLONG_MAX.

2011-04-28 16:29 VZ, revision 67642

Use correct GTK macro in wx_gtk_widget_get_sensitive(). Using GTK_WIDGET_VISIBLE() to test for sensitivity was not going to work (and, in fact, it didn't and broke the unit tests).

2011-04-28 16:20 VZ, revision 67641

Fix check in assert in wxULongLong::ToULong(). We can convert values up to ULONG_MAX to unsigned long losslessly, not up to LONG_MAX.

2011-04-28 16:20 VZ, revision 67640

Don't specialize std::numeric_limits<> for wxLongLong when using VC6. This doesn't work with VC6 anyhow as it doesn't provide numeric_limits<> specialization for __int64 and results in many warnings C4663 as the standard header itself uses obsolete template specialization syntax.

2011-04-28 08:08 RD, revision 67638

Change --j to --jobs, add --mac_framework_prefix, add some helper functions to be used from build-wxpython.py and fix a bunch of other little stuff.

2011-04-27 20:51 VZ, revision 67634

Fix wxULongLong::ToDouble() for MSVC. The conversion of wxULongLong to double was broken for MSVC by r40658 which was supposed to correct some unspecified compilation problem but this code seems to compile fine with at least recent versions of MSVC and, in any case, correcting compilation only for the code to work incorrectly during run-time doesn't look like a good idea. This fixes current unit test failures in wxMSW.

2011-04-27 20:44 VZ, revision 67633

Disable numeric_limits<wxLongLong> test for VC6. VC6 doesn't specialize numeric_limits<> for its __int64 so it's not specialized for wxLongLong neither when using this compiler.

2011-04-27 20:44 VZ, revision 67632

Get rid of useless temporaries in wxAffineMatrix2D unit test. See #13092.

2011-04-27 20:43 VZ, revision 67631

Add wxUSE_DC_TRANSFORM_MATRIX checks to the unit test. Allow the unit test to compile even when wxUSE_DC_TRANSFORM_MATRIX is 0. See #13092.

2011-04-27 12:26 JJ, revision 67627

Add wxUSE_DC_TRANSFORM_MATRIX to setup for OpenVMS

2011-04-27 00:57 VZ, revision 67624

Change VIEWPORT_EXTENT constant in wxMSW wxDC code to be a power of two. Notice that this commit doesn't really change anything, in particular it doesn't correct zooming for zoom factors that are power of 2 (which was broken before as ticket #11669 showed), this was already done by the previous commit. This one simply makes multiplying by VIEWPORT_EXTENT a tiny bit more efficient. See #9554.

2011-04-27 00:57 VZ, revision 67623

Avoid rounding errors in wxMSW wxDC scaling code. Multiply by scale factor when it's > 1 and divide by it when it's < 1 to avoid rounding errors. By choosing whether to increase the viewport or window extents we increase precisions without any apparent negative effects (at least under Windows NT where the coordinates in 2^27 range are supported, but even under Windows 9x it's not clear if the old code was better as while we never overflowed the viewport extents, we could overflow the window ones easily for small zoom factors). Closes #9554.

2011-04-27 00:57 VZ, revision 67622

Remove apparently erroneous -1 from DrawBitmap() in wxMSW wxGC code. We didn't draw the last line and row of the image for some reason, simply remove the -1 which prevented us from doing this. Closes #12476.

2011-04-27 00:57 VZ, revision 67621

Make wxSMALL_FONT larger under MSW as it was unreadable otherwise. The default size of the normal font is 9pt under MSW and 7pt is too small for wxSMALL_FONT, use 8pt for it instead. Closes #13104.

2011-04-27 00:57 VZ, revision 67620

Ensure that message boxes with only "OK" can be closed with Escape in wxMSW. The native task dialog doesn't allow using Escape (nor Alt-F4 but this is less annoying) to close it unless it has a Cancel button, so by default the dialogs with only "OK" couldn't be closed with Escape. Work around this by creating a Cancel button with "OK" label instead. This is not ideal but there doesn't seem to be any other way to make this work. See #12501.

2011-04-27 00:57 VZ, revision 67619

Allow showing the print preview frame non modally. Still show the print preview app modally by default, i.e. disabling all the other windows, but also allow disabling only the preview parent or nothing at all. Closes #13108.

2011-04-27 00:57 VZ, revision 67618

No changes, just replace #defines with enums in printing sample. This makes it more convenient to define menu ids with consecutive values as will be done in the next commit.

2011-04-27 00:57 VZ, revision 67617

Add a unit test for wxAffineMatrix2D class and its support in wxDC. Verify that applying a world transformation to wxDC really does result in the expected transformation. See #13092.

2011-04-27 00:57 VZ, revision 67616

Make it easier to compare wxImages in the unit tests. Instead of forcing the tests to manually use memcmp(), specialize CppUnit::assertion_traits<> for wxImage. This allows to simply use CPPUNIT_ASSERT_EQUAL() and related macros with wxImage objects.

2011-04-27 00:57 VZ, revision 67615

Update line height in generic wxListCtrl to match images height. The height of the items of the generic wxListCtrl remained too small if an image of a greater than standard size was used. Fix this by forcing the line height recalculation when adding an item using an image higher than the current line height. Closes #12806.

2011-04-27 00:57 VZ, revision 67614

No changes, just simplify the mask checks in wxImage::Paste(). Replace the test of the form "(!a && b) || (a && b)" with a simple test for "b" and then also replace the test for "b || (c && !b)" with just "b || c". The end result is much easier to read and understand.

2011-04-27 00:57 VZ, revision 67613

Optimize alpha handling in wxImage::Rotate90() too. The changes of r66309 optimized the rotation of the pixel data by doing it in entire strips instead of pixel by pixel, apply the same technique now to the rotation of alpha data as well. Closes #12739.

2011-04-27 00:57 VZ, revision 67612

Fix assert when destroying wxDataViewCtrl being edited in wxGTK. If wxDataViewCtrl was destroyed while showing a generic editor, an assert occurred in wxWindowBase dtor as the event handler pushed on it by the editor. Fix this by calling CancelEditing() when the control is destroyed and also fix the crash in CancelEditing() in wxGTK due to recursive calls to FinishEditing(). Closes #12683.

2011-04-27 00:56 VZ, revision 67611

No changes, just get rid of wxDataViewColumn::GetConstGtkHandle(). If both const and non-const accessors are needed, it's custom to use the same name for both but in this case we don't even need them as the const version can always be used, so simply remove the weird and badly named (because the returned handle is not const at all) GetConstGtkHandle().

2011-04-27 00:56 VZ, revision 67610

Specialize std::numeric_limits<> for wxLongLong and wxULongLong. numeric_limits<> should be specialized for number-like types to allow using them in a similar way to the built-in types. Closes #13162.

2011-04-26 21:02 RD, revision 67608

Don't change CC and CXX for the SDK options until after the compiler version has been chosen so it doesn't mess up the version tests.

2011-04-26 19:39 RD, revision 67604

Remove lipo options, that hack is no longer needed since we are not supporting OSX 10.3 any more. Also some work to get framework builds working properly.

2011-04-26 19:35 RD, revision 67603

Use DESTDIR properly and fix change-install-names script. Closes #12461

2011-04-26 19:14 SC, revision 67602

fixes #12220

2011-04-26 01:18 RD, revision 67600

Fix the size of the tree's text editing box on Cocoa

2011-04-25 15:18 DS, revision 67598

Fixed filename in wxOSX-Cocoa's file dialog using extension of wrong file type. When using SetFilterIndex to indicate a different initial file type the dialog would still use the extension of the first file type (if the filename had no extension then unchecking "Hide extension" would append the first file type's extension). Fixed this by calling code, that formerly got called only from OnFilterSelected, to notify OS X of the file type change.

2011-04-24 15:14 VS, revision 67592

Don't rely on RVO in wxON_BLOCK_EXIT_SET(). MakeVarSetter() relies on the compiler always using RVO, as VariableSetterImpl<> doesn't have correct copy ctor; worse yet, its use wasn't detected at compile time. With some compilers (e.g. VC++ 2008 with non-trivial variable types), this resulted in the variable being reset too soon, immediately in the place where the macro was used. Fixed by using the same technique already used in wxScopeGuardImpl. In fact, VariableSetterImpl is just another special case of wxScopeGuardImpl, so just derive from the latter.

2011-04-23 20:01 VZ, revision 67591

Don't generate wxEVT_COMMAND_DATAVIEW_CACHE_HINT for empty control. Don't send any cache hint events for empty wxDataViewCtrl. Sending them was unnecessary, inconsistent with wxListCtrl (which doesn't send them when it's empty) and the events also had incorrect range. Just don't create them at all to avoid all these problems at once. Closes #13132.

2011-04-23 19:36 VZ, revision 67590

Don't close arcs drawn in wxPostScriptDC. Draw arcs, not pies, in DoDrawArc(): simply remove the apparently unnecessary last lineto and closepath PostScript statements. Closes #13141.

2011-04-23 18:19 VZ, revision 67589

Change wxNotebook selection before sending page changed event in wxMSW. wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED handler should see the new page selected in the control, not the old one as was the case if the page was changed using the mouse in wxMSW. This should have been done together with the other changes of r66224, see its commit message for more details. Closes 13145.

2011-04-23 18:03 VZ, revision 67588

Add wxDC::SetTransformMatrix() and related methods and implement them in wxMSW. Add support for world transformations to wxDC too. Currently this is implemented in wxMSW only but could be easily provided in the ports that use wxGraphicsContext for wxDC implementation later. Closes #13092.

2011-04-23 17:12 VZ, revision 67587

Fix compilation error in recent change to wxSizeEvent generation. Wrong variable name was used in r67583, fix it.

2011-04-23 16:53 VZ, revision 67586

Correct names of parameters in wxAffineMatrix2D documentation. Some parameters were misnamed in @param paragraphs, fix this. Closes #13143.

2011-04-23 16:53 VZ, revision 67585

Add a simple unit test for wxParseCommonDialogsFilter(). Verify that this function (which is used for parsing the wildcard strings used with file-related dialogs) works as expected and also asserts when given invalid input. See #4489.

2011-04-23 13:17 VZ, revision 67584

Document that wxTreeCtrl::SelectItem() generates events. This is another exception to the general rule that program actions don't generate any events so document it explicitly. See #13153.