These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2015-03-26 19:00:02

Select Changelog:

FileZilla 3, FileZilla,
FileZilla Server, wxWidgets

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2011-10-18 23:56 VZ, revision 69460

Fix SetShape() in wxOSX/Cocoa. Explicitly erase the part of the window outside of its shape with a transparent colour to ensure that it is indeed transparent and not just has the default solid background. Closes #13340.

2011-10-18 23:56 VZ, revision 69459

Don't create a valid wxRegion when using default ctor in wxOSX. Default constructing a wxRegion created an object that unexpectedly passed IsOk() test in wxOSX. This was completely unexpected so don't do this and leave default constructed wxRegion invalid, as in the other ports. Update DoCombine() to be able to deal with the case of an invalid source region in a way consistent with the other ports.

2011-10-18 23:56 VZ, revision 69458

Don't interpret '&' specially in wxTextWrapper. wxTextWrapper is used for the multiline text for which it doesn't make sense to use mnemonics so don't interpret '&' specially in the text used with it. Doing this also allows to remove the hack used in wxDialog::CreateTextSizer() to deal with it that was used so far.

2011-10-18 23:56 VZ, revision 69457

Use wxWindow::GetClientAreaOrigin() instead of MSW functions. ::AdjustWindowRectEx() doesn't seem to work correctly for wxPopupWindow and still offsets the coordinates by the title bar height even if these windows don't have WS_CAPTION style. Rather than try to work around this, simply use wxWindow method instead of the Windows function as shape wxRegion offset.

2011-10-18 23:56 VZ, revision 69456

No changes, just fix a typo in a header comment.

2011-10-18 23:56 VZ, revision 69455

No changes, just fix typo in a comment following an #endif. The closing comment used wrong symbol.

2011-10-18 23:54 VZ, revision 69454

Correct the direction passed to wxDataObject in wxGTK clipboard code. We should quert for IsSupportedFormat(format, Set) before calling SetData() with this format, not for IsSupportedFormat(Get) which is the default and was used by the code.

2011-10-18 00:26 VZ, revision 69447

Explicitly use _stati64() with MinGW-W64. Although this compiler provides underscore-less versions of all POSIX functions, this one only exists in a version with underscore, so use it to fix compilation with it in ANSI build.

2011-10-17 20:53 RD, revision 69446

Fix more missing and broken stuff in the interface, for Phoenix

2011-10-16 22:57 SC, revision 69445

supporting deployment < 10.6 when compiling against 10.7

2011-10-16 21:08 SC, revision 69444

removing QD dependency

2011-10-16 19:57 VZ, revision 69442

Align multiline labels correctly in wxMSW owner-drawn buttons. The label wasn't centered correctly in multi-line case. Closes #13567.

2011-10-16 17:59 SJL, revision 69440

Export a couple of Carbon functions to allow wxWebView to build correctly. This was already done in the wxWebView branch but got missed in the merge to trunk.

2011-10-15 16:19 VS, revision 69436

Set wxDataViewCtrl::m_focusWidget in wxGTK. The GtkTreeView control that should get the focus in in scrolled window; the same is already done for wxListBox.

2011-10-15 16:19 VS, revision 69435

Don't call wxEvent::SetTimestamp() twice in InitMouseEvent<>().

2011-10-15 02:20 VZ, revision 69434

Don't use wxMSW version of wxNonOwnedWindow at all under WinCE. This class becomes completely trivial under WinCE as its functionality (setting the window shape) can't be implemented under this platform, so just don't compile it at all there. This both (slightly) reduces the amount of #if checks and should make the code (slightly) smaller.

2011-10-14 03:38 RD, revision 69417

Add data members for RGBValue and HSVValue

2011-10-14 03:37 RD, revision 69416

fix parent class and constant

2011-10-13 16:54 VZ, revision 69411

Don't assert in wxDateTime::Format("%p") in locales not using AM/PM. If a locale doesn't use AM/PM strings, strftime() can return an empty string which does not indicate an error, so don't assert that strftime() failed in this case.

2011-10-13 15:19 VZ, revision 69409

The usual fix for PCH-less compilation after the last commit. Fix wxNonOwnedWindow compilation in wxGTK without PCH.

2011-10-13 14:45 VZ, revision 69408

Implement SetShape() for wxPopupWindow in wxGTK. Move SetShape() implementation from wxTopLevelWindow to wxNonOwnedWindow so that wxPopupWindow, which also inherits from the latter, could use it as well. This makes it possible to have popup windows with irregular shapes in wxGTK as well as in wxMSW and wxOSX.

2011-10-13 08:40 RD, revision 69406

Avoid an assert when m_dir is empty

2011-10-13 08:40 RD, revision 69405

Interface tweaks for Phoenix

2011-10-12 20:08 VZ, revision 69392

And another compilation fix. This time it really does compile.

2011-10-12 20:08 VZ, revision 69391

Compilation fix after a bad merge. Fix bad merge artefact in the previous commit.

2011-10-12 18:22 VZ, revision 69390

Added wxWindow::GTKHandleRealized() virtual method to wxGTK. This allows to easily do something in the derived classes when the widget is realized, without having to deal with GTK+ signals. In particular, get rid of another "realize" signal handler in wxTopLevelWindow and simply override this virtual method there. It also incidentally makes the callback code simpler as the window doesn't need to be constantly dereferenced. This shouldn't result in any changes to behaviour.

2011-10-12 13:20 VZ, revision 69389

Move wxUSE_GUI definition from chkconf.h to the top of platform.h. This avoids warnings about wxUSE_GUI not being defined in Mac tests in wx/platform.h which are now (since r69387) done before wx/chkconf.h inclusion.

2011-10-12 12:10 SC, revision 69388

applying slightly modified patch, fixes #13434

2011-10-12 10:57 SC, revision 69387

moving defines in front of the setup.h to make webkit definitions in setup.h work for Xcode builds as well

2011-10-12 02:35 VZ, revision 69386

Make it possible to close "shaped" sample from the menu. The sample didn't define any handler for wxID_EXIT menu item, do add it.

2011-10-11 19:56 VZ, revision 69381

Added missing WXDLLIMPEXP_CORE to wxNonOwnedWindowBase declaration. This fixes (harmless) MSVC warning C4275 about inheriting DLL-exported class from a non-DLL-exported base class. Closes #13554.

2011-10-11 19:14 VZ, revision 69380

Update status bar labels properly after width change in wxMSW. The labels were not updated (i.e. ellipsized or, on the contrary, displayed in full) correctly after a status bar field was changed; there was even a FIXME comment about this in the code. Fix this by calling DoUpdateStatusText() when the field width is changed and also update the field width after resetting the existing tooltips.

2011-10-11 19:08 VZ, revision 69379

Don't delete wxTaskBarIcon in wxMSW wxNotificationMessage if we don't own it. wxNotificationMessage can be associated with an existing wxTaskBarIcon under wxMSW instead of creating its own one internally and in this case the icon must not be deleted when the notification is hidden but it was always destroyed unconditionally by wxNotificationIconEvtHandler created by wxAutoNotifMsgImpl. Fix this by only creating this helper event handler if we do own the icon.

2011-10-11 19:07 VZ, revision 69378

Move SetBackgroundBitmap() from wxPanel to new wxCustomBackgroundWindow. wxCustomBackgroundWindow is a new class allowing to set a custom bitmap for the background of any window. The relevant code was mostly moved from wxPanel to which it was added only recently (before 2.9.2) making it unnecessary to preserve compatibility.

2011-10-11 08:30 RD, revision 69377

wxGraphicsRenderer::CreateContextFromImage is not static

2011-10-11 07:33 RD, revision 69375

Remove the ctor and Init methods that are not available on all ports

2011-10-10 19:12 VZ, revision 69367

Fix warnings about wxOSX_USE_CARBON being undefined when using g++. Test for __WXMAC__ before testing wxOSX_USE_CARBON to avoid -Wundef warnings from g++ in non-Mac builds.

2011-10-10 19:08 VZ, revision 69365

Fix PCH-less build after adding wxNonOwnerWindow in wxMSW. Include the required headers when not using PCH to fix compilation.

2011-10-10 12:53 VZ, revision 69364

Move wxTopLevelWindow::SetShape() down to wxNonOwnedWindow. Also add wxNonOwnedWindow for wxMSW (which previously simply typedef'd it to wxWindow) and document this class now that it provides some user-visible functionality.

2011-10-10 00:07 VZ, revision 69362

No changes, just get rid of unnecessary variables in wxCairoBitmapData. Don't use bw and bh when we have perfectly appropriate m_width and m_height.

2011-10-10 00:07 VZ, revision 69361

Don't declare wxCairoFontData::m_underlined unnecessarily. This member was only used in wxGTK-specific code but it was declared for all platforms which was unnecessary and confusing. Move its declaration in wxGTK-only section of the class.

2011-10-10 00:07 VZ, revision 69360

Allow creating wxGraphicsFont without using wxFont. This is mostly important to allow using wxImage-based wxGraphicsContext without requiring X server connection under Unix: as wxFont can't be used without X server, we needed another way to create wxGraphicsFont in this case.

2011-10-10 00:07 VZ, revision 69359

Remove font scaling from wxMSW wxGraphicsContext.

2011-10-10 00:07 VZ, revision 69358

Allow creating wxGraphicsBitmap and wxGraphicsContext from wxImage. Provide a way to use wxGraphicsContext to draw on wxImage. This is implemented internally by drawing on wxGraphicsBitmap which can be now also created from wxImage. Add a test of the new functionality to the image sample.

2011-10-10 00:07 VZ, revision 69357

Refactor wxGDIPlusFontData ctor to allow using it without wxGDIPlusContext. wxGDIPlusFontData only needs wxGDIPlusContext to get the font unit to use, so pass the font unit directly to the ctor to allow also using it when there is no context at hand.

2011-10-10 00:07 VZ, revision 69356

Simplify and rationalize wxGDIPlusContext class constructors. Remove the now unnecessary default ctor from wxGDIPlusContext and wxGDIPlusMeasuringContext and add a ctor taking just wxGraphicsRenderer that can be useful to the derived classes instead. Merge Init() and SetDefaults() and initialize everything at once in the new Init() now.

2011-10-10 00:07 VZ, revision 69355

Don't make private wxGraphicsContext-derived classes dynamically creatable. This doesn't make any sense because classes such as wxGDIPlusContext, wxGDIPlusMeasuringContext and wxMacCoreGraphicsContext are private and don't need to be creatable by name (only renderers potentially need to be) and was inconsistent with Unix/Cairo backend in which these classes were not dynamic. So remove wxRTTI macros from them in wxMSW/wxOSX as well as this allows us to get rid of unnecessary default ctors.

2011-10-10 00:07 VZ, revision 69354

Fixed non-existent wxCairoContext default ctor. wxCairoContext class declared default ctor which wasn't implemented and even couldn't be implemented because its base class didn't have any default ctor neither. Fix this by providing a ctor taking wxGraphicsRenderer* and implement it.

2011-10-10 00:07 VZ, revision 69353

Added wxGraphicsBitmap::ConvertToImage(). Allow to convert wxGraphicsBitmap directly to wxImage, without passing by wxBitmap.

2011-10-10 00:07 VZ, revision 69352

No changes, just refactor wxCairoBitmapData ctor. Extract the code for buffer and surface creation into separate helper functions so that they could be reused by other constructors (to be added in the next commits). Also use cairo_format_stride_for_width(), if available, to compute the stride for the surfaces we create instead of hard coding 4*width.

2011-10-10 00:07 VZ, revision 69351

Document wxGraphicsBitmap and methods involving it. Document wxGraphics{Context,Renderer}::CreateBitmap() and CreateSubBitmap() and wxGraphicsContext::DrawBitmap() as well as the (trivial) class itself.

2011-10-10 00:02 VZ, revision 69350

Implement EVT_MOUSE_CAPTURE_LOST handling for wxPopupTransientWindow. Handle mouse capture lost events instead of polling for the mouse status in EVT_IDLE handler. This is not only more efficient but also catches the cases when the capture was lost before OnIdle() could be executed which could result in assertion failures and, before the previous commit, even crashes. The idle-time code is still used for wxOSX/Carbon because it doesn't seem to generate mouse capture loss events currently -- but should be removed as soon as support for these events is added.

2011-10-10 00:02 VZ, revision 69349

Implement delayed destruction for wxPopupTransientWindow. Windows of this class can be destroyed at any moment, even while some events are still being processed, so delay the real destruction until we can be sure that it's safe to delete the window. This fixes problems (crashes due to dangling pointers) when the object is deleted from the overridden OnDismiss(), for example.

2011-10-10 00:01 VZ, revision 69348

Fix inheriting parent background colour in wxPanel in wxMSW. wxPanel didn't inherit the background colour set for its parent any more in wxMSW because its HasTransparentBackground() didn't return true unless the panel was a child of wxNotebook. This was wrong because not only themed notebook background should be inherited but also any solid background explicitly set for a panel parent. Fix this by returning true from MSWHasInheritableBackground(), which is used by wxPanel::HasTransparentBackground() under MSW, if the window has an explicitly set and inheritable background colour. Closes #13487.

2011-10-09 15:07 VS, revision 69344

Return true from wxDataViewMainWindow::ItemDeleted(). Presumably, 'false' indicates failure, but there's no failure here: if an item is not visible, because its parent wasn't expanded yet, it's perfectly OK that we don't need to do anything.

2011-10-09 12:45 SJL, revision 69343

Reuse existing MinGW defines for all compilers that are missing them.

2011-10-09 03:28 RD, revision 69326

Interface updates for Phoenix. Add wxNativeFontInfo.

2011-10-07 23:25 SJL, revision 69324

Work around the fact that wxWebViewIE doesn't send page changing and page changed events during a refresh, yet IsBusy returns true. Closes #13518

2011-10-07 19:24 VS, revision 69323

Handle inline editing in generic wxDataViewCtrl as Windows 7 does. Mimic the behavior of Windows 7's Explorer: edit the item that has focus if it is selected or the first selected item if focus is out of selection.

2011-10-07 17:03 VS, revision 69322

Add columns focus and keyboard navigation to generic wxDataViewCtrl. The UI tries to mimic Windows 7's Explorer's approach as much as possible, taking inspiration in the GTK+ implementation when appropriate. In particular, as long as the user doesn't use horizontal navigation keys, everything looks as before and the user isn't bothered with the existence of per-cell focus.

2011-10-07 05:51 JS, revision 69321

Allow selected symbol to be scrolled into view initially

2011-10-07 05:51 JS, revision 69320

Allow selected symbol to be scrolled into view initially

2011-10-06 19:55 SJL, revision 69318

Fix various GCC warnings in wxWebView. Closes #13532

2011-10-06 12:01 SJL, revision 69317

Ensure we pass the correct type of string to EscapeFileNameCharsInURL in wxWebViewArchiveHandler.

2011-10-05 23:21 SJL, revision 69316

Delete the filesystem used by wxWebViewArchiveHandler when we are done with it. Fixes a memory leak. Closes #13500

2011-10-05 19:23 SJL, revision 69314

Store a pointer to each ClassFactory so we can correctly release it when the browser closes. This fixes a few more memory leaks. See #13500

2011-10-05 10:05 SJL, revision 69313

Delete the timer on close in the wxWebView sample. Fixes another memory leak. See #13500

2011-10-04 23:37 RD, revision 69309

Add Get|SetPrintMode

2011-10-04 19:03 VZ, revision 69308

Fix wxTimePickerCtrl compilation without PCH too. Include commctrl.h explicitly when not using PCH (this completes fixes of r69293).

2011-10-04 09:45 RD, revision 69300

Interface fixes for Phoenix

2011-10-02 19:39 VZ, revision 69293

Fix wxDateTimePickerCtrl compilation without PCH. Include the MSW private headers usually included from the PCH file.

2011-10-02 18:20 SJL, revision 69292

Add new definitions required by MinGW for webview. Re-enable custom schemes as a result. See #13509

2011-10-02 15:15 VZ, revision 69291

Fix current field highlighting in generic wxTimePickerCtrl under wxGTK. In wxGTK, calling HighlightCurrentField() from EVT_SET_FOCUS handler was not enough as the highlighting was overwritten by the default behaviour of selecting the entire text control contents on focus gain. Fix this by calling SetFocus() from HighlightCurrentField() before updating the selection. This ensures that the correct field is always highlighted.

2011-10-02 14:58 VZ, revision 69290

Added GTK+ screenshot of wxTimePickerCtrl.

2011-10-02 14:58 VZ, revision 69289

Use wxSP_WRAP for generic wxTimePicker spin button. This ensures that the spin button arrows are always enabled, as they should be, even under wxGTK where wxSpinButton disables its arrows on its own if its value reaches the end of its range and wxSP_WRAP is not used.

2011-10-02 14:21 SJL, revision 69288

Remove copied class definitions from missing.h. Disable custom scheme handling under MinGW as it lacks the correct definitions.

2011-10-02 13:32 VZ, revision 69287

Put wxWebView library addition on top of changes list. This list is supposed to be roughly in importance order. Also add a period at the end of wxAuiNotebook entry, let's try to be consistent about using them.

2011-10-02 13:28 VZ, revision 69286

Fix setting tooltips for wxSearchCtrl and other composite controls. Propagate SetToolTip() call on wxCompositeWindow to all subwindows to ensure that the tooltip is shown for all parts of the window. Notice that this is still not ideal as the tooltip temporarily disappears when mouse moves from one subwindow to another, instead of staying in place as it does with "monolithic" windows and ideally we should find a way to avoid it (should be possible at least under MSW with TTM_RELAYEVENT) but for now this is already much better than nothing. Closes #13523.

2011-10-02 13:28 VZ, revision 69285

Add wxWindowBase::CopyToolTip() method. This method simply sets the same tooltip for the window but making copy of, instead of taking ownership of, the wxToolTip passed in. It's not especially useful on its own but is needed by wxCompositeWindow and might be handy elsewhere. See #13523.

2011-10-02 13:28 VZ, revision 69284

Restore correct wxSearchCtrl size in wxMSW after wxTextCtrl changes. The code in generic wxSearchCtrl implementation was broken by the changes of r69066 which deccreased the best height of border-less text controls. Ideally we should probably change wxSearchCtrl::LayoutControls() to not be sensitive at all to the exact value returned from wxTextCtrl::GetBestSize() and just always centre everything vertically but this doesn't look simple to do with the current code so just override wxSearchTextCtrl::DoGetBestSize() to return the same size as wxTextCtrl used to return before to fix this for now.

2011-10-02 13:28 VZ, revision 69283

Fix harmless warnings in hot key code in wxOSX. Don't compare signed and unsigned variables if possible (insert a cast in one place where it wasn't). Put WXUNUSED() around the unused parameters.

