Changelogs

Overview

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

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2013-07-14 19:12 VZ, revision 74517

Disable wxUSE_ENH_METAFILE for wxGTK builds. This can happen to be defined in wxGTK builds under Windows. Closes #15332.

2013-07-14 17:45 VZ, revision 74516

Make wxMSW wxSpinCtrl "not enough space" messages more helpful. And also less annoying: remove the messages from DoMoveWindow() which could be given during resizing but not necessarily corresponded to the final control size. And give more details about which control is not being given enough space when a too small size is given in the ctor.

2013-07-14 17:26 VZ, revision 74515

Fix crash in docview code if view initialization failed. The change of r71371 resulted in using the already destroyed (implicitly, done as part of destroying the wxView that failed to initialize) wxDocument in wxScopeGuard destructor. Avoid this and make the old (i.e. pre-r71371) code exception safe while keeping its semantics exactly, i.e. only delete all views if the document still exists. Also add a comment explaining what's going on here because the ownership rules in docview code are frankly crazy.

2013-07-14 16:22 VZ, revision 74514

Swedish translations update from Jonas Rydberg.

2013-07-14 13:34 VZ, revision 74513

Don't use wxCriticalSection in wxWakeUpPipeMT if wxUSE_THREADS==0. In fact, don't define wxWakeUpPipeMT class at all when not using threads.

2013-07-14 13:32 VZ, revision 74512

Don't build tex2rtf and HelpGen utils in non-GUI buildbot builds. Both of those are obsolete and don't exist in 2.9 any longer.

2013-07-14 13:16 SC, revision 74511

support for @2x notation for wxBITMAP_TYPE_PNG (non-resource) on retina displays

2013-07-14 01:35 VZ, revision 74510

Better fix for wxX11 linking problems than r74499. Fix wxX11 without breaking wxGTK/Windows makefiles generation. Closes #15327.

2013-07-14 01:23 VZ, revision 74509

