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

2011-07-25 00:19 VZ, revision 68363

Add wxNavigationEnabled<> helper for implementing TAB navigation. Provide a clean, public and documented way to implement proper TAB navigation for subwindows of a composite control: instead of using various ugly and never documented WX_XXX_CONTROL_CONTAINER macros it is now enough to simply inherit from wxNavigationEnabled<BaseClass> to do it. No real changes in the code as the new class is not used anywhere yet.

2011-07-24 22:52 JC, revision 68360
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/bitmap.cpp

Removed surplus backup files

2011-07-24 22:51 JC, revision 68359
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/pen.cpp.old

Removed surplus backup files

2011-07-24 22:50 JC, revision 68358
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/brush.cpp.old
  • D /wxWidgets/branches/SOC2011_GTK3/src/gtk3/colour.cpp.old

Removed surplus backup files

2011-07-24 22:39 JC, revision 68357

Fixed bugs in colour.cpp and cursor.cpp

2011-07-24 12:50 VZ, revision 68351

Ignore WM_CLOSE generated by wxMSW edit control when Escape is pressed. Multiline edit control posts WM_CLOSE to its parent window when Escape key is pressed inside it for some reason. This is unwanted as it totally bypasses our logic for only closing the dialog when Escape is pressed if there is a Cancel-like button in it, so suppress this behaviour by not letting the edit control to get Escape at all. Closes #12501.

2011-07-23 21:36 VZ, revision 68345

Mention that pages can't be added to wxBookCtrl more than once. Apparently some people expect this to work although it's really not meant to. See #13209.

2011-07-23 21:36 VZ, revision 68344

Don't try to pop from an empty stack in wxGDIPlusContext::PopState(). Using PopState() without a previous PushState() is an error but it shouldn't result in a crash, so add an assert guarding against it. Closes #13197.

2011-07-23 14:01 VZ, revision 68339

Remove mentions of wxCommandEvent from wxThreadEvent documentation. wxThreadEvent doesn't derive from wxCommandEvent any more so don't say that it does. Also fix some grammar/wording. Closes #13359.

2011-07-23 13:59 VZ, revision 68338

Don't create an unnecessary extra button in wxMSW wxProgressDialog. MSWCommonTaskDialogInit() now (probably since r67620) always creates a IDCANCEL button so don't create another one in wxProgressDialog code, just ensure that the one created by that function has the correct label (either "Cancel" or "Close"). Closes #13358.

2011-07-22 18:53 VZ, revision 68337

Set wxDidCreatePaintDC to true even if we reused a cached wxPaintDC. Reusing a cached wxPaintDC should count as painting the window, otherwise we could call DefWindowProc(WM_PAINT) if WM_PAINT was generated from inside EVT_PAINT handler (e.g. by calling wxWindow::Update()) and this validated the entire window and no painting was really done. In particular this fixes redrawing of wxStyledTextCtrl which does call Update() (completely unnecessarily AFAICS) from its EVT_PAINT handler when it wants to fully refresh itself. Closes #13345.

2011-07-22 18:32 VZ, revision 68336

Increased the version to 2.9.3. Simply ran misc/scripts/inc_release and changed build/bakefiles/version.bkl and rebaked everything afterwards.

2011-07-22 18:31 VZ, revision 68335

Update the files changed by the version number increment script. src/wxWindows.xcodeproj doesn't exist any more so remove it but add build/tools/bld_chm_exe.bat and samples/minimal/Info*.plist files.

2011-07-22 18:16 VZ, revision 68334

Added customizable wxDocManager::OnMRUFileNotExist() virtual method. This method can be overridden to customize the previously hard-coded handling of the case when a file selected from the MRU menu doesn't exist any more: we used to always remove it from the file history completely. This may, however, be inappropriate and, in fact, probably never, or very rarely, is the right thing to do when the file that we failed to open still exists. So never remove the file from the MRU if we failed to open an existing file (also don't give an error about it as it should have been already given by CreateDocument()) and, while we still do it for the non-existent files, allow to override this behaviour by overriding the new OnMRUFileNotExist() method.

2011-07-22 18:16 VZ, revision 68333

