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.

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

Refactor initialization code in wxTopLevelWindowMSW::Create(). No real changes as the old code was, in fact, correct (although Create() didn't initialize m_parent explicitly, it was still done in AddChild() if the parent was not NUL) but just make it more explicit and clear. Add a new helper wxWindowBase::CreateBase() overload for top level windows, not taking the validator parameter which doesn't apply to them. Also make CreateBase() protected as it is only meant to be called from derived classes Create().

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

Don't use the current size in DoGetBestSize() by default. Doing this means that a window which was made initially large because no other windows were present or shown will refuse to shrink to make space for them later even if it doesn't need to be that large. The issue was masked under MSW and GTK because the first size event under these ports is sent so early that the top level parent window is not realized yet and has default size of 20*20 pixels meaning that its children will cache their initial (very small) size as their best size, but it was very visible under OS X where the initial layout is done using the real top level window size and broke wxInfoBar showing in the dialogs sample, for example.

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

Make wxWindow::ShowWithEffect() synchronous under wxOSX/Cocoa. As explained in the previous commit, while Cocoa support asynchronous animation, wx API doesn't really, so block in Cocoa implementation of ShowWithEffect() until the animation terminates for compatibility with wxMSW and hence expectations of the existing code.

2009-10-06 00:57 VZ, revision 62304

Implement wxWindow::ShowWithEffect() for wxOSX/Cocoa. This version animates the window asynchronously and is being checked in just to preserve it in svn if we later decide to return to this semantics. It will be replaced by synchronous animation in the next commit.

2009-10-06 00:57 VZ, revision 62303

Added a virtual wxWindow::OSXGetViewOrWindow() method. This can be used to retrieve either an NSView for child windows or NSWindow for non-owned ones without resorting to dynamic casts.

2009-10-06 00:57 VZ, revision 62302

Determine the appropriate show effect automatically in wxInfoBar. Slide the info bar from top or bottom of the parent window depending on its location.

2009-10-06 00:57 VZ, revision 62301

Remove the hack with changing the parent background colour in wxInfoBar. Finding the closest info bar to copy the background colour from only worked for very simple layouts and failed for more complicated ones with nested sizers so don't try to change the colour automatically, it's easy enough to do it manually as shown in the updated dialogs sample.

2009-10-06 00:57 VZ, revision 62300

Implement DrawTitleBarBitmap() for OS X using hard coded PNG images. Use a simple implementation working under all OS X versions, including 10.4 which doesn't have standard system images for the close button. Added the images themselves under art/osx and png2c.py helper script to convert them to a form used in C++ code.

2009-10-06 00:57 VZ, revision 62299

Return smaller images for wxART_MENU/BUTTON under OS X. Requesting images with client id of wxART_MENU/BUTTON used to return the large 32*32 icons because GetNativeSizeHint() wasn't implemented for these client ids. Moreover, under Mac some icons (notably message box ones) are created from the corresponding icon bundle and the code in wxArtProvider::GetBitmap() didn't resize them correctly in this case, fix this.

2009-10-06 00:57 VZ, revision 62298

Use wxART_BUTTON instead of wxART_MENU for info bar icons. wxART_BUTTON seems to be more appropriate, although in practice this doesn't make any difference.

2009-10-06 00:57 VZ, revision 62297

Make info bar buttons smaller. This looks better under Mac OS X (and currently has no effect under the other platforms).

2009-10-06 00:57 VZ, revision 62296

Use wxRendererNative::DrawTitleBarBitmap() for info bar close button. If supported by the current platform, draw natively-looking close button using multiple bitmaps for normal, pressed and current stats. Otherwise fall back on the old wxArtProvider-based bitmap.

2009-10-06 00:57 VZ, revision 62295

Added wxRendererNative::DrawTitleBarBitmap(). This is currently only implemented for wxMSW as there is no advantage to use a generic implementation compared to using wxArtProvider directly under the other ports. But for MSW this allows to have perfectly natively looking titlebar-like buttons.

2009-10-06 00:56 VZ, revision 62294

Replaced GraphicsHDC from src/msw/renderer.cpp with wxDC::GetTempHDC(). wxDC::GetTempHDC() method provides a convenient and safe way to retrieve HDC from a wxDC object, whether it is using GDI or GDI+. It is implemented using (MSW-specific) virtual functions in wxDC and so doesn't need ugly hacks like wxDynamicCast which were used in src/msw/renderer.cpp to achieve the same effect. Also, we now use GetTempHDC() consistently in all wxMSW rendering methods as the old GraphicsHDC was only used in some of them meaning that many methods didn't work at all with wxGCDC.

2009-10-06 00:56 VZ, revision 62293

Refactor wxRendererXP button drawing methods. Avoid code duplication in wxRendererXP as well and fix a bug in DrawRadioBitmap() which incorrectly drew it in hot state when it was disabled but wxCONTROL_CURRENT was specified.

2009-10-06 00:56 VZ, revision 62292

Implement wxRenderer::DrawRadioBitmap() for classic MSW renderer. Clean up the functions added in r57313: - Versions using wxUxThemeEngine should be in wxRendererXP - Provide implementation using DrawFrameControl() in wxRendererMSW too - Refactor the code to avoid triplication in wxRendererMSW

2009-10-06 00:56 VZ, revision 62291

Add demonstration of flags to the render sample. Allow to select the flags to pass to DrawXXX() functions.

2009-10-06 00:56 VZ, revision 62290

Add demonstration of a few more wxRenderer methods. Also show the effect of calling several more DrawXXX() methods in the sample.

2009-10-06 00:56 VZ, revision 62289

Correct custom renderer method override example in the sample. The implementation of DrawHeaderButton() in MyRenderer should restore the text foreground colour and brush to avoid messing up drawing done after it.

2009-10-06 00:56 VZ, revision 62288

Don't use possibly uninitialized pen in wxMSWDCImpl. Check that m_pen is valid before checking if it is transparent in DoDrawRoundedRectangle() too (this was already done in DoDrawRectangle() in r53150).

2009-10-06 00:56 VZ, revision 62287

Don't use themed border for the generic info bar. Since the switch to deriving from wxControl instead of wxWindow, the info bar gained a themed border which doesn't look nice for it, especially when it is shown progressively, as happens under Windows. Restore the old behaviour by overriding GetDefaultBorder() to return wxBORDER_NONE for it. This doesn't look perfect neither however, we may want to draw a separator line between it and the parent window ourselves as even wxBORDER_SIMPLE looks too heavy for it (and there should be definitely no border on its sides as it always touches the parent window edges).

2009-10-06 00:56 VZ, revision 62286

Ensure that info bar message uses the set font/colours in wxGTK. Propagate the font and colours set on wxInfoBar window itself to its label in the native GTK implementation.

2009-10-06 00:56 VZ, revision 62285

No real changes, just inline wxSuspendStyleEvents. wxSuspendStyleEvents helper class was used in one place only and the code is more clear if its ctor and dtor are inlined directly into DoApplyWidgetStyle() itself instead of being located far away from it. Also, we only need to suppress the events for top level windows so don't bother doing anything at all when changing styles for m_widget and not m_wxwindow.

2009-10-06 00:56 VZ, revision 62284

Added wxInfoBar::Dismiss(). Add a method to conveniently hide the info bar and update the parent layout.

2009-10-06 00:55 VZ, revision 62283

Use more native appearance in the generic wxInfoBar implementation. Use default font for the text and left align it instead of centering. Also use smaller bitmaps for the icon and the button.

2009-10-06 00:55 VZ, revision 62282

Added wxART_CLOSE art id. This id corresponds to the close button bitmap. Currently only wxGTK returns a natively-looking button from here, MSW and OS X versions will be added later.

2009-10-06 00:55 VZ, revision 62281

Added wxArtProvider::GetMessageBoxIconId(). This function translates between wxICON_XXX constants and wxART_YYY values. It was extracted from the existing GetMessageBoxIcon().

2009-10-06 00:55 VZ, revision 62280

Only show the default close button in wxInfoBar if there are no others. Assume that user-added buttons can be already used to close the message so don't show the default close button if any were added.

2009-10-06 00:55 VZ, revision 62279

Generate the button clicks in GTK version of wxInfoBar. Also add an example of handling info bar buttons events to the sample and mention that this must be done using Connect() or by deriving from wxInfoBar in the documentation.

2009-10-06 00:55 VZ, revision 62278

Use event tables instead of Connect() in wxInfoBarGeneric. This allows to handle events from the info bar buttons in the derived classes using the event tables while if the base class used Connect(), the derived classes static event handlers would be never executed.

2009-10-06 00:55 VZ, revision 62277

Add wxInfoBar::RemoveButton() method. Also change the GTK implementation to use a separate wxInfoBarGTKImpl to store its data, this object won't be even allocated if a generic implementation is used under GTK.

2009-10-06 00:55 VZ, revision 62276

Added native wxInfoBar implementation for wxGTK. Straightforward implementation of wxInfoBar using GtkInfoBar widget available in GTK+ 2.18. Some side effects of this change: - Rename wxInfoBar version in wx/generic/infobar.h to wxInfoBarGeneric and define wxInfoBar in wx/infobar.h. - Also change default value of flags argument to ShowMessage() to wxICON_INFORMATION from wxICON_NONE as the default colour for wxICON_NONE messages is surprisingly ugly in GTK native version.

2009-10-06 00:55 VZ, revision 62275

Add wxWindowGTK::GTKConnectWidget() helper. This trivial wrapper function allows to omit "m_widget" and "this" arguments when calling g_signal_connect().

2009-10-06 00:54 VZ, revision 62274

Small code cleanup in wxWindowGTK::PostCreation(). No real changes, just check for 2.8.0 GTK+ version once instead of doing it twice in a row.

2009-10-06 00:54 VZ, revision 62273

Added GTKShouldConnectSizeRequest() to prevent size_request handling. Don't hard code the exception for GtkFileChooserButton in wxWindow::PostCreation() in wxGTK, handling size_request signal also breaks other controls (e.g. upcoming wxInfoBar native implementation). Instead, define a virtual function which may be overridden to return false if size_request shouldn't be connected.

2009-10-06 00:54 VZ, revision 62272

No real changes, just removed unnecessary SetInitialSize() call. wxControl::PostCreation() already calls SetInitialSize() so there is no need to call it explicitly in wxHyperlinkCtrl::Create().

2009-10-06 00:54 VZ, revision 62271

Extract conversion from wx to GtkMessageType in a separate file. Add wxGTKImpl::ConvertMessageTypeFromWX() function to convert from wxICON_XXX styles to GTK_MESSAGE_XXX values. This will be reused by wxInfoBar in the next commits.

2009-10-06 00:54 VZ, revision 62270

Added wxInfoBar::AddButton(). Allow adding custom buttons to wxInfoBar and show this in the sample.

2009-10-06 00:54 VZ, revision 62269

Made wxInfoBar::SetFont() change the text message font.

2009-10-06 00:54 VZ, revision 62268

Initial wxInfoBar implementation. Add generic implementation, documentation and examples showing the use of the new class in the samples.

2009-10-06 00:53 VZ, revision 62267

Added wxSHOW_EFFECT_NONE. Calling Show/HideWithEffect() with this effect is the same as calling just the normal Show/Hide(). This is convenient as it allows to use the same API, whether with effects or without them.

2009-10-06 00:53 VZ, revision 62266

Added wxICON_NONE to wxICON_MASK. Absence of icon is also an icon flag.

2009-10-06 00:53 VZ, revision 62265

Store canvas attributes in the canvas itself in the dialogs sample. Simplify the code by not transferring font and colours between canvas and wxTheApp but use canvas font and colours directly instead.

2009-10-06 00:53 VZ, revision 62264

Minor cleanup and copyright updates in the dialogs sample. No real changes otherwise.

2009-10-06 00:53 VZ, revision 62263

Use member variable instead of a global in the dialogs sample. Made MyCanvas member of MyFrame instead of using a global variable which was put inside the frame by wxApp.

2009-10-06 00:53 VZ, revision 62262

Partially implement wxTextCtrl::GetStyle() in wxGTK. Support retrieving the (both foreground and background) colours for the given position. Closes #11281.

2009-10-05 18:11 KO, revision 62261

Fix the line endings to be CRLF after the property change.

2009-10-05 17:12 KO, revision 62260

Setting eol-style property to CRLF for some project files.

2009-10-05 16:50 JJ, revision 62259

configure stc support for OpenVMS

2009-10-05 11:13 JJ, revision 62258

set up for OpenVMS richtext & regex and add more samples in compile cascade

2009-10-04 23:19 VS, revision 62255

fixed wxXmlDocument::Save() to interpret the indentstep argument correctly

2009-10-04 21:05 JMS, revision 62254

Changed the ultimate fall-back popup window classes: wxMSW now uses wxFrame, wxMAC uses wxNonOwnedWindow

2009-10-04 02:21 PC, revision 62252

add missing break

2009-10-04 02:00 RD, revision 62251

exclude SWIG generated files from being checked

2009-10-03 21:58 SC, revision 62237

commenting never used code

2009-10-03 18:39 PC, revision 62234

Remove unused global bitmap, which caused crash on startup with wxUSE_XPM==0. Use new pen style enums

2009-10-03 18:37 PC, revision 62233

revert, checked in the wrong file

2009-10-03 18:32 PC, revision 62232

QuickTime is needed by wxBitmap

2009-10-03 18:23 PC, revision 62231

Remove unused global bitmap, which caused crash on startup with wxUSE_XPM==0. Use new pen style enums

2009-10-03 12:43 JMS, revision 62230

Added wxDECLARE_ANY_TYPE(CLS, DECL) and documented for what kind of situation it is intended: wxAny used across DLL and EXE boundaries.

2009-10-03 10:27 JMS, revision 62229

Added change log entries for major new wxPropertyGrid features in wx2.9.1

2009-10-02 21:56 SC, revision 62227

fixing typo

2009-10-02 21:45 SC, revision 62226

adding construction from native bitmaps

2009-10-02 19:51 SC, revision 62225

adding NSImage to CGImageRef conversion

2009-10-02 16:15 JMS, revision 62224

Added note about dangers of adding and deleting items in wxEVT_COMMAND_COMBOBOX_CLOSEUP (works only on wxMSW)

2009-10-02 11:31 JJ, revision 62223

Fix compilation for wxUniversal

2009-10-01 18:06 JMS, revision 62222

Fixed bug: wxEditEnumProperty's initial string value could not be outside the list of choices.

2009-10-01 10:59 SC, revision 62221

fixing setting initial value under osx_cocoa for single line text controls

2009-10-01 02:33 VZ, revision 62218

Don't exit on errors in the pre-commit svn hook. Errors in grep, when it fails to find any changed or updated files, also count so the "set -e" line was causing the hook to reject any commits only deleting files (without any error message).

2009-10-01 02:32 VZ, revision 62217
  • D /wxWidgets/trunk/distrib/msw/splitwise.cpp

Remove old and unused file. We don't use WISE since many years, so remove the source of an utility which was supposed to help with using it. Closes #11270.

2009-09-30 20:25 SC, revision 62216

overriding to allocate an outer autorelease pool

2009-09-30 19:50 SC, revision 62215

fixing text matrix (dataview custom renderer showed problems) and reordering SaveGState

2009-09-30 18:38 VZ, revision 62214

Fix harmless unused parameters warnings. Also assert in the not implemented wxSound methods instead of silently returning false.

2009-09-30 18:18 VZ, revision 62213

Fix calculation of the margins for owner-drawn menu items. Take into account the widths of the bitmaps properly. Closes #11268.

2009-09-30 17:39 PC, revision 62212

use proper signature for callback function

2009-09-30 17:39 VZ, revision 62211

Set up menu bitmaps correctly for checkable items. We must not set MENUITEMINFO::hbmpItem for the checkable items as it would then be used for both checked and unchecked state. Closes #11244.

2009-09-30 17:38 PC, revision 62210

build fix for wxUSE_CONSOLE_EVENTLOOP==0

2009-09-30 17:38 PC, revision 62209

build fix for wxUSE_SOCKETS==0

2009-09-30 17:20 SC, revision 62208

support backgroundcolor on osx_cocoa

2009-09-30 08:58 JS, revision 62205

Applied patch #11261 (found a missing '{' in file src/palmos/imaglist.cpp) Martin Ettl

2009-09-30 08:53 JS, revision 62204

Applied #11260 (found a regression while checking in src/motif/menu.cpp with static code analysis tool cppcheck) Marin Ettl

2009-09-30 08:53 JS, revision 62203

Applied #11260 (found a regression while checking in src/motif/menu.cpp with static code analysis tool cppcheck) Marin Ettl

2009-09-30 02:15 VZ, revision 62201

Correct checks for conversion success in wxUniChar. Correct the checks in wxUniChar::From/ToHi8bit() to check for conversion success correctly as it always failed otherwise: wxMBConv::To/FromWChar() conversion functions should return 2, not 1, when conversion of 2 characters succeeded, even if one of them is a NUL. Closes #11243.

2009-09-29 19:04 VS, revision 62199

fix message box icons sizes in wxWindowsArtProvider: they should respect client ID and not be 32x32 all the time

2009-09-29 15:38 JMS, revision 62198

Removed dst buffer delete responsibility from wxAnyValueType::CopyBuffer(), clarified documentation regarding it.

2009-09-29 09:19 JS, revision 62197

#11259: Correction for bad help button on OSX

2009-09-29 09:15 JS, revision 62196

Added help button

2009-09-29 08:45 JS, revision 62195

Context menu now created in constructor; old context menu deleted when new one set.

2009-09-29 08:45 JS, revision 62194

Added context menu accessors; context menu now created in constructor.

2009-09-29 08:36 JS, revision 62193

SetItemFont correction

2009-09-29 01:44 BP, revision 62192

Forward port of r62191 to SVN trunk fixing regression from r37982 (missing ')'). Fixes #11257.

2009-09-29 01:42 BP, revision 62191

Fix regression in r37982 (missing ')'). Fixes #11257.

2009-09-28 18:15 JS, revision 62190

Moved WinPrinter from private.h to printdlg.cpp.

2009-09-28 18:02 JS, revision 62189

Moved WinPrinter from private.h to printdlg.cpp.

2009-09-28 17:36 PC, revision 62188

linking fix for wxUSE_VALIDATORS==0

2009-09-28 17:35 PC, revision 62187

build fix for wxUSE_SOCKETS==0

2009-09-28 12:02 JS, revision 62185

Applied #10560 (Missing wxUSE_CONFIG checks.)

2009-09-28 11:54 JS, revision 62184

Applied #9956 (wxGenericTreeControl: Cache GetTextExtent results to greatly speedup CalculatePositions)

2009-09-28 11:40 JS, revision 62183

Compilation fix

2009-09-28 10:19 JS, revision 62182

Added additional wxSound::Create

2009-09-28 10:12 JS, revision 62181

Applied #10362: wxMac's wxSound doesn't work By Cyball

2009-09-28 09:21 JS, revision 62180

Compile fix on Mac

2009-09-28 09:06 JS, revision 62179

Applied #9076 (scrolling bars grow box fix) By lillo

2009-09-28 08:40 JMS, revision 62178

Do not use wxS in array of const wxChar*

2009-09-28 08:25 JMS, revision 62177

wxUSE_THREAD -> wxUSE_THREADS

2009-09-28 08:07 JS, revision 62176

Attempt at compile fix

2009-09-27 18:30 JMS, revision 62172

Use long double instead of double in wxAnyValueBuffer, moved alignment-specific values into sub-union

2009-09-27 17:28 JMS, revision 62171

Added function and member function pointers in wxAnyValueBuffer to make memory alignment problems even less likely.

2009-09-27 16:52 JMS, revision 62170

Make sure there are no memory alignment issues with wxAnyValueBuffer

2009-09-27 16:39 JMS, revision 62169

Do not process editor control events when propgrid event is currently being processed. Doing otherwise could lead to a crash if application is doing something time-consuming (such as displaying a message box) in the event handler.

2009-09-27 16:35 JMS, revision 62168

Store property name and value in wxPropertyGridEvent, keep track of live event instances, and clear property/grid information in them in wxPropertyGrid dtor. This allows application to relay events for later processing without fear of losing most relevant information within.

2009-09-27 13:44 JMS, revision 62166

wxFontProperty: Added support for wxFONTFAMILY_TELETYPE and wxFONTFAMILY_UNKNOWN, moved Family child-property to the back.

2009-09-27 13:09 JS, revision 62165

Applied #9465 (Error reading GIF with incorrect animation size) By Marc Oldenhof

2009-09-26 22:04 JS, revision 62161

Applied #10190 (WINCE and wxLaunchDefaultBrowserBaseImpl error)

2009-09-26 21:47 JS, revision 62160

Applied modified #10655 (Added Cookie (receive) support to wxHTTP)

2009-09-26 20:50 SC, revision 62159

adding ProcessPendingEvents as ProcessIdle doesn't call it anymore, closes #11132

2009-09-26 19:47 JS, revision 62158

Applied #10857 (wxGenericListCtrl does not recalculate positions on Thaw nor Update, preventing Refresh)

2009-09-26 19:09 JS, revision 62157

Applied #10029: Incorrect _MOTIF_WM_HINTS set for borderless top-level windows

2009-09-26 18:43 VZ, revision 62156

No real changes, just small cleanup in wxMac wxDVC. Use wxDC{Pen,Brush}Changer classes instead of setting/restoring pen and brush manually.

2009-09-26 18:43 VZ, revision 62155

Use FWD version of DLL export macro in forward declaration. Forward declarations must use WXDLLIMPEXP_FWD_XXX and not WXDLLIMPEXP_XXX to avoid g++ warnings about "type attributes are honored only at type definition".

2009-09-26 18:43 VZ, revision 62154

Fixed wxDataViewCtrl::Set{Foreground,Background}Colour() to work under GTK too. Implement DoApplyWidgetStyle() in wxGTK version of wxDataViewCtrl to propagate the main window style to the GtkTreeView which is what the user mostly sees.

2009-09-26 18:43 VZ, revision 62153

Don't hard code white background colour in generic wxDataViewCtrl. wxDataViewMainWindow::OnPaint() always used the white brush to erase the control background which was wrong, change it to use the background colour of the control. Also add tests for setting wxDataViewCtrl foreground and background colours to the dataview sample.

2009-09-26 18:43 VZ, revision 62152

Use default composite controls attributes for wxDataViewCtrl. wxDataViewCtrl should use the same colours/fonts as the native list and tree controls.

2009-09-26 18:43 VZ, revision 62151

Move wxControl::GetCompositeControlsDefaultAttributes() from MSW to common. This function is not MSW-specific and should be used in generic implementation of controls such as wxListCtrl, wxTreeCtrl and wxDataViewCtrl. Even if it is needed by MSW only now, move it to the common code to avoid #ifdefs in these controls code.

2009-09-26 18:42 VZ, revision 62150

Fix harmless warning about -1 to WPARAM conversion. This was introduced by the last change to this file in r62058.

2009-09-26 18:39 SC, revision 62149

reducing key event handling complexity

2009-09-26 18:27 JS, revision 62148

Backported #10813: wxGTK: Clipboard stops working after some hours

2009-09-26 15:31 VZ, revision 62143

Don't use invalid pen in wxDCImpl::DoGradientFillConcentric(). The old code stored the original colour of m_pen before changing it and restored it on exit but this didn't work if the pen was invalid to start with. Just store the pen itself instead, this works in any case. Closes #11235.

2009-09-26 15:31 VZ, revision 62142

Use checked bitmap for menu items under Vista. The normal (unchecked) bitmap was always used for the menu items under Vista, fix this and do use the checked bitmap if needed. Closes #11244.

2009-09-26 15:31 VZ, revision 62141

Fix another off-by-1 bug in wxMBConv::ToWChar(). When converting a fixed number of characters we need to take any NULs inside the buffer being converted into account for our return value -- but this wasn't done and converting 2 characters 'x' and '\0' returned only 1, even if the length 2 was explicitly specified. Fix this bug and add a unit test checking for it.

2009-09-26 15:31 VZ, revision 62140

No changes, just convert file to UTF-8. All files in svn are supposed to use UTF-8 now so convert this one to UTF-8 too before committing more changes to it (which would be otherwise rejected by pre-commit hook).

2009-09-26 15:26 VZ, revision 62139

Refactor wxStyledTextCtrl to share common file save/load code. Keep the code for saving and loading text contents from files in a single place instead of doing it differently in wxTextCtrl and wxStyledTextCtrl. This required adding Set/GetValue() methods to wxTextAreaBase just so that its DoLoad/SaveFile() could use them, even if they are the same as wxTextEntryBase methods and are overridden in wxTextCtrlBase to be implemented in terms of the latter. Notice that wxRichTextCtrl might need to be refactored to use this code too in the future. Also notice that this reverts the change of r62081 which replaced SetValue() with ChangeValue() in DoLoadFile() as wxTextAreaBase only has SetValue() and it's not worth adding ChangeValue() to it too just to preserve this recent change in behaviour. Closes #10715.

2009-09-26 15:26 VZ, revision 62138

Compilation fix for non-MSW: don't use ProcessCommand(). wxControl::ProcessCommand() is MSW-only, use HandleWindowEvent() to fix compilation under Unix.

2009-09-26 12:39 SC, revision 62137

cleaning up key handling, closes #10406

2009-09-26 11:15 JMS, revision 62136

Have wxComboCtrl generate wxEVT_COMMAND_COMBOBOX_DROPDOWN and wxEVT_COMMAND_COMBOBOX_CLOSEUP events

2009-09-26 01:17 JS, revision 62135

Compile correction

2009-09-25 20:53 SC, revision 62134

using native key handling, closes #10406

2009-09-25 18:57 SC, revision 62133

using common notification mechanism for selection changes (key or mouse), see #10406

2009-09-25 18:15 JS, revision 62132

Raise the scrollbars on reparenting (part of patch #9076)

2009-09-25 18:15 JS, revision 62131

Raise the scrollbars on reparenting (part of patch #9076)

2009-09-25 17:50 JS, revision 62130

Fixed compilation for no CG mode

2009-09-25 17:25 JS, revision 62129

Applied #8804 ([wxMac] wxSpinCtrl behaviour)

2009-09-25 17:24 JS, revision 62128

Applied #8804 ([wxMac] wxSpinCtrl behaviour)

2009-09-25 17:07 JS, revision 62127

Warning fix

2009-09-25 16:32 JS, revision 62126

Applied part of #9142 (wxMac: Fixes missing translation of "Window" menu name)

2009-09-25 15:39 JS, revision 62125

Backported equivalent of patch #10835 (Make Carbon ShowModal work with IMPLEMENT_APP_NO_MAIN)

2009-09-25 15:23 JS, revision 62124

Applied #9140 (wxMac: Calculate size of bitmaps correctly when w or h is 0)

2009-09-25 15:14 JS, revision 62123

Applied #8697 (Improve error detection for MacFindFont )

2009-09-25 15:13 JS, revision 62122

Applied #8697 (Improve error detection for MacFindFont )

2009-09-25 13:59 JS, revision 62121

Backported #10494 (Possible wrong result of sqrt-function in wxDC::DoDrawArc, caused by integer-overflow)

2009-09-25 13:14 JS, revision 62120

Applied #11238: Wrong text positioning if fonts with different Ascent/Descent ratio are on the same line

2009-09-25 13:14 JS, revision 62119

Applied #11238: Wrong text positioning if fonts with different Ascent/Descent ratio are on the same line

2009-09-25 12:11 JS, revision 62118

Applied #10007: SetWindowGroupParent hangs in Mac Carbon dialog.cpp

2009-09-25 12:11 JS, revision 62117

Applied #10007: SetWindowGroupParent hangs in Mac Carbon dialog.cpp

2009-09-25 11:57 JS, revision 62116

Applied #10753: WarpPointer() for Mac

2009-09-25 11:57 JS, revision 62115

Applied #10753: WarpPointer() for Mac

2009-09-25 11:18 JS, revision 62114

Applied #10356: Duplicate help menu in wxMac as a plugin

2009-09-25 11:06 JS, revision 62113

Applied #9011: Native wxListCtrl::HitTest on OS X

2009-09-25 11:02 JS, revision 62112

Applied #9011: Native wxListCtrl::HitTest on OS X

2009-09-25 10:35 JS, revision 62111

Changed order of calls to avoid crash after deletion of window in kill focus event

2009-09-25 09:52 JS, revision 62110

Applied #9520: Fix to allow repeated use of wxFileDialog object

2009-09-25 09:51 JS, revision 62109

Applied #9520: Fix to allow repeated use of wxFileDialog object

2009-09-25 09:45 JS, revision 62108

Applied #10858: wxListCtrl on Mac does not route Freeze/Thaw/Update to m_genericImpl

2009-09-25 09:31 JS, revision 62107

Removed comment

2009-09-25 09:29 JS, revision 62106

Applied #9481: submenus for help menu

2009-09-25 09:29 JS, revision 62105

Applied #9481 - submenus for help menu

2009-09-25 09:17 SC, revision 62104

make sure build script for copying setup.h doesn't get lost, fixes #11193

2009-09-24 22:47 JS, revision 62103

Added missing const

2009-09-24 22:41 JS, revision 62102

Applied #10546: GTK support for multi-colored wxCursor

2009-09-24 22:36 JS, revision 62101

Applied #10917: wxGTK wxFileDialog::SetDirectory and ::SetFilename problems

2009-09-24 22:36 JS, revision 62100

Applied #10917: wxGTK wxFileDialog::SetDirectory and ::SetFilename problems

2009-09-24 22:05 JS, revision 62099

Applied part of #10034: wxImage::ConvertToDisabled()

2009-09-24 21:13 JS, revision 62098

wxDateTime timezone functions now dynamic (no caching).

2009-09-24 21:12 JS, revision 62097

Applied #9668: made wxGetTimeZone() dynamic

2009-09-24 21:12 JS, revision 62096

Applied #9668: made wxGetTimeStatic() dynamic

2009-09-24 20:20 JS, revision 62095

Reverted change

2009-09-24 19:04 JS, revision 62094

Applied #11106: wxGenericDirCtrl can get into a state where it will no longer expand

2009-09-24 19:04 JS, revision 62093

Applied #11106: wxGenericDirCtrl can get into a state where it will no longer expand

2009-09-24 18:46 JS, revision 62092

Applied #11005: use purple instead of black as default wxHyperlinkCtrl::m_visitedColour

2009-09-24 18:46 JS, revision 62091

Applied #11005: use purple instead of black as default wxHyperlinkCtrl::m_visitedColour

2009-09-24 18:25 JS, revision 62090

Applied #10892: Remove wxDocManager instance check

2009-09-24 18:04 JS, revision 62089

Applied #10811: Image in docview sample

2009-09-24 17:54 JS, revision 62088

Applied #10860: adding test to show that a list being manipulated inside a long task updates correctly

2009-09-24 17:48 JS, revision 62087

Applied #10829: docview sample: enable canvas in --single mode

2009-09-24 17:42 JS, revision 62086

Applied #11236: Event from thread not processed

2009-09-24 17:42 JS, revision 62085

Applied #11236: Event from thread not processed

2009-09-24 17:36 JS, revision 62084

Applied #9789: missing wxBORDER_THEME style in XRC

2009-09-24 17:36 JS, revision 62083

Applied #9789: missing wxBORDER_THEME style in XRC

2009-09-24 16:36 JS, revision 62082

Applied #10891: ChangeValue instead of SetValue in wxTextCtrlBase::DoLoadFile

2009-09-24 16:35 JS, revision 62081

wxTextCtrl::LoadFile no longer sends a text event, to correct problems with spurious modification of documents.

2009-09-24 16:22 JS, revision 62080

Applied #10069: performance improvement to mime type initialization

2009-09-24 15:54 JS, revision 62079

Applied #10828 (Hourglass in wxDocManager::OnPreview)

2009-09-24 15:54 JS, revision 62078

Applied #10828 (Hourglass in wxDocManager::OnPreview)

2009-09-24 15:49 JS, revision 62077

Applied: wxDocument: Adding an asterix to the title

2009-09-24 15:33 JS, revision 62076

Applied better/Win98-proof method of getting edit window

2009-09-24 15:17 JS, revision 62075

Applied #10799: using CallTipUseStyle() doesn't enable wxSTC_STYLE_CALLTIP

2009-09-24 15:16 JS, revision 62074

Applied #10799: using CallTipUseStyle() doesn't enable wxSTC_STYLE_CALLTIP

2009-09-24 15:08 JS, revision 62073

Applied part of #9115 (STC sample cleanup) by troelsk

2009-09-24 14:38 JS, revision 62072

Applied #9127: patch to remove blank under wxFrame with Hildon

2009-09-24 14:36 JS, revision 62071

Applied patch #9058 (add Hildon 2.0 support)

2009-09-24 12:18 JS, revision 62070

Applying patch #10784: eliminate gauge flicker

2009-09-24 12:18 JS, revision 62069

Applying patch #10784: eliminate gauge flicker

2009-09-24 12:15 JS, revision 62068

Applied patch #9510: wxIAccessible access freed memory by Cyball

2009-09-24 12:15 JS, revision 62067

Applied patch #9510: wxIAccessible access freed memory by Cyball

2009-09-24 11:54 SC, revision 62066

avoiding double define warnings on osx

2009-09-24 11:54 JS, revision 62065

Applied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom plus SetQuality to dpi by Martin Perktold

2009-09-24 11:52 JS, revision 62064

Applied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom plus SetQuality to dpi by Martin Perktold

2009-09-24 11:52 SC, revision 62063

support PerformClick for NSControls, closes #11129

2009-09-24 11:46 SC, revision 62062

no focus on Show for toolwindows, closes #10872

2009-09-24 11:41 SC, revision 62061

documenting events that are not available on OSX, closes #10776

2009-09-24 11:39 SC, revision 62060

removing unneeded method, closes #11073

2009-09-24 11:15 SC, revision 62059

removing unneeded method, closes #11073

2009-09-24 11:07 JS, revision 62058

Applied #10025 (Patch to allow proper sizing of simple combo box)

2009-09-24 10:36 JS, revision 62057

Alternate fix for #9954 (simple combobox assert) except on WinCE which probably shouldn't be using a simple combobox anyway

2009-09-24 10:16 SC, revision 62056

supporting disabled items, closes #11130

2009-09-24 10:05 SC, revision 62055

fixing styles, closes #11128

2009-09-24 09:42 JS, revision 62054

Applied #10659 (year change in copyright)

2009-09-24 09:42 JS, revision 62053

Applied #10659 (year change in copyright)

2009-09-24 09:36 JS, revision 62052

Applied #10639 (Not all previewed fonts are displayed with the correct nameface)

2009-09-24 09:35 JS, revision 62051

Applied #10639 (Not all previewed fonts are displayed with the correct nameface)

2009-09-24 08:48 JS, revision 62050

Fixed compile problem

2009-09-24 02:22 VZ, revision 62049

Handle deprecated background styles correctly in wxMSW. Handle wxBG_STYLE_TRANSPARENT as wxBG_STYLE_PAINT and wxBG_STYLE_COLOUR as wxBG_STYLE_ERASE instead of asserting (and almost surely crashing next, as this assert is in the code called when the window is repainted and so will be called again when the assert dialog is shown resulting in reentrant assert). Closes #11208.

2009-09-24 02:21 VZ, revision 62048

Fix wxGrid compilation with MSVC7. Due to what seems a compiler bug, MSVC tries to instantiate objects of abstract wxGridXXXHeaderRenderer classes when compiling operators ?: using references to them. Add explicit static_cast<>s to help it do the right thing. Fixes compilation with this compiler broken in r62037.

2009-09-24 02:21 VZ, revision 62047

Display correct minimal and maximal pages numbers under OS X. Set min and max page fields in m_printDialogData before showing the print dialog in the Mac version. Closes #8349.

2009-09-24 02:21 VZ, revision 62046

Minor corrections to sorted arrays documentation. Mention that Remove() uses binary search for sorted arrays so the item removed by it is not necessarily the first one. Also correct documentation of Index() for sorted arrays which was incorrectly the same as for the normal kind. Closes #11233.

2009-09-23 22:33 VZ, revision 62045

Exclude binary files from the checks done by the pre-commit hook. We shouldn't check that binary files are UTF-8 so determine whether the file is binary by looking at its svn:mime-type and only do the check for the text files.

2009-09-23 18:32 PC, revision 62042

build fixes for wxUSE_VALIDATORS==0

2009-09-23 18:03 VZ, revision 62041

Refactor owner-drawing code. Only keep common code in the base class and extract all menu/listbox-specific stuff into derived classes. This makes the code cleaner and more maintainable but introduces some problems in wxCheckListBox appearance which will be fixed by the next patch. Closes #10635.

2009-09-23 18:00 VZ, revision 62040

Fix bug in the hook which prevented committing makefiles. If both makefiles and any source files were committed, makefiles were mistakenly added to changed_sources and were flagged as containing TABs.

2009-09-23 16:30 VZ, revision 62039

Create branch ownerdraw-refactor

2009-09-23 16:29 VZ, revision 62038

Suppress harmless mingw32 warning about unused value. Add an explicit cast to void to Header_SetImageList() call to avoid "warning: value computed is not used".

2009-09-23 16:28 VZ, revision 62037

Extract default grid header renderers from wxGridCellAttrProvider. We must be able to use them even when we have no attributes at all and even when we have no associated table, so use default renderers in wxGrid implementation of Draw{Row,Column}Label()/DrawBorder() in this case. Closes #11230.

2009-09-23 16:28 VZ, revision 62036

Remove DLL export declaration from wxScrolled. As this class has only inline methods it doesn't need to be exported from the DLL and actually exporting it results in linking problems when using wxScrolled<wxWindow> (which, unlike wxScrolled<wxPanel>, is not used in wx itself and so doesn't seem to be instantiated) in DLL client even with VC > 6. An alternative solution would be to change WXDLLIMPEXP_TEMPLATE_INSTANCE_CORE macro to explicitly instantiate the template in the DLL even for VC > 6 but this wouldn't solve the problem for wxScrolled<CustomClass> while removing the DLL export declaration should. Also use wxScrolled<wxWindow> in addition to wxScrolled<wxPanel> in the scroll sample to test that it links correctly.

2009-09-23 16:28 VZ, revision 62035

Don't use deprecated integer mask with wxLogTrace(). Use string mask instead of the deprecated wxTraceMessages to fix compilation with WXWIN_COMPATIBILITY_2_8==0. Closes #11229.

2009-09-23 15:16 VZ, revision 62034

Add ribbon libraries sources to the monolithic build. Closes #11231.

2009-09-23 13:06 JS, revision 62033

Added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS where possible.

2009-09-23 13:05 JS, revision 62032

Added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS where possible.

2009-09-23 10:15 JS, revision 62031

Resolved #4842 (accessors for member variables)

2009-09-23 09:53 JS, revision 62030

Fixed #10702 (encoding not used in HTML handler)

2009-09-23 09:53 JS, revision 62029

Fixed #10702 (encoding not used in HTML handler)

2009-09-23 09:45 JS, revision 62028

Compile fix

2009-09-23 09:38 JS, revision 62027

Fix for wrong line placement when centering or right-aligning

2009-09-23 09:38 JS, revision 62026

Fix for wrong line placement when centering or right-aligning

2009-09-22 18:46 JS, revision 62022

Clarified difference between SetInsertionPoint and MoveCaret.

2009-09-22 18:36 JS, revision 62021

Fix for #4696: added SetDefaultStyleToCursorStyle() to SetInsertionPoint() so style is taken from context, not the style at a previous location.

2009-09-22 18:36 JS, revision 62020

Fix for #4696: added SetDefaultStyleToCursorStyle() to SetInsertionPoint() so style is taken from context, not the style at a previous location.

2009-09-22 17:20 JS, revision 62019

Returning WVR_REDRAW triggers Windows bug that moves child windows, so don't use it.

2009-09-22 17:20 JS, revision 62018

Returning WVR_REDRAW triggers Windows bug that moves child windows, so don't use it.

2009-09-22 16:52 JMS, revision 62017

Minor clarifation and typo fix

2009-09-22 16:13 JJ, revision 62016

Include compile support for propgrid & ribbon on OpenVMS

2009-09-22 15:06 JS, revision 62014

Fixed #9996 (incorrect XML output in Ansi build for non-ASCII character)

2009-09-22 15:06 JS, revision 62013

Fixed #9996 (incorrect XML output in Ansi build for non-ASCII character)

2009-09-22 14:13 PJC, revision 62012

Added automatic linking of ribbon libraries when using MSVC.

2009-09-22 12:58 JS, revision 62011

Fixed wxBORDER_THEME breakage

2009-09-22 12:03 JS, revision 62010

Don't use deprecated background style

2009-09-22 12:03 JS, revision 62009

Don't use deprecated background style

2009-09-22 08:12 JJ, revision 62008

Update OpenVMS makefile

2009-09-22 02:23 VZ, revision 62006

Call wxApp::ProcessPendingEvents() from wxX11 event loop. Now that this function is not called from idle time (because it should be called before, see r61441), the event loop must call explicitly so do it from wxGUIEventLoop::Dispatch() in wxX11. A probably better (but more time-consuming) fix would be to make wxX11 use wxEventLoopManual as there doesn't seem to be any reason not to.

2009-09-22 02:23 VZ, revision 62005

Override DrawLabel() to avoid crossing out disabled labels in mono theme. DrawButtonLabel() crosses out the buttons to indicate that they are disabled (for lack of any other options in mono renderer) but this looks really bad for the labels, so don't do it. Closes #11220.

2009-09-22 02:23 VZ, revision 62004

Add a separate wxControlRenderer::DrawButtonLabel() too. wxControlRenderer::DrawLabel() was used by both wxStaticText and wxButton but their labels may need to be drawn differently and wxRenderer does have different DrawLabel() and DrawButtonLabel() to do it. Now also add a separate method for the buttons to wxControlRenderer. See #11220.

2009-09-22 02:22 VZ, revision 62003

Implement wxGetActiveWindow() for wxX11. Now that wxGetActiveWindow() is used when showing modal dialogs, it became critical to implement it as otherwise an assert happens every time a dialog is shown and because creating the assert dialog itself results in another (same) assert, this immediately results in a crash. So implement it even if in a very trivial (but hopefully not too incorrect) way.

2009-09-22 02:22 VZ, revision 62002

Implement wxWindow::DoGetBorderSize() in wxUniv. As some wxUniv classes implement DoGetBestClientSize(), the new code in wxWindow::DoGetBestSize() implementation calls DoGetBorderSize() which asserts because it's not implemented, making it impossible to even start the minimal sample -- fix this.

2009-09-22 02:22 VZ, revision 62001

Define wxSetDetectableAutoRepeat() for X11-based ports only. This function is not needed in wxGTK2 as GTK+ sets detectable auto-repeat on its own in gdk_display_open() anyhow, so move its implementation to src/x11/utilsx.cpp where it can be used by wxX11 and wxMotif which do need it.

2009-09-22 02:22 VZ, revision 62000

Move wxSetDetectableAutoRepeat() to a section compiled in wxCore. This function was mistakenly defined in a section of utilscmn.cpp compiled as part of wxBase, so it wasn't correctly exported from the core library and linking any wxX11 applications failed when using compiler with visibility support.

2009-09-21 22:10 VZ, revision 61999

Recognize old wx{CHB,LB}_XXX styles in XRC. Situation with wxBK_XXX vs wxXXB_XXX remains confusing, the comments in the code suggest that the former is preferred but the latter are documented for wxListbook and wxChoicebook (although they don't even exist for wxTreebook). So it seems unwise to not recognize the wxXXB_XXX versions in XRC as people could easily decide to use them instead of wxBK_XXX values -- and this is also consisten with wxNotebookXmlHandler which does recognize both wxBK_XXX and wxNB_XXX already. Change wxListbookXmlHandler and wxChoicebookXmlHandler to also always recognize these styles. Closes #10725.

2009-09-21 16:45 VZ, revision 61998

Restore socket initialization times counter. The change of the counter to a simple boolean in r61985 broke the code which called both Initialize() and Shutdown() multiple (but the same number of) times. As this is the documented correct behaviour, restore the counter to cater for it even if we don't really need it any longer.

2009-09-21 16:45 VZ, revision 61997

Don't call wxSocketBase::IsInitialized() from worker threads. This function should be used in the main thread only and calling it from wxSockAddress unconditionally resulted in asserts in the unit test.

2009-09-21 16:45 VZ, revision 61996

Abort on asserts in worker threads. Throwing an exception from worker threads is useless as it is not caught by our wxUnitTestProtector which only protects the main thread, so abort immediately to be sure to provide at least some information about the problem as otherwise nothing may be output at all and the program can end up deadlocked.

2009-09-21 15:11 SC, revision 61995

on iPhone default is to cover entire screen

2009-09-21 15:10 SC, revision 61994

fixing cast warnings on OSX 10.6

2009-09-21 15:08 SC, revision 61993

fixing include type

2009-09-21 15:00 VZ, revision 61992

Account for the margins used by Windows around status bar text. Because Windows uses margins around the text drawn in the status bar, naively setting a field width to the size of the text didn't work (see previous commit for an example). As this seems a natural enough thing to do, account for this margin inside wxStatusBar itself to avoid the user code the trouble of having to call some special function to do it. Notice that this does mean that fields not containing text may be slightly larger than needed, but we consider that this (rarer) case is less important. Also account correctly for the status bar grip size. And while we still hard code its size, do it in a clearly named function instead of using completely mysterious constants here and there. Closes #10696.

2009-09-21 15:00 VZ, revision 61991

Add a test of precisely sized status bar fields. Modify the status bar sample to use two fields of just the right size for their contents to confirm that this doesn't work correctly under at least MSW currently (see #10696). Notice that we need two fields because the behaviour/problem is different for the last field and all the other ones.

2009-09-21 15:00 VZ, revision 61990

Simplify the status bar sample by removing wxBitmapButton. The sample code was complicated by having USE_STATIC_BITMAP and using wxStaticBitmap or wxBitmapButton depending on it. Neither important for a wxStatusBar sample so just use wxStaticBitmap always and make the code simpler and more readable.

2009-09-21 15:00 VZ, revision 61989

Show status bar panes rectangles in the sample. Display the rectangles returned by wxStatusBar::GetFieldRect() to be able to visually check if they are correct. See #10696.

2009-09-21 14:59 VZ, revision 61988

Clean up status bar sample. No real changes, just: - Fix code which couldn't compile in USE_MDI_PARENT_FRAME case - Use wxMenu::AppendCheckItem() instead of Append(..., true) - Remove unnecessary #ifdef __WXMAC__ - Wrap excessively long lines

2009-09-21 14:57 SC, revision 61987

moving themeing include to private.h

2009-09-21 10:44 VZ, revision 61986

Initialize wxMDIParentFrame::m_accelWindowMenu in default ctor. If wxMDIParentFrame object was created without its Create() ever being called, it crashed in its dtor trying to delete an uninitialized pointer, so do initialize it to NULL in all ctors (via a helper Init() method, as usual). Closes #11216.

2009-09-21 10:44 VZ, revision 61985

wxSocket::Initialize() and Shutdown() are for main thread only. Calling Initialize() from another thread could never work before but it wasn't clear that this was the case so document it in the functions comments and documentation now and add asserts checking that they are called from the main thread only. Also simplify the code as we don't actually need to do any reference-counting here and a simple boolean flag indicating whether the sockets are initialized is enough. Closes #11119.

2009-09-21 10:44 VZ, revision 61984

Fix harmless unused variable warning. The value of wxColour::Alpha() was assigned to a temporary variable which wasn't used afterwards and Mac OS g++ warned about it.

2009-09-21 08:08 JJ, revision 61983

Fix OpenVMS makefiles for inline function changes

2009-09-20 23:48 VZ, revision 61982

Fix possible deadlock in wxEvtHandler::ProcessPendingEvents(). Delete the event we just processed before re-locking the critical section as this may result in deadlocks if the (user-defined) event dtor does something non-trivial. Closes #10790.

2009-09-20 14:37 VZ, revision 61981

Put wxAny implementation entirely in the header. This allows to remove WXDLLIMPEXP_BASE from the class declaration and should hopefully fix VC6 linking errors when building the unit test.

2009-09-20 14:37 VZ, revision 61980

Add missing header to fix wxAny test compilation under OS X. And probably other Unix systems not using PCH.

2009-09-20 12:57 JS, revision 61979

Avoid duplicate character event for VK_DECIMAL on numeric keypad

2009-09-20 12:57 JS, revision 61978

Avoid duplicate character event for VK_DECIMAL on numeric keypad

2009-09-19 18:29 VZ, revision 61977

Optionally return length from wxLoadUserResource(). Add optional length output parameter and also change the return type to "char *" from "wxChar *" to which it apparently was blindly changed just to make this code compile even though this function never returned any strings. Closes #11214.

2009-09-19 18:29 VZ, revision 61976

Add wxColour::{Set,Get}RGB[A](). These methods allow to operate with all 3 or 4 colour channels at once. Add their implementation, documentation and a unit test for wxColour exercising them. Closes #9918.

2009-09-19 18:29 VZ, revision 61975

Add curly braces around wxFAIL_MSG() to avoid g++ 4.3 warning. g++ 4.3 warns about lack of explicit braces to make it happy.

2009-09-19 17:41 VZ, revision 61973

Set svn properties correctly for the newly added files. Set svn:keyword and, most importantly, svn:eol-style, to avoid having files with DOS line endings in svn, for the new files added by r61971.

2009-09-19 12:13 JMS, revision 61972

Fixed wxAny tests for VC6

2009-09-19 10:51 JMS, revision 61971

wxAny initial commit (closes #10932)

2009-09-19 00:16 VZ, revision 61968

Add wxUSE_RIBBON to wx/setup_inc.h and wx/chkconf.h. wxUSE_RIBBON was apparently added to the different wx/*/setup.h files manually instead of being added to wx/setup_inc.h and regenerating the rest, correct it. Also check that it is defined in wx/chkconf.h.

2009-09-18 19:11 VZ, revision 61967

Don't query system option in every DrawBitmap() call under MSW. Doing this had noticeable (and bad) performance implications so cache the value of the option during the first call. This doesn't allow changing its value during the program execution so we may want to provide some way to update its value later if really needed. Closes #11172.

2009-09-18 19:10 VZ, revision 61966

Change return type of wxList::Member() to bool. It used to return a pointer in wxUSE_STL==0 build and an object in wxUSE_STL==1 one making checking its return value difficult without provoking warnings from either MSVC or g++ (see #11038). Also, all the other occurrences of Member() already returned bool, including the one in wxStringList so changing it to return bool in wxList itself is more consistent.

2009-09-18 19:10 VZ, revision 61965

Convert change log to UTF-8 encoding. See #11116.

2009-09-18 18:28 VZ, revision 61964

Check that files being checked in use UTF-8. Closes #11116.

2009-09-18 18:28 VZ, revision 61963

Add the initial version of svn pre-commit hook. This version checks for absence of hard TABs in our source files.

2009-09-18 18:16 VZ, revision 61962

Fix recurring typo in "theming". It was (consistently) misspelt as "themeing" in several places. Closes #11206.

2009-09-18 18:16 VZ, revision 61961

Use UTF-8 for all non-ASCII characters in the sources. Avoid mixing Latin-1, UTF-8 and Mac Roman (?) encodings in different source files, use UTF-8 everywhere. See #11116.

2009-09-18 18:15 VZ, revision 61960

Define NDEBUG when building 3rd party libraries. We are not interested in asserts in 3rd party libraries so make them disappear by defining NDEBUG when building them. Closes #11155.

2009-09-18 16:04 VZ, revision 61959

Use wxASSERT() instead of assert() in wx code. This is more consistent and ensures that all asserts in wxWidgets are controlled by a single wxDEBUG_LEVEL setting instead of also relying on NDEBUG as standard assert() macro does. See #11155.

2009-09-18 16:03 VZ, revision 61958

Correct wxStreamBuffer::Seek() return value. It returned the offset instead of the new position when seeking forward from current position in a "flushable" buffer. Closes #11205.

2009-09-18 16:03 VZ, revision 61957

Another compilation fix for wxRibbon under OS X. Include Carbon/Carbon.h to get kThemeBrushToolbarBackground declaration. Closes #11203.

2009-09-18 11:01 JS, revision 61956

Fixes for Mac (use wxClientDC not wxMemoryDC for temporary DC)

2009-09-18 08:24 JJ, revision 61955

add wxUSE_RIBOON to setup for OpenVMS

2009-09-17 15:02 VZ, revision 61953

Compilation fix for ANSI build after r61898. wxWX2MBbuf is just char* if wxUSE_UNICODE==0 and so doesn't have a length() method, use wxString::length() in wxFile::Write() instead.

2009-09-17 10:18 JS, revision 61952

Added missing includes

2009-09-17 08:53 JJ, revision 61951

Inclusion of inline function has been changed

2009-09-17 02:17 VZ, revision 61950

More ribbon compilation fixes for OS X. Add more headers for wxColour and wxFont.

2009-09-17 01:19 VZ, revision 61949

Ribbon compilation fixes for OS X. Forward declare wxWindow and wxDC classes in wx/ribbon/art.h to avoid errors in (PCH-less?) buildbot builds. Also include header containing declarations of private Mac functions in implementation file (closes #11203).

2009-09-17 01:18 VZ, revision 61948

Add ribbon sample to the list of samples to build. Add the file to samples/samples.bkl and regenerate the makefiles and also add it manually to samples.dsw.

2009-09-17 01:18 VZ, revision 61947

Provide implementation for wxArrayString::resize(). This method was declared but not implemented in wxUSE_STL==0 build. Also add unit test for this function.

2009-09-16 15:07 VZ, revision 61946

Rebaked everything with bakefile 0.2.6 after wxRibbon merge. 0.2.5 versions of some makefiles were checked in, regenerate them using 0.2.6. Also regenerate configure after autoconf_inc.m4 was updated.

2009-09-16 14:38 VZ, revision 61945

Allow creating wxSingleInstanceChecker with default name. This makes it easier to use in common cases: there is no need to come up with a unique name for the checker any more as sufficiently unique combination of wxApp::GetAppName() and wxGetUserId() is used if no name was explicitly given. This is done by calling the new CreateDefault() on demand from IsAnotherRunning() instead of simply creating the checker with the default name in the default ctor for compatibility (you had to call Create() after using the default ctor before and it can only be called once) and because wxTheApp might not exist yet when wxSingleInstanceChecker is created. Closes #11166.

2009-09-16 14:06 PJC, revision 61944

Merged GSOC Ribbon work from SOC2009_RIBBON branch into trunk.

2009-09-16 13:37 VZ, revision 61943

Check for self-assignment in wxFileName::operator=(). This is a backport of r56794 from trunk but adds the check for self-assignment to the Assign() implementation which is in a .cpp file and so is compiled into the library and not operator=() itself which is inlined to avoid any problems with mixing different version of this inline function when updating to next 2.8 version without recompiling.

2009-09-15 19:05 VZ, revision 61939

Change wxBoxSizer::AddSpacer() to only add space in sizer direction. It used to add a spacer with the given size in both directions but this was counter-intuitive and wasn't expected even by the original author of this code so change it to behave more reasonably. Closes #11197.

2009-09-15 19:05 VZ, revision 61938

Correct wxPendingDelete declaration. This variable was moved to wxBase from wxCore recently and hence must be declared using WXDLLIMPEXP_DATA_BASE and not WXDLLIMPEXP_DATA_CORE now. Closes #11202.

2009-09-15 19:05 VZ, revision 61937

Really fix VC6 compilation after r61919. The change in r61922 which was supposed to do it somehow forgot the fix itself and added only a comment explaining why it was needed. Really do name the struct now.

2009-09-15 01:22 VZ, revision 61934

Add wxXmlResource::LoadObjectRecursively(). These methods can be used to load objects from anywhere in the XRC resource tree and not just from the top level.

2009-09-15 01:21 VZ, revision 61933

Add virtual dtor to header renderer classes to avoid g++ warnings. g++ warns about class with virtual functions having non-virtual dtor so make the dtor of wxGridCornerHeaderRenderer virtual even if it's not really needed.

2009-09-14 17:52 JS, revision 61931

wxRTC's own caret is more reliable than the generic one, so use it.

2009-09-14 17:52 JS, revision 61930

wxRTC's own caret is more reliable than the generic one, so use it.

2009-09-14 17:17 JMS, revision 61929

Added dummy wxPG_THEME_BORDER style for backwards compatibility

2009-09-14 16:53 JMS, revision 61928

Fixed use of map::erase() in ClearActionTriggers() (this bug was revealed by static code analysis - see ticket #11195)

2009-09-14 15:23 SC, revision 61927

added missing destructor

2009-09-14 15:07 SC, revision 61926

fixing and completing iPhone sound

2009-09-14 13:52 SC, revision 61925

enable backface culling which is not enabled by default on ES

2009-09-14 10:50 SC, revision 61924

remove debug logging

2009-09-14 10:38 SC, revision 61923

Launch Services are not available on iPhone

2009-09-14 10:37 VZ, revision 61922

Fix VC6 compilation after r61919. Work around VC6 bug which resulted in error C2639 when compiling the declaration of an unnamed struct inside wxGridCellAttrProvider.

2009-09-14 10:37 SC, revision 61921

adding glFrustum to compat API, supporting SetColour on OpenGL ES

2009-09-14 02:45 VZ, revision 61919

Added support for corner, row and column headers renderers to wxGrid. Make it possible to customize the appearance of wxGrid corner window and its row and column headers by defining custom renderers for them. Add demonstration of this new feature to the grid sample and update the documentation.

2009-09-14 02:45 VZ, revision 61918

Document wxGridCellAttrProvider. Added basic documentation for wxGridCellAttrProvider and wxGridCellAttr::wxAttrKind enum used by it.

2009-09-14 02:44 VZ, revision 61917

Remove unneeded pointer check. This was flagged as an error by static code analyse tools. Closes #11195.

2009-09-13 20:28 SC, revision 61916

adapting to new sound file organization for osx

2009-09-13 19:52 JMS, revision 61915

Minor code cleanup

2009-09-13 19:45 SC, revision 61914

adding types for OpenGL on iPhone

2009-09-13 19:41 SC, revision 61913

adapting to new sound files organization on osx

2009-09-13 19:34 SC, revision 61912

avoiding potential infinite recursion

2009-09-13 19:33 SC, revision 61911

supporting rotated display correctly for display size

2009-09-13 19:23 SC, revision 61910

enabling correct audio framework on OSX

2009-09-13 19:23 SC, revision 61909

sound implementation for AudioToolbox on 10.5 and iPhone

2009-09-13 19:22 SC, revision 61908

OpenGL for iPhone

2009-09-13 19:19 SC, revision 61907

OpenGL changes for carbon and cocoa

2009-09-13 19:17 SC, revision 61906

adding emulation API for OpenGL ES platforms

2009-09-13 17:48 SN, revision 61905

Be more paranoid about parent window possibly being NULL (partly fixes #11115).

2009-09-13 17:47 SN, revision 61904

Be more paranoid about parent window possibly being NULL (partly fixes #11195).

2009-09-13 14:26 VZ, revision 61903

Fix test compilation under OS X. wxFileOffset and ssize_t are not the same type under this platform so using CPPUNIT_ASSERT_EQUAL() with the arguments of these types fails. Use ssize_t instead of wxFileOffset to fix this.

2009-09-13 13:55 VZ, revision 61902

Reenable build of execmon in utils bakefile. Undo r61894, it's not necessary to disable build of execmon any longer after r61901.

2009-09-13 12:09 FM, revision 61901

add execmon bakefile (which was forgotten in the initial commit) and regenerate execmon makefiles

2009-09-13 00:48 VZ, revision 61899

Document the meaning of empty value name in wxRegKey methods. Empty value refers to the default or unnamed key in Win32 API but this may be not clear to people unused to it so mention this explicitly. Closes #11191.

2009-09-13 00:40 VZ, revision 61898

Write correct number of bytes in wxFile::Write(wxString). This function was broken for conversions using more than one byte per character (e.g. UTF-16 or UTF-32) and also even for UTF-8 for strings containing NUL bytes as it used strlen() to determine the number of bytes to write out instead of using the really needed number. Fix this by using the wxCharBuffer::length() method which always returns the correct value. Also add a wxFile unit test verifying that it can correctly read back a string written using any of UTF-8, UTF-16 or UTF-32. Closes #11192.

2009-09-13 00:40 VZ, revision 61897

Extract TestFile class in a separate header. This allows to reuse it in the other tests which need to create a temporary file automatically destroyed on test exit.

2009-09-13 00:40 VZ, revision 61896

Add convenient wxMBConv::cMB2WC/WC2MB overloads taking buffers. These overloads allow not to worry about buffer lengths and just convert between wxCharBuffer and wxWCharBuffer directly in a convenient way.

2009-09-13 00:40 VZ, revision 61895

Unregister wake up pipe file fd in ~wxConsoleEventLoop. We must unregister the wake up pipe file descriptor which we register with the IO dispatcher in wxConsoleEventLoop ctor, otherwise doing it the next time (i.e. if wxConsoleEventLoop is deleted and recreated) results in asserts, at least when using wxSelectDispatcher and not wxEpollDispatcher (i.e. under any non-Linux Unix system).

2009-09-12 17:29 VZ, revision 61894

Disable build of utils/execmon. Bakefile for this program doesn't exist so its makefiles are out of date and it doesn't build any more now, disable its build until the bakefile is checked in.

2009-09-12 15:38 VZ, revision 61893

Rebake all the samples, demos and tests makefiles. This should have been committed together with the changes to the debug flags handling in build/bakefiles in r61887.

2009-09-12 15:35 VZ, revision 61892

regenerated

2009-09-12 13:29 VZ, revision 61891

Remove WX_DEBUG option from Unix wx presets, it's not needed any more. It doesn't make sense to select debug or release build of wxWidgets any more as they are now compatible under Unix. Under Windows the option is still needed but it selects the build using debug (or not) version of the CRT rather than the one built with __WXDEBUG__ defined.

2009-09-12 13:29 VZ, revision 61890

Add wxDEBUG_LEVEL to wx/setup.h and document it. Under Unix wxDEBUG_LEVEL can be set using configure --enable-debug=max option but under Windows it needs to be changed in wx/msw/setup.h so add it to this file with a comment explaining its meaning. Also document this symbol with the other preprocessor constants.

2009-09-12 13:29 VZ, revision 61889

Change Unix build system to not use debug build any more. Remove "d" suffix from the libraries and the BUILD variable which is not used any longer. Also ignore (but still support, for compatibility) --debug option in wx-config.

2009-09-12 13:29 VZ, revision 61888

Use wxDEBUG_LEVEL instead of __WXDEBUG__ in wxInfoMessageBox(). Also disable sizer-drawing code unless wxDEBUG_LEVEL>=2 as we don't want it to be available in production versions.

2009-09-12 13:29 VZ, revision 61887

Use "d" suffix according to DEBUG_RUNTIME_LIBS, not DEBUG_FLAG. The "d" suffix is now only used under Windows and indicates that we link with debug CRT version.

2009-09-12 13:28 VZ, revision 61886

Define wxDEBUG_LEVEL in both debug and release builds as 1. By default include assertions and debug logging in both debug and release builds but disable them in application release builds (when NDEBUG is defined). Also update (more accurately, replace) debugging overview.

2009-09-12 12:59 VZ, revision 61885

Restore correct setting of the background colour. The background colour for the HDC used for drawing the native controls wasn't set correctly any more after changes of r61859 but we do need to call it or the text in edit and similar controls is drawn using the default background even if we return the correct brush which is used for erasing the control. Closes #11190.

2009-09-12 12:42 VZ, revision 61884

Document ctors creating a wxString from repeated characters. Closes #11187.

2009-09-12 12:41 VZ, revision 61883

Document wxStandardPaths vendor-related changes. The change in the values returned by wxStandardPaths functions is important as it's incompatible with 2.8 if the application defines a vendor name so must be mentioned in docs/changes.txt. Also update the documentation of the class itself and mention UseAppInfo() in the overview. Closes #11189.

2009-09-11 23:01 SC, revision 61882

adding Kevin's fix for wxTOOL_STYLE_SEPARATOR

2009-09-11 18:41 JMS, revision 61881

Fixed constants of the new wxPG_EX styles

2009-09-11 13:49 JS, revision 61880

wxPropertyGrid: added wxPG_NO_INTERNAL_BORDER, wxPG_EX_NO_TOOLBAR_DIVIDER and wxPG_EX_TOOLBAR_SEPARATOR styles for finer control over borders. Borders around property grid are now native for consistency. Some strange VC6 compiler errors fixed, plus size assertion in sample.

2009-09-11 13:42 JS, revision 61879

Documented a couple of combo control fixes on Mac.

2009-09-11 11:30 JS, revision 61878

Fixed a bug on Mac whereby popup window disappeared as soon as the button was clicked (text control getting focus)

2009-09-11 10:55 JS, revision 61877

Fix on Mac to prevent scrollbars always being shown

2009-09-11 10:55 JS, revision 61876

Fix on Mac to prevent scrollbars always being shown

2009-09-10 16:15 JMS, revision 61875

Notify if the grid is being destroyed in an event generated by it

2009-09-10 14:49 VZ, revision 61874

Mention wxOSX/Cocoa in the old wxCocoa docs. The old wxCocoa port isn't what most people are looking for so point them to wxOSX/Cocoa if they look under docs/cocoa. Closes #11182.

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

Predefine wxNEEDS_T to fix wxrc compilation with Sun CC. After the recent changes _T() is not defined any longer when using Sun CC but this file does need it to be defined and seems to compile fine when it is, so define wxNEEDS_T before including any wx headers. See #10660.

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

Don't use _T() in public headers used under Unix. Avoid conflict with the Sun CC standard headers (see #10660). Also update the change log to mention _T() changes.

2009-09-10 00:29 VZ, revision 61871

Undef _T before including standard headers and redefine it later. This change fixes the build of wxWidgets itself by undefining _T() before including any standard headers and redefining it after including them. See #10660.

2009-09-10 00:29 VZ, revision 61870

Don't define _T() when using Sun compiler if possible. Avoid defining _T() if possible as it conflicts with the use of this identifier in standard headers. Do still define it when building wx itself or when the special symbol wxNEEDS__T is explicitly predefined. See #10660.

2009-09-10 00:29 VZ, revision 61869

Define WXBUILDING when building wxWidgets itself. This is needed by the upcoming _T-related patches (see #10660). Notice that only Makefile.in was regenerated using the old 0.2.5 bakefile version to keep changes to the minimum. The other makefiles will have more changes when they are regenerated with bakefile 0.2.6 after we update to it.

2009-09-09 19:26 JMS, revision 61868

Adapted wxPGComboBox margins setup to changes in wxComboCtrl

2009-09-09 18:41 JMS, revision 61867

Various improvements to wxComboCtrl's text ctrl left margin setup: less #defines, better margin when SetCustomPaintWidth() has been called, fixed SetFont() behavior on wxMSW

2009-09-08 16:03 JMS, revision 61862

Fixed a warning generated by GCC 4.4.0

2009-09-08 15:57 JMS, revision 61861

Use real id for wxPGCanvas

2009-09-08 14:23 VZ, revision 61860

Set correct foreground default in wxControl::DoMSWControlColor(). Instead of hard-coding GetSysColor(COLOR_WINDOWTEXT), use GetForegroundColour() which will call GetDefaultAttributes() to retrieve the default foreground appropriate for this control. This also allows to make the code simpler by calling SetTextColor() only once. See #1691.

2009-09-08 14:23 VZ, revision 61859

Don't always override the default background colours. The wxColour argument taken by wxControl::DoMSWControlColor() allows to override the default colour, it shouldn't be used in MSWControlColor() as this resulted in always using custom colours for the controls, even when the user hadn't changed them. Fix this by not passing any valid colour to it in this case and allowing it to deduce the correct colour to use on its own. See #1691.

2009-09-08 14:23 VZ, revision 61858

Use correct visual attributes for wxSpinCtrl. The default colours for this control are wxTextCtrl-like and not wxButton-like (which is the default). Override GetDefaultAttributes() to indicate this and to avoid returning a wrong background from wxControl::DoMSWControlColor() when just a foreground is set. See #1691.

2009-09-08 13:21 VZ, revision 61857

Fix wxLog compilation with wxUSE_THREADS==0. Define WX_DEFINE_GLOBAL_VAR macro when wxUSE_THREADS==0 too, it is used for components level hash map in any case.

2009-09-08 01:00 VZ, revision 61853

Always use 32bpp image lists. Using 32bpp image lists (ILC_COLOR32) is required as we need to be able to put 32bpp bitmaps in them and results in better (albeit still broken, see #9050) display when the display depth is < 32. This change was tested under Windows 2000, 2003 and Vista in 8 (Win2k-only), 16 and 32bpp display depth modes. Closes #11031.

2009-09-08 01:00 VZ, revision 61852

Show the order in which different event handlers are called. Update the event sample to define (as) many (as possible) event handlers for a test button and log messages in all of the handlers to leave a trace of the order in which they were executed. Add a pointer to this feature of the event sample to the events overview. Closes #11156.

2009-09-08 01:00 VZ, revision 61851

Fix bug with parsing concatenated switches in wxCmdLineParser. The constructs such as "-abcd" were not parsed correctly, i.e. the same as "-a -b -c -d" because the code tried to parse a non-existent option "abcd" even if it was supposed to not do this -- fix this. Closes #11180.

2009-09-07 15:50 JJ, revision 61850

removed superfluous ;

2009-09-07 14:14 JJ, revision 61849

fixed typo : wxDEPRECTED -> wxDEPRECATED

2009-09-07 06:53 SC, revision 61848

tagging 2_9_0 release state

2009-09-06 17:59 VZ, revision 61846

Use VariantTimeToSystemTime() in wxConvertOleToVariant(). Fix the problem with variants containing only time (but not date) information. Also check in the symmetric changes to wxConvertVariantToOle() but disable them for now as they were not tested. Closes #11177.

2009-09-06 16:31 VZ, revision 61845

Recognize the buddy text control as part of wxSpinCtrl. This allows the code in wxWindowMSW::HandleCtlColor() to find the correct control when handling the messages from the buddy control and hence setting the colours for wxSpinCtrl works after this change. Closes #1691.

2009-09-06 16:31 VZ, revision 61844

Compilation fix after wxTextEntry::SetMargins() changes. We need to include wx/gdicmn.h to define wxPoint which is now used in wx/textentry.h, it is not necessarily already included and in fact compilation was broken in PCH-less build.

2009-09-06 16:31 VZ, revision 61843

Use SYSTEMTIME instead of DOS time when converting to/from VARIANTS. SYSTEMTIME has a much larger range than DOS time and a much better precision (1ms instead of 2s) as well. Closes #11177.

2009-09-06 16:31 VZ, revision 61842

Take time into account in wxDateTime <-> SYSTEMTIME conversion. wxDateTime::SetFromMSWSysTime() and GetAsMSWSysTime() worked with the date part of SYSTEMTIME only, do use time part as well now. Closes #11176.

2009-09-06 10:35 JMS, revision 61840

Do not allow multiple selection when dragging in the 'value' column

2009-09-06 09:53 JMS, revision 61839

Fixed property iterator crash when iterating through 'non-interesting' properties at the edges of the grid.

2009-09-06 09:51 JMS, revision 61838

Added check to allow multiple selection by dragging only if property under mouse was adjacent to a property already in the selection.

2009-09-05 16:24 VZ, revision 61837

Perform Apple SDK tests for Mac ports only. Fix after changes of r61832: SDK checks should be done for Mac ports only as they are useless under the other systems and break configure because sw_vers is Mac-only and unsurprisingly using it results in errors under the other systems: /usr/local/src/wx/HEAD/configure: line 18215: sw_vers: command not found checking if C compiler works with SDK/version options... configure: error: no. Try a different SDK

2009-09-05 15:23 JMS, revision 61836

Fixed GtkBorder allocation (hopefully)

2009-09-05 14:39 VZ, revision 61835

Really fix compilation of wxURLDataObject. Conversion from char* to wxString doesn't exist in 2.8, need to do it explicitly. Closes #11102.

2009-09-05 14:39 JMS, revision 61834

wxTextEntry::SetMargins(), GetMargins() - implemented on wxMSW and wxGTK (GTK+ 2.10+); also added similar functions into wxComboCtrl, deprecated old indent-functions; wxPropertyGrid modified to use the new functionality

2009-09-05 14:29 VZ, revision 61833

Clarify the separator native look remark. Closes #11174.

2009-09-05 02:12 KO, revision 61832

If gcc-4.2+ is specified for compiling OS X Carbon or 10.4 compatilbility is specified, switch to gcc-4.0 to avoid configuration conflicts. Also, do not default to 10.4 compatibility when building OS X Cocoa so that we can get 64-bit builds on Snow Leopard by default.

2009-09-04 21:10 VZ, revision 61830

Fix bug in wxTreeCtrl::ItemHasChildren() for virtual root item. Backport of r58177 from trunk, see #11169.

2009-09-04 18:21 VZ, revision 61829

Enable debug information in release builds for msvc makefiles too. Debug information was enabled for release builds for MSVC project files but not the makefiles which was inconsistent, correct this.

2009-09-04 18:20 VZ, revision 61828

Implement wxSTAY_ON_TOP for wxMessageDialog in wxGTK. Call gtk_window_set_keep_above() to force the message dialog to be above the other windows (some WMs do this by default anyhow but not all). Closes #11163.

2009-09-04 18:20 VZ, revision 61827

Document wxFileName::SetPath(). Closes #11162.

2009-09-04 02:29 VZ, revision 61826

Another compilation fix after r61814. wxDECLARE_NO_COPY_CLASS() doesn't exist in 2.8, only DECLARE_NO_COPY_CLASS() does.

2009-09-04 02:27 VZ, revision 61825

Fix regression with logging messages during wxApp initialization. Changes in r61450 broke logging of the messages for errors occurring during wxApp initialization, such as the message about the failure to establish connection to the X server. Instead of being shown on stderr, wxLogGui was used resulting in a crash. Creating wxLogOutputBest in wxLog code before wxTheApp creation was not enough as this error occurred after wxTheApp creation -- but before it became usable. Fix this by explicitly asking wxLog to instantiate a safe log target in DoCommonPreInit() if the user hadn't set up his own yet and using it until the GUI is fully initialized.

2009-09-03 13:38 VZ, revision 61821

Tweak the default wxApp::GetAppDisplayName() logic. Don't capitalize the app name if it had been explicitly set with SetAppName() as this can result in unexpectedly wrong value. Do capitalize the program name which is used as app name by default and don't store the program name in m_appName to be able to distinguish between the two cases. Closes #11165.

2009-09-03 13:03 VZ, revision 61820

Compilation fix after r61814. Trunk change was not completely merged and broke the build, fix it.

2009-09-03 02:32 VZ, revision 61814

Fix off by one errors and buffer overflows in wxURLDataObject. Backport of r61787 and r61788 from trunk. Closes #11102.

2009-09-03 02:24 VZ, revision 61813

React to errors on socket correctly when using epoll(). Even though the socket is not registered for wxFDIO_EXCEPTION events, wxEpollDispatcher will currently generate them anyhow so we shouldn't assert if wxSocketImplUnix::OnExceptionWaiting() is called. Instead, notify the socket about the connection loss if this happens. Closes #11085.

2009-09-03 02:24 VZ, revision 61812

Clarify the priority rules for static and dynamic handlers. See #11156.

2009-09-03 02:16 VZ, revision 61811

Fix SetToolTip(NULL) in newer GTK versions. Backport of r61549 from HEAD. Closes #11158.

2009-09-01 16:44 JMS, revision 61804

Normalize property label editor margins on wxMSW

2009-09-01 16:11 JMS, revision 61803

Only respect property's wxPG_PROP_READONLY flag for the 'value' column

2009-09-01 15:54 JMS, revision 61802

Added 'bool editable' argument to wxPropertyGrid::MakeColumnEditable()

2009-09-01 15:39 JS, revision 61801

Documented font dialog fix.

2009-09-01 15:36 JS, revision 61800

Backported fix from 2.9.

2009-09-01 15:20 JMS, revision 61799

Removed some old code that generated warnings on some compilers

2009-09-01 15:13 JMS, revision 61798

Fixed a severe crash bug

2009-08-31 23:28 VZ, revision 61796

Correctly determine best wxPropertyGrid width. Improve wxPropertyGrid::DoGetBestSize() to correctly determine the window width by using the sum of columns widths. Also correct wxPropertyGridPageState::GetColumnFitWidth() to account for the bitmaps.

2009-08-31 02:05 VZ, revision 61793

Avoid spurious uninitialized variable warning. Last change introduced a new warning in optimized g++ build, fix it.

2009-08-30 23:43 VZ, revision 61792

Correct wxImage::Size() again; add unit tests for it. wxImage::Size() didn't handle the paste position correctly. Closes #7874.

2009-08-30 23:11 VZ, revision 61791

Add support for bilinear resize algorithm to wxImage. Add wxIMAGE_QUALITY_BILINEAR in addition to the existing wxIMAGE_QUALITY_BICUBIC, it is supposed to be much faster yet yield almost the same results. Closes #11034.

2009-08-30 22:42 VZ, revision 61790

Use correct font instead of DEFAULT_GUI_FONT. DEFAULT_GUI_FONT is a misnomer, not only is it not a default (and never was) but it shouldn't be used at all. Instead use lfMessageFont from the NONCLIENTMETRICS structure as it seems to correspond to the font used by the native controls under 2000, XP and Vista and respects Vista global DPI setting unlike DEFAULT_GUI_FONT. Closes #11008.

2009-08-30 19:25 VZ, revision 61788

Fix buffer overflow in wxURLDataObject. The code in CFSTR_SHELLURLDataObject::GetDataHere() was confused by ANSI/Unicode and ended up overwriting output buffer because of it. Moreover, this function was actually completely unnecessary as the base class version did work correctly. Closes #11102 (thanks to Tim Kosse).

2009-08-30 19:25 VZ, revision 61787

Fix off by one errors in wxURLDataObject. wxTextDataObject::SetData() adds the terminating NUL automatically so there is no need to add it to the length when calling it from wxURLDataObject::SetURL(). This change is necessary to fix the unit test in the upcoming fix for #11102. See #11102.

2009-08-30 19:25 VZ, revision 61786

Output the extracted number from wxString::ToXXX() even if it returns false. After the changes in r50710 wxString numeric conversion functions didn't update their output parameter any more if the conversion failed because not entire string was converted. This was incompatible with the old behaviour which some existing code did rely on, so restore it and now always return the number which was extracted from the beginning of the string if we found anything at all, even if the function returns false. Add unit test for the correct behaviour and updated the documentation. Closes #11126.

2009-08-30 19:25 VZ, revision 61785

Use GetBestSize() rather than DoGetBestSize(). Call GetBestSize() from wxWindowMSW::DoSetSize() so that it works correctly for the classes which only override DoGetBestClientSize() and not DoGetBestSize() itself, such as wxStaticText. Closes #11096.

2009-08-30 19:24 VZ, revision 61784

Fix selection events generation in multi-select wxTreeCtrl. Only deselect the items when the mouse is released if really necessary: add a flag indicating when it is instead of trying to deduce it in the mouse up handler. Closes #11099 (thanks to Jonathan Liu).

2009-08-30 19:24 VZ, revision 61783

Don't generate duplicated events for clicks on tree +/- buttons. In multiple selection mode we process mouse events manually in wxTreeCtrl itself and already take care of mouse clicks on the buttons there so don't pass them on to the base class which would generate another event. Closes #11098 (thanks to Jonathan Liu).

2009-08-29 10:09 JMS, revision 61779

Disabled top-level parent tracking by default (crashes with AUI), must now use wxPG_EX_ENABLE_TLP_TRACKING style to enable old behavior.

2009-08-28 12:44 VZ, revision 61774

Compilation fix for wxUSE_PROTOCOL && !wxUSE_URL. IMPLEMENT_CLASS(wxProtoInfo) wasn't compiled in in this build configuration because it was in url.cpp instead of protocol.cpp and so was guarded by wxUSE_URL and not wxUSE_PROTOCOL as it should have been. Closes #11151.

2009-08-28 12:44 VZ, revision 61773

Compilation fixes for wxUSE_FONTMAP==0. Closes #11150. Closes #11152.

2009-08-28 12:43 VZ, revision 61772

No real changes, just slightly simplify code. No need to check whether the pointer is NULL before deleting it nor to assign NULL to it if it's going to be immediately reassigned on the next line. Closes #11149.

2009-08-27 09:08 PC, revision 61770

small fix to last commit, only disable updating decor size if necessary

2009-08-27 07:11 PC, revision 61769

avoid deferred show with Fluxbox, its support for _NET_REQUEST_FRAME_EXTENTS is broken

2009-08-27 01:12 MW, revision 61768

Split 32-bit GTK builds between the the two linux machines, read to add more builds.

2009-08-27 00:18 VZ, revision 61767

Fix wxDocManager::GetLastDirectory() when there is no history. The most recently opened file should be used only if we have MRU list. Closes #11145.

2009-08-27 00:17 VZ, revision 61766

Fix wxDocManager::GetLastDirectory() when there is no history. The most recently opened file should be used only if we have MRU list. Closes #11145.

2009-08-26 22:44 VZ, revision 61765

Use correct array size for weekday names. DAYS_PER_400_YEARS was erroneously used instead of DAYS_PER_WEEK which resulted in creation of much larger object file than needed as the array is initialized. Closes #11143.

2009-08-26 22:44 VZ, revision 61764

Use #pragma message and not #pragma warning for MSVC. This fixes MSVC compilation with wxUSE_APPLE_IEEE==0. Closes #11141.

2009-08-26 22:43 VZ, revision 61763

Compilation fix for wxUSE_INTL==0 in wxMSW MDI code. Using wxGetTranslation().wx_str() doesn't work when wxUSE_INTL==0. Closes #11142.

2009-08-25 00:49 KO, revision 61760

Restore pattern creation, and do sanity checks before destroying the pattern or the surface. Closes #11140.

2009-08-24 23:42 VZ, revision 61759

Don't append text following CDATA section to its node itself. Reset wxXmlParsingContext::lastAsText flag when CDATA section ends to avoid appending the text following it to its node. Instead new text nodes should be created for it. Also update the unit test to not work around the bug any more. Closes #10552.

2009-08-24 23:42 VZ, revision 61758

No changes, just fix unused variables and parameters warnings. Fix warnings in wxGTK wxUSE_GRAPHICS_CONTEXT==1 build.

2009-08-24 23:42 VZ, revision 61757

Add A0 and A1 formats to wxPaperSize enumeration. Closes #11083.

2009-08-24 09:31 JJ, revision 61756

Update OpenVMS compile support

2009-08-24 02:23 BBE, revision 61755

Better diagnostic information for inotify fswatcher

2009-08-24 00:48 VZ, revision 61754

Allow entering minus sign in wxMSW wxSpinCtrl if needed. Only restrict input to wxMSW wxSpinCtrl to digits only if it doesn't support negative values, otherwise the user can't enter any negative numbers. As there is no built in support for entering digits and minus sign only, simply allow all characters to be used if the negative numbers must indeed be possible to enter. Closes #11082.

2009-08-24 00:25 VZ, revision 61753

Never overflow the output buffer in wxBase64Decode(). Don't write extra NUL bytes obtained by decoding the padding at the end of input into the output buffer as there may be not enough place in it for them. And in any case the buffer is not (always) NUL-terminated as no NUL bytes are obtained in absence of padding, so it's better to never terminate it for consistency. Closes #11101.

2009-08-24 00:25 VZ, revision 61752

Correct the order of coordinates in CGPoint initializer. The order was reversed. Closes #11020.

2009-08-24 00:24 VZ, revision 61751

Show the current range of valid dates in the calendar sample. See #11081 (point C).

2009-08-24 00:24 VZ, revision 61750

Added wxGridSize::GetEffective{Cols,Rows}Count(). These functions return the number of columns or rows being currently used and not 0, unlike the existing Get{Cols,Rows}(), if the corresponding number is determined dynamically. Closes #10254.

2009-08-23 23:39 VZ, revision 61749

No changes, just clarify a comment for WXK_XXX values. Part of patch in #10268.

2009-08-23 23:39 VZ, revision 61748

Make WXK_NUMPAD_TAB member of WXK_CATEGORY_TAB. See #10268.

2009-08-23 23:36 VZ, revision 61747

Unload GDI+ DLL during wxWidgets shutdown. This was done during static objects cleanup time previously resulting in deadlocks when wxWidgets was used as a DLL as DLLs can't be unloaded when wxWidgets DLL itself is being finalized because of the global loader lock. This is a back port of r48778 and r54233 from trunk. Closes #11127.

2009-08-23 23:31 VZ, revision 61746

Extract event handlers chain documentation in a separate section. The explanation of event handlers chaining was too big and distracted from the main point of the event processing section which was to explain in which order different handlers are looked up.

2009-08-23 20:38 JMS, revision 61745

Made wxPropertyGridHitTestResult a real class (works better that way with SWIG)

2009-08-23 17:34 JMS, revision 61744

Removed obsolete conditional compile option wxPG_CREATE_CONTROLS_HIDDEN

2009-08-23 17:31 JMS, revision 61743

Added label editing capability into wxPropertyGrid

2009-08-23 15:31 BBE, revision 61742

Rename support for MSW file system watcher. Fixed incorrect handling of patch with depth > 1. Cleanup & style improvements.

2009-08-23 15:30 BBE, revision 61741

Little style correction

2009-08-23 11:21 MJM, revision 61740

Reimplement setting of styles for wxAuiNotebook

2009-08-23 10:35 SC, revision 61739

gcc 4.2 fix

2009-08-23 09:52 MJM, revision 61738

(Re)implement focus behaviour for tabs of notebooks

2009-08-23 03:02 BBE, revision 61737

Event loop sources refactoring for Unix console loop, GTK loop and OSX Cocoa loop

2009-08-23 02:32 VZ, revision 61736

Added wxKeyEvent::IsKeyInCategory() method. This allows to test whether a given key belongs to the category of e.g. arrow keys or navigation keys in a more concise and more readable manner. Closes #10268.

2009-08-23 00:48 BBE, revision 61735

Rename support for inotify file system watcher

2009-08-22 19:40 VZ, revision 61734

Back port of wxSocket-related fixes from trunk. This patch combines the changes from the following trunk revisions: - r61675 - r61676 - r61677 - r61678 - r61685 - r61686 - r61687 - r61688 - r61689 - r61690 - r61696 - r61726 It refactors wxSocketImpl creation to use a Mac-specific version of it in GUI Mac applications which fixes generation of socket events under Mac (see #11030) and also fixes bug in wxSocketServer::WaitForAccept() (see #11107).

2009-08-22 15:59 VZ, revision 61732

Document wxGraphicsPath::AddArc() better. The angles passed to it are measured clockwise from the horizontal axis, contrary to the usual mathematical convention so take care to mention this in the documentation. Closes #11112.

2009-08-21 20:46 VZ, revision 61731

Only use wxLocale functions if wxUSE_INTL == 1. Don't use locale-dependent formats in wxDateTime::ParseFormat() when locale support is disabled. Closes #11121.

2009-08-21 20:46 VZ, revision 61730

Fix typo in wxNewEventFunctor() comment. Closes #11117.

2009-08-21 20:22 SC, revision 61729

supporting earlier xcode version

2009-08-21 17:25 VZ, revision 61726

Do wait for connection in the server socket. The code returned immediately from wxSocketBase::DoWait() if it wasn't connected but it only made sense for the client sockets, not server ones which could be calling this function precisely in order to wait until a connection is made. Also added a test for this bug in the sockets/server sample. Closes #11107.

2009-08-21 12:54 VZ, revision 61725

Allow creating initially hidden controls in wxOSX/Cocoa. If wxWindow is hidden before being really created, we must create the native control hidden too. Not only this allows to create the controls initially hidden, as intended, but it also avoids the wx and native visibility flags from getting out of sync which results in many other problems. Closes #11131.

2009-08-21 12:41 VZ, revision 61724

No changes, just removed hard tabs and trailing white space. This commit is huge but there are no non-white-space changes in it. Some files containing third-party sources (src/msw/wince/time.cpp, src/x11/pango*.cpp) were left unchanged.

2009-08-20 02:44 VZ, revision 61720

Fix signatures of various image handlers methods. Use wxBitmapType instead of long for the type parameter and made SaveFile() methods const to follow the base class changes. Now that the signatures are the same as in the base class these handlers have a chance to work again while their methods couldn't be called at all before this change.

2009-08-20 02:44 VZ, revision 61719

Refactor and clean up slider labels drawing code. This change fixes multiple g++ 4 warnings about unsafe expressions with bit-wise operators (completely justified, for once, as the expressions were absolutely incomprehensible and almost certainly incorrect too) and refactors the determination of where to draw the slider labels in a single function instead of triplicating it. Also reformat to follow wxWidgets conventions and use more clear variable names.

2009-08-20 02:44 VZ, revision 61718

Fix warning about converting literal strings to non-const char*.

2009-08-20 02:44 VZ, revision 61717

Remove declarations of two non-existent functions in wxMSW wxListCtrl. wxGetInternalData() were left overs from old versions of the code and don't exist any more.

2009-08-20 02:44 VZ, revision 61716

Fix harmless unused parameter warnings in wxX11 wxCursor. Parameters in wxCursor ctor are unused because it is not implemented but this is already indicated by a wxFAIL_MSG() in it.

2009-08-20 02:44 VZ, revision 61715

Rename wxRendererNative::DrawRadioButton() to DrawRadioBitmap(). This old name function conflicted with the one in wxRenderer in wxUniv and also was misleading as this function draws only a bitmap and not the entire wxRadioButton control. The old workaround for the warnings about the function names conflict was ugly and unmaintainable, as proven by the fact that wxRenderer method signature already became different from the wxRendererNative one.

2009-08-20 02:44 VZ, revision 61714

Fix extraction of standard command line arguments in wxX11. The original number of arguments should be used when checking the argument index for validity. Additionally, memmove() wasn't moving the correct number of bytes because of forgotten sizeof(). See #11124.

2009-08-20 02:01 VZ, revision 61713

Fix extraction of standard command line arguments in wxX11. The original number of arguments should be used when checking the argument index for validity. Additionally, memmove() wasn't moving the correct number of bytes because of forgotten sizeof(). See #11124.

2009-08-20 01:51 VZ, revision 61712

Flush log events in console applications as well. Move wxLog::FlushActive() call from wxAppBase::ProcessIdle() to wxAppConsoleBase::ProcessIdle(). Now that log messages from background threads are queued until the main thread log target is flushed, we need to call wxLog::FlushActive() periodically to see them at all, see #11115. Besides, even though the default log target in console applications outputs the messages immediately without queuing them, it is quite possible to use a non-default target which does require flushing so this change also fixes a potential bug with non-default log targets.

2009-08-19 16:09 JMS, revision 61711

Have DoRemoveFromSelection() take active editor into account

2009-08-19 15:01 SC, revision 61710

adding gc aware code, fixes #11061

2009-08-19 14:39 SC, revision 61709

making sure an empty label is not reserving place above, fixes #11123

2009-08-19 08:00 PC, revision 61708

Fix loading BMPs, broken in r60852. Parenthesize shift expressions.

2009-08-19 01:08 BBE, revision 61707

Removed spurious code

2009-08-19 01:05 BBE, revision 61706

Checking if m_service != NULL before delete. Removed hard tabs

2009-08-18 20:07 JS, revision 61704

Numeric keypad Del fix

2009-08-18 19:33 JS, revision 61703

Fix numpad Del not working in wxRTC

2009-08-18 19:33 JS, revision 61702

Fix numpad Del not working in wxRTC

2009-08-18 17:54 SC, revision 61701

support for plug-in unloading, closes #10836

2009-08-18 17:39 SC, revision 61700

better variant support, fixes #11114

2009-08-18 17:32 SC, revision 61699

gcc 4.2 warning fix

2009-08-18 17:30 SC, revision 61698

simplifying native string handling, see #11061

2009-08-18 17:19 SC, revision 61697

fixing 64bit OSX, closes #11118

2009-08-18 16:49 SC, revision 61696

added wakeup implementation for osx_cocoa

2009-08-18 16:28 JMS, revision 61695

Made code that uses wxArrayPGProperty more STL compliant (still can't use wxVector for it because I think there is no wx equivalent of std::sort)

2009-08-18 13:44 VZ, revision 61694

Include wx/filefn.h to fix PCH-less compilation.

2009-08-18 03:22 VZ, revision 61693

Fix compilation for wxUSE_LOG==0. Move wxObject and wxFrame forward declarations so that they are accessible to empty wxLogXXX() functions defined in wxUSE_LOG==0 case too. Also take wxFormatString, not wxString, in these functions to avoid overload ambiguities. Closes #11103.

2009-08-18 03:22 VZ, revision 61692

Fix last error display in wxLogSysError(). After recent changes of wxLogXXX() functions into macros the last error was overwritten by wxString::Format() called between the call to wxLogSysError() and wxLog::CallDoLogNow() which called wxSysErrorCode() and so its original value was lost and, unless the last error was specified explicitly, it always came out as 0. To fix this, call wxSysErrorCode() directly when calling wxLogSysError(). This may be unnecessary (if the error is given explicitly) but there doesn't seem to be any other way to fix it and the overhead of calling wxSysErrorCode() shouldn't be that big. Also add a unit test checking that wxLogSysError() behaves as expected.

2009-08-18 02:27 VZ, revision 61691

Don't define wxArrayPGProperty as std::vector in STL build. wxArray::Remove() method is used on it so defining it as std::vector<> breaks compilation in STL build. It is also insonsistent with all the other arrays in wx none of which used "#if wxUSE_STL" around its definition.

2009-08-18 01:46 VZ, revision 61690

Added missing wx/log.h header. This fixes compilation without PCH.

2009-08-18 01:02 VZ, revision 61689

Force linking of src/osx/core/sockosx.cpp. Without this the file was omitted by linker entirely in the static build and the correct socket manager wasn't used for the GUI applications (see #11030).

2009-08-18 01:02 VZ, revision 61688

Cleanly separate GUI socket-related code from net library. This fixes linking problems under Unix introduced by recent changes which fixed previous problems which were due to files not being linked in at all. In order to provide a clean separation between base, net and core libraries we now use the same wxSocketManager (wxSocketFDBasedManager), defined in net library for both console and GUI Unix applications and just use different FD IO manager for them: the latter can be defined in base and core libraries as it doesn't involve wxSocketImpl at all, only its base wxFDIOHandler class. At more detailed level, these changes required: 1. Adding the new wxFDIOManager class. 2. Refactoring the old (and now removed) wxSocketFDIOManager to use the same code as wxSocketFDIOManager. This involved: a) Adding handler and direction parameter to RemoveInput(). b) Storing the mask of registered events in wxFDIOHandler itself. c) Defining wxFDIOManagerUnix which works with wxFDIODispatcher. 3. Changing the traits classes in Unix ports to define GetFDIOManager() instead of GetSocketManager().

2009-08-18 01:02 VZ, revision 61687

No changes, just put the files in alphabetical order. List files in BASE_UNIX_AND_DARWIN_SRC in alphabetical order for consistency with the other file names variables and to make it more convenient to update it.

2009-08-18 01:02 VZ, revision 61686

Extract wxFDIOHandler in its own header. The files defining classes processing events on file descriptor only need this class and not wxFDIODispatcher itself so reduce build dependencies by extracting wxFDIOHandler in a separate header which they can include instead of the entire fdiodispatcher.h.

2009-08-18 01:02 VZ, revision 61685

Added wxFDIOHandler::IsOk() and use it with wxSocketImplUnix. This will allow to use the base wxFDIOHandler class only in GUI-specific network code and this remove its dependency on wxSocketImplUnix. IOW it paves the way for a proper solution of the problem fixed by r61336 without the hack of r61335 which results in linking problems (which went undiscovered until now but were, in fact, always present, i.e. r61335 couldn't work).

2009-08-17 20:36 JMS, revision 61681

Added multiple selection feature to wxPropertyGrid (enabled by setting wxPG_EX_MULTIPLE_SELECTION style)

2009-08-17 19:59 PJC, revision 61680

The tab bar of a ribbon bar is now hidden by default when there is only a single tab (the old behaviour can be achieved via the new wxRIBBON_BAR_ALWAYS_SHOW_TABS flag).

2009-08-17 01:14 VZ, revision 61678

Fix hangups when using sockets under OS X. A socket event apparently doesn't count as a real event under OS X and our wxEventLoop::DispatchTimeout() doesn't return when it happens -- so we need to generate an artificial wake up event ourselves to make it do it and return control to the code in wxSocket::DoWait() in order for it to process the event.

2009-08-17 01:14 VZ, revision 61677

Don't forget to reset wxSocketImplMac members to NULL. This avoids an assert in dtor.

2009-08-17 01:13 VZ, revision 61676

Use CF socket manager in GUI OS X applications. wxSocketManagerMac was never created under OS X since wxSocket code refactoring as wxGUIAppTraits::GetSocketManager() wasn't overridden. Doing this required an extra nasty hack with a global variable in the base library which is used just to pass the socket manager pointer from the net library to the core one without creating a dependency between them but this seems unfortunately unavoidable. See #11030.

2009-08-17 01:13 VZ, revision 61675

Virtualize wxSocketImpl creation by routing it via wxSocketManager. This is necessary to create different kinds of sockets for the console and GUI applications under OS X: unlike Unix which use different socket managers for the console and GUI programs but still use the same data structures in both cases as X11 and derived toolkits APIs are very similar, Core Foundation sockets don't have anything in common with their console counterparts and so we need to use different wxSocketImpl versions too. A side effect of this commit is that now we need to force linking of src/msw/sockmsw.cpp when using sockets: this wasn't necessary before because it contained wxSocketImpl method definition but now that there are no more direct dependencies on it, MSVC linker simply discards the object file unless we force it to link with it. Notice that this commit doesn't change anything yet, it simply refactors the code to use wxSocketManager::CreateSocket() instead of wxSocketImpl::Create() in preparation for the next change.

2009-08-17 01:13 VZ, revision 61674

Create both the full and OS X specific tag files in makeosxtags.sh. Also don't duplicate the files already processed by the generic create_tags in OS X-specific part.

2009-08-16 17:17 JMS, revision 61673

Fixed bug: wxPGProperty::SetName() crashed if it was called before property was added to grid (fixes #11111)

2009-08-16 15:32 VZ, revision 61672

Add samples files missing from distribution. Mostly XPM icons but also a header from dataview sample.

2009-08-15 19:41 BBE, revision 61670

Fixed build error on MSW: missing virtual method implementation

2009-08-15 17:35 BBE, revision 61669

Fixed corrupted source files.

2009-08-15 07:30 JMS, revision 61668

Added workaround for VC6 internal compiler error (fixes #11104)

2009-08-14 21:09 MW, revision 61667
  • D /wxWidgets/trunk/build/buildbot/config/buildbot.css

Remove buildbot.css as it's never been used.

2009-08-14 20:57 MW, revision 61666
  • D /wxWidgets/trunk/build/buildbot/config/include/testdrive-unix.xml
  • D /wxWidgets/trunk/build/buildbot/config/include/testdrive-win.xml
  • D /wxWidgets/trunk/build/buildbot/config/include/testdrive.xml
  • D /wxWidgets/trunk/build/buildbot/config/testdrive-unix.xml
  • D /wxWidgets/trunk/build/buildbot/config/testdrive-win.xml

Remove testdrive bots.

2009-08-14 20:55 MW, revision 61665

Add new unix bots.

2009-08-14 20:45 MW, revision 61664

Rename ravnsgaard.xml to unix.xml

2009-08-14 02:06 VZ, revision 61663

Allow customizing wxDebugReportCompress output file. It may be useful to change the directory where it is generated to allow the users to find it more quickly. Also allow changing the crash report base name for completeness.

2009-08-14 02:05 VZ, revision 61662

Added wxStandardPaths::MSWGetShellDir(). This function allows to get the location of Windows shell special folders not covered by wxStandardPaths methods (yet), e.g. CSIDL_DESKTOPDIRECTORY.

2009-08-13 19:32 VZ, revision 61661

Corrected fix for #11014 in r61506.

2009-08-13 14:32 VZ, revision 61660
  • D /wxWidgets/branches/SOC2009_FSWATCHER/samples/fswatcher/fswatcher_vc7.sln
  • D /wxWidgets/branches/SOC2009_FSWATCHER/samples/fswatcher/fswatcher_vc8.sln
  • D /wxWidgets/branches/SOC2009_FSWATCHER/samples/fswatcher/fswatcher_vc9.sln

Remove fswatcher sample solution files from svn. The solution files are not stored in the svn with a few exceptions and there is no reason to store them for this sample.

2009-08-13 14:31 VZ, revision 61659

Check that wxUSE_FSWATCHER is defined. All user-ssettable wxUSE_XXX symbols must be checked in this file and wxUSE_FSWATCHER is no exception.

2009-08-13 14:07 VZ, revision 61658

Indicate that wxFileSystemWatcher is new since 2.9.1.

2009-08-13 11:58 VZ, revision 61657

Minor updates to Vietnamese translations. Patch from Trần Ngọc Quân.

2009-08-13 11:50 VZ, revision 61656

Set correct EOL style for .po files which didn't have it.

2009-08-13 00:42 BBE, revision 61655

Fixed bug in wxConsoleEventLoop: it didn't unregister its wakeup pipe fd on delete, which resulted in blocking the place in the map for the next entry with the same fd

2009-08-13 00:39 BBE, revision 61654

Commented out one test, because it cannot pass at the moment

2009-08-12 23:31 PJC, revision 61653

Fixed wxRibbonMSWArtProvider scroll right button having wrong arrow.

2009-08-12 21:50 BBE, revision 61652

include <wx/*> => include wx/*. wxFSWatchEntry::GetLastState now returns by const reference. A couple of minor changes.

2009-08-12 10:01 BBE, revision 61651

Update of automatically generated build system files

2009-08-12 09:59 BBE, revision 61650

Turn off one test for kqueue fswatcher implementation

2009-08-12 09:57 BBE, revision 61649

Implementation of kqueue file system watcher for MacOSX, console version

2009-08-12 09:56 BBE, revision 61648

Update of build system files to build kqueue file system watcher

2009-08-12 03:24 PJC, revision 61647

Added up / down scroll button rendering to wxRibbonMSWArtProvider. Fixed wxRibbonPage::AdjustRectToIncludeScrollButtons doing incorrect adjustment for vertical ribbons. Fixed wxRibbonPanel occasionally automatically minimising when it shouldn't. Fixed wxRibbonMSWArtProvider panel labels painting outside the panel. Fixed wxRibbonMSWArtProvider's slightly incorrect wxRibbonPanel client size <-> size conversions.

2009-08-11 20:16 VZ, revision 61646

Create compressed debug report file outside of temporary directory. Otherwise the compressed file is deleted when the temporary directory is (it doesn't happen if temporarily files are left because an error occurred while the report generation but perversely enough no useful information was left if no errors happened).

2009-08-11 20:16 VZ, revision 61645

Use the app name, not display name, as debug report name, This name is used for files/directories and so should be short and not contain spaces while the display name usually does contain them.

2009-08-11 18:53 JMS, revision 61644

Do not generate wxEVT_PG_SELECTED with direct ClearSelection() and SelectProperty() calls

2009-08-11 12:54 VZ, revision 61643

Another compilation fix after wxFlexGridSizer ctors change. wxFlexGridSizer ctor was even used incorrectly even in layout sample itself, once again the code was supposed to create 3*3 sizer, not 3-column sizer with 3 pixel vertical gap. Changed ctors to be more explicit and to use a 5 pixel gap in both directions.

2009-08-11 11:28 JS, revision 61642

If zero spacing after paragraph is explicitly specified, suppress spacing after paragraph.

2009-08-11 11:27 JS, revision 61641

If zero spacing after paragraph is explicitly specified, suppress spacing after paragraph.

2009-08-11 03:32 PJC, revision 61640

Added icons for pages in ribbon sample. Added vertical / horizontal ribbon layout switching to ribbon sample. Icons are now rendered on ribbon tabs (when the appropriate flag is set). Improved wxRibbonGallery layout when in a vertical ribbon. Improved minimised panel rendering when in a vertical ribbon. Added style flag accessors to wxRibbonBar. Added up & down scroll button rendering to AUI art provider. Fixed MSW art provider page redraw calculations in a vertical ribbon.

2009-08-11 02:19 VZ, revision 61639

Compilation fix after wxFlexGridSizer ctors change. wxFlexGridSizer ctor was even used incorrectly in a wx sample: the sizer was supposed to have 2 columns, not 4 with 2 pixels of vertical gap.

2009-08-10 13:18 VZ, revision 61638

Reorganize and improve wxSizer::SetItemMinSize() documentation. Closes #11093.

2009-08-10 13:18 VZ, revision 61637

Correct wxSizer::InsertSpacer() description. Closes #11092.

2009-08-10 13:18 VZ, revision 61636

Use "non-negative" in assert message instead of "positive". Closes #11059.

2009-08-10 13:18 VZ, revision 61635

Update wxFlexGridSizer ctors to match (new) wxGridSizer ones. Confusing wxFlexGridSizer(int cols, int vgap = 0, int hgap = 0) was removed as well as corresponding wxGridSizer ctor overload. New ctor overloads taking gap as wxSize were added. See #11040. Closes #11091.

2009-08-10 13:18 VZ, revision 61634

Made wxWindow::HasScrollbar() do what it says. Added wxWindow::CanScroll() with the old HasScrollbar() meaning but changed HasScrollbar() to check for the scrollbar existence instead of just checking if it might exist. Closes #10897.

2009-08-09 17:56 JS, revision 61632

Mark a couple of labels for translation.

2009-08-09 17:55 JS, revision 61631

Mark a couple of labels for translation.

2009-08-09 11:14 JMS, revision 61630

Fixed wxPGProperty ctor documentation

2009-08-07 19:06 PJC, revision 61629

Updated ribbon documentation to reflect recent changes.

2009-08-07 14:39 VZ, revision 61628

Correct examples in wxStaticBox(Sizer) documentation. Added missing wxID_ANY in the control creation calls. Also rephrase/extend the discussion about creating windows shown inside the static box as its children or siblings. Closes #11086.

2009-08-07 04:04 PJC, revision 61627

Added ribbon toolbar control. Added ribbon toolbar rendering to ribbon art provider API and art provider implementations. Added toolbar example to ribbon sample. Renamed wxRibbonButtonBarButtonKind enumeration to wxRibbonButtonKind. Moved wxRibbonButtonKind and wxRibbonButtonBarButtonState from buttonbar.h to art.h.

2009-08-06 02:21 VZ, revision 61626

Don't overwrite status message when restoring it if it changed. wxFrameBase::DoGiveHelp() could rewrite the status bar message if it was changed while the menu was showing.

2009-08-06 02:03 VZ, revision 61625

Use 0 instead of NULL to initialize wxUIntPtr. This avoids warning about assigning NULL to a non-pointer with some g++ versions.

2009-08-06 02:01 VZ, revision 61624

Don't pop explicitly changed status messages. Calls to SetStatusText() in between Push/PopStatusText() were simply lost before, now the text explicitly changed by SetStatusText() is preserved by the next call to PopStatusText(). This required adding a new virtual method, called DoUpdateStatusText(), which is now implemented in all the derived classes instead of overriding SetStatusText() (on the bright side, it doesn't need to do any checks already done in the base class any more). Also fix PushStatusText() to actually show the text being pushed at all under wxMSW as a side effect. And further reduce code duplication between wxStatusBarBase and the derived classes.

2009-08-06 02:01 VZ, revision 61623

Fix DrawStatusField() to work correctly with wxSB_FLAT style. It didn't draw the text at all before.

2009-08-06 02:00 VZ, revision 61622

Add test for Push/PopStatusText(). Allow to interactively push and pop status messages for the selected field. This shows that currently PushStatusText() is completely broken under wxMSW as it never shows the text being pushed at all because it is "optimized" away due to an incorrect comparison with the old value (which turns out to be the new one)

2009-08-06 02:00 VZ, revision 61621

Provide saner UI for setting status bar fields. Instead of asking the user to enter N values in a row (which is really annoying even for N=2 already), allow to select the status bar to set the value for and only show a single dialog asking for the value of this pane.

2009-08-06 02:00 VZ, revision 61620

No changes, just removed the whitespace.

2009-08-05 19:38 BP, revision 61617

Fixed up the short description of wxHashMap::find().

2009-08-05 19:25 VZ, revision 61616

Set brush origin for hatch brushes too. They don't explicitly use a bitmap but MSDN still says that their origin should be set to align brushes used on different windows. Closes #11072.

2009-08-05 19:25 VZ, revision 61615

wxSplitterWindow mouse capture improvements and cleanup. - Handle mouse-capture-lost event to abort dragging mode. - Remember mouse and sash position on buttondown event and use them as absolute reference during dragging. Avoid delta values from one mousemove to the next as this may introduce a skew during dragging and especially when coordinate clipping occurs. - Clear the requested sash position when dragging in live mode. - Draw the tracker at correct coordinates - taking into account the width of the pen used to draw the tracker. - The old code did not clearly distinguish between live vs. tracking mode in some places. Closes #11076.

2009-08-05 19:25 VZ, revision 61614

Generate scroll events for key presses in wxScrolledWindow. Don't duplicate the existing wxScrolledWindow::CalcScrollInc() logic in HandleOnChar(), simply generate scrolling events from it, this simplifies the code and ensures that it is more correct. Closes #11070.

2009-08-05 19:24 VZ, revision 61613

Reset static flag on cleanup. s_stdIDsAdded was not reset and so the standard IDs were not added again if the library was initialized, shut down and initialized again. Closes #11075.

2009-08-05 19:24 VZ, revision 61612

Cleaned up low level OS X sources. The low level files are those which are used by wxUniversal and so shouldn't contain native controls implementations -- moved them from OSX_LOWLEVEL_SRC to OSX_CARBON_COCOA_SRC. Also removed the now unnecessary check for __WXUNIVERSAL__ in src/osx/accel.cpp.

2009-08-05 19:24 VZ, revision 61611

Added wxUSE_ACCEL guard. Closes #11074.

2009-08-05 19:24 VZ, revision 61610

Added missing wxUSE_FONTENUM check. Closes #11071.

2009-08-05 19:24 VZ, revision 61609

Use wxFileInputStream if wxFFileInputStream is not available. Closes #11068.

2009-08-05 19:24 VZ, revision 61608

Use wxFile for IO if wxFFile is not available. Closes #11067.

2009-08-05 19:24 VZ, revision 61607

Removed commented out code. No real changes.

2009-08-05 19:24 VZ, revision 61606

Added #if wxUSE_TOOLBAR around use of wxToolBar. Closes #11066.

2009-08-05 15:40 VZ, revision 61604

Test wxCalendarCtrl::SetDateRange() in the sample. See #11060.

2009-08-05 06:59 PC, revision 61603

non-pch build fix

2009-08-04 22:30 PJC, revision 61601

Added visual feedback for buttons being pressed on a ribbon button bar. Added runtime art provider swapping to ribbon demo. Changed ribbon button bar popup menu positioning to make the menu look like it came from the button being pressed. Fixed ribbon bar tab widths not being recalculated when art provider changes. Fixed ribbon panel not propagating art provider changes to its children. Split ribbon art.cpp and art.h into multiple files.

2009-08-04 07:11 SC, revision 61599

correcting #ifdef to #if, fixes #11062

2009-08-04 01:31 PJC, revision 61598

Added AUI-style ribbon art provider.

2009-08-03 23:31 MJM, revision 61597

Various minor changes to get auimdi sample running with new wxAuiNotebook code, sample now runs but still has a few major rendering problems.

2009-08-03 22:45 VZ, revision 61596

Compilation fix for wxUSE_FILECTRL && !(wxUSE_DIRDLG || wxUSE_FILEDLG). wxFileCtrl needs wxFileIconsTable too. Closes #11064.

2009-08-03 22:42 VZ, revision 61595

Implement wxDataViewTreeStore::DeleteAllItems(). Just delete all root children. Closes #11063.

2009-08-03 22:37 VZ, revision 61594

Correct week day returned from wxCalendarCtrl::HitTest() on header click. A combination of a wx bug in conversion from native control week days to wxDateTime week days and a bug of native control itself when the first week day is not Monday resulted in the day being off by one it did start with Monday. The new code works correctly in both Monday and Sunday cases, at least until the bug in comctl32.dll is corrected. See comment:5 of #11057.

2009-08-03 22:36 VZ, revision 61593

Added symbolic names for native control week days. No real changes, but MonthCal_Monday/Sunday is more clear than 0 or 6.

2009-08-03 22:10 VZ, revision 61592

Always use MCHITTESTINFO of minimal size. This struct has gained additional fields under Vista which are not supported under previous versions. We don't use these fields but just using a bigger struct makes functions using it fail under pre-Vista systems, so don't do this. Closes #11057.

2009-08-03 11:09 MJM, revision 61591

Uncomment tabmdi code so that it can be used again, it compiles but is not currently usable. Modify auimdi samples so that Tile/Cascade can be tested.

2009-08-03 02:51 VZ, revision 61590

Minor changes to wxGridSizer ctor docs. See #11040.

2009-08-03 02:44 VZ, revision 61589

Use numeric values in VarFileInfo block. This allows windres to compile it successfully and is probably the right thing to do for the SDK resource compiler as well (see #11055).

2009-08-03 00:03 MJM, revision 61588

Fix dependencies of "auimdi" sample.

2009-08-02 23:28 MJM, revision 61587

Add new sample "auimdi" to help test changes to aui mdi classes.

2009-08-02 22:48 MJM, revision 61586

Uncomment pieces of wxAuiNotebook destructor that were temporarily commented out.

2009-08-02 22:42 MJM, revision 61585

Re-implement wxAuiNotebook::DeletePage. Re-implement wxAuiNotebook::RemovePage. Fix various assert checks that were incorrect.

2009-08-02 22:14 MJM, revision 61584

Fix problem with wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE, was being treated as if it was always vetoed.

2009-08-02 22:01 MJM, revision 61583

Re-implement wxAuiNotebook::GetActiveTabCtrl Change wxAuiNotebook::ShowWindowMenu to use GetActiveTabCtrl instead of duplicating code itself. Add wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING to wxAuiNotebook::ShowWindowMenu.

2009-08-02 21:46 MJM, revision 61582

Re-implement wxAuiNotebook::ShowWindowMenu

2009-08-02 21:27 MJM, revision 61581

wxAuiManager: Add new methods FindTab and GetPaneCount. Add new overload for GetPane method that takes an index position. Remove static modifier from various helper functions so that they can be used in auibook.cpp as well (Prefix them with Aui to make collisions less likely) Add new helper function IsNotebookPane that will tell if a pane is part of a notebook or not. Add new helper function Aui_GetActivePane that returns the currently active pane. Modify OnMiddleUp method to send off a wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP event for wxAuiNotebooks. Modify OnPaneButton method to send off a EVT_AUINOTEBOOK_PAGE_CLOSE event for wxAuiNotebooks. wxAuiNotebook: Add externs for various helper functions that we need from frammanager.cpp Re-implement GetArtProvider method. Re-implement AddPage method. Re-implement InsertPage method. Re-implement GetPageIndex method. Re-implement SetPageText method. Re-implement GetPageText method. Re-implement SetPageBitmap method. Re-implement GetPageBitmap method. Re-implement GetSelection method. Re-implement SetSelection method. Re-implement GetPageCount method. Re-implement GetPage method. Re-implement Split method.

2009-08-02 03:03 VZ, revision 61578

Correct wxPATH_NORM_DOTS comment and documentation. It doesn't prepend the current working directory, only wxPATH_NORM_ABSOLUTE does. Closes #11035.

2009-08-02 02:59 VZ, revision 61577

Check indices validity better in wxGridStringTable. Calling GetValue(-1, -1) could crash as the code naively only checked upper boundary (and didn't use unsigned which would have made the extra check unnecessary but it's too late for this now). Closes #11044.

2009-08-02 02:53 VZ, revision 61576

Mention that wxEVT_GRID_SELECT_CELL is generated by SetGridCursor() in one more place. It was already done in SetGridCursor() documentation; do it in wxEVT_GRID_SELECT_CELL own description as well (see #11045).

2009-08-02 02:48 VZ, revision 61575

Make wxGridSizer ctors more consistent. The old and confusing wxGridSizer(int cols, int vgap = 0, int hgap = 0) is removed and replaced with wxGridSizer(int cols, int vgap, int hgap). New ctor overloads using wxSize for the gap parameter added. Closes #11040.

2009-08-02 02:48 VZ, revision 61574

Add checks of wxGridSizer::Set{Cols,Rows}() arguments. Number of rows or columns must be positive (see #11040).

2009-08-02 02:19 VZ, revision 61573

Skip VarFileInfo block when using windres. It doesn't seem to understand this syntax and dies with an uninformative "syntax error". Closes #11055.

2009-07-31 20:48 VS, revision 61572

compilation fix: only one wxInitialize form may have default argument values. It doesn't make sense to specify only argc>0, so removed default values and added default wxInitializer ctor.

2009-07-31 16:03 JMS, revision 61571

In wxPropertyGridPageState::DoDelete(), clear grid's m_propHover if it matches the property being deleted

2009-07-31 15:38 VZ, revision 61570

Export public wxDelegateTheme class. This class is supposed to be public but wasn't accessible in shared library build as it didn't have public visibility. Closes #11051.

2009-07-31 14:17 VZ, revision 61569

Don't test whether wxTopLevelWindowNative is defined. It seems to be defined for all ports now so there is no need to check whether it is.

2009-07-31 14:17 VZ, revision 61568

Use base class ctors in wxTopLevelWindow. This avoids the second call to Init() already called by wxTopLevelWindowNative. Closes #11054.

2009-07-30 19:29 PJC, revision 61566

Added colour scheme interface to ribbon art providers, as an alternative to setting individual colours. Added more accessors to the ribbon gallery interface. Added event dispatch when the ribbon gallery's "extension button" is clicked. Ribbon sample now has less superfluous pages and panels. Ribbon sample extended such that the colour scheme primary and secondary colours can be changed. Fixed wxRibbonMSWArtProvider not invalidating its cached bitmap when changing colours used in that bitmap.

2009-07-30 15:40 VZ, revision 61565

Added another hyphen in "wxObject-derived" for consistency. Closes #11047 again.

2009-07-30 15:38 VZ, revision 61564
  • D /wxWidgets/trunk/.gitignore

Undo accidental commit of .gitignore.

2009-07-30 15:37 VZ, revision 61563

Ignore tags file.

2009-07-30 15:20 VZ, revision 61562

Be more clear about Thaw() to DoThaw() renaming. Closes #11048.

2009-07-30 15:14 VZ, revision 61561

Correct typo in wxRefCounter description. Closes #11047.

2009-07-30 13:59 BBE, revision 61560

Refactoring of file system watcher. Mostly to have more impl-like implementation.

2009-07-30 12:14 VS, revision 61558

compilation fix: only one wxInitialize form may have default argument values

2009-07-30 12:14 VS, revision 61557

compilation fix: only one wxInitialize form may have default argument values

2009-07-30 09:43 VS, revision 61556

added wxInitialize() overload taking char**, to make use from main() easier

2009-07-30 09:42 VS, revision 61555

added wxInitialize() overload taking char**, to make use from main() easier

2009-07-30 09:36 VS, revision 61554

fixed typo in comment

2009-07-30 09:10 VS, revision 61553

Use wxInitializer in wxEntryReal() instead of directly calling wxEntryStart() without refcounting. This makes it possible to write hybrid CLI/GUI wx applications.

2009-07-30 09:09 VS, revision 61552

Use wxInitializer in wxEntryReal() instead of directly calling wxEntryStart() without refcounting. This makes it possible to write hybrid CLI/GUI wx applications.

2009-07-28 20:08 PJC, revision 61550

Added --enable-ribbon option to configure.in file. Added DismissExpandedPanel method on ribbon bar and page to explicitly close an expanded panel in response to a handled event. Rewrote ribbon panel hover state logic to work reliably in wxGTK. Fixed g++ compilation errors in ribbon sources. Fixed ribbon page border not being rendered quite correctly in wxGTK. Fixed ribbon panel label background painting outside a panel border. Fixed ribbon page having a border in wxGTK and causing rendering issues for the parent ribbon bar. Fixed segfault which occurred when closing a window with a ribbon bar in wxGTK, then interacting with an expanded ribbon panel.

2009-07-28 19:48 MW, revision 61549

Fix SetToolTip(NULL) to unset the tooltip.

2009-07-27 22:22 PJC, revision 61547

Added events to the ribbon gallery control. Added drawing of hovered / active / selected ribbon gallery item. Added ribbon gallery event handling to ribbon sample. Implemented behaviour of scroll buttons on ribbon gallery control. Completed code for drawing of ribbon gallery buttons. Fixed the ribbon gallery control expanding when there was no need to. Fixed ribbon panels not minimising when their minimised size was larger in one axis than the panel's minimum child size.

2009-07-27 12:45 CE, revision 61542

for 2.9.0

2009-07-27 03:15 BBE, revision 61541

One more compilation fix for Unix

2009-07-26 23:38 BBE, revision 61540

Compilation fix for Unix implementation

2009-07-26 23:10 VZ, revision 61539

Improve the menus. Added accelerators; use radio items for mututally exclusive choices. No real changes otherwise.

2009-07-26 22:15 VZ, revision 61538

Hungarian translation update. Submitted by Ocsvari Aron

2009-07-26 17:50 VZ, revision 61537

Set access mode in wxRegKey::SetHkey(). It was left uninitialized before resulting in the key being closed on access because the check for being opened in a mode with enough permissions failed even for Read.

2009-07-26 02:24 VZ, revision 61536

Correct the check for wxSTOCK_FOR_BUTTON. We need to check for equality here as wxSTOCK_FOR_BUTTON includes wxSTOCK_WITH_MNEMONIC but using the latter doesn't imply the former.

2009-07-26 01:13 VZ, revision 61535

Implement wxWindow::GetToolTipText(). This was declared in wx/window.h but somehow never implemented.

2009-07-26 00:53 VZ, revision 61534

Allow setting long version field in About dialog. Long version is constructed by concatenating "Version " with the short version but can be overridden for the platforms which use it (currently MSW and OS X). Closes 11027.

2009-07-26 00:26 VZ, revision 61533

Clear targets in wxClipboard::Clear(). This seems to fix a memory leak rendering clipboard unusable after running wxGTK applications for a long time (see #10813).

2009-07-26 00:26 VZ, revision 61532

Move #error for non-MSVC to the top of file. This allows to reduce indentation of the rest of it and avoid a very long #if...#else.

2009-07-26 00:26 VZ, revision 61531

Add support for stc library. Closes #11025.

2009-07-25 19:09 VZ, revision 61530

Fix harmless MSVC warning. It complained about converting pointer to bool implicitly in wxAppConsoleBase::IsScheduledForDestruction().

2009-07-25 18:41 VZ, revision 61529

Don't use mnemonic for Cancel button under MSW. Native dialogs don't, so we shouldn't neither.

2009-07-25 18:41 VZ, revision 61528

Use stock id instead of duplicating its string label in CheckFit().

2009-07-25 18:41 VZ, revision 61527

Use wxSTOCK_FOR_BUTTON for message dialog custom labels. This allows to use wxID_PRINT as a custom label without getting an unwanted ellipsis at the end.

2009-07-25 18:41 VZ, revision 61526

Added wxSTOCK_FOR_BUTTON flag for wxGetStockLabel(). This allows to retrieve labels appropriate for the buttons and not menu items which currently means without trailing ellipsis.

2009-07-25 18:40 VZ, revision 61525

Correct wxGetStockLabel() documentation. It was completely out of date; also separately documented wxStockLabelQueryFlag.

2009-07-25 18:40 VZ, revision 61524

Use Ok/Cancel dialog instead of Yes/No one in CheckFit(). This has the advantage of being able to close the dialog with "Esc" and also allows us to not specify the label for the "Cancel" button at all and use the default one, which is especially important under MSW where the label returned by wxGetStockLabel(wxID_CANCEL) is actually not the same string as is used in the native message boxes (they don't define an accelerator for the cancel button).

2009-07-25 18:40 VZ, revision 61523

Add a period to the sentence end.

2009-07-25 18:40 VZ, revision 61522

Set all parent frame icons for print preview frame. Using SetIcon(GetIcon()) resulted in ugly scaled icons being used for small icons while using SetIcons(GetIcons()) correctly reuses all parent frame icons in the child one.

2009-07-25 03:28 PJC, revision 61519

Fixed bug in ribbon panel auto-minimisation logic. Fixed gallery using wrong padding metrics. Fixed ribbon panel not always conforming to the GetNextSmallerSize interface when auto-minimising. Added ribbon gallery visual hovered state. Added ribbon gallery button art settings. Added drawing of ribbon gallery button backgrounds. Added missing breaks to case statements of art provider setting setters. Improved code layout of art provider setting setters and getters. Improved generation of gallery items in ribbon sample.

2009-07-24 23:20 SC, revision 61518

implementing checkbox using UISwitch

2009-07-24 14:35 VZ, revision 61513

Remove inexistent wx/osx/carbon/databrow.h file.

2009-07-24 14:34 VZ, revision 61512

Fix harmless unused parameter warning. 'info' was only used with WXWIN_COMPATIBILITY_2_8 on in wxLog::DoLogRecord().

2009-07-24 01:34 VZ, revision 61511

This is apparently needed by Windows installer (WiX), see #10970.

2009-07-24 01:28 VZ, revision 61510

They seem to have been inversed, see #10970.

2009-07-24 01:01 VZ, revision 61509

Always correctly invalid best size when bitmap changes. Previously it was done only when the initial bitmap was set, not when it was subsequently changed. Closes #11018.

2009-07-23 22:30 VZ, revision 61508

Globally replace _T() with wxT(). Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660).

2009-07-23 19:31 VZ, revision 61507

Implement wxGetHostName() for Windows CE.

2009-07-23 17:01 VZ, revision 61506

Fix crash when copying Unicode URLs to the clipboard. Closes #11014.

2009-07-23 15:40 VZ, revision 61505

Implement wxVLogTrace() accidentally removed by recent changes. Also change the unit test to test wxVLogTrace() as well as wxLogTrace. Closes #11011.

2009-07-23 01:23 VZ, revision 61501

Correct example in wxStringBufferLength documentation.

2009-07-23 01:14 PJC, revision 61500

Starting to implement wxRibbonGallery widget. Added gallery to ribbon sample.

2009-07-22 20:12 SC, revision 61499

backport of r60227, fixes #11012

2009-07-22 19:56 SC, revision 61498

added missing files

2009-07-22 19:56 VZ, revision 61497

Use wxINT32_MAX instead of LONG_MAX as the upper bound in wxDateTime::IsInStdRange(). Under Debian Linux 64 bit time_t is 64 bit long but libc doesn't seem to handle values beyond 2^32 correctly, e.g. wrong results are returned from localtime() for them. And it would seem that platforms where sizeof(long) > sizeof(time_t) might exist too so it seems safer to only work with 32 bit time_t values until we can reliably detect platforms which support 64 bit ones.

2009-07-22 18:44 VZ, revision 61496

Handle %e in ParseFormat(). This allows us to parse the format returned by wxLocale::GetInfo(wxLOCALE_DATE_TIME_FMT) under Linux.

2009-07-22 18:41 VZ, revision 61495

Added ParseFormat("%s") tests.

2009-07-22 17:32 SC, revision 61494

added missing files

2009-07-22 16:30 VZ, revision 61493

Don't call IAutoComplete::Init() twice for the same control as this leaks memory, just change the strings used for completion instead (closes #10968)

2009-07-22 11:48 SC, revision 61492

adapting to SDK 3.0

2009-07-21 22:24 BBE, revision 61491

Corrected the name of wxTRACE_EVT_SOURCE. Using Connect() instead of Bind() in fswatcher test. Cleanup.

2009-07-21 16:16 VZ, revision 61488

Support delayed destruction in console applications too.\n\nThis only works if there is a running event loop but if there is one, we can have the same kind of problems with non-GUI objects such as sockets in console applications as we have with windows in GUI ones, so we must support this (see #10989).

2009-07-21 13:26 VZ, revision 61487

added a test for white space after CDATA (see #10552)

2009-07-21 01:54 VZ, revision 61485

Include wx/dataobj.h from wx/clipbrd.h. This is necessary in order to define wxVector<wxDataFormat> at least when wxVector is std::vector (as in wxUSE_STL==1 build) because vectors of incomplete types can't be used. Also removed inclusions of this and other unneeded headers from MSW and OS X headers and removed a hopefully out of date comment about Mac code being wx 1.xx-based from the latter.

2009-07-21 00:39 BBE, revision 61484

Getting rid of OnXXX() methods in Unix implementation.

2009-07-21 00:37 BBE, revision 61483

Making use of wxSharedPtr to ensure correct disposal of wxFSWatchEntry shared between 2 threads wxFileSystemWatcherEvent: better Clone() A couple of "const"s added. Cleanup & comments changes. Style.

2009-07-21 00:05 BBE, revision 61482

Merge r61004-r61480 from trunk: generated new configure

2009-07-20 23:29 BBE, revision 61481

Merge r61004-r61480 from trunk. To be up to date.

2009-07-20 21:38 BBE, revision 61480

Commented out duplicate operator<< for wxFileName in fswachertest. Quite dirty, to be changed in near future. Base for event loop sources test.

2009-07-20 21:36 BBE, revision 61479

Delegate resposibility of removing wxFSWatchEntry to subclasses of base file system watcher. A couple of small fixes.

2009-07-20 21:34 BBE, revision 61478

More careful code inclusion/exclusion with event loop sources.

2009-07-20 21:32 BBE, revision 61477

Init() doesn't need to be virtual

2009-07-20 21:30 BBE, revision 61476

Implementation of MSW file system watcher. Changed the way of delivering fswatcher events: removed OnXXX handlers, only connecting wxEvtHandler works wxFileSystemWatcherEvent cloning.

2009-07-20 18:47 VZ, revision 61475

Put braces around all calls to wxLogFunctions() inside an if statement. This suppresses all the remaining g++ -Wparentheses warnings and uses consistent style everywhere.

2009-07-20 17:53 PJC, revision 61473

Implemented events for wxRibbonButtonBar. Added button bar event handlers to ribbon sample. Improved painting of hybrid and dropdown buttons on a ribbon button bar. Implemented visible feedback of ribbon button bar buttons being hovered. Events dispatched from an expanded ribbon panel are now correctly sent to their handlers on the original panel. A button bar can now vertically stack more than just the three right-most buttons. Implemented missing region calculations for ribbon button bar buttons. Added button bar interface file. Updated interface files to match recent changes. Fixed occasional crash when expanding or unexpanding a ribbon panel. Fixed ribbon panel background not being painted properly when expanded and near the end of a ribbon bar. Fixed ribbon panel not staying expanded (and thus visible) when focus moves to a child of the panel. Fixed ribbon panel being unable to attain the hovered state after it's expanded panel is clicked.

2009-07-20 17:06 JMS, revision 61472

Fixed wxPropertyGridInterface::SetPropertyValues() documentation

2009-07-20 14:14 VZ, revision 61470

Dispatch pending events without waiting for idle time (closes #10994).

2009-07-19 19:24 VZ, revision 61468

expand the collapsible panes contents to fill the entire pane area (see #11004)

2009-07-19 18:49 VZ, revision 61467

removed wxDatePickerCtrlGeneric::SetFormat() which didn't exist but was declared and documented (closes #10988)

2009-07-19 18:45 VZ, revision 61466

position the popup on the correct screen (see #10462) [backport of r58592 and r58598 from trunk]

2009-07-19 18:16 VZ, revision 61465

fix more -Wparentheses warnings after wxLog changes

2009-07-19 14:40 MJM, revision 61464

Bring back "simple" tab art provider. Add code so that the tab art provider can be set for wxAuiManager. Add getter/setter for wxAuiManager tab art provider. Reimplement SetArtProvider for wxAuiNotebook. Update demo so that it is possible to select different tab art providers to test the above.

2009-07-19 13:11 MJM, revision 61463

Fix a bug that caused hidden panes at the same position(Notebook) to incorrectly appear in the top left corner if all panes that shared that position(Notebook) were hidden.

2009-07-19 13:02 MJM, revision 61462

Reintroduce wxAuiNotebook class which will be reimplemented so that it uses the same interface as before but uses wxAuiManager internally to do most of the work. Currently most of the functions are gutted out and don't do anything so it is horribly broken, enough is implemented so that the old sample can build/run against it and have a basic notebook shown though.

2009-07-19 01:48 VZ, revision 61461

Document wxMessageOutput and related classes.

2009-07-19 01:23 VZ, revision 61460

Flush output stream in wxMessageOutputStderr::Output() to avoid losing any output if the program crashes.

2009-07-19 01:22 VZ, revision 61459

Add option FILE* parameter to wxMessageOutputStderr ctor, just as with wxLogStderr.

2009-07-19 00:46 PC, revision 61458

fix crash with repeated split horizontal/vertical and replace window, #11002

2009-07-18 22:54 MJM, revision 61457

Implement basic middle click pane close behavior for wxAuiManager, everything works but currently doesn't send off an event for user to veto etc. this will be implemented fully after wxAuiNotebook is working again.

2009-07-18 21:30 MJM, revision 61456

Implement basic behavior for movable panes(Panes that are not floatable but can still be dragged to new dock positions), everything seems to work but there are some odd graphical glitches that still need to be worked out.(windows temporarily going blank for example)

2009-07-18 15:49 MJM, revision 61453

Improve notebook layout code so that notebooks will work correctly in horizontal docks as well and not just vertical ones. Change notebook offset cache code to use offset from start of notebook instead of from end as using offset from end was causing problems.

2009-07-18 14:15 VZ, revision 61452

Correct obsolete information: SetYesNoLabels() is not Mac-only any more.

2009-07-18 14:09 MJM, revision 61451

Fix sash resize code to take notebooks into account, notebooks and panes above/below them should now resize correctly. Fix flickering under MSW that was caused by notebook windows being hidden and shown again in Layout code.(Especially noticeable with live resize enabled) Fix a bug in the code that caches notebook offsets when doing a LayoutAll.

2009-07-18 13:56 VZ, revision 61450

Do our best to show messages logged during program startup/shutdown. Use wxMessageOutputBest to show them even under Windows where programs usually don't have stderr at all and also don't disable log target auto-creation during shutdown as it's arguably better to leak memory (which shouldn't matter much when the program is about to exit anyhow) than to not show possibly important messages.

2009-07-18 13:18 VZ, revision 61449

No changes, just fix a typo: wxGuiLog was used instead of wxLogGui.

2009-07-18 10:33 JMS, revision 61448

Added wxGTK wxBitmapComboBox::DoGetBestSize() implementation that takes bitmap size into acccount.

2009-07-18 09:31 JMS, revision 61447

Added wxMSW wxBitmapComboBox::DoGetBestSize(), which takes bitmap size into account.

2009-07-17 20:42 KO, revision 61446

Typo in a bug fix I made.

2009-07-17 20:39 KO, revision 61445

Adding preliminary code for C bindings, thanks to Luke A. Guest.

2009-07-17 20:37 KO, revision 61444

Add an underscore before the generated output names.

2009-07-17 20:30 KO, revision 61443

Only load/parse options when run as the main script.

2009-07-17 18:55 VZ, revision 61442

No real changes, just made wxEventLoopManual uncopyable.

2009-07-17 18:52 VZ, revision 61441

No real changes, just refactor wxEventLoop/wxApp::ProcessIdle(). Old code called wxApp::ProcessIdle() from wxEventLoopManualRun::Run() which called wxEventLoop::ProcessIdle() which called wxApp methods from it. In the new version wxEventLoopManualRun::Run() calls wxEventLoopManualRun::ProcessIdle() which calls wxApp::ProcessIdle() which calls other wxApp methods which seems to make more sense and also allows overriding ProcessIdle() in either wxEventLoopManual or wxApp-derived classes.

2009-07-17 16:36 VZ, revision 61440

added wxLB_NO_SB style and implementation for wxMSW (closes #10991)

2009-07-17 16:33 VZ, revision 61439

use the currently active event loop instead of the main one in WakeUpIdle()

2009-07-17 16:30 VZ, revision 61438

remove the event handler being deleted from pending events list (closes #10997)

2009-07-16 14:06 VZ, revision 61436

document wxDCMemory(wxDC*) ctor

2009-07-15 14:36 VZ, revision 61432

fix log target auto creation broken by recent changes

2009-07-14 09:18 JJ, revision 61429

OpenVMS compile support update

2009-07-14 09:14 MW, revision 61428

Update email addresses.

2009-07-13 15:40 VZ, revision 61424

Ensure that component levels map is initialized before it's used (closes #10990).

2009-07-13 15:21 VZ, revision 61423

Make wxLog::EnableLogging() and wxLogNull thread-specific. Disabling logging in a single thread (even the main one) shouldn't disable logs from the background threads which should disable their logging themselves as/if needed.

2009-07-13 13:09 VZ, revision 61422

Add support for thread-specific log targets. A worker thread can now have its own log target which will be used directly by the log functions instead of buffering log output in the main thread; the GUI thread in the thread sample shows how it works.

2009-07-13 08:33 JJ, revision 61421

OpenVMS compile support update

2009-07-13 07:12 SC, revision 61420

backport r61269, fixes #10986

2009-07-12 19:22 VZ, revision 61419

Make critical sections initialization really thread-safe.

2009-07-12 19:10 VZ, revision 61418

Removed another occurrence of previous log critical section (should have been part of r61417).

2009-07-12 19:09 VZ, revision 61417

Removed critical section protecting last repeat counter. It is not needed any longer now that this is only used by wxLog::OnLogInMainThreade() which is only called from the main thread.

2009-07-12 19:02 VZ, revision 61416

Made wxLogXXX() functions thread-safe. They can now be called from any thread and will buffer the messages until the current log target is flushed from the main thread. This makes earlier code to do the same thing specifically for wxLogWindow unnecessary and also allows to use wxLogMessage() in the thread sample instead of using manual logging there.

2009-07-12 19:00 VZ, revision 61415

Added wxVector::swap().

2009-07-12 16:56 VZ, revision 61414

Add component-level filtering to wxLog. Each log message is now associated with its component, "wx" by default for messages generated by wxWidgets and wxLOG_COMPONENT in general (which is empty by default). Each component may have its own log level and they are hierarchical allowing fine configuration of what exactly is logged.

2009-07-12 11:59 JMS, revision 61412

Yet another fix for the colour property 'Custom' entry (get drop-down list index directly from wxOwnerDrawnComboBox)

2009-07-12 10:51 MW, revision 61411

Override email address for Jaakko Salli.

2009-07-12 10:27 SC, revision 61410

backport, fixes #10982

2009-07-12 10:24 SC, revision 61409

better surviving 0 width / height bitmap sizes