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.