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-04-24 12:02 JMS, revision 64120

In wxPropertyGrid::DoPropertyChanged(), call GetEditorControl() as late as possible so that editor can be changed in wxPGProperty::OnSetValue() (fixes #11987)

2010-04-24 09:06 VS, revision 64119

wxLocale::InitLanguagesDB() doesn't use wxStringTokenizer, remove it.

2010-04-24 09:06 VS, revision 64118

Split intl.h into intl.h, language.h and translation.h. To make the code more manageable, intl.h now contains wxLocale and translation.h all translations-related stuff (wxTranslations, _() etc.). Code generated by genlang.py was moved into its own files (language.h, languageinfo.cpp).

2010-04-24 09:06 VS, revision 64117

Split wxLocale into wxLocale and wxTranslations. wxTranslations is for handling gettext translations. wxLocale manages locale and provides compatiblity API for translations. Separating these two loosely related tasks makes it possible to use translations into languages not known by Windows or using localized GUI without all the locales compilations.

2010-04-24 09:06 VS, revision 64116

Fix typo in internat sample. Catalog should be added with domain name ("wxstd"), not file name ("wxstd.mo").

2010-04-23 21:34 VZ, revision 64115

Work around wrong client size computation for not yet shown maximized windows. The client size of maximized windows which hadn't been shown yet isn't computed correctly by wxMSW because WM_NCCALCSIZE returns too small values for some reason. Attempts to fix this were unsuccessful so just ensure that the window is re-laid out using the right size from WM_SIZE it receives when it is shown instead of using the wrong pending size. Closes #11762.

2010-04-23 14:59 CE, revision 64114

remove 2.9.1 from dated files

2010-04-22 16:57 VS, revision 64113

Fixed (correct) warning about uninitialized inputConv.

2010-04-22 16:16 VZ, revision 64112

Fix harmless warning about a possibly uninitialized variable. gcc complained about possibly uninitialized variable in QueueTestCase in optimized build, just initialize it to suppress this warning.

2010-04-22 16:16 VZ, revision 64111

Don't test possibly uninitialized variable in wxGCDC::SetLogicalFunction(). The variable "mode" is not filled by TranslateRasterOp() function if the input function is not supported, so don't compare it with wxCOMPOSITION_XOR later. Just compare "function" itself with wxXOR as this works in any case.

2010-04-22 16:16 VZ, revision 64110

Fix harmless g++ 4.3 warning about suggested parentheses. Add parentheses around && within ||.

2010-04-22 16:16 VZ, revision 64109

Define wxStrto{d,l,ul}_l() functions in non-Unicode build too. This fixes the unit test compilation in ANSI build.

2010-04-22 16:06 JMS, revision 64108

Added parenthesis around macro arguments

2010-04-22 15:51 JMS, revision 64106

Allow wxAny to contain 'const char*' or 'const wchar_t*'. This was previously not possible since these pointers were converted to wxString, as convenient means to work with string literals. Now pointers (to string literals) are stored instead, and As<wxString>(), comparison operators do the type conversion.

2010-04-22 14:08 VZ, revision 64105

Fix off by one error in wxFTP::GetFileSize(). We incremented the index once more even after finding the line we were looking for in the array which meant that we accessed a wrong array element in any case and could even attempt to access an out of bound one if the file was found in the last line. Closes #11964.

2010-04-22 13:21 VZ, revision 64104

Return correct invoking window for submenus of a popup menu. SetInvokingWindow() is only called for the top menu being popped up itself but the invoking window should also be associated with its submenus. Modify GetInvokingWindow() to return the parents invoking window for submenus. This fixes a crash due to returning NULL from wxMenu::GetWindow() in wxMSW owner-drawn code. And it also makes redundant some code in wxUniversal wxMenu implementation which can now simply use GetInvokingWindow() in all cases. Closes #11957.

2010-04-22 13:21 VZ, revision 64103

Use symbolic names for popup menu ids in wxEVT_MENU_HIGHLIGHT events in wxMSW. No real changes, just use wxID_NONE instead of hardcoded -1 (in one place) and -3 (in another one). Hardcoding them not only made the code less readable but also resulted in two numbers actually becoming different when they almost certainly were meant to be the same. This shouldn't result in any changes in the user-visible behaviour but we now avoid searching the menu bar for menu items with id of -1 needlessly.

2010-04-22 13:21 VZ, revision 64102

Fix bug with using incorrect negative ids in wxEVT_MENU_HIGHLIGHT events. wxMSW code implicitly cast ids carried by wxEVT_MENU_HIGHLIGHT events to unsigned short so that they didn't compare equal to the (signed, negative) ids of the real menu items. Because of this menu help strings were not shown for any items with negative ids, i.e. those created using wxID_ANY. Closes #11977.

2010-04-22 13:21 VZ, revision 64101

Override wxWindow::MSWGetCreateWindowCoords() in wxTopLevelWindow. The old code was messy because it handled both top level and child windows at wxWindow level when they need quite different treatment. This resulted in several errors: first, wxWindow versions of WidthDefault and HeightDefault were used to determine the initial size even of top level windows which was clearly wrong as it created tiny windows (20*20). Second, CW_USEDEFAULT could be used for child window for which this shouldn't be done. Fix this by making MSWGetCreateWindowCoords() virtual and overriding it in wxTopLevelWindow. This makes the code much simpler and more obviously correct. Also make MSWGetCreateWindowCoords() void, as nobody was using its return value anyhow (and the old version also had a bug in it and wrongly returned true when default size was passed to it).

2010-04-22 13:20 VZ, revision 64100

Add documentation for several grid cell renderer/editor classes. Document the previously undocumented renderers and editors. Closes #11965.

2010-04-22 13:20 VZ, revision 64099

Clarify that Raise() is only a request to raise the window. Calling Raise() doesn't guarantee that the window will be raised. Closes #11974.

2010-04-22 13:20 VZ, revision 64098

Fix fatal bug in ArgsArray(wchar_t**) ctor. The input pointer was modified before being used again leading to out of bound array access. Closes #11979.

2010-04-22 09:00 SC, revision 64097

missed in r64093

2010-04-22 08:46 SC, revision 64096

switching to correct hit-testing

2010-04-22 08:23 SC, revision 64095

simpler code

2010-04-22 08:18 SC, revision 64094

shutdown sequence routing to EndSession calls

2010-04-22 08:16 SC, revision 64093

overriding the cfrunloop accessor, during booting cocoa has to create a NSRunLoop earlier

2010-04-21 18:46 VS, revision 64090

msgIdCharset is only needed in ANSI build. In Unicode build, there's no need to create wxCSConv object for every loaded catalog when it won't be used for anything.

2010-04-21 16:40 VZ, revision 64089

No real changes, just fix typos in the ownerdrw sample. s/Cheked/Checked/g

2010-04-21 16:40 VZ, revision 64088

Remove the extra margins when checking owner drawn menu icons size. The extra +4 in IsLessThanStdSize() functions resulted in assert failures under Windows XP after the ownerdraw drawing changes so remove it as nobody knew why was it there anyhow. Also replace IsLessThanStdSize() with IsGreaterThanStdSize() to allow using it directly instead of always testing for !IsLessThanStdSize(). See #11657.

2010-04-21 06:13 SC, revision 64087

non precomp build fix

2010-04-20 23:02 SC, revision 64084

backport of better drawing for toggle buttons

2010-04-20 23:00 SC, revision 64083

backport of order fixes for transform concatenations

2010-04-20 22:53 SC, revision 64082

backport r64081

2010-04-20 22:48 SC, revision 64081

avoiding full resize-invalidate and refresh

2010-04-20 22:29 SC, revision 64079

restoring special handling for carbon system menu items, fixes #11819

2010-04-20 21:09 SC, revision 64068

tracking open modal dialogs

2010-04-20 21:07 SC, revision 64067

currently avoid problems when releasing the capture during drag on osx_cocoa

2010-04-20 18:02 SC, revision 64066

better layout for simple one param messages, closes #11810

2010-04-20 16:55 SC, revision 64065

having common API for mapping between native and wx tlw type

2010-04-20 16:55 SC, revision 64064

type of wrapped window can be any NSWindow, not only our own classes

2010-04-20 16:54 SC, revision 64063

TODO done

2010-04-20 16:53 SC, revision 64062

use new call

2010-04-20 16:51 SC, revision 64061

wrap native TLWs so that they also appear in the tlw list

2010-04-20 16:50 SC, revision 64060

support for capturing, use categories instead of member vars for the implementation mapping, so that we can wrap native NSWindow instances as well

2010-04-20 14:55 JMS, revision 64059

Fix VC6 compilation by changing the order of assignment operators in wxAny

2010-04-20 13:59 VZ, revision 64058

Check for menu title being non-empty when appending it to the menu bar. It doesn't make sense to add a menu with empty title to the menu bar so assert that the title is not empty and fail to add the menu if it is. See r64033 in wxQT branch.

2010-04-20 13:10 VZ, revision 64057

Add wxProgressDialog::Was{Cancelled,Skipped}() convenience methods. Although the information about "Cancel" and "Skip" buttons presses is returned from Update(), sometimes it may be more convenient to ask the dialog about whether it was cancelled or skipped instead of storing it in the program itself. Add the methods which allow to check for this. Closes #10903.

2010-04-20 09:28 JJ, revision 64056

correcting error in OpenVMS makefile

2010-04-20 07:01 SC, revision 64055

if we have wxBG_STYLE_PAINT, we must clear the background ourselves, since on OSX there might be transparent subpanels, fixes #11958

2010-04-19 20:54 FM, revision 64053

minor additions and clarifications

2010-04-19 16:44 SC, revision 64052

re-adding script that is needed for xcode builds

2010-04-19 16:33 JMS, revision 64051

or -> || (how did that compile on GCC anyway?)

2010-04-19 16:25 JMS, revision 64050

When deciding whether to convert wxAny to 'long' or 'longlong' wxVariant, use wxINT32_MAX instead of LONG_MAX (for more consistent results across builds)

2010-04-19 16:23 JMS, revision 64049

Improve wxAny<->wxVariant conversion 64-bit integer tests

2010-04-19 15:36 SC, revision 64048

missing return value

2010-04-19 14:39 JJ, revision 64047

update OpenVMS compile support

2010-04-19 00:15 VZ, revision 64041

Use "monospace" face name for all Unix systems, hopefully it should work. This fixes failures of several build bot slaves (all running Debian or Ubuntu) which were due to using "Fixed" under these Linux distributions. Unfortunately "Fixed" didn't work as Pango doesn't seem to recognize it as a valid face name. "DejaVu Sans" should probably work on most current Linux systems but "Monospace" should hopefully be available on other Unix systems as well. We could also just take whatever wxFontEnumerator returns which should probably be even more fool-proof.

2010-04-18 20:49 SC, revision 64040

render characters on OSX one by one as fractional widths leads to errors otherwise

2010-04-18 20:38 SC, revision 64039

concatenation must use prepend mode on osx as well

2010-04-18 19:19 PMO, revision 64035

Make the output of wxMissingImplementation more assert like

2010-04-18 19:19 MW, revision 64034

Try to provide backtraces on unix buildbots if the test program crashes.

2010-04-18 19:18 PMO, revision 64033

Check for empty menu title

2010-04-18 18:27 MW, revision 64032

Add stub -t and -d options to the test program on the stable branch for forward compatibilty with the trunk.

2010-04-18 18:18 JMS, revision 64031

Use const_cast<> to get 'wxAnyValueType*' from 'const wxAnyValueType*'

2010-04-18 17:46 PMO, revision 64030

First parts of the menu implementations

2010-04-18 15:29 SC, revision 64029

fixing coordinate conversions for captured windows

2010-04-18 15:18 SC, revision 64028

using same API

2010-04-18 15:17 SC, revision 64027

streamlining code for extra controls

2010-04-18 15:15 SC, revision 64026

painting background of splitter as well, fixes #11958

2010-04-18 13:54 JMS, revision 64025

Fix STL build

2010-04-18 13:15 JMS, revision 64022

Fix wxAny for VC6 by removing 'wxAny& operator=(const wxVariant &variant)' for it. This will break some cases of implicit wxVariant->wxAny conversion (for VC6).

2010-04-18 12:19 JMS, revision 64021

Correctly use wxANY_AS() instead of wxAny::As<>(), for VC6 compatibility

2010-04-18 11:49 SC, revision 64020

normal windows also have transparent corners, so don't ever set it to non transparent ...

2010-04-18 02:05 VZ, revision 64019

Fix bug with using uninitialized flags in GetParentForModalDialog(). GetParentForModalDialog() was called from the ctor initialized list before m_windowStyle could be initialized by the base class ctor in several different places, meaning that the check for wxDIALOG_NO_PARENT in this function was using uninitialized variable. Fix this by passing the style parameter explicitly to this function to allow using it from derived class ctors. Still keep an overload which uses the actual window parent and flags which is simpler to use for later calls to this function. Thanks valgrind for finding this one.

2010-04-17 16:15 VZ, revision 64018

Don't return invalid size from wxDir::GetTotalSize() for empty dirs. wxDirTraverserSumSize::GetTotalSize() may, and will, return 0 for empty directories, this is not an error and so don't treat it as such. Closes #11937.

2010-04-17 16:15 VZ, revision 64017

No real changes, just some minor cleanup of wxDirTraverserSumSize. Put the comment before the code it comments on, not after. Return const reference from an accessor.

2010-04-17 14:34 RR, revision 64016

Added virtual destructor

2010-04-17 14:03 JMS, revision 64015

Removed two instances of 'template<>' - looks like VC6 did not need it after all, but was just really picky about the order of constructors

2010-04-17 11:12 PMO, revision 64014

Applied latest wxQt patch from 2010-04-17

2010-04-17 11:10 PMO, revision 64013

Applied latest wxQt patch from 2010-04-17

2010-04-17 11:00 JMS, revision 64012

Suppressed some harmless VC6 warnings

2010-04-17 10:59 JMS, revision 64011

Fixed VC6 compilation - wxAny(const wxVariant&) ctor required a specific 'template<>')

