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-08-02 19:01 PC, revision 74619

fix Gtk-CRITICAL errors when deleting wxDirButton

2013-07-31 18:03 PC, revision 74618

defer calling SetCanFocus() on wxGTK until after creation

2013-07-31 12:47 JS, revision 74617

Applied #15375 to stop event-sending in generic wxSpinCtrl ctor (eco)

2013-07-31 07:56 PC, revision 74616

don't pass false as a wxWindowID

2013-07-31 07:35 PC, revision 74615

fix tab traversal of wxStaticBox children, closes #15376

2013-07-29 00:58 VZ, revision 74614

Turkish translations update from Kaya Zeren.

2013-07-28 19:36 SC, revision 74613

first attempt at adding the minimal set needed for dead-key support, see #15345

2013-07-28 16:52 SC, revision 74612

adapting to new event version

2013-07-28 16:37 SC, revision 74611

changing to allow for 2x ramping up NSApp run

2013-07-28 16:32 SC, revision 74610

using Run of base class

2013-07-28 15:08 VZ, revision 74609

Work around missing mode_t definition with ICC. Just handle it in the same way as MSVC. Closes #15361.

2013-07-27 22:22 SC, revision 74608

using Run of base class

2013-07-27 21:39 VS, revision 74607

Make wxComboCtrlBase::Set*groundColour() methods public. SetForegroundColour() and SetBackgroundColour() were -- presumably accidentally -- protected in wxComboCtrlBase, even though they are documented public virtual methods of wxWindow. This prevented their use from user code.

2013-07-27 21:21 SC, revision 74606

skip apple options

2013-07-27 21:19 SC, revision 74605

wiring event loop callbacks

2013-07-27 21:15 SC, revision 74604

bracketing for correct builds

2013-07-27 21:00 SC, revision 74603

OSX adaptions

2013-07-26 18:02 VZ, revision 74602

Remove all lines containing cvs/svn "$Id$" keyword. This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487.

2013-07-26 17:27 VZ, revision 74601

Remove wxUniversal configuration from the MSVC 10 project files. As these configurations are not present in the automatically generated files any more, remove them from the manually created ones too.

2013-07-26 12:38 VZ, revision 74600

Fix duplicate symbol link errors in wxMSW wxTextEntry code. Don't include <initguid.h> too soon, as this affects the headers included after it instead of just our own uses of DEFINE_GUID() as intended. This resulted in link errors because of duplicate definitions of the many standard GUIDs when using MinGW for which we include, for whatever reason, shlguid.h. This fixes the change of r67573.

2013-07-26 01:36 VZ, revision 74599

Disable tests in Travis configuration. As cppunit is not available, building tests fails. Also disable optimizations in an attempt to make the build faster as we risk being killed because it takes so long. Finally, test compilation of the minimal sample using the installed library for completeness.

2013-07-25 23:55 VZ, revision 74598

Add a configuration file for Travis CI system. Try to use Travis in addition to buildbot to see if it can be useful for us. Closes #15355.

2013-07-25 23:55 VZ, revision 74597

Allow using custom method names in wxHTTP. Add wxHTTP::SetMethod(). Also simplify the code by determining the method to use in Connect() instead of doing it in BuildRequest() itself. Get rid of the now unused wxHTTP_Req enum. Closes #15354.

2013-07-25 23:55 VZ, revision 74596

Fix build with wxUSE_FFILE=0. Add the missing "#if wxUSE_FFILE" checks and add fallbacks to wxFile if it's available. Closes #15353.

2013-07-25 23:54 VZ, revision 74595

Define wxLongLong_t for Intel compiler. It supports the same __int64 type and printf() format specifier for it as MSVC does under Windows. Closes #15359.

2013-07-25 23:54 VZ, revision 74594

Don't crash when creating wxStaticBox in wxGTK. Since r74585, wxWindow::SetCanFocus() is called from wxStaticBoxBase ctor, i.e. before the real window is created, and this results in a crash in wxGTK where SetCanFocus() needs a valid widget. Fix this simply by doing nothing in SetCanFocus() if the widget is not created yet as this should result in the same behaviour as before r74585. This doesn't seem like the right thing to do, however, and we should probably remove this call from wxStaticBoxBase ctor and do it in wxStaticBox implementation itself instead. Closes #15358.