Several corrections to wxDocManager fields documentation. Remove non-existent wxDocManager::m_flags. Added correct m_lastDirectory declaration to go with its documentation instead of the duplicated m_fileHistory documentation. Better document the default m_maxDocsOpen value. Put all the documented fields in protected section as they're really protected and not public.

2011-07-22 18:16 VZ, revision 68332

Save and restore file history in docview sample. Show how the file history can be saved to and restored from wxConfig. This makes it much easier to test file history related stuff as the history doesn't need to be recreated during every sample run. It is also closer to what real applications using docview framework do as the file history is relatively useless if it's not saved.

2011-07-22 18:16 VZ, revision 68331

Allow passing the error value to wxStreamBase::Reset(). It can be useful to induce an error on the stream explicitly, e.g. because an incorrect value was read from it and we want to indicate it to the caller by setting stream error to wxSTREAM_READ_ERROR. Allow to do this by passing an optional error value to wxStreamBase::Reset(). Add an example of using the new functionality to the docview sample which needs it to be able to signal errors while reading the files. Also document this method that previously wasn't documented at all.

2011-07-22 15:08 JS, revision 68330

Fixed Replace() to use the passed range instead of current selection

2011-07-22 15:07 JS, revision 68329

Fixed Replace() to use the passed range instead of current selection

2011-07-22 14:49 VZ, revision 68328

Don't pass spin text control messages processed at wx level to Windows. Windows messages handled at wx level shouldn't be processed again at Windows level but we always passed the events forwarded by spin control "buddy" text window to its default window proc as we had no way to determine whether they were really handled or not. Now we do have a way to do, by using the newly added MSWHandleMessage(), so only pass the messages to default window proc if they hadn't been handled already. This notably suppresses the annoying beep which happened if Enter key was pressed in a wxSpinCtrl with wxTE_PROCESS_ENTER style (as used by the corresponding wxDataViewCtrl renderer, for example). It probably corrects some other bugs/discrepancies with the other ports in event handling in wxSpinCtrl too.

2011-07-22 14:49 VZ, revision 68327

Refactor wxWindow::MSWHandleMessage() out from MSWWindowProc(). This commit just refactors the code without changing anything in its behaviour and will be followed by the real changes in the next one. The new function just handles the message, without calling MSWDefWindowProc() if it wasn't handled. This allows to call it and determine whether the message was really handled and only continue processing it if it wasn't. Notice that while in theory this shouldn't be necessary because the return value of MSWWindowProc() should indicate whether the message was handled or not (0 meaning that it was, for most messages), in practice it doesn't work because many standard controls window procs return 0 even for message they do nothing with, e.g. "up down" control always returns 0 for WM_CHAR messages even it it only really handles the arrow keys.

2011-07-22 14:31 SJL, revision 68326

Implement basic support for virtual file systems for the ie backend. Registering a temporary namespace allows us to use the existing wxFileSystem work to load virtual files.

2011-07-22 11:34 SJL, revision 68325

Replace define for OLECMDID_OPTICAL_ZOOM with an enum to avoid errors in compilers that define it as such.

2011-07-21 15:50 VZ, revision 68324

Fix double deletion bug in wxGTK wxDVC dnd code. The row_draggable callback could blithely delete m_dragDataObject twice as it didn't reset it to NULL after deleting it the first time. Then, if the object wasn't changed in the meanwhile, e.g. because dragging was not allowed for this item, it tried to do it again when called the next time resulting in a crash. Closes #12538.

2011-07-21 15:50 VZ, revision 68323

Fix the alignment used by custom wxDVC renderers in wxGTK by default. Correctly initialize the alignment used by the text renderer used by wxDataViewCustomRenderer in wxGTK implementation of wxDataViewCtrl. Closes #12298.

2011-07-21 15:50 VZ, revision 68322

Send wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED for generic version too. Send this event when the column used for sorting changed in the generic implementation of wxDataViewCtrl too. Closes #13005.

2011-07-21 15:50 VZ, revision 68321

Fix drawing of expander columns not at 0 position in generic wxDVC. The drawing code in the generic version of wxDataViewCtrl incorrectly supposed that the expander column was always at position 0. This resulted in the expander column not being drawn at all if it was not really the first one. Fix the test to use wxDataViewCtrl::GetExpanderColumn() to correct this. Closes #12870.