Restore embedding manifest when using MinGW. The changes of r73483 broke inclusion of the manifest in the programs built using MinGW because wxUSE_RC_MANIFEST was never defined. Somehow nobody complained about it but this resulted in using comctl32.dll 5.80 instead of 6.0 and e.g. problems with toolbar appearance (see #13512). Do use the manifest by default with MinGW and, in fact, all the other compilers if any other ones still work, as only MSVC is known to embed the manifest automatically and we take care of it separately.

2013-07-14 01:23 VZ, revision 74508

Remove some completely unused variables from configure. RESFLAGS, RESPROGRAMOBJ, WIN32INSTALL and AFMINSTALL were not used anywhere so don't bother defining them.

2013-07-14 01:23 VZ, revision 74507

Remove the long obsolete and unused since 2.7.0 __WIN95__ define. Don't confuse things by defining it unnecessarily.

2013-07-14 01:23 VZ, revision 74506

Move wx/msw/gccpriv.h inclusion back to wx/platform.h from wx/compiler.h. Do keep compiler-specific wxCHECK_MINGW32_VERSION() in wx/compiler.h as it's needed by wx/cpp.h which includes wx/compiler.h only. But put the rest of the stuff in gccpriv.h in its old place as including it before wx/setup.h didn't work correctly and was unnecessary anyhow.

2013-07-14 01:23 VZ, revision 74505

Use wxNotebook background colour for the tab row background in wxMSW. The free space near the tabs was always filled with the default light grey colour, use wxNotebook background colour itself to fill it now. Do it by changing the code in wxNotebook::OnPaint() to use the background colour brush and ExtFloodFill() to paint over the default grey, instead of the patterned background brush which is supposed to be used for the pages area only and not for the tabs and which was not even taken into account anyhow as the default window proc erases the entire contents of the DC we pass to it anyhow (at least in the default top-aligned tabs case). Also inherit the background colour from parent by default now, this ensures that wxNotebook blends with its parent when its background colour has been explicitly set by default, without the need to call its SetBackgroundColour() explicitly. See #13745.

2013-07-14 01:23 VZ, revision 74504

Add a possibility to change the layout direction in the widgets sample. This allows to test whether a widget is drawn correctly in RTL variant as well as the default LTR one easily.

2013-07-13 23:59 DS, revision 74503

Regenerated Xcode projects. Updated the Xcode projects to include wakeuppipe.cpp. Also fixes the wxiphone project which appeared to have 2 source file references concatenated (stattext.mm and slider.mm) since the last commit. This unfortunately happens sometimes when running makeprojects.applescript.

2013-07-13 22:07 VZ, revision 74502

Use "MSW" and "Windows" more accurately to avoid confusion. "MSW" is used as the name of toolkit using the standard Windows UI while "Windows" is the name of the OS under which wxGTK can be now used too (in addition to wxMSW). This terminology is not perfect but at least let's keep it unambiguous. Closes #15328.

2013-07-13 18:28 DS, revision 74501

deleted svn:executable property from src/expat/ files that don't need it

2013-07-13 16:58 VZ, revision 74500

Use Cocoa by default under OS X in configure. Carbon is deprecated.

2013-07-13 15:03 VZ, revision 74499

Do include src/generic/animateg.cpp in wxUniv/X11 sources. This fixes linking of the widgets sample when using wxUniv/X11. It partially reverts the changes of r73290 which only included this file in some selected ports instead of all of them for some reason. Closes #15327.

2013-07-13 13:41 DS, revision 74498

Set svn properties on new files. In the majority of cases set the svn:eol-style property (mostly to native for sources and LF for m4 files) and svn:keywords to Id. Applied for files that were added since r72503.

2013-07-13 04:33 VZ, revision 74497

Rebake all the samples and others makefiles too. The samples makefiles were not regenerated after the recent Scintilla changes (see r74425), do it now. There are no real changes for most of them (except stc sample), but it ensures that rerunning bakefile doesn't change anything.

2013-07-13 04:30 VZ, revision 74496

Extract compiler-specific macro definitions in a new wx/compiler.h. This solves the problem with wx/defs.h -> wx/platform.h -> wx/setup.h which resolves to msvc/wx/setup.h -> wx/version.h -> wx/cpp.h include path which resulted in __VISUALC__ not being defined in wx/cpp.h. This problem was not new but went unnoticed for a long time and was only discovered when wxCHECK_VISUALC_VERSION() started being used in wx/cpp.h too as now the compiler started warning about wrong #if syntax due to it being undefined. Putting the compiler-specific definitions in a separate file allows this file to be included from wx/cpp.h to ensure that these symbols are always defined in it and also makes things a little better organized.

2013-07-12 16:12 VZ, revision 74495

Fix harmless MinGW warning in wxMSW wxListCtrl code. Add an explicit cast to WPARAM because MinGW headers don't do it for us (even though they should).

2013-07-12 16:12 VZ, revision 74494

Fix harmless unused parameter warning in !wxUSE_GRAPHICS_CONTEXT build. Rich tooltip tip kind is unused as no tip is drawn in this case.

2013-07-12 16:12 VZ, revision 74493

Fix wrong return value from wxWebViewIE::Find() in 64 bit build. Using wxNOT_FOUND and an unsigned size() return value in the same operator ?: resulted in wxNOT_FOUND being converted to an unsigned size_t type and while converting it back to (signed) long worked in 32 bit builds where long and size_t have the same size, it was broken in 64 bit builds where their sizes are different. Thanks g++ for catching this one.

2013-07-12 16:12 VZ, revision 74492

Make destructors of COM interface classes virtual. This is needed to at least silence g++ warnings but may actually even fix a real problem as these classes can be inherited from and are deleted via a pointer (to "this" itself, in Release() implementation).

2013-07-12 16:12 VZ, revision 74491

Fix warnings about implicit float or double to int conversions in wxMSW. Make the conversions explicit as these warnings are harmless.

2013-07-12 13:20 VZ, revision 74490

Mention that wxGTK can be built with Wayland backend too. It is supported just as well as the already Broadway is.

2013-07-12 00:40 VZ, revision 74489

Reconcile HAVE_VARIADIC_MACROS and wxHAS_VARIADIC_MACROS definitions. The main user-visible effect of this change is that giving configure --disable-vararg-macros argument now really disables the use of variadic macros whereas it didn't disable them in wx/cpp.h before. It is, of course, also less confusing to not have two very similar but different symbols.

2013-07-11 21:46 SC, revision 74488

adapting to new x wheel behavior, see #15269

2013-07-11 21:31 SC, revision 74487

adapt to wx conventions for scroll wheel differences between horizontal and vertical directions, fixes #15269

2013-07-11 09:53 VS, revision 74486

Use int instead of wxWindowID in wxNewId() and friends. The functions are available in wxBase builds too, but wx/windowid.h isn't. Rather than always including that header, just use int, for which wxWindowID is a typedef. This keeps the functions available in wxBase for compatibility and is consistent with how IDs are handled in other parts of wxBase, particularly wxEvent.

2013-07-11 08:58 VS, revision 74485

Use wxWindowID in wxNewId() and related functions. wxNewId(), wxRegisterId() and wxGetCurrentId() functions all work with window IDs, so they should use the dedicated type. Previously, they worked with long, which is not even the same type (wxWindowID is int), causing implicit type conversion warnings.

2013-07-11 03:28 RD, revision 74484

Comment out the CIAbot script, the site has been dead a long time.

2013-07-11 01:43 VZ, revision 74480

Implement monitoring of file descriptors in wxMotif event loop. This allows applications using wxMotif to link again after the changes of r74350 -- and wxExecute() unit tests actually pass, too. Closes #15305.

2013-07-10 23:29 VZ, revision 74479

Recognize VC12 (a.k.a. MSVS 2013) and define __VISUALC12__ for it. Closes #15320.

2013-07-10 23:18 VZ, revision 74478

Fix typo in wxGUIEventLoop::ScheduleExit() in wxMotif. This was broken in r74335. See #15305.

2013-07-10 23:15 VZ, revision 74477

Add wxX11EventLoopSourcesManager stub implementation to fix wxX11 linking. Asynchronous wxExecute() still doesn't work in wxX11 but at least the programs using the library can be linked now. See #15305.

2013-07-10 23:12 VZ, revision 74476

Add default ctors and Create() to wxDirDialog and wxFileDialog in wxOSX. Allow two-step creation of these classes. Closes #15316.

2013-07-10 22:48 VZ, revision 74475

Fix checking for GTK+ 3.0 in configure. Update gtk-3.0.m4 to work correctly with gthread module and regenerate configure using the new version of this file. Closes #15319.

2013-07-10 22:35 VZ, revision 74474

Ukrainian translations update from Yuri Chornoivan.

2013-07-10 18:41 VS, revision 74473

Fix lots of warnings reported by Clang. Mostly potentially lossy implicit conversions in headers (long->int). Also dangling else warnings. Struct/class mismatches.

2013-07-10 18:38 VS, revision 74472

Only return -1,0,1 from wxXmlResource::CompareVersion(). In other words, do as the comment says. Also fixes an implicit conversion warning.

2013-07-10 18:35 VS, revision 74471

Define WXBUILDING in Xcode projects.

2013-07-10 15:17 PC, revision 74470

non-pch build fix

2013-07-10 15:08 VZ, revision 74469

Add documentation for building wxGTK under Windows. Closes #15318.

2013-07-10 14:28 VZ, revision 74468

Fix restoring the status bar help message after closing MSW menu from keyboard. Add a hack to ignore WM_MENUSELECT messages we get for the top level menu items: we must not clear the status bar help message when we get those because it had just been restored to the original message that was there before the menu was opened from the base class wxEVT_MENU_CLOSE handler, but this message comes after it when keyboard is used to close the menu. Closes #15315.

2013-07-10 14:24 VZ, revision 74467

Ignore WM_MENUSELECT messages indicating that the menu was closed. Don't update the help string in this case, this is not necessary and can clear the help string set elsewhere. See #15315.

2013-07-10 14:00 VZ, revision 74466

Vietnamese translations update from Trần Ngọc Quân.

2013-07-10 13:57 VZ, revision 74465

Update translations template for 2.9.5 release. No real changes, just removed a one character string that is not marked as translated any longer.

2013-07-10 03:28 VZ, revision 74464

Allow retrieving the descent and external leading of empty strings. This used to work before wxTextMeasure changes so make it work again instead of optimizing the case of empty string away and not returning anything in the descent and externalLeading output parameters in this case.

2013-07-09 19:29 VS, revision 74461

Fix VC++ warnings about __has_include(). The compiler warns about content after defined(__has_included), so avoid the issue by putting these Clang tests inside one big #ifdef __has_included block.

2013-07-09 18:44 VZ, revision 74460

Check axis number in the received joystick messages. Closes #15313.

2013-07-09 18:12 VS, revision 74459

Compilation fix for r74457. Remove stray #endif from incorrectly merged changes.

2013-07-09 17:55 SC, revision 74458

fixing forced link of quicktime backend on osx_cocoa

2013-07-09 17:47 VS, revision 74457

Fix OS X compilation in C++11 mode with libc++.

2013-07-09 17:44 VS, revision 74456

Work around wxFinite() definition conflict with <cmath>. Using the GNU libstdc++ or Clang's libc++ implementations of the standard library, <cmath> inclusion undefines the isfinite macro, resulting in compilation errors when wxFinite() is used. <cmath> can be included unintentionally, e.g. wx/hashmap.h may result in its inclusion when using STD containers. Work around this mess by checking if one of these <cmath> implementations were already included and using std::isfinite() in that case.

2013-07-08 23:44 VZ, revision 74455

Check for buffer being big enough in wxPathOnly(). Just return NULL or empty string if the input path is too long. This is probably not ideal but it fixes a buffer overflow and all this code needs to be rewritten to use wxFileName() anyhow so it's not worth doing anything more at this moment. Closes #15302.

2013-07-07 19:44 VZ, revision 74451

Merge libpng 1.6.2 into the trunk. Add pngprefix.h file generated by libpng configure/make process (which we don't run during wxWidgets build, so this is something that will need to be redone manually whenever libpng is upgraded, the procedure for doing this is documented in docs/tech/tn0025.txt) in order to use "wx_" prefix for all libpng public symbols. This should avoid at least some problems due to the conflicts between the built-in libpng and shared libpng loaded into the process as GTK+ libraries dependency under Unix. Also rename wx_png_{warning,error} to use upper case PNG for consistency with wx_PNG_stream_{reader,writer} and to avoid conflict with png_{warning,error}() which we now rename to have "wx_" prefix. Closes #14157.

2013-07-07 19:35 VZ, revision 74450

Add instructions for upgrading third party libraries. Describe the process for upgrading the libraries for which we already use svn vendor branches.

2013-07-07 18:35 VZ, revision 74449

Regenerate configure after libwxscintilla linking changes. This should have been done together with the changes of r74425, as autoconf_inc.m4 had changed, configure should have been regenerated too.

2013-07-07 17:40 VZ, revision 74448

Tagging libpng 1.6.2.

2013-07-07 17:39 VZ, revision 74447

Update libpng sources to 1.6.2.

2013-07-07 16:44 VZ, revision 74446

Define XML_STATIC in Expat header instead of Expat projects. This reverts r74444 and defines XML_STATIC unconditionally in Expat sources themselves as we always use the built-in Expat as a static library, so this solution is simpler and more portable.

2013-07-07 16:13 VS, revision 74445

Compilation fix for r74440 and STL builds.

2013-07-07 15:58 VZ, revision 74444

Define XML_STATIC for Expat build to fix linking of Windows DLLs. The new Expat assumes it's built as a DLL by default, define XML_STATIC to indicate that this is not the case as we always build it as a static library.

2013-07-07 15:47 VZ, revision 74443

Correct typo in a link in i18n documentation page. See r74442.

2013-07-07 15:43 VS, revision 74442

Clarify .mo deployment in i18n overview. Fixes #15253.

2013-07-07 15:42 VS, revision 74441

Don't look for catalogs in AddCatalogLookupPathPrefix() path directly. Previously, the prefix directory itself for searched for catalogs, in addition to prefix/lang/LC_MESSAGES and prefix/lang. This never made much sense, because only one catalog could be in such place, instead of multiple catalogs for more languages. It also prevented successful identification of catalog's language and didn't work with GetAvailableLanguages(). Remove this misfeature and update the documentation accordingly. Update OS X-specific code so that it continues to work (it previously depended on this behavior). As a side effect, *.lproj directories are now recognized in all search prefixes, not just in Resources. See #12498, #15253.

2013-07-07 15:42 VS, revision 74440

Improve translations lookup logging. Log match directory in GetAvailableTranslations(). Log search paths with one directory per line, for better readability when debugging.

2013-07-07 15:42 VS, revision 74439

Correct wxTranslations docs: CWD is not searched. The documentation incorrectly stated that the current working directory is searched for translations. This isn't the case (and wouldn't be a good thing to do). See #12498.

2013-07-07 14:58 VZ, revision 74438

Remove the TOOLKIT test from msvc-headers-setuo-h definition. This is unnecessary now that TOOLKIT is back to being a constant again and results in errors if GTK TOOLKIT is enabled. Closes #14965.

2013-07-07 14:47 VZ, revision 74437

Add files necessary to run Expat configure. This should have been part of the previous commit (r74436).

2013-07-07 14:45 VZ, revision 74436

Update the version of Expat used to 2.1.0. Merge with the latest version, mostly discarding our changes to 1.95.6 as they seem to be unnecessary any longer, keep just bakefile-specific addition to configure. Also update our own makefile to define HAVE_EXPAT_CONFIG_H which is now needed by Unix build. Closes #11677.

2013-07-07 13:47 VS, revision 74435

Use wxConvAuto() in wxStyledTextCtrl::DoLoadFile(). This is both more reasonable than the current runtime encoding (the input file is from unknown source) and more robust (it can handle UTF-* encoded files transparently).

2013-07-07 13:46 VS, revision 74434

Use wxConvAuto in wxFile::Write(). For consistency with wxFFile. No real change, as wxConvAuto will default to UTF-8 when writing.

2013-07-07 02:39 VZ, revision 74430

Don't pretend that wxAnyButton::SetBitmap() supports invalid bitmaps. Because it doesn't under MSW. See #13569.

2013-07-07 02:38 VZ, revision 74429

Avoid using buffer of already deallocated string in wxHTMLDataObject. Ensure that the temporary string inside which the pointer returned by utf8_str() may point remains alive for long enough. Closes #15279.

2013-07-07 01:14 VZ, revision 74428

Forbid creation of wxStandardPaths object directly. This happens to work under MSW and Unix where there is only one wxStandardPaths class for both the console and the GUI applications but doesn't return the correct result under OS X where the Core Foundation version, returned by wxStandardPaths::Get(), has to be used for the GUI programs. And historically this confused a lot of people, so just ensure that they can't accidentally create an object of the wrong type any more. Closes #13537.

2013-07-07 00:57 VZ, revision 74427

Reuse wxMessageOutputStderr for wxLogStderr implementation. In addition to avoiding (tiny) code duplication, this ensures that both places use the stream in the same orientation, i.e. either both use the narrow functions or the wide ones. Thus, it fixes a problem with output simply disappearing if wxLogStderr and wxMessageOutputStderr were both used: the one used first disabled any output by the other one. Closes #14782.

2013-07-07 00:48 VZ, revision 74426

Correctly restore the originally used C locale in wxLocale dtor. Save the original locale used before we changed it instead of "restoring" the same locate that this wxLocale object was using. Add a unit test to verify that this does work as expected. Closes #14873.

2013-07-06 21:14 VZ, revision 74425

Only link with libwxscintilla if using Scintilla is enabled. Correct the changes of r74408 to avoid using libwxscintilla if we don't build it at all. See #13837.

2013-07-06 21:14 VZ, revision 74424

Disable test for setting the creation time under Unix. Also document that this doesn't work there.

2013-07-06 20:21 VZ, revision 74423

Fix FILETIME <-> wxDateTime conversions while DST is in effect in wxMSW. The result was (consistently, so the tests still passed) off by an hour when the program was ran while DST was in effect. Fix this by avoiding the use of FileTimeToLocalFileTime() and LocalFileTimeToFileTime() and just directly converting FILETIME values to wxDateTime. Not only this is more correct but it's also simpler and more efficient as well. Also add a unit test for wxFileName::SetTimes() too. Closes #13098.

2013-07-06 20:20 VZ, revision 74422

Explicitly mention that wxDateTime ticks origin is in UTC. Make it clear that the number of ticks is counted since the same moment in all time zones. See #13098.

2013-07-06 19:27 PC, revision 74421

avoid GTK+ prefixes for our tree entry code, it is not part of GTK+, should have been part of r74420

2013-07-06 18:35 PC, revision 74420

avoid GTK+ prefixes for our tree entry code, it is not part of GTK+

2013-07-06 18:04 PC, revision 74419

remove symbol exports, this code is private to the library

2013-07-06 17:58 PC, revision 74418

remove empty GtkTreeEntryClass

2013-07-06 17:50 PC, revision 74417

remove instance init function, memory is already zeroed

2013-07-06 17:44 PC, revision 74416

move treeentry_gtk.h to include/wx/gtk/private/

2013-07-06 17:34 PC, revision 74415

create collate_key on demand

2013-07-06 16:46 VZ, revision 74414

Exclude expat files from pre commit hook checks too. All the other 3rd party libraries were already excluded but not this one, for some reason -- do exclude it now as upcoming Expat 2.1.0 sources contain some files with TABs.

2013-07-06 16:46 VZ, revision 74413

Update announcement and readme files for 2.9.5 release. Fill in the release date and update the changes description in the announcement.

2013-07-06 15:46 VZ, revision 74412

Tagging Expat 2.1.0.

2013-07-06 15:45 VZ, revision 74411

Update Expat sources to 2.1.0.

2013-07-06 15:39 VZ, revision 74410

Tagging Expat 1.95.6.

2013-07-06 15:38 VZ, revision 74409

Importing unmodified Expat 1.95.6 sources.

2013-07-06 14:41 VZ, revision 74408

Always add libwxscintilla in monolithic mode. The library was already present in the makefiles but came before the monolithic library itself, which broke the linking of the samples when using GNU ld as the dependent libraries must come after the libraries using them. Closes #13837.

2013-07-06 14:32 VZ, revision 74407

Rebake the rest of the files after TOOLKIT change in MSW bakefile. This should have been part of r74406 but I only rebaked wxWidgets make/project files themselves and not the samples/utils/demos files in it.