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

2014-05-12 15:14 VZ, revision 76506

Use DWORD instead of unsigned long in wxFileSystemWatcher wxMSW code. These two types are not the same in 64 bit Cygwin builds, so fix the build by just using DWORD everywhere.

2014-05-12 15:14 VZ, revision 76505

Fix tests for __WXMSW__ in non-GUI-only code. __WXMSW__ is not defined when compiling wxBase, so the tests which were meant to prevent using Unix event loop classes under Cygwin (under which both __UNIX__ and __WINDOWS__, but not __WXMSW__, are defined) failed, breaking compilation of all wxEventLoop-related code in wxBase in Cygwin builds.

2014-05-12 15:14 VZ, revision 76504

Don't use _{get,ch}drive() functions in Cygwin builds. They are not available there when not using MinGW headers, e.g. in 64 bit builds. Also simplify the code by using wxHAS_DRIVE_FUNCTIONS instead of complicated (and sometimes negated) checks for MinGW32 version.

2014-05-12 15:14 VZ, revision 76503

Don't use LCID and WXLCID interchangeably in wxMSW code. Similarly to the problem with WXDWORD and DWORD, LCID is actually an unsigned int and not unsigned long in 64 bit Cygwin builds, so it's a different type.

2014-05-12 15:14 VZ, revision 76502

Add casts from long to LONG to fix 64 bit Cygwin wxMSW build. In 64 bits, LONG is actually defined as int in Cygwin gcc headers, so is different from long -- even if both types use identical representation. Just add the casts to fix this for now, as this is the smallest ABI-preserving change. Ideally, something better and less ugly would need to be done in the future.

2014-05-12 15:14 VZ, revision 76501

Don't use DWORD and WXDWORD interchangeably in wxMSW code. WXDWORD is defined as unsigned long, while DWORD is defined as unsigned int in 64 bit builds using Cygwin gcc, so they are not the same type (although they do have the same size) and using the latter instead of the former in the function definition results in errors in this build configuration.

2014-05-12 15:14 VZ, revision 76500

Define __WIN64__ for 64 bit wxMSW builds with gcc too. Previously __WIN64__ was only defined for 64 bit builds with MSVC, which resulted in many problems when using 64 bit Cygwin compiler. Also don't use MSVC-specific __int64 but our wxInt64 for WX{L,W}PARAM and WXLRESULT definitions in 64 bit builds.

2014-05-12 15:14 VZ, revision 76499

Use __WIN64__ instead of MSVC-specific _WIN64 in wxIsPlatform64Bit(). Make the code work correctly for 64 bit builds with other compilers, e.g. gcc.

2014-05-12 15:14 VZ, revision 76498

Don't define wxSIZE_T_IS_UINT for Cygwin unconditionally. This breaks 64 bit Cygwin builds and is unnecessary for 32 bit ones where configure already defines wxSIZE_T_IS_UINT correctly. Closes #16130.

2014-05-12 01:16 DS, revision 76497

Fixed code checking for bit flags. Use "flag & bitmask" instead of "flag && bitmask" (resulted in LLVM compiler warning: "Use of logical '&&' with constant operand").

2014-05-12 00:51 DS, revision 76496

Added default parameter to EnableCloseButton(). Previously the default parameter was only available in wxMSW and wxGTK. Added it to the base class as well to allow EnableCloseButton() calls without a parameter under other platforms too.

2014-05-12 00:41 DS, revision 76495

Added support for using OS X' full screen API (available since OS X 10.7). Added EnableFullScreenView() to have a full screen button in the title bar and also allowing ShowFullScreen() to make use of the newer full screen API. See #14357.

2014-05-10 18:20 VZ, revision 76494

Disable wxSleep() test case for buildbot builds. This test keeps failing just because the buildbot machine are too heavily loaded. This is not really an error, so just avoid running this test there.

2014-05-10 18:16 VZ, revision 76493

Improve RTL support in wxStyledTextCtrl. Use the correct HDC, inheriting the right text orientation, when creating wxMemoryDC in SurfaceImpl code. There may still be problems with the actual RTL languages, but at the very least English text displayed in RTL locale is not mirrored any more. Closes #16230.