2011-10-02 13:28 VZ, revision 69282

Fix harmless gcc initialization order warning. Put the initializes in wxDataViewTreeNode constructor initialization list in order of their declaration.

2011-10-02 13:27 VZ, revision 69281

zh_TW translation update from cw.ahbong.

2011-10-02 12:29 SJL, revision 69280

Derive wxAuiNotebook from wxBookCtrlBase. Document wxAuiNotebookEvent which now derives from wxBookCtrlEvent. Update the notebook sample to add wxAuiNotebook as an option.

2011-10-01 21:40 SJL, revision 69267

Add event descriptions to wxAuiNotebook.

2011-10-01 21:22 SJL, revision 69266

Correctly initialise ref count in custom scheme class factory.

2011-10-01 01:40 RD, revision 69253

Use wxAlphaPixelData if the source bitmap depth is 32 or if on wxGTK and there is a mask. Add a separate pass on MSW if there is a mask to adjust the cairo surface's alpha to match the mask.

2011-09-30 17:26 VZ, revision 69244

Fix the comparison direction in wxTextAttr::BitlistsEqPartial(). The comparison was apparently reversed. Closes #13521.

2011-09-30 17:26 VZ, revision 69243

Fix assert in initial call to wxPostScriptDC::SetPen(). Attempt to use wxPen::GetStyle() on the initially invalid pen resulted in an assert, so don't do it and test for pen validity explicitly. Closes #13524.

2011-09-30 17:26 VZ, revision 69242

Create setup.h when building wxscintilla library. This library includes some wx headers and so setup.h must be available when it's being compiled but there was no rule to copy it in its projects, so add it now. Closes #13526.

2011-09-30 16:00 JJ, revision 69241

updates for OpenVMS

2011-09-30 08:05 JJ, revision 69240

Update OpenVMS compile support

2011-09-29 16:19 JJ, revision 69229

Update setup fort OpenVMS

2011-09-29 15:47 JJ, revision 69226

Fixes for OpenVMS on IA64

2011-09-29 15:43 VZ, revision 69225

Added XRC handler for wxTimePickerCtrl. Add a trivial handler modeled after the existing wxDateCtrlXmlHandler.

2011-09-29 15:43 VZ, revision 69224

Add wxTimePickerCtrl class. Implement wxTimePickerCtrl natively for MSW and add a generic implementation (very loosely based on the original class by Paul Breen) for the other platforms. Also update the calendar sample to show the new control.

2011-09-29 15:43 VZ, revision 69223

Correct wxDatePickerCtrl::GetValue() documentation and other minor fixes. The documentation for this method seems to have been copy-and-pasted from somewhere else and didn't make any sense. Also don't say that this control doesn't have any control-specific styles when it does.

2011-09-29 15:43 VZ, revision 69222

Refactor wxDatePickerCtrl to derive from wxDateTimePickerCtrl. No real changes, just refactor wxMSW wxDatePickerCtrl to allow sharing code with the upcoming wxTimePickerCtrl class. Even less changes for the other platforms where wxDateTimePickerCtrl is trivial.

2011-09-29 14:29 VZ, revision 69220

VC6 compilation fixes for wxTreeListCtrl. For some reason comparing wxTreeListItem with its associated Type doesn't work when using VC6 ("error C2593: 'operator ==' is ambiguous") so help the compiler to do it. Also remove the unnecessary (and unsupported by VC6) return from void function.

2011-09-29 14:05 JS, revision 69219

Fixed caret sizing problem around large objects by clipping the caret to the margins

2011-09-29 14:05 JS, revision 69218

Fixed caret sizing problem around large objects by clipping the caret to the margins

2011-09-29 09:28 RD, revision 69217

Don't always use the Cairo context for wxGCDC(wxMemoryDC). If a Cairo context is wanted then the wxGCDC(wxGraphicsContext*) ctor should be used instead. (I thought I had removed this code with my last commit of this file...)

2011-09-28 21:44 SJL, revision 69214

Delete the menu on close in the wxWebView sample. Fixes most of the memory leaks. See #13500

2011-09-28 16:54 SJL, revision 69209

Fix compilation of wxWebView under mingw by adding missing definitions and dynamically loading urlmon. Fixes #13509

2011-09-28 11:46 JJ, revision 69208

correcting typo in previous commit

2011-09-28 08:02 JJ, revision 69207

Include support for OpenVMS IA64

2011-09-27 09:21 SC, revision 69205

giving in on native undo integration, as we don't have a NSUndoManager, fixes #13431

2011-09-27 09:14 JJ, revision 69204

Correcting typo in commit 69203

2011-09-27 07:56 JJ, revision 69203

Update openVMS compile support

2011-09-27 05:34 RD, revision 69202

More interface updates for Phoenix

2011-09-26 17:03 PC, revision 69201

backport r51506, "fix wxALIGN_RIGHT in RTL mode", closes #13469

2011-09-26 16:28 JJ, revision 69200

Disable webview on OpenVMS

2011-09-25 17:48 VS, revision 69199

Don't use `install -d` to create directories. Always use `mkdir -p`, as install is problematic with regard to permissions. Fixes #13452.

2011-09-25 14:14 SC, revision 69198

adding missing autorelease pool, since this can be called from anywhere, fixes #13449

2011-09-25 06:30 RD, revision 69196

Fix missing or broken interface items for Phoenix

2011-09-24 00:33 VZ, revision 69186

Add support for handling new multi-arch under Debian. The libraries are now in /usr/lib/arch-linux-gnu and not /usr/lib{32,64} so check for them there too.

2011-09-23 14:15 VZ, revision 69185

Fix inconsistent DLL export declaration for wxBannerWindowNameStr too. This variable is defined in "adv" library, not "core". This is similar to the fix of r69184.

2011-09-22 14:53 VZ, revision 69184

Fix inconsistent DLL export declaration for wxTreeListCtrlNameStr. This variable is defined in "adv" library, not "core". See #13502.

2011-09-22 12:36 VZ, revision 69183

Improve appearance of wxTreeListCtrl during live resizing. When using the generic wxDataViewCtrl version, forcefully refresh it after changing its size to avoid artefacts during resizing of wxTreeListCtrl. Closes #13502.

2011-09-22 12:35 VZ, revision 69182

Always give all the remaining space to the first wxTreeListCtrl column. Under GTK the columns of wxDataViewCtrl (and hence wxTreeListCtrl) are always resized to cover the entire control width. For consistency, also do it under the other platforms and give the remaining space to the first column and not to the last one as GTK does by default, as the first column is more important. Do this even if this results in reducing the size of the column: presumably, if the entire control itself can be resized, the user wouldn't bother resizing the columns and, on the contrary, if the user did resize the columns, the entire control size is unlikely to change, so in practice we don't risk overriding the user preferences and reducing as well as increasing the first column width works much better by default as it doesn't leave the other columns invisible after making the control wider and than reverting it back to its initial, more narrow, state again.

2011-09-21 17:08 VZ, revision 69180

Fix scrolling in small wxVListBox with tall items. Scrolling in a small wxVListBox with tall items (i.e. taller than the height of wxVListBox itself) behaved wrongly: wrong item was being scrolled into view and Page Up/Down didn't scroll as much as they should. Fix both of these problems by checking for these corner cases explicitly. Closes #13454.

2011-09-21 17:08 VZ, revision 69179

Replace erroneous comma with a semicolon in keyboard sample. Fix typo in the sample, comma was used instead of a semicolon. The code still worked correctly but make it look correctly too now. Closes #13453.

2011-09-21 17:08 VZ, revision 69178

Change wxSound ctor from in-memory data to use size_t/void *. This constructor previously used int and, especially annoyingly, wxByte* for the data. Use standard void* for untyped binary data instead. Also document this ctor as it seems to be implemented in all ports. Closes #13451.

2011-09-21 17:07 VZ, revision 69177

Send EVT_DATAVIEW_ITEM_CONTEXT_MENU events even when not clicking on an item. Always send this event, even if the user right clicked outside of the client area. This is useful for showing item-independent commands in the context menu.

2011-09-21 17:07 VZ, revision 69176

Implement sorting in wxTreeListCtrl. Allow the user to sort the control contents by clicking on the columns with wxCOL_SORTABLE flag and also provide SetSortColumn() method to sort the control programmatically. Also add wxTreeListItemComparator class and SetItemComparator() method to allow customizing the way the items are compared. Update the sample to show how to define a custom comparator.

2011-09-21 17:07 VZ, revision 69175

Reset previous sort column in generic wxDataViewColumn::SetSortOrder(). The sort indicator on the column previously used for sorting was only reset when the user clicked on the column header (by wxDataViewHeaderWindow code that explicitly called wxDataViewCtrl::SetSortingColumnIndex()) but not when wxDataViewCtrl::SetSortOrder() was called directly. Fix this and take care of updating everything in SetSortOrder() itself. This makes the code simpler and also means that calling SetSortOrder() from the program now works as expected (it resulted in having sort indicators in two columns at once before).

2011-09-21 17:07 VZ, revision 69174

Remove wxHeaderColumn::SetAsSortKey() and only use SetSortOrder(). The two member functions, SetAsSortKey() and SetSortOrder(), were doing almost the same thing but differently and the former was only used in the generic wxDataViewCtrl implementation and not implemented in the native GTK/OS X one. Remove SetAsSortKey() entirely and only keep UnsetAsSortKey() which is still needed by generic/MSW wxDataViewCtrl. But only SetSortOrder() should now be called to indicate that the column is used for sorting.

2011-09-21 17:07 VZ, revision 69173

Add wxTreeListCtrl::GetView() and GetDataView(). It can be useful to have access to the window used to actually show the items by wxTreeListCtrl, provide two accessors for m_view: a wxDataViewCtrl-specific one and a generic one returning just a wxWindow that can be used to keep the code isolated from wxDataViewCtrl.

2011-09-21 17:07 VZ, revision 69172

Don't limit window size to (0, 0) in wxSizer if getting display size failed. It's possible that wxDisplay::GetClientArea() returns (0, 0) size indicating that it failed. Don't set the maximal window size to (0, 0) in this case as this prevents the user from seeing the window at all and just don't do anything instead.

2011-09-21 17:07 VZ, revision 69171

Refresh wxDisplay when a monitor is added to or removed from the system. If a monitor was attached or detached while a wx program was running, the monitor handles stored in wxDisplayFactoryMSW became invalid and all display operations (e.g. getting display size) failed from this moment onwards requiring a program restart to work again. Fix this by updating the monitor handles when we get WM_SETTINGCHANGE as it is sent when a monitor is added or removed (while it's also sent in quite a few other cases re-enumerating the monitors shouldn't take very long so just do it always).

2011-09-21 17:07 VZ, revision 69170

No changes, just extract wxCreateHiddenWindow() declaration in a header. Add wx/msw/private/hiddenwin.h with wxCreateHiddenWindow() declaration instead of declaring it manually in all the files using it.

2011-09-20 22:03 JS, revision 69168

Remove pointless case insensitivity

2011-09-20 22:03 JS, revision 69167

Remove pointless case insensitivity

2011-09-20 20:37 VZ, revision 69166