2013-07-24 08:14 SC, revision 74592

wiring OnInit on osx to a later point in event processing

2013-07-23 22:11 SC, revision 74591

support for iPhone callbacks

2013-07-23 19:57 SC, revision 74590

adding OnLaunched

2013-07-23 16:41 PC, revision 74589

use GTK-specific method to delete selection

2013-07-23 15:18 VZ, revision 74588

Compilation fix for PCH-less build after r74586. Don't use wxWindow methods in wx/container.h, move AcceptsFocus() implementation to containr.cpp.

2013-07-23 14:44 VZ, revision 74587

Document wxKill(wxSIGTERM) reliance on having an open window in wxMSW. wxKill(wxSIGTERM) doesn't work if the child process has no open windows as it doesn't have anything to post the WM_QUIT message to. Document this and point out that wxKill(wxSIGKILL) still works in this case. Closes #15356.

2013-07-23 14:44 VZ, revision 74586

Fix tab navigation bug with radio boxes without enabled items. There was a bug similar to the one in the preceding commit with radio boxes under wxMSW too: if all radio box buttons were disabled (or hidden, although this should be much more rare in practice, unlike the disabled case which was deemed to be rare in r74583 commit message but turned out to actually happen), the radio box still pretended to accept focus but didn't really do it. Fix this by allowing to override wxWindow::CanBeFocused() and do it in wxRadioBox to check whether we have any enabled visible items. Also add a check for CanBeFocused() to wxControlContainer code.

2013-07-23 14:44 VZ, revision 74585

Fix tab navigation bug with static boxes without enabled children. wxControlContainer::AcceptsFocusFromKeyboard() returned true even if the control didn't have any currently enabled -- and hence accepting focus -- children. This resulted in strange wxEVT_NAVIGATION_KEY propagation as it unexpectedly wasn't handled in the control which pretended to accept focus and instead bubbled up back into the parent, resulting in the focus returning to the first child of the parent instead of skipping the static box with disabled children and going to the next enabled child. Fix this by checking that we have children that can be focused right now and not only children that are focusable. Notice that this doesn't take care of calling wxWindow::SetCanFocus() correctly when the children enabled/disabled state changes so there might still be other problems, notably under wxGTK where SetCanFocus() does something non-trivial, but it at least improves things under wxMSW.

2013-07-23 07:13 PC, revision 74584

merge DoDrawText() and DoDrawRotatedText() into one function

2013-07-23 02:43 VZ, revision 74583

Fix tab navigation into radio boxes in wxMSW. Radio boxes refused to take focus from keyboard as their wxControlContainer::AcceptsFocusFromKeyboard() always returned false because the base wxStaticBox class disabled setting the focus to the control itself and wxRadioBox doesn't have any children at wx level in wxMSW. Fix this by reenabling "self focus" in wxRadioBox to make it possible to accept focus from keyboard. This is not ideal as it doesn't take into account e.g. radio boxes without any items or with all items disabled or hidden, but this should be rare and would require virtualizing all children access at wxControlContainer level, i.e. would be quite non-trivial so don't do this for now as this, at least, fixes the navigation in common/normal case. Also remove the unnecessary AcceptsFocus() override from wxRadioBox as this is now done at wxControlContainer level.

2013-07-23 02:43 VZ, revision 74582

No real changes, just refactor wxControlContainer code a little. Extract the call to wxWindow::SetCanFocus() into a separate UpdateParentCanFocus() function as it can be necessary to do it from places other than UpdateCanFocusChildren() too.

2013-07-23 01:37 VZ, revision 74581

Rearrange Windows checks in wx/platform.h to be more logical. Use __WINDOWS__ symbol as the primary symbol indicating Windows instead of using all of _WIN32, __WIN32__ and __WINDOWS__. Also automatically define __WINDOWS__ if __WXMSW__ is defined as this port only can be used under Windows and doing it like this fixes compilation in the case when the platform ends up being not defined at all, closes #15342. Finally, don't assume Windows by default but give an error if we can't detect the platform. This shouldn't happen in practice but seems a safer thing to do if it ever does happen.

2013-07-22 20:33 SC, revision 74580

further routing into wxApp

2013-07-22 18:18 SC, revision 74579

cocoa wiring

2013-07-22 18:17 SC, revision 74578