2014-05-10 18:15 VZ, revision 76492

Do not export template wxMSWOwnerDrawnButton class from the DLL. This doesn't seem to be necessary even for ICC, finally, see #16237.

2014-05-10 18:15 VZ, revision 76491

Fix crash in generic wxDataViewCtrl::AssociateModel(NULL). Don't use the possibly dangling pointer. Closes #16249.

2014-05-10 18:15 VZ, revision 76490

Fix wxRichTextCtrl code compilation with wxUSE_XML==0. Add missing wxUSE_XML checks. Closes #16251.

2014-05-09 17:14 PC, revision 76489

fix build on systems which don't have vsscanf, such as Solaris 8

2014-05-08 19:05 PC, revision 76488

fix building on IRIX with GCC It's impossible to know what problem this was supposed to fix (it's been there since the Dawn of Time: r2), but it prevents stddef.h from defining ptrdiff_t, among others. We need ptrdiff_t.

2014-05-08 16:43 VZ, revision 76487

Add wxStyledTextCtrl copy/paste text events. Add wxEVT_STC_CLIPBOARD_{COPY,PASTE} events, allowing to transform the text being copied from or pasted into wxStyledTextCtrl. Closes #16191.

2014-05-08 16:43 VZ, revision 76486

Remove wxStyledTextEvent::m_text and m_dragText. These fields were unnecessary and duplicated m_cmdString inherited from the base class. Also use base class GetString() instead of the redundant GetText() and GetDragText() in the code, even though these methods are still kept for backwards compatibility. See #16191.

2014-05-08 16:43 VZ, revision 76485

Do export wxMSWOwnerDrawnButton from DLL in wxMSW. This class shouldn't need to be exported but not doing it breaks builds using LTCG with Intel compiler, so do export it to avoid this problem. Closes #16237.

2014-05-08 16:43 VZ, revision 76484

Fix harmless warning about using wxCONTROL_CHECKED in ternary operator. Add wxCONTROL_NONE which is just a symbolic name for 0 and use it in the code to avoid g++ 4.8 warnings about mixing enum and int in conditional expression. Closes #16242.

2014-05-08 16:43 VZ, revision 76483

Compilation fix for PCH-less build of wxMSW. Include wx/msw/ownerdrawnbutton.h usually included via wx/checkbox.h from the PCH. Closes #16241.

2014-05-07 17:24 VZ, revision 76482

Make wxGetPangoContext() work even without open display. Use default Pango font map if we don't have any default screen in wxGTK. Closes #16240.

2014-05-07 15:43 VZ, revision 76481

Add missing "inline" to std::swap() specialization for wxUniCharRef. Avoid multiple definitions of this function. See #16234.

2014-05-07 15:10 VZ, revision 76480

Remove non-existent wx/ownerdrawnbutton.h from MSVS projects. This resulted in constant spurious rebuilds as this file doesn't exist, only wx/msw/ownerdrawnbutton.h does.

2014-05-07 15:10 VZ, revision 76479

Put files in the correct groups in MSVS manually maintained projects. Don't show textmeasurecmn.cpp, textmeasure.cpp and xmlreshandler.cpp at the top project level.

2014-05-07 15:10 VZ, revision 76478

Fix harmless C4275 MSVC warning in wxMSW DLL builds. Since the addition of wxMSWOwnerDrawnButton, DLL builds started generated a lot of warnings about using this non DLL-exported class as base class for the DLL-exported wxCheckBox and wxRadioButton. Simply suppress these warnings as they are harmless in this case because the base class has no static data, which is the real problem this warning hints at. Closes #16237.

2014-05-07 15:10 VZ, revision 76477

Add LexRust.cxx to manually generated MSVS project files. This should have been part of r76121, see #15742.

2014-05-07 15:10 VZ, revision 76476

Remove DebugInformationFormat options from MSVC 10+ projects. This option is common to all projects and is defined in the global properties file, so it doesn't need to be present in the projects themselves at all. See #16236.

2014-05-07 15:09 VZ, revision 76475

