Changelogs

Overview

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

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

regenerated

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

adding Kevin's fix for wxTOOL_STYLE_SEPARATOR

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

Fixed constants of the new wxPG_EX styles

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

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

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

Documented a couple of combo control fixes on Mac.

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

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

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

Fix on Mac to prevent scrollbars always being shown

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

Fix on Mac to prevent scrollbars always being shown

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Adapted wxPGComboBox margins setup to changes in wxComboCtrl

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

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

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

Fixed a warning generated by GCC 4.4.0

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

Use real id for wxPGCanvas

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

removed superfluous ;

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

fixed typo : wxDEPRECTED -> wxDEPRECATED

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

tagging 2_9_0 release state

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fixed GtkBorder allocation (hopefully)

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

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

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

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

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

Clarify the separator native look remark. Closes #11174.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Normalize property label editor margins on wxMSW

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

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

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

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

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

Documented font dialog fix.

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

Backported fix from 2.9.

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

Removed some old code that generated warnings on some compilers

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

Fixed a severe crash bug

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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