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
Changelog for wxWidgets (70435 changes):
2009-09-22 15:06 JS, revision 620142009-09-22 15:06 JS, revision 62013Fixed #9996 (incorrect XML output in Ansi build for non-ASCII character)
2009-09-22 14:13 PJC, revision 62012Fixed #9996 (incorrect XML output in Ansi build for non-ASCII character)
2009-09-22 12:58 JS, revision 62011Added automatic linking of ribbon libraries when using MSVC.
2009-09-22 12:03 JS, revision 62010Fixed wxBORDER_THEME breakage
2009-09-22 12:03 JS, revision 62009Don't use deprecated background style
2009-09-22 08:12 JJ, revision 62008Don't use deprecated background style
2009-09-22 02:23 VZ, revision 62006Update OpenVMS makefile
2009-09-22 02:23 VZ, revision 62005Call wxApp::ProcessPendingEvents() from wxX11 event loop. Now that this function is not called from idle time (because it should be called before, see r61441), the event loop must call explicitly so do it from wxGUIEventLoop::Dispatch() in wxX11. A probably better (but more time-consuming) fix would be to make wxX11 use wxEventLoopManual as there doesn't seem to be any reason not to.
2009-09-22 02:23 VZ, revision 62004Override DrawLabel() to avoid crossing out disabled labels in mono theme. DrawButtonLabel() crosses out the buttons to indicate that they are disabled (for lack of any other options in mono renderer) but this looks really bad for the labels, so don't do it. Closes #11220.
- M /wxWidgets/trunk/include/wx/univ/renderer.h
- M /wxWidgets/trunk/src/univ/button.cpp
- M /wxWidgets/trunk/src/univ/ctrlrend.cpp
2009-09-22 02:22 VZ, revision 62003Add a separate wxControlRenderer::DrawButtonLabel() too. wxControlRenderer::DrawLabel() was used by both wxStaticText and wxButton but their labels may need to be drawn differently and wxRenderer does have different DrawLabel() and DrawButtonLabel() to do it. Now also add a separate method for the buttons to wxControlRenderer. See #11220.
2009-09-22 02:22 VZ, revision 62002Implement wxGetActiveWindow() for wxX11. Now that wxGetActiveWindow() is used when showing modal dialogs, it became critical to implement it as otherwise an assert happens every time a dialog is shown and because creating the assert dialog itself results in another (same) assert, this immediately results in a crash. So implement it even if in a very trivial (but hopefully not too incorrect) way.
- M /wxWidgets/trunk/include/wx/univ/window.h
- M /wxWidgets/trunk/include/wx/window.h
- M /wxWidgets/trunk/src/univ/winuniv.cpp
2009-09-22 02:22 VZ, revision 62001Implement wxWindow::DoGetBorderSize() in wxUniv. As some wxUniv classes implement DoGetBestClientSize(), the new code in wxWindow::DoGetBestSize() implementation calls DoGetBorderSize() which asserts because it's not implemented, making it impossible to even start the minimal sample -- fix this.
- M /wxWidgets/trunk/src/common/utilscmn.cpp
- M /wxWidgets/trunk/src/gtk/app.cpp
- M /wxWidgets/trunk/src/gtk/utilsgtk.cpp
- M /wxWidgets/trunk/src/x11/utilsx.cpp
2009-09-22 02:22 VZ, revision 62000Define wxSetDetectableAutoRepeat() for X11-based ports only. This function is not needed in wxGTK2 as GTK+ sets detectable auto-repeat on its own in gdk_display_open() anyhow, so move its implementation to src/x11/utilsx.cpp where it can be used by wxX11 and wxMotif which do need it.
2009-09-21 22:10 VZ, revision 61999Move wxSetDetectableAutoRepeat() to a section compiled in wxCore. This function was mistakenly defined in a section of utilscmn.cpp compiled as part of wxBase, so it wasn't correctly exported from the core library and linking any wxX11 applications failed when using compiler with visibility support.
2009-09-21 16:45 VZ, revision 61998Recognize old wx{CHB,LB}_XXX styles in XRC. Situation with wxBK_XXX vs wxXXB_XXX remains confusing, the comments in the code suggest that the former is preferred but the latter are documented for wxListbook and wxChoicebook (although they don't even exist for wxTreebook). So it seems unwise to not recognize the wxXXB_XXX versions in XRC as people could easily decide to use them instead of wxBK_XXX values -- and this is also consisten with wxNotebookXmlHandler which does recognize both wxBK_XXX and wxNB_XXX already. Change wxListbookXmlHandler and wxChoicebookXmlHandler to also always recognize these styles. Closes #10725.
2009-09-21 16:45 VZ, revision 61997Restore socket initialization times counter. The change of the counter to a simple boolean in r61985 broke the code which called both Initialize() and Shutdown() multiple (but the same number of) times. As this is the documented correct behaviour, restore the counter to cater for it even if we don't really need it any longer.
2009-09-21 16:45 VZ, revision 61996Don't call wxSocketBase::IsInitialized() from worker threads. This function should be used in the main thread only and calling it from wxSockAddress unconditionally resulted in asserts in the unit test.
2009-09-21 15:11 SC, revision 61995Abort on asserts in worker threads. Throwing an exception from worker threads is useless as it is not caught by our wxUnitTestProtector which only protects the main thread, so abort immediately to be sure to provide at least some information about the problem as otherwise nothing may be output at all and the program can end up deadlocked.
2009-09-21 15:10 SC, revision 61994on iPhone default is to cover entire screen
2009-09-21 15:08 SC, revision 61993fixing cast warnings on OSX 10.6
2009-09-21 15:00 VZ, revision 61992fixing include type
2009-09-21 15:00 VZ, revision 61991Account for the margins used by Windows around status bar text. Because Windows uses margins around the text drawn in the status bar, naively setting a field width to the size of the text didn't work (see previous commit for an example). As this seems a natural enough thing to do, account for this margin inside wxStatusBar itself to avoid the user code the trouble of having to call some special function to do it. Notice that this does mean that fields not containing text may be slightly larger than needed, but we consider that this (rarer) case is less important. Also account correctly for the status bar grip size. And while we still hard code its size, do it in a clearly named function instead of using completely mysterious constants here and there. Closes #10696.
2009-09-21 15:00 VZ, revision 61990Add a test of precisely sized status bar fields. Modify the status bar sample to use two fields of just the right size for their contents to confirm that this doesn't work correctly under at least MSW currently (see #10696). Notice that we need two fields because the behaviour/problem is different for the last field and all the other ones.
2009-09-21 15:00 VZ, revision 61989Simplify the status bar sample by removing wxBitmapButton. The sample code was complicated by having USE_STATIC_BITMAP and using wxStaticBitmap or wxBitmapButton depending on it. Neither important for a wxStatusBar sample so just use wxStaticBitmap always and make the code simpler and more readable.
2009-09-21 14:59 VZ, revision 61988Show status bar panes rectangles in the sample. Display the rectangles returned by wxStatusBar::GetFieldRect() to be able to visually check if they are correct. See #10696.
2009-09-21 14:57 SC, revision 61987Clean up status bar sample. No real changes, just: - Fix code which couldn't compile in USE_MDI_PARENT_FRAME case - Use wxMenu::AppendCheckItem() instead of Append(..., true) - Remove unnecessary #ifdef __WXMAC__ - Wrap excessively long lines
- M /wxWidgets/trunk/include/wx/osx/cocoa/private.h
- M /wxWidgets/trunk/src/aui/auibar.cpp
- M /wxWidgets/trunk/src/aui/auibook.cpp
- M /wxWidgets/trunk/src/aui/dockart.cpp
- M /wxWidgets/trunk/src/generic/listctrl.cpp
- M /wxWidgets/trunk/src/osx/carbon/font.cpp
- M /wxWidgets/trunk/src/osx/carbon/renderer.cpp
- M /wxWidgets/trunk/src/osx/utils_osx.cpp
- M /wxWidgets/trunk/src/osx/window_osx.cpp
2009-09-21 10:44 VZ, revision 61986moving themeing include to private.h
2009-09-21 10:44 VZ, revision 61985Initialize wxMDIParentFrame::m_accelWindowMenu in default ctor. If wxMDIParentFrame object was created without its Create() ever being called, it crashed in its dtor trying to delete an uninitialized pointer, so do initialize it to NULL in all ctors (via a helper Init() method, as usual). Closes #11216.
- M /wxWidgets/trunk/include/wx/socket.h
- M /wxWidgets/trunk/interface/wx/socket.h
- M /wxWidgets/trunk/src/common/socket.cpp
2009-09-21 10:44 VZ, revision 61984wxSocket::Initialize() and Shutdown() are for main thread only. Calling Initialize() from another thread could never work before but it wasn't clear that this was the case so document it in the functions comments and documentation now and add asserts checking that they are called from the main thread only. Also simplify the code as we don't actually need to do any reference-counting here and a simple boolean flag indicating whether the sockets are initialized is enough. Closes #11119.
2009-09-21 08:08 JJ, revision 61983Fix harmless unused variable warning. The value of wxColour::Alpha() was assigned to a temporary variable which wasn't used afterwards and Mac OS g++ warned about it.
2009-09-20 23:48 VZ, revision 61982Fix OpenVMS makefiles for inline function changes
2009-09-20 14:37 VZ, revision 61981Fix possible deadlock in wxEvtHandler::ProcessPendingEvents(). Delete the event we just processed before re-locking the critical section as this may result in deadlocks if the (user-defined) event dtor does something non-trivial. Closes #10790.
2009-09-20 14:37 VZ, revision 61980Put wxAny implementation entirely in the header. This allows to remove WXDLLIMPEXP_BASE from the class declaration and should hopefully fix VC6 linking errors when building the unit test.
2009-09-20 12:57 JS, revision 61979Add missing header to fix wxAny test compilation under OS X. And probably other Unix systems not using PCH.
2009-09-20 12:57 JS, revision 61978Avoid duplicate character event for VK_DECIMAL on numeric keypad
2009-09-19 18:29 VZ, revision 61977Avoid duplicate character event for VK_DECIMAL on numeric keypad
2009-09-19 18:29 VZ, revision 61976Optionally return length from wxLoadUserResource(). Add optional length output parameter and also change the return type to "char *" from "wxChar *" to which it apparently was blindly changed just to make this code compile even though this function never returned any strings. Closes #11214.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/colour.h
- M /wxWidgets/trunk/interface/wx/colour.h
- A /wxWidgets/trunk/tests/graphics/colour.cpp
- M /wxWidgets/trunk/tests/Makefile.in
- M /wxWidgets/trunk/tests/makefile.bcc
- M /wxWidgets/trunk/tests/makefile.gcc
- M /wxWidgets/trunk/tests/makefile.vc
- M /wxWidgets/trunk/tests/makefile.wat
- M /wxWidgets/trunk/tests/test.bkl
- M /wxWidgets/trunk/tests/test_test_gui.dsp
- M /wxWidgets/trunk/tests/test_vc7_test_gui.vcproj
- M /wxWidgets/trunk/tests/test_vc8_test_gui.vcproj
- M /wxWidgets/trunk/tests/test_vc9_test_gui.vcproj
2009-09-19 18:29 VZ, revision 61975Add wxColour::{Set,Get}RGB[A](). These methods allow to operate with all 3 or 4 colour channels at once. Add their implementation, documentation and a unit test for wxColour exercising them. Closes #9918.
2009-09-19 17:41 VZ, revision 61973Add curly braces around wxFAIL_MSG() to avoid g++ 4.3 warning. g++ 4.3 warns about lack of explicit braces to make it happy.
- M /wxWidgets/trunk/include/wx/any.h
- M /wxWidgets/trunk/interface/wx/any.h
- M /wxWidgets/trunk/src/common/any.cpp
- M /wxWidgets/trunk/tests/any/anytest.cpp
2009-09-19 12:13 JMS, revision 61972Set svn properties correctly for the newly added files. Set svn:keyword and, most importantly, svn:eol-style, to avoid having files with DOS line endings in svn, for the new files added by r61971.
2009-09-19 10:51 JMS, revision 61971Fixed wxAny tests for VC6
- M /wxWidgets/trunk/build/bakefiles/files.bkl
- M /wxWidgets/trunk/build/msw/makefile.bcc
- M /wxWidgets/trunk/build/msw/makefile.gcc
- M /wxWidgets/trunk/build/msw/makefile.vc
- M /wxWidgets/trunk/build/msw/makefile.wat
- M /wxWidgets/trunk/build/msw/wx_base.dsp
- M /wxWidgets/trunk/build/msw/wx_vc7_base.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc8_base.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc9_base.vcproj
- M /wxWidgets/trunk/configure
- M /wxWidgets/trunk/configure.in
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/docs/doxygen/mainpages/cat_classes.h
- M /wxWidgets/trunk/docs/doxygen/mainpages/const_wxusedef.h
- M /wxWidgets/trunk/docs/doxygen/scripts/common.py
- A /wxWidgets/trunk/include/wx/any.h
- M /wxWidgets/trunk/include/wx/chkconf.h
- M /wxWidgets/trunk/include/wx/msw/setup0.h
- M /wxWidgets/trunk/include/wx/msw/wince/setup.h
- M /wxWidgets/trunk/include/wx/os2/setup0.h
- M /wxWidgets/trunk/include/wx/osx/setup0.h
- M /wxWidgets/trunk/include/wx/palmos/setup0.h
- M /wxWidgets/trunk/include/wx/setup_inc.h
- M /wxWidgets/trunk/include/wx/univ/setup0.h
- A /wxWidgets/trunk/interface/wx/any.h
- M /wxWidgets/trunk/Makefile.in
- M /wxWidgets/trunk/setup.h.in
- M /wxWidgets/trunk/setup.h_vms
- A /wxWidgets/trunk/src/common/any.cpp
- M /wxWidgets/trunk/src/common/descrip.mms
- A /wxWidgets/trunk/tests/any
- A /wxWidgets/trunk/tests/any/anytest.cpp
- M /wxWidgets/trunk/tests/Makefile.in
- M /wxWidgets/trunk/tests/makefile.bcc
- M /wxWidgets/trunk/tests/makefile.gcc
- M /wxWidgets/trunk/tests/makefile.vc
- M /wxWidgets/trunk/tests/makefile.wat
- M /wxWidgets/trunk/tests/test.bkl
- M /wxWidgets/trunk/tests/test_test.dsp
- M /wxWidgets/trunk/tests/test_vc7_test.vcproj
- M /wxWidgets/trunk/tests/test_vc8_test.vcproj
- M /wxWidgets/trunk/tests/test_vc9_test.vcproj
- M /wxWidgets/trunk/wxGTK.spec
- M /wxWidgets/trunk/wxMotif.spec
- M /wxWidgets/trunk/wxX11.spec
2009-09-19 00:16 VZ, revision 61968wxAny initial commit (closes #10932)
- M /wxWidgets/trunk/include/wx/chkconf.h
- M /wxWidgets/trunk/include/wx/motif/setup0.h
- M /wxWidgets/trunk/include/wx/msw/wince/setup.h
- M /wxWidgets/trunk/include/wx/setup_inc.h
- M /wxWidgets/trunk/setup.h.in
2009-09-18 19:11 VZ, revision 61967Add wxUSE_RIBBON to wx/setup_inc.h and wx/chkconf.h. wxUSE_RIBBON was apparently added to the different wx/*/setup.h files manually instead of being added to wx/setup_inc.h and regenerating the rest, correct it. Also check that it is defined in wx/chkconf.h.
2009-09-18 19:10 VZ, revision 61966Don't query system option in every DrawBitmap() call under MSW. Doing this had noticeable (and bad) performance implications so cache the value of the option during the first call. This doesn't allow changing its value during the program execution so we may want to provide some way to update its value later if really needed. Closes #11172.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/list.h
- M /wxWidgets/trunk/interface/wx/list.h
- M /wxWidgets/trunk/src/common/appbase.cpp
2009-09-18 19:10 VZ, revision 61965Change return type of wxList::Member() to bool. It used to return a pointer in wxUSE_STL==0 build and an object in wxUSE_STL==1 one making checking its return value difficult without provoking warnings from either MSVC or g++ (see #11038). Also, all the other occurrences of Member() already returned bool, including the one in wxStringList so changing it to return bool in wxList itself is more consistent.
2009-09-18 18:28 VZ, revision 61964Convert change log to UTF-8 encoding. See #11116.
2009-09-18 18:28 VZ, revision 61963Check that files being checked in use UTF-8. Closes #11116.
- A /wxWidgets/trunk/misc/scripts/svn
- A /wxWidgets/trunk/misc/scripts/svn/hooks
- A /wxWidgets/trunk/misc/scripts/svn/hooks/pre-commit
2009-09-18 18:16 VZ, revision 61962Add the initial version of svn pre-commit hook. This version checks for absence of hard TABs in our source files.
- M /wxWidgets/trunk/include/wx/osx/cocoa/private.h
- M /wxWidgets/trunk/src/aui/auibar.cpp
- M /wxWidgets/trunk/src/aui/auibook.cpp
- M /wxWidgets/trunk/src/aui/dockart.cpp
- M /wxWidgets/trunk/src/generic/listctrl.cpp
- M /wxWidgets/trunk/src/osx/carbon/font.cpp
- M /wxWidgets/trunk/src/osx/carbon/window.cpp
- M /wxWidgets/trunk/src/osx/utils_osx.cpp
- M /wxWidgets/trunk/src/osx/window_osx.cpp
2009-09-18 18:16 VZ, revision 61961Fix recurring typo in "theming". It was (consistently) misspelt as "themeing" in several places. Closes #11206.
- M /wxWidgets/trunk/include/wx/chartype.h
- M /wxWidgets/trunk/include/wx/datetime.h
- M /wxWidgets/trunk/include/wx/wxchar.h
- M /wxWidgets/trunk/include/wx/wxcrtvararg.h
- M /wxWidgets/trunk/include/wx/xrc/xh_filectrl.h
- M /wxWidgets/trunk/src/gtk1/listbox.cpp
- M /wxWidgets/trunk/src/osx/carbon/listctrl_mac.cpp
- M /wxWidgets/trunk/src/osx/cocoa/aboutdlg.mm
- M /wxWidgets/trunk/src/osx/core/fontenum.cpp
- M /wxWidgets/trunk/src/palmos/listctrl.cpp
- M /wxWidgets/trunk/src/unix/dialup.cpp
- M /wxWidgets/trunk/src/unix/net.cpp
- M /wxWidgets/trunk/src/xrc/xh_filectrl.cpp
Use UTF-8 for all non-ASCII characters in the sources. Avoid mixing Latin-1, UTF-8 and Mac Roman (?) encodings in different source files, use UTF-8 everywhere. See #11116.