wiring osx native notification during launch

2013-07-22 17:32 PC, revision 74577

use pango_matrix_scale() to scale text

2013-07-21 12:30 SJL, revision 74575

Fix wxWebView documentation warnings. See #15346.

2013-07-21 12:05 VS, revision 74574

Add functor-taking overload of CallAfter(). This is a generalization of the existing method-calling overloads.

2013-07-18 12:07 VZ, revision 74573

Don't assume that KeySym is always defined as long in wxGTK. Apparently this is not the case when using Wayland and using "%ld" to print it out results in an assert failure. Closes #15351.

2013-07-17 21:25 RD, revision 74572

Fix interface definition of GetMouseCursorAt

2013-07-17 19:27 VZ, revision 74571

Just forward Stricmp() in wx/string.h to wxCRT_StricmpA(). Don't redo the tests already done in wx/wxcrtbase.h in wx/string.h too, especially as they were not done correctly there (they didn't take into account the case of MinGW in strict ANSI mode). Just call wxCRT_StricmpA(). This also allows us to get rid of HAVE_STRCASECMP_IN_STRING[S]_H tests in configure. Closes #15349.

2013-07-17 19:27 VZ, revision 74570

Set mouse cursor correctly over image map links in wxHTML. The cursor didn't change to a link one when the mouse was over link areas in an image map. Fix this by generalizing wxHtmlCell::GetMouseCursor() into GetMouseCursorAt(). Closes #15350.

2013-07-17 19:27 VZ, revision 74569

Check the number of points in the image map in wxHTML. Don't crash if an <area> element is incorrect and doesn't have the required number of coords attributes. Closes #15348.

2013-07-17 19:27 VZ, revision 74568

No changes, just remove an extra pair of braces in wxHTML code. See #15348.

2013-07-17 19:27 VZ, revision 74567

Handle wxALWAYS_SHOW_SB in wxOSX. Initialize m_[hv]ScrollBarAlwaysShown to true if this flag is given when creating the window. Closes #15344.

2013-07-17 14:57 VZ, revision 74566

Mention more announcement channels in the release making instructions.

2013-07-17 14:57 VZ, revision 74565

Remove more exclusions from Inno Setup file. Some excluded entries were not-existent anyhow (.cvsignore, wxPython, *.pch) while others could be useful to have (misc).

2013-07-17 14:57 VZ, revision 74564

Don't exclude tests from wxMSW-Setup.exe. The tests are useful to have to be able to check some functionality.

2013-07-17 14:57 VZ, revision 74563

Exclude "osx" files, not "mac" ones, from Inno Setup file. "mac" subdirectories don't exist any more.

2013-07-17 14:57 VZ, revision 74562

Remove redundant lines from Inno Setup file. We don't need to handle the documentation files separately when they are already taken care of together with everything else anyhow.

2013-07-17 14:57 VZ, revision 74561

Document the release scripts really used for making releases. End the polite fiction that build/tools/create-archive.py is used to build the release because it isn't and all the last releases were built using different scripts. Document their use in more details.

2013-07-17 14:57 VZ, revision 74560

Remove Inno Setup file dependency on c:\daily path. Generate the output file in the parent of the sources directory and take care of copying it to c:\daily in bld_chm_exe.bat itself. This allows to use wxwidgets.iss without that batch file and also on systems without c:\ drive at all.

2013-07-17 14:57 VZ, revision 74559

Use "INNO" env var in Inno Setup script only if it's defined. Just use the sources directory itself if %INNO% is not defined. In fact, I think we could always use the source directory, actually, but just in case there was some reason to do it like this, keep using %INNO% if it is defined. Also check that WXW_VER environment variable that we use is, in fact, defined. FIX: Use relative path, not %WXWIN% in ISS script.

2013-07-17 14:57 VZ, revision 74558

Update binaries release notes for 2.9.5. Correct the compiler versions used and update the checksums.

2013-07-17 14:57 VZ, revision 74557

Update SHA1 sums for 2.9.5 release files. Add CHM and wxMSW setup, remove Headers.7z which is in binaries subdirectory.

2013-07-17 14:57 VZ, revision 74556

Add a test for eol-native file existence in the release script. Otherwise it could silently create a distribution with the files with wrong EOLs.

