Changelogs

Overview

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

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2009-09-22 15:06 JS, revision 62014

Fixed #9996 (incorrect XML output in Ansi build for non-ASCII character)

2009-09-22 15:06 JS, revision 62013

Fixed #9996 (incorrect XML output in Ansi build for non-ASCII character)

2009-09-22 14:13 PJC, revision 62012

Added automatic linking of ribbon libraries when using MSVC.

2009-09-22 12:58 JS, revision 62011

Fixed wxBORDER_THEME breakage

2009-09-22 12:03 JS, revision 62010

Don't use deprecated background style

2009-09-22 12:03 JS, revision 62009

Don't use deprecated background style

2009-09-22 08:12 JJ, revision 62008

Update OpenVMS makefile

2009-09-22 02:23 VZ, revision 62006

Call 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 62005

Override 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.

2009-09-22 02:23 VZ, revision 62004

Add 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 62003

Implement 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.

2009-09-22 02:22 VZ, revision 62002

Implement 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.

2009-09-22 02:22 VZ, revision 62001

Define 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-22 02:22 VZ, revision 62000

Move 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 22:10 VZ, revision 61999

Recognize 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 61998

Restore 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 61997

Don'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 16:45 VZ, revision 61996

Abort 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:11 SC, revision 61995

on iPhone default is to cover entire screen

2009-09-21 15:10 SC, revision 61994

fixing cast warnings on OSX 10.6

2009-09-21 15:08 SC, revision 61993

fixing include type

2009-09-21 15:00 VZ, revision 61992

Account 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 61991

Add 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 61990

Simplify 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 15:00 VZ, revision 61989

Show 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:59 VZ, revision 61988

Clean 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

2009-09-21 14:57 SC, revision 61987

moving themeing include to private.h

2009-09-21 10:44 VZ, revision 61986

Initialize 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.

2009-09-21 10:44 VZ, revision 61985

wxSocket::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 10:44 VZ, revision 61984

Fix 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-21 08:08 JJ, revision 61983

Fix OpenVMS makefiles for inline function changes

2009-09-20 23:48 VZ, revision 61982

Fix 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 61981

Put 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 14:37 VZ, revision 61980

Add 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 61979

Avoid duplicate character event for VK_DECIMAL on numeric keypad

2009-09-20 12:57 JS, revision 61978

Avoid duplicate character event for VK_DECIMAL on numeric keypad

2009-09-19 18:29 VZ, revision 61977

Optionally 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.

2009-09-19 18:29 VZ, revision 61976

Add 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 18:29 VZ, revision 61975

Add curly braces around wxFAIL_MSG() to avoid g++ 4.3 warning. g++ 4.3 warns about lack of explicit braces to make it happy.

2009-09-19 17:41 VZ, revision 61973

Set 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 12:13 JMS, revision 61972

Fixed wxAny tests for VC6

2009-09-19 10:51 JMS, revision 61971