2011-07-21 15:50 VZ, revision 68320

Correct test for maximal row index in generic wxDataViewCtrl. The comparison in EVT_CHAR handler was incorrect for an empty control without any rows as it subtracting 1 from 0 resulted in UINT_MAX and not -1 as all the values were unsigned. Fix this by checking that the new row is valid instead, this is correct for both signed and unsigned values. Closes #13356.

2011-07-21 15:50 VZ, revision 68319

Never restore focus to hidden child. Don't set focus to a hidden window in our focus management code, this never makes sense and results in apparent focus loss. It also fixes, as a side effect, a crash in wxGrid under wxMSW as the focus is not restored to the hidden grid editor any longer and so the code in its wxEVT_KILL_FOCUS handler that resulted in the crash is not executed any longer, see #13349.

2011-07-21 15:50 VZ, revision 68318

Allow marking wxTreeBook nodes to expand initially in XRC. Add new "expanded" attribute for XRC nodes of treebookpage class. Also update the sample and the XRC format documentation. Closes #13355.

2011-07-21 15:49 VZ, revision 68317

Make wxEnhMetaFileDC ctor from wxDC explicit. This avoids implicit conversion of any kind of wxDC to wxEnhMetaFileDC which is totally unexpected. See #13326.

2011-07-21 15:49 VZ, revision 68316

Fix parsing of negated long options in wxCmdLineParser. Negated long options were not recognized in wxCmdLineParser::Parse(), do check for them now. Also extend the unit test to check for negated options. Closes #13335.

2011-07-21 15:49 VZ, revision 68315

Reset negatable switches correctly in wxCmdLineParser::Reset(). The "negated" flag of wxCmdLineOption struct was not reset by Reset() so parsing a command line with a negatable option once influenced the result of parsing it the next time because the old value was kept. Do clear it now to allow calling Parse() several times without side effects.

2011-07-20 18:23 JS, revision 68314

No longer ignores first-line indent if no left indent specified

2011-07-20 18:23 JS, revision 68313

No longer ignores first-line indent if no left indent specified

2011-07-20 18:21 JS, revision 68312

Forgotten commit

2011-07-20 13:41 VZ, revision 68311

Don't use template member function in drawing sample to placate VC6. VC6 can't instantiate member template functions so get rid of it and use ugly dynamic casts in the non-template function to construct wxGCDC correctly. See #13327.

2011-07-20 08:36 SC, revision 68310

fixes redraw problems under OSX, see #13345

2011-07-20 00:36 VZ, revision 68309

Fix harmless gcc warning about uninitialized mask in PNG saving code. The mask was actually only used when it was initialized (or, conversely, the mask was always initialized when it was used) but gcc doesn't seem to notice this and still warns that mask components "may be used uninitialized in this function". Suppress the warnings by always initializing the mask, even if we don't use it. Closes #13333.

2011-07-20 00:35 VZ, revision 68308

Refresh the old current row when right clicking in wxDataViewCtrl. the generic implementation of wxDataViewCtrl left the old current still focused after selecting another row as current when it was right clicked. Fix this by refreshing the previously current row after unfocusing it. Closes #13330.

2011-07-20 00:35 VZ, revision 68307

Add wxDataViewEvent::IsEditCancelled() and support for vetoing edit events. Currently this is only implemented in the generic wxDataViewCtrl, the native GTK/OSX ports should be modified to support this later. Closes #13323.

2011-07-20 00:35 VZ, revision 68306

Fix deleting columns in wxGridStringTable with custom column labels. We erroneously removed too many elements from m_colLabels array (basically we always removed all the elements remaining after this column, irrespectively of the actual number of columns to delete), fix this by removing at most the specified number of columns -- or possibly less if the array isn't entirely filled. See #13329.

2011-07-20 00:35 VZ, revision 68305

Allow saving the drawing sample canvas to a file or clipboard. This allows to test wxMemoryDC and, under MSW, wxMetafileDC and also can be used to compare the output of different versions of the sample (possibly from different ports, too). Closes #13327.

2011-07-20 00:35 VZ, revision 68304