2013-07-17 14:57 VZ, revision 74555

Mention that wxWidgets-x.y.z_Headers.7z must be uploaded to binaries subdir. This file goes with the binaries, not the sources. Also fix its extension.

2013-07-17 14:57 VZ, revision 74554

Make it possible to use svn-find-native-eols script without svn checkout. This should make it simpler to use it for other people.

2013-07-17 12:48 JS, revision 74553

Backport fix from 2.9 for allowing context menus in hierarchies containing wxHtmlWindow

2013-07-17 12:46 SC, revision 74552

fixing parameter name

2013-07-16 21:16 VZ, revision 74551

Updated release notes for 2.9.5. Change the version and update sha1sums.

2013-07-16 18:19 VZ, revision 74550

Create tag WX_2_9_5

2013-07-16 17:47 VZ, revision 74549

Add manually created VC10 project and solution files for the library. These files were obtained by importing the VC9 files and then setting up the dependencies correctly in the solution. This is just a temporary solution and we'll hopefully generate them with bakefile-1 for the 3.0 release but for now this is better than nothing.

2013-07-16 16:10 VZ, revision 74548

Fix insertion of radio menu items in wxOSX wxMenu. Deal correctly with updating the indices when a radio item is inserted into an existing radio group (which wasn't done previously and resulted in a unit test failure in MenuTestCase::RadioItems()) and also with inserting the normal items before an existing radio group as the stored indices were not updated correctly. The code is still ugly and it probably wouldn't be a bad idea to reuse wxMenuRadioItemsData used in wxMSW for similar purposes, but at least the unit tests pass now.

2013-07-16 16:10 VZ, revision 74547

Allow unsetting wxMenuItem as start of radio group too. This must be called if another radio item is inserted before the current starting one.

2013-07-16 16:10 VZ, revision 74546

No changes, just fix some comments in wxOSX wxMenu header. Mostly clarify DoInsertOrAppend() comment, the "is"/"if" typo made it rather unclear.

2013-07-16 16:10 VZ, revision 74545

No changes, just renamed "pItem" to "item" in wxOSX menu code. Get rid of this pseudo-Hungarian notation and make the naming of the variables consistent across the whole file.

2013-07-16 16:10 VZ, revision 74544

Get rid of wxMenu::m_startRadioGroup in wxOSX. This code was probably copied from wxUniv but was wrong as we can't rely on the items being always inserted in order. This commit on its own fixes removing the first radio group menu item but it also makes possible to properly implement the insertion of new items in the middle of an existing radio group which couldn't be done with m_startRadioGroup approach at all.

2013-07-16 16:10 VZ, revision 74543

Fix harmless unused parameter warning in wxOSX. We don't use the timestamp in wxNonOwnedWindow::HandleResized().

2013-07-16 16:10 VZ, revision 74542

Add wxMenuItem::IsCheck() and IsRadio() accessors. The latter will be convenient to use in the upcoming changes to wxOSX radio items management code and add the former for the symmetry.

2013-07-16 16:10 VZ, revision 74541

Use [DOMRange markupString] to get selection source. This DOMRange method, previously used in GetSelectedText(), seems to provide exactly what we need so there doesn't seem to be any reason to use JS to get the selection text, especially as it didn't even work under OS X 10.8 and returned an empty string in the unit test. The unit test still needs adjustment to pass because we don't get back exactly the same HTML as we used originally, but with more relaxed matching it does pass now.

2013-07-16 16:10 VZ, revision 74540

Return raw text, not markup, from wxWebViewWebKit::GetSelectedText(). Under OS X the markup string was returned, unlike in all the other ports, resulting in a unit test failure, fix this.

2013-07-16 16:10 VZ, revision 74539

No changes, just get rid of some wxT()s in wxString unit test. They were unnecessary and cluttered the code too much.

2013-07-16 07:13 SC, revision 74538

never return negative client sizes, fixes #15338

2013-07-16 00:37 VZ, revision 74537

Really fix wxUSE_PREFERENCES_EDITOR requirements check. The changes of r74532 were incomplete/wrong and the fix of r74536 didn't entirely fix the logic here, so try to do it again, hopefully correctly this time.

2013-07-15 20:04 RD, revision 74536

Only disable wxUSE_PREFERENCES_EDITOR if wxUSE_NOTEBOOK is False, not if it's True.

2013-07-15 19:31 SC, revision 74535

keeping selected page, fixes #15334

2013-07-15 18:42 VZ, revision 74534

Move HAVE_WCSXXX from wx/osx/config_xcode.h to wx/osx/chkconf.h. The latter file is also used when building from the command line while the former is only used in Xcode build, as its name indicates (which didn't help me to notice it, however). Also restore the test for wcsftime() in configure as it is available even on older systems but do not test for strnlen() -- as it is not. These changes amend those of r74523.

2013-07-15 18:36 SC, revision 74533

making sure images are in synch with the pages

2013-07-15 17:14 VZ, revision 74532

Add wxUSE_PREFERENCES_EDITOR and the corresponding configure option. This was somehow forgotten when wxPreferencesEditor was added.

2013-07-15 17:14 VZ, revision 74531

Fix new wxExecute() code compilation with wxUSE_CONSOLE_EVENTLOOP==0. Nothing is going to work without the console apps/base traits support for the event loop but at least make it compile.

2013-07-15 17:14 VZ, revision 74530

Fix wxGTK compilation in wxUSE_MENUS==0 case. Add missing check for it to wxWindow::DoFindFocus().

2013-07-15 17:14 VZ, revision 74529

Avoid including pipe stream headers when streams are disabled. Fixes compilation with wxUSE_STREAMS==0.

2013-07-15 03:49 VZ, revision 74528

Romanian translations update from Cătălin Răceanu.

2013-07-15 03:48 VZ, revision 74527

Don't hard code "2.9.3" in the release preparation instructions.

2013-07-15 03:32 VZ, revision 74526

Don't use images in wxToolBar with wxTB_NOICONS in wxOSX. This results in asserts when adding items without bitmaps, but this should be allowed when using wxTB_NOICONS.

2013-07-15 03:32 VZ, revision 74525

Disable wxFont::SetStrikethrough() test under wxOSX. Strike through support is not available in wxFont under this platform, as documented.

2013-07-15 03:31 VZ, revision 74524

Support using GetTextExtent() with empty string to get descent in wxOSX. Allow measuring the descent and external leading of an empty string by measuring just a space instead in wxOSX. This makes the behaviour more consistent with wxMSW and makes the unit test added in r74464 pass under OS X too.

2013-07-15 03:31 VZ, revision 74523

Don't test for wide character functions in configure under OS X. The tests for these functions may succeed on the system we're running under but the functions may not be actually available on the system the application is going to run under (if it's < 10.7). So use our own replacements for these functions unless 10.7 was explicitly chosen as the minimal possible version. An alternative solution could have been to use weak linking but this is more difficult and there is no real gain (performance would need to be measured first).

2013-07-15 03:31 VZ, revision 74522

Fix totally broken LocaleSetter class in the test suite. It was based on a completely erroneous assumption that setlocale() returns the locale that had been previously active when it actually returns the newly set locale. This fixes unit test failures in StringTestCase under OS X, as the locale wasn't correctly restored by DateTimeTestCase that used this class.

2013-07-15 03:31 VZ, revision 74521

Fix harmless Clang warning about unused class member in a test. The m_i field is only used in the currently commented out debugging messages, suppress a warning about it being unused.

2013-07-15 03:31 VZ, revision 74520

Fix harmless Clang warning about an unused function. GlobalOnAnotherEvent() is not used in normal testing.

2013-07-15 03:31 VZ, revision 74519

Suppress harmless clang 3.3 warning about unused wxMessageOutputBest field. Clang detects that a class member is unused (under non-Windows systems) which is quite impressive but not really useful in this particular case, so suppress this warning by "using" it.

2013-07-15 03:31 VZ, revision 74518

Fix error checking in wxFileSystemWatcher::Remove() under OS X. The boolean return value was compared with -1 which was always false.

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.

2013-07-06 13:59 VZ, revision 74406

Make TOOLKIT variable constant in MSW makefiles. This fixes duplicate lines defining rules for generic files for more than one port in the makefiles. Closes #14979.

2013-07-06 02:28 VZ, revision 74405

Fix potential buffer overflow in wxSTC DefaultFont() function. Use safe(r) wxStrlcpy() instead of strcpy() to copy the font name. Closes #15296.

2013-07-06 02:27 VZ, revision 74404

Fix test for Windows in the new wxExecute() unit test. TestOverlappedSyncExecute() doesn't currently pass under Windows and was supposed to not be executed there but was, in console test, as __WXMSW__ is not defined in this case, only __WINDOWS__ is (as there is no GUI toolkit in the console applications). See #10258.

2013-07-05 19:12 JS, revision 74363

Caret blink time and blink on/off are now also reflected in GTK+ widgets

2013-07-05 19:11 JS, revision 74362

Caret blink time and blink on/off are now also reflected in GTK+ widgets

2013-07-05 18:26 JS, revision 74361

Use wxRTC text colour if possible for caret

2013-07-05 18:25 JS, revision 74360

Use wxRTC text colour if possible for caret

2013-07-05 15:33 JS, revision 74359

Don't flash wxRTC caret if blink time is zero, and also take colour from window text colour to avoid invisibility.

2013-07-05 15:32 JS, revision 74358

Don't flash wxRTC caret if blink time is zero, and also take colour from window text colour to avoid invisibility.

2013-07-04 00:18 VZ, revision 74357

Prevent duplicate menu event processing in MDI windows. Record the object propagating the given event upwards in the event object itself and use it in wxMDIParentFrame to determine whether the event being handled is already coming from wxMDIChildFrame and avoid sending it back for processing it there again in this case. This is ugly and makes wx event processing even more complex but this is the only way I could find to ensure that (a) Both the child and the parent frames get the events from the toolbar (even though the toolbar parent is the parent frame and hence normally the child wouldn't get notified about them at all and so the forwarding at wxMDIParentFrame level is required to make this work). (b) The child gets the event only once, whether it comes from a toolbar (and hence indirectly via the parent frame) or from the child menu (and hence directly to the child, at least in wxMSW). This commit fixes the event propagation unit test case, at least under MSW and GTK. See #14314.

2013-07-04 00:18 VZ, revision 74356

Test handling of events from the toolbar in an MDI parent frame. These events must be received by the currently active child.

2013-07-04 00:17 VZ, revision 74355

Ensure that the MDI child is active in event propagation test. Call wxMDIChildFrame::Activate() explicitly as the behaviour was different under MSW (where the activation happened too late for the test) and GTK where the child did become active because of the hacks in place to ensure it.

2013-07-03 13:03 VZ, revision 74354

Make AsyncExecLoopExitEnum enum in the wxExecute() test public. This fixes VC6 build as the nested class couldn't access a private enum inside the enclosing class.

2013-07-03 05:12 PC, revision 74353

fix wxCHECK_MSG() return value

2013-07-03 02:33 VZ, revision 74352

Don't ignore child process output if it exits with -1 exit code. While this code is used by us if the program couldn't be launched at all, it doesn't mean that it didn't run as -1 could also be returned by the child process to indicate an error after outputting something, so we should still read its output in this case. Closes #15205.

2013-07-03 02:32 VZ, revision 74351

Run wxExecute() unit test in the GUI test suite too. The same code works differently in console and GUI applications, so build this test case as part of both of them. See #10258.

2013-07-03 02:32 VZ, revision 74350

Rewrite wxExecute() implementation under Unix. This commit changes wxExecute() to handle SIGCHLD to be notified about the child process termination instead of detecting when the file descriptor corresponding to the other end of a pipe opened in the parent process was closed in the child as this was not reliable and could (and did) result in not detecting the termination of the child processes that closed all their file descriptors before exiting. This commit also removes a lot of platform-specific code duplicating the generic event loop sources support and reuses it for wxExecute() purposes too. Final big change is that wxEndProcessData was merged into wxExecuteData and we don't have two similar but quite different classes any more but just one, which is used both to pass the information from wxExecute() to wxAppTraits methods and to store this information until the child termination. Closes #10258.

2013-07-03 02:31 VZ, revision 74349

Add a helper wxApp::GetValidTraits() method. This method always returns some valid traits, even if we don't have wxTheApp (which is possible in the console applications) or if its GetTraits() was overridden to return NULL (which shouldn't be, but still guard against this).

2013-07-03 02:31 VZ, revision 74348

Treat G_IO_HUP as read, not error, event because EOF is not exceptional. When EOF is reached on a file descriptor, call the handler OnReadWaiting() because this is not really different from getting to the EOF while reading data in the same function. Only call OnExceptionWaiting() for the real errors. See #10258.

2013-07-03 02:31 VZ, revision 74347

Make Unix wxAppConsole signal handling more flexible. Instead of hardcoding the call to WakeUpIdle() in the signal handler itself, just wake up the event loop when we catch a signal. This will still result in WakeUpIdle() being called, before the next event loop iteration, but it will also allow us to do other things on wakeup from signal as it will be done in the upcoming wxExecute() changes to support wxEXEC_NOEVENTS in console applications. See #10258.

2013-07-03 02:30 VZ, revision 74346

Change wxWakeUpPipe to be a wxEventLoopSourceHandler. No real changes but use wxEventLoopSource::AddSourceForFD() instead of wxFDIODispatcher::RegisterFD() for this pipe because this is the preferred way and because it will allow reusing this class for wxExecute() purposes later. See #10258.

2013-07-03 02:30 VZ, revision 74345

Include wx/evtloop.h from wx/evtloopsrc.h. This is necessary to ensure that wxUSE_EVENTLOOP_SOURCE which wraps the entire contents of this header is defined if it's included directly and not after already including wx/evtloop.h. See #10258.

2013-07-03 02:29 VZ, revision 74344

Include <fcntl.h> from a header using fcntl(). No real changes, just make the header self-containing instead of relying on the file including it to include <fcntl.h> itself.

2013-07-03 02:29 VZ, revision 74343

Add wxStreamTempInputBuffer::ReadAll() helper. This just reads everything remaining in the stream in a blocking way and will be used to get the data remaining in the stream buffers after the child process had been already closed (and hence can't write any more to it and there is no risk of deadlock). See #10258.

2013-07-03 02:29 VZ, revision 74342

Use CFSocket instead of CFFileDescriptor in wxCFEventLoopSource. Use OS X socket APIs for monitoring file descriptors. They are more flexible than CFFileDescriptor functions and can be used with any descriptors, not necessarily the socket ones. See #10258.

2013-07-03 02:28 VZ, revision 74341

Make wxEventLoop::AddSourceForFD() static. Any event sources should be registered with all the event loops, including the ones that will be started in the future, and not only the current (and potentially not even existing yet) one. So make AddSourceForFD() method static. To still allow it to do different things in console and GUI applications, as it must, virtualize it via the new wxEventLoopSourcesManager class which has different implementations in the two cases, returned via wxAppTraits as usual. Notice that this required moving the implementation of this method from src/osx/core/evtloop_cf.cpp to src/osx/core/utilsexc_cf.cpp as the former file is base-only and didn't have access to wxGUIAppTraits. See #10258.

2013-07-03 02:28 VZ, revision 74340

Extract wxFDIOEventLoopSourceHandler in its own header. No real changes, this is just in preparation for the further refactoring. See #10258.

2013-07-03 02:27 VZ, revision 74339

Split wxWakeUpPipe class in MT-unsafe and MT-safe parts. This class can also be useful when it's used in the main thread only, so leave the lock-less part of the code in wxWakeUpPipe and derive a separate wxWakeUpPipeMT from it for the use in wxConsoleEventLoop where it can be used by multiple threads. See #10258.

2013-07-03 02:27 VZ, revision 74338

Extract PipeIOHandler class into a header and rename to wxWakeUpPipe. No real changes to the class, just make it possible to reuse it outside of Unix wxEventLoop code. See #10258.

2013-07-03 02:27 VZ, revision 74337

No changes, move wxStreamTempInputBuffer to a header file. Get rid of the surprising src/common/execcmn.cpp which had a .cpp extension but was supposed to be used as an included file only and move its contents to a new private header to make using wxStreamTempInputBuffer class simpler. See #10258.

2013-07-03 02:26 VZ, revision 74336

Extract wxPipeInputStream and wxPipeOutputStream in a header. No real changes, just put these classes in a private header. They're still not part of the public API but at least it will be easier to reuse them inside the library itself in the upcoming commits. See #10258.

2013-07-03 02:26 VZ, revision 74335

Add wxEventLoop::ScheduleExit(). This method allows to request exiting from the given event loop even if it's not the currently active one, unlike Exit() which would assert in this case. With it, it becomes possible to ask the loop to terminate as soon as possible even if a nested loop is currently running. See #10258.

2013-07-03 02:25 VZ, revision 74334

Use normal event loop in GUI test program. Don't create an event loop manually, let the port-specific code do it and run it as usual in the GUI unit tests. This has several advantages: - No need to manage the event loop manually in the test. - No need for Mac-specific code in the test itself. - Code being tested runs in the same context as in a normal GUI program, which is especially important for event-loop related tests under wxOSX as the main event loop is special there.

2013-07-03 02:25 VZ, revision 74333

Add wxEventLoopBase::DoRun(). Call it from public Run() after setting the loop as active and resetting m_shouldExit flag. No real changes, just cut down on the code duplication among the ports and make it easier to implement the upcoming changes. see #10258.

2013-07-03 02:24 VZ, revision 74332

Move wxEventLoopManual::m_shouldExit to wxEventLoopBase. No real changes, just make this flag available to the other event loop implementations as they will need it soon. See #10258.

2013-07-03 02:24 VZ, revision 74331

Add "OSX" prefix to wxCFEventLoop::DoRun() and DoStop() methods. Just rename these methods to avoid clashes with DoRun() that will be added to the base class soon, no real changes. This is done in preparation for improving nested event loops support, see #10258.

2013-07-03 02:24 VZ, revision 74330

Add wxTimer::StartOnce(). This is a simple wrapper for wxTimer::Start(timeout, wxTIMER_ONE_SHOT) but is often more readable and is definitely better than Start(timeout, true) which many people still use in spite of wxTIMER_ONE_SHOT existence.

2013-07-02 22:24 VZ, revision 74329

Better fix for duplicate wxContextMenuEvent generation under MSW. Fix the bug with multiple wxContextMenuEvent being generated for a single WM_CONTEXTMENU without breaking context menus for wxTextCtrl (and all the other native controls). Do this by ensuring that WM_CONTEXTMENU is still passed to DefWindowProc() if we don't process it instead of just being eaten completely in any case. Also add a unit test checking for this bug to ensure it stays fixed. See #13683.

2013-07-02 22:23 VZ, revision 74328

Avoid forcing wxYield() after wxUIActionSimulator::MouseMove() in wxGTK. Yield (for input events only) inside this function itself instead of forcing all the code using this function to call wxYield() after it as otherwise the mouse position change is not taken into account by the subsequent simulated events.

2013-07-02 19:15 PC, revision 74327

chain up to parent in dispose handler

2013-07-02 19:09 PC, revision 74326

use correct signature for class init function

2013-07-02 18:56 PC, revision 74325

use existing helper to remove inconvenient additional reference added by gtk_tree_model_get()

2013-07-02 18:35 PC, revision 74324

remove unused function GTKSetItem()

2013-07-02 18:29 PC, revision 74323

preserve checkbox status in SetString()

2013-07-01 16:58 VZ, revision 74322

Don't append extension if it contains wildcards in wxGTK wxFileDialog. Restore the test for wildcards erroneously removed in r74307. Closes #15285.

2013-07-01 16:48 VZ, revision 74321

Optimize wxImage::Scale() by pre-calculating the values used. Precompute the values used by various resampling algorithms once instead of doing it for each pixel. This dramatically speeds them up: more than 3 times faster in wxImage benchmark with the small images and up to 5 times faster with larger images. Closes #15281.

2013-07-01 16:48 VZ, revision 74320

Add wxImage::Scale() benchmarks. Measure the time taken to rescale the image to a bigger or smaller size using normal or high quality. See #15281.

2013-07-01 16:47 VZ, revision 74319

Add benchmarks for wxImage methods. Build a GUI version of the benchmark program too and use it to benchmark wxImage loading methods for now (more will be added later).

2013-07-01 16:47 VZ, revision 74318

Add a unit test for wxImage::Scale() method. Check that resizing the test horse image produces the same results in the future as it does now, by saving the current results in files and verifying that images resized directly and loaded from these files are the same. See #15281.

2013-07-01 07:10 PC, revision 74317

Use gtk_list_store_insert_with_values() to set entry at same time item is inserted. This should ensure that the entry is always valid, removing the need for r74315. Also simplify DoInsertItems() by using DoInsertItemsInLoop().