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

2012-09-20 22:01 VZ, revision 72527

Add wxRibbonButtonBar::GetActiveItem() and GetHoveredItem(). Add accessors for the button being currently clicked or hovered over. See #14630.

2012-09-20 22:01 VZ, revision 72526

Add wxRibbonButtonBar::GetItem(), GetItemById() and GetItemId(). Allow accessing the ribbon bar buttons either by index or ID. See #14630.

2012-09-20 22:00 VZ, revision 72525

Fix alpha handling in Scintilla when not using wxGraphicsContext. When using raw bitmap data access classes such as wxAlphaPixelData we must destroy them to ensure that the changes done via them are committed to the bitmap before drawing the bitmap. Just add an extra block (the diff should be viewed ignoring white space to see the only significant change) to ensure that wxAlphaPixelData is destroyed before DrawBitmap() is called. Closes #14680.

2012-09-20 18:42 RD, revision 72524

Document ShowWithoutActivating

2012-09-20 18:00 VZ, revision 72523

Make it possible to TAB-navigate among wxStaticBox children. As wxStaticBox can now contain child windows, derive it from wxNavigationEnabled<> to allow TAB-navigating among them. Without this, it was impossible to switch focus from keyboard to any of the controls inside wxStaticBox.

2012-09-20 17:47 VZ, revision 72522

No real changes, just remove an unnecessary variable assignment. Initialize m_gtk_model with its correct value immediately, without setting it to NULL first. Closes #14673.

2012-09-20 17:46 VZ, revision 72521

Better documentation for wxRect::Set{Left,Top}(). These functions also change the rectangle right/bottom position, unlike Set{Right,Bottom}() that change its width/height respectively. This is not very logical but impossible to change for compatibility reasons, so at least document it clearly. Closes #14678.

2012-09-20 17:46 VZ, revision 72520

Quote wxExecute() arguments in wxDebugReportUpload when using curl. Quote the argument to curl as it might contain spaces. Closes #14677.

2012-09-20 14:33 JJ, revision 72519

backport wxspinctrl::get/setbase form gtk ->gtk1

2012-09-20 12:20 VZ, revision 72518

Add wxStyledTextCtrl::AnnotationClearLine(). Simply set NULL annotation text for the given line. Closes #12960.

2012-09-20 12:20 VZ, revision 72517

Add wxStyledTextCtrl::SelectNone() to the template header file too. This method was only added to the generated include/wx/stc/stc.h but not to src/stc/stc.h.in from which it is created in r72490, do update the latter file too now. See #12960.

2012-09-20 12:19 VZ, revision 72516

Fix incorrect code sorting pages by their widths in wxRibbon. The "sneaky obj array trickery" wasn't very sneaky but was just plain wrong and misused object array of pages in a way that was invalid and didn't crash just because of sheer luck. Rewrite this code to use a temporary wxVector of pages that can be sorted independently of the main m_pages array. This is 100% safe and also more clear. Closes #14625.

2012-09-19 23:18 SC, revision 72515

completing the removal of PICT

2012-09-19 22:23 SJL, revision 72514

Update the wxSpinCtrlDouble documentation so SetIncrement refers to SetDigits Closes #12342

2012-09-19 20:55 RD, revision 72513

Add define for MAC_OS_X_VERSION_10_7 if there isn't one already

2012-09-19 16:09 SC, revision 72512

bracing 10.7+ constant

2012-09-19 14:36 SC, revision 72511

workaround for non-standard icon sizes under 64 bit

2012-09-19 13:28 JJ, revision 72510

Update setup.h for OpenVMS

2012-09-19 10:18 SC, revision 72509

fixing incorrect scrolling - which happened at least under OSX ...

2012-09-19 09:53 VZ, revision 72508