Generate debug information for all MSVC builds. We want to have debug information even for the release builds as it doesn't affect the binaries produced but greatly helps when debugging, so create PDB for all release builds as well in the manually maintained MSVS files (this was already the case for Win32 release builds but not x64 ones for some reason). This also fixes the problem with "None" being an invalid value for DebugInformationFormat with MSVC 10 as a side effect. Closes #16236.

2014-05-07 15:09 VZ, revision 76474

Define std::swap() correctly for wxUniCharRef. The default implementation doesn't work for this reference-like class, and this breaks not only swap() itself (see #14694), but also any algorithms using it, such as std::reverse(). Fix this by providing our own specialization which does work correctly. Closes #16234.

2014-05-06 20:20 VZ, revision 76473

Allow using sizers for laying out wxMDIClientWindow in wxMSW. Let the user code put wxMDIParentFrame::GetClientWindow() into a sizer and manage it as any other window, instead of having to do it manually. Closes #16196.

2014-05-06 20:16 VZ, revision 76472

Minor documentation corrections. Escape the space after "i.e." (or avoid using it altogether), add missing @ref. Closes #16235.

2014-05-06 20:16 VZ, revision 76471

Minor documentation corrections. Escape the space after "i.e." (or avoid using it altogether), add missing @ref. Closes #16235.

2014-05-06 18:34 PC, revision 76470

Always check for wide char IO functions, they are used regardless of wxUSE_UNICODE setting

2014-05-06 17:58 SC, revision 76469

backport, fixing enabling/disabling child windows, closes #16232

2014-05-06 17:49 SC, revision 76468

using the base class wxHAS_NATIVE_ENABLED_MANAGEMENT in cocoa disabling/enabling child windows, fixes #16232, fixes #15495

2014-05-06 13:44 VZ, revision 76467

Add wx/msw/ownerdrawnbutton.h to {make,project} files. In particular, ensure that it's installed when using configure+make.

2014-05-06 13:44 VZ, revision 76466

Define BS_TYPEMASK for the compilers which don't have it. Fixes compilation with MinGW after wxMSWOwnerDrawnButton introduction.

2014-05-05 17:53 PC, revision 76465

Implement access to a global toplevel GdkWindow in a way that does not require always having an extra GtkWindow. And don't use "RootWindow" in the name, it is not a root window in the X11 sense. Also add wxGetPangoContext() to get access to a PangoContext.

2014-05-05 16:47 VZ, revision 76464

Fix wxMSW owner drawn buttons appearance in "selected" state. Draw the buttons (i.e. checkboxes and radio buttons) correctly when the space key is pressed. See #10137.

2014-05-05 16:42 VZ, revision 76463

Add a TODO comment to wxGTK wxToolBar::FindToolForPosition(). Replace the out of date comment saying that GTK+ doesn't have a function to do this with a TODO comment mentioning the name of the function which should be used here.

2014-05-05 16:42 VZ, revision 76462

Fix handling of multiple and rectangular selections in wxSTC. Copy and paste rectangular selections in the standard format, this is especially important under Windows where a (de facto) standard clipboard format for such selections exists. Also fix handling of multipaste, i.e. pasting clipboard contents into several locations at once. Closes #16221.

2014-05-05 16:42 VZ, revision 76461

Show Scintilla multiple selections and multipaste features in the sample. Add menu items to toggle multiple selections and multipaste support in wxSTC. See #16221.

2014-05-05 00:13 VZ, revision 76460

Fix resetting owner drawn radio buttons to normal state. Ensure that we bring the native button in sync with the real state of the radio button when we switch to normal state. Also avoid using BM_GETCHECK for the owner drawn buttons as we don't use BM_SETCHECK for them (as it's useless). See #10137.

2014-05-05 00:13 VZ, revision 76459

Factor out common owner drawn code from wx{Check,Radio}Box. Create wxMSWOwnerDrawnButton class which contains all of this code. Currently the methods of this class are (still) implemented in src/msw/control.cpp. See #10137.

2014-05-05 00:13 VZ, revision 76458

Fix pressed owner-drawn checkbox appearance in wxMSW. Handle the "pressed" state correctly in wxCheckBox::MSWOnDraw(). See #10137.

2014-05-05 00:13 VZ, revision 76457