wxAny initial commit (closes #10932)

2009-09-19 00:16 VZ, revision 61968

Add 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:11 VZ, revision 61967

Don'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.

2009-09-18 19:10 VZ, revision 61966

Change 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 19:10 VZ, revision 61965

Convert change log to UTF-8 encoding. See #11116.

2009-09-18 18:28 VZ, revision 61964

Check that files being checked in use UTF-8. Closes #11116.

2009-09-18 18:28 VZ, revision 61963

Add the initial version of svn pre-commit hook. This version checks for absence of hard TABs in our source files.

2009-09-18 18:16 VZ, revision 61962

Fix recurring typo in "theming". It was (consistently) misspelt as "themeing" in several places. Closes #11206.

2009-09-18 18:16 VZ, revision 61961

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.

2009-09-18 18:15 VZ, revision 61960

Define NDEBUG when building 3rd party libraries. We are not interested in asserts in 3rd party libraries so make them disappear by defining NDEBUG when building them. Closes #11155.

2009-09-18 16:04 VZ, revision 61959

Use wxASSERT() instead of assert() in wx code. This is more consistent and ensures that all asserts in wxWidgets are controlled by a single wxDEBUG_LEVEL setting instead of also relying on NDEBUG as standard assert() macro does. See #11155.

2009-09-18 16:03 VZ, revision 61958

Correct wxStreamBuffer::Seek() return value. It returned the offset instead of the new position when seeking forward from current position in a "flushable" buffer. Closes #11205.

2009-09-18 16:03 VZ, revision 61957

Another compilation fix for wxRibbon under OS X. Include Carbon/Carbon.h to get kThemeBrushToolbarBackground declaration. Closes #11203.

2009-09-18 11:01 JS, revision 61956

Fixes for Mac (use wxClientDC not wxMemoryDC for temporary DC)

2009-09-18 08:24 JJ, revision 61955

add wxUSE_RIBOON to setup for OpenVMS

2009-09-17 15:02 VZ, revision 61953

Compilation fix for ANSI build after r61898. wxWX2MBbuf is just char* if wxUSE_UNICODE==0 and so doesn't have a length() method, use wxString::length() in wxFile::Write() instead.

2009-09-17 10:18 JS, revision 61952

Added missing includes

2009-09-17 08:53 JJ, revision 61951

Inclusion of inline function has been changed

2009-09-17 02:17 VZ, revision 61950

More ribbon compilation fixes for OS X. Add more headers for wxColour and wxFont.

2009-09-17 01:19 VZ, revision 61949

Ribbon compilation fixes for OS X. Forward declare wxWindow and wxDC classes in wx/ribbon/art.h to avoid errors in (PCH-less?) buildbot builds. Also include header containing declarations of private Mac functions in implementation file (closes #11203).

2009-09-17 01:18 VZ, revision 61948

Add ribbon sample to the list of samples to build. Add the file to samples/samples.bkl and regenerate the makefiles and also add it manually to samples.dsw.

2009-09-17 01:18 VZ, revision 61947

Provide implementation for wxArrayString::resize(). This method was declared but not implemented in wxUSE_STL==0 build. Also add unit test for this function.

2009-09-16 15:07 VZ, revision 61946

Rebaked everything with bakefile 0.2.6 after wxRibbon merge. 0.2.5 versions of some makefiles were checked in, regenerate them using 0.2.6. Also regenerate configure after autoconf_inc.m4 was updated.

2009-09-16 14:38 VZ, revision 61945

Allow creating wxSingleInstanceChecker with default name. This makes it easier to use in common cases: there is no need to come up with a unique name for the checker any more as sufficiently unique combination of wxApp::GetAppName() and wxGetUserId() is used if no name was explicitly given. This is done by calling the new CreateDefault() on demand from IsAnotherRunning() instead of simply creating the checker with the default name in the default ctor for compatibility (you had to call Create() after using the default ctor before and it can only be called once) and because wxTheApp might not exist yet when wxSingleInstanceChecker is created. Closes #11166.

2009-09-16 14:06 PJC, revision 61944

Merged GSOC Ribbon work from SOC2009_RIBBON branch into trunk.

2009-09-16 13:37 VZ, revision 61943

Check for self-assignment in wxFileName::operator=(). This is a backport of r56794 from trunk but adds the check for self-assignment to the Assign() implementation which is in a .cpp file and so is compiled into the library and not operator=() itself which is inlined to avoid any problems with mixing different version of this inline function when updating to next 2.8 version without recompiling.

2009-09-15 19:05 VZ, revision 61939

Change wxBoxSizer::AddSpacer() to only add space in sizer direction. It used to add a spacer with the given size in both directions but this was counter-intuitive and wasn't expected even by the original author of this code so change it to behave more reasonably. Closes #11197.

2009-09-15 19:05 VZ, revision 61938

Correct wxPendingDelete declaration. This variable was moved to wxBase from wxCore recently and hence must be declared using WXDLLIMPEXP_DATA_BASE and not WXDLLIMPEXP_DATA_CORE now. Closes #11202.

2009-09-15 19:05 VZ, revision 61937

Really fix VC6 compilation after r61919. The change in r61922 which was supposed to do it somehow forgot the fix itself and added only a comment explaining why it was needed. Really do name the struct now.

2009-09-15 01:22 VZ, revision 61934

Add wxXmlResource::LoadObjectRecursively(). These methods can be used to load objects from anywhere in the XRC resource tree and not just from the top level.

2009-09-15 01:21 VZ, revision 61933

Add virtual dtor to header renderer classes to avoid g++ warnings. g++ warns about class with virtual functions having non-virtual dtor so make the dtor of wxGridCornerHeaderRenderer virtual even if it's not really needed.

2009-09-14 17:52 JS, revision 61931

wxRTC's own caret is more reliable than the generic one, so use it.

2009-09-14 17:52 JS, revision 61930

wxRTC's own caret is more reliable than the generic one, so use it.

2009-09-14 17:17 JMS, revision 61929

Added dummy wxPG_THEME_BORDER style for backwards compatibility

2009-09-14 16:53 JMS, revision 61928

Fixed use of map::erase() in ClearActionTriggers() (this bug was revealed by static code analysis - see ticket #11195)

2009-09-14 15:23 SC, revision 61927

added missing destructor

2009-09-14 15:07 SC, revision 61926

fixing and completing iPhone sound

2009-09-14 13:52 SC, revision 61925

enable backface culling which is not enabled by default on ES

2009-09-14 10:50 SC, revision 61924

remove debug logging

2009-09-14 10:38 SC, revision 61923

Launch Services are not available on iPhone

2009-09-14 10:37 VZ, revision 61922

Fix VC6 compilation after r61919. Work around VC6 bug which resulted in error C2639 when compiling the declaration of an unnamed struct inside wxGridCellAttrProvider.

2009-09-14 10:37 SC, revision 61921

adding glFrustum to compat API, supporting SetColour on OpenGL ES

2009-09-14 02:45 VZ, revision 61919

Added support for corner, row and column headers renderers to wxGrid. Make it possible to customize the appearance of wxGrid corner window and its row and column headers by defining custom renderers for them. Add demonstration of this new feature to the grid sample and update the documentation.

2009-09-14 02:45 VZ, revision 61918

Document wxGridCellAttrProvider. Added basic documentation for wxGridCellAttrProvider and wxGridCellAttr::wxAttrKind enum used by it.

2009-09-14 02:44 VZ, revision 61917

Remove unneeded pointer check. This was flagged as an error by static code analyse tools. Closes #11195.

2009-09-13 20:28 SC, revision 61916

adapting to new sound file organization for osx

2009-09-13 19:52 JMS, revision 61915

Minor code cleanup

2009-09-13 19:45 SC, revision 61914

adding types for OpenGL on iPhone

2009-09-13 19:41 SC, revision 61913

adapting to new sound files organization on osx

2009-09-13 19:34 SC, revision 61912

avoiding potential infinite recursion

2009-09-13 19:33 SC, revision 61911

supporting rotated display correctly for display size

2009-09-13 19:23 SC, revision 61910

enabling correct audio framework on OSX

2009-09-13 19:23 SC, revision 61909

sound implementation for AudioToolbox on 10.5 and iPhone

2009-09-13 19:22 SC, revision 61908

OpenGL for iPhone

2009-09-13 19:19 SC, revision 61907

OpenGL changes for carbon and cocoa

2009-09-13 19:17 SC, revision 61906

adding emulation API for OpenGL ES platforms

2009-09-13 17:48 SN, revision 61905

Be more paranoid about parent window possibly being NULL (partly fixes #11115).

2009-09-13 17:47 SN, revision 61904

Be more paranoid about parent window possibly being NULL (partly fixes #11195).

2009-09-13 14:26 VZ, revision 61903

Fix test compilation under OS X. wxFileOffset and ssize_t are not the same type under this platform so using CPPUNIT_ASSERT_EQUAL() with the arguments of these types fails. Use ssize_t instead of wxFileOffset to fix this.