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):
2014-08-23 02:36 VZ, revision 772902014-08-23 02:33 VZ, revision 77289fix memory leak (which also fixes crashes from events that were triggered after the message box is destroyed)
2014-08-23 02:33 VZ, revision 77288Fix DC device clipping region in wxQT Qt only uses logical coordinates for clipping methods, so this workaround removes temporarily the transformation (translation / scale) to match the physical device coordinates.
2014-08-23 02:33 VZ, revision 77287Instantiate correct DC class in Qt paint handler Uses wxPaintDC instead of wxWindowDC directly, as now it prepares the Qt painter
2014-08-23 02:33 VZ, revision 77286Fix cell editor positioning Qt seems to place slightly bigger control that will be drawn outside cell area, so then the remaining space will be not fully repainted when the editor is hidden.
2014-08-23 02:33 VZ, revision 77285Added some __WXQT__ guards in grid The size of the cell should not substract the grid line to be drawn correctly. Also, the highlight rect should not be reduced to cover all the cell like in wxGTK (if not, it left white pixel line surrounding it). The other guards (set background and layout direction) are for consistency with wxGTK. There are still some painting issues related to the clipping regions and cell editor positioning.
- M /wxWidgets/branches/wxQT/include/wx/qt/dc.h
- M /wxWidgets/branches/wxQT/src/qt/dc.cpp
- M /wxWidgets/branches/wxQT/src/qt/dcclient.cpp
2014-08-23 02:33 VZ, revision 77284Prepare the Qt painter for wxDC Note that the function QtPreparePainter was already there but unused.
2014-08-23 02:33 VZ, revision 77283Fix adding child window in scroll containers in wxQT This also fixes scrolling of children that weren't moved before (for example, see the erase sample). The solution is the same as in the wxFrame case (viewport instead of centralWidget).
2014-08-23 02:33 VZ, revision 77282Implement missing static bitmap get methods This fix a sising issue too (as GetBitmap() is used in GetBestSize), see controls and erase samples.
2014-08-23 02:33 VZ, revision 77281Fix incorrect wording in erase sample
2014-08-23 02:33 VZ, revision 77280Fix background style regression (again) Qt should not clear the background in advance even in wxBG_STYLE_ERASE
2014-08-23 02:33 VZ, revision 77279Use wxGTK default row height in wxQT
- M /wxWidgets/branches/wxQT/include/wx/qt/region.h
- M /wxWidgets/branches/wxQT/src/qt/region.cpp
- M /wxWidgets/branches/wxQT/src/qt/window.cpp
2014-08-23 02:33 VZ, revision 77278Use the Qt paint event region instead bounding rect
2014-08-23 02:33 VZ, revision 77277Removed now duplicate set background style
2014-08-23 02:33 VZ, revision 77276Fix draw bitmap to honour transparent background
2014-08-23 02:33 VZ, revision 77275Fix transparency style sheet setting in wxQT
2014-08-23 02:33 VZ, revision 77274Only set transparency in inner scroll area viewport
2014-08-23 02:33 VZ, revision 77273Fix SIGSEGV setting background style after creation in wxQT
2014-08-23 02:33 VZ, revision 77272Don't draw and reset wxClientDC if empty in wxQT This fixes an issue when wxClientDC is used just for metrics calculations (for example, in wxTreeCtrl::Expand), so there is nothing to draw but if the QPicture is not reset, wxWindow::QtHandlePaintEvent get confused and don't use a wxPaintDC for an event generated by Refresh (thinking wxClientDC is valid and asking a repaint, but it will not replay anything).
2014-08-23 02:33 VZ, revision 77271Add a debug message if qt painter is aborted
2014-08-23 02:33 VZ, revision 77270Fix erasing background regression in wxQT Default paint handler has to clear the background is style is Qt::WA_OpaquePaintEvent (needed for wxBG_STYLE_ERASE so wxClientDC works outside the paint event). The background will remain black (unpainted) or inconsistent if not cleared in this case.
2014-08-23 02:33 VZ, revision 77269Add some paint debugging messages (in wxGrid)
2014-08-23 02:33 VZ, revision 77268Use wxLogDebug for paint debugging messages Removed wxLogTrace and guards.
2014-08-23 02:32 VZ, revision 77267Only disable auto-erasing for generic panels
2014-08-23 02:32 VZ, revision 77266Add basic logging facilities to debug wxQT paint issues
2014-08-23 02:32 VZ, revision 77265Prevent Qt to auto-erase the background on paint events This is need by wxClientDC to be able to draw outside the paint event. Now this is set by default now for all the widgets but can be changed by SetBackgroundStyle (so it will need to be revised that background erasing is working properly).
2014-08-23 02:32 VZ, revision 77264Divide wxClientDC & wxPaintDC logic in paint event handler wxClientDC should not erase the background nor generate a wxPaintEvent, it only replay the QPicture painted outside the event handler. This way was originally designed but it was not working in prior versions due lacking update region & background support.
2014-08-23 02:32 VZ, revision 77263Don't initialize the Qt Picture size This avoids setting an excesive update region that was clearing the whole widget in the paint event handler. Now, wxClientDC will only paint the effective drawn rect.
2014-08-23 02:32 VZ, revision 77262Repaint only the rect affected and handle scroll area
2014-08-23 02:32 VZ, revision 77261Make QtGetScrollBarsContainer public for wxClientDC
2014-08-23 02:32 VZ, revision 77260Remove compilation warnings in wxWindow (wxQT)
2014-08-23 02:32 VZ, revision 77259Create Qt widget painter just once in ctor outside paint event
2014-08-23 02:32 VZ, revision 77258Fix update / refresh in wxQT scroll bar containers Note that Qt don't propagate the paint event if sent to the entire area (only the viewport "virtual space" can draw anyway).
- M /wxWidgets/branches/wxQT/include/wx/qt/listbox.h
- M /wxWidgets/branches/wxQT/include/wx/qt/textctrl.h
- M /wxWidgets/branches/wxQT/src/qt/listbox.cpp
- M /wxWidgets/branches/wxQT/src/qt/textctrl.cpp
2014-08-23 02:32 VZ, revision 77257Remove last wxQT paint warnings Implemented get scroll bar container method to missing controls (that also derive from QScrollArea) as in them the painter should be created only in the viewport (logic already coded in wxWindow paint event and for wxPanel), else the following warning is emmited: {{{ QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 }}}
2014-08-23 02:32 VZ, revision 77256Add missing popup method in wxQT combo box
2014-08-23 02:32 VZ, revision 77255Always use native double buffer on wxQT (Qt's painter is double buffered)
2014-08-23 02:32 VZ, revision 77254Send Id in wxQT paint event
2014-08-23 02:32 VZ, revision 77253Fix erase event (cleared DC) in wxQT
2014-08-23 02:32 VZ, revision 77252Implement leading font metric in wxQT
2014-08-23 02:32 VZ, revision 77251Guard missing wxUSE_ACCEL in wxWindow wxQT
2014-08-23 02:32 VZ, revision 77250Fix default system font on wxQT
2014-08-23 02:32 VZ, revision 77249Fix region iteration in wxQT This was preventing iterating in any region (as most has only one rect), hence the grid painting was not working propertly.
2014-08-23 02:32 VZ, revision 77248Don't force a repaint if nothing to replay (wxClientDC wxQT)
2014-08-23 02:32 VZ, revision 77247Avoid painting recursion for wxClientDC in wxQT Firing a repaint inside a paint ever could be recursive, update() should be used in that case but it is not immediate. Also, note that now the wxClientDC would work even if it is used inside the paint event, and could be used to simplificate the logic.
2014-08-23 02:31 VZ, revision 77246Fix paint of wxClientDC in wxQT Moved the painter replay inside the paint event, so the erase and paint wx event are processed (wxPaintDC) before actions drawn outside the event handler (wxClientDC). After this, background was not prepared correctly and the drawing could become inconsistent (specially if the wxClientDC was just used for measures, ie: no drawings)
2014-08-23 02:31 VZ, revision 77245Handle central widget paint events in wxQT Add wxQtCentralWidget helper and fix minor logic in paint event to detect the scrollable area
2014-08-23 02:31 VZ, revision 77244Fix invalid destruction of painter in wxQT The DC is not really associated to the window, so the m_qtPainter is owned by this class and should be deleted in base dtor
- M /wxWidgets/branches/wxQT/include/wx/qt/dc.h
- M /wxWidgets/branches/wxQT/include/wx/qt/dcclient.h
- M /wxWidgets/branches/wxQT/include/wx/qt/window.h
- M /wxWidgets/branches/wxQT/src/qt/dc.cpp
- M /wxWidgets/branches/wxQT/src/qt/dcclient.cpp
- M /wxWidgets/branches/wxQT/src/qt/dcmemory.cpp
- M /wxWidgets/branches/wxQT/src/qt/window.cpp
2014-08-23 02:31 VZ, revision 77243Paint directly wxWindowDC without buffer in wxQT This solution avoid flicker and is more optimal as the intermediate buffer is not need: * use QPainter* instead of QImage* in wxWindow paint event (no more m_qtPaintBuffer) * change m_qtPainter to pointer in wxQtDCImpl (created on subclasses) * rename QtPreparePainter internal method (not used right now) * initial erase left to Qt (auto fill background) Still more tweaks are needed to avoid problems on begin() and test background erasing
2014-08-23 02:31 VZ, revision 77242Implement style background & transparency in wxQT
2014-08-23 02:31 VZ, revision 77241Fix wxQT painting to honor background style Note that although this works better, the internal m_qtPaintBuffer still causes some issues and is inefficient (not needed as Qt already do a double buffering for widget painting) Also, QWidget::setBackgroundRole et.al. should be enforced too (and tested), to properly handle transparent and system backgrounds
Add wxNORMAL_FONT in native system setting