Fix the size of owner-drawn checkbox and radiobuttons under Vista and later. The size of the native buttons has changed between XP and Vista, so add version check to draw the buttons of correct size under all Windows versions. See #10137. REBASE: squash with aa5d7c5 Fix the size of owner-drawn check and radio boxes under Vista and later.

2014-05-05 00:13 VZ, revision 76456

Implement setting foreground colour for wxRadioButton in wxMSW. Native radio buttons don't support changing their foreground colour, so use owner drawn buttons if SetForegroundColour() was called, similarly to what was already done for wxCheckBox. Closes #10137.

2014-05-05 00:13 VZ, revision 76455

Refactor owner drawn buttons drawing code in wxMSW. Move it from wxCheckBox to wxControl to allow reusing this code in other classes, notably wxRadioButton in the upcoming commits. See #10137.

2014-05-05 00:13 VZ, revision 76454

Use wxArrayInt methods instead of duplicating them. Just use wxArrayInt::Index() instead of doing a linear search in the array manually. Also use RemoveAt() + Insert() instead of manually iterating over the items. See #16110.

2014-05-05 00:12 VZ, revision 76453

Fix position of the column after drag-move operation in wxGrid. Fix the logic for finding the correct position to drop the column at when ending a drag move operation. The old code dropped it one position too far to the left when it was dropped on the "far" (i.e. right with LTR layout) part of the target column. See #16110.

2014-05-05 00:12 VZ, revision 76452

Fix changing column order in wxGrid when some columns are hidden. Using negative column widths used for hidden columns when updating the column positions after dragging one of them to a new position totally broke their display. Fix this by ignoring the hidden columns. Closes #16110.

2014-05-05 00:12 VZ, revision 76451

Add wxGridCellRenderer::GetBest{Height,Width}() and use them in wxGrid. Allow the renderer to specify the best height at the given width (or vice versa) instead of the best size in both direction which is not defined for e.g. wxGridCellAutoWrapStringRenderer. Closes #15943.

2014-05-05 00:12 VZ, revision 76450

Document restrictions on icon names in the resources in wxMSW. Make it more clear that application icon must precede "wx" in alphabetical order. Closes #3529.

2014-05-05 00:12 VZ, revision 76449

Fix busy cursor handling in modal dialogs under MSW. Modal dialogs shown during wxBusyCursor effect shouldn't show the busy cursor as they do accept input, but did in wxMSW (as could be seen in e.g. the widgets sample after enabling the "Global busy cursor" in the menu and showing the text entry dialog via "Text|Set Help Hint"). Fix this by explicitly checking for the special case of having a modal dialog as parent at wxWindow level as doing it in wxDialog simply didn't work as its WM_SETCURSOR handler wasn't called at all for determining the cursor to use for its children because they handled WM_SETCURSOR themselves in the global busy state, without letting DefWindowProc(), which propagates this message upwards the window hierarchy, to have it at all.

2014-05-05 00:12 VZ, revision 76448

Bring MSVS 2010 projects in line with 2011 and 2012 ones. The new projects are easier to customize as the build options can now be specified in wx_vc10_local.props file. They also have correct dependencies and avoid sharing violations when copying wx/setup.h. Finally, they also use the correct names for the webview DLL, see #15820.

2014-05-05 00:12 VZ, revision 76447

Reset icon ref count when deleting the icon in wxMSW balloon icons code. This avoids the assert which happened when trying to show the next notification message in SetUpIcon() as the icon was null while the reference count was positive.

2014-05-05 00:11 VZ, revision 76446

Fix position of the column after drag-move operation in wxGrid. Fix the logic for finding the correct position to drop the column at when ending a drag move operation. The old code dropped it one position too far to the left when it was dropped on the "far" (i.e. right with LTR layout) part of the target column. See #16110.

2014-05-05 00:11 VZ, revision 76445

Fix changing column order in wxGrid when some columns are hidden. Using negative column widths used for hidden columns when updating the column positions after dragging one of them to a new position totally broke their display. Fix this by ignoring the hidden columns. Closes #16110.

2014-05-05 00:11 VZ, revision 76444