Add GetExpanderColumnOrFirstOne() to avoid code duplication in generic wxDVC. There were two strictly identical code snippets setting the expander column to be the first one if it hadn't been set before, replace both of them with a call to GetExpanderColumnOrFirstOne() function. Also use this function instead of just GetExpanderColumn() (which might return NULL) in a couple of places. Notice that there are still a lot of places in the code where the column 0 is hard coded as being the expander column, this would need to be fixed to really support non-first expander column.

2011-09-20 20:37 VZ, revision 69165

Reset the expander column when clearing columns in generic wxDVC. The expander column becomes invalid when all columns are cleared, don't keep a dangling pointer.

2011-09-20 19:25 MW, revision 69162

Move ravnsgaards build to brandt32 while its down.

2011-09-18 22:28 VZ, revision 69149

Minor fixes to code examples in wxPropertyGrid documentation. Fix typo in wxPGProperty name and add missing parameter of GetVIterator() call. Closes #13486.

2011-09-18 22:26 VZ, revision 69148

Fix test for wxUSE_TREELISTCTRL in configure. wxUSE_TREECTRL was wrongly used instead. Closes #13470.

2011-09-18 06:38 RD, revision 69135

FIx broken or missing interface items for Phoenix

2011-09-17 13:06 VZ, revision 69113

Fix format specifiers used for "unsigned long" in wxPG code. "unsigned long" quantities must be formatted using "%l[xou]" and not just "%[xou]" as the latter doesn't work correctly on 64 bit platforms. Closes #13447.

2011-09-17 13:06 VZ, revision 69112

