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

2011-11-28 14:34 VZ, revision 69857

Ignore WXK_NONE events in wxStyledTextCtrl. Scintilla use of 0 indicating "modifier key" conflicts with our use of WXK_NONE indicating absence of a valid key code. As Scintilla can't do anything with the keys without a key code anyhow, simply ignore them immediately, without passing them to Scintilla, in DoKeyDown(). This fixes handling of IME input in wxStyledTextCtrl under MSW and possibly other problems (e.g. with dead char keys). Closes #13570.

2011-11-28 14:23 VZ, revision 69856

Add support for custom numeric formats to wxGrid. Allow %e and %g formats (as well as their upper-letter equivalents) in addition to the default %f format for number display in wxGrid. Closes #13583.

2011-11-28 13:47 VZ, revision 69855

Don't hardcode the number of toolbar tools in the toolbar sample. Use GetToolsCount() instead of the hardcoded 10 (which can be wrong if any tools were added or removed). See #13673.

2011-11-28 13:47 VZ, revision 69854

Corrected handling of wxTB_HORZ_TEXT in the toolbar sample. The value of flag could be lost when toolbar was recreated without using text at all. Closes #13572.

2011-11-28 11:24 SC, revision 69853

supporting rawctrl strings, fixes #13496, rawctrl is correctly interpreted for all platforms

2011-11-28 07:02 DS, revision 69852

Regenerated Xcode projects. Updated the Xcode projects to include src/common/time.cpp.

2011-11-28 06:11 PC, revision 69851

update _GOptionGroup check

2011-11-28 06:00 PC, revision 69850

build fixes for Universal

2011-11-28 05:51 PC, revision 69849

don't warn about gnomeprint if we already have gtkprint

2011-11-27 23:59 PC, revision 69848

don't require gconf-2.0, we don't use it

2011-11-27 21:28 VZ, revision 69847

Include wx/time.h to get wxLocaltime_r() declaration, not wx/datetime.h. Also remove wxUSE_DATETIME guard, wxLocaltime_r() is available even without wxUSE_DATETIME.

2011-11-27 21:28 VZ, revision 69846

No changes, just moved wxLocaltime_r() and wxGmtime_r() to wx/time.h. These functions are used by wxGetTimeZone() defined in time.cpp and so need to be available from wx/time.h. This is also the most logical place for them.

2011-11-27 20:52 VZ, revision 69845

Implement wxStackWalker for wxMSW under x86-64. Use 64 bit debug help functions instead of 32 bit ones and add code for dealing with x86-64 stack frames.

2011-11-27 20:50 VZ, revision 69844

Add support for VK_OEM_102 key under wxMSW. This is the "<>|" key on German keyboard and is also used in many other layouts so failing to handle it resulted in not receiving EVT_KEY_XXX events for these keys in wxWidgets programs. Closes #13558.

2011-11-27 20:50 VZ, revision 69843

Set Unicode key code correctly for key events for WXK_RETURN in wxMSW. WXK_RETURN is an ASCII character so return it from wxKeyEvent::GetUnicodeKey() for EVT_KEY_{DOWN,UP} events, especially as it was already done for EVT_CHAR ones. See #13558.

2011-11-27 20:50 VZ, revision 69842

Change value of wxHELP to avoid clash with wxSTAY_ON_TOP. Using wxSTAY_ON_TOP with wxMessageDialog resulted in "Help" button appearing since r68537 because these two constants had the same numeric value. Avoid this by changing wxHELP value to be the same as wxCLOSE_BOX instead: the latter can't be used with wxMessageDialog so this should solve the problem, even if there are still conflicts. Also adjust the other button constants values to account for wxHELP change. Closes #13433.

2011-11-27 20:50 VZ, revision 69841

