Changelogs

Overview

These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2013-07-01 02:49 VZ, revision 74316

Fix missing documentation for several GDI functions. The documentation for wxGetClientDisplayRect(), wxGetDisplayPPI(), wxGetDisplaySize() and wxGetDisplaySizeMM() didn't appear in the output because they were documented as "overloads" of the corresponding functions without "Get" prefix inside an @addtogroup Doxygen macro and apparently this is not supported. Simply document them separately to fix this.

2013-06-29 19:16 PC, revision 74315

fix assertion failure when string transform is requested before entry is set

2013-06-29 14:53 VZ, revision 74314

Forward events to active child in wxMDIParentFrameBase, not only wxMSW. Menu, toolbar and update UI events should be forwarded to the active child under all platforms in MDI applications and not only MSW, so move TryBefore() overload from wxMSW wxMDIParentFrame to wxMDIParentFrameBase. This should make things more consistent in general and notably fixes the lack of toolbar events in wxDocChildFrame since the changes of r73928.

2013-06-29 14:53 VZ, revision 74313

Fix VC6 compilation of wxRichTextTable code. In addition to breaking VC6 build, the code also rather strangely declared "row" inside a for loop first and then declared it in the function scope. Leave just the second declaration.

2013-06-29 14:52 VZ, revision 74312

Add support for horizontal mouse wheel scrolling in wxSTC. Handle horizontal mouse wheel scrolling events in a similar (but simpler, as they always scroll and never change the font size) way to the vertical ones in wxStyledTextCtrl. Closes #15266.

2013-06-29 14:52 VZ, revision 74311

Use more readable wxListCtrl::AppendColumn() in the samples. Call this function instead of InsertColumn() with incrementing indices. See #15265.

2013-06-29 14:52 VZ, revision 74310

Use wxListColumnFormat for wxListCtrl::AppendColumn() format argument. This is safer than using just an untyped int. Closes #15265.

2013-06-29 14:51 VZ, revision 74309

Fix wxIMAGE_QUALITY_HIGH definition. Embarrassingly, wxIMAGE_QUALITY_HIGH was never used as it had the same value as wxIMAGE_QUALITY_BILINEAR due to the changes to these constants in r67203. After fixing its value in the enum, also change the switch on this enum elements to avoid g++ warnings about unhandled enum values. See #12845, #15281.

2013-06-29 14:51 VZ, revision 74308

Fix dnd events in generic wxDataViewCtrl when moving out of the window. The wxEVT_DATAVIEW_ITEM_BEGIN_DRAG event wasn't triggered if the mouse moved below the last item or beyond the last column of a control or left the window completely. Fix this by checking for the beginning of the drag before checking for the mouse being out of items area and also force the drag to start if the mouse is leaving the window as we would never do it otherwise. Closes #15258.

2013-06-29 14:51 VZ, revision 74307

Don't append just a dot in wxGTK wxFileDialog if no default extension. We always appended the default extension (for the currently selected pattern) to the file name but this was the wrong thing to do if there was no extension at all as this resulted in appending just a dot to the filename. So only do it if there is an extension to append. Closes #15285.

2013-06-29 14:50 VZ, revision 74306

Allow resetting background colour of wxHtmlContainerCell. Don't use m_UseBkColour flag which remained always set once SetBackgroundColour() had been called, but just rely on m_BkColour itself being valid to determine whether we should use it. This allows to reset the background colour after setting it. Closes #15287.

2013-06-29 13:00 VZ, revision 74305

Italian translations update from Roberto Boriotti.

2013-06-29 12:06 JS, revision 74304

Applied patch #15286: documentation and col/rowspan demo by dghart

2013-06-28 15:24 SC, revision 74303

support getting device resolution on all osx ports

2013-06-28 12:41 SC, revision 74302

new method for contentScaleFactor on main screen

2013-06-27 14:48 SC, revision 74301

new method for contentScaleFactor on main screen

2013-06-27 09:24 SC, revision 74300

native bitmap scaling codes

2013-06-27 07:54 SC, revision 74299

use correct scale when drawing

2013-06-25 19:37 SC, revision 74298

adding impls to wxBitmap on msw as this doesn't inherit from base - Thanks Vaclav!

2013-06-25 19:15 SC, revision 74297

adding default for Create with dc

2013-06-25 18:28 SC, revision 74296

incomplete paste error

2013-06-25 18:25 SC, revision 74295

adding default impl for CreateScaled

2013-06-25 17:41 SC, revision 74294

virtual method hiding in GTK, so add direct implementation

2013-06-25 17:38 JS, revision 74293

Applied rowspan patch #15276 (dghart)

2013-06-25 17:30 JS, revision 74292

Applied colspan corrections, #15274 and #15275 (dghart)

2013-06-25 17:11 SC, revision 74291

support retina display

2013-06-25 16:57 SC, revision 74290

using dc Create for bitmap, for retina support

2013-06-25 16:55 JS, revision 74289

Allow for older GTK+ versions

2013-06-25 16:19 SC, revision 74288

support for scaled bitmaps in wxMemoryDC

2013-06-25 16:02 SC, revision 74287

native scaling support for bitmap

2013-06-25 15:54 SC, revision 74286

fixing naming to GetScaleFactor, adding default Create with a dc parameter

2013-06-25 15:21 SC, revision 74285

default implementation for scaled bitmaps properties

2013-06-25 14:43 SC, revision 74284