Fix busy cursor handling in modal dialogs under MSW. Modal dialogs shown during wxBusyCursor effect shouldn't show the busy cursor as they do accept input, but did in wxMSW (as could be seen in e.g. the widgets sample after enabling the "Global busy cursor" in the menu and showing the text entry dialog via "Text|Set Help Hint"). Fix this by explicitly checking for the special case of having a modal dialog as parent at wxWindow level as doing it in wxDialog simply didn't work as its WM_SETCURSOR handler wasn't called at all for determining the cursor to use for its children because they handled WM_SETCURSOR themselves in the global busy state, without letting DefWindowProc(), which propagates this message upwards the window hierarchy, to have it at all.

2014-05-05 00:11 VZ, revision 76443

Correct webview DLL name in x64 config of MSVS 2010 project files. The architecture suffix was missing. Closes #15820.

2014-05-03 18:44 PC, revision 76442

vswscanf is needed regardless of wxUSE_UNICODE

2014-05-03 18:31 PC, revision 76441

build fix for systems lacking vswscanf when wxUSE_UNICODE==0

2014-05-03 15:07 JS, revision 76440

Implemented keyboard selection and better cell navigation for tables

2014-05-02 16:19 VZ, revision 76439

Fix property sheets names in MSVS 2013 custom build project. It must be vc12, not vc11.

2014-05-02 16:19 VZ, revision 76438

Add dependency of wxregex on wx/setup.h in MSVS projects. Modified regex library code uses wx headers, so build _custom_build project creating wx/setup.h before it.

2014-05-02 16:19 VZ, revision 76437

Don't crash when dismissing expanded ribbon panel. The parent of wxRibbonPanel is not always a wxRibbonPage, it can also be the containing wxFrame itself if the panel is a temporarily expanded one created when the user clicks a panel reduced to a button. So don't rely on the cast of the parent to wxRibbonPage to always work. This is ugly but at least avoids a crash. Closes #16215.

2014-05-01 18:57 PC, revision 76436

send changed event when selecting a special directory from wxDirPickerCtrl combobox closes #16064

2014-04-30 19:08 PC, revision 76435

avoid referencing xml and html libs when they are not enabled

2014-04-30 16:11 VZ, revision 76434

Fix wxGetClientDisplayRect() when _NET_WORKAREA is not supported. Don't intersect the total rectangle with the uninitialized work area one resulting in an empty rectangle being returned from wxGetClientDisplayRect() if X11 server doesn't support _NET_WORKAREA (this is the case for at least Cygwin X11 server).

2014-04-30 16:10 VZ, revision 76433

Fix wxGetClientDisplayRect() when _NET_WORKAREA is not supported. Don't intersect the total rectangle with the uninitialized work area one resulting in an empty rectangle being returned from wxGetClientDisplayRect() if X11 server doesn't support _NET_WORKAREA (this is the case for at least Cygwin X11 server).

2014-04-30 09:01 SC, revision 76432

backport, supporting alpha channel from clipboard correctly, closes #16198

2014-04-30 08:59 SC, revision 76431

supporting alpha channel correctly from clipboard, closes #16198

2014-04-29 22:35 VZ, revision 76430

Use SetInitialSize() in the about wxHTML sample. SetSize() is useless here as it is simply ignored by the sizer which will fit the window to its initial size anyhow.

2014-04-29 20:34 SC, revision 76429

backport, fix multiline texts for drawing rotated text, see #16216

2014-04-29 20:22 SC, revision 76428

adding support for multi-line text in rotated text, fixes #16216

2014-04-29 16:20 SC, revision 76427

backport, fix memory leak, see #15666

2014-04-29 16:18 SC, revision 76426

fix memory leak for initial empty menubar, see #15666

2014-04-29 12:59 VZ, revision 76425

Recognize Intel compiler as MSVC one under Windows in the build options. The two compilers are binary compatible and by pretending that Intel compiler is the same as MSVC, we allow using ICC to build applications using DLLs built with MSVC. Closes #9437.

2014-04-28 13:33 VZ, revision 76424

Fix problems due to using "%i" format with size_t in propgrid sample. Cast size_t value to int when passing it to "%i" format specifier as it has a different size on LP64 platforms. Closes #16213.

2014-04-28 13:32 VZ, revision 76423

Fix problems due to using "%i" format with size_t in propgrid sample. Cast size_t value to int when passing it to "%i" format specifier as it has a different size on LP64 platforms. Closes #16213.

