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):

2014-08-23 02:31 VZ, revision 77240

Implement native system settings GetColour in wxQT This was causing incorrect background in paint events and other drawing issues.

2014-08-23 02:31 VZ, revision 77239

Fix scroll window method in wxQT

2014-08-23 02:31 VZ, revision 77238

Set update region for wxQT paint events

2014-08-23 02:31 VZ, revision 77237

Remove superflous QtPaintClientDCPicture This is already handled inside QtHandlePaintEvent, so it duplicated some logic and could draw the picture twice (if not introducing conflicts with QPaint). Need to investigate the cases where this should be really done after the qt paint (maybe it could be related to wxEraseEvent)

2014-08-23 02:31 VZ, revision 77236

Fix paint issues on scrolled controls in wxQT Warning reported by qt was related to trying to draw in an invalid painter: QPainter.begin(...) returned False, with the output: QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 This can be tested quickly with the scroll sample (nothing is drawn the QScrollArea->viewport() is used. TLW also has a QScrollArea as central widget, so this should be solved there too.

2014-08-23 02:31 VZ, revision 77235

Fix scroll bar creation only for panels Other controls like wxListBox already include scroll bars (using wxHSCROLL / wxVSCROLL), and should not create / set new ones for them

2014-08-23 02:31 VZ, revision 77234

Fix scrollable control creation in wxQT Moved scroll bar creation from SetScrollbar to QtSetScrollBar so it can be called from Create

2014-08-23 02:31 VZ, revision 77233

Fix scroll bar window/frame in wxQT Now it is simplified using QScrollArea, so custom scroll layout was removed (that was commented and didn't work)

2014-08-23 02:31 VZ, revision 77232

Fix wxFrame dtor in wxQT (removed) This could cause the incorrect deletion order of qt children and delete is not safe, either explicit or implicit using wxQtPointer -that also was removed-. The wxWindow destructor should execute the deleteLater() that is safer in qt (see prior commits).

2014-08-23 02:31 VZ, revision 77231

Use Qt's safer deleteLater() in dtor Note that the comment was wrong (my mystake), destroy() is protected (and should not be used), deleteLater() is a slot and is the recommended way as it is defferred. Also, it could be called multiple times as Qt manages this in the event queue

2014-08-23 02:31 VZ, revision 77230

Remove superflous wxQtPointer helper (and header) Note that this added a new level of ref counting and the automatic deletion was causing premature destuction of Qt control's children. Direct destruction of the QObject is even discouraged and can cause chash according Qt docs, so deleteLater() is safer. For more info see QObject::~QObject comments (Qt source)

2014-08-23 02:30 VZ, revision 77229

Fix client data (missing dtor) memory leak in wxQT

2014-08-23 02:30 VZ, revision 77228
  • D /wxWidgets/branches/wxQT/include/wx/qt/panel.h
  • D /wxWidgets/branches/wxQT/src/qt/panel.cpp

Remove unused wxQT panel header and implementation

2014-08-23 02:30 VZ, revision 77227

Add dtor for wxBitmapRefData to fix memory leak in wxQT

2014-08-23 02:30 VZ, revision 77226

Fix m_rasterColourOp uninitialized value The problem is reported by valgrind in ApplyRasterColourOp. Setting it to wxQtNONE avoids the report but doesn't fix some drawing issues (don't know if it is related), so more investigation is needed about the initial value to get a correct behavior (if it should be used at all without calling first SetLogicalFunction)

2014-08-23 02:30 VZ, revision 77225

Fix memory leak in wxWindow::Init() for wxQT

2014-08-23 02:30 VZ, revision 77224

wxWindow::Init() function instead of a macro in wxQT This is needed to track down memmory issues (if not, valgrind just report the line of the macro as it is not expanded)

2014-08-23 02:30 VZ, revision 77223

Merge master trunk in SOC2014 wxQT branch Note: I did some manual edition (again) as the automatic merge incorrectly was adding __WXCOCOA__ and removing __WXQT__ ...

2014-08-23 02:30 VZ, revision 77222

Remove duplicate wxFrame dtor in wxQT This was removed in other ports and moved to wxFrameBase, see: http://trac.wxwidgets.org/changeset/76804

2014-08-23 02:30 VZ, revision 77221

Merge GSOC 2014 wxQT branch with master trunk

2014-08-23 02:27 VZ, revision 77220

Add missing wxFont ctor using wxFontInfo in wxQT (this is needed to build the tests)

2014-08-23 02:27 VZ, revision 77219

Remove private include (helper) from wxQT headers

2014-08-23 02:26 VZ, revision 77218

Refactor menu item (wxQtAction) to make it a thin helper

2014-08-23 02:26 VZ, revision 77217

Move helper template to private and rename last _qt.h --HG-- rename : include/wx/qt/pointer_qt.h => include/wx/qt/pointer.h rename : include/wx/qt/winevent_qt.h => include/wx/qt/private/winevent.h

2014-08-23 02:26 VZ, revision 77216

Make wxQtWidget helper internal (remove header)

2014-08-23 02:26 VZ, revision 77215

Make wxQT helpers internals in dialgo, frame, msgdlg, scrolbar and statusbar

2014-08-23 02:26 VZ, revision 77214

Make spin control helper internal / private in wxQT * Move helper (wxQtSpinBoxBase et al) declaration to c++ sources * Use QSpinBox / QDoubleSpinBox for header declarations (instead of the helper) * Refactor Create to instantiate the helper in the derived classes of wxSpinCtrlBase * Use a dynamic_cast in SetValue(wxString&) to safely access the derived class helper * Make SetValue (overloaded) virtual and reimplement both to avoid hiding * Change the controls sample to test SetValue(wxString&) Note that the dynamic_cast is needed now to access QSpinBox::valueFromText that is protected and is redeclared in the helper as public (all the other heplers didn't have this requeriment so far).

2014-08-23 02:26 VZ, revision 77213

Fix qt to wx date conversion function

2014-08-23 02:26 VZ, revision 77212

Make calendar control helper internal / private * Declaration of wxQtCalendarWidget moved from header to c++ source file * Renamed method to match signal names

2014-08-23 02:26 VZ, revision 77211

Fix SIGSEGV handling paint event in wxQT The logic was checking for m_qtPicture but used m_qtPaintBuffer (that is used bellow in a alternate block) Although the segmentation fail is fixed, this should be revised as it seems to be an explicit QtPaintClientDCPicture with this logic

2014-08-23 02:26 VZ, revision 77210

Fix unused variable due combobox z-order in contols sample wxQT

2014-08-23 02:26 VZ, revision 77209

Clean up controls sample * Removed invalid combo insert test that causes an error in wxGTK * Removed unused variable (compiler warning)

2014-08-23 02:26 VZ, revision 77208

Add wxGA_TEXT to wxGauge interface

2014-08-23 02:26 VZ, revision 77207

Test methods of wxCheckListBox in controls sample * Add a toggle check button that call wxCheckListBox::Check * Show (in the log) the wxCheckListBox::IsCheck status when a item is selected

2014-08-23 02:26 VZ, revision 77206

Implement IsChecked / Check for wxCheckListBox in wxQT

2014-08-23 02:26 VZ, revision 77205

Use wxCheckListBox in controls sample Replaced wxListBox with wxCheckListBox to test this derived class. The behavior will be similar as in most platforms it is just based on wxListBox

2014-08-23 02:25 VZ, revision 77204

Implement wxCheckListBox based on wxListBox (wxQT) Solution taken from wxGTK (but overriden Init private method to set m_hasCheckBoxes)

2014-08-23 02:25 VZ, revision 77203

Add test text event methods to controls sample

2014-08-23 02:25 VZ, revision 77202

Move setting initial text before CreateControl Note that CreateBase (in QtCreateControl) was not being called before setting the initial text value (ChangeValue), hence basic methods like HasFlag or IsMultiline weren't working at that point (and this caused a SIGSEGV in wxTextCtrl as it relies on flags to distinguish between m_qtLineEdit and m_qtTextEdit) In wxGTK CreateBase is called explicitly before creating the gtk control (for example, in wxTextCtrl::Create)

2014-08-23 02:25 VZ, revision 77201

Add wxQtTextEdit helper for multiline text control Note that only wxEVT_TEXT is implemented by now as qt lacks returnPressed signal in QTextEdit. Also, the signal textChanged has no parameter for QTextEdit, so text entries are not uniform in Qt regarding events notifications too. This also raised a SIGSEGV, issue with GetValue() called inside the event when setting the initial text (that was changed as it don't have to be sent according the docs), so please see the next commit

2014-08-23 02:25 VZ, revision 77200

Add wxQtTextEdit helper for multiline text control Note that only wxEVT_TEXT is implemented by now as qt lacks returnPressed signal in QTextEdit. Also, the signal textChanged has no parameter for QTextEdit, so text entries are not uniform in Qt regarding events notifications too. This also raised an issue with GetValue() called inside the event when setting the initial text (that don't have to be sent according the docs), so see the next commit

2014-08-23 02:25 VZ, revision 77199

Implement proper set value method for wxTextCtrl * Send events depending on flags (blocking qt signals) * Replace all the text without sending two events (removal and insert like wxGTK) Note that this add stub methods in wxTextEntry just for consistency. This should be revisited evaluating if wxTextEntry implementations is required at all (seems qt has different text entry controls methods so there could be nothing in common)

2014-08-23 02:25 VZ, revision 77198

Add wxQtLineEdit helper for single line TextCtrl Events similar to wxGTK (wxEVT_TEXT and wxEVT_TEXT_ENTER, checking wxTE_PROCESS_ENTER style flag)

2014-08-23 02:25 VZ, revision 77197

Honor slider tick position style flags in wxQT

2014-08-23 02:25 VZ, revision 77196

Add wxGA_TEXT style for text percent in wxQT gauge

2014-08-23 02:25 VZ, revision 77195

Hide text in wxQT progress bar for consistency (percentage completed, not shown by other ports) and fix minor coding styling issue

2014-08-23 02:25 VZ, revision 77194

Add safety check in wxQT list box item access (to avoid segmentation fault if null item is returned by qt)

2014-08-23 02:25 VZ, revision 77193

Use the new, short event type (wxEVT_CHECKBOX,) instead of the old verbose name (wxEVT_COMMAND_CHECKBOX_CLICKED)

2014-08-23 02:25 VZ, revision 77192

Refactor wxComboBox to be derived from wxChoice and wxTextEntry in wxQT (similar to wxGTK and wxMSW). Now it reuses a lot of code (as both are based on QComboBox), but it has to reimplement some wxTextEntry methods as they differ between qt text controls. Also now uses wxControlWithItemsBase::SendSelectionChangedEvent

2014-08-23 02:25 VZ, revision 77191

Fix slider event in wxQT, now using valueChanged signal as tracking is enabled by default. Note that using sliderMoved only works for mouse events (not for keyboard ones), and don't catch the final value when released (slider didn't reach 100%). Also, removed a comment copy-pasted by mistake.

2014-08-23 02:25 VZ, revision 77190

Implement slider tick frequency and marks in wxQT

2014-08-23 02:25 VZ, revision 77189

Force font selection on controls sample (to check font family works ok and to avoid default font -that can be different in wxQT than in wxGTK-)

2014-08-23 02:25 VZ, revision 77188

Fix notebook tab change events and insertion (move selection logic from qt helper to wx class, and block firing qt signals to avoid initialization problems and to better simulate signal vetoing -to not show the page in advance-). Solution for selection logic taken from wxGTK (now using base clases). Note also that most methods of QTabWidget cannot be overriden (IMHO enforcing the thin qt helpers approach).

2014-08-23 02:25 VZ, revision 77187

Move wxQT notebook helper from header to source (make it internal)

2014-08-23 02:24 VZ, revision 77186

Remove wxQT button helper from header and split signal handlers (using parameter, removing m_eventType and renaming the method following qt signal name). Note: cannot be unified as wxEVT_TOGGLEBUTTON is only defined in tglbtn, so a new inherited QtCreate method to instantiate the wxQtPushButton or wxQtToggleButton was introduced.

2014-08-23 02:24 VZ, revision 77185

Fix to ensure font family is enforced under wxQT (discarding facename if set, forcing qt to choose a proper font)

2014-08-23 02:24 VZ, revision 77184

Add wxFont::SetFaceName for wxQT to actually force the qt "font matching algoritm" to select a proper font (if not, wxFont::SetFamily has no effect). Also note that calling wxFontBase::SetFaceName causes a segmentation fault, probably caused by the UnRef() due wxFontEnumerator::IsValidFacename returns false (EnumerateFacenames is currently not implemented)

2014-08-23 02:24 VZ, revision 77183

Fix to draw ellipse with 'no fill' if pen is not transparent in wxQT (in fact, filled with text background color like in wxGTK)

2014-08-23 02:24 VZ, revision 77182

Fix wxMemoryDC object de-selection (using wxNullBitmap), storing the selected bitmap and implementing GetSelectedBitmap in wxQT

2014-08-23 02:24 VZ, revision 77181

Implement spin control event in wxQT (connecting the value changed signal, similar to wxGTK)

2014-08-23 02:24 VZ, revision 77180

Derive wxQtSpinBox polymorphy helpers from wxQtEventSignalHandler to proccess QSpinBox events. Note that wxQtSpinCtrlBase is not a helper derived from Qt (it is in fact the wxQT implementation derived from wxSpinCtrlBase)

2014-08-23 02:24 VZ, revision 77179

Implement wxTextCtr SetSelection and GetValue methods (needed by SetValue) in wxQt

2014-08-23 02:24 VZ, revision 77178

Rename internal helper wxQtSpinBox to wxQtSpinButton in order to avoid collision (and segmentation fault) with wxSpinCtrl

2014-08-23 02:24 VZ, revision 77177

Implement spin button event (wxQtSpinBox internal helper)

2014-08-23 02:24 VZ, revision 77176

Add text event and allow edition in wxQtComboBox

2014-08-23 02:24 VZ, revision 77175

Implement basic slider methods (set/get range and value) in wxQT

2014-08-23 02:24 VZ, revision 77174

Implement wxSlider event handling (including internal wxQtSlider helper)

2014-08-23 02:24 VZ, revision 77173

Implement basic gauge methods (set/get range and value)

2014-08-23 02:24 VZ, revision 77172

Add wxQtProgressBar stub internal helper for gauge (just for generic events, no signal needed now)

2014-08-23 02:24 VZ, revision 77171

Add wxQtButtonGroup internal intermediate helper to connect wxQtRadioBox (QGroupBox) button signal. Note this one is not a 'visual' control so it doesn't derives from QWidget, then using wxQtSignalHandler instead of wxQtEventSignalHandler

2014-08-23 02:24 VZ, revision 77170

Implement wxQtGroupBox and wxQtRadioBox internal helpers (just to handle qt events as no signal connected by now)

2014-08-23 02:24 VZ, revision 77169

Remove shared groupbox_qt header for wxQtGroupBox stub (real wxQT internal hepers will be implemented for wxStaticBox and wxRadioGroup)

2014-08-23 02:23 VZ, revision 77168

Implement combobox event (fixing wxQtComboBox helper signal handler), it should use SendSelectionChangedEvent but wxControlWithItemsBase collides with wxComboBoxBase, and it cannot derive from wxChoice as in wxGTK as in wxQT wxTextEntry is not completely implemented. So, the current implementation is not optimal (it has some minor code duplication) but it works ok

2014-08-23 02:23 VZ, revision 77167

Remove combobox_qt header as it is no longer used (helper implementations are now internal to wxChoice and wxComboBox)

2014-08-23 02:23 VZ, revision 77166

Implement combobox basic methods (adding internal wxQtComboBox helper), very similar to wxChoice implementation to wxQT. Note that the old wxQtComboBox superseded and no more shared with wxChoice

2014-08-23 02:23 VZ, revision 77165

Implement choice basic methods for wxQT (this was simpler than wxListBox as no intermediate item class like QListWidgetItem is used)

2014-08-23 02:23 VZ, revision 77164

Implement choice event (adding internal wxQtChoice helper), note the explicit cast needed as the qt signal is overloaded

2014-08-23 02:23 VZ, revision 77163

Implement DoInsertItems in wxQT list box (additional DoInsertOneItem is needed by wxItemContainer::DoInsertItemsInLoop)

2014-08-23 02:23 VZ, revision 77162

Implement client data in wxQT list box inside QListWidgetItem.data user role (using QVariant to store the pointer, similar to wxWindow::QtStoreWindowPointer but not using Q_DECLARE_METATYPE)

2014-08-23 02:23 VZ, revision 77161

Implement list box clear and item deletion methods in wxQT

2014-08-23 02:23 VZ, revision 77160

Implement list box basic selection method in wxQT

2014-08-23 02:23 VZ, revision 77159

Implement list box string methods in wxQT (used in SendEvent)

2014-08-23 02:23 VZ, revision 77158

Implement list box events (adding internal wxQtListBox helper), note the additional wxListBox::QtSendEvent method as wxListBoxBase:SendEvent is protected (taken from wxGTK solution)

2014-08-23 02:23 VZ, revision 77157

Implement check box event (adding wxQtCheckBox helper)

2014-08-23 02:23 VZ, revision 77156

Implement window enable/disable in wxQT

2014-08-23 02:23 VZ, revision 77155

Refactor wxQT button implementation adding wxAnyButton to avoid code duplication with toggle buttons and simplify wxQPushButton helper (only signal and event handling left on the derived Qt class) --HG-- rename : include/wx/gtk/anybutton.h => include/wx/qt/anybutton.h rename : src/qt/button.cpp => src/qt/anybutton.cpp

2014-08-23 02:23 VZ, revision 77154

Send toggle button checked state in wxQtPushButton event

2014-08-23 02:23 VZ, revision 77153

Send different event types from wxQtPushButton (to support toggle buttons that are the same class in qt)

2014-08-23 02:23 VZ, revision 77152

Add wxStaticText:SetLabel implmentation to wxQT

2014-08-23 02:23 VZ, revision 77151

Ensure the cursor is visible after writing in wxQT multiline wxTextCtrl

2014-08-23 02:23 VZ, revision 77150

Ensure the cursor is visible after setting insertion point in wxQT multiline wxTextCtrl

2014-08-23 02:22 VZ, revision 77149

Revert fake change that shoul't had been commited

2014-08-23 02:22 VZ, revision 77148

Implement cursor position (insertion point) in wxTextCtrl for wxQT (methods are different for QLineEdit and QTextEdit and even QComboBox, so it is not implemented in wxTextEntry)

2014-08-23 02:22 VZ, revision 77147

Implement wxTextCtrl::WriteText in wxQT (used by wxLogTextCtrl)

2014-08-23 02:22 VZ, revision 77146

Fix toggle button ctor in wxQT to create and size the qt control correctly

2014-08-23 02:22 VZ, revision 77145

Move bitmap setting to wxButton::DoSetBitmap so it can be reused from other methods and deriver classes (wxQT, skeleton taken from wxGTK wxAnyButton)

2014-08-23 02:22 VZ, revision 77144

Display bitmap in wxBitmapButton wxQT

2014-08-23 02:22 VZ, revision 77143

Add minimal support for single line text control for wxQT (using QLineEdit vs QTextEdit)

2014-08-23 02:22 VZ, revision 77142

Enable wrapping in static text in wxQT (solution similar to wxGTK)

2014-08-23 02:22 VZ, revision 77141

Fix adding initial items in wxQT wxListBox (taken from wxQtComboBox::AddChoices)