2010-04-17 10:50 MW, revision 64010

Revert change to add -t to buildbot test runs as some branches don't have it.

2010-04-17 00:14 MW, revision 64006

Use -t on buildbot test runs.

2010-04-16 22:52 VZ, revision 64005

Don't define wxADJUST_MINSIZE if it had been already defined. Defining wxADJUST_MINSIZE as 0 may be a simple way to make the old code to compile and while it works without WXWIN_COMPATIBILITY_2_8 it paradoxically doesn't work with it because this results in errors when wxADJUST_MINSIZE is defined as 0 by wx itself. Avoid this problem by only defining wxADJUST_MINSIZE ourselves if it hadn't been defined yet.

2010-04-16 22:52 VZ, revision 64004

Add wxToolBar::GetToolByPos() method to access tools by their index. This is a trivial accessor which somehow was never added before even though we had GetToolsCount() and even DeleteToolByPos(). Closes #11120.

2010-04-16 22:09 VS, revision 64003

Fix build breakage caused by bConvertEncoding deprecation.

2010-04-16 17:34 JMS, revision 64002

Try a blind fix for VC6 compilation issues (wxAny ctor has become too ambiguous now that it has a form that takes wxVariant reference)

2010-04-16 16:36 JMS, revision 64001

Adapted wxPropertyGrid documentation, samples, tests, and wxVariantData-macros to the new wxAny<->wxVariant conversions