Added wxGCDC(wxEnhMetaFileDC) ctor too. Make it possible to create wxGCDC associated with a metafile DC in wxMSW too. Closes #13326.

2011-07-20 00:35 VZ, revision 68303

Fix keyboard navigation in wxGrid with hidden columns. The hidden columns (i.e. those whose size was set to 0) should be skipped when find the previous/next column to select when the user presses Left/Right cursor arrow keys in wxGrid, otherwise the focus could completely disappear as it was invisible when it was set to a hidden column. Closes #13281.

2011-07-19 19:56 SC, revision 68302

doing WakeUp in osx_carbon differently for the main event as well

2011-07-19 18:17 SC, revision 68301

make sure we can issue a WakeUp call that really triggers at the NSRunLoop level not only only CFRunLoop

2011-07-19 12:56 SC, revision 68300

fixing width/height (were negative) thanks to Werner Smekal

2011-07-18 21:36 VZ, revision 68299

Fix memory leak in wxPanel::SetBackgroundBirmap() in wxMSW. The brush allocated for the bitmap was never freed, do free it in dtor.

2011-07-18 11:46 SJL, revision 68298

Make callback names consistent

2011-07-18 11:37 SJL, revision 68297

Use the newer and recommended callback for handling navigation requests in WebKitGTK+.

2011-07-16 14:13 JS, revision 68288

VC++ 6 fixes

2011-07-16 13:22 JS, revision 68287

Added makefile from Steven

2011-07-16 12:05 VS, revision 68286

Add support for column header images to wxListCtrl XRC handler. Fixes #13319 (patch).

2011-07-16 12:04 VS, revision 68285

Fix wxListCtrlXmlHandler so that it accepts icon with wxLC_LIST and wxLC_REPORT styles too. Fixes #13319 (patch).

2011-07-16 12:04 VS, revision 68284

Fix wxXmlResourceHandler::GetImageList() to use specified size. Fixes #13319 (patch).

2011-07-16 12:04 VS, revision 68283

Add check to prevent creation of element wxXmlNodes with content data. Just like in the DOM, only text, ctype etc. nodes have textual content, elements don't. See #13297.

2011-07-16 08:57 SC, revision 68282

proper guard for bitmap constructors

2011-07-16 08:57 SC, revision 68281

fixing typo

2011-07-16 00:58 VZ, revision 68280

Implement wxRegion::Equal() for wxOSX. As there doesn't seem to be any native functions for comparing HIShapes, compute their differences to find out if they are equal. Closes #13339.

2011-07-16 00:58 VZ, revision 68279

Ensure we don't modify a shared object in wxOSX wxRegion::DoOffset(). Call AllocExclusive() before modifying the object. Closes #13338.

2011-07-16 00:58 VZ, revision 68278

No real changes, just use AllocExclusive() in wxOSX wxRegion. Don't fiddle with the reference count manually, just use the base class function doing it instead.

2011-07-15 20:49 SJL, revision 68277

Remove some code that shouldn't be in the interface file.

2011-07-15 17:22 SJL, revision 68276

Send correct navigation events when using SetPage on the IE backend, they now mimic Webkit.

2011-07-15 14:38 SJL, revision 68275

Add RunScript and implement on all backends. Document and add a very simple unit test.

2011-07-15 11:36 SJL, revision 68274

Add ClearSelection for msw ie and gtk webkit, with a stub for osx webkit. Document and add to unit tests.

2011-07-15 01:40 LV, revision 68273

Minimal wxScrolledWindow implementation

2011-07-15 01:40 LV, revision 68272

wxNotebook prints out view hierarchy when tab is changed

2011-07-14 21:31 SJL, revision 68271

Fix all the unit tests for gtk, they now all pass on msw with the ie backend and gtk with the webkit backend.

2011-07-14 16:02 SJL, revision 68270

Add unit tests for zoom functions

2011-07-14 15:33 SJL, revision 68269

Yield after control creation to allow it to load the initial page.

2011-07-14 15:19 SJL, revision 68268

Update web units tests so that they compile after api change.

2011-07-14 15:05 SJL, revision 68267

Fix compiler warnings in the IE backend.

2011-07-14 14:53 SJL, revision 68266

Update the web sample to allow choosing between different types of zoom, text or layout.