supporting native content scaling on OSX

2013-06-25 14:26 SC, revision 74283

formatting

2013-06-25 14:24 SC, revision 74282

adding ContentScaleFactor support to dc - defaulting to 1.0

2013-06-25 09:23 JS, revision 74281

Removed 3D style for splitter on Mac since it looks bad

2013-06-25 09:23 JS, revision 74280

Removed 3D style for splitter on Mac since it looks bad

2013-06-23 18:39 VZ, revision 74279

Add wxBookCtrlBase::DoSetSelectionAfterRemoval() and use it in wxSimplebook. This fixes the wrong handling of the selection in wxSimplebook when the currently selected page was deleted. Also extend the unit tests to check for this bug. Closes #15188.

2013-06-23 18:39 VZ, revision 74278

No real changes, just simplify wxBookCtrlBase unit test a little. Add Realize() virtual function that can be overridden in ToolbookTestCase instead of using explicit wxDynamicCasts.

2013-06-23 18:38 VZ, revision 74277

Add a minimal unit test for wxSimplebook. This is just a test running the common wxBookCtrlBase tests for wxSimplebook. See #15188.

2013-06-23 15:08 VZ, revision 74276

Also propagate wxEVT_UPDATE_UI to the child MDI frame. It seems to make sense to handle wxEVT_UPDATE_UI in the same way as wxEVT_MENU as they are often used together. This allows to handle e.g. toolbar buttons entirely in the child MDI frame, without any involvement from the parent. See #14314.

2013-06-23 15:08 VZ, revision 74275

Use child MDI frame menu items in preference to the parent frame ones. Look for the item with the given ID in the child frame menu bar first, before looking in the parent frame menu bar. This ensures that if an item is disabled by the parent frame but then reenabled by the child one, it still generates commands as expected instead of being completely ignored. See #14314.

2013-06-23 15:07 VZ, revision 74274

Undo "Forward events to active child at MSW, not wx, level in wxMDIParentFrame." Unfortunately, forwarding MSW messages only takes care of the menu events but not the toolbar ones -- which should be handled in the same way but were not. So restore the old behaviour, the problem with menu items disabled in the parent frame but enabled in the child one will be fixed differently. This reverts r73927. See #14314.

2013-06-23 13:10 VZ, revision 74273

Add --without-libjbig and --without-liblzma configure switches. They can be used to disable the use of the corresponding libraries by the built-in libtiff.

2013-06-23 02:53 VZ, revision 74272

Add WX_ATTRIBUTE_UNUSED and use it for typedefs to avoid g++ 4.8 warnings. g++ 4.8 warns about unused typedef's in local scope resulting in hundreds of warnings when building wx, suppress them by using WX_ATTRIBUTE_UNUSED for these typedefs. Closes #15137.

2013-06-21 11:21 VZ, revision 74271

Fix Unix build with libSDL 2 in debug mode. SDL_AudioDriverName() was replaced with SDL_GetCurrentAudioDriver() in SDL v2. Closes #15271.

2013-06-20 16:40 SJL, revision 74270

Not not pass debug messages on from wxLogWindow.

2013-06-20 09:22 SC, revision 74269

partial revert, as we still need Xcode 3.1 for 10.5, Xcode 3.2 is 10.6+ only

2013-06-20 09:13 SC, revision 74268

update Xcode format

2013-06-20 09:09 SC, revision 74267

common schemes, Xcode 4/5 updates

2013-06-20 09:08 SC, revision 74266

common schemes

2013-06-20 08:54 SC, revision 74265

updated project files

2013-06-20 03:02 RD, revision 74260

GetMagnificationFactor --> GetContentScaleFactor

2013-06-20 03:02 RD, revision 74259

Add flags for SendSizeEvent

2013-06-20 03:01 RD, revision 74258

Document wxWindow::GetMagnificationFactor

2013-06-19 22:30 SC, revision 74257

fixing iPhone build

2013-06-19 22:29 SC, revision 74256

using common GetContentScaleFactor throughout part 2/2

2013-06-19 22:28 SC, revision 74255

using common GetContentScaleFactor throughout part 1

2013-06-19 18:35 SC, revision 74254

update project files

2013-06-19 18:02 VS, revision 74253

Fix GetMsgCatalogSubdirs() to do as documentation says. Due to a typo, the prefix/lang path wasn't considered when opening a domain catalog.

2013-06-19 18:02 VS, revision 74252

Be case insensitive when looking for language catalogs on Windows.

2013-06-18 21:54 SJL, revision 74251

Ensure that the default wxWebView backends are registered. Fixes #15261

2013-06-17 22:21 JS, revision 74250

Fixed loading of whole file:... specification of a page

2013-06-17 22:20 JS, revision 74249

Fixed loading of whole file:... specification of a page

2013-06-17 21:43 SC, revision 74248

fixing sdk compilo

2013-06-17 19:41 SC, revision 74247

adding magnification API into the wxWindow classes for best retina support

2013-06-16 13:51 VS, revision 74246

Remove superfluous call in wxTranslations::LoadCatalog(). This call to GetAvailableTranslations() did nothing, it's value was ignored, and it was done before m_loader was checked for != NULL. Probably some leftover debugging code.

2013-06-16 12:50 VZ, revision 74245

Improve wxGrid cell wrapping in wxGridCellAutoWrapStringRenderer. Wrap the words too long to be shown on one line on several lines. Also take the line breaks and TABs into account. Closes #15249.