2010-04-16 16:33 JMS, revision 64000

wxVariant <-> wxAny conversion functionality. Includes implicit construction of wxAny from wxVariant, and vice versa. wxVariant->wxAny conversion is implemented by adding new virtual member function into wxVariantData. wxAny->wxVariant conversion is implemented by associating wxAnyValueTypes with functions that generate wxVariantData instances (using a hash map).

2010-04-16 16:27 VZ, revision 63999

Create a branch for wxQt development.

2010-04-16 14:47 VZ, revision 63998

Minor corrections to the documentations. Use the correct "override" instead of "overload". Remove unnecessary "virtual" keyword occurrences. Closes #11949.

2010-04-16 14:47 VZ, revision 63997

Correct the case of wxHyperlinkCtrl in the documentation. Closes #11814.

2010-04-16 14:47 VZ, revision 63996

Document wxWindow::DoCentre() and wxCENTRE_ON_SCREEN flag. See #11949.

2010-04-16 14:44 VZ, revision 63995

Don't rely on __GXX_RTTI being defined with g++ < 4.3. __GXX_RTTI is only defined since g++ 4.3.2 and so we can't rely on its absence as indicating the use of -fno-rtti switch with the older versions of the compiler, only do this for g++ 4.3+. Also define wxNO_RTTI from configure if --enable-no_rtti was used as we can't always detect it automatically. Closes #11955.

2010-04-16 13:29 VS, revision 63993

Remove wxLOCALE_CONV_ENCODING flag. This doesn't affect Unicode builds, only the legacy ANSI one. PO files are now always converted to the appropriate charset according to current locale. This was the default behavior for long time; not doing the conversion was always a fragile hack that didn't work well. Removing this flag simplifies wxLocale code.

2010-04-16 13:29 VS, revision 63992

Add wxLOCALE_DONT_LOAD_DEFAULT (=0) for clarity.

2010-04-16 12:43 VS, revision 63991

Remove wxUSE_WCHAR_T checks. wxWidgets requires wchar_t for some time now; wx/chartype.h has a check to fail complation without it. Simplify code by removing now-dead code for the !wxUSE_WCHAR_T case.

2010-04-16 12:22 VS, revision 63990

Mark wx apps as DPI aware on Windows 7/Vista.