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-14 17:34 RR, revision 62644

Always position value lable left of a vertical slider

2009-11-14 17:31 RR, revision 62643

Add tests for wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL

2009-11-14 17:25 VZ, revision 62642

Add support for Symbian to some non-GUI classes. Recognize __SYMBIAN32__ define in wx/platform.h and add __WXSYMBIAN__ corresponding to it. Add some Symbian-specific methods to wxString. Patch by <veon.ua@gmail.com>.

2009-11-14 17:13 VZ, revision 62641

Create a branch for wxSymbian development.

2009-11-14 17:11 VZ, revision 62640

No real changes, just remove the ugly CONST_CAST macro. Use const_cast<> directly, we don't support compilers which don't have it any more. And CONST_CAST macro conflicts with a macro with the same name (and similar purpose) defined in Symbian headers.

2009-11-14 16:51 VZ, revision 62639

Restore the use of correct alignment in wxDVC renderers. The code from old CalculateAlignment() was somehow lost during the refactoring, restore it in wxDataViewCustomRendererBase::RenderText().

2009-11-14 15:26 RR, revision 62638

Simple implementation of wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL for MSW

2009-11-14 15:25 RR, revision 62637

Document wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL

2009-11-14 12:03 RR, revision 62636

Typo

2009-11-14 11:58 RR, revision 62635

Implement wxSL_VALUE_LABEL and wxSL_MIN_MAX_LABELS for GTK+

2009-11-13 19:56 RR, revision 62634

Renamed wxSL_LABELS_MIN_MAX -> wxSL_MIN_MAX_LABELS

2009-11-13 19:39 SC, revision 62633

adding toolbar implementation for iphone

2009-11-13 19:36 RR, revision 62632

Add constants wxSL_LABELS_MIN_MAX and wxSL_VALUE_LABEL

2009-11-13 19:30 SC, revision 62631

updating implementations of wxGetMouseState for osx_cocoa and dummy impls for iphone

2009-11-13 15:14 RR, revision 62630

Implement and document wxDataViewTreeCtrl::IsContainer(), use it in the sample to not add items to non-containers

2009-11-13 14:56 RR, revision 62629

Minor formating

2009-11-13 14:56 RR, revision 62628

Correct sorting in wxDataViewTreeStore, fixes #11436, part II

2009-11-13 11:30 RR, revision 62627

Don't use gtk_tree_model_get_path of the item is already the delete in the model, fixes #11436

2009-11-13 09:32 RR, revision 62626

Add tests to wxDataViewTreeCtrl

2009-11-13 09:24 RR, revision 62625

Also update focus rect when changing selection in single selection mode, fixes #11332

2009-11-13 09:05 RR, revision 62624

Reset m_underMouse anytime the display is changed programmatically, fixes #11322

2009-11-13 03:28 KO, revision 62623

Override default handling so that we can position windows off-screen like on other ports.

2009-11-12 14:13 VZ, revision 62620

Make wxSizeEvent::GetSize() description more precise. Mention that it returns the new total (and not client) size of the window.

2009-11-12 00:08 VZ, revision 62619

Update gdb pretty printing support for latest gdb version. gdb.pretty_printers is not a map any more but a list containing lookup functions for pretty printers.

2009-11-11 23:30 VZ, revision 62618

Set wxSL_VERTICAL style in wxSlider demo page. wxGTK doesn't currently take wxSL_{LEFT,RIGHT,TOP,BOTTOM} styles into account but at least make it change the slider orientation correctly depending on them.

2009-11-11 20:49 JMS, revision 62617