2011-07-14 13:14 SJL, revision 68265

Implement CanSetZoomType correctly for the IE backend.

2011-07-14 11:58 SJL, revision 68264

Overhaul IE zoom functions to support both text and optical zoom.

2011-07-14 03:45 LV, revision 68262

Minimal wxActionSheetDialog (was: wxMoActionSheet), wxAlertSheetDialog (was: wxMoAlertSheet) implementations

2011-07-14 03:45 LV, revision 68261

Replaced wxSegmentedCtrl implementation with IMPLEMENT_DYNAMIC_CLASS

2011-07-14 03:45 LV, revision 68260

Actual wxListBox item count

2011-07-14 03:45 LV, revision 68259

Separated wxSlider iOS bits

2011-07-14 03:45 LV, revision 68258

Missing iOS implementation files in bakefile

2011-07-14 03:45 LV, revision 68257

wxNotebook iOS implementation exposed (so wxSheetDialog could use it for showing sheets)

2011-07-14 03:45 LV, revision 68256

Removed '#define ClassA SomewhatRelatedClassB'

2011-07-14 03:44 LV, revision 68255

No code signing for now

2011-07-13 21:26 BGC, revision 68252

Fixed memory leak and access violation when releasing storyboards

2011-07-13 19:46 BGC, revision 68251

Added support for animating size and visibility Added wxLogLastError where appropriate Removed duplicate code from wxUIAnimationMSW Fixed warnings C4100 and C4239 wxSTORYBOARD_REPEAT_FOREVER can now be used on MSW as well

2011-07-13 19:25 SJL, revision 68250

Add GetPageText to MSW IE and to GTK WebKit. Add stub for OSX and document.

2011-07-13 17:30 SJL, revision 68249

Rename GetSelectedHTML to GetSelectedSource, this brings it into line with GetPageSource, and also with its intended use.

2011-07-13 17:28 BGC, revision 68248

Fixed build with wxUSE_STD_DEFAULT 0

2011-07-13 16:45 BGC, revision 68247

Fixed typo in files.bkl

2011-07-13 15:20 VZ, revision 68246

Add animation library to the list of all libraries in presets. This is necessary for the animation sample bakefile to work. Also document the need to do this in the tech note explaining how to add new libraries.

2011-07-13 15:19 VZ, revision 68245

Add USE_ANIMATION build option to config.bkl file. This option was used by multilib.bkl but never defined, so running bakefile failed. Do add it and define its default value as 1 for the formats not supporting conditions, such as MSVC IDE. Also mention the need to do this in the tech note explaining how to add new libraries.

2011-07-13 15:19 VZ, revision 68244

Remove non-existent ANIMATION_CMN_SRC variable from files.bkl. Bakefile complains when using a variable that is not defined. As there are currently no common animation sources, simply remove ANIMATION_CMN_SRC for now, it should be added back later if any common files do get added.

2011-07-13 15:19 VZ, revision 68243

No changes, just remove hard TABs. Hard TABs shouldn't be used in wxWidgets sources, including files.bkl file.

2011-07-13 10:32 VS, revision 68242

Better sizing in wxDataViewSpinRenderer and wxDataViewChoiceRenderer. Their GetSize() method used hardcoded size of (80,16). Instead, use GetTextExtent() to compute the size from content, as should be done. Add some extra room for editor control's extra parts. The space needed isn't computed exactly, as that would be quite convoluted (and in the end, most likely not 100% accurate even then), using a simple approximation instead.

2011-07-12 17:47 LV, revision 68241

Reenabled wxSizer positioning in demoframe's "Basic controls"

2011-07-12 17:47 LV, revision 68240

Background colors in demoframe

2011-07-12 17:47 LV, revision 68239

wxNotebook iOS now sends events on tab change

2011-07-12 17:47 LV, revision 68238

Fixed disclosure button

2011-07-12 11:13 VZ, revision 68237

Use native hint wxTextCtrl support in wxSearchCtrl. Instead of using broken emulation of the support for hints available in the text control, use the real wxTextCtrl::SetHint() for SetDescriptiveText() implementation in the search control. This looks better and, more importantly, fixes the bug when searching for the string equal to the current descriptive text searched for an empty string instead. Closes #13324.