Change wxDIALOG_NO_PARENT to avoid clash with wxICON_EXCLAMATION. Use 0x20 (wxAPPLY) instead of 0x100 (wxICON_EXCLAMATION) for wxDIALOG_NO_PARENT as otherwise using wxICON_EXCLAMATION with wxMessageBox in wxGTK (and possibly other ports, although not wxMSW which doesn't honour wxDIALOG_NO_PARENT for message boxes at all) resulted in not using the specified parent for the message box and, as a side effect, not centering it on its parent neither. Closes #13464.

2011-09-17 13:06 VZ, revision 69111

Add wxUSE_TREELISTCTRL checks to treelist.cpp itself. The contents of this file was still compiled even when wxUSE_TREELISTCTRL was turned off. Fix this by adding the missing "#if wxUSE_TREELISTCTRL" check around it. Closes #13470.

2011-09-17 13:06 VZ, revision 69110

Fix the library of wxGenericDirCtrl in the documentation. Closes #13482.

2011-09-17 00:44 VZ, revision 69108

Only define wxUSE_WEBVIEW if wxWebView is really available. Don't define wxUSE_WEBVIEW in configure if WebKit is not available under Unix (we should also check for wxUSE_WEBVIEW_IE under Windows later) and add the check that either wxUSE_WEBVIEW_WEBKIT or wxUSE_WEBVIEW_IE is defined if wxUSE_WEBVIEW is to wx/chkconf.h. This makes it possible to just check for wxUSE_WEBVIEW instead of checking for wxUSE_WEBVIEW && (wxUSE_WEBVIEW_IE || wxUSE_WEBVIEW_WEBKIT) as the code did previously which was ugly and error-prone. Also, define wxUSE_WEBVIEW_IE in configure under MSW. Currently this supposes that the required IE headers/libraries are available which is probably wrong, we should add checks for them later.

2011-09-17 00:44 VZ, revision 69107

Check for wxUSE_WEBVIEW being defined. All wxUSE_XXX options must be always defined as we test for them with #if and not #ifdef, so check for this one too for consistency.

2011-09-17 00:44 VZ, revision 69106

Fix wxFont::GetFaceName() for not realized yet fonts in wxMSW. GetFaceName() could be called for a font that hadn't been really used yet and hence its wxFontRefData::m_hFont could be 0 and couldn't be used in GetMSWFaceName(). Fix this by using GetHFONT() accessor instead of m_hFont directly to create the font if necessary.

2011-09-16 19:03 RD, revision 69102

fixes for missing or broken interface items for Phoenix

2011-09-16 15:23 VZ, revision 69101

Fix int field of wxCommandEvents generated by menu items in wxMSW. Set the int field of wxCommandEvent generated by clicking on the menu items correctly for not checkable items: it is supposed to be -1 and not 0 (which is the value for checkable but currently unchecked items). This was already the case for wxGTK and wxOSX and implied by the comments in the code. Make wxMSW behave like this too and clearly document this behaviour.

2011-09-16 15:23 VZ, revision 69100

Fix int field of wxCommandEvent generated by popup menu items in wxMSW. The intention of the code generating the event for popup menu items was to pass false (0) or true (1) in the int field of wxCommandEvent to indicate whether the item was checked or not but, because wxMenu::SendEvent() takes int as second argument and not book, we passed either 0 or MF_CHECKED (== 8). Fix this by correctly passing a boolean for checkable items. See #11644.

2011-09-16 15:23 VZ, revision 69099

Fix checked state for the popup menu items in the events generated by them. We incorrectly passed the sign-extended int id to ::GetMenuState() function that expects an unsigned WORD id, so it never found the item if the WORD id had the high bit set. Fix this by correctly passing the unsigned id to it. Closes #11644.

2011-09-15 21:05 SC, revision 69096

reverting change, for precompiled headers, unfortunately this means that WXROOT must not contain spaces unless properly escaped

2011-09-15 16:25 JJ, revision 69089

Repair compile sequenze for wxGTK on OpenVMS

2011-09-15 00:33 LV, revision 69088

Added iOS src files to Xcode project

2011-09-14 18:45 SJL, revision 69085

Use integral value for OLECMDID_OPTICAL_ZOOM as we cannot tell if an enum value is already defined or not. Fixes #13475

2011-09-14 16:03 SJL, revision 69084

Update configure to only define wxUSE_WEBVIEW_WEBKIT if all the required components are available. Fixes #13474

2011-09-14 14:39 SJL, revision 69083

Cause a compile time error in the wxWebView sample if no backend exists.

2011-09-14 10:24 SJL, revision 69082

Make wxBookCtrlBase::GetSelection virtual, as per the documentation.

2011-09-14 09:39 SJL, revision 69081

Only build the wxWebView tests if there is an available backend.

2011-09-13 23:26 SJL, revision 69079

Correctly disable webkit backend if the appropriate headers cannot be found.

2011-09-13 21:39 SJL, revision 69078

Correct a typo in the wxWebView tests.

2011-09-13 14:06 SJL, revision 69077

Disable webkit backend if the appropriate headers cannot be found.

2011-09-12 20:35 SJL, revision 69074

Update wxWebView guards to stop backend compilation when wxUSE_WEBVIEW is 0.

2011-09-12 15:42 SJL, revision 69073

Ensure that we have an available backend for wxWebView compilation.

2011-09-12 13:13 JJ, revision 69072

Update setup for OpenVMS

2011-09-12 12:57 JJ, revision 69071

add compile support for thread sample on OpenVMS

2011-09-12 11:23 VS, revision 69070

Fix appending of non-leaf node to wxGTK's wxDataViewCtrl. This was accidentally broken in r68965: appending a branch node after all others node resulted in corruption of m_nodes, as the node was never added to the list. Fixes #13467.

2011-09-12 09:12 SC, revision 69069

supporting spaces

2011-09-11 23:55 VZ, revision 69066

Fix best size computation for wxTextCtrl without borders in wxMSW. wxTextCtrl with wxBORDER_NONE (and possibly wxTE_READONLY) style is often used instead of a wxStaticText to allow copying the text, so make the size of such control the same as size of the label. This ensures that it aligns correctly with the label vertically while before the baselines were not aligned because a border-less text control was rendered by MSW as a label but had a too big size.

2011-09-11 15:26 SJL, revision 69060

Ensure that we have an available backend for wxWebView compilation.

2011-09-11 13:27 VZ, revision 69059

Still resize wxSplitterWindow children even when sash position doesn't change. Since the changes if r68876, the splitter windows were not resized correctly if the splitter size in the direction orthogonal to its own didn't change. This was an unintended side effect of the changes in that commit as it only wanted to avoid calling SetSashPositionAndNotify() in this case, but SizeWindows() should still be called. Ensure that we do call it always from wxSplitterWindow::OnSize() to fix this.

2011-09-11 12:55 VZ, revision 69058

Regenerate configure after webview branch merge.

2011-09-11 12:15 SJL, revision 69057

Update setup files

2011-09-11 12:12 SJL, revision 69056

Rebake trunk after wxWebView merge and add missing project files for the wxWebView library.

2011-09-11 02:35 RD, revision 69051

Fix missing and broken interface items for Phoenix

2011-09-10 20:09 SJL, revision 69049

Merge the new wxWebView classes from the SOC2011_WEBVIEW branch.

2011-09-10 18:02 PC, revision 69048

update WarpPointer for GTK3

2011-09-10 17:09 SJL, revision 69047

Merge in from trunk r68684 - r69046

2011-09-10 05:26 RD, revision 69041

Enable the HWND of the task dialog to be fetched with GetHandle if it is being used.

2011-09-08 23:15 VZ, revision 69028

Allow setting colours and font of wxTreeListCtrl. Use wxCompositeWindow<> to propagate changes of colours and font to wxDataViewCtrl that wxTreeListCtrl uses internally.

2011-09-07 18:57 PC, revision 69021

non-pch build fix

2011-09-07 18:56 PC, revision 69020

remove unnecessary GTK declarations from defs.h, move things only used once to the place that needs them

2011-09-06 18:35 PC, revision 69015

move addition of -lX11 to better place

2011-09-06 18:24 PC, revision 69013

don't disable cast checks in debug builds

2011-09-06 18:09 PC, revision 69012

remove unused __WXGTK12__ symbol

2011-09-06 17:54 PC, revision 69011

remove (very) obsolete GTK version check

2011-09-06 06:17 RD, revision 69007

fix for non-pch builds

2011-09-05 22:08 RD, revision 69005

Avoid infinite recursion on Mac in comboctrl, and fix an uninitialized pointer in propgrid

2011-09-05 17:40 VS, revision 69003

Fix crash in wxDataViewCtrl::UpdateColWidths().

2011-09-05 16:25 VS, revision 69002

wxDataViewCtrl: enable F2 editing with multiple selection too. This matches the native (and thus expected) behavior of Windows Explorer: edit the first item in selection. It's also better than ignoring user's key presses.

2011-09-05 01:01 VZ, revision 69001

Add persistence support for wxSplitterWindow. New wxPersistentSplitter class allows to easily save and restore the splitter position in config.

2011-09-03 18:19 SC, revision 68997

setting the image position after the label is set, otherwise image_only will have the potential label over the image

2011-09-03 15:14 VS, revision 68996

Use ProcessWindowEvent() in generic wxDataViewCtrl code.

2011-09-03 15:14 VS, revision 68995

Extracted wxDataViewMainWindow left/right keys handling into separate methods.

2011-09-03 15:14 VS, revision 68994

Rename wxDataViewMainWindow::OnArrowChar to OnVerticalNavigation. The method handled much more than just arrow characters and it didn't handle all arrow characters.

2011-09-03 15:14 VS, revision 68993

Slightly more efficient wxDataViewCtrl::StartEditor(). Don't compute item rect until we know for sure that the item actually is editable.

2011-09-03 15:14 VS, revision 68992

Fix generic wxDataViewCtrl Enter handling to conform to Windows UI. Spacebar is used to activate columns (e.g. toggle a checkbox). Enter activates the item, i.e. sends wxEVT_COMMAND_ITEM_ACTIVATED. If that event isn't handled, Enter acts the same as Space.

2011-09-03 03:39 RD, revision 68973

Fix some broken or add some missing interface declarations for Phoenix

2011-09-01 20:43 VZ, revision 68969

Don't warn about wxMetaFile in configure by default. Only warn if an explicit --enable-metafile was given, otherwise just turn it on only for the platforms that do support it, similarly to what was done for --enable-hotkey in the previous commit.

2011-09-01 20:43 VZ, revision 68968

Add wxUSE_HOTKEY support to configure. Add --enable-hotkey switch to allow enabling hot keys support and enable it by default under MSW and OS X that do support them but disable it elsewhere to avoid unnecessary warnings about them being unsupported. See #12354.

2011-09-01 18:20 SC, revision 68967

fixes #13443, thanks :-)

2011-08-31 19:22 VZ, revision 68966

Fix deleting and clearing wxTreeListCtrl columns. The model columns were not updated before, resulting in a mismatch between view and model columns if ClearColumns() followed by AppendColumn() was called.

2011-08-31 11:36 VS, revision 68965

Add items to correct position in wxDataViewCtrl:ItemAdded. In both the generic and GTK+ versions, ItemAdded() always appended the new item, regardless of its position among its siblings in the model.

2011-08-31 11:04 VS, revision 68964

Generic wxDataViewCtrl: resize autosized columns at idle time. This is much more efficient than doing it immediately when adding large number of items into a control with lots of them.

2011-08-30 17:20 DS, revision 68962

Fixed dlmsw.cpp compilation with older SDKs and at run-time for systems prior to XP SP1. Kernel32's SetDllDirectory is only available since XP SP1 and as such also not available in the SDK that comes by default with for example VS6. Attempt to retrieve the function from the DLL at run-time instead. Regression since r68935.

2011-08-30 15:40 VZ, revision 68961

Better support for flat lists in wxTreeListCtrl. Override wxDataViewModel::IsListModel() to return true if wxTreeListCtrl doesn't have any depth. This results in better display when using the generic implementation of wxDataViewCtrl as no space is reserved for the (unnecessary) expanders in this case.

2011-08-30 15:40 VZ, revision 68960

Fix computation of the item offset in generic wxDataViewCtrl code. We need to account for the expander even for the items that don't have children when computing their offset as their parent still does have it, contributing to the total offset. This corrects the fixes of r68836 to also work for the leaf items. Also rename expanderOffset variable to more clear itemOffset.

2011-08-30 11:51 JJ, revision 68959

Update makefiles for OpenVMS

2011-08-30 11:02 SC, revision 68958

fixes #13438 (building OSX min >= 10.6), thanks :-)

2011-08-30 09:01 SC, revision 68957

adding command - comma as shortcut of stockitem wxID_PRERENCES on OSX - and make sure it's working by adapting ToString()

2011-08-29 21:09 DS, revision 68956

Regenerated Xcode projects. Updated the Xcode projects to include latest source additions and newer settings from template *_in.xcodeproj project files.

2011-08-29 19:25 VS, revision 68954

Send wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED if WXOnActivate() returned false too. This is consistent with wxGTK implementation and generally makes sense: when the renderer cannot handle activation, whole-item activation should be tried next.

2011-08-29 19:25 VS, revision 68953

Make generic wxDataViewToggleRenderer react to activation. Previously it only responded to single-clicks, which was to avoid the need to double-click checkboxes. Fixed to react to activation via double-click or keyboard too.

2011-08-29 19:25 VS, revision 68952

Activate cells from keyboard too in generic wxDataViewCtrl. wxDataViewCtrl only called WXOnActivate() in reaction to double-click. When Enter/Spacebar was pressed, only wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED was sent, without calling OnActivate() even if it was possible. Fixed to handle both kinds of input identically. Because there's currently no way to change current focus to a particular column (as GtkTreeView can do), call WXOnActivate() on the first activatable column.

2011-08-29 18:06 DS, revision 68951

Fixed drawing a check box in the undetermined state for non-themed MSW apps. wxRendererMSW::DoDrawFrameControl (used for systems prior to XP or when theming is disabled) didn't check for the wxCONTROL_UNDETERMINED flag yet. Set the appropriate styles when the flag is used to fix drawing check boxes in their third state (as used in for example the treelist sample).

2011-08-29 16:46 VZ, revision 68950

Make it possible to TAB to wxTreeListCtrl contents. Even though wxTreeListCtrl contains just one child window it still needs to derive from wxNavigationEnabled<> to allow focus getting to its sole child.

2011-08-29 14:33 VZ, revision 68949

Fix spelling error in an error message in wxObjectXmlReader. No other changes.

2011-08-29 03:13 DS, revision 68948

Added alpha saving support to TIFF image handler. Added support for saving alpha with RGB, greyscale, and black and white images.

2011-08-29 01:45 DS, revision 68947

Fixed loading greyscale with alpha TIFF images. The alpha channel was not detected because of wrong hasAlpha determination. Also TIFFReadRGBAImage[Oriented] doesn't appear to decode an alpha channel for images that are greyscale so decode greyscale with alpha images using TIFFReadScanline.

2011-08-29 00:44 DS, revision 68946

Fixed copying only 1/3 of scanline when saving TIFF image in rare cases. If our calculated image pitch is not equal to what TIFFScanlineSize returns a scanline buffer would be used. In that case the number of bytes being copied was equal to the image's width instead of pitch (width times 3).

2011-08-29 00:17 DS, revision 68945

Added support for loading black and white TIFF images with alpha. As TIFFReadRGBAImage[Oriented] can't deal with all images make use of TIFFReadScanline to decode per scanline. Currently only the case of a black and white image with alpha (for a total of 2 bits per pixel) is handled.

2011-08-29 00:06 DS, revision 68944

Updated manual regarding image alpha support for TGA handler. TGA was not mentioned in the list of formats supporting loading of alpha, but alpha loading support has been available since r42644.

2011-08-28 23:59 DS, revision 68943

Read TIFF images from top to bottom instead of bottom to top. Use TIFFReadRGBAImageOriented with a parameter of ORIENTATION_TOPLEFT instead of using TIFFReadRGBAImage (which uses ORIENTATION_BOTTOMLEFT) to read images in a more logical order and simplify code.

2011-08-28 23:49 DS, revision 68942

Fixed accessing out-of-bounds image coordinates while writing a black and white TIFF image. The code assumed that the image's width is a multiple of 8, and attempted to always write per 8 pixels instead of sometimes having to write fewer pixels for the last column. Also fixed compilo from previous commit due to not removing old code.

2011-08-28 23:38 DS, revision 68941

Fixed calculated image pitch being off-by-one in some cases. The variable linebytes sometimes counted one extra byte, which is OK for allocating but not when accessing the image later on. Calculate the value in a slightly different way and made the variable const.

2011-08-28 23:31 DS, revision 68940

Removed double TIFFSetField call for setting TIFFTAG_ORIENTATION. Setting the same TIFF tag with the same value once is enough.

2011-08-28 23:27 DS, revision 68939

Call GetAlpha() to get a pointer instead of checking for alpha first. It's safe to call GetAlpha() even if there's no alpha because in that case NULL will be returned.

2011-08-28 15:00 SC, revision 68938

make sure svn info for an already existing .xcodeproj folder is not deleted, replace project file itself in place

2011-08-28 09:11 SC, revision 68937

adding missing doc string for BACKSPACE

2011-08-28 08:54 SC, revision 68936

routing keys like ESC etc, fixes #13429

2011-08-28 01:26 RD, revision 68935

* Implement dynamic loading of the Cairo DLL on Windows similar to how it was done for GDI+. * Enable the use of the wxCairoContext on MSW. * Enable creating a wxGCDC from an exisiting wxGraphicsContext. * Since it's possible for a DLL that is using wx to not be on the PATH nor in the same location as the .exe, change the wxDynamicLibrary::RawLoad method to explicitly look first in the same place as the main wx-using binary. This way it will find DLLs that are in the same folder as the wx-using binary even if that would not be in the normal DLL search path. * Change wxDCImpl and wxDC::GetLogicalScale to be const methods.

2011-08-27 18:44 VS, revision 68932

More understandable symbolic constants in generic wxDVC's DoJob class.

2011-08-27 18:44 VS, revision 68931

Use spacebar to activate items in generic wxDataViewCtrl too. Pressing Spacebar now behaves the same as Enter in the generic control, for consistency with the GTK+ control and native Windows list controls.

2011-08-27 18:44 VS, revision 68930

Remove DestroyTreeHelper(), make GetChildNodes() const, add RemoveChild(). There's no reason for DestroyTreeHelper() code, that's what destructors are for. On a related note, make removal of children from a node more explicit too.

2011-08-27 18:44 VS, revision 68929

Add wxDataViewMainWindow::GetModel() helper. It's slightly less verbose than GetOwner()->GetModel() used all over the place.

2011-08-27 18:44 VS, revision 68928

Better names in wxDataViewTreeNode. GetChildNodes() instead of GetNodes(), AddChild() instead of AddNode().

2011-08-27 17:23 VS, revision 68927

Use wxTE_PROCESS_ENTER with wxDataViewCtrl text controls. wxDVC code depends on wxEVT_COMMAND_TEXT_ENTER to hide the inline editing controls. Fixes #13412.

2011-08-27 16:58 VZ, revision 68926

No real changes, minor corrections to the docs. Don't leave a line break inside a @code block as it's preserved in the HTML output, making it appear ugly.

2011-08-27 16:56 VZ, revision 68925

Copy generic images when building the documentation too. The images used by @genericAppearance Doxygen macro were not copied to the output directory.

2011-08-27 16:50 VZ, revision 68924

Compilation fix for wxTreeListCtrl when not using PCH. Include wx/dc.h normally included from wx/wxprec.h.

2011-08-27 16:11 VZ, revision 68923

No changes, just fix the file name in the header comment of wxDVC test. s/tree/dataview/

2011-08-27 16:11 VZ, revision 68922

Make wxBU_EXACTFIT fir the button text more exactly. Too big margins were added for the buttons with wxBU_EXACTFIT style making them larger than strictly necessary. Reduce the margins to make them really as small as possible.

2011-08-27 16:11 VZ, revision 68921

Added wxFLP_SMALL and wxDIRP_SMALL styles for wx{File,Dir}PickerCtrl. These styles allow to use a smaller browse button as the standard one takes too much space, often leaving too little of it for the more important text control part. Notice that both styles are, in fact, equal to wxPB_SMALL but only file and directory pickers currently use it as it doesn't make sense for the colour and font pickers.

2011-08-27 16:11 VZ, revision 68920

Auto complete file names in the text controls of wx{File,Dir}PickerCtrl. There doesn't seem to be any reason not to do this in the controls which we know are meant for entering file or directory names into them.

2011-08-27 16:11 VZ, revision 68919

Make the file and dir picket controls expand in widgets sample. The controls were too small to see long paths in them comfortably while there was plenty of space in the page, use wxEXPAND flag for them.

2011-08-27 16:11 VZ, revision 68918

Add wxTextEntry::AutoCompleteDirectories(). As we already had MSW-specific AutoCompleteFileNames(), we can just as well also add the also useful AutoCompleteDirectories() to be used with the text controls used for path entry.

2011-08-27 16:11 VZ, revision 68917

No changes, just fix a typo in wxBannerWindow documentation.

2011-08-27 16:11 VZ, revision 68916

Add new wxTreeListCtrl class. This is a facade for wxDataViewCtrl allowing to easily work with multi-column trees, possibly with an optional checkbox in the first column. Its API is very similar to wxTreeListCtrl and it provides a simple migration path from the latter. Add the class itself, documentation for it and minimal unit tests.

2011-08-27 15:24 VS, revision 68915

Notify GtkTreeView if a node stops being a parent. GtkTreeView requires the row-has-child-toggled signal to be emitted in this situation, so do it from ItemDeleted handler. Curiously, it handles adding the first child automatically. That's good, because detecting this situation when adding the first child wouldn't be trivial and so not having to do it is a plus. (Emitting it on every node addition doesn't sound like a terribly bright idea.)

2011-08-27 15:24 VS, revision 68914

Save memory in wxDataViewTreeNode. Put data that are meaningful only for non-leaf nodes into a separate struct that is only allocated for branch nodes. This makes branch nodes larger by sizeof(void*), but leaf nodes save >50% of memory.

2011-08-27 15:24 VS, revision 68913

Simplified generic wxDataViewCtrl's tree structure. Use just one type, wxDataViewTreeNode, to represent any kind of node. Previously a complicated structure that represented leaves and non-leaf nodes differently was used. This make the code way too complicated and caused some smaller bugs (see e.g. #13256). As a side effect, this change makes the control react correctly to changes in IsContainer() return values. Also fixes #13256.

2011-08-27 15:24 VS, revision 68912

No real change, use more descriptive variable names in wxDataViewMainWindow::ItemDeleted(). Call the node object corresponding to 'parent' 'parentNode' instead of just the more vague 'node'. Also, 'nodes' instead of 'nds'.

2011-08-27 14:13 VZ, revision 68911

Set colours and fonts for all elements of the generic wxSearchCtrl. Derive generic wxSearchCtrl from wxCompositeWindow<> to ensure that calls to its Set{Fore,Back}groundColour() are propagated to all its children, otherwise they applied only to the composite control itself but not e.g. its text part. Also update the bitmaps when the background colour changes to ensure that it appears as transparent. Closes #13428.

2011-08-27 14:13 VZ, revision 68910

Allow returning NULL windows from GetCompositeWindowParts(). wxCompositeWindow::GetCompositeWindowParts() becomes simpler to implement in the derived classes with optionally shown elements if NULL windows are allowed (and ignored) in the list returned by it.

2011-08-27 14:13 VZ, revision 68909

Fixes to OpenGL samples to avoid asserts/crashes. Don't call wxGLCanvas::SetCurrent() when the window is not shown. Closes #13424.

2011-08-26 15:01 JJ, revision 68907

Update setup for OpenVMS

2011-08-26 01:32 DS, revision 68903

Fixed best size of wxUniv's wxNotebook. Removed wxNotebook::DoGetBestClientSize to let wxBookCtrlBase::DoGetBestSize do its job and fix the best size of a wxNotebook (formerly when running the notebook sample the notebook was not wide enough).

2011-08-26 01:16 DS, revision 68902

Fixed best sizes for wxUniv controls. Many wxUniv controls had a way too small best size which was noticeable when running e.g. the widgets sample. Regression started in r61169 where wxWindowBase::DoGetClientBestSize() was introduced but that virtual function already existed in wxUniv's wxWindow. Removing wxUniv's wxWindow::DoGetBestSize and wxWindow::DoGetBestClientSize fixes sizing issues.

2011-08-26 01:13 DS, revision 68901

Fixed width of scrollbars in wxUniv. The AdjustSize renderer function for wxUniv's GTK and MSW theme adjusted the size of a scrollbar while it already had the correct size, resulting in scrollbars being twice as wide. Fixed by not adjusting the size of a scrollbar anymore in AdjustSize. Closes #11660.

2011-08-26 01:09 DS, revision 68900

Fixed buttons having no border in wxUniv by default. Buttons had a border of wxBORDER_NONE resulting in wxButton::DoDraw not drawing the button's border. Fixed by adding wxAnyButton::GetDefaultBorder() for wxUniv which returns wxBORDER_STATIC. Regression since r67931.

2011-08-25 23:52 DS, revision 68899

Fixed MSW/Univ compilation of toplevel.cpp. MSW-only functions were compiled in, disabled their usage by adding #ifndef __WXUNIVERSAL__ blocks. Closes #13399 (again, after r68723 already should have closed it but its commit message contained a typo).

2011-08-25 18:37 SC, revision 68880


2011-08-24 14:57 SJL, revision 68878

Rebake after previous commit, should fix monolithic compilation.

2011-08-24 13:52 VZ, revision 68877

No real changes, just update copyright year in wxInfoMessageBox(). s/2010/2011/

2011-08-24 13:48 VZ, revision 68876

Try harder to set the requester splitter position in wxSplitterWindow. The code in wxSplitterWindow tried to remember the requested position and set the real sash position to it later, even if the initial window size was too small to allow for it, but it didn't work because the requested position was forgotten after the first size event, even though it was quite possible that this event didn't really change the window size from the initial, small, one. Try to make this more robust by ignoring the size events which don't really change the window size. Also set m_lastSize correctly initially. Now setting the sash position does work even if the splitter itself is inside nested sizers (which results in many size events).

2011-08-24 13:19 SC, revision 68875

adding raw_control for osx

2011-08-24 09:43 SJL, revision 68874

Remove out of date extralib stuff from the bakefiles.

2011-08-24 08:14 SC, revision 68873

missing commit for RAW_CONTROL changes

2011-08-24 06:15 SC, revision 68872

missing commit for RAW_CONTROL changes

2011-08-23 21:09 JC, revision 68871

Merged from trunk

2011-08-23 17:44 VZ, revision 68870

Compilation fix for non-OSX: don't use m_rawControlDown there. m_rawControlDown is supposed to be only used under OS X so put an #ifdef __WXOSX__ around it in wxKeyboardState::GetModifiers() to fix compilation under the other platforms.

2011-08-23 17:30 SC, revision 68869

fixing type for key event, using WXK_RAW_CONTROL constant for controlkey, see #13415

2011-08-23 17:18 SC, revision 68868

exposing control key combinations as before, fixing unicodekey casing

2011-08-23 17:11 VZ, revision 68867

Simplify checks for event vetoing in generic wxDataViewCtrl code. Don't return the whole event object from SendExpanderEvent() just to check if it wasn't vetoed, simply return a boolean value indicating if this was the case from this function itself. This makes it both more efficient and easier to use.

2011-08-23 17:11 VZ, revision 68866

Fix completely wrong logic for veto checking in generic wxDVC. The code sending the event must check whether the event was vetoed or not, not whether it was skipped or not. This is the minimal change resulting in correct behaviour even if an event handler does skip the event.

2011-08-23 15:19 SC, revision 68865

adjusting keyboardstate to new ctrl / raw_ctrl handling on osx

2011-08-23 15:03 SC, revision 68864

adjusting keyboardstate to new ctrl / raw_ctrl handling on osx

2011-08-23 13:04 VZ, revision 68863

Mention wxLocale in wxNumValidator documentation. Using setlocale() can thoroughly confuse wxNumValidator because it results in a mismatch between the decimal and/or thousands separators it uses, returned by wxLocale, and the actual separators in the strings, formatted by the CRT. So mention in the documentation that using setlocale() is a bad idea. Closes #12970.

2011-08-23 13:04 VZ, revision 68862

No changes, just add a missing comma in wxNumValidator documentation. SetRange() declaration wasn't properly terminated.

2011-08-23 13:04 VZ, revision 68861

Check for decimal separator inconsistency in wxLocale::GetInfo(). Under wxMSW it's possible to have mismatch between the CRT locale (used by various printf-related functions) and the system locale (queried by wxLocale::GetInfo()). Warn if such a mismatch occurs and tell people to use wxLocale instead of just setlocale() to change the locale. See #12970.

2011-08-23 12:50 VZ, revision 68860

Fix wxBannerWindowNameStr definition in DLL builds. Don't use WXDLLEXPORT_DATA when defining the variable, it can be only used when declaring it. This fixes wxMSW DLL build with MSVC.

2011-08-23 06:55 DS, revision 68859

Added wxBITMAP_TYPE_TIFF and wxBITMAP_TYPE_TIFF_RESOURCE. Having wxBITMAP_TYPE_TIFF and wxBITMAP_TYPE_TIFF_RESOURCE is more consistent with already using the complete short name of an image format elsewhere (e.g. wxBITMAP_TYPE_JPEG, not wxBTMAP_TYPE_JPG, and wxTIFFHandler as opposed to wxTIFHandler). Renamed all existing occurrences and kept the old enum values for backwards compatibility. Also renamed occurrences of wxBITMAP_TYPE_RESOURCE to the already existing wxBITMAP_TYPE_BMP_RESOURCE.

2011-08-23 06:41 DS, revision 68858

Fixed linking errors related to wxAnyButton in wxUniv. Native wxAnyButton headers were being included but the sources aren't used in wxUniv. Fixed this by not including any native header in wxUniv and instead made wxAnyButton a typedef of wxAnyButtonBase.

2011-08-23 05:08 DS, revision 68857

Fixed compilation of various notebook.cpp's. Make use of HasImageList() and GetImageList() instead of accessing the now private m_imageList directly. Fixed for wxUniv, wxGTK1, and wxOS2 (the latter 2 blindly). Changes are similar to r68856 and should have been a part of that.

2011-08-23 04:18 DS, revision 68856

Fixed compilation of sources that make use of wx/univ/notebook.h. wxUniv's wxNotebook was accessing m_imageList which now is a private in wxWithImages since r68809. Fixed by using wxWithImages::HasImageList.

2011-08-22 23:53 JC, revision 68855

Trunk made changes. Code had to change to deal with depth==32

2011-08-22 17:35 VZ, revision 68854

Exclude another auto-generated file when cleaning the patches. Changes to autoconf_inc.m4 are not interesting neither, exclude them.

2011-08-22 17:31 VZ, revision 68853

Don't refresh not yet realized widget in wxGTK wxDataViewCtrl. If the text of any of wxDataViewCtrl cells was set before the control was realized (e.g. during its creation), the code tried to refresh the not yet shown widget resulting in GTK+ errors. Avoid this by only refreshing the tree if it's realized.

2011-08-22 17:31 VZ, revision 68852

Return non-const pointer from wxDataViewRendererBase::GetView(). Non-const wxWindow pointers are unfortunately needed quite often in wx API so return a non-const pointer here to allow using it with e.g. wxRendererNative (whose methods all take non-const wxWindow pointers) in the derived classes.

2011-08-22 17:31 VZ, revision 68851

Add wxDataViewIconText::IsSameAs() and make comparison operators members. Add IsSameAs() to make it simpler to call from the derived class operator==() implementation. Also make comparison operators themselves members instead of global functions to avoid considering them as matches for all operator==() uses in the program, there is really no need for this as we do _not_ want to allow implicitly converting something to wxDataViewIconText when comparing.

2011-08-22 17:31 VZ, revision 68850

Return (16,16) as the default list icons size in wxMSW. The standard size of the small icons in list controls under MSW is traditionally 16*16 so return this from wxMSW wxArtProvider.

2011-08-22 17:11 SC, revision 68849

removing trailing comma

2011-08-22 17:10 SC, revision 68848

exposing wxGraphicsContext through an ordinary wxDC

2011-08-22 16:14 VS, revision 68847

Fix typo.

2011-08-22 16:14 VS, revision 68846

Don't iterate over selection twice needlessly in wxDataViewMainWindow::ItemDeleted().

2011-08-22 16:14 VS, revision 68845

No change, improve wxDataViewMainWindow::ItemDeleted() readability.

2011-08-22 14:41 VZ, revision 68844

Harmonize wxDataViewCtrl::GetSelection() behaviour in all ports. wxDataViewCtrl::GetSelection() now always returns invalid item if more than a single item is selected in a multi-selection control. Also add HasSelection() and GetSelectedItemsCount() to allow checking if any items are selected. Updated the documentation, all ports and added a test for all these functions.

2011-08-22 14:41 VZ, revision 68843

No changes, just use CPPUNIT_ASSERT_EQUAL() instead of CPPUNIT_ASSERT(). CPPUNIT_ASSERT_EQUAL() gives more informative error messages in case of failure which is important when running tests unattended on build slaves.

2011-08-22 14:41 VZ, revision 68842

No changes, just add wxGtkList to ensure g_list_free() is always called. Add an extremely simple RAII wrapper around GList and use it. Also add wxGtkTreePathList which also automatically frees its contents to simplify working with the lists of GtkTreePaths.

2011-08-22 14:38 VZ, revision 68841

Don't export Objective C interfaces in non-x86_64 builds. Doing this is unnecessary and results in compilation errors in PPC and x86 builds when using old (4.0.1) version of the compiler. So make WXEXPORT added in r67575 specific to 64 bit builds.

2011-08-22 14:18 VZ, revision 68840

Add XRC handler for wxBannerWindow and a test for it to the xrc sample. Also document the new XRC format elements.

2011-08-22 14:18 VZ, revision 68839

No changes, just factor our wxDirection parsing code in wxXRC. Move it from wxButtonXmlHandler into a reusable wxXmlResourceHandler:: GetDirection() that can used by the other handlers too.

2011-08-22 14:18 VZ, revision 68838

Add new wxBannerWindow class. A simple banner showing either a bitmap or some text on gradient background.

2011-08-22 14:18 VZ, revision 68837

Add @genericAppearance Doxygen macro. This allows to provide just a single image (in "generic" subdirectory) for the generic controls that look the same in all ports instead of having to create three identical ones (in "wxmsw", "wxgtk" and "wxmac" subdirectories) that are required by @appearance.

2011-08-22 14:13 VZ, revision 68836

Fix the coordinates in wxDataViewCustomRenderer::LeftClick() in generic wxDVC. The code in generic wxDataViewCtrl implementation didn't take the space taken by tree expander button nor the indentation of child nodes into account, so the coordinates passed to LeftClick() could be completely wrong. Fix this by offsetting them to ensure that click coordinates are always relative to the cell client area.

2011-08-22 13:27 JS, revision 68835

Fix duplicate variable for VC++ 6

2011-08-22 13:26 JS, revision 68834

Rename identifier

2011-08-22 11:28 LV, revision 68833

Regenerated Makefiles with bakefile_gen

2011-08-22 11:21 SJL, revision 68832

Add new sample project files.

2011-08-22 11:16 SJL, revision 68831


2011-08-22 10:58 LV, revision 68830

Removed wxButtonStrip (not too useful too)

2011-08-22 10:58 LV, revision 68829

Removed wxTabCtrl altogether (not very useful); implemented wxSegmentedCtrl

2011-08-22 10:57 LV, revision 68828

Removed wxContentWindow from wxTableCell

2011-08-22 10:45 SJL, revision 68827

Export a couple of carbon functions so that shared builds in carbon compile correctly.

2011-08-22 09:52 JC, revision 68826

Added comments. Many samples show correct images

2011-08-22 09:34 JC, revision 68825

Fixed a bug in creating mask

2011-08-22 09:06 LV, revision 68824

Various (remaining) wxTableCtrl setters

2011-08-22 09:06 LV, revision 68823

Common source files to Bakefile

2011-08-22 09:06 LV, revision 68822

wxTableCtrl accessory button event

2011-08-22 09:06 LV, revision 68821

Remaining wxTableCtrl setters

2011-08-22 07:56 JC, revision 68820

Fixed a bug in creating mask

2011-08-22 04:15 JC, revision 68819

Fixed a bug in MaskToAlpha()

2011-08-22 00:36 JC, revision 68818

Fixed bug in reading mask info

2011-08-21 20:07 PC, revision 68815

fix memory corruption

2011-08-21 16:52 VZ, revision 68813

Add missing wx/icon.h header to fix wxGTK compilation. wx/withimages.h needs to include wx/icon.h as it contains an inline function returning wxIcon.

2011-08-21 16:08 VZ, revision 68812

Refactor: replace wxTreeItemId and wxDataViewItem with new wxItemId<>. Add wxItemId<> template which can be used to identify items in different {tree,list}-like controls, including wxDataViewCtrl (where it replaces, in backwards compatible way, wxDataViewItem), wxTreeCtrl (where it replaces wxTreeItemId) and the upcoming wxTreeListCtrl.

2011-08-21 16:08 VZ, revision 68811

No changes, just move wxCheckBoxState to wx/defs.h from wx/checkbox.h. Move the enum to allow reusing it in other places.

2011-08-21 16:08 VZ, revision 68810

No changes, just use symbolic NO_IMAGE constant instead of -1 or wxNOT_FOUND. Existing declarations used -1 in several places to indicate the absence of the image which wasn't especially clear and was also inconsistent with other places that used wxNOT_FOUND which didn't make much sense in this context. Add a new symbolic constant NO_IMAGE in wxWithImages and use it in the classes deriving from it. This still doesn't help with wx{Tree,List}Ctrl but improves clarity for the other classes.

2011-08-21 16:08 VZ, revision 68809

Add wxWithImages helper mix-in with {Set,Get,Assign}ImageList() methods. Avoid defining SetImageList() in several different places in wx API as not only this resulted in (trivial) code duplication but this method also had different semantics before: it didn't take ownership of the pointer passed to it in wxTreeCtrl, wxListCtrl and wxBookCtrl and derived classes but did take its ownership in wxDataViewTreeCtrl and wxRichTextFormattingDialog. Harmonize this for all the classes now: SetImageList() never takes ownership while AssignImageList() (which is now available in all classes having SetImageList()) always does. Also add convenience wxWithImages::GetImage() helper to avoid (more) code duplication in wxDataViewTreeCtrl code.

2011-08-21 14:06 VZ, revision 68808

Replace wxComboBox::IsEmpty() with Is{List,Text}Empty(). IsEmpty() didn't exist in all ports (notably not wxMSW) and its meaning was unclear anyhow, so remove it even from the ports where it did exist and add clear Is{List,Text}Empty() replacements instead.

2011-08-21 11:07 VS, revision 68807

Rename wxDataViewCtrl::InvalidateColBestWidth* to UpdateColBestWidth*. The new names make it more clear that the functions don't just set an invalidated flag, but that they actually do some recalculations.

2011-08-21 11:07 VS, revision 68806

Fix autosize columns width calculation in generic wxDataViewCtrl. Column widths were recomputed too soon -- after the model changed, but before the control's own data structures were updated to reflect the change. This could lead to incorrect calculations or worse, crashes.

2011-08-21 09:45 LV, revision 68805

wxTableCtrl wxiOS tests

2011-08-21 09:45 LV, revision 68804

Parts of wxTableCtrl/wxNavigationCtrl moved to 'generic' source files

2011-08-21 09:45 LV, revision 68803

Safer wxViewController SetWindow()

2011-08-21 09:45 LV, revision 68802

wxStaticBitmap wxiOS tests

2011-08-21 09:45 LV, revision 68801

wxBitmapButton wxiOS tests

2011-08-21 09:45 LV, revision 68800

wxiOS test bitmap moved to a more generic location

2011-08-21 08:46 JC, revision 68799

Fixed a bug in reading xbm files.

2011-08-20 16:04 SJL, revision 68797

Fix history when using custom schemes in GTK.

2011-08-20 14:25 VZ, revision 68796

Add a one line script to clean patches before submitting them for review. Exclude changes to the auto-generated files using filterdiff.

2011-08-20 12:59 SJL, revision 68795

Add virtual destructors to fix GCC4 warnings.

2011-08-20 11:50 SJL, revision 68794

Another compilation fix for OSX 10.5

2011-08-20 07:09 JC, revision 68793

Merged from the trunk

2011-08-19 20:25 VS, revision 68792

Reorganize wxDataViewMainWindow::ItemAdded() for better readability. Reuse common code. No real changes.

2011-08-19 18:10 DS, revision 68791

Fixed failing test in ImageTestCase for builds made with makefiles. The recently added BMP images in tests/image/ were not being copied. Added them to test.bkl and regenerated makefiles.

2011-08-19 15:30 SJL, revision 68790

Update documentation for new library name.

2011-08-19 12:45 SJL, revision 68789

Rename web library to webview.

2011-08-19 11:15 SJL, revision 68788

Rename wxUSE_WEB to wxUSE_WEBVIEW to reflect that actually it specifically toggles the wxWebView class and associated features.

2011-08-19 05:57 DS, revision 68787

Documented wxIMAGE_OPTION_TIFF_* options that are currently in use.

2011-08-19 05:50 DS, revision 68786

Use a default photometric interpretation value of PHOTOMETRIC_MINISWHITE instead of PHOTOMETRIC_MINISBLACK for greyscale and b/w TIFF images. Closes #13194.

2011-08-19 05:47 DS, revision 68785

Added option to TIFF handler for specifying the photometric interpretation. Added option wxIMAGE_OPTION_TIFF_PHOTOMETRIC for reading and writing TIFF images. This is mostly for being able to distinguish between PHOTOMETRIC_MINISBLACK (chocolate flavour) and PHOTOMETRIC_MINISWHITE (vanilla) as currently the flavour used was fixed. It applies to greyscale as well as black and white images. Added unit tests to verify the written photometric value. Also see #13194.

2011-08-19 04:35 DS, revision 68784

Added support for saving greyscale TIFF images. When saving with a samples per pixel value of 1 the TIFF handler still treated the image as RGB, resulting in corrupted images. Handle the greyscale case and added a unit test for it.

2011-08-19 04:27 DS, revision 68783

Changed TIFF handler's monochrome conversion to look at the green channel instead of red. It's common when reducing a coloured image to greyscale or black and white to give the green channel more significance. Since we're only looking at a single channel use the green one instead of red.

2011-08-19 04:00 DS, revision 68782

Fixed crash when saving as a monochrome TIFF image with incomplete options set. When setting only wxIMAGE_OPTION_TIFF_BITSPERSAMPLE to 1 the used samples per pixel (wxIMAGE_OPTION_TIFF_SAMPLESPERPIXEL) would still be set to 3. This is invalid and confuses libtiff, resulting in a crash ("possible heap corruption" during _TIFFfree using WinXP+MSVC8). Set the used samples per pixel to 1 explicitly in cases where only bits per sample is set to 1. Added a unit test to check for this problem (and verify the bits per sample from the saved image is indeed 1).

2011-08-19 03:31 DS, revision 68781

No code changes. Renamed variable bpp (bits per pixel) in TIFF handler to what it actually represents: bps (bits per sample).

2011-08-19 03:19 DS, revision 68780

Renamed the options specific to the TIFF handler. The loading/saving options that are specific for TIFF were in the form of wxIMAGE_OPTION_<name> while all other non-generic options use the form wxIMAGE_OPTION_<imagetype>_<name>. Renamed the TIFF options to the form wxIMAGE_OPTION_TIFF_<name> and kept the old names for backwards compatibility.

2011-08-19 03:13 DS, revision 68779

improved wxImage documentation. moved description of wxIMAGE_OPTION_GIF_COMMENT from wxImage::GetOptionInt documentation to wxImage::GetOption because the value of the GIF option is a string, not int.

2011-08-19 03:09 LV, revision 68778

wxWheelsCtrl wxiOS implementation + some tests

2011-08-19 03:08 DS, revision 68777

Improved saving of TIFF monochrome images. When reducing an RGB image to black and white any non-black pixel was treated as white resulting in mostly white images. Set the threshold to 127 instead to improve the looks of saved monochrome TIFF images.

2011-08-18 19:32 JC, revision 68774

Merged from the trunk

2011-08-18 15:29 SJL, revision 68773

Remove a couple of unused forward declarations.

2011-08-18 15:15 DS, revision 68772

Fixed saving TIFF images to wxMemoryOutputStream. Libtiff attempts to seek past the end of a stream and the behaviour for this can vary per stream implementation. Fixed failure to seek by filling the gap between the end of stream and new seek position with zeroes. Enabled a unit test which so far was disabled due to wxMemoryOutputStream failing to save a TIFF because of the seeking problem. Also closes #4089.

2011-08-18 12:51 SJL, revision 68771

Add some version checks to help compiling on OSX.

2011-08-18 11:28 JC, revision 68770

samples/drawing can work

2011-08-18 11:26 SJL, revision 68769

Remove MoveWindow method.

2011-08-18 08:23 JC, revision 68768

Added code for creating cairo context in dcmemory. Samples/caret works very well. Caret rendering is good.

2011-08-18 07:52 JC, revision 68767

Fixed a bug in creating cairo_image_surface from wxImage.GetData(). Now samples/image can load and show image correctly

2011-08-17 23:01 DS, revision 68766

Improved BMP decoding. The BMP decoder did not handle images that are not stored upside down but straight up (in which case the height is negative). Also with RLE4 or RLE8 compressed images the 'end of scanline' RLE marker was not handled correctly. Fixed the issues and added a unit test for them.

2011-08-17 21:34 JC, revision 68765

Improved a little bit

2011-08-17 18:25 JC, revision 68764

Merged from trunk to fix the bug in samples/thread and samples/menu

2011-08-17 15:50 SJL, revision 68763

Return true by default under OSX WebKit.

2011-08-17 15:46 SJL, revision 68762

Correctly stop the loading animation in the sample when we veto navigation.

2011-08-17 13:19 SJL, revision 68761

Derive wxWebViewEvent from wxNotifyEvent.

2011-08-17 12:55 SJL, revision 68760

Rename LoadUrl to LoadURL. This corrects the capitalisation as it is an acronym, and brings it into line with GetCurrentURL.

2011-08-17 12:49 SJL, revision 68759

Tidy up webview.h. Remove all of the doxygen comments which have now been moved to the interface file. Organise method declarations more sensibly.

2011-08-17 12:36 SJL, revision 68758

Make a few internal methods private.

2011-08-17 12:35 VZ, revision 68757

Use correct format specifier for thread id in the sample. Thread id is an (unsigned) long, not just unsigned, so use "%lx" to print it instead of "%x" to avoid asserts in formatting code. Closes #13404.

2011-08-17 12:35 VZ, revision 68756

Restore stock item labels mistakenly removed by r68641. The patch adding separate string for the labels with mnemonics and the ones without them has somehow managed to remove entries for 10 stock ids. Restore them now. Closes #13403.

2011-08-17 12:26 SJL, revision 68755

Const correct the wxWebView api.

2011-08-17 10:38 JS, revision 68754

Better text control non-selection solution

2011-08-17 10:38 JS, revision 68753

Better text control non-selection solution

2011-08-17 09:05 JC, revision 68752

samples/image can start but the image reader seems buggy

2011-08-17 07:40 JC, revision 68751

Minor fix

2011-08-17 04:51 JC, revision 68750

samples/dialog works without a warning

2011-08-16 22:52 JS, revision 68749

Implemented non-selection of content when setting focus via the keyboard.

2011-08-16 22:51 JS, revision 68748

Implemented non-selection of content when setting focus via the keyboard.

2011-08-16 20:14 SC, revision 68747

using sizer

2011-08-16 20:13 SC, revision 68746

using sizer

2011-08-16 20:12 SC, revision 68745

fixing vertical size expansion

2011-08-16 20:00 SC, revision 68744

fixing layout for segmented control

2011-08-16 18:40 JC, revision 68743

Merged from trunk

2011-08-16 18:33 JC, revision 68741

Applied Paul's patch. DoGetAsBitmap still neends improvements

2011-08-16 18:27 SC, revision 68740

using sizers

2011-08-16 18:22 SC, revision 68739

using sizers

2011-08-16 18:20 SC, revision 68738

using sizers

2011-08-16 18:18 SC, revision 68737

using sizers

2011-08-16 18:17 SC, revision 68736

using sizers

2011-08-16 18:14 SC, revision 68735

using sizers

2011-08-16 18:14 SC, revision 68734

fixing standard icon buttons

2011-08-16 17:22 SC, revision 68733

integrating sizers

2011-08-16 17:17 SC, revision 68732

integrating sizers

2011-08-16 17:15 SC, revision 68731

integrating sizers

2011-08-16 17:15 SC, revision 68730

integrating sizers

2011-08-16 17:12 SC, revision 68729

integrating sizers

2011-08-16 17:10 SC, revision 68728

integrating Layout

2011-08-16 15:46 SC, revision 68727

adapting to new ctrl constant handling on OSX

2011-08-16 15:45 SC, revision 68726

adapting to new ctrl constant handling on OSX

2011-08-16 15:36 SC, revision 68725

adapting to new ctrl constant handling on OSX

2011-08-16 14:42 SC, revision 68724

supporting full style mask

2011-08-16 14:24 VZ, revision 68723

wxMSW compilation fix when not using PCH. Add missing "wx/menu.h" include. Coses #13399.

2011-08-16 14:17 SC, revision 68722

adjust init to standard

2011-08-16 14:17 SC, revision 68721

support for raw ctrl shortcut

2011-08-16 14:01 SC, revision 68720

emulate more arrow keys on non msw platforms

2011-08-16 14:00 SC, revision 68719

adapt defines for ctrl/command key

2011-08-16 13:55 SC, revision 68718

adapt defines

2011-08-16 09:02 PC, revision 68717

Avoid creating rect with negative size while clipping to DC size. Also, don't convert result of wxDC::GetSize() to device coords, it's already device coords.

2011-08-16 08:45 JC, revision 68716

Improved bitmap_gtk3.cpp

2011-08-16 08:34 LV, revision 68715

Disable wxViewController tests for now

2011-08-16 08:34 LV, revision 68714

Correct wxNavigationBar creation

2011-08-16 07:22 JC, revision 68713

Improved bitmap_gtk3.cpp. Now samples/opengl can run but the glcanvas doesn't show anything

2011-08-16 07:00 JC, revision 68712

Fixed a bug in destructor in bitmap_gtk3.cpp

2011-08-16 06:02 LV, revision 68711

wxNavigationBar and friends (wxNavigationItem, wxBarButton)

2011-08-16 06:02 LV, revision 68710

wxViewController wxiOS tests

2011-08-16 06:02 LV, revision 68709

More wxListBox wxiOS tests

2011-08-16 06:01 LV, revision 68708

wxListBox wxiOS tests

2011-08-16 06:01 LV, revision 68707

wxListBox events and implementation

2011-08-16 06:01 LV, revision 68706

wxSearchCtrl wxiOS tests

2011-08-16 04:45 JC, revision 68705

Fixed a bug in bitmap_gtk3.cpp. samples/combo works but seems to have memory leak. cairo stuff needs more careful releases

2011-08-16 02:40 JC, revision 68704

Fixed a bug that bit per pixel m_bpp is not set

2011-08-15 23:00 JC, revision 68703

glcanvas can be compiled

2011-08-15 18:08 JC, revision 68701

working on samples/combo. m_originalMatrix should be initialized. A bug in wxBitmap still crashes the program.

2011-08-15 15:10 SJL, revision 68700

Add a menu item linking to a custom scheme example.

2011-08-15 14:37 SJL, revision 68699

Update bakefile for new header names.

2011-08-15 14:31 SJL, revision 68698

Rename wxWebHistoryItem to wxWebViewHistoryItem.

2011-08-15 13:03 SJL, revision 68697

Rename wxWebNavigationError to wxWebViewNavigationError and wxWebNavigationEvent to wxWebViewEvent. This makes the names more consistent with other parts of wxWidgets.

2011-08-15 08:40 JC, revision 68696

wxWindowDCImpl::DoGetAsBitmap() needs to be implemented with gtk+3. But how to get the bitmap of a widnowDC in gtk+3?

2011-08-14 22:15 JC, revision 68695

Merged from trunk

2011-08-14 21:39 VZ, revision 68694

Fix return value of wxMBConvUTF8::ToWChar() when not using MAP_INVALID_UTF8_NOT. wxMBConvUTF8::ToWChar() was off by 1 when the input length was explicitly specified, the extra NUL should only be added in the implicit length case. This bug didn't occur for the default wxMBConvUTF8 object as it simply forwarded to the base class wxMBConvStrictUTF8 implementation but it happened when MAP_INVALID_UTF8_TO_OCTAL or MAP_INVALID_UTF8_TO_PUA was used.

2011-08-14 17:43 SC, revision 68693

fixing comment

2011-08-14 17:42 SC, revision 68692

fixing open application event handling, fixes #13397

2011-08-14 17:41 SC, revision 68691

adding two missing strings (used in docview)

2011-08-14 14:25 SJL, revision 68690

Add missing bakefile from previous commit.

2011-08-14 14:15 SJL, revision 68689

Rename wxWebFileHandler to wxWebViewArchiveHandler, wxWebHandler to wxWebViewHandler. Update the documentation and the sample. Add a constructor taking a wxString to specify the scheme in wxWebViewHandler.

2011-08-14 13:55 SC, revision 68688

using proper cmd constant

2011-08-14 02:38 JC, revision 68687

Fixed a bug in gtk/renderer.cpp. Now samples/artprov works

2011-08-13 18:17 PC, revision 68685

simplify global cursor setting

2011-08-13 18:01 SJL, revision 68684

Merge in from trunk r68626 - r68683

2011-08-13 17:45 SJL, revision 68683

Add various selection menu items to the sample.

2011-08-13 16:53 SJL, revision 68682

Add Run Script menu option to the sample.

2011-08-13 16:11 SJL, revision 68681

Add history list to the sample.

2011-08-13 15:54 VZ, revision 68680

Fix bitmap position attribute name in XRC handler. Bitmap position attribute was called "bitmapposition" in the documentation and in the code that generated an error message for a wrong value in it but was inexplicably called "direction" in the code that really looked it up. This seems to be just a straight typo from the original r61065. Surprising as it is that it wasn't noticed before, do correct it now.

2011-08-13 12:07 SJL, revision 68679

Call Dismiss rather than Show(false) on the infobar to correct the layout.

2011-08-13 11:41 SJL, revision 68678

Fix loading history items under GTK. The wrong function was being used.

2011-08-13 00:58 JC, revision 68676

Minor change

2011-08-13 00:30 LV, revision 68675

wx[Action|Alert]SheetDialog wxiOS tests

2011-08-13 00:30 LV, revision 68674

wxScrolledWindow wxiOS tests

2011-08-13 00:30 LV, revision 68673

wxSegmentedCtrl SetButtonBackgroundColour

2011-08-13 00:30 LV, revision 68672

wxSegmentedControl changing/changed events

2011-08-13 00:30 LV, revision 68671

wxSegmentedCtrl tests

2011-08-13 00:30 LV, revision 68670

wxPageCtrl wxiOS tests

2011-08-13 00:29 LV, revision 68669

wxPageCtrl button click event

2011-08-13 00:29 LV, revision 68668

wxPageCtrl implementation bits

2011-08-13 00:29 LV, revision 68667

wxGauge wxiOS tests

2011-08-13 00:29 LV, revision 68666

wxToolBar wxiOS tests

2011-08-13 00:29 LV, revision 68665

wxStaticText background colors

2011-08-13 00:29 LV, revision 68664

wxNavigationCtrl tests

2011-08-13 00:29 LV, revision 68663

wxCheckBox event tests

2011-08-13 00:29 LV, revision 68662

wxTextCtrl read-only support

2011-08-13 00:29 LV, revision 68661

wxWebCtrl event tests

2011-08-13 00:29 LV, revision 68660

wxCheckBox wxiOS tests

2011-08-13 00:29 LV, revision 68659

wxWebKitCtrl wxiOS tests

2011-08-12 23:53 LV, revision 68658

wxTextCtrl wxiOS tests

2011-08-12 23:53 LV, revision 68657

wxStaticText wxiOS tests

2011-08-12 23:53 LV, revision 68656

Expanded wxNotebook test cases

2011-08-12 23:53 LV, revision 68655

Expanded wxNavigationCtrl test coverage

2011-08-12 23:40 JC, revision 68654

Minor changes

2011-08-12 18:10 PC, revision 68653

allow creating wxDC for un-realized window

2011-08-12 16:09 VZ, revision 68652

No changes, just remove gratuitous inefficiency from generic wxDVC. Don't return wxDataViewMainWindow::m_selection array by value, returning a const reference to it is enough and avoids completely unnecessary memory allocations and copying of potentially large amounts of data. Also make wxDataViewMainWindow::GetSelections() const.

2011-08-12 16:09 VZ, revision 68651

Fix compilation of generic wxDVC code when not using STL containers. wx sorted containers don't implement iterators so use indices to iterate over wxDataViewMainWindow::m_selection, just as r68613 already did in another place. Closes #13388.

2011-08-12 12:49 SJL, revision 68650

Update documentation about custom schemes and virtual file systems.

2011-08-12 12:44 SJL, revision 68649

Fix history in wxWebViewIE when using a custom file scheme.

2011-08-12 11:35 SJL, revision 68648

Use the data scheme to load resources in the WebKitGTK+ implementation, rather than temporary files.

2011-08-12 07:45 PC, revision 68647

remove unneeded gdk_window_get_pointer() call

2011-08-12 07:33 PC, revision 68646

pass proper window to gdk_window_get_pointer(), NULL does not work with GTK3

2011-08-11 20:56 SJL, revision 68644

Add support for custom scheme handling and virtual file systems to the OSX WebKit implementation.

2011-08-11 19:13 JC, revision 68643

Applied Paul's patch to make wxPizza scroolable in gtk+3

2011-08-11 14:21 SJL, revision 68642

2011-08-11 12:56 VZ, revision 68641

Use separate strings for stock labels with and without mnemonics. Obtaining the string without mnemonics by simply removing "&" characters from the string containing mnemonics doesn't work for some languages, notably Chinese where the convention is to use "Chinese Text (&M)" for the labels with "M" being the ASCII mnemonic and just "Chinese Text" and not "Chinese Text (M)" should be used if wxSTOCK_WITH_MNEMONIC flag is not specified. Fix the fundamental problem by using separate strings for the two cases. Translations still need to be updated to really correct the labels appearance.

2011-08-11 12:54 SJL, revision 68640

Fix typo in last commit

2011-08-11 12:49 SJL, revision 68639

Rename delegates to try and stop name clashes, probably with wxWebKitCtrl.

2011-08-11 10:43 SC, revision 68638

adjusting include styles

2011-08-11 10:43 SC, revision 68637

adjusting include styles

2011-08-11 10:42 SC, revision 68636

fixing osx_carbon

2011-08-11 10:24 SC, revision 68635

fixing osx_cocoa, there's a reason m_peer is private in the base class

2011-08-11 10:14 SC, revision 68634

fixing osx_cocoa

2011-08-11 02:39 DS, revision 68632

Fixed wxOSX build. Since r68621 dataview.cpp didn't compile anymore (at least with wxOSX-Carbon). Fixed by explicitly using wxDataViewItem's void * constructor in a few cases.

2011-08-10 23:57 VZ, revision 68631

Basque translations update from Xabier Aramendi.

2011-08-10 23:07 VZ, revision 68630

Also regenerate configure after wxWeb-related bakefile changes. Configure must be rebuilt after any changes to autoconf_inc.m4 but this wasn't done by the previous commit.

2011-08-10 22:25 JC, revision 68629

Added wxpizza_set_property and wxpizza_get_property for scroll policy

2011-08-10 22:11 JC, revision 68628

Added wxpizza_set_property and wxpizza_get_property

2011-08-10 20:32 SJL, revision 68627

Complete rebake with web libraries to allow easier testing.

2011-08-10 20:10 SJL, revision 68626

Merge in from trunk r64802 - r68625

2011-08-10 19:57 JC, revision 68625

Merged the trunk

2011-08-10 19:46 JC, revision 68624

Working on scrollable window. Dataview can be built with gtk+2.0

2011-08-10 17:24 VS, revision 68623

Add some basic tests for wxDataViewCtrl selection handling.

2011-08-10 17:24 VS, revision 68622

Fix selection handling wxDataViewMainWindow::ItemDeleted(). The code to update m_selection was too aggressive in the virtual list case, when it simply cleared it, and broken for single-item selection in the general case. Fixed to recompute selection properly.

2011-08-10 17:21 VS, revision 68621

Make the wxDataViewItem(void*) constructor explicit. Not having this as an implicit one made it possible to create wxDataViewItem from any pointer without realizing it, leading to hard to debug crashes later.

2011-08-10 16:06 JS, revision 68620

Added the ability to deselect attributes in the font dialog

2011-08-10 16:06 JS, revision 68619

Added the ability to deselect attributes in the font dialog

2011-08-10 08:46 JC, revision 68618

Working on scrollable window

2011-08-10 00:17 DS, revision 68617

Added NSApplicationDelegate's openFiles for wxOSX-Cocoa. openFiles (available since OS X 10.3) replaces using the openFile method. It allows for more convenient handling of multiple drops and knowing in advance how much files/folders are dropped instead of openFile with which you only get to respond to a single file/folder drop at a time. By default openFiles calls the newly added MacOpenFiles which calls MacOpenFile multiple times, so ordinarily the behaviour is backwards compatible (both on wxOSX Cocoa and Carbon). The openFile instance method has been removed because it doesn't seem to be called anymore: neither when dropping a single file on the application in the dock or Finder nor when passed as a command-line argument.

2011-08-09 21:19 JC, revision 68616

Re-baked to get rid of the wired symbols in samples

2011-08-09 17:46 VZ, revision 68614

Don't reset wxTLW::m_iconized when hiding the window in wxMSW. Calling Hide() on an iconized window wrongly reset its m_iconized flag but hiding the window shouldn't affect it. Closes #13373.

2011-08-09 13:35 VS, revision 68613

Don't use iterators with wxDataViewSelection. They aren't implemented when using wx's homegrown sorted containers and adding support is probably more trouble than it's worth. Fixes #13388.

2011-08-09 13:25 VZ, revision 68612

No changes, just correct the helpview sample name in comment. "printing.cpp" was used for whatever reason.

2011-08-09 03:35 LV, revision 68611

Scope comments in wxiOS test project -- further attempt to figure out how much exactly is done

2011-08-08 20:44 JC, revision 68607

Added GTK+3 support

2011-08-08 17:15 VZ, revision 68606

Don't manually centre dialogs created with default position in wxMSW. We always centered the dialogs on the main display which was wrong if the parent window was on another one. Instead of fixing it, simply don't centre them at all and let Windows position them, there is no reason to change the default behaviour. Closes #13387.

2011-08-08 17:12 SJL, revision 68605

Use shared pointers to hold wxWebHandlers throughout.

2011-08-08 16:24 SJL, revision 68604

Add wxWebView sample to documentation.

2011-08-08 16:03 SJL, revision 68603

Improve the detailed description in the documentation.

2011-08-08 14:18 SJL, revision 68602

Note that CanCut / CanCopy / CanPaste are not currently supported on the OSX WebKit implementation.

2011-08-08 14:12 SJL, revision 68601

Fix a bunch of spelling mistakes cause by an early commit.

2011-08-08 14:05 SJL, revision 68600

Add backend descriptions for all backends to the documentation.

2011-08-08 13:22 SJL, revision 68599

Add a section about async notifications to the documentation.

2011-08-08 12:23 VS, revision 68598

Check for invalid items in generic wxDataViewCtrl::GetSelections(). This shouldn't normally happen, but if some bug causes it, detect it.

2011-08-08 12:11 VS, revision 68597

Remove selection methods taking int from generic wxDataViewCtrl. Current public API uses wxDataViewItem, this code dated back to 2.8. They were now protected instead of public, the code wasn't used anywhere and wasn't portable, it existed only in the generic version.

2011-08-08 11:32 VZ, revision 68596

Added wxTopLevelWindow::MSWGetSystemMenu() method. Also generate events corresponding to WM_SYSCOMMAND messages for the custom items of the system menu. Add a small snippet to test the new functionality to the dialogs sample.

2011-08-08 11:32 VZ, revision 68595

Added private wxMenu::MSWNewFromHMENU() method. Add a method allowing creation of a wxMenu object from a native menu handle. This will be used to implement access to the system menu in an upcoming commit but could also be useful for other purposes.

2011-08-08 10:33 VZ, revision 68594

Fix compilation with g++ 4.7 (prerelease). The workaround for a bug in g++ 3.5 breaks compilation with 4.7 which implements two-phase lookup correctly, so disable this workaround for 4.7 and later. We could probably even only enable it for 3.x but this doesn't really matter as previous 4.x releases don't have problems with this anyhow. Closes #13385.

2011-08-08 09:41 JC, revision 68593

samples/animate works

2011-08-08 08:15 JC, revision 68592

Ported these two files to wxgtk3

2011-08-08 03:15 JC, revision 68591

Working on porting wxAdvance features from wxgtk2 to wxgtk3. wxBitmap needs to be fixed very soon to make it possible

2011-08-08 02:22 JC, revision 68590

Added buttion->event_window compatibility

2011-08-08 01:34 JC, revision 68589

Added anybutton.cpp to wxgtk3

2011-08-08 01:22 JC, revision 68588

Changed the test order of WXGTK=3 and WXGTK=2 in So far wxgtk3 doesn't support gtkprint or gnomeprint

2011-08-08 01:19 JC, revision 68587

Added anybutton.cpp/anybutton.h

2011-08-07 21:31 VZ, revision 68586

Use 0 instead of NULL to avoid g++ warning. g++ (usefully) warns when assigning NULL to a non-pointer in wxGDIPlusRenderer. Just use 0 instead of NULL to avoid the warning.

2011-08-07 20:32 JC, revision 68585

Still use gtk2 drawing function to draw the size grip of statusbar. gtk3.0 equivalent function needs more effort to make it right

2011-08-07 20:19 JC, revision 68584

Added a Perl script to generate Makefile for samples supporting 'make -j8', i.e. concurrent make. See the comment in the code for more details

2011-08-07 19:29 VS, revision 68583

Use ChangeCurrentRow() in wxDataViewMainWindow::ItemDeleted().

2011-08-07 19:29 VS, revision 68582

Clean up wxDataViewMainWindow::ItemDeleted() a bit. Reuse shared code instead of duplicating it. No real changes.

2011-08-07 19:29 VS, revision 68581

wxDataViewSelection private type doesn't need to be exported.

2011-08-07 19:29 VS, revision 68580

Remove unused ItemList type from datavgen.cpp.

2011-08-07 17:32 PC, revision 68579

fix another use of GtkFixedChild

2011-08-07 11:24 SJL, revision 68578

Remove some out of date comments.

2011-08-07 11:19 SJL, revision 68577

Remove the WebView - wxWebViewWebKit map as our policy delegates already held a pointer to the control.

2011-08-07 10:51 JC, revision 68576

Fixed a GTK+ size_allocate bug. samples/minimal is working OK now

2011-08-07 01:02 JC, revision 68575

wxaui can be built

2011-08-06 21:37 JC, revision 68574

Moved files in src/gtk3 to src/gtk in order to browse easily in vim. They might be moved back in future

2011-08-06 15:55 SJL, revision 68573

Remove old WXCOCOA code.

2011-08-06 15:32 SJL, revision 68572

Implement GetSelectedSource for the OSX WebKit backend.

2011-08-06 14:58 SJL, revision 68571

Implement SelectAll for OSX WebKit.

2011-08-06 14:48 SJL, revision 68570

Implement GetPageText for the OSX WebKit implementation.

2011-08-06 14:20 SJL, revision 68569

Implement ClearSelection for the OSX WebKit backend.

2011-08-06 13:38 TIK, revision 68568

Handle positional printf arguments. Fixes #10965.

2011-08-06 09:15 JC, revision 68567

Migrated window resize grip drawing function from gtk2.0 to gtk3.0

2011-08-06 07:55 JC, revision 68566

Picked up the latest updates from trunk

2011-08-06 07:38 JC, revision 68565

Picked up the latest updates from trunk

2011-08-05 21:12 SJL, revision 68564

Remove string conversion functions and use the wx provided ones.

2011-08-05 21:02 VZ, revision 68563

Implement wxFileType::GetOpenCommand() in wxOSX. This method used to work in 2.8 but was unimplemented in 2.9. Restore more or less the old implementation using the data that we already have in wxMimeTypesManager anyhow.

2011-08-05 20:58 SJL, revision 68562

Remove redundant InternalLoadURL method.

2011-08-05 20:41 SJL, revision 68561

Remove now unnecessary comment.

2011-08-05 20:23 SJL, revision 68560

Remove SetPageTitle and GetPageTitle and make GetCurrentTitle actually return the page title.

2011-08-05 18:40 SJL, revision 68559

Implement GetBackwardHistory, GetForwardHistory and LoadHistoryItem for OSX WebKit.

2011-08-05 17:37 SJL, revision 68558

Implement ClearHistory using the built in WebBackForwardList rather than a shared WebHistory on OSX.

2011-08-05 15:56 SJL, revision 68557

Add a WebHistory to the OSX WebKit backend and implement ClearHistory.

2011-08-05 15:25 SJL, revision 68556

Remove now unused GetSelection from the OSX WebKit backend.

2011-08-05 15:17 SJL, revision 68555

Add undo / redo support to OSX WebKit.

2011-08-05 11:06 SJL, revision 68554

Add support for loading resources in custom schemes for the WebKitGTK+ backend.

2011-08-05 01:50 LV, revision 68553

wxNavigationCtrl wxiOS tests

2011-08-05 01:49 LV, revision 68552

wxNotebook support for non-system tabs

2011-08-05 01:49 LV, revision 68551

wxNotebook wxiOS InsertPage, DeletePage, DeleteAllPages tests

2011-08-05 01:48 LV, revision 68550

Increased wxiOS tests logging level

2011-08-05 00:53 VZ, revision 68537

Add support for wxHELP button to wxMessageDialog. Implement support for wxHELP for wxMSW, wxGTK and wxOSX/Cocoa (at least when showing the message box from the main thread, there doesn't seem to be any way to show more than three buttons with CFUserNotificationDisplayAlert() so "Help" button is not supported when using it). This is useful not only on its own, i.e. to allow the user to ask for help, but also because it brings the total number of buttons supported by the message dialog to 4, meaning that more choices can be offered to the user (which is rarely, but not quite never, useful).

2011-08-04 20:46 SJL, revision 68523

Add documentation for virtual file system support in wxWebView.

2011-08-04 18:12 VZ, revision 68522

Add missing header for minimalistic builds not using PCH. wxWindow might not be fully declared in dcbase.cpp but we need its full declaration for wxDCImpl::InheritAttributes() so explicitly include wx/window.h -- while this is usually already included from somewhere else it might not be in minimal builds with a lot of features disabled. Closes #13380.

2011-08-04 18:12 VZ, revision 68521

Compilation fixes for wxUSE_GEOMETRY==0 build. Add missing wxUSE_GEOMETRY checks to wxAffineMatrix2D-related code. Closes #13379.

2011-08-04 18:12 VZ, revision 68520

Use wxWindowMSW instead of wxWindow to fix wxUniv/MSW compilation. wxFindWindowAtPoint() only returns wxWindowMSW, not the derived wxWindow, in wxUniv build so assign its return value to wxWindowMSW to avoid compilation problems in it. Closes #12534.

2011-08-04 15:19 VZ, revision 68519

Avoid unwanted line break in wxDataViewListModel::GetCount() docs. Using "i.e." in the brief Doxygen comment makes it end it after the second period and results in truncated brief description and an unwanted line break in the full description. Just avoid using periods for now inside the brief description. Maybe a better solution could be found in the future.

2011-08-04 14:31 JS, revision 68518

Added Page Break control to spacing page

2011-08-04 14:31 JS, revision 68517

Added Page Break control to spacing page

2011-08-04 10:54 SJL, revision 68516

Update wxWebFileHandler to handle paths with fragments correctly, some backends pass this to the handler and some don't so we strip it if necessary.

2011-08-04 10:30 SJL, revision 68515

Fix recursion problems when loading pages from a virtual file system using the WebKitGTK+ backend. Navigating through pages in an archive now works correctly.

2011-08-04 02:49 LV, revision 68514

Some wxNotebook tests

2011-08-04 02:49 LV, revision 68513

wxTableCell checks for bitmap validity

2011-08-04 02:49 LV, revision 68512

Most UIButtons stopped showing themselves, sizeToFit reports (0; 0)

2011-08-03 20:51 SJL, revision 68509

Rename wxWebFileHandler name from test to file.

2011-08-03 20:31 SJL, revision 68507

Rework IE virtual file system support to use new syntax. Remove now unused code for resolving links ourselves, we can let the backend resolves them itself.

2011-08-03 17:46 JS, revision 68506

Return sensible major and minor version numbers for Mac OS X

2011-08-03 13:41 JS, revision 68505

Outline and line spacing can now be reset via the UI; format dialog layout improvements

2011-08-03 13:40 JS, revision 68504

Outline and line spacing can now be reset via the UI; format dialog layout improvements

2011-08-03 11:29 SJL, revision 68503

Initial work on virtual file system support for the WebKitGTK+ backend. It now supports loading single pages from the VFS system.

2011-08-03 02:45 VZ, revision 68502

Fix bug with TAB being able to switch focus between MDI frames. The keyboard navigation code correctly checked that TAB was not propagated above the TLW containing the window in which the key was pressed to avoid switching focus between different TLWs by pressing TAB. However wxMDIChildFrame is not a TLW and so it was possible to switch focus between two different MDI child frames by pressing TAB. This was unexpected and counterintuitive, especially because the frame receiving focus was not even activated (which might be another bug). Fix this by adding a new wxWindow::IsTopNavigationDomain() virtual method that can be overridden to indicate that a window is a self-contained "keyboard navigation domain" and that keyboard events shouldn't propagate outside of it and override it in both wxTopLevelWindow and wxMDIChildFrame to ensure that it behaves correctly.

2011-08-03 02:45 VZ, revision 68501

No real changes, just rename a variable. "focussed" spelling is unusual and inconsistent with "focused" used in many other places in the same file, so renamed "focussed_child_of_parent" and also use standard camelCase naming convention for it.

2011-08-02 22:23 RD, revision 68495

If -1 is passed to InsertItem for the imageIndex then don't set wxLIST_MASK_IMAGE

2011-08-02 21:49 RD, revision 68494

Initialize the native printer info for ConvertFromNative if it hasn't been done already.

2011-08-02 21:46 VZ, revision 68493

Don't un-maximize the window when Iconize(false) is called in wxMSW. Calling Iconize(false) on a maximized window restored it to its normal state instead of doing nothing as expected. Return immediately from Iconize() if the requested state is already the current one to avoid it. Closes #13373.

2011-08-02 21:46 VZ, revision 68492

Fix wxSocket::WaitForAccept() in blocking mode. When wxSocket::WaitForAccept() was called from another thread or on a socket with wxSOCKET_BLOCK flag it didn't work because it called wxSocketImpl::Select() with wxSOCKET_CONNECTION_FLAG which was only handled for the client sockets in this function. Handle it now for the server ones too, this should allow blocking server sockets to work again. Closes #12836.

2011-08-02 21:46 VZ, revision 68491

Remove documentation of non-existent wxTextAttr::CreateFont(). This method doesn't exist (only GetFont() does), so don't document it. Closes #13372.

2011-08-02 21:41 RD, revision 68490

Revert r68416 which should not have been committed to this tag.

2011-08-02 16:43 JS, revision 68489

Added semicolon needed by MSVC++ 6

2011-08-02 11:44 SJL, revision 68488

Implement HasSelection for the OSX WebKit backend.

2011-08-02 11:21 SJL, revision 68487

Add EnableHistory support to the OSX WebKit backend.

2011-08-01 19:57 SJL, revision 68485

Fix warnings for the OSX WebKit backend.

2011-08-01 19:41 SJL, revision 68484

Fix compilation for OSX backend.

2011-08-01 17:49 SJL, revision 68483

Add missing wxRTTI macros and fix incorrect ones.

2011-08-01 16:05 SJL, revision 68482

Hide the infobar in the sample if we start navigating to another page.

2011-08-01 15:20 SJL, revision 68481

Fix remaining warnings in ie backend.

2011-08-01 15:09 SJL, revision 68480

Fix all the unused variable warnings in the sample.

2011-08-01 14:54 SJL, revision 68479

Make web sample XPMs const to fix compiler warnings on gcc.

2011-08-01 14:35 SJL, revision 68478

Fix a couple of warning that crept back into the GTK backend.

2011-08-01 12:10 SJL, revision 68477

Add missing lines to This properly fixes compilation under configure based environments. Also update the include guards for the wxWebHistoryItem files.

2011-07-31 17:37 SJL, revision 68474

Rework the GTK WebKit backend history to remove the need for the map between wxWebHistoryItems and WebKitWebHistoryItems.

2011-07-31 16:06 SJL, revision 68473

Split wxWebHistoryItem headers out into separate files for each backend. This will allow us to dramatically reduce the amount of code in the GTK history implementation and implement it and OSX history support more cleanly.

2011-07-31 15:25 VS, revision 68472

Silence Clang warning about numeric_limits<> specialization. libstdc++ (which is used by Clang) defines numeric_limits<> as a struct and Clang issues a warning about our specialization that uses 'class'. As libstdc++ developers have no intention of fixing this, silence the Clang warning by using 'struct' for it.

2011-07-31 15:25 VS, revision 68471

Disable symbols visibility support for the Clang compiler. Even Clang++ shipped with Xcode 4.1 still can't handle visibility of non-inline methods in exported template classes if the default visibility is 'hidden'. Disable visibility support for Clang for now, we'll revisit it in the future.

2011-07-31 14:19 VZ, revision 68470

Correct typo in wxArray::insert() fix of r68468. A wrong variable was mistakenly used. Closes #13371.

2011-07-31 12:50 SJL, revision 68469

Simplify the wxWebFileHandler code by using a map to store the query string and manipulate it.

2011-07-31 01:38 VZ, revision 68468

Fix crash in wxArray::insert() overload taking iterator range. The iterator passed as argument could be invalidated by the function itself, update it before using it. Closes #13371.

2011-07-30 23:54 VZ, revision 68467

Generate events with WXK_NONE Unicode keys for non-characters in wxOSX. The keyboard keys not corresponding to real characters, such as cursor arrows or function keys, must generate wxKeyEvents with WXK_NONE as Unicode key code to make it possible to distinguish them from the printable characters but wxOSX generated events with valid Unicode key codes for them instead. Avoid this by excluding Unicode key codes corresponding to code points in the Unicode private use area: while this doesn't seem to be documented anywhere, all non-printable characters seem to have their Unicode representation inside it. This change brings wxOSX keyboard event generation in line with the other ports and, as a side effect, also closes #12423.

2011-07-30 23:54 VZ, revision 68466

Avoid bogus focus loss event when wxTextCtrl is modified in wxOSX. A wxEVT_KILL_FOCUS event was generated when wxTextCtrl::WriteText() was called in wxOSX, even though the control didn't lose focus at all in this case. This was completely unexpected and thoroughly confused wxGrid code which closed the in place editor immediately after showing it because of this (this was perhaps only the case since r68319 but the changes there were correct so they only masked the real bug). Avoid this bogus event by remembering the NSView currently being programmatically modified and not doing anything in textDidEndEditing notification if it is generated for this view.

2011-07-30 23:54 VZ, revision 68465

Improve wxTextCtrl::GetNumberOfLines() unit test and documentation. First, enable execution of the Lines() wxTextCtrl unit test case under wxOSX as it passes since the fix in the previous commit. Do add a test for GetNumberOfLines() that currently doesn't work in the same way under all platforms -- but with this test we at least can be sure how does it work exactly where. Also mention the current discrepancy in this function behaviour in the documentation. See #12366. Fix Lines() wxTextCtrl unit test to pass under wxGTK too.

2011-07-30 23:54 VZ, revision 68464

Fix off by one error in wxTextCtrl::GetLineLength() in wxOSX. The trailing new line shouldn't be counted in the line length.

2011-07-30 23:54 VZ, revision 68463

Fix stock accelerators handling in wxOSX. No modifiers were used for stock accelerators, i.e. Append(wxID_NEW) resulted in an item with the label "New" and plain "N" as accelerator in wxOSX. This was due to wxACCEL_CMD not being handled in wxAcceleratorEntry::ToString() so map it to the same prefix as wxACCEL_CTRL there, this is enough to make the accelerators work even though it's not clear whether this is really the best thing to do or if we should use a separate "Cmd+" prefix for it (and recognize it in Parse() too then) as otherwise it's unclear why do we have wxACCEL_CMD at all, it just seems to be treated identically to wxACCEL_CTRL everywhere.

2011-07-30 19:40 VZ, revision 68462

Emphasize that wxStandardPaths must not be created directly. wxStandardPaths::Get() must be used instead as the correct object to use might have a different type. See #11239.

2011-07-30 16:22 SJL, revision 68461

Overhaul wxWebHandler naming to try and make it consistent with the rest of wxWidgets. Split wxWebFileHandler into its own file.

2011-07-30 13:30 VZ, revision 68460

Get rid of ugly wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST macro. Replace it with wxWindowWithItems<> template class which takes care of disambiguating between the two inherited Get/SetClientXXX() versions and use it as a base class in all clases that previously used the macro.

2011-07-30 13:30 VZ, revision 68459

Resolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox. Use wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST for wxOSX/Cocoa too, not only for wxOSX/Carbon. This macro adds methods to explicitly disambiguate between the two inherited versions of each GetClientXXX() method, the one from wxItemContainer and the other one from wxEvtHandler. Closes #11637.

2011-07-30 13:26 SJL, revision 68458

Add new wxEVT_COMMAND_WEB_VIEW_TITLE_CHANGED event. Implement for all backends, extend the sample to demonstrate it and document. Also update some copyright notices.

2011-07-29 17:11 VZ, revision 68450

Add wxTextCtrl::PositionToCoords() functions for wxMSW and wxGTK. The new method allows to find the coordinates in pixels of the given character in a text control. Closes #13221.

2011-07-29 12:33 SJL, revision 68449

Add CombineURIs implementation for wxWebFileProtocolHandler. Update the IE backend to use it. Using the IE backend navigating through zip archives is now functional, including loading resources and links.

2011-07-28 19:22 PC, revision 68448

fix child allocations in size_allocate: can't use GtkFixedChild

2011-07-28 18:58 SJL, revision 68447

Tidy up the include guards for the various wxWebView header files.

2011-07-28 18:49 SJL, revision 68446

Move the wxWebFileProtocolHandler from the IE backend to the common source, add the RegisterProtocol method to all classes (as a stub in GTK and OSX). Register the file protocol handler in the sample for testing purposes.

2011-07-28 18:08 SJL, revision 68445

Initial implementation of wxWebProtocolHandler and wxWebFileProtocolHandler for the IE backend. This allows browsing of local files and files in zip archives when using a query string which specifies the protocol and path.

2011-07-28 07:35 PC, revision 68444

configuration and build fixes

2011-07-28 05:26 JC, revision 68443

Fixed a minor bug

2011-07-28 01:19 LV, revision 68442

wxMobile test(ing) project, created in order to make sure all features work on wxiOS

2011-07-28 01:19 LV, revision 68441

wxButton, wxTableCtrl fixes to support properties

2011-07-28 01:19 LV, revision 68440

Enforced GCC 4.2 on Xcode mobile projects

2011-07-27 14:35 JS, revision 68438

Compile fix

2011-07-26 23:37 VZ, revision 68437

Mention wxGTK wxAnimation implementation limitations in the docs. The native GTK implementation doesn't provide information about the frames count nor access to individual frames. See #13365.

2011-07-26 21:41 JC, revision 68435

Made wxgtk3 can also be built with gtk2

2011-07-26 19:43 JC, revision 68434

Removed unnecessary #ifdef

2011-07-26 18:41 JC, revision 68433

Merged to the trunk head

2011-07-26 18:11 SJL, revision 68432

Very basic implementation of IInternetProtocolInfo, this will allow us to correctly parse links in virtual file systems.

2011-07-26 17:34 JC, revision 68431

Merged to the trunk head

2011-07-26 17:23 JC, revision 68430

Merged to the trunk head

2011-07-26 15:45 SJL, revision 68429

Add a couple of missing forward declarations.

2011-07-26 15:14 SJL, revision 68428

We always let the user handle new window events so set the policy appropriately in the WebViewGTK+ backend.

2011-07-26 13:44 SJL, revision 68427

Fix compilation errors under OSX.

2011-07-26 13:31 VZ, revision 68426

Compilation fix: include wx/event.h from wx/containr.h. We now need wxEVT_XXX constants declarations in this file (at least when not wxHAS_NATIVE_TAB_TRAVERSAL) so include wx/event.h to fix PCH-less build of wxOSX.

2011-07-26 09:51 JC, revision 68425

Updated version number to 2.9.3. More src merges will be needed to catch up the head

2011-07-26 09:35 JC, revision 68424

Merged to the trunk head

2011-07-26 09:24 JC, revision 68423

Merged to the trunk head

2011-07-26 09:13 JC, revision 68422

samples/drawing compiled with wxgtk3

2011-07-26 01:31 DS, revision 68421

Fixed wxOSX-Cocoa compilation. OS X' wxComboBox::Init does not exist anymore since r68366 but an implementation still was present in combobox_osx.cpp which is used in Cocoa compilation. Removed the function.

2011-07-26 00:31 DS, revision 68420

Fixed containr.h compilation with gcc. At least apple-gcc 4.0 and 4.2 gave a compilation error on the three Connect calls in containr.h, insisting (unless using -fpermissive) on a declaration of Connect because there are no arguments to it that depend on a template parameter. Fixed by prepending BaseWindowClass to the Connect calls. Regression since r68363.

2011-07-25 20:57 RD, revision 68416

Initialize the native printer info for ConvertFromNative if it hasn't been done already.

2011-07-25 19:14 JC, revision 68403
  • D /wxWidgets/branches/SOC2011_GTK3/include/wx/gtk/dcclient_gtk2.h
  • D /wxWidgets/branches/SOC2011_GTK3/include/wx/gtk/dcmemory_gtk2.h
  • D /wxWidgets/branches/SOC2011_GTK3/include/wx/gtk/dcscreen_gtk2.h

Removed duplicated files

2011-07-25 18:54 SJL, revision 68402