2014-04-28 13:28 VZ, revision 76422

Make "Close" button affirmative ID in standard dialog button sizer. This allows to use the Escape key to close a dialog with the "Close" button only. Closes #16185.

2014-04-28 13:28 VZ, revision 76421

Make "Close" button affirmative ID in standard dialog button sizer. This allows to use the Escape key to close a dialog with the "Close" button only. Closes #16185.

2014-04-28 00:42 VZ, revision 76420

Fix precision in wxGraphicsContext::{Stroke,Draw}Lines() under MSW. Use floating point coordinates instead of ints which were used for some reason, resulting in a loss of precision. Closes #16187.

2014-04-28 00:41 VZ, revision 76419

Extract setup.h copying into a separate project for MSVC11+. This fixes problems with parallel builds in Visual Studio 2012 or 2013 IDE as multiple projects may try to copy setup.h file at once, resulting in errors. Use _custom_build project as a common dependency to ensure that the copy step is done only once. Closes #16177.

2014-04-28 00:41 VZ, revision 76418

Add wxThread::MSWGetHandle(). Under MSW a thread has both an ID, returned by wxThread::GetId(), and a handle, which couldn't be retrieved so far. Add an accessor to do it. Closes #16170.

2014-04-28 00:41 VZ, revision 76417

Fix wrong wxStatusBar height in wxMSW in some circumstances. Creating the status bar before the menu bar but associating it with the frame after creating the menu bar resulted in a status bar of completely wrong height. Fix this by enforcing the default height on the status bar when it's attached to the frame. Closes #10956.

2014-04-28 00:41 VZ, revision 76416

Allow dropping data outside of item area in wxDataViewCtrl. Implement this change for the generic and the native GTK versions and document it. Closes #16152.

2014-04-28 00:40 VZ, revision 76415

Bring wxMSW wxBitmap::SetBitmapXXX(wxBitmap()) in line with wxGTK. Remove or reset the corresponding bitmap if the provided one is invalid instead of asserting, this is what wxGTK does and this behaviour seems to be more useful. Also document this behaviour as it's now implemented in both wxMSW and wxGTK. Closes #13569.

2014-04-28 00:39 VZ, revision 76414

Micro optimization of checking for alpha transparency. Use faster accessors to the image size. Closes #16148.

2014-04-28 00:39 VZ, revision 76413

Make wxMSW wxTextCtrl::AdjustSpaceLimit() safe to call in all cases. Allow calling this function not only from inside DoWriteText(): first, because the existing code could be doing this (although this is only a concern in 3.0 branch as it was made private in the trunk) and second because it could actually happen if the text limit was exceeded by user typing in the control. See #15980.

2014-04-28 00:39 VZ, revision 76412

Don't call AdjustSpaceLimit() explicitly in wxMSW wxTextCtrl any more. There is no need to do it as this is done by DoWriteText() and AdjustSpaceLimit() doesn't work correctly if called from outside of it now. Because of this, also make it private to prevent other accidental calls to it. Closes #15980.

2014-04-28 00:39 VZ, revision 76411

Fix warning about using "deprecated" close() in MSVC build. Use wxClose(), which is the same as _close() for MSVC. Closes #16212.

2014-04-28 00:39 VZ, revision 76410

Suppress warnings about using _set_se_translator() for MSVC 12 too. We did it up to MSVC 11 but this still seems to work just fine without /EHa with MSVC 12 too, so relax the version check to allow it to pass.

2014-04-28 00:39 VZ, revision 76409

Get rid of deprecated warnings for ::GetVersionEx(). This does not solve the actual problem of this function not returning the correct value for Windows 8+ any more, but at least allows to compile the library without warnings with MSVC 12 and later.

2014-04-28 00:39 VZ, revision 76408

Don't duplicate wxGetOsVersion() in wxMSW wxGUIAppTraits. Just call wxGetOsVersion() instead of using the Windows ::GetVersionEx() function directly.

2014-04-28 00:39 VZ, revision 76407

Enable wxCSConv UTF-7 test under Windows. Even though it doesn't work with iconv under Unix, we can still enable this test under Windows.