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

2009-11-10 18:41 VZ, revision 62591

Avoid setting attributes in GTK wxDataViewRenderer if not supported. If the native renderer doesn't support the properties which we map our attributes to, trying to set them is useless and results in GTK+ warnings so don't do it. Add wxDataViewRenderer::GtkSupportsAttrs() which can be overridden to indicate whether the renderer supports attributes or not. We probably could use g_object_class_find_property() instead to detect it automatically but for now these properties are all supported only by GtkCellRendererText and not supported anywhere else so using a single virtual function seems tidier.

2009-11-10 18:41 VZ, revision 62590

Allow custom wxDataViewCtrl renderers to easily use attributes. Set up the DC passed to wxDataViewCustomRenderer::Render() to use the font and colour defined by the item attribute by default so that any calls to RenderText() from it will use them automatically. Also added public wxDataViewCustomRenderer::GetAttr() to allow retrieving the attribute explicitly in Render(). The column using custom renderer in the dataview sample now works as expected in the generic version; the native ones will be corrected in the upcoming commits.

2009-11-10 18:40 VZ, revision 62589

Big wxDataViewCtrl renderer classes refactoring. This commit adds no changes in functionality but paves way for the upcoming improvements of wxDataViewCustomRenderer. First, introduce wxDataViewCustomRendererBase class in order to allow implementing behaviour common to custom renderers in all ports in this class instead of triplicating it. This required splitting monolithic dataview.h in more parts, now we have wx/dvrenderer.h which defines wxDataViewRendererBase and the new wxDataViewCustomRendererBase and includes wx/port/dvrenderer.h which define wxDataViewRenderer and wx/port/dvrenderers.h which defines all the other renderer classes. Also bring renderers hierarchy in the generic version closer to other ports: all standard renderer classes now inherit from wxDataViewRenderer and not wxDataViewCustomRenderer in for consistency with the other ports. wxDataViewRenderer itself still does derive from wxDataViewCustomRendererBase, unlike elsewhere, but this is unavoidable considering that all generic renderers are custom ones. Finally do some cleanup in OS X part of the code: correct indentation, spacing, comment style.

2009-11-10 18:40 VZ, revision 62588

Add custom renderer column to the list model example in dataview sample. Add a column using custom renderer to the example using a list model with attributes to test attributes support -- currently they are ignored, but this will be fixed soon. Also make the custom renderer display somewhat more clear as previously it didn't depend at all on its value.

2009-11-10 18:40 VZ, revision 62587

Use symbolic constants for list model columns in dataview sample. Using Col_EditableText, Col_IconText and Col_TextWithAttr instead of 0, 1 and 2 makes the sample code a bit easier to read. Also use switch on the column value instead of nested ifs everywhere to give compiler a chance to warn us if we forget to update some function when a new column is added.

2009-11-10 18:36 PC, revision 62586

wxSpinCtrl values are always integral, they don't need to be rounded

2009-11-10 18:12 PC, revision 62583

wxSpinCtrl::SetIncrement is supposed to take an int, not a double

2009-11-10 01:13 VZ, revision 62580

Fix discrepancy between different ways of measuring text extents under Mac. wxGraphicsContext::GetTextExtent() didn't round the returned double result to int but truncated it instead and so returned different extent than GetPartialTextExtents() which did round it up. Moreover, wxGraphicsContext::GetPartialTextExtents() didn't round it up correctly: it wrongly added 0.5 to the value still stored as double and which was hence rounded up (correctly, this time) when converted to int in wxDC::GetPartialTextExtents(). These two errors combined to produce difference of up to 2 pixels between the last offset returned by wxDC::GetPartialTextExtents() and the total string extent returned by wxDC::GetTextExtent() which thoroughly confused the code in wxControlBase::DoEllipsizeSingleLine() (and probably not only there).

2009-11-09 19:20 VZ, revision 62579

Fix unit test added in r62561 to work under Windows too. The unit test checking that slashes were allowed in UNCs too didn't work under Windows because GetPath() returned volume as part of the path there (and also used backslashes by default), fix it.

