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.

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

Return the real column width from wxOSX wxDataViewColumn::GetWidth(). Code used to return the last programmatically set width value instead of the real column width which could have been changed by user if the column was resizeable, fix this by returning the current NSTableColumn:width value. Closes #11397.

2009-10-30 15:11 JMS, revision 62511

Prevent wxCheckListBox from corrupting menu item by changing ms_nLastMarginWidth (regarding defect #4068). SetOwnMarginWidth() member function needed to be added into wxOwnerDrawn.

2009-10-30 08:39 PC, revision 62510

implement ShowWithoutActivating for GTK+

2009-10-30 07:01 KO, revision 62509

Compilation fix for last commit.

2009-10-30 06:04 KO, revision 62508

Initial ShowWithoutActivating implementations for Mac and Windows, and attempt to improve IsActive behavior on Mac. Also adding ShowWithoutActivating() and Show/Hide tests, but until the mainloop issues are resolved, not adding them to tests.bkl.

2009-10-29 08:30 JJ, revision 62507

fixing wx/evtloop.h for gtk1

2009-10-28 16:57 JMS, revision 62506

Fixed backslash escaping in wxArrayStringProperty::StringToValue()

2009-10-28 13:05 JJ, revision 62505

omitting assert that makes no sense for OpenVMS

2009-10-27 17:44 VZ, revision 62504

No changes, just add a comment to the button focus handling code. The workarounds for the button focus issues should become unnecessary if we switch to setting the focus correctly as explained in the linked post.

2009-10-27 17:44 VZ, revision 62503

Undo commit of test code accidentally checked in in r62478.

2009-10-27 17:39 VZ, revision 62502

Make the preview frame float on parent by default. Otherwise it is hidden when the parent is a modal dialog, at least under wxGTK. This is a backport of r58154 from trunk and closes #10341.

2009-10-25 18:48 PC, revision 62501

feature name must match description fixes --disable-sysoptions

2009-10-24 23:42 VZ, revision 62500

Make wxDataViewModel::GetAttr() and GetAttrByRow() const. This is an incompatible change but having to use a non-const model pointer to call a clearly logically const version was simply too ugly so change it while we still can.

2009-10-24 23:41 VZ, revision 62499

Add wxDataViewListModel base class for list models. Introduce a base class for wxDataViewIndexListModel and wxDataViewVirtualListModel instead of duplicating the same code in both of them making the code difficult to maintain and change. For now this class is not documented as it is used just to avoid duplication in the implementation but maybe we should make it public to allow defining other flat list data models (if this can be made to work in Carbon version).

2009-10-24 23:41 VZ, revision 62498

Create model and column in wxDataViewTreeCtrl::Create(), not ctor. Old code created the tree model and its unique built-in column only in wxDataViewTreeCtrl ctor but not in Create(), meaning that the behaviour was very different depending on whether you used base class ctor call or Create() in a derived class. This was confusing and completely inconsistent with wx API in which using the default ctor and Create() is supposed to always have exactly the same effect as using non-default ctor so change this to create the model in Create() so that it's always done. Slightly update the documentation and also add wxDataViewTreeCtrl::Init() for consistency.

2009-10-24 23:41 VZ, revision 62497

No real changes, just make wxDataViewCtrl::Init() private in wxGTK. The usual convention is for Init() method to be private and to call it from constructor, follow it in GTK implementation of wxDataViewCtrl too instead of making it public and calling it from Create().

2009-10-24 21:28 SC, revision 62496

support for auto-rotate on iphone

2009-10-24 21:22 SC, revision 62495

switching to explicit flush mode, otherwise clientdc destruction lead to contention in customrenderers in osx

2009-10-24 03:03 VZ, revision 62493

Don't show anything in the cells which should be empty in Cocoa wxDVC. Implement a custom NSTableColumn-derived class to return nil for the cells which shouldn't show anything at all because they are part of a container row. This finally fixes the totally wrong display of the first page of the dataview sample under OS X.

2009-10-24 03:03 VZ, revision 62492

Add wxDataViewModel::HasValue(). This method allows to simply test whether we have a value at the given row and column or not (as it happens for container items unless they too have columns). Currently this method is not virtual and is not used by the implementations yet but it might make sense to make it virtual and allow overriding it in the future.

2009-10-24 03:02 VZ, revision 62491

Use virtual items in wxDVC sample under Mac too. There doesn't seem to be any reason to not use them and having different appearance under OS X and elsewhere is just confusing and looks like a bug.

2009-10-24 01:49 VZ, revision 62490

Use virtual functions to convert NSObject to the correct type in wxDVC. Instead of trying to determine the type of the value which should be extracted from the NSObject we receive from NSOutlineView, just pass it to a virtual method in the renderer which knows which type does it need. This fixes the problem with editing boolean/checkbox columns and makes the code more elegant.

2009-10-24 01:49 VZ, revision 62489

Add wxDataViewModel::ChangeValue() and use it in wxDVC implementation. ChangeValue() is a trivial wrapper calling both SetValue() and ValueChanged(). It allows to replace many calls to SetValue() immediately followed by ValueChanged() with a single function call which is significantly shorter and less error-prone (e.g. most of the existing code didn't test SetValue() return code at all).

2009-10-23 19:48 VZ, revision 62488

Rebaked using post-0.2.7 svn version of bakefile. Unfortunately 0.2.7 release contained a bug in msvc backend which resulted in warnings generated for each file compiled. Apply the fix from bakefile svn to fix this (and test if no other problems are found). Also update all makefile.unx after changes of r62477.

2009-10-23 18:59 PC, revision 62487

update menubar size when style changes, fixes #11310

2009-10-23 13:44 VZ, revision 62486

Use an even more informative error message in wxFSW unit test. Dump information about both events when we received two of them instead of the (single) expected one.

2009-10-23 13:44 VZ, revision 62485

Compilation fix for wxFileSystemWatcher in MSW STL build. Don't rely on implicit wxString to TCHAR* conversion, use t_str() explicitly. Closes #11368.

2009-10-23 12:52 JJ, revision 62484

Updating configuration for OpenVMS

2009-10-23 01:54 VZ, revision 62482

Give more informative error in wxFSW test. Output more details when more than one event is unexpectedly received. Hopefully this will allow to debug the test failure at build bot slaves which doesn't seem to be happening locally.

2009-10-23 01:54 VZ, revision 62481

Fix g++ compilation of wxFileSystemWatcher test after VC6 fix. Enums can't be used to deduce template parameters so cast WAIT_DURATION to int explicitly before passing it to wxString::Format().

2009-10-22 18:57 VZ, revision 62480

Fix wxFSW test compilation with VC6. Work around an internal compiler error and don't initialize static variable when declaring it as VC6 doesn't support this.

2009-10-22 18:53 VZ, revision 62479

Compilation fix for PCH-less OS X build after wxFSW merge. Include wx/log.h explicitly as we use wxLogTrace().

2009-10-22 18:53 VZ, revision 62478

Rebake everything using bakefile 0.2.7. Also updated aclocal inputs and regenerated configure.

2009-10-22 17:44 FM, revision 62477

update wxpresets for new osx_carbon and osx_cocoa names provided by the wx-config --selected_config command

2009-10-22 14:53 VZ, revision 62476

Compilation fix for old SDK in wxFileSystemWatcher MSW code. PULONG_PTR is older SDK so use "LONG_PTR *" which we already define in our wx/msw/wrapwin.h in any case.

2009-10-22 13:36 VZ, revision 62475

Refactor wxEventLoopSource-related code. Currently wxEventLoopSource can't be created directly and can only be used to monitor file descriptors so reduce the API to just wxEventLoop::AddSourceForFD() and remove AddSource(), RemoveSource() and RemoveAllSources() which couldn't be implemented for all ports. This makes the code much simpler without any loss of functionality. Make wxEventLoopSource responsible for removing itself from the event loop when it is deleted. This allows to remove IsOk() and Invalidate() methods making the code simpler and gets rid of various sets/maps which were used before. This also allows to support event loop sources in Carbon as well: wxOSX/Carbon now compiles and works with wxUSE_FSWATCHER==1.

2009-10-22 13:35 VZ, revision 62474

Merge SOC2009_FSWATCHER branch into trunk. Merges everything from the branch with only some minor changes, mostly renamed wxUSE_FSWATCHER_{INOTIFY,KQUEUE} to wxHAS_{INOTIFY,KQUEUE}. Add wxFileSystemWatcher and related classes. Also introduces wxEventLoopSource.

2009-10-22 13:34 VZ, revision 62473

Extract operator<<(ostream, wxFileName) from filename test. Putting this function in a header allows to reuse it in other tests, e.g. the upcoming wxFileSystemWatcher one.

2009-10-22 13:18 VZ, revision 62472

Suppress VC6 warnings about non-DLL-exported class for wxScrolled. It's harmless to derive wxScrolledWindow from wxScrolled<> so suppress the warnings about it.

2009-10-22 13:18 VZ, revision 62471

Fix UseUintMax definition used by wxAny for VC6. The old code tried to work around the lack of unsigned __int64 to double conversion in VC6 by casting from UseUintMax to wxAnyBaseIntType but this was wrong as this value was -1 when cast to wxAnyBaseIntType (__int64) and so UseUintMaxF was defined as -1.0. Use a slightly uglier but simpler work around now: just define the constants as macros instead of (typed) variables and let the compiler deal with literal values on its own (which it does correctly). This fixes the unit test failure: conversion from double to unsigned always failed when using VC6.

2009-10-22 13:17 VZ, revision 62470

Suppress a warning in cppunit/extensions/ExceptionTestCaseDecorator.h. This was the last warning given during the tests phase in build bot builds. Also use #pragma warning(pop) for MSVC instead of incorrect warning(default).

2009-10-22 11:40 VZ, revision 62469
  • D /wxWidgets/trunk/demos/bombs/bombs_vc9.sln
  • D /wxWidgets/trunk/demos/forty/forty_vc9.sln
  • D /wxWidgets/trunk/demos/fractal/fractal_vc9.sln
  • D /wxWidgets/trunk/demos/life/life_vc9.sln
  • D /wxWidgets/trunk/demos/poem/poem_vc9.sln
  • D /wxWidgets/trunk/samples/ribbon/ribbon_vc7.sln
  • D /wxWidgets/trunk/samples/ribbon/ribbon_vc8.sln
  • D /wxWidgets/trunk/samples/ribbon/ribbon_vc9.sln
  • D /wxWidgets/trunk/tests/benchmarks/bench.sln
  • D /wxWidgets/trunk/tests/test_vc9.sln
  • D /wxWidgets/trunk/utils/emulator/src/emulator_vc9.sln
  • D /wxWidgets/trunk/utils/helpview/src/helpview_vc9.sln
  • D /wxWidgets/trunk/utils/hhp2cached/hhp2cached_vc9.sln
  • D /wxWidgets/trunk/utils/wxrc/wxrc_vc9.sln

Remove unwanted solution files from the repository. Remove VC9-only solution files from a couple of tests/utils/demos (there is no reason at all to have only VC9 solutions: either we have all of [789] or none of them) and also remove all solutions files for the ribbon sample which were probably added mistakenly in the first place (as no other sample has them).

2009-10-22 08:43 VS, revision 62468

Post-0.2.6 version of Bakefile is required. This is because of two recent changes: addition of the 'ribbon' library (with filenames shared with other libs) and unconditional enabling of debug info with VC++. Both of these uncovered bugs in Bakefile's VC++ support that weren't fixed until after 0.2.6.

2009-10-21 18:56 JMS, revision 62465

Move in-cell property expander buttons slightly to the right (looks better that way)

2009-10-21 11:44 VZ, revision 62462

Add or fix descriptions of return values from SetFont/XXXColour(). Add the same kind of description to SetBackground/ForegroundColour() as in SetFont() and fix typo in the latter. Closes #11352.

2009-10-19 15:57 VZ, revision 62459

Don't include LDFLAGS in `wx-config --libs` output. Use a separate WXCONFIG_LDFLAGS variable for the flags which should be used when linking applications using wxWidgets and not wxWidgets itself. The only intentional effect this change is supposed to have right now is that -arch options added to LDFLAGS when building wx for multiple architectures under OS X are not used for building the applications any more.

2009-10-19 15:57 VS, revision 62458

added COMPILER_PREFIX support to wxpresets

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

Use portable comparison syntax in wx-config. "==" is not portable in test and while it works in most shells, it fails in dash. Fix it by using "=". Closes #11349.

2009-10-19 10:59 VZ, revision 62456

Define COMPILER_PREFIX as COMPILER if it's not defined. Temporary fix after the changes of r62323 which broke generation of makefiles using wx presets unless they explicitly defined COMPILER_PREFIX: define COMPILER_PREFIX as COMPILER by default.

2009-10-19 10:59 VZ, revision 62455

Document wxRendererNative::DrawTitleBarBitmap() and use it properly. Comment and document the (non obvious) requirement for the PNG image handler to be enabled when using this function under OS X. In fact, document the entire function itself which was forgotten previously. Do enable PNG image handler when using DrawTitleBarBitmap() in the sample. Closes #11345.

2009-10-19 00:38 KO, revision 62453

Just doing a rebake of latest trunk.

2009-10-18 19:47 MBN, revision 62451

Copy wxPerl notes from the LaTeX documentation.

2009-10-18 00:56 VZ, revision 62445

Restore --debug wx-config option handling for pre-2.9 builds. Although 2.9 and later doesn't have debug/release distinction, previous version of wx may be installed on the system and should be usable via 2.9 wx-config so honour this option for them. Closes #11316.

2009-10-17 22:06 PC, revision 62444

derive wxMask from wxMaskBase

2009-10-17 19:37 PC, revision 62443

add opengl lib dependency, fixes #11335

2009-10-17 18:13 VZ, revision 62442

Update column order in MSW native wxHeaderCtrl after drag. We must update the internally stored columns order even if the end reorder event was processed (but not vetoed), otherwise we don't reflect the new order in the our public functions such as GetColumnsOrder() which broke wxDVC display under MSW. Closes #11300.

2009-10-17 18:13 VZ, revision 62441

Fix for windres flags used in Win64 mingw build. We must explicitly define WX_CPU_AMD64 when compiling using mingw64 and configure as wx/msw/genrcdefs.h is not used in this case and even if it were, it wouldn't work because g++ doesn't define _M_AMD64 (unlike MSVC). So just add the flag directly to windres command line in configure. Closes #11336.

2009-10-17 14:28 JMS, revision 62439

Exposed wxPGCell to SWIG

2009-10-17 03:04 VZ, revision 62436

Rewrite handling cell value changes in wxOSX/Cocoa wxDVC. Instead of using a chain of dynamic_cast<>s to find the right type of the value, construct a wxVariant corresponding to the type of the object we receive in NSOutlineView:setObjectValue:forTableColumn:byItem and pass it to a wxDataViewRenderer virtual function. This fixes assert and allows to edit icon text items under OS X.

2009-10-17 03:04 VZ, revision 62435

No changes, just attempts to make the code more readable. Reformat/reindent, use more wx coding style, wrap some extremely long lines. Use shorter and less Carbon-ish variable names. Clarify some comments. Also use static_cast<> because there is no need to use reinterpret_cast<> when a static_cast<> will do.

2009-10-17 03:04 VZ, revision 62434

Fix crash when editing wxDVC items in place in wxOSX/Cocoa. NSOutlineView::editedColumn: and editedRow: return -1 when they are called from textDidEndEditing so we need to store their values in textDidBeginEditing and reuse them later. This fixes the crash in the sample with out-of-range array index exception which happened whenever a cell was edited.

2009-10-16 23:35 VZ, revision 62433

Add ellipsization support to wxDataViewCtrl. Implemented ellipsization in the generic, GTK and both OS X Carbon and Cocoa versions but it currently doesn't work well in GTK as it changes the item alignment unconditionally, this will need to be fixed later. The behaviour for the columns is currently inconsistent between ports too: under MSW they (natively) use wxELLIPSIZE_END, under GTK -- wxELLIPSIZE_NONE and under OS X the same ellipsization mode as the column contents, i.e. wxELLIPSIZE_MIDDLE by default.

2009-10-16 23:32 VZ, revision 62432

Rename wxEllipsizeFlags elements to avoid confusion with wxEllipsizeMode. We shouldn't use the same "wxELLIPSIZE_" prefix for two different enums, so use wxELLIPSIZE_FLAGS one for wxEllipsizeFlags (they should be used less often than wxEllipsizeMode so it's better to keep the short prefix for the latter). Also add wxELLIPSIZE_FLAGS_NONE flag.

2009-10-16 18:25 VZ, revision 62431

Improve wxCollapsiblePane appearance under OS X. By default, don't use border in wxDisclosureTriangle because the native applications do not. However do honour wxBORDER_XXX style if specified in case this becomes useful in the future (this required no effort as the code was already there for bitmap buttons and just had to be extracted into a reusable function). Don't expand the disclosure triangle in wxCollapsiblePane sizer, as this resulted in the text being centered instead of remaining left-aligned.

2009-10-16 18:25 VZ, revision 62430

Don't use sunken border for the list control in log dialog. There doesn't seem to be any reason to use a heavy border here as there is nothing much to separate the list control from. In particular this looks rather horrible under OS X.

2009-10-16 16:35 VZ, revision 62429

Make assert in wxMSW wxListCtrl::InsertItem() more informative. Assert if inserting an item failed (this is really unexpected and must be a programmer error) instead of asserting about items number mismatch -- which might be true but only indirectly helpful.

2009-10-16 15:54 JMS, revision 62428

Fix incorrect wxComboBox dropdown and closeup event macro names in doxygen docs (closes #11340)

2009-10-16 03:29 VZ, revision 62423

Implement icon text column using native GTK renderers in wxDVC. This has a possible advantage of a more native look and feel (although it's hard to tell the difference between drawing the icon ourselves and how the default GTK+ renderer does it to be honest) and a very real advantage of allowing to edit in place cells with icons. It also reduces code duplication in GTK implementation. Modify the sample to make the icon-text column in the list model editable to show that it works. This required storing the values of the second column as well, so do it in its own array and to avoid calling it "m_array2", rename the existing m_array to m_textColValues (which accounts for most of the diff in the sample) and call the new one m_iconColValues.

2009-10-15 18:53 VZ, revision 62418

Correct cell alignment computation for too small column sizes. Actually the column size might not even be too small but the size returned by renderers GetSize() could be too large -- as is the case for spin renderer currently. And trusting it results in drawing outside of the cell boundary even when there is enough space inside it, so don't do this and fall back to left alignment if there is not enough space. This fixes display of the year column in the dataview sample broken by the recent changes.

2009-10-15 18:53 VZ, revision 62417

Use correct colour for selected items in generic wxDVC. wxDataViewCustomRenderer::RenderText() taking attributes must use correct colour for the selected items if no attribute is specified as it can be (and is) called directly and not only via the compatibility overload. This fixes the display of the selected items in the dataview sample broken by recent changes.

2009-10-15 18:39 JMS, revision 62416

Changed 'bool recursively' to 'int flags' argument (with default value of wxPG_RECURSE) in wxPropertyGrid Set(Property)BackgroundColour() and Set(Property)TextColour() member functions.

2009-10-15 16:49 JMS, revision 62415

Fixed regression: wxPropertyGrid caption selection rectangle was drawn at incorrect horizontal offset.

2009-10-15 16:44 VZ, revision 62414

Replace wxValidator::SetBellOnError() with SuppressBellOnError(). SetBellOnError() erroneously inversed the value of its parameter. Fixing it to behave correctly could silently break the existing code which might work around this bug already because it always behaved like this (ever since it was added 10.5 years ago). So instead simply deprecate this function and add a new SuppressBellOnError() one which behaves as expected. Closes #11318.

2009-10-15 16:44 VZ, revision 62413

Correct typo in wxDocument::OnSaveModified() description.

2009-10-15 16:41 JMS, revision 62412

Added wxPGCell::SetFont() and GetFont(); Documented wxPGCell class.

2009-10-15 00:49 VZ, revision 62405

Test whether GTK+ is 2.18 or newer in configure. We need to define __WXGTK218__ symbol in configure instead of simply checking if we are compiled with 2.18 in wx/infobar.h because GTK_CHECK_VERSION() can't be used when compiling user code which can't even include gtk/gtkversion.h defining it because it doesn't necessarily use `pkg-config --cflags gtk+-2.0` at all in its CFLAGS.

2009-10-14 23:48 VZ, revision 62404

Suppress harmless warning about unhandled wxSHOW_EFFECT_NONE. wxNonOwnedWindowImpl::ShowWithEffect() is not supposed to be called with wxSHOW_EFFECT_NONE effect so assert if it is.

2009-10-14 22:59 VZ, revision 62403

Add a detailed explanation of possible error reasons to wx/chkconf.h. Also modify the #error directives to point to the comment near the top of this file.

2009-10-14 19:30 JMS, revision 62402

Fixed bug: wxPropertyGrid::Thaw() should no longer move the scroll bar when reselecting property that was selected prior to Freeze() call.

2009-10-14 19:00 VZ, revision 62401

Fixes to comparison operators for wxDVC classes. Comparison operators for wxDataViewItem and wxDataViewIconText were not inline and not exported, resulting in linking errors for any code using them in shared wx build. Fix this by making them inline. Also correct wxDataViewIconText operator==() implementation to compare icons as well and to return true when comparing the object with itself. Finally add operator!=() matching existing operator==() as a class having one of these operators is supposed to have the other one as well and it costs nothing to define it.

2009-10-14 19:00 VZ, revision 62400

Fix harmless unused variable warning in wxPropertyGrid code. Declare variable only used #if wxPG_DOUBLE_BUFFER inside the #if.

2009-10-13 17:40 PC, revision 62399

Make m_idleMutex an object instead of a pointer. Use bool for hook-installed flag, the actual hook id is not needed.

2009-10-13 16:34 JMS, revision 62398

Removed wxTE_READONLY style from multi-line wxTextCtrls in combo and propgrid samples (looks a bit better that way on wxMSW)

2009-10-13 08:53 PC, revision 62397

Avoid installing emission hook more than once. It was possible for an app using a timer, but triggering no events, to accumulate an unbounded number of hooks, consuming large amounts of CPU time in processing the hook list. Fixes #11315.

2009-10-13 00:44 VZ, revision 62396

Fix conversion from wxColour to NSColor in wxOSX/Cocoa wxDVC. wxColour components are in 0.255 range while NSColor ones are in 0..1 one. The old code compiled just fine but didn't work correctly for any colours which had any channel with value different from 0 and 255 (unsurprisingly, my tests only used wxRED, wxGREEN and wxBLUE which all passed...).

2009-10-13 00:44 VZ, revision 62395

Implement attributes support in generic wxDataViewIconTextRenderer. Simply override RenderWithAttr() instead of Render(). Update the sample to show that this works now.

2009-10-13 00:44 VZ, revision 62394

Make generic wxDataViewProgressRenderer fill the entire cell. After the fixes in the previous commit it is finally possibly to make the progress renderer expand to the entire cell area instead of taking a fixed width, it is enough to simply override RenderWithAttr() instead of Render() and ignore the alignment as this avoids the use of (arbitrary and hardcoded) wxDataViewProgressRenderer::GetSize().

2009-10-13 00:44 VZ, revision 62393

Handle cell alignment in the renderer itself in generic wxDVC. Instead of using wxDataViewRenderer::GetSize() and rendering the cell into the appropriate part of the rectangle, pass the full rectangle and the alignment of the cell contents in it to the renderer itself. This fixes the bug with bold text being truncated in the "attributes" column of the dataview sample and is also generally more flexible as the renderer may decide itself what to do with the extra space. It also somewhat reduces the code duplication between CreateItemBitmap() and OnPaint().

2009-10-13 00:43 VZ, revision 62392

Correct bug with items without attributes in wxGTK wxDVC. After the change to the sample in r62390 it turned out that wxGTK version didn't handle items without attributes in a column where other items did have attributes neither -- they inherited the last used attribute. Fix this by remembering whether we are using any non-default attributes or not and resetting them if we do.

2009-10-13 00:43 VZ, revision 62391

No real changes, just minor cleanup in wxGTK wxDVC. Don't duplicate wxGtkTreeCellDataFunc declaration. Don't triplicate "visible" property setting inside the function itself. Indent the inside of if statement properly.

2009-10-12 19:30 VZ, revision 62390

Fix display of items without attributes in Cocoa wxDVC. The attribute used for the last item was reused for the next item in the same column unless it was overridden in the attribute of this item, fix this by remembering the original attribute and using it if no attributes are explicitly specified. Also change the sample to show the items without attributes in a column with attributes and make the label correspond to the attribute of the item.

2009-10-12 19:30 VZ, revision 62389

No real changes, just clean up wxCustomRendererObject in Cocoa wxDVC. The variables tableColumn and item are unneeded in this class so remove them. Use static_cast<>s instead of C casts. Avoid repeating oneVeryLongVariableName->anotherEvenLongerVariableName-> somethingElse->andSoOn multiple times, temporary variables are allowed in C++. Also don't call wxDataViewCustomRenderer::GetSize() twice unnecessarily.

2009-10-12 19:30 VZ, revision 62388

Use Cocoa methods instead of wx ones in wxDVC font setting code. Use NSFontManager to create bold or italic version of the font instead of using wxFont. This works better for the bold attribute, but setting the italic one still doesn't do anything.

2009-10-12 17:50 VZ, revision 62387

Update German translation. German translation update from Max Christian Pohle.

2009-10-12 15:59 VZ, revision 62386

Add support for cell attributes to wxDVC in wxOSX/Cocoa. Set the colour and font for the cell before rendering it if we have an attribute for it. The colours in dataview sample now work as expected, but making the font bold or italic still doesn't work for some reason.

2009-10-12 15:59 VZ, revision 62385

Make the colours in the demo a bit more logical. Make the colours of the items in the "attributes" column blue/green/red in order instead of making all odd items blue and all even and divisible by 3 ones green while making the rest of them red -- it was a bit difficult to figure out how it worked before. Also correct wxDataViewItemAttr::SetItalic() check: comparing the remainder of the division by 2 with 5 didn't risk to work.

2009-10-12 15:59 VZ, revision 62384

No real changes, just minor cleanup in Cocoa wxDataViewCtrl. Start cleaning up Cocoa wxDataViewCtrl implementation: - Don't use "this->" which is not used anywhere else in wx code. - Use "()" instead of "(void)" as per wx coding standards. - Don't use end of function comments, this is inconsistent and unmaintainable. No real changes otherwise.

2009-10-12 15:59 VZ, revision 62383

Remove wxDataViewTextRendererAttr by merging it with wxDataViewTextRenderer. There is no reason to have a separate class for rendering the text honouring the attributes defined for it, wxDataViewTextRenderer itself already does this perfectly well.

2009-10-12 15:59 VZ, revision 62382

Added wxDCFontChanger ctor not changing font. This is similar to the existing wxDCTextColourChanger ctor not changing colour and is useful in the same kind of situations: when the font may or not be changed.

2009-10-12 15:59 VZ, revision 62381

Document wxDCTextColourChanger "do nothing" constructor. Only wxDCTextColourChanger(wxDC, wxColour) one was documented, also document wxDCTextColourChanger(wxDC) and its Set() method now.

2009-10-12 12:38 VZ, revision 62380

Exclude message catalogs from UTF-8 check. Many existing message catalogs don't use UTF-8 so don't check them in svn pre-commit hook.

2009-10-12 08:50 JJ, revision 62378

add more samples to the compile cascade for OpenVMS

2009-10-11 17:30 JMS, revision 62374

Have page-specific splitter setup flags in order to fix bug that caused splitter change in one page to affect others. Also fixed a regression in splitter auto-centering.

2009-10-11 10:45 JMS, revision 62372

Code cleanup and clarification

2009-10-11 10:35 JMS, revision 62371

Fixed post-expand/collapse rendering

2009-10-11 10:32 JMS, revision 62370

Fixed wxPropertyGrid empty space rendering

2009-10-10 21:07 VZ, revision 62363

Don't document WarpPointer() as not implemented under Mac because it is. Still recommend to avoid using it though. Closes #11307.

2009-10-10 20:28 VZ, revision 62361

Compilation fix for STL build. Don't rely on implicit conversion of wxString to char* in wxStandardPaths::GetDataDir() added in r62337.

2009-10-10 20:28 VZ, revision 62360

Don't use vendor name by default in wxStandardPaths. The changes in r50025 made the behaviour of wxStandardPaths silently incompatible with the previous versions under MSW and OS X as it now used the vendor name in the paths it returned, unlike before. The benefits of doing this don't justify silently breaking the existing programs so revert this change and continue to use the application name only by default. It is, of course, still possible to explicitly ask for the vendor name to be used with wxStandardPaths::UseAppInfo().

2009-10-10 13:02 JS, revision 62359

Set the initial size

2009-10-10 11:52 JMS, revision 62358

Removed intermediate wxPanel from wxPropertyGrid.

2009-10-09 19:39 PC, revision 62356

replace TRUE/FALSE with true/false

2009-10-09 19:34 SC, revision 62355

adding defaults as wxDC did

2009-10-09 19:02 SC, revision 62354

avoiding deprecated methods in wx code, avoiding for iphone builds

2009-10-09 15:05 VZ, revision 62353

Define __WXOSX__ and __WXMAC__ on compiler command line. Although __WXMAC__ and __WXMAC__ were already defined in wx/platform.h if __WXOSX_XXX__ was defined, they couldn't be used for checks done before including this header, which was surprising and, in case of __WXMAC__, backwards incompatible. Define them now on the compiler command line to ensure that they are always defined.

2009-10-09 15:05 VZ, revision 62352

Compilation fix for PCH-less compilation. To use wxTheApp (added in r62337) we need to include wx/app.h.

2009-10-09 15:05 VZ, revision 62351

Append default extension before showing file save dialog, not after. Appending the extension after the dialog was hidden is a bad idea as it misleads the user by using a different file name from the one shown in the dialog. It is also dangerous as it bypassed wxFD_OVERWRITE_PROMPT check. So just append the default extension to the initial file name if it doesn't have any but don't modify the file name once it was accepted by user. Closes #11256.

2009-10-09 15:05 VZ, revision 62350

Don't add default extension in wxDocument::SaveAs(). wxFileSelector() takes care of the default extension itself and if it returned a file name without one, it means that the user really wants to create a file without an extension. Adding the default extension here is at best useless and at worst actively dangerous because it may silently overwrite an existing file (although this bug is due to a different problem, see #11256 for a scenario in which this can happen).

2009-10-09 15:04 VZ, revision 62349

Removed wxFont::Set/GetNoAntiAliasing() implementations. Most of them were dummy and didn't do anything and this API was never meant to be used anyhow. Keep just the declarations in wxFontBase but mark them as deprecated.

2009-10-09 15:04 VZ, revision 62348

Mention log components in wxLogTrace() documentation. Using different log components for different logging statements provides a better (because more general and efficient) way to do the same thing that wxLogTrace() does, so mention them when describing wxLogTrace().

2009-10-09 14:24 SC, revision 62347

moving bitmapbutton functionality up to button for OSX

2009-10-09 09:26 JS, revision 62345

Revert a workaround for Windows native border side-effect since latter is now fixed and former causes a positioning problem when the scrollbar is not at the home position and the grid is resized.

2009-10-09 08:43 SC, revision 62344
  • D /wxWidgets/trunk/src/osx/carbon/treectrl.cpp

removing unneeded file

2009-10-09 00:38 VZ, revision 62340

No real changes, just fix a syntax error in unused file. Closes #11289.

2009-10-09 00:38 VZ, revision 62339

Fix mismatched new/free in generic Region code. Closes #11287.

2009-10-09 00:38 VZ, revision 62338

Also support fonts in wxTextCtrl::GetStyle() in wxGTK. This extends the change of r62262 with support for the fonts. Closes #11281.

2009-10-09 00:38 VZ, revision 62337

Add a WX_APPNAME_DATA_DIR hack for wxStandardPaths::GetDataDir(). Applications using wxStandardPaths::GetDataDir() to find their files under Unix can't be ran without being installed as they look for their data files under $prefix/share/appname. Make it possible to override this location by setting WX_APPNAME_DATA_DIR environment variable to allow running them without installation. Notice that this shouldn't present any security risk unless the application is SUID (which would be a very bad idea anyhow).

2009-10-09 00:37 VZ, revision 62336

Improvements to application info documentation in wxStandardPaths. Use "appinfo" instead of "appname" in the examples to make it clear that it may be different from just the application name. Also make UseAppInfo() documentation more clear. See #11275.

2009-10-08 20:38 SC, revision 62335

implementing rollover and pressed image for bitmapbutton on osx_cocoa

2009-10-08 17:33 JMS, revision 62334

Fixed regression: in wxPropertyGrid::PerformValidation(), wxPGProperty::ValidateValue() was only called when value was variant list, which was exactly the opposite condition under which the function was supposed to be called (fixes #11299).

2009-10-08 15:56 VZ, revision 62333

Don't access possibly deleted wxTimer in GTK callback. The timer object could be deleted from its Notify(), so don't access it any more after calling it. Just remember whether it was a one shot timer or not and reuse this value for the return value of the callback. Closes #11295.

2009-10-08 15:52 VZ, revision 62332

Fix new[]/delete mismatch in HelpGen. Closes #11290.

2009-10-08 12:59 JJ, revision 62330

OpenVMS : add compile support for debugrpt sample

2009-10-08 08:54 SC, revision 62329

fixing typo

2009-10-08 07:03 PC, revision 62328

remove requested button rather than last one, return true from successful Create(), and a non-pch build fix

2009-10-08 06:07 KO, revision 62327

Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN.

2009-10-07 17:12 VZ, revision 62325

Compilation fix for PCH-less in wxInfoBar. wx/dcmemory.h include is needed at least for OS X build.

2009-10-07 15:54 VZ, revision 62324

Updated for bakefile 0.2.7. Copied bakefile.m4 from bakefile svn and regenerated configure using it. This should have been done in r62308 but was forgotten. Notice that we can't use bakefile 0.2.6 any more without reverting this change!

2009-10-07 12:50 VZ, revision 62323

Honour COMPILER_PREFIX in wx presets too. If a non-default COMPILER_PREFIX was specified when building wxWidgets, we should also be able to use the same prefix when building applications using this build, so use COMPILER_PREFIX instead of just COMPILER in the project/ makefiles generated using wx presets.

2009-10-07 07:53 SC, revision 62321

fixing gdiplus implementation, see #11282

2009-10-07 00:03 JJ, revision 62318

adding dataview sample to OpenVMS make cascade

2009-10-06 16:47 JJ, revision 62316

OpenVMS compile support : adding more samples for wxGTK

2009-10-06 16:18 VZ, revision 62315

Compilation fix for VC6 in wxInfoBarGeneric code. VC6 apparently can't compare const pointer to derived class with a non-const pointer to the base class.

2009-10-06 10:53 JJ, revision 62314

Update setup for OpenVMS

2009-10-06 08:58 JJ, revision 62313

Adding regex support for wxMOTIF for OpenVMS

2009-10-06 07:18 SC, revision 62312

use better background color

2009-10-06 05:42 PC, revision 62311

non-PCH build fix

2009-10-06 02:08 VZ, revision 62310

Create an NSAutoreleasePool in wxMacWakeUp(). An auto-release pool is needed in this function because it can be called from another thread which has no reason to have a pre-existing pool, but it does allocate NSEvent object which is auto-released, resulting in warnings if no pool available.

2009-10-06 02:08 VZ, revision 62309

Ensure that an event loop exists in ShowViewOrWindowWithEffect(). We may not have an event loop yet if wxWindow::ShowWithEffect() is called during the application startup, create a temporary event loop instead of crashing in this case.

2009-10-06 00:58 VZ, revision 62308

Rebake using pre-release version of bakefile 0.2.7. They should fix the problem with monolithic build of wx (see #11231). Notice that trivial changes to VC9 project files are not being committed so the makefiles are currently not quite consistent but it shouldn't matter as they will be all regenerated soon when bakefile 0.2.7 is really released.