Use wxGetUTCTimeUSec() in wxStopWatch under Unix for higher precision. If gettimeofday() is available we can achieve better than millisecond precision (even if it usually isn't as high as microsecond), so use it as clock source in wxStopWatch.

2011-11-27 20:50 VZ, revision 69840

Use wxGetUTCTimeMillis() instead of wxGetLocalTimeMillis() in wxStopWatch. Using local time meant that wxStopWatch didn't work reliably around DST changes. It also was completely unnecessary, just use the UTC clock instead.

2011-11-27 20:50 VZ, revision 69839

Removed private wxGetLocalTimeUsec() function from Unix code. The function was badly named as it returned UTC time and not local time and can be simply replaced with the just added public wxGetUTCTimeUSec().

2011-11-27 20:50 VZ, revision 69838

No changes, just move time functions from wx/stopwatch.h to wx/time.h. Preserve compatibility by including wx/time.h from wx/stopwatch.h but put all the time-related functions in a more logical place.

2011-11-27 20:50 VZ, revision 69837

Added wxGetUTCTimeMillis() and wxGetUTCTimeUSec(). Fixed wxGetLocalTimeMillis() to really return the local time and provide wxGetUTCTimeMillis() doing what this function used to do before. Closes #13610. Also add wxGetUTCTimeUSec() for even higher resolution time stamps as it is basically the same as wxGetUTCTimeMillis() anyhow, at least for MSW and non-ancient Unix systems providing gettimeofday().

2011-11-27 20:50 VZ, revision 69836

Extracted private GetTimeZone() to public wxGetTimeZone() function. Created new wx/time.h header for this function, more time-related functions will be added to it later.

2011-11-27 20:50 VZ, revision 69835

Added wxStopWatch::TimeInMicro() for better precision time measurement. Also simplify/streamline wxStopWatch implementation and replace confusingly named m_pause with more clear m_elapsedBeforePause.

2011-11-27 20:50 VZ, revision 69834

Use ::QueryPerformanceCounter() for wxStopWatch implementation in wxMSW. QueryPerformanceCounter() provides higher resolution and precision for measuring time under MSW, even though it suffers from some problems in older Windows versions.

2011-11-27 20:50 VZ, revision 69833

Use shorter sleep times in wxStopWatch unit test. Make wxStopWatchTestCase::Misc() run in 2.5 seconds instead of 7. This not only makes the test run faster but allows us to test wxMilliSleep() and precision of wxStopWatch for time periods in fractional seconds.

2011-11-27 20:50 VZ, revision 69832

Correct wxTLS_PTR definition for !wxHAS_COMPILER_TLS case. wxTLS_PTR should have type of "T*" instead of being simply usable as "T*" because of its overloaded operator->(), otherwise the code relying on it being "T*" and compiling without problems in wxHAS_COMPILER_TLS case could fail to compile without compiler TLS support. Closes #13644.

2011-11-27 20:49 VZ, revision 69831

Don't hide/show wxActiveXContainer when resizing it. This results in bad flicker as can be seen with wxWebView or wxMediaCtrl and just doesn't seem to be necessary. Closes #13680.

2011-11-27 20:49 VZ, revision 69830

Don't crash when changing label of label-less wxToggleButton in wxGTK. If a button doesn't show any text label, simply don't do anything when SetLabel() is called instead of replacing the image shown by the button with a text label as the button doesn't expect this to happen and doing it breaks its assumptions about the widgets it has and results in assert failures later. Closes #13693.

2011-11-27 20:49 VZ, revision 69829

Include webview library headers in the list of all headers. Due to a typo in files.bkl (${...} was used instead of $(...) so the variable didn't get really dereferenced), the web view headers were not included in the list of all headers and hence not installed by "make install" under Unix. Closes #13690.

2011-11-27 20:49 VZ, revision 69828

Merge similar but not quite identical translated strings. Some translated strings appeared several times in almost but not quite identical form. Remove a few of them so that they don't have to be translated multiple times. Closes #13637.

2011-11-27 20:49 VZ, revision 69827

Define wxCURSOR_DEFAULT_TYPE correctly for the old Cocoa port. Closes #13652.

2011-11-27 13:57 JS, revision 69825

Bitlist comparison correction

2011-11-25 23:25 DS, revision 69822

merged libpng 1.5.6 to trunk

2011-11-25 23:22 DS, revision 69821

tagged libpng 1.5.6

2011-11-25 22:51 DS, revision 69820

Upgraded to libpng 1.5.6 (without contrib subdirectory). Also set some svn:eol-style properties on files added during previous upgrades.

2011-11-25 19:11 VS, revision 69819

Account for indentation in wxDataViewCtrl::GetBestColumnWidth(). Generic control only accounted for actual content, but didn't consider indentation level when calculating width of the expander column. Fixes #13629.

2011-11-25 15:37 SC, revision 69818

fixing iPhone build

2011-11-25 02:01 PC, revision 69817

check for self-assignment in operator=

2011-11-25 01:59 PC, revision 69816

copy array with memcpy rather than a loop

2011-11-25 01:52 PC, revision 69815

use int instead of size_t for a couple member variables it's simpler, and there is no point in using size_t anyway since they are assigned from ints

2011-11-25 01:32 PC, revision 69814

IsNull --> IsEmpty

2011-11-24 23:21 DS, revision 69812

Regenerated Xcode projects. Updated the Xcode projects to include wxRichToolTip files.

2011-11-24 02:38 RD, revision 69807

OnSysRead is pure virtual

2011-11-24 02:37 RD, revision 69806

The wxStreamProtocolType enum is multiply defined, remove one of them.

2011-11-24 00:58 VZ, revision 69805

Fix crash in wxTreeListCtrl::GetItemText() if text was never set. Asking for the text of an item is not an error even if it was never set for any column but the first one so just return an empty string in this case instead of crashing.

2011-11-23 18:21 PC, revision 69802

remove redundant GTK-specific code

2011-11-23 16:06 VZ, revision 69801

Italian translation corrections from Roberto Boriotti.

2011-11-23 14:43 VS, revision 69800

Make generic wxDataViewCtrl rows a bit taller. They now use the same height that Windows 7's Explorer uses. This makes more inline editor controls fit comfortably.

2011-11-22 14:18 VZ, revision 69797

Added convenient wxCmdLineParser::AddLong{Option,Switch}() wrappers. The new functions simply call Add{Option,Switch}() with an empty first argument but using them makes the code more readable.

2011-11-22 14:18 VZ, revision 69796

Dismiss wxSplashScreen on any user input, not necessarily on splash itself. Use wxEventFilter to remove the splash screen as soon as any user input is detected anywhere in the application, not necessarily over the splash screen itself. This ensures that the splash screen disappears as soon as the user starts working with the application instead of sticking around and covering the main window.

2011-11-22 14:18 VZ, revision 69795

Ensure that wxSplashScreen doesn't appear on taskbar nor in Alt-TAB list. Having the splash screen in Alt-TAB window list under MSW was useless and ugly (as it didn't even have the proper application icon) so use the appropriate styles to avoid this.

2011-11-22 14:18 VZ, revision 69794

Add wxEventFilter and related functionality. Allow defining event filters to globally pre-process all application events without having to override wxApp::FilterEvent().

2011-11-22 14:18 VZ, revision 69793

Hack wxMSW wxNotebook to show the text controls correctly initially. Add an Update() call to ensure that text controls in the initially selected notebook page are shown correctly. It's almost certainly not the right fix for the real bug that results in text controls not being shown when the notebook comes up but it doesn't cost much and at least allows us to get correct appearance for the themed notebooks.

2011-11-22 08:41 SC, revision 69792

fixes #13684

2011-11-19 18:35 VZ, revision 69790

Italian translation update from Stefano and Roberto Boriotti.

2011-11-19 01:00 VZ, revision 69789

Czech translations update from Zbyněk Schwarz.

2011-11-19 00:40 VZ, revision 69788

Fix HasFocus() for composite controls. Comparing the result of DoFindFocus() with the main window of composite control doesn't work as it can return a child window so HasFocus() still returned false for a composite control such as generic wxListCtrl even when it did have focus. Just use FindFocus() instead of DoFindFocus() to fix this.

2011-11-19 00:40 VZ, revision 69787

No changes, just remove extra whitespace from wxWebViewIE code. Closes #13678.

2011-11-17 21:43 SJL, revision 69786

Remove double buffering from wxWebViewIE as this is handled by the web browser control itself and actually makes flickering worse. Also remove an unnecessary background style.

2011-11-17 21:39 SJL, revision 69785

Adjust testing for non-visible controls in wxActiveXContainer. Fixes #13659

2011-11-17 17:43 VZ, revision 69784

Provide HANDLE_PTR for the compilers without it such as VC6. Also include wx/msw/wrapwin.h defininig HANDLE_PTR from wx/msw/webview_ie.h that uses it.

2011-11-17 08:51 JJ, revision 69783

define Popup and Dismiss for wxComboBox in wxMOTIF

2011-11-17 04:20 RD, revision 69776

fix missing and broken interface items for Phoenix

2011-11-17 02:25 RD, revision 69771

Add arg default values for the Create method

2011-11-17 02:23 RD, revision 69770

Don't include webkit headers from wx headers

2011-11-17 00:45 VZ, revision 69768

Move wxWebView-related definitions to webview_ie.cpp and fix them. Ensure that all the GUIDs are defined by including initguid.h to fix linking error with most versions of MinGW. Use "wx" prefix to avoid clashes with the standard GUIDs if they do happen to be defined. Closes #13645.

2011-11-16 19:38 VZ, revision 69767

Another Chinese translations update from Jiawei Huang.

2011-11-16 19:27 VZ, revision 69766

Compilation fix for PCH-less build after r69758. Need to include wx/msw/private.h explicitly for wxGetCursorPosMSW() declaration now. Closes #13664 (again).

2011-11-16 18:44 SC, revision 69765

porting back r69689

2011-11-16 17:57 SC, revision 69764

default encoding fix

2011-11-15 16:56 VZ, revision 69762

Add support for digits and +/- sign to wxUIActionSimulator::Text(). Support the characters needed for number entry in wxUIActionSimulator::Text() too. Closes #13671.

2011-11-15 16:46 VZ, revision 69761

Only update status bar fields after they were created in wxMSW. Postpone updating statu bar panes after they were actually created. Setting the status bar fields contents before setting the number of them failed resulting in debug error messages and the text not appearing in the status bar. Closes #13670.

2011-11-14 14:35 VZ, revision 69760

Replace wxT() with wxS() in image options definitions. The optimal way of creating a literal strings consisting of only ASCII characters is to use wxS() as this avoids the need for run-time conversion in all builds while wxT() requires a conversion from wchar_t to UTF-8 in UTF-8 builds. So replace wxT() with wxS() in wxImage options definitions. Also remove wxT() from the options documentation, it's just useless there.

2011-11-14 14:35 VZ, revision 69759

Added wxIMAGE_OPTION_ORIGINAL_{WIDTH,HEIGHT} wxImage options. These options allow to retrieve the original image size if the image was scaled during load. Closes #13662.

2011-11-14 13:51 VZ, revision 69758

Fall back on ::GetMessagePos() if ::GetCursorPos() fails under MSW. In some rare but reproducible cases GetCursorPos() can fail and return without filling in the provided point. Fall back to GetMessagePos() if this happens: this is not ideal but clearly better than using uninitialized position or hard coding something like (0, 0). Closes #13664.

2011-11-14 13:51 VZ, revision 69757

Don't redefine symbols already defined in latest MinGW headers. Closes #13645.

2011-11-14 13:51 VZ, revision 69756

No changes, just add another case to a switch on wxMouseButton. Fix warnings given when wx headers are compiled with g++ -Wswitch-enum option. Also make the assert messages more precise and less verbose as there is no need to include the function name in them, all relatively recent compilers provide it via __FUNCTION__ and wxFAIL_MSG() already uses it.

2011-11-14 10:39 JJ, revision 69755

Update compile support fror wxGTK on OpenVMS

2011-11-14 08:52 SC, revision 69754

latest private API usage complaint, right now most subclasses are using their own implementation, so this shouldn't lead to problems

2011-11-13 13:57 SJL, revision 69748

Set focus on the browser window after loading a url. Also fix a warning. Closes #13660

2011-11-13 12:51 VZ, revision 69747

Added stock accelerator for wxID_PRINT. Ctrl+P is a pretty standard accelerator for the "Print" command so add it as a stock one.

2011-11-12 23:47 VZ, revision 69746

Use wxConvertStringToOle() in wxWebViewIE code. Fix compilation in wxUSE_UNICODE=0 case.

2011-11-12 23:47 VZ, revision 69745

Correct typo in wxUSE_WEBVIEW_IE test in configure. Because of a missing '$' before wxUSE_WEBVIEW_IE in the configure test wxUSE_WEBVIEW was never enabled for wxMSW builds.

2011-11-12 21:49 SJL, revision 69744

Replace the sample animation timer with an idle loops and the animation with a busy cursor. Fixes #13518, #13658

2011-11-12 17:50 PC, revision 69741

position expander in center of given rectangle

2011-11-11 17:38 PC, revision 69740

use correct function to free GtkTextAttributes

2011-11-11 15:26 VZ, revision 69739

Intercept some keys in wxMSW wxTextCtrl even if they're used as accelerators. Bare (i.e. without any modifiers) Delete, Home and End keys are also required by the text control itself so don't handle them as accelerators when wxTextCtrl has focus.

2011-11-10 22:37 DS, revision 69732

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

2011-11-10 15:41 JJ, revision 69731

Add compile support for widgets sample on OpenVMS

2011-11-10 12:58 VZ, revision 69730

Compilation fix for wxUSE_UNICODE=0 build after wxUSE_STL=1 fix. The result of wxString::mb_str() can't be converted to wxScopedCharBuffer in non-Unicode build but converting it to wxCharBuffer is always fine (though slightly less efficient).

2011-11-10 12:49 VZ, revision 69729

Correct the direction passed to wxDataObject in wxOSX clipboard code. Query for formats that wxDataObject supports on input, not output, in wxClipboard::GetData(). This is similar to r69454 For wxGTK. Closes #13649.

2011-11-10 11:46 JS, revision 69728

Added Blit system options optimizations from trunk

2011-11-10 11:46 JS, revision 69727

Applied Blit system options optimization to StretchBlit

2011-11-10 01:30 VZ, revision 69721

Fix compilation in wxUSE_STL case broken by r69663. Don't rely on implicit wxString to char* conversion when calling XRCID_Assign().

2011-11-10 01:30 VZ, revision 69720

Remove all unwanted occurrences of -mt/-pthread in configure. Remove all inappropriate compiler options and not just the first one as they can occur multiple times because they may come from pkg-config output for several different libraries. Closes #13647.

2011-11-08 18:40 RD, revision 69704

Ensure that there is a modal event loop before trying to use it.

2011-11-08 18:39 RD, revision 69703

Add a border on the AutoComp list for wxOSX-Cocoa

2011-11-08 14:34 SJL, revision 69702

Skip spurious blank JavaScript events in wxWebView. Closes #13481

2011-11-08 14:23 SJL, revision 69701

Correctly escape the error log messages in the wxWebView sample.

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

Update wxHtmlWindow documentation to refer to wxWebView. Closes #13608

2011-11-08 12:02 VZ, revision 69699

Don't include wx/msw/wrapgdip.h if !wxUSE_GRAPHICS_CONTEXT. Fix compilation when GDI+ headers are not available by not including the header that includes <gdiplus.h> in this case. Closes #13640.

2011-11-08 12:02 VZ, revision 69698

Move GDK_META_MASK definition in the header in which it is also used. The code using GDK_META_MASK was moved to wx/gtk/private/event.h from gtk/window.cpp but the fallback definition of GDK_META_MASK for GTK+ < 2.10 remained in window.cpp. Move it to the header as well now so that it can be compiled with GTK+ < 2.10 again.

2011-11-08 12:02 VZ, revision 69697

Compilation fixes for GTK+ 2.4. Add missing GTK_CHECK_VERSION(2,6,0) checks.

2011-11-08 12:01 VZ, revision 69696

Add missing stdio.h include to wxGTK assert dialog code. As we use FILE for saving the assert message to a file, we must include <stdio.h> (which is not included from any other header, at least not under Solaris).

2011-11-08 11:53 VS, revision 69695

Use Enter and Space for cell editing in generic wxDVC too. If the normal Enter or Space processing (sending activate event or doing activatable editing respectively) isn't handled by the control, use these keys to trigger inline editing too, as F2 does. This makes the Windows control more similar to OS X and GTK+ ones and makes discovering editability easier.

2011-11-07 10:42 JJ, revision 69693

Updates to compile WX on OpenVMS

2011-11-07 10:34 JJ, revision 69692

wxGTK1 should not include .h files for wxGTK

2011-11-06 13:07 VZ, revision 69691

Updated all message catalogs to correspond to the current sources.

2011-11-06 13:06 VZ, revision 69690

Chinese translations update from Jiawei Huang.

2011-11-06 13:06 VZ, revision 69689

Use current time, not the Epoch for time zone determination. When deducing the time zone from struct tm tm_gmtoff field, query tm for the current time and not the Epoch as the DST rules -- and hence the time zone offset -- could have changed since 1970. This is notably the case for Ireland which used a different time zone from 1968 to 1971. Notice that GetTimeZone() still must return the time zone without taking DST into account, so we explicitly compensate for DST if it's in effect.

2011-11-05 16:20 VS, revision 69688

Fix wxArray::Index() with bFromEnd=true in STL build. This function incorrectly returned index from the end of the array when searching from the end. Fixed to work as the non-STL version. Fixes #13626.

2011-11-05 16:20 VS, revision 69687

Test correctness of wxArray::Index() with bFromEnd=true.

2011-11-05 13:25 FM, revision 69686

no real change: just move Docset/CHM/QCH declarations in their own sections

2011-11-05 12:55 FM, revision 69685

Move detailed documentation to the top, leaving styles and event tables at the bottom, like for any other wxWidgets control

2011-11-05 12:55 FM, revision 69684

fix some simple Doxygen warning

2011-11-05 12:54 FM, revision 69683

better links to the stock item ID list

2011-11-05 12:24 VZ, revision 69682

Allow reusing the same wxWindowID more than 254 times. Extend the id reference count storage to use an overflow hash map for the ids used more than 254 times. This allows to use the same id an arbitrarily large number of times. Closes #13618.

2011-11-05 12:24 VZ, revision 69681

Use wxWindowUpdateLocker to speed up updates of the static widgets sample page. See #13619.

2011-11-05 12:23 VZ, revision 69680

Fix adding a control to two different sizers in the widgets sample. A checkbox on the static page was added to two sizers at once, resulting in heap corruption later. Fix this by adding it to the right sizer only. Closes #13619.

2011-11-05 12:23 VZ, revision 69679

Translate the log message in wxLog destructor. The message about losing the last message was not translated for some reason, do translate it now.

2011-11-05 12:23 VZ, revision 69678

Fix format string in wxLog::LogLastRepeatIfNeeded(). We used a format string without any format specifiers in it in a call to wxString::Printf() which always had a parameter resulting in an assert failure about a mismatch between the string and parameter count. Fix this by using a separate Printf() call for this case. Closes #13613.

2011-11-05 12:23 VZ, revision 69677

Use correct direction in wxDataObject::IsSupported() in wxOSX dnd code. Before calling wxDataObject::SetData() we must check whether the object supports this format using IsSupported(Set) instead of just IsSupported() which does the test in the "Get" direction. Closes #13615.

2011-11-05 12:23 VZ, revision 69676

Don't read beyond the end of input buffer when decoding UTF-16. wxMBConvStrictUTF8::FromWChar() didn't update the input length correctly when encountering a surrogate while decoding UTF-16 and could read beyond the end of the input buffer in this case. Fix this by simply adjusting the input length when a surrogate is read. Closes #13614.

2011-11-05 12:23 VZ, revision 69675

Add wxConvAuto::GetBOMChars() helper. Closes #13620.

2011-11-05 11:44 FM, revision 69674

document wxLogGeneric() function

2011-11-05 11:42 FM, revision 69673

document wxConfigPathChanger helper class

2011-11-05 11:28 VZ, revision 69672

Rename lineAnchor in Scintilla code to avoid shadowing warning. Local variable "lineAnchor" in Editor::SetRectangularRange() was shadowing the member variable Editor::lineAnchor, resulting in warnings from some compilers (AIX xlC, Sun CC). Rename it to "lineAnchorRect", just as it was done in the latest Scintilla sources, to avoid them.

2011-11-04 18:41 VZ, revision 69664

Correct the misleading example of using id ranges in XRC documentation. "range[end]" is the last id in the range, inclusive, not the first id after it so any loops iterating over all ids in the range should cover it as well.

2011-11-04 18:40 VZ, revision 69663

Simplify wxIdRange code by using new XRCID_Assign() function. Only traverse the id hash once in XRCID_Assign() instead of using RemoveXRCIDEntry() to delete the old entry (which usually doesn't exist so this traversed the entire hash) followed by XRCID_Lookup() to create a new one.

2011-11-04 13:02 VZ, revision 69662

Fix choice of tree item icon for the selected state in wxMSW. The logic for selecting the item icon was broken when selected image was specified as it was not taken into account as fallback for selected expanded state so selected icon was used only for collapsed items. Fix this by using the selected icon if it is specified and selected expanded one is not.

2011-11-04 10:09 VZ, revision 69661

Make wxQsort() definition exactly the same as declaration. Remove the extra "const" in the first parameter.

2011-11-04 04:38 RD, revision 69659

Add wxAnyButton so the shared class hierarchy of wxButton and wxToggleButton is accurate.

2011-11-04 02:33 RD, revision 69656

Fix missing and broken interface items for Phoenix

2011-11-03 10:38 JJ, revision 69655

Upadte setup for OpenVMS

2011-11-03 00:42 RD, revision 69646

Fix missing or broken interface items for Phoenix

2011-11-02 21:22 RD, revision 69644

Fix missing or broken interface items for Phoenix

2011-11-02 20:08 VZ, revision 69643

Improvements to German translation. - Changed phrasing of some texts - Replaced words by more commonly used ones - Translated untranslated words and sentences - Used clear translation for vague expressions - Used common translation for multiply used terms like "save" Patch from Sebastian Walderich.

2011-11-02 20:08 VZ, revision 69642

Orthographical fixes in German translation. - Corrected misspelled words - Corrected upper and lower case words - Corrected some typos, like "HTLM" and "DDMEL" - Corrected some grammar errors Patch from Sebastian Walderich.

2011-11-02 20:08 VZ, revision 69641

Hyphen fixes in German translation. - Added missing hyphens to concatenate german words - Concatenated wrongly separated word Patch from Sebastian Walderich.

2011-11-02 20:08 VZ, revision 69640

Punctuation fixes in German translation. - Fixed some menu entries which where using '$' instead of '&' - Added missing punctuation marks to equal the original text - Removed unneeded and double characters Patch from Sebastian Walderich.

2011-11-02 20:08 VZ, revision 69639

Corrections to spaces in German translation. Patch from Sebastian Walderich.

2011-11-01 13:04 VZ, revision 69626

Explicitly include X11/Xlib.h to fix AIX build. At least under AIX X11/Xlib.h is not included from X11/Xutil.h so include it explicitly ourselves. It should do no harm on the other systems.

2011-11-01 13:04 VZ, revision 69625

Define _LINUX_SOURCE_COMPAT for AIX build. This takes care of the conflict between GTK+ headers and #define of func_data in AIX sys/timer.h.

2011-10-31 20:41 VZ, revision 69619

Make wxTreeListEvent dynamically creatable. This is unfortunately required by wxEvent::Clone() support unit test so provide the default ctor in this class even though it doesn't make any sense in normal use.

2011-10-31 20:33 VZ, revision 69618

Correct wxFileName::SetPath() documentation. It wrongly claimed that this function affected the full path, i.e. including name and extension, which was simply wrong. Closes #13612.

2011-10-31 17:09 PC, revision 69617

fix creation of bitmap from image with requested depth 32

2011-10-31 15:24 VZ, revision 69616

Suppress harmless unused variable warnings in wxSocket under AIX. The size of the buffer is not used with AIX conventions for gethostbyaddr_r() and getservbyname_r() functions.

2011-10-31 15:24 VZ, revision 69615

Fix compilation of wxGethostbyname_r() and wxGethostbyaddr_r() under AIX. gethostbyname_r() and gethostbyaddr_r() functions return int, not hostent*, under AIX so assign their return value to the error indicator.

2011-10-31 15:24 VZ, revision 69614

Compilation fix for AIX: fix the name of wxGetservBuf ctor. The ctor was wrongly called so wxGetservBuf class couldn't be compiled, breaking compilation under AIX and any other systems with 4 argument getservbyname_r().

2011-10-31 13:15 JS, revision 69613

Fixed #13535: wxRichTextCtrl: Incorrectly documented or named functions

2011-10-31 12:30 DS, revision 69612

Fixed dropdown height of wxChoice and wxComboBox controls. When using comctl32.dll versions prior to 6.0 (e.g. with Win2k or no manifest file) the dropdown height of a wxChoice and wxComboBox would show all but one item and a vertical scrollbar was always visible. Fixed by reintroducing code that adds 1 to the total number of items. The code got dropped in r60553, added a comment to it in the hope that it will not be lost again.

2011-10-31 11:49 VZ, revision 69611

Mention setting up file as default download on SF in release docs. The newly uploaded files must be configured to be default downloads as otherwise SF continues to propose the old files by default. See #13347.

2011-10-31 11:42 VZ, revision 69610

Compilation fix for wxUSE_GRAPHICS_CONTEXT && !WX_PRECOMP. Include wx/dcclient.h to get wxPaintDC declaration necessary in this case.

2011-10-31 11:40 VZ, revision 69609

Correct FSF postal address in the licence text. Closes #13411.

2011-10-31 11:40 VZ, revision 69608
  • D /wxWidgets/trunk/docs/wine/licence.txt

Remove duplicated and apparently unnecessary licence file. This file was exactly the same as docs/licence.txt so keep just one of them.

2011-10-31 06:42 PC, revision 69607

add gdk_window_get_height/width

2011-10-31 06:36 PC, revision 69606

simplify Refresh(), ancestors of a mapped window have to be mapped also, no point in checking

2011-10-31 06:22 PC, revision 69605

in DoSetSize, only call GetPosition if necessary

2011-10-31 06:15 PC, revision 69604

correct callback function signature

2011-10-31 06:14 PC, revision 69603

move class function out of extern "C" block

2011-10-31 05:35 PC, revision 69602

simplify code calling gtk_window_set_urgency_hint

2011-10-30 20:48 VZ, revision 69601

Avoid too many sash position changed events when splitter is resized. We could call SetSashPositionAndNotify() twice in a row which was probably unexpected and possibly wasteful, if the user code did anything non trivial in response to this event. Just call it once after we're certain which sash position do we want to set.

2011-10-30 20:48 VZ, revision 69600

Fix the check for second window becoming too small in wxSplitterWindow. There was a strange check for the second pane size in OnSize() which hardcoded 5 pixels as minimal pane size in the check and 40 pixels as the minimal size to set. This resulted in strange behaviour when the second pane size would decrease to 6 pixels smoothly and then jump back to 40 pixels when the splitter window was resized and also was ugly at the code level. Get rid of this code and simply call AdjustSashPosition() to ensure that the sash position remains valid as the splitter is resized.

2011-10-30 20:48 VZ, revision 69599

Make the initial sash position work in splitter sample. The initial splitter size must be set correctly when using gravity with wxSplitterWindow as otherwise the sash would jump on first resize -- which was exactly what happened in the splitter sample. Add a SetSize() call to the sample with the comment explaining why is it needed and also actually make it stick as the cached last size was not updated before the splitter was split before. Closes #9821.

2011-10-30 20:48 VZ, revision 69598

Don't apply gravity before requested sash position was set in wxSplitterWindow. Gravity should take effect only after the originally requested sash position is set as otherwise it's not really taken into account. Closes #13508.

2011-10-30 20:48 VZ, revision 69597

Remove wxSplitterWindow::m_checkRequestedSashPosition. This variable seemed to be redundant with m_requestedSashPosition being set to INT_MAX so harmonise the code to always check for the latter and get rid of the former. There should be no observable changes in behaviour.

2011-10-30 20:48 VZ, revision 69596

No changes, just remove wxSplitterWindow::{Set,Get}NeedUpdating(). GetNeedUpdating() was never used at all while SetNeedUpdating() was used only once while m_needUpdating variable was being changed directly in other places making the code difficult to follow. Just use the member variable directly and remove the accessors.

2011-10-30 18:28 JS, revision 69595

Fixed problem with the size of paragraphs not needing layout not being taken into account when calculating overall box size. Should fix the problem with lines becoming insensitive to mouse clicks after adding a couple of shorter lines.

2011-10-30 17:51 VZ, revision 69594

Perform wxAuiToolBar idle updates from UpdateWindowUI(), not OnIdle(). No real changes, just optimize the idle updates by doing it from (less often called) UpdateWindowUI() instead of EVT_IDLE handler. Closes #10075.

2011-10-30 17:44 VZ, revision 69593

Generate right click events for all kinds of items in wxAuiToolBar. Don't generate wxEVT_COMMAND_AUITOOLBAR_RIGHT_CLICK for normal items only, they can be useful for other ones too. Note that this had been previously applied to 2.8 branch as r66926 but somehow wasn't applied to the trunk. Closes #10079.

2011-10-30 17:41 VZ, revision 69592

Fix splitting message into title in body in MSW wxProgressDialog. If the message doesn't contain any new lines, it should be used as the body, not the title as having title without body doesn't make sense and looks strange. Closes #13441.

2011-10-30 17:22 VZ, revision 69591

Don't replace non default wxMessageDialog labels with default translations. The code translating the button labels of wxMessageBox to the application language was overeager and replaced even the custom labels with the translations of the default ones. This shouldn't be done, of course, so simply check that no custom labels had been set before translating. See #10962.

2011-10-30 15:20 VZ, revision 69590

Change variables naming convention in wxAUI code. Use the standard wxWidgets camelCase convention instead of the old_one_using_underscores for all the private variables. Closes #13476.

2011-10-30 15:19 VZ, revision 69589

Link tests with webview library only if it is actually available. This allows the tests to build again even on the machines without the prerequisites for building wxWebView.

2011-10-30 15:19 VZ, revision 69588

Remove apparently unnecessary wxAuiMDIClientWindow dtor. This dtor doesn't seem to do anything useful as the base class dtor already destroys all window children anyhow and removing it is reported to fix some crashes in wxAUI (which is surprising and probably hides some other bug...). Closes #13547.

2011-10-30 15:19 VZ, revision 69587

Add wx/datetimectrl.h to the wxAdv files list. Ensure that this header is installed by "make install" as it ought to. Close #13529.

2011-10-30 15:19 VZ, revision 69586

Fix assert in generic wxListCtrl icon view when using images. Don't assume that the item image is a valid index in m_small_image_list as we may be in icon view which doesn't use small images at all. For now restrict this code to the report view mode as apparently the cached line height is not supposed to be used in other modes even though it's not clear whether this is really the case and so, perhaps, this code should also be used when in small icons view mode. Closes #13604.

2011-10-30 14:39 JS, revision 69585

Fixed warning when compiling richttextctrl.cpp in VS2010 (fixes #13606)

2011-10-30 14:34 JS, revision 69584

Add indents to maximum size to prevent problems with paragraph layout (fixes #13458).

2011-10-30 11:08 VZ, revision 69583

Allow customization of the locations where persistent settings are stored. Make it possible to set a non-default wxPersistenceManager to use and allow overriding of GetConfig() and GetKey() methods by making them virtual and documenting them. This can be notably used to allow porting of the existing code to use wxPersistenceManager while keeping compatibility with the old settings.

2011-10-30 11:08 VZ, revision 69582

Fix return value of wxPersistentSplitter::RestoreValue(). It used to always return false which didn't allow the code using to decide whether the default splitter position should be used or not.

2011-10-29 23:34 RD, revision 69581

Add missing interface items for Phoenix

2011-10-29 06:50 RD, revision 69573

resolve multiple inheritance ambiguity

2011-10-29 06:49 PC, revision 69572

parenthesize bitwise operator in logical expression

2011-10-28 00:48 VZ, revision 69571

Make BOM-detection code in wxConvAuto public. Export GetBOM() and DetectBOM() functions. Also rename BOMType enum elements to use "wx" prefix now that they're public. Closes #13599.

2011-10-28 00:48 VZ, revision 69570

No changes, just simplifications to configure code. Implicitly use SEARCH_LIB in WX_PATH_FIND_LIBRARIES() and WX_FIND_LIB() macros to avoid having to pass it to them explicitly every time. Closes #13601.

2011-10-28 00:48 VZ, revision 69569

No changes, just remove redundant code. Don't call FindToolByPosition() again in wxAuiToolBar::OnLeftUp() when we just called it above. Closes #13600.

2011-10-28 00:26 VZ, revision 69568

Add _PTR WX_DECLARE_HASH_SET variants to fix warnings about operator->(). Macros from WX_DECLARE_HASH_SET family could declare an operator->() which could never be called because it returned a pointer to a non-object (e.g. a pointer or a primitive type). Fix this in the same way as for WX_DECLARE_ARRAY macros by adding (badly but consistently) named _PTR variants of the macros to allow defining the versions without operator->(). This fixes tons of warnings when building wx with Sun CC.

2011-10-27 23:10 VZ, revision 69567

Use WX_XXX_ARRAY_PTR macro variants for arrays of pointers. Arrays of pointers must not overload operator->() as it is not used with them and is, in fact, unusable, provoking a warning from Sun CC every time such array is declared. Use the special _PTR-suffixed versions to avoid this.

2011-10-27 23:10 VZ, revision 69566

Don't make wxQsort() extern "C" nor use any special convention for it. It doesn't make sense to require passing C functions to wxQsort() that we define in a C++ library. We also don't need any special calling convention here. Notice that the only existing uses of wxQsort() inside wxWidgets itself were not actually extern "C" and one of them didn't even use the correct calling convention. Also avoid using non-wx-prefixed CMPFUNCDATA identifier in a public header, rename it to wxSortCallback instead. Finally make wxQsort() documentation slightly more useful.

2011-10-27 23:10 VZ, revision 69565

Make GTK callbacks passed to GTKConnectWidget() extern "C". This fixes (harmless but annoying) warnings about mixing C++ and C linkage function pointers from Sun compiler.

2011-10-27 23:10 VZ, revision 69564

Explicitly declare environ variable. While POSIX and SUS both mandate this variable existence, they don't say that it needs to be declared anywhere and it actually doesn't seem to be declared under Solaris when using Sun CC and so using it resulted in compilation errors. Just declare it ourselves to avoid them.

2011-10-27 23:10 VZ, revision 69563

Always include locale.h to get LC_ALL declaration. For some reason locale.h was only included in !wxUSE_STD_STRING case but we actually always need it as we use LC_ALL in this file and at least in Sun CC build it wasn't included from anywhere else so include it from here to fix the build.

2011-10-27 23:10 VZ, revision 69562

Remove unused wxIFFDecoder::picptr member variable. This variable was apparently unused and a local variable with the same name was used instead, resulting in Sun CC warnings about variable shadowing. Just remove the unused member variable to fix this.

2011-10-27 23:10 VZ, revision 69561

No real changes, just remove an extra semicolon. DECLARE_DYNAMIC_CLASS() shouldn't be followed by a semicolon and Sun CC warns about it, so fix this by removing it.

2011-10-27 23:10 VZ, revision 69560

Replace remaining occurrences of _T() with wxT(). Use wxT() everywhere for consistency and to fix compilation with Sun CC for which _T() is not defined as it clashes with a symbol with the same name in standard headers.

2011-10-27 23:10 VZ, revision 69559

No real changes, just remove trailing commas from enums. These commas are not allowed by standard C++ and Sun CC warns about them (and some other compilers, e.g. HP aCC, even give errors for them).

2011-10-27 01:20 VZ, revision 69556

Add WX_FIND_LIB() function to simplify testing for libraries in configure. No real changes in behaviour but the new WX_FIND_LIB() function can now be used to test for any library. Closes #13375.

2011-10-27 01:20 VZ, revision 69555

No changes, just fix some typos in acinclude.m4 comments. See #13375.

2011-10-27 01:20 VZ, revision 69554

Use AC_LANG_SOURCE and add missing quoting to configure. This fixes some of the warnings from autoconf 2.68 while still remaining compatible with 2.61. Closes #13591.

2011-10-26 19:10 VS, revision 69547

Fix incorrect handling of ItemsAdded() in wxDataViewCtrl. When adding items to the model in bulk and then calling ItemsAdded(), internal representation in both the generic and GTK+ versions wasn't updated correctly if the order of the notifications was such that an item would be inserted after other new, but not yet inserted, items. Fixes bug #13587.

2011-10-26 10:36 JS, revision 69546

Typo correction

2011-10-26 07:52 RD, revision 69545

Interface tweaks and fixes for Phoenix

2011-10-26 07:39 RD, revision 69544

Work around a multiple inheritance ambiguity

2011-10-26 07:38 SC, revision 69543

move declaration into cocoa part

2011-10-26 00:44 JS, revision 69534

Now uses wxRTC-specific font table instead of slower general-purpose wxFontList to cache fonts.

2011-10-25 21:29 SC, revision 69532

deactivate wxUSE_TIMEPICKCTRL for iphone

2011-10-25 20:44 SC, revision 69531

files added

2011-10-25 20:31 SC, revision 69530

files added

2011-10-25 20:04 SC, revision 69529

files added

2011-10-25 18:56 PC, revision 69528

fix wxMDIChildFrame after r69390 and r69468, TLW realization code should not be called, fixes #13593

2011-10-25 18:55 SC, revision 69527

panelg removal

2011-10-25 13:52 SC, revision 69526

fixing reentrancy problem under iOS 5

2011-10-25 13:51 SC, revision 69525

fixing iPhone build

2011-10-25 13:51 SC, revision 69524

fixing iPhone build

2011-10-25 08:00 PC, revision 69523

avoid GDK warning "drawable is not a pixmap or window"

2011-10-25 07:12 PC, revision 69522

avoid GTK3 warning "GtkNotebook %p is mapped but visible child wxPizza %p is not mapped" whatever problem this hack was supposed to solve, this was not the way to fix it

2011-10-23 20:03 PC, revision 69516

revert (presumably unintentional) change from r59562, which caused auto-scroll sample selection to be broken for last 2.5 years

2011-10-22 19:42 JS, revision 69515

On Windows, searches for fonts instead of creating many fonts. This will help reduce resource proliferation and in extremis, crashes.

2011-10-22 15:49 JS, revision 69514

Fix for indeterminate attribute specification

2011-10-22 15:48 JS, revision 69513

Fix for indeterminate attribute specification

2011-10-22 15:19 JS, revision 69512

Applied patch #13534: wxRichTextCtrl: Make it easier to use TextEffects flags

2011-10-22 15:08 JS, revision 69511

Allow user to select indeterminate state for font attributes

2011-10-22 15:05 JS, revision 69510

Allow user to select indeterminate state for font attributes

2011-10-22 04:31 RD, revision 69509

Add missing styles and flags, and specify pure virtuals that are implemented

2011-10-21 20:34 RD, revision 69503

Add the getters

2011-10-21 20:33 RD, revision 69502

It's not an array of pointers to dashes, but rather an array of dash values

2011-10-21 18:51 VS, revision 69500

Document wxDataViewModelNotifier callbacks return values. It doesn't make sense to return anything other than true here, as failure from one of several notifiers cannot be handled sanely, so just document that.

2011-10-21 18:34 VS, revision 69499

Use the new wxDataViewRenderer activation API in wxTreeListCtrl.

2011-10-21 18:34 VS, revision 69498

Move wxDataViewCustomRendererBase::ActivateCell() to datavcmn.cpp. It triggered deprecation warnings in user code when it was inline.

2011-10-21 09:56 RD, revision 69491

Interface fixes for Phoenix

2011-10-20 18:45 VZ, revision 69489

Dirty hack to allow generic wxDatePickerCtrl to compile under MSW. Don't make wxDateTimePickerCtrl methods pure virtual in its MSW-specific version as the generic wx{Date,Time}PickerCtrl implementations not using these methods also inherit from it currently. This is wrong and would need to be fixed properly later but for now this hack at least allows the generic classes to compile and, apparently, work under MSW again. Remove the equally dirty hack used in the generic wxTimePickerCtrl to allow it to compile which is not needed any more because this one replaces it.

2011-10-20 18:20 VZ, revision 69488

Fix wxRichToolTip compilation under MSW without PCH and recent SDK headers. Include the headers normally included from wx/wxprec.h. Also define the stuff missing from the headers of some compilers (notably MinGW but probably also VC6) ourselves.

2011-10-20 18:10 VZ, revision 69487

Add "checked" property for toolbar tool elements in XRC. Allow toolbar tools to be created in checked (or toggled) state in XRC, just as the menu items can already be created checked.

2011-10-20 06:58 RD, revision 69486

The new wxImage related gaphics context code uses some new Cairo APIs, add the code needed when loading them dynamically.

2011-10-20 06:49 RD, revision 69485

Delegate wxGraphicsBitmap::ConvertToImage to the renderer so we do not end up with more than one definition of the method when building with both the GDI+ GC and the Cairo GC enabled at the same time.

2011-10-19 23:53 VZ, revision 69480

Fix PCH-less compilation of wx/richtooltip.h too. We need to include the full wxColour declaration instead of just forward declaring it as we use its ctor for a default value of a parameter. Also include wx/defs.h to ensure that wxUSE_RICHTOOLTIP is defined before testing it.

2011-10-19 18:20 VS, revision 69473

Cleanup of wxDataViewCtrl cell activation code. Fix confusion of what cell activation is and inconsistence with native handling in GTK+. Document the distinction between activating (~ editing) a cell and activating (double-clicking) the whole item. Deprecate wxDataViewCustomRenderer::LeftClick() and Activate() methods, replace them with single ActivateCell() that is called for both kinds of activation. Fix implementations so that ActivateCell() is not called on double-click, when it shouldn't, and vice versa: don't send wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED for cell activation. Partially reverts r67099 -- restores old 2.9 signatures of compatibility LeftClick() and Activate() methods.

2011-10-19 18:20 VS, revision 69472

Move InitMouseEvent<T>() to wx/gtk/private/event.h. It is needed in wxDataViewCtrl now too, in addition to wxWindow.

2011-10-19 18:20 VS, revision 69471

Use wxDatePickerCtrl in wxDataViewDateRenderer. Inline editor is more in line with the behavior of other editors, requiring double click to edit values was unexpected. Also merge the two almost-but-not-quite identical implementations in generic and GTK+ versions.

2011-10-19 18:20 VS, revision 69470

Allow using wxCompositeWindow<T> as wxDataViewCtrl inline editor. wxDVC inline editing code attaches some event handlers to the editor control; most importantly, it watches for Enter key and for focus changes. If the editor control is a composite window, these events occur in a sub control and never reach wxDVC code. Fix this by forwarding events to the main window of the composite control. Only events required by wxDVC are implemented for now.

2011-10-19 18:19 VS, revision 69469

Fix NULL window argument to wxEVT_KILL_FOCUS when creating a TLW. wxTopLevelWindowMSW::CreateDialog first moved and resized the newly created window and only then called SubclassWin(). Because native focus change occurred when moving the window, HWND->wxWindow association wasn't yet filled in and wxFindWinFromHandle() would return NULL.

2011-10-19 18:19 VS, revision 69468

Send wxEVT_CREATE and do other post-realization initialization even if the widget was realized early.

2011-10-19 18:19 VS, revision 69467

Set wxFocusEvent's window value for wxEVT_KILL_FOCUS in wxGTK. Note that it is still not set for wxEVT_SET_FOCUS, because it's not immediately obvious how to obtain the previously focused window from there. It's still better than always having the window NULL.

2011-10-19 12:58 VZ, revision 69466

More fixes for PCH-less compilation. Include declarations for or forward declare more classes.

2011-10-19 00:59 VZ, revision 69465

Fix for PCH-less compilation after wxNonOwnedWindow changes. Need to include declarations of wx{Memory,Paint}DC classes.

2011-10-19 00:32 JC, revision 69464

Merge to the trunk head

2011-10-18 23:57 VZ, revision 69463

Added wxRichToolTip class. It can be used to show more customizable tooltips than the native wxToolTip but at the price of using generic implementation in some cases (actually almost always now, with the exceptions of text control tooltips under MSW). Extra features include: - The balloon-like tooltip form. - Possibility to show an icon. - Title display in a different form. More customization could be added later. It should be also possible to fully implement this class natively under MSW. Update the dialogs sample to show the rich tooltips in action.

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

Added wxNonOwnedWindow::SetShape(wxGraphicsPath). TODO: Document.

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

Document and test behaviour of wxRegion methods when it is invalid. Document which wxRegion methods can and can't be used when the region itself is invalid. Apply the minor changes to wxGTK (Xor() didn't do the right thing, Offset() didn't assert) and wxOSX (Offset() crashed) to make their behaviour consistent with wxMSW. Add a (trivial, so far, but to be extended later) wxRegion unit test checking that the methods do indeed behave as documented.