2013-06-15 23:49 VZ, revision 74244

Document that wxDC::FloodFill() is not implemented under wxOSX. wxOSX uses wxGCDC for its wxDC functionality and wxGCDC doesn't implement this operation, even not using the horribly inefficient wxGTK fallback. See #15151.

2013-06-15 23:49 VZ, revision 74243

Restore case-insensitivity for file name matching under Windows. This was broken by the changes of r73790, see #3432. Fix this by converting both the file name and the wildcard mask to the upper case before checking whether the former matches the latter. Closes #15243.

2013-06-15 23:49 VZ, revision 74242

Fix formatting of the local time zone when DST is in effect. We must add DST offset manually as wxGetTimeZone() doesn't take DST into account. This fixes the handling of "%z" in format strings. Closes #15250.

2013-06-15 18:29 SC, revision 74241

adding new constructor for best dc-compatibility of bitmaps

2013-06-15 16:45 SC, revision 74240

use common bottleneck

2013-06-14 15:10 VZ, revision 74239

Don't crash in wxWebView under OS X if custom URI is invalid. Don't assume that wxWebViewHandler::GetFile() always returns a valid pointer, it may fail and return NULL, e.g. for a non-existent VFS location. Closes #15254.

2013-06-14 15:06 VZ, revision 74238

Handle NULL flags argument in wxOSX wxNotebook::HitTest(). Don't crash if flags are not specified, this parameter is optional. Closes #15256.

2013-06-13 16:12 SC, revision 74237

fixing correct delete key

2013-06-13 16:09 SC, revision 74236

fixes to pass tests

2013-06-13 16:06 SC, revision 74235

reusing existing API

2013-06-13 16:04 SC, revision 74234

reusing existing API

2013-06-13 15:58 VZ, revision 74233

Remove the unused code instead of commenting it out. Just clean up the fixes of r74197.

2013-06-13 15:57 VZ, revision 74232

Check wxListCtrl::GetItemRect() origin in the unit tests. Verify that the top item is _not_ at (0, 0) when the header is present in the control, as the control client coordinates should not take the header into account. This test passes when using wxGenericListCtrl since r74197, add it to ensure that it doesn't get broken again later.

2013-06-13 15:57 VZ, revision 74231

Use two step creation of wxListHeaderWindow to avoid reentrancy under OSX. This improves the solution of the problem already solved in r74197 by separating setting of m_headerWin variable from the window creation instead of using an explicit recursion check.

2013-06-13 09:26 RD, revision 74228

Add some missing wxGraphicsContext methods

2013-06-13 09:26 RD, revision 74227

Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target, and which can be used for measuring text, etc.

2013-06-13 02:42 SC, revision 74198

make methods available to all ports

2013-06-13 02:38 SC, revision 74197

fixing reentrancy which happened in tests, bringing client coordinates origins in synch

2013-06-13 02:19 SC, revision 74196

slight adaption, shorter max wait

2013-06-13 02:15 SC, revision 74195

wait for the frame window to be really done on OSX before starting

2013-06-13 02:11 SC, revision 74194

using Destroy, as otherwise the remnants get into the way for some other tests

2013-06-13 02:08 SC, revision 74193

adding exceptions for OSX

2013-06-13 01:48 SC, revision 74192

adding missing include

2013-06-13 00:04 SC, revision 74191

supporting max len event

2013-06-12 23:30 SC, revision 74190

osx needs a refocus

2013-06-12 23:23 SC, revision 74189

quite ugly workaround, but even the engineers at WWDC couldn't give me a better alternative, fixes #14968

2013-06-12 23:18 SC, revision 74188

guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes 15115

2013-06-12 22:45 SC, revision 74187

guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes #15115

2013-06-12 22:44 SC, revision 74186

guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes #15115

2013-06-12 22:41 SC, revision 74185

exposing useful typedefs

2013-06-12 20:52 SC, revision 74184

adding check for invalid date

2013-06-12 19:55 SC, revision 74183

as the native control doesn't check the min max values, we do it ourselves

2013-06-12 15:55 VZ, revision 74182

French translations update from Xaviou. Closes #15247.

2013-06-12 15:54 VZ, revision 74181

Don't translate closing single quote in the font face name. This is completely unnecessary and just creates extra work for the translators. See #15247.

2013-06-12 11:52 JS, revision 74180

Backported fix to not give focus to the search control buttons

2013-06-12 11:51 JS, revision 74179

The style listbox now takes into account the style background colour if specified.

2013-06-12 11:51 JS, revision 74178

The style listbox now takes into account the style background colour if specified.

2013-06-12 08:51 SC, revision 74177

adding hook, but unfortunately no solution yet for wxComboBox::SetEditable

2013-06-12 07:46 SC, revision 74176

now working on cocoa as well

2013-06-12 07:45 SC, revision 74175

cocoa needs a special implementation for read-only combo box

2013-06-12 07:25 SC, revision 74174

Clear is also expected to clear the text

2013-06-12 01:14 SC, revision 74173

missing commit

2013-06-12 00:33 SC, revision 74172

disable tests depending on a focusable slider control

2013-06-12 00:27 SC, revision 74171

draghino explicitly

2013-06-12 00:26 SC, revision 74170

adding default impl

2013-06-12 00:25 SC, revision 74169

add more high-level event concepts, fixing native button number

2013-06-12 00:21 SC, revision 74168

moving click point sightly more inside, #ifndef tests failing with the generic implementation

2013-06-12 00:19 SC, revision 74167

fixing typo

2013-06-12 00:18 SC, revision 74166

fixing include styles

2013-06-11 19:56 SC, revision 74163

notify the event loop that synthesized events are on the queue, wait for them to be available, also on OSX a double click has to be synthesized slightly differently

2013-06-11 19:54 SC, revision 74162

better support for ui action simulation

2013-06-11 18:46 VS, revision 74161

Use correct extensions in wxDynamicLibrary::CanonicalizeName() on OS X. Contrary to the documentation, this function incorrectly appended the .bundle extension on OS X for libraries as well as modules. Fixed to use .dylib for libraries (wxDL_LIBRARY) and continue to use .bundle for loadable modules (wxDL_MODULE). Change GetDllExt() to take optional wxDynamicLibearyCategory argument.

2013-06-11 16:01 JS, revision 74160

Untranslated strings now won't be overwritten by regenerating the dialog.

2013-06-11 14:25 VZ, revision 74159

Fix wrong use of EVT_COMMAND in the example in wxThread documentation. As the event being defined is a wxThreadEvent, EVT_THREAD must be used. Also rename wxEVT_COMMAND_MYTHREAD_UPDATE to myEVT_THREAD_UPDATE to avoid using "wxEVT_" prefix reserved by wx itself.

2013-06-11 12:20 JS, revision 74158

Fixed a refresh bug due to the optimized refresh rect being calculated incorrectly.

2013-06-10 17:53 VZ, revision 74156

Add wxMouseEvent::GetColumnsPerAction(). This is similar to the existing GetLinesPerAction() but is for, surprise, columns. Also change the documentation to say that the value returned by both of these methods is 3 under "most platforms" as some wxOSX currently uses 1 and not 3. Closes #15239.

2013-06-10 17:53 VZ, revision 74155

Avoid problems when reparenting a TLW under a child in wxGTK. Don't use a TLW with gtk_fixed_put(). Closes #15237.

2013-06-10 17:52 VZ, revision 74154

Fix crash when undoing the deletion of a nested table column in wxRTC. Fix the object parent when applying the actions. Closes #15186.

2013-06-10 17:52 VZ, revision 74153

Link with libjbig when using built-in libtiff under Unix. If libjbig is available, the built-in libtiff build process picks it up and uses it, requiring all the code linking with libtiff to link with it too, so add it to the list of the libraries in this case. This is the same change as was already done for liblzma dependency in r74033, see #14963. Closes #15244.

2013-06-10 17:51 VZ, revision 74152

Updated all the message catalogs with the latest translations. No real changes, just the result of running "make -C locale allpo".

2013-06-10 17:51 VZ, revision 74151

Don't mark the strings "1", "2", ... "10" as translatable. They are the same in all the languages, don't create extra work for the translators.

2013-06-09 01:24 RD, revision 74130

More docs cleanup and fixes for richtextbuffer

2013-06-09 01:23 RD, revision 74129

Remove some wxT()'s in the docs

2013-06-09 01:23 RD, revision 74128

More richtext fixes for Phoenix

2013-06-08 15:31 TIK, revision 74127

C++11 requires a space between adjacent string literals. This change prevents recent GCC to emit a warning every time wx/defs.h is included.

2013-06-08 04:29 VZ, revision 74126

Exclude src/msw/version.rc from svn pre-commit hook checks. This file must be remain in CP1252 encoding and not UTF-8 because this is what Windows uses for showing the strings in it, so exclude it from this check.

2013-06-08 04:27 VZ, revision 74125

Undo MIME type change of r74120. Undo the temporary hack which was required to commit the non-UTF-8 file. In the future the commit hook will be updated to relax the check for this file so it won't be necessary any longer.

2013-06-08 04:23 VZ, revision 74124

Use library-specific description in their version resources for MSW DLLs. Reusing the same description for all files wasn't especially useful, make it more informative.

2013-06-08 04:23 VZ, revision 74123

Remove duplicate WXMAKINGDLL_RIBBON-related code. For some reason both the definition of and test for WXMAKINGDLL_RIBBON was duplicated.

2013-06-08 04:23 VZ, revision 74122

Simplify the version information resource definition a little. Put the correct data into FileVersion and InternalName fields and remove LegalTrademarks, PrivateBuild and SpecialBuild completely as they are optional and shouldn't be present if the corresponding flags are not set, see http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058(v=vs.85).aspx

2013-06-08 04:23 VZ, revision 74121

Add back the copyright symbol to the version information resource. It has somehow disappeared in r62054 (see #10659).

2013-06-08 04:22 VZ, revision 74120

Set MIME type of Windows resource file to non-text. This is just a hack to allow this file to be in non-UTF-8 as the commit hook currently checks that UTF-8 is used for all text files.

2013-06-08 04:08 VZ, revision 74119

Update copyright year in the version information resource.

2013-06-04 18:18 SC, revision 74109

associate the outline view with the impl, fixes #13748

2013-06-04 09:22 SC, revision 74107

refactoring focus handling

2013-06-04 09:06 SC, revision 74106

exposing wxOSXGetViewFromResponder

2013-06-04 08:54 SC, revision 74105

adding a more extensive version to arrive at the impl when given a native control, taking into account eg the composited controls of a scrollview

2013-06-04 08:27 SC, revision 74102

adding comment

2013-06-03 19:54 SC, revision 74101

avoiding reentrancy problems and congestion

2013-06-03 19:49 SC, revision 74100

avoiding focus lost events when a different subview gets focused, see #14042

2013-06-03 16:57 SC, revision 74099

make sure we don't execute pending deletes either when in runModel, otherwise reentrancy problems occur

2013-06-03 15:21 SC, revision 74098

using ordinary Show for popup windows as on MSW which activates it as well, I'll rewire ShowWithoutActivating for the other use case, fixes #15008

2013-06-03 15:01 SC, revision 74097

refactoring SizeEvent sending

2013-06-03 14:58 SC, revision 74096

refactoring SizeEvent sending

2013-06-03 13:47 SC, revision 74095

forgot to commit ...

2013-06-03 12:37 SC, revision 74094

attempt to get the 'new focus' window parameter of a focus kill event set correctly

2013-06-03 11:40 SC, revision 74093

deal with Cocoa as we do with Carbon, see #15008

2013-06-03 10:34 SC, revision 74092

deal with Cocoa as we do with Carbon, see #15008

2013-06-03 10:32 SC, revision 74091

make sure mouse moved events are always delivered, see #15008

2013-06-03 10:30 SC, revision 74090

make sure button clicks etc. on a popup window don't lead to a dismissal because their GetWindow()/parent = popup check didn't work

2013-06-02 20:03 VZ, revision 74089

Turkish translations update from Kaya Zeren.

2013-06-02 17:02 SC, revision 74088

updated Xcode project files

2013-06-02 11:57 SC, revision 74087

don't take resize indicators into account if we are at 10.7 or higher, they don't exist anymore … see #15187

2013-06-02 11:33 SC, revision 74086

propagate scroll wheel events to parent, fixes #15187

2013-06-01 20:29 SC, revision 74076

fixes potential crash under gatekeeper

2013-06-01 20:28 SC, revision 74075

only set native window level, when not using a wrapped native window, see #14739

2013-06-01 19:06 PC, revision 74074

update position for widgets in native containers, fixes #15231

2013-06-01 01:21 VZ, revision 74073

Document that wxRadioBox::SetSelection() doesn't accept wxNOT_FOUND. A radio box always has selection and it can't be unset (at least not under all platforms), so document that the item passed to its SetSelection() must be valid, unlike with SetSelection() methods in some other classes. Closes #15233.

2013-06-01 01:21 VZ, revision 74072

Change wxMSW wxTreeCtrl::DoFreeze() to not hide the tree any more. Hiding the tree when it's frozen, as done in r72665, results in its own problems, e.g. loss of focus. So don't do this but resize the control to a very small size when freezing it and restore it to its old size afterwards. Closes #15166.

2013-06-01 01:21 VZ, revision 74071

Add wxFileDialog::GetCurrentlySelectedFilename(). Also send wxEVT_UPDATE_UI events for the extra controls in wxFileDialog. The combination of these changes allows extra controls to update their state depending on the current selection in the dialog. Show a simple example of doing it in the dialogs sample. Closes #15235.

2013-06-01 01:21 VZ, revision 74070

Don't create multiple parent-less top level frames in layout sample. This resulted in unexpected behaviour if the main frame was closed while the other ones were still shown as they remained shown and had to be hunted and closed one by one to make the application exit. Fix this simply by creating all the other frames as children of the main one. This also results in better UI when minimizing and restoring the main frame. Also get rid of unused position parameters in child frame constructors and get rid of the title parameter which is not really needed as it's always the same too. See #11923.

2013-06-01 01:21 VZ, revision 74069

Fix wxStyledTextCtrl::SetInsertionPointEnd(). This relied on SetInsertionPoint(-1) working like in wxTextCtrl but it didn't. Add an explicit check to it for consistency with the other classes and to make SetInsertionPointEnd() work. Closes #15234.

2013-06-01 01:21 VZ, revision 74068

Improve horizontal scrolling in wxRibbonControl. Scroll by entire "sections", i.e. panes of the ribbon, instead of scrolling by a fixed number of pixels as it's much more useful and user-friendly to uncover the next section entirely instead of asking the user to press on the arrow several times before being able to use it. Closes #15232.

2013-06-01 01:21 VZ, revision 74067

Use deferred window positioning in wxWindow::Layout() in wxMSW. Ensure that {Begin,End}RepositioningChildren() are called before/after changing the positions of multiple children, whether we're using sizers or constraints. This fixes display corruption which could happen under Windows 7 and a child resized first became bigger, pushing off the children resized later. Closes #15214.

2013-06-01 01:21 VZ, revision 74066

Add wxWindow::BeginRepositioningChildren() and EndRepositioningChildren(). This is just a refactoring of wxMSW code to make it possible to use deferred window positioning from other places in subsequent commits.

2013-06-01 01:20 VZ, revision 74065

Make wxSharedPtr::Release() really MT-safe. Using wxAtomicDec() is not enough, its result also must be checked as it will return 0 only in one of the threads if multiple threads call it in parallel, while the old test for m_count==0 could pass for more than one thread, resulting in deleting the same pointer more than once. Closes #15227.

2013-06-01 01:20 VZ, revision 74064

Fix for special characters in Doxygen comments. Escape "-" characters in the beginning of the paragraph as they are not handled properly by Doxygen otherwise. Escape the space after "i.e." to prevent the brief doc string from being terminated by it. Escape "--" which is translated to a dash by Doxygen otherwise. Closes #15228.

2013-06-01 01:20 VZ, revision 74063

Fix assert when adding columns to wxGrid using native header. Change the order of updating m_colWidths array and the native header control in wxGird::Redimension() to ensure that we can test whether the column is shown (which results in accessing m_colWidths element at this column index) from the wxGridHeaderCtrl::SetColumnCount(). Closes #15225.

2013-05-31 20:19 SC, revision 74062

using an empty default menu bar when no menubar is available, see #12402

2013-05-31 20:18 SC, revision 74061

make sure we have a default handling the quit command, see #12402

2013-05-31 19:33 SC, revision 74060

avoiding reshow of hidden windows when app is brought forward #12402

2013-05-26 17:32 JS, revision 74058

Applied patch for #15189 - avoid crash when deleting focused cell (dghart)

2013-05-26 15:14 VZ, revision 74057

Reset row and columns count in wxRichTextTable::ClearTable(). No real changes, just update the internal variables in ClearTable() to avoid inconsistent internal state, even if this doesn't seem to result in any problems for now. Closes #15190.

2013-05-26 15:14 VZ, revision 74056

Ensure that detached menus don't keep focus grab in wxGTK. A widget being hidden must remove its focus grab with GTK+, otherwise GTK+ would continue sending all input messages to it but fail to process them because the widget is not realized any more, resulting in a complete freeze of the entire program. Do it when detaching menus from menubar and menubar from the frame to fix just such a problem in case SetMenuBar() was called while the previous menubar was opened. Closes #15221.

2013-05-26 15:14 VZ, revision 74055

Fix printing multiple copies in wxMSW. If wxPrinterDC was created by the native "Print" dialog for a printer that supports printing multiple copies, we must not manually print multiple copies ourselves as this results in too many copies being printed. However we still need to loop explicitly for wxPrinterDC objects created manually or for the printers without support for multiple copies (supposing they still exist). Closes #10323.

2013-05-26 15:14 VZ, revision 74054

Use C locale representation for floating point numbers in wxAny. Always use the decimal point, regardless of the current locale. This completes the changes of r74019.

2013-05-26 13:55 VZ, revision 74053

Tamil translations update from DINAKAR T.D.

2013-05-24 19:05 SC, revision 74052

adding x server license terms for polygon methods

2013-05-24 19:04 SC, revision 74051

adding x server license terms for polygon methods

2013-05-24 19:01 SC, revision 74050

adding x server license terms for polygon methods

2013-05-24 18:54 SC, revision 74049

using scan-line polygon conversion for constructing wxregion

2013-05-24 18:05 RD, revision 74048

Add wxRTTI for the wxFileSystemWatcherEvent class

2013-05-24 16:38 SJL, revision 74047

Correctly link to wxWebViewNavigationError from wxWebViewEvent.

2013-05-24 16:04 SJL, revision 74046

Document the unused baseURL parameter in wxWebViewIE. See #15223.

2013-05-22 16:13 VZ, revision 74045

Add ctor and assign() taking an iterator range to wxVector<>. Do it for consistency with wxArray and std::vector<>, even if the current implementation is suboptimal. See #15216.

2013-05-22 16:13 VZ, revision 74044

Add ctor from two input iterators to wxArray in STL build too. This ctor already existed in non-STL build but was omitted from the STL version. Closes #15216.

2013-05-22 15:36 VZ, revision 74043

Fix regression in wxGTK wxFilePickerCtrl due to wxFileDialog changes. Revert the changes of r72979 and fix wxFileDialog::GetDirectory() return value bug (see #14786) differently to avoid breaking wxFilePickerCtrl which relies on getting wxEVT_BUTTON event when the associated dialog is dismissed. Closes #15218.

2013-05-22 15:36 VZ, revision 74042

Fix GTK+ errors during wxFilePickerCtrl destruction after recent changes. We do need to destroy the dialog (see #15156), but we must not destroy its GtkWidget as it is owned by GtkFileChooserButton itself, so amend the changes of r74030 to only destroy the C++ object, not GTK+ one.

2013-05-22 01:47 VZ, revision 74041

Use the best instead of current page size in OS X preferences dialog. The page, which is typically just a wxPanel, is usually not created with the correct size, so resize it to its best size before showing it in the preferences dialog. This makes OS X behaviour consistent with MSW and GTK and is generally more useful.

2013-05-22 01:17 VZ, revision 74040

Fit modeless preferences dialog to its contents too. When a preferences dialog is shown non-modally, it should still fit to the contents of its pages, so move the code added for the modal case in r73624 to the base wxGenericPreferencesEditorImplBase class.

2013-05-21 14:02 VZ, revision 74039

Turkish translations update from Kaya Zeren.

2013-05-20 17:26 VZ, revision 74038

Fix last count value after ReadAll() and WriteAll(). This corrects the bugs introduced when applying the patch adding these functions in r74034: we can't simply use m_lastcount directly in them because it's also modified by each call to Read() and Write(), so do use the temporary variable. See #12056.

2013-05-20 15:15 VZ, revision 74037

Add a public wxModalDialogHook class for intercepting modal dialogs. Extract wxModalDialogHook from wx/testing.h into its own wx/modalhook.h, extend it to allow to be notified not only about showing modal dialogs but also about dismissing them and document it and show its use in the dialogs sample. Also replace all the WX_TESTING_SHOW_MODAL_HOOK macros occurrences with WX_HOOK_MODAL_DIALOG.

2013-05-20 15:15 VZ, revision 74036

Fix return value of wxCountingOutputStream::LastWrite(). Don't reuse m_lastcount in wxCountingOutputStream to store the stream length, this doesn't make any sense and results in LastWrite() returning completely wrong results as it expects m_lastcount to be the number of bytes written by the last operation. Add m_lastPos member to store the stream length instead. Also correct wxCountingOutputStream documentation. Closes #15215.

2013-05-20 15:15 VZ, revision 74035

Make code reading BMP files more robust. Check that we did correctly read the requested amount of data instead of blindly assuming that the needed (from the point of view of BMP format specification) number of bytes are always available -- this doesn't work so well with corrupted or truncated files. Closes #12056.

2013-05-20 15:15 VZ, revision 74034

Add wxInputStream::ReadAll() and wxOutputStream::WriteAll(). Unlike Read() and Write(), these functions always transfer exactly the specified number of bytes or fail. See #12056.

2013-05-19 19:26 VZ, revision 74033

Link with liblzma when using built-in libtiff if it's available. New version of libtiff includes code using liblzma if it's available, so we need to link with it in this case. Closes #14963.

2013-05-19 14:47 VZ, revision 74032

Propagate wxEVT_COMMAND_TEXT_UPDATED renaming to the real stc.cpp. wxEVT_COMMAND_TEXT_UPDATED was renamed to wxEVT_TEXT in the generated stc.cpp but not in stc.cpp.in it was generated from. Do it there too to prevent the correct version in stc.cpp from being overwritten during the next regeneration. See #10661.

2013-05-19 14:38 VZ, revision 74031

Trigger wxLog auto-creation when getting old logger in wxLogChain ctor. This ensures that a program that uses wxLogChain or one of the classes deriving from it, such as wxLogWindow, can do it directly without worrying about the standard logging being completely suppressed if the default log target hadn't been instantiated yet.

2013-05-19 14:38 VZ, revision 74030

Delete the associated dialog in wxGTK wx{File,Dir}Button. The code seemed to rely on Destroy() being called for deleting the dialog, but it's actually not used for child windows, so do it in dtor instead. Closes #15156.

2013-05-19 14:38 VZ, revision 74029

Add conversions to/from long long to wxUniChar. Allow conversions to/from long long and unsigned long long values in wxUniChar for consistency with the other integral types. Also make the code shorter by using helper wxDO_FOR_INT_TYPES() and wxDO_FOR_CHAR_INT_TYPES() macros to avoid duplicating the same code for all of the integral types and having to handle wchar_t (and wxLongLong_t now) specially because sometimes we may need to overload on it and sometimes not. Finally, add more tests to check that all the wxUniChar methods compile and work with all the different types. Closes #15206.

2013-05-19 14:38 VZ, revision 74028

Disable menu event test case in wxGTK buildbot slaves. This test sporadically fails for unknown reason and I don't know what to do about it, so disable it for now to let the test suite pass consistently and be notifed about any new failures.

2013-05-18 16:07 SJL, revision 74020

Use wxCOMPtr throughout the wxWebViewIE Find code. As well as making the code a bit neater this seems to fix some memory issues. See #15207.

2013-05-17 22:00 VZ, revision 74019

Test using wxString::ToCDouble() in wxAny. Apparently the heap corruption problems in wxOSX/PPC build are due to using wxString::ToDouble() and not anything done specifically in wxAny at all.

2013-05-17 13:53 VZ, revision 74017

Try using wxString::ToCDouble() instead of ToDouble() in wxAny case. Apparently enabling the call to ToDouble() in the test is enough to corrupt the heap in wxOSX PPC build. No idea how can this be possible but try to check if using ToCDouble() helps...

2013-05-17 13:53 VZ, revision 74016

Make wxPreferencesEditor dtor virtual. Mainly just to suppress g++ warnings about a class with virtual functions but non-virtual dtor, this class isn't really supposed to be used polymorphically.

2013-05-16 20:00 RD, revision 74014

Add richtext event types.

2013-05-16 20:00 RD, revision 74013

More richtext fixes and cleanup for Phoenix

2013-05-16 19:57 RD, revision 74012

Add docs for SetMin and SetMax

2013-05-16 16:43 VZ, revision 74011

Initialize wxXmlResourceHandler members in its ctor. Not sure if this results in any real problems but at the very least memory checking tools give errors about reading uninitialized memory in wxXmlResourceHandlerImpl::CreateResource() if we leave them uninitialized, so do initialize all the pointers.

2013-05-16 16:43 VZ, revision 74010

Allow wxPreferencesEditor::Dismiss() to work when using modal dialogs too. The modal dialog case is not really different, the dialog may still need to be dismissed if the associated object doesn't exist any longer.

2013-05-16 16:43 VZ, revision 74009

Add wxPreferencesEditor::ShownModally(). While this is not necessary to use wxPreferencesEditor in normal scenario, it can be useful if the program needs to handle modal dialogs in some special way.

2013-05-16 16:43 VZ, revision 74008

Make wxPreferencesEditor::Show() virtual. This allows derived classes to override it to do something before/after showing the dialog, which can be useful on the platforms where modal dialogs are used for wxPreferencesEditor implementation.

2013-05-16 16:42 VZ, revision 74007

Use "<Application> Preferences" as generic wxPreferencesEditor dialog title. This is more appropriate than just "Preferences" under MSW and GTK which use the generic wxPreferencesEditor, OS X has its own native version which continues to correctly use "Preferences" for the title.

2013-05-16 16:42 VZ, revision 74006

Allow to specify the title used by wxPreferencesEditor window. Customize the title is useful for "Settings"-style windows which are used for editing the properties of the given object, that should be identified in the window title, as opposed to the global program preferences.

2013-05-16 16:42 VZ, revision 74005

Open generic wxPreferencesEditor at last shown page. This is very convenient under systems using a modal dialog for the preferences editor implementation (such as MSW), as it allows to do several changes in the same page without having to select it manually every time.

2013-05-16 16:42 VZ, revision 74004

Rename CreateWindow() to CreateDialog() in generic wxPreferencesEditor code. No real changes, just rename a method to avoid confusion with wxPreferencesPage::CreateWindow(). Also return the concrete type of the dialog, not a base wxDialog, as it will be useful for future changes.

2013-05-16 16:33 VZ, revision 74003

Add wxEVT_DIRCTRL_FILEACTIVATED wxDirCtrl event. Allow processing double clicks on the files in the directory control. Closes #15208.

2013-05-16 16:33 VZ, revision 74002

Rename wxEVT_DIRCTRL_CHANGED to wxEVT_DIRCTRL_SELECTIONCHANGED. This is more consistent with the existing wxEVT_FILECTRL_SELECTIONCHANGED. Closes #15209.

2013-05-16 16:32 VZ, revision 74001

Allow associating a validator with wxGridCellTextEditor. Add wxGridCellTextEditor::SetValidator() for finer control over text input in wxGrid. Closes #15176.

2013-05-16 16:32 VZ, revision 74000

Re-enable yet another hopefully harmless test in wxAny test case.

2013-05-16 16:15 VS, revision 73999

Call wxThread::Create() from Run() automatically. In the common case, when Run() is called immediately after Create() and default stack size is used, it's unnecessarily verbose. Just create the thread in Run() if it wasn't done explicitly yet.

2013-05-16 16:15 VS, revision 73998

Move POSIX implementation of wxThread::Create() to wxThreadInternal. No real changes, just refactoring to follow the same pattern as other implementations use.

2013-05-16 16:15 VS, revision 73997

Lock m_critsect in POSIX wxThread::Create(). This is the documented behavior: all methods accessing m_internal should lock it.

2013-05-16 13:40 VZ, revision 73996

Re-enable wxAny<double>::GetAs<wxString>() test.

2013-05-16 08:18 JJ, revision 73995

m_useExtendedPrecision is only used if the macro wxUSE_APPLE_IEEE is defined

2013-05-16 03:45 VZ, revision 73994

Enable wxAny<double>::GetAs<unsigned long>() test.

2013-05-15 23:45 VZ, revision 73993

Re-enable a single m_anyDoubleDouble1 test in wxAny test case.

2013-05-15 23:45 VZ, revision 73992

Fix wxXmlNode self-assignment. Don't lose the node contents if it's assigned to itself.

2013-05-15 22:02 VZ, revision 73991

Reenable m_anyBool1 tests in wxAny test case too.

2013-05-15 22:01 VZ, revision 73990

Fix memory leak in wxXmlNode::operator=(). We must delete all children and attributes in the node being overwritten and not just the first one of each. Add a unit test exercising this code to be able to check that valgrind doesn't report memory leak any more after the fix.

2013-05-15 15:05 VZ, revision 73989

Re-enable conversions of wxAny to boolean tests.

2013-05-15 15:05 VZ, revision 73988

Restore ability to parse hours only with wxDateTime::ParseTime(). This was accidentally removed in r51059, but worked in 2.8 and so should continue to work. Also add a unit test to ensure that this doesn't get broken again in the future. Closes #15204.

2013-05-15 15:05 VZ, revision 73987

Fix crash in wxGTK wxPopupWindow when creating it without parent. Popup windows don't necessarily have a parent, so don't crash if parent pointer is NULL in wxPopupWindow::Create(). Closes #15173.

2013-05-15 15:05 VZ, revision 73986

Allow shrinking the array with wxArray::resize(). This method did nothing if its argument was less than the current array size, as it was just a synonym for SetSize() which was documented to behave like this, but this was inconsistent with std::vector and wxVector resize() which does shrink the array, so change wxArray version to shrink it too. Closes #15195.

2013-05-15 15:05 VZ, revision 73985

Fix typo in a closing "#endif" comment in the test. Closes #15203.

2013-05-14 18:58 VS, revision 73984

Move wxTransform2D methods' bodies to geometry.cpp. They are all virtual and so cannot be inlined anyway and having them in the header like this confuses the g++ linker into always pulling some of the methods in merely because geometry.h was included.

2013-05-14 13:07 VZ, revision 73982

Reenable some wxAny tests back.

2013-05-14 13:07 VZ, revision 73981

Add more echo trace statements to runtests.bat script. Try to make the output a bit more organized.

2013-05-13 19:09 VZ, revision 73976

Disable more wxAny tests again.

2013-05-13 15:25 VZ, revision 73975

Try to find another wxAny test that results in heap corruption. Conversion to float is not the only problem...

2013-05-13 13:05 VZ, revision 73974

Disable more tests in wxOSX/PPC build. Also added a #warning to make it more apparent what we're doing here.