Fix wxPropertyGrid rendering problems when used with wxAUI. It seems we cannot rely on wxWindow::GetRect() to return wxRect with x=0 here. (fixes #11433)

2009-11-11 19:04 PC, revision 62616

don't show menubar unless is is supposed to be showing, fixes #11147

2009-11-11 18:18 VS, revision 62615

Check that event's IDs range is valid, i.e. that lower bound is not higher than upper bound.

2009-11-11 15:38 VZ, revision 62614

Add wxBase64Decode(void*,size_t,wxString) overload. We had wxBase64Decode(void*,size_t,const char*,size_t) as well as wxBase64Decode(const char*,size_t) and wxBase64Decode(wxString) already but not a version taking the buffer and wxString, complete the set of overloads now. This allows the unit test to compile in STL build (where there is no implicit conversion from wxString to const char *).

2009-11-11 11:59 JS, revision 62613

Fixed tab removal bug, and empty text element

2009-11-11 11:59 JS, revision 62612

Fixed tab removal bug, and empty text element

2009-11-11 11:22 VS, revision 62611

added a note about XRCID() and EVT_*_RANGE macros (see bug #11431)

2009-11-11 03:12 KO, revision 62610

Use wxWebKitCtrlNameStr to adhere to the convention used by other wx classes.

2009-11-11 03:11 KO, revision 62609

Run sanity checks on the position values.

2009-11-11 02:50 VZ, revision 62608

Implement text ellipsizing for wxDataViewCustomRenderer in wxGTK. Add another virtual function (GtkGetTextRenderer()) to the base class which allows us to reuse the same code setting the "ellipsize" property that we already used for wxDataViewTextRenderer for wxDataViewCustomRenderer as well.

2009-11-11 02:36 VZ, revision 62607

Add wxOSX_USE_COCOA around Cocoa-only OSXApplyAttr() method. This method is used in wxOSX/Cocoa only.

2009-11-11 02:32 VZ, revision 62606

Revert r62598 which removed "unnecessary wxOSX_USE_COCOA checks." These checks were not unnecessary at all, this file is used for both Cocoa and Carbon, fix this momentary lapse of reason.

2009-11-10 19:17 VZ, revision 62604

Send the selected item in wxDVC SELECTION_CHANGED event in OSX/Cocoa. This event was perfectly useless as it didn't indicate which item was selected. Do set the selected item now, just as the generic and GTK versions do.

2009-11-10 19:17 VZ, revision 62603

No changes, just reformat comments in osx/dataview.mm. Wrap long lines to be able to read the comments and remove the perfectly useless "// variable definition" and "// constant definition for abbreviational purposes" noise.

2009-11-10 18:42 VZ, revision 62602

Fix width of the wxDataViewTreeCtrl column under OSX/Cocoa. Set the column resizing mode to "automatic" instead of "none" if the control doesn't show the header. This allows the native control to properly resize the only tree control column to always take up the entire window size (provided we don't explicitly create it resizeable, so don't do this).

2009-11-10 18:42 VZ, revision 62601

Add support for wxDV_NO_HEADER to OS X/Cocoa wxDataViewCtrl. Also use this flag with the tree control in the sample to test it and also because it doesn't make much sense to have a single column without title anyhow.

2009-11-10 18:42 VZ, revision 62600

More cleanup of OS X Cocoa wxDataViewCtrl code. Add wxDataViewItemFromItem() and wxDataViewItemFromMaybeNilItem() functions instead of repeating the same ugly casts several dozens of times. Also wrap some more long lines. No real changes.

2009-11-10 18:42 VZ, revision 62599

Add support for custom attributes to wxOSX/Cocoa wxDataViewCustomRenderer. Virtualize applying the attributes in a new OSXApplyAttr() function and simply store the attribute in its wxDataViewCustomRenderer version so that it could be reused later in Render(). The attributes now work correctly in wxOSX/Cocoa dataview sample too.

2009-11-10 18:42 VZ, revision 62598

No changes, just remove unnecessary wxOSX_USE_COCOA checks. This file is only compiled in wxOSX/Cocoa build so there is no need to check that we're using Cocoa here.

2009-11-10 18:42 VZ, revision 62597

Don't overwrite background in custom renderer in OSX/Cocoa. Erasing background seems to be unnecessary and was actively harmful for the selected items which didn't appear with the correct background colour. Just don't do it at all.

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

Add support for custom attributes to wxGTK wxDataViewCustomRenderer. Call SetAttr() to store them in wxDataViewCustomRenderer before rendering it and also honour the attributes in RenderText() (by reusing the same code we already use for wxDataViewTextRenderer). The attributes now work correctly in dataview sample under wxGTK as well.

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

Correct text position in wxDataViewCustomRenderer::RenderText() in wxGTK. It simply ignored the passed in rectangle meaning that the text was always drawn at the top left corner of the cell rectangle. Also more code cleanup: collect all render call parameters in a single struct and provide a public function to set them all at once instead of making them public.

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

Pass full cell rectangle to WXCallRender(). There is no need to ask the item for its size in gtk_wx_cell_renderer_render() as WXCallRender() will already do it (correctly, accounting for badly implemented GetSize() unlike this version) internally on its own.

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

Add helper wxRectFromGDKRect() function and use it. No real changes, just another small refactoring.

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

No real changes, just remove some unnecessary casts. Use correct GdkRectangle* type for wxDataViewCustomRenderer::xxx_area members instead of casting them to and from void*.

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.