Update wxGTK.spec to work with openSUSE build server. Changes from Marcin Wojdyr fixing issues for different RPM-using systems: - added all necessary BuildRequires fields - for openSuse wxGTK-gl package is named libwx_gtk*_gl... (it's enforced that package with one shared lib has name matching the library name) - added missing '%dir's - on some distros rpms didn't built without it - Fedora, Suse and Mandriva have all different set of known Groups, I've changed group from 'X11/Libraries' to 'System/Libraries' -- it's defined at least in Suse and Mandriva. (in recent distro releases Group can be skipped, so it's becoming irrelevant). - removed 'Packager' field and dots ending Summary field - AFAIR these were errors on Opensuse - added '= %{version}' to Provides - for Redhat5 use GCC4.4 (build crashed with default 4.2)

2012-09-19 09:50 VZ, revision 72507

Let wxWindow::Fit[Inside]() work even for windows without children. The best [virtual] size of the window is usually determined by its children but it's also possible to have a min size constraint set on the window sizer so set the window to its best size in Fit() independently of whether it has children or not. Closes #14668.

2012-09-19 00:45 VZ, revision 72506

More s/loose/lose/ in wxEncodingConverter comments. Finish the changes started by r72500 and lose the remaining loosely used words. Closes #14665.

2012-09-19 00:45 VZ, revision 72505

Show tooltips for the too long items in generic wxTreeCtrl. Show the full item text in a tooltip if the entire text can't be shown on screen. Closes #14667.

2012-09-18 02:03 VZ, revision 72504

Fix wxMSW compilation in STL build after the changes of r72472, Call t_str() to explicitly convert wxString to wxChar* as implicit conversion is not available in STL build. Closes #14666.

2012-09-18 01:35 DS, revision 72503

Set svn properties on recently added files. Added svn:eol-style (set to native) and svn:keywords (set to Id) for .cpp and .h files that were added since r72218.

2012-09-17 14:18 VZ, revision 72502

Rebake after addition of richtexttabspage.h in r72497. See #14644.

2012-09-17 13:07 VZ, revision 72501

Don't show hidden wxGrid rows/columns when they're auto-sized. Fix the problem introduced in r72491 which resulted in wxGrid rows/columns being shown after auto-sizing even if they had been hidden. Closes #14133.

2012-09-17 13:07 VZ, revision 72500

No changes, just fix some typos in the comments in the headers. Closes #14665.

2012-09-17 01:09 VZ, revision 72499

No real changes, just remove an unneeded variable initialization. Closes #14664.

2012-09-16 17:35 JS, revision 72498

Updates

2012-09-16 17:31 JS, revision 72497

Added include/wx/richtext/richtexttabspage.h to files.bkl

2012-09-16 01:20 VZ, revision 72496

No changes, just silence some MSVC 11 static analyzer warnings. This is an aborted attempt to make wxWidgets code compile without warnings when using MSVC 11 /analyze option, as it was supposed to have become much better. Unfortunately it still produces way too many false positives to be really useful, in particular NULL pointer detection is completely broken as even the code such as (from object.cpp): wxClassInfo *info = sm_first; while (info) { if ( info->m_next == this ) ... } provokes tons of warnings about "info" being NULL inside the loop which is clearly impossible. So this commit just fixes a few obvious warnings, mostly about variable shadowing but also a couple about possibly passing NULL to memcpy().

2012-09-16 01:19 VZ, revision 72495

Add help button support to wxRibbonBar. Optionally show standard "Help" question mark button in the ribbon top right corner and generate the appropriate event for it. Closes #14576.

2012-09-16 01:19 VZ, revision 72494

Fix text origin and bounding box computations in wxSVGFileDC. Text origin was calculated incorrectly for the rotated text and the bounding box was wrong even in non-rotated case. Fix this by using correct definition of the text anchor according to the SVG specification and add a test to the svg sample demonstrating this. Closes #14489.

2012-09-16 01:19 VZ, revision 72493

No real changes, just slightly simplify wxSVGFileDCImpl code. Move m_graphics_changed check inside NewGraphics() itself instead of checking whether it's true each time before calling it, it is better to both test the flag and reset it inside this function rather than do the first part in the caller and the second one in the callee. Also rename the function to NewGraphicsIfNeeded() to make its meaning more clear.

2012-09-16 01:18 VZ, revision 72492

Minor fixes to wxSVGFileDC implementation. Update W3C recommendation URL; Mention Inkscape; replace wrong wxSVGFileDC occurrence with wxDC. See #14462.

2012-09-16 01:18 VZ, revision 72491

Preserve size of wxGrid rows/columns when hiding and showing them back. Previously, if a wxGrid row or column was hidden by setting its size to 0, its original size was lost. Change this so that it's preserved now and can be restored by setting the size to the special -1 value later. Closes #14133.

2012-09-16 01:17 VZ, revision 72490

Fix wxGrid::PosToLinePos() in presence of hidden rows or columns. The optimization of the binary search inside this function failed if any rows/columns were hidden and so were of zero size. See #14133.

2012-09-16 01:17 VZ, revision 72489

Fix wxGrid::AutoSizeColOrRow() logic for multicells. This fixes the regression of r64885 and also tries to make the code more clear by setting the variables explicitly to their correct values. Closes #14611.

2012-09-16 01:17 VZ, revision 72488

Handle underlined and strikethrough attributes in wxGTK native font info. These attributes were not handled by wxFont::GetNativeFontInfoDesc() as it only serialized the Pango font description which doesn't support them. Fix this by handling these attributes explicitly and prepending them to the Pango font string if necessary. Closes #14559.

2012-09-16 01:16 VZ, revision 72487

Take into account wxFONTFLAG_STRIKETHROUGH in wxGTK wxFont ctor. Honour wxFONTFLAG_STRIKETHROUGH in wxFont ctor taking flags as this is the only way to create a strike-through font currently. See #14559.

2012-09-15 00:26 VZ, revision 72486

Fix spelling in the comments in wxPropertyGrid code. No real changes. Closes #14645.

2012-09-15 00:26 VZ, revision 72485

Allow using horizontal cursor navigation keys in non-readonly wxComboCtrl. Don't intercept Left/Right/Home/End keys until the control is read-only, otherwise they're more useful for navigating in its text part than in its drop-down. Closes #14648.

2012-09-15 00:26 VZ, revision 72484

No changes, just remove an unused variable from CHM code. Closes #14655.

2012-09-15 00:25 VZ, revision 72483

No changes, just remove unnecessary variable initialization. Combine variable declaration and initialization. Closes #14659.

2012-09-14 12:27 VZ, revision 72482

Czech translations update from Zbynek Schwarz.

2012-09-13 19:16 VZ, revision 72479

Relax wxMessageDialog style checks, assume wxOK by default. Don't complain if neither wxOK nor wxYES[_NO] are specified but just assume wxOK by default. This allows the code calling wxMessageBox() with just an icon flag to continue to work in the same way in 2.9 as it did in 2.8.

2012-09-13 19:15 VZ, revision 72478

No changes, just remove unneeded variable initialziation in wxAUI. Initialize the variables to the correct values when defining them instead of initializing them as 0 first and then assigning them the real value. Closes #14652.

2012-09-13 19:15 VZ, revision 72477

Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG images. Just as wxBITMAP() provides a portable way of loading bitmaps from either Windows BMP resources or embedded XPM data depending on the platform, wxBITMAP_PNG() hides the difference between loading bitmaps from PNG resources under Windows and embedded PNG data elsewhere. Also add wxBITMAP_PNG_FROM_DATA() macro which always loads PNG data from memory: it's needed anyhow as part of wxBITMAP_PNG() implementation and some people may prefer to always use it under all platforms. Finally modify the image sample to demonstrate loading PNG images from both resources and memory. This involved creation of a new Windows .rc file for it and copying its data files to Resources bundle directory under OS X.

2012-09-13 19:15 VZ, revision 72476

Add wxBitmap::NewFromPNGData() for creating bitmaps from PNG data. This simple function can be used to create a wxBitmap from the raw image data in PNG format. It is just a thin wrapper around wxImage load functions under almost all platforms but has two advantages: 1. It can be implemented natively for some platforms (currently only OS X). 2. It can be used in a single expression as it doesn't require creating a temporary wxMemoryInputStream and this will be required by wxBITMAP_PNG() macro that will be added soon.

2012-09-13 19:14 VZ, revision 72475

Don't ignore invalid files entered into wxFileDirPickerCtrlBase. File/directory picker controls with wxFLP_FILE_MUST_EXIST/wxDIRP_DIR_MUST_EXIST style simply ignored any value entered by user if it didn't correspond to an existing file/directory. This meant that the program didn't use the value that was shown on the screen resulting in very confusing UI -- e.g. a program could complain that no value was entered when actually it was and just corresponded to a non-existing file. As we can't prevent the entry of arbitrary strings in the text field of the file picker control, stop pretending that we can validate it and just update the control value, and send the corresponding event, whenever the text control value changes.

2012-09-13 19:14 VZ, revision 72474

Extract "Close" button creation from wxInfoBarGeneric into new function. Such buttons may be needed in other places and it's not obvious to create them, so add a new public wxBitmapButton::NewCloseButton() method to allow creating them easily.

2012-09-13 19:13 VZ, revision 72473

Provide up to date documentation for wxLoadUserResource(). Document the new and preferred overload avoiding copying the data. Also document the new (since 2.9.1) parameters of the old one.

2012-09-13 19:13 VZ, revision 72472

Change wxMSW-specific wxLoadUserResource() to accept standard RT_XXX types. Resource types can be either strings for custom types or integers casted to a TCHAR* for the standard ones. Using wxString for the resource type prevented us from using the latter as any attempt to initialize wxString for such a pseudo-string resulted in an immediate crash. Change wxLoadUserResource() resource type parameter type to wxChar* to avoid this and allow passing standard resource types, such as RT_RCDATE, to this function directly.

2012-09-13 19:13 VZ, revision 72471

Don't initialize alpha twice when loading wxImage from resources. Calling InitAlpha() when we already had loaded alpha from the resource data results in an assert. Fix this by only initializing alpha if don't have it yet. Closes #14643.

2012-09-13 19:12 VZ, revision 72470

Fix wxFindWindowAtPoint() with nested windows in wxMSW. Return the deepest child of the window and not the first one as this function needs to return the window that is at the top of Z-order. Closes #14591.

2012-09-13 19:12 VZ, revision 72469

Fix "pos" argument description in wxTreeCtrl::InsertItem() documentation. Closes #14640.

2012-09-13 19:11 VZ, revision 72468

Fix setting colours for the edit control part of wxComboBox. Recognize this control as part of wxComboBox and so handle WM_CTLCOLOR for it. To do this, override ContainsHWND() in wxComboBox and use it, on the parent window, in wxControl::DoMSWControlColor(), if we fail to find the window directly. Closes #811.

2012-09-13 13:15 JS, revision 72467

Removed excessive space above style type selector

2012-09-12 20:58 JS, revision 72466

Added support for wxTEXT_ATTR_EFFECT_SMALL_CAPITALS.

2012-09-12 20:58 JS, revision 72465

Added support for wxTEXT_ATTR_EFFECT_SMALL_CAPITALS.

2012-09-12 20:57 JS, revision 72464

Added support for wxTEXT_ATTR_EFFECT_SMALL_CAPITALS.

2012-09-12 09:47 JS, revision 72463

You can now remove the font face name attribute by clearing the name field in the font dialog.

2012-09-11 13:15 JS, revision 72462

Fixes for overlarge combo/choice height in small variant mode, and too small/mispositioned button size. Tested on 10.3.9 (PPC), 10.4.11, 10.5.6, 10.6.2, 10.6.8, 10.7.4, 10.8.0, 10.8.1 Set wxUSE_MAC_BUTTON_POSITION_FIX to 1 in include/wx/mac/carbon/button.h for button fix.

2012-09-11 11:26 SJL, revision 72461

Add generic wxFileSystem support to wxWebView using wxWebViewFSHandler. Closes #14623.

2012-09-10 22:02 SJL, revision 72460

Move wxWebViewIE missing definitions to webview_missing.h and add new definitions required for Find. These are required as some compilers, notably MinGW and VC6, do not include up to date headers. Fixes #14621.

2012-09-10 14:49 SC, revision 72459

layout adaption, current sizer code leads to too much white space

2012-09-09 22:28 VZ, revision 72458

Fix handling of wxTextEntry hints in wxGTK. Recent changes (r71308) optimizing away setting the text of the text entry if it didn't really change completely broke the generic text hints implementation as e.g. clearing the hint didn't change anything because the entry was already logically empty anyhow. Fix this by simply comparing the new value with the real value of the entry returned by DoGetValue() and not GetValue() that takes hints into account.

2012-09-09 15:37 VZ, revision 72457

Fix deprecating warning introduced in r72446. Use wxVScrolledWindow::ScrollToRow() instead of the old and ambiguous ScrollToLine() which is only preserved for compatibility reasons.

2012-09-09 15:36 VZ, revision 72456

Allow using versions of libnotify < 0.7 in wxGTK. libnotify 0.4.5 included in Ubuntu Lucid (10.04) can be used for implementing wxNotificationMessage too, there is only a minor difference with 0.7 API. So while we stick check for 0.7 initially, accept lower versions too if 0.7 is not available.

2012-09-09 15:36 VZ, revision 72455

Set modifiers properly for the key events with AltGr in wxGTK. Just as under Windows, represent AltGr as a combination of wxMOD_CONTROL and wxMOD_ALT.

2012-09-09 15:35 VZ, revision 72454

Remove workarounds for wxTextCtrl::SetValue() events in pickers code. Simply use ChangeValue() instead of SetValue() to avoid the unwanted events instead of using guard variables. No real changes but the code is simpler and shorter now.

2012-09-09 15:35 VZ, revision 72453

Add a test of wxFilePickerCtrl::GetValue() to the widgets sample. Make the current value of the control visible in its page.

2012-09-09 15:35 VZ, revision 72452

Add an informational message to the file picker page of widgets sample. No real changes, just indicate that clicking the "Set initial directory" button was indeed taken into account.

2012-09-09 15:34 VZ, revision 72451

Simplify and correct setting of initial directory for wxFilePickerCtrl. Create wxFileDialog with correct initial directory and default file name from the very beginning instead of updating it later. This makes the code simpler and also actually makes it work as the initial directory setting was overwritten by setting the default path later even if it didn't contain any directory component.

2012-09-09 15:34 VZ, revision 72450

Fix harmless virtual function hiding warning in wxMSW build. Override the other StrokeLines() overload in wxGDIPlusContext just to avoid the warning about hiding a base class virtual method from MinGW compiler.

2012-09-09 12:46 VZ, revision 72449

Fix wxKeyEvent::GetKeyCode() descripotion: it doesn't depend on locale. GetKeyCode() will always return valid key codes for Latin-1 symbols but won't do it for other non-ASCII Unicode characters even if they are representable in the current locale.

2012-09-09 12:46 VZ, revision 72448

Do not use wxIsprint() in EVT_CHAR example in the documentation. This is incorrect as wxIsprint() is locale-dependent and only really works as expected in UTF-8 locales (which are never used under Windows). Instead, just test for control characters directly.

2012-09-09 11:39 JS, revision 72447

Ensure the selected style is visible.

2012-09-09 11:38 JS, revision 72446

Ensure the selected style is visible.

2012-09-09 10:34 VZ, revision 72445

Italian translations update from Roberto Boriotti.

2012-09-09 02:44 VZ, revision 72444

Don't try to determine the clicked item ourselves in wxMSW wxListBox. This doesn't work when the listbox is scrolled as the result of a click to make the selected item fully visible and results in the index of the item being off by 1 in the generated event which is a pretty serious problem. Fix it by simply retrieving the item from the listbox itself, without doing any hit testing. This seems to give the correct result in all cases and also makes the code much simpler as we don't have to use 2 different ways of finding the item depending on whether it was selected using the keyboard or the mouse and makes it unnecessary to keep track of how the selection was done completely, i.e. reverts r64498 which is not needed any more. Closes #14635.

2012-09-09 02:44 VZ, revision 72443

Document wxDropTarget::GetDataObject(). Closes #14631.

2012-09-09 02:43 VZ, revision 72442

Don't use StringFormat::GenericTypographic() in MSW wxGraphicsContext. Using this string format results in very condensed strings when using small fonts. The results of GDI+ font rendering are still pretty bad even without it but they are at least slightly better. Closes #14537.

2012-09-09 02:43 VZ, revision 72441

Use a single global StringFormat in all wxMSW wxGraphicsContext code. Instead of creating StringFormat in DrawText() and Get[Partial]TextExtent[s], create it once and simply use it from both functions. This might be slightly more efficient as we don't waste time recreating it but the main advantage is that it ensures that these functions use the same string format and no discrepancies between them are possible. See #14537.

2012-09-09 02:42 VZ, revision 72440

Output the values of all USE_XXX options to build.cfg file in MSW builds. USE_RTTI, USE_AUI, USE_PROPGRID, USE_RIBBON, USE_RICHTEXT, USE_STC and USE_XRC options were not output to the build configuration file, unlike the rest of them. Do output those ones as well now for consistency. Also sort the options corresponding to different wx libraries alphabetically. Closes #14608.

2012-09-09 02:42 VZ, revision 72439

Document wxWindow InheritsBackgroundColour() and UseBgCol() methods. These functions were present in the interface header but didn't have their own documentation and somehow inherited the documentation of the first function in the same section which didn't make any sense for them. Do document them now. Closes #14607.

2012-09-09 02:42 VZ, revision 72438

Link MSW-specific event loop files in wxUniv/MSW. This fixes wxUniv build after the changes of r72008. Closes #14606.

2012-09-08 23:51 VZ, revision 72437

Undid accidental modification of wxTaskBarIcon in the last commit.

2012-09-08 23:48 VZ, revision 72436

Fix narrow/wide string concatenation in recently added wxSizerFlags assert. This fixes MSVC build after r72434.

2012-09-08 18:03 VZ, revision 72435

Fix some typos in the comments in wxOSX code. Closes #14636.

2012-09-08 17:46 VZ, revision 72434

Check validity of wxSizerFlags::Border() direction parameter. Catch the misguided attempts to pass the size of the border as the first parameter of the Border(direction, size) overload.

2012-09-08 17:46 VZ, revision 72433

Enable GL_CULL_FACE in OpenGL samples. Without it, the hidden faces are shown resulting in wrong display of both the cube and the penguin, at least with Mesa (but it also seems to be the correct thing to do according to OpenGL documentation).

2012-09-08 12:53 VS, revision 72432

Fix VC6 compilation after r72430. VC6 doesn't handle for loop scope correctly.

2012-09-08 12:53 VS, revision 72431

Add MUI_LANGUAGE_NAME to wx/msw/missing.h. Fixes VC6 compilation after r72430.

2012-09-08 10:58 VS, revision 72430

Add wxTranslations::GetBestTranslation(). Implement preferred language selection on modern systems (OS X, Windows Vista+). User settings for locale (aka "regional settings") and UI language are independent there and the UI language shouldn't be determined from the locale. Moreover, the OS provides a list of preferred languages, not a single value (as with locale), so we should use the best language given user's preferences and available translations. A Czech user may prefer Slovak UI over English, for example, and we should use Slovak translation in absence of Czech one in that case instead of falling back to English. On Unix, locale is language and so things remain as before. Notice that calling wxLocale::Init(wxLANGUAGE_DEFAULT) does the right thing now: it sets the locale to whatever the user has configured in regional settings and loads translations corresponding to default wxTranslations language, which is determined as described above. Previously, UI would be translated using a language corresponding to the regional settings.

2012-09-07 22:15 DS, revision 72429

Regenerated Xcode projects. Updated the Xcode projects for Scintilla 3.21 and removal of src/osx/spinctrl_osx.cpp.

2012-09-07 22:11 DS, revision 72428

Updated instructions for XML Tools. A newer version of XML Tools has been released (2.9.4) which supports OS X 10.6 and later. As such a link to the beta version of 2.9.4 is not needed anymore.

2012-09-07 11:51 VS, revision 72427

wxMSW: Fix incorrect subitem rect calculation in wxListCtrl. HandleSubItemPrepaint() calls wxGetListCtrlSubItemRect() (a thin replacement of ListView_GetSubItemRect) with subitem argument corresponding to MSDN documentation: it should be 0 for the whole item and 1-based for subitems. Unfortunately, as pointed out in an explanatory comment for wxGetListCtrlSubItemRect(), MSDN lies and the index actually is 0-based. The bug causes wxListCtrl's content to be shifted by one column and rendered with additional artifacts as soon as custom drawing is used, e.g. when a custom font is used. This bug was introduced in r55378; the code correctly accounted for this before that. This change partially reverts that commit.

2012-09-06 16:24 SC, revision 72425

restrict change from r71719 because otherwise apps like docview sample in ddi mode are not allowing their different child frames to be z-reordered