2009-11-09 02:57 VZ, revision 62578

Remove unused anywhere wxDataViewRenderer::RightClick(). Code calling this method was removed by r53020 but its declaration was still left (almost certainly by mistake) in the header, remove it now too.

2009-11-09 02:57 VZ, revision 62577

Fix fatal bug when changing wxDataViewCtrl model in wxGTK. wxDataViewCtrl::AssociateModel() wrongly delete m_notifier itself if the control already had a model even though the notifier was registered using AddNotifier() which also scheduled it for deletion when the old model itself was destroyed. This resulted in double deletion and reproducible crash whenever the model was changed.

2009-11-09 02:57 VZ, revision 62576

No changes, just correct a recurring typo in "Override". Two "r"s should be enough for anybody.

2009-11-09 02:57 VZ, revision 62575

No changes, just regenerated with bakefile 0.2.8. There are no changes in this file except for the version of bakefile in the header comment.

2009-11-09 00:50 PC, revision 62574

avoid causing idle event from GetValue(), fixes #11013

2009-11-08 22:50 PJC, revision 62573

Replaced hard-coded font size in ribbon art provider with a system defined font size (see #11341).

2009-11-08 12:35 VS, revision 62570

document that wxMessageDialog API additions appeared in 2.9.0

2009-11-08 04:03 KO, revision 62568

Make wxSTAY_ON_TOP and other window styles toggleable via SetWindowStyleFlag under OS X Cocoa.

2009-11-06 21:48 VZ, revision 62567

Recognize MSVC 10 in wx/platform.h. Define __VISUALC10__ for it and avoid a warning when building wx using it.

2009-11-06 21:47 VZ, revision 62566

Change interpretation of font height in wxMSW to mean character height. Accept both positive and negative height values in wxFont::SetPixelSize() in wxMSW and map them both to a negative height when passing to MSW API in order to request mapping against the character height and not the total cell height. For positive heights this is more consistent with the other ports and also expectations of people using this function. We keep the possibility to use the negative heights inly for compatibility with the existing code which worked around the (incorrect) interpretation of the positive height as cell heights in the previous wxMSW versions by passing a negative height explicitly.

2009-11-06 21:47 VZ, revision 62565

Prefer to use standard selection colour in wxDataViewCustomRenderer. We currently don't allow customizing the background colour of the selected items which is always the system standard colour and so we should also use the system standard selection foreground colour as a combination of a custom foreground and standard background may be completely unreadable. Notice that it is still possible to use custom colour if really needed from a custom renderer by removing wxDATAVIEW_CELL_SELECTED from the flags before calling the base class version of RenderText().

2009-11-06 18:33 SC, revision 62564

adding support for wxShowEvent

2009-11-05 16:37 VZ, revision 62563

Compilation fix after r62562. Use char*, not wxChar*, for format specification strings.

2009-11-05 15:59 VZ, revision 62562

Change wxLongLongFmtSpec to be a non-wide string. As with other ANSI/Unicode unification changes, we choose to preserve compatibility with the existing code using wxLongLongFmtSpec in ANSI build and require people using it in Unicode build to change their code. Closes #11372.

2009-11-05 15:59 VZ, revision 62561

Recognize UNCs starting with forward slashes too in wxFileName. Treat \\share\path and //share/path in the same way (for wxPATH_DOS paths). Add a test for UNC parsing to the unit test. Closes #11376.

2009-11-05 15:59 VZ, revision 62560

No real changes, just correct "synonim" typo in comments. Closes #11408.

2009-11-05 15:59 VZ, revision 62559

Implement wxFindWindowAtPoint() correctly for wxOSX/Carbon. Use Carbon FindWindow() function instead of the generic wx version which doesn't take the relative windows Z-order into account correctly. Closes #11412.

2009-11-05 01:31 KO, revision 62557

Create an autorelease pool to catch objects created during several special situations, like customized initialization, so that we don't leak there.

2009-11-04 17:15 VZ, revision 62556

Revert "trivial" change of r61772. The "slight code simplification" of r61772 broke the code as it could now crash if dangling m_Cell pointer was used during parsing. Revert it and add a comment explaining why the code is written in the way it is.

2009-11-04 06:18 PC, revision 62555

work around probable bug in GTK+ 2.18 when calling WriteText on a new, empty control, #11409

2009-11-03 15:47 VZ, revision 62547

Compilation fix after r62545. Cherry picking the change from the trunk didn't work correctly.

2009-11-03 15:12 VZ, revision 62546

Document wxDocument::SetDocumentSaved(). While this function is usually called by wx itself it may be useful to call it explicitly in some particular situations, as documented in the function description, so make it officially public. Closes #11396.

2009-11-03 15:11 VZ, revision 62545

Corrections to wxLaunchDefaultBrowser() under MSW. Don't give spurious error messages if the default browser doesn't provide DDE interface. Also use SEE_MASK_FLAG_NO_UI to avoid shell error messages as we give them ourselves. Backport of r55594 from trunk. Closes #9948.

2009-11-03 15:11 VZ, revision 62544

Provide forward-compatible {Left,Middle,Right}IsDown() accessors. Allow using the same code using XXXIsDown() to work with both 2.8 and 2.9 without provoking deprecation warnings with the latter for XXXDown(). Closes #11382.

2009-11-03 15:11 VZ, revision 62543

Make wx-config forward-compatible with wx 2.9. wx-config in 2.9 doesn't have --debug option, don't use it if the real wx-config chosen by this one is a 2.9 one. Closes #11317.

2009-11-03 15:11 VZ, revision 62542

Avoid redraws of the window under tooltip when its text is changed. Backport the change of r59198 (and correction from r59235) from trunk. Closes #10520.

2009-11-03 15:10 VZ, revision 62541

Export Convert{From,To}IeeeExtended() functions from wx DLL. Closes #8710.

2009-11-03 15:10 VZ, revision 62540

Generate wxEVT_MOUSEWHEEL events for Shift-wheel in wxMac. Handle both kEventMouseWheelAxisY and kEventMouseWheelAxisX events (the latter is generated when Shift is pressed).

2009-11-03 15:10 VZ, revision 62539

No changes, just deTABified and removed trailing spaces. This is necessary in order to be able to commit upcoming changes to this file.

2009-11-02 15:57 JMS, revision 62537

Some wxComboCtrlBase member functions were enclosed within incorrect compatibility condition

2009-11-02 07:27 MW, revision 62536

Do trunk builds on ravnsgaard.

2009-11-01 01:58 KO, revision 62531

Start on Get/SetStyle support for OS X Cocoa wxTextCtrl.

2009-11-01 01:56 KO, revision 62530

wxColour -> NSColor conversion.

2009-11-01 00:00 KO, revision 62526

NSFont -> wxFont conversion.

2009-10-31 23:20 KO, revision 62525

Adding NSColor -> wxColour conversion.

2009-10-31 21:56 KO, revision 62522

Bakefile 0.2.8 rebake.

2009-10-31 21:52 KO, revision 62521

Update to Bakefile 0.2.8.

2009-10-31 17:29 PC, revision 62520

make sure ShowWithoutActivating only takes effect once

2009-10-31 16:58 VZ, revision 62519

Make public and document wxDataView{Index,Virtual}ListModel::GetCount(). This method is useful for getting the number of items in the control and should be part of the public API instead of being marked as internal. Closes #11380.

2009-10-31 16:58 VZ, revision 62518

Fix wx headers compilation in mingw32 strict ANSI mode. Add checks for !defined(__STRICT_ANSI__) when checking for various common but non-standard CRT extensions. This allows compiling programs using wx with g++ -std=c++[0x] option (notice that compiling wx itself using it still doesn't work). Closes #11374.

2009-10-31 16:57 VZ, revision 62517

No real changes, just fix a typo in wxDataViewModel::Compare(). Return -1 from the comparison function instead of -11 when comparing wxDateTime values. It shouldn't matter which value is returned as long as it's negative but it is definitely tidier. Closes #11381.