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):

2010-05-08 12:28 VZ, revision 64246

Invalidate wxListBox best size immediately without waiting for idle time. Since r53743 the listbox best size was only invalidated during idle time but this meant that it could be laid out using incorrect old best size. So while we still defer (expensive) horizontal extent calculation until later, do invalidate the best size immediately to ensure the listbox is laid out correctly.

2010-05-08 01:38 VZ, revision 64245

Fix crash in wxCommandProcessor of capacity N when N-1 commands were undone. Performing N commands (where N is the maximal number of commands stored by wxCommandProcessor), undoing N-1 of them and performing another command resulted in a crash because a dangling pointer was left. Closes #12027.

2010-05-08 01:38 VZ, revision 64244

Fix assert during separator items creation introduced by r64226. Add separators with correct kind, setting m_kind doesn't work any more because it's overwritten below. Also add a comment explaining why is overriding the user-specified kind the right thing to do here.

2010-05-08 01:38 VZ, revision 64243

Fix bugs related to two phase creation of wxRibbon classes. Add missing wxRibbonControl::Create() method. Ensure that member variables are always initialized by the ctor. Check that we're fully initialized in EVT_SIZE handler. Closes #12018.

2010-05-07 15:38 JJ, revision 64241

Updating setup for OpenVMS

2010-05-07 08:45 VS, revision 64240

Integrate with GNOME's Recent Documents menu. GTK+ provides GtkRecentManager for this purpose since 2.10. Use it in wxFileHistory if available. Integration is simple, we just add a file to GtkRecentManager in addition to normal wxFileHistory handling. A well-behaved GNOME application would use GtkRecentManager as the primary store for recent files, so that it reflects when the user works with supported files in another editor(s) too. But for now, this is much better than no support at all.

2010-05-06 20:28 VS, revision 64239

Clarify that wxFileSystem::OpenFile() takes URL, not filename.

2010-05-06 19:42 JMS, revision 64232

Change wxPGProperty::SetChoices() to accept 'const wxPGChoices&'

2010-05-06 19:21 JMS, revision 64231

Modify float/double wxAny testing to use CPPUNIT_ASSERT_EQUAL() instead of CPPUNIT_ASSERT_DOUBLES_EQUAL(), so that we know the retrieved values are truly identical.

2010-05-06 14:58 VZ, revision 64230

Don't accept focus in the dummy main generic spin control window. This window is only used as a container for the sub-windows and shouldn't accept focus, trying to set it to it doesn't work anyhow (see #12004).

2010-05-06 14:58 VZ, revision 64229

Don't send wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED when nothing changed. The generic double spin control sent UPDATED events whenever it lost focus, whether anything changed or not. Don't send events unless the controls value has really changed.

2010-05-06 14:58 VZ, revision 64228

Always update the value of generic spin control when leaving it. We could be left with an invalid value in the control when leaving it. E.g. in the widgets sample whose double spin control has range from 0 to 10, 123 could be entered in it and was not replaced by 10 when the control lost focus. This happened because the code didn't bother to update the text control if its contents already corresponded to the internally stored value -- but this was wrong as it could have a different representation. Just always update the text unconditionally when synchronizing it with the internal value. See #12004.

2010-05-06 14:58 VZ, revision 64227

Make keyboard navigation in generic wxTreeCtrl more Mac-like under OS X. In the native OS X tree control right cursor arrow expands the current item and the left one collapses it if it's expanded, make the generic control work like this too under Mac. Closes #12019.

2010-05-06 14:40 VZ, revision 64226

Check that menu ids are limited to MSW-supported range. We already check that positive (i.e. specified by user and not generated by wx) window ids are in 0..SHRT_MAX range. Now do the same for the menu ids as ids outside of this range suffer from the same problem under MSW: they get wrapped and become negative when we receive events for them.

2010-05-06 14:40 VZ, revision 64225

Added wxLANGUAGE_BOSNIAN. Closes #12016.

2010-05-06 14:22 VZ, revision 64224

Mention that hatched pens don't work under wxGTK and wxX11. See #11983.

2010-05-06 14:12 VS, revision 64223

Refactor wxTranslationsLoader API. Instead of calling back into wxTranslations to actually load the data, return wxMsgCatalog instance from wxTranslationsLoader::LoadCatalog(). This requires making wxMsgCatalog public.

2010-05-06 07:43 VS, revision 64222

Move wxScopedPtr::reset() implementation to wxDEFINE_SCOPED_PTR. Just as the destructor, reset() calls delete on T pointer and so can only be defined when T is fully defined.

2010-05-06 07:42 VS, revision 64221

Use wxCHECKED_DELETE in wxScopedPtr::reset(). It was only used in delete call in destructor, but the use in reset() needs safeguards as well.

2010-05-06 07:42 VS, revision 64220

Use wxCHECKED_DELETE in wxScopedPtr<T>. It was only used in macros-based implementation, use it in the template version too.

2010-05-05 15:53 VZ, revision 64219

Fix PCH-less compilation after recent changes. Include wx/sizer.h explicitly when not using PCH.

2010-05-05 15:50 VS, revision 64218

Fix incorrect assumptions about locales codes. wx incorrectly assumes that Unix locale codes have the form of xx_YY, where both xx and yy are two characters long. This is wrong, xx is ISO 639 code, which can often have 3 characters ("ast", "gez" etc.); future ISO 639-6 will have up to 4 chars. Similarly, ISO 3166 has alpha-3 variant of country codes too (even though they aren't used in this context today). For parsing needs, we can just look for '_' in the code. The only place where a check for xx_YY code was performed was GetSystemLanguage(). Instead of bothering with correct check (or a heuristic), let's simply assume locale is xx_YY code and only do alternative handling if that assumption fails. According to the comments, this alternative handling was for cases such as LANG=german environment on SuSE, but it's safe to say that no modern systems do that anymore, so it's OK that this patch is marginally less efficient on such legacy systems.

2010-05-05 14:45 VZ, revision 64217

No changes, just make wxDataViewEditorCtrlEvtHandler private. This class is used by wxDataViewCtrl implementation only, there is no need for it to be in a public header. Move the class declaration from wx/dataview.h to datavcmn.cpp. See #11732.

2010-05-05 14:45 VZ, revision 64216

Pop event handler from wxDVC edit control before destroying it. This fixes the assert in wxWindow dtor checking that all event handlers pushed on the window were removed. Also fix a memory leak by not creating an unnecessary object of wxKillRef class. In fact remove this class entirely. Closes #11732.

2010-05-05 14:27 VS, revision 64215

Don't use size_t for plural forms parameter. size_t should be used for size of objects, which wxGetTranslation() and wxTranslations::GetString() 'n' argument isn't -- it's just a regular integer.

2010-05-05 14:20 VZ, revision 64214

Notify user less intrusively about overflow when previewing HTML printouts. We used to show a modal dialog if the page didn't fit horizontally but this was too intrusive when the user was just previewing the output and not really printing it. Moreover, the question of the message box ("Print" or "Cancel") simply didn't make sense in this case. Fix both problems by not showing this dialog at all when previewing. Instead, notify the user with a much less intrusive info bar in the preview window.

2010-05-05 14:20 VZ, revision 64213

Move wxInfoBar to core library from adv. This is necessary in order to be able to use it in the print preview (an upcoming change).

2010-05-05 14:19 VZ, revision 64212

Replace wxPrintout::SetIsPreview() with SetPreview(). Unlike the old function just indicating whether a printout is being used for previewing, the new one associates the preview object with it. This can be useful if we need to access the window used for the preview, for example. Also remove a bunch of apparently unnecessary SetIsPreview(false) calls as printing (and not previewing) is already the default.

2010-05-05 14:19 VZ, revision 64211

No real changes, just clean up wxAbortProc mess. Remove m_lpAbortProc which is not needed at all and just requires ugly casts because its type was different from the real type of wxAbortProc. Get rid of the rest of the old Win16 code.

2010-05-05 14:19 VZ, revision 64210

Remove GtkPrintOperation preview signal handler. This handler wasn't doing anything useful as we were always using the default preview based on an external program, so just remove it completely.

2010-05-05 09:45 VS, revision 64209

Fix wxScopedCharTypeBuffer<T>::CreateOwned() to match docs. The documentation says that it takes ownership of the memory block passed to it, but the implementation made a copy.

2010-05-04 23:59 VZ, revision 64208

Ignore time component of SYSTEMTIME in wxCalendarCtrl. Native month calendar functions doesn't always return correct values in the time part of SYSTEMTIME so ignore it and use just the date component. To simplify doing it, add helper (MSW-specific) SetFromMSWSysDate() and GetAsMSWSysDate() functions which convert between wxDateTime and SYSTEMTIME but take only date component into account. This commit partially replaces changes of r63560 and closes #11276.

2010-05-04 18:38 VS, revision 64207

Fixed a typo in misc/languages/README.

2010-05-04 14:15 VS, revision 64205

Move wxFileHistory out of docview framework, add wxUSE_FILE_HISTORY.

2010-05-03 13:19 VZ, revision 64204

Use wxString::ToCDouble() instead of emulating it. No real changes, just replace the code which was working around the absence of a wxString::ToCDouble() with the call to the real thing now that we have it.

2010-05-03 10:02 JJ, revision 64203

Update OpenVMS compile support

2010-05-02 14:19 VZ, revision 64202

Fix PCH-less build after changes r64139. As wx/log.h is not included from wx/dynlib.h (via wx/msw/private.h) any longer, include it from here explicitly.

2010-05-02 14:19 VZ, revision 64201

Include <windows.h> before including <shellapi.h>. Although this is not needed with most compilers (including recent MinGW), including <shellapi.h> directly apparently doesn't work with some older MinGW versions. This fixes compilation after the changes of r64139.

2010-05-02 14:11 VZ, revision 64200

Create a branch for GSoC 2010 project for GUI classes unit testing by Steven Lamerton.

2010-05-02 14:10 VZ, revision 64199

Create a branch for GSoC 2010 project for wxMaskedEditCtrl implementation by Julien Weinzorn.

2010-05-02 14:09 VZ, revision 64198

Create a branch for GSoC 2010 project for Windows Vista/7 UI enhancements by Rickard Westerlund.

2010-05-02 14:06 VZ, revision 64197

Create a branch for GSoC 2010 project for wxRichTextCtrl image support enhancements by Mingquan Yang.

2010-05-02 14:01 VZ, revision 64196

Add wxTreeCtrl::{Clear,Set}FocusedItem(). Allow changing just the currently focused (not selected) item and also removing the focus completely. Closes #11599.

2010-05-02 13:48 VZ, revision 64195

Spell contributor name correctly. Use the spelling preferred by Nikolay himself, see #11599.

2010-05-01 23:42 PMO, revision 64194

Update to trunk r64193

2010-05-01 23:06 PMO, revision 64193

Added more stubs

2010-05-01 15:41 PMO, revision 64190

Detect qt paths via pkg-config

2010-05-01 15:38 PMO, revision 64189

Detect qt paths via pkg-config

2010-05-01 14:35 PMO, revision 64188

Improved MOC rules

2010-04-30 20:29 SC, revision 64187

updated headers

2010-04-30 20:29 SC, revision 64186

textctrl impl

2010-04-30 18:55 SC, revision 64185

adding wrapper for native UIWindow, using designated initializer for view controller

2010-04-30 18:53 SC, revision 64184

adjusting to API change of cocoa and carbon

2010-04-30 18:52 SC, revision 64183

cleanup

2010-04-30 18:46 VS, revision 64182

Check in samples/dll for WXUSINGDLL. If it is set and DLL build of wx is used, emit an error, as the sample won't work correctly in that case.

2010-04-30 18:40 SC, revision 64181

moving value setting conformance to impl

2010-04-30 18:31 SC, revision 64180

iphone implementations

2010-04-30 15:32 JMS, revision 64179

Use scoped ptrs to managed wxAnyValueType instances. This fixes deallocation issues in some dynamic library use cases.

2010-04-30 11:29 SC, revision 64178

adding uifont support

2010-04-29 10:31 VS, revision 64165

Always use active wxTranslations instance via wxLocale. Don't use m_translations directly, if the user made changes to wxTranslations instance, it would be too confusing if calls through wxLocale compat API did nothing. Also don't change active wxTranslations object from wxLocale if already done by user, only call wxTranslations::Set() from wxLocale constructor if it wasn't already set by the user. Still do if wxTranslations instance currently in use was set by previous wxLocale on the locale stack.

2010-04-27 18:16 JS, revision 64163

wxRTC: fixed style selection reset after editing a style. wxRTC: can now edit line spacing in .1 increments from 1 to 2.

2010-04-27 18:10 JS, revision 64162

Font output fix

2010-04-27 18:09 JS, revision 64161

wxRTC: fixed style selection reset after editing a style. wxRTC: can now edit line spacing in .1 increments from 1 to 2.

2010-04-27 18:07 JS, revision 64160

Font output fix

2010-04-27 15:26 JMS, revision 64159

Safeguard against redundant registration of the same wxAnyValueType instance (by storing pointers in a set instead of a vector)

2010-04-27 11:38 VS, revision 64157

Use '+' in accelerators, not '-'. This was always GTK+ standard and even Windows uses it now, see the UX Guide.

2010-04-27 10:52 VZ, revision 64156

Fix typo in SIZEOF_WCHAR_T test. This fixes compilation under the platforms where SIZEOF_WCHAR_T != 4 (probably Windows only). Closes #11994.

2010-04-26 22:51 VS, revision 64155

Add support for storing translations in win32 resources.

2010-04-26 22:51 VS, revision 64154

Shorten lang names in wxTranslations, not wxFileTranslationsLoader. If a catalog with full language name ("fr_BE") doesn't exist, wxFileTranslationsLoader tries to look for just the base language ("fr") too. This isn't something specific to wxFileTranslationsLoader, it makes sense to do it regardless of the loader.

2010-04-26 22:51 VS, revision 64153

Add wxMemoryBuffer::release().

2010-04-26 22:51 VS, revision 64152

Add instance argument to wxLoadUserResource(). This makes it possible to load resources from other modules than the main executable.

2010-04-26 22:50 VS, revision 64151

Make wxLoadUserResource() declaration available to wxBase too.

2010-04-26 18:53 VZ, revision 64150

Add wxLoadUserResource() overload not copying the resource data. The existing wxLoadUserResource() copies the resource data which is often unnecessary. Add another overload which just returns the pointer directly to the resource data. Also move the function into base from core as it can be useful for the console applications as well. Finally, define wxUserResourceStr used by this function only in the same file where the function itself is defined instead of datacmn.cpp.

2010-04-26 18:46 CE, revision 64149

run script on windows

2010-04-26 18:33 RD, revision 64148

Move 2.8.11 tag to the proper place

2010-04-26 18:23 VZ, revision 64147

Remove a harmless unused parameter warning in wxOSX/Carbon.

2010-04-26 16:19 VZ, revision 64146

Fix wxGTK1 event loop definition mismatch between base/GUI. We must define wxEventLoopBase in the same way in base and GUI code, otherwise, even though we fool the compiler into accepting our code, it crashes or behaves otherwise weirdly during run-time because of vtbl mismatch. This fixes wxGTK1 which was crashing on startup since the FSWATCHER branch merge in r62474 and associated changes to support the event loop sources.

2010-04-26 16:19 VZ, revision 64145

Use wxMenuBar::Attach/Detach() instead of SetInvokingWindow() in wxGTK1. This is the same as r64127 for wxGTK.

2010-04-26 16:19 VZ, revision 64144

Fix wxGTK1 link after toolbar files renaming. Fix a typo in r62849: tooltip.cpp was used instead of toolbar.cpp resulting in linking errors for the duplicate symbols in the former and undefined symbols in the latter.

2010-04-26 16:19 VZ, revision 64143

Set popup menu invoking window in wxWindowBase and not in all ports. Don't duplicate the code for setting (and unsetting, which was forgotten by at least wxGTK) the popup menu invoking window in all ports but do it in the base class PopupMenu() itself. Also add a helper wxMenuInvokingWindowSetter class which ensures that the invoking window will be unset in any case.

2010-04-26 16:19 VZ, revision 64142

Don't set invoking window recursively in wxGTK wxWindow::PopupMenu(). Setting the invoking window for all submenus is unnecessary as wxMenu::GetWindow() recurses upwards anyhow and results in assert failures after recent menu code changes. Simply don't do this. OTOH do reset the invoking window to NULL after the menu is dismissed to avoid storing a dangling pointer in the menu.

2010-04-25 23:33 FM, revision 64140

no real change: just fix RCS-ID so that it reflects the current revision number

2010-04-25 14:07 VS, revision 64139

Don't include wx/msw/private.h from dynlib.h. Because it's private header and introduces dependency on window.h.

2010-04-25 14:07 VS, revision 64138

Declare various WXH* handles compatibly with SDK. It is no longer necessary to cast between e.g. HINSTANCE and WXHINSTANCE, they are now declared as the same type (without including Windows SDK header).

2010-04-24 22:39 VZ, revision 64136

Remove unnecessary duplicate code dealing with invoking window from wxOSX. This is roughly the same as r64127 for wxGTK but for wxOSX: don't duplicate the functionality already present in the base class in Mac-specific way. Just use wxMenu::GetWindow() instead of painstakingly propagating invoking window changes via the entire menu hierarchy. Also attach the root menu used in wxOSX to the menu bar to ensure that the correct window can be found for all its menus. Closes #11990.

2010-04-24 22:39 VZ, revision 64135

Recurse upwards the menu hierarchy in wxMenu::GetWindow(). Only the top level menus have non-NULL wxMenuBar pointer too, so recurse upwards the menu hierarchy in GetWindow() and not (just) GetInvokingWindow(). This fixes event processing for submenus broken by the recent changes.

2010-04-24 19:52 VZ, revision 64134

Disable ImageTestCase::LoadFromFile() on build slaves. This test case keeps failing erratically resulting in too many bogus build breakage notifications. Disable it until someone has time to fix it properly.

2010-04-24 19:20 PMO, revision 64133

Update to trunk r64122 to get fix for wxMenu::SendEvent()

2010-04-24 19:08 PMO, revision 64132

Handle Qt signals for menu items

2010-04-24 19:06 PMO, revision 64131

wxQtAction implementation

2010-04-24 18:59 VZ, revision 64130

A slightly better compilation fix after PCH-less build breakage in r64126. Include wx/frame.h header instead of casting wxFrame to wxWindow using C style cast. Although this does work now and probably will work later too it seems better to not use the cast nevertheless.

2010-04-24 18:10 VS, revision 64129

Added missing @since tags to wxTranslationsLoader classes.

2010-04-24 16:40 PC, revision 64128

non-pch build fix

2010-04-24 17:08 VZ, revision 64127

Don't use invoking window in wxGTK wxMenuBar implementation. wxGTK wxMenuBar used its own SetInvokingWindow/UnsetInvokingWindow() and related functions instead of reusing the base class Attach/Detach() which exist for exactly the same purpose. This resulted in unnecessary code duplication and confusion and, since the changes of r64104, resulted in asserts due to use of SetInvokingWindow() for non-popup menus. Fix this by removing the wxGTK-specific functions and doing the work they used to do in (now overridden) Attach() and Detach(). Also call Attach/Detach() instead of these functions from wxGTK wxFrame and wxMDIParentFrame code.

2010-04-24 17:07 VZ, revision 64126

Use wxMenu::GetWindow() instead of GetInvokingWindow() in SendEvent(). This simplifies the code as we don't need to walk the menu hierarchy upwards any more (GetInvokingWindow() does it now) and also makes it work for all menus, not just the popup ones.

2010-04-24 17:07 VZ, revision 64125

Avoid code duplication in wxGTK menu events generation code. Reuse the existing DoCommonMenuCallbackCode() function instead of duplicating its code in menuitem_select() and menuitem_deselect() GTK callbacks. No changes in behaviour.

2010-04-24 17:07 VZ, revision 64124

No real changes, just remove empty wxMenuBar dtor in wxGTK.

2010-04-24 17:07 VZ, revision 64123

Move wxMSW wxMenu::GetWindow() down to wxMenuBase. GetInvokingWindow() can only be used for the popup menus which have the invoking window, so add a new function which can be used to get the window associated with any kind of menu in all ports -- it already existed in wxMSW but is needed elsewhere too.

2010-04-24 13:09 PMO, revision 64122

Update to trunk r64121

2010-04-24 12:13 JMS, revision 64121

Allow wxPGProperty::Hide() to be called on unattached property (see #11987)