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

2010-05-27 19:07 VZ, revision 64415

Fall back on using tree/list control item text in wxDragImage. Use the item text instead of its image if it doesn't have any when creating a wxDragImage from a wxTreeCtrl or wxListCtrl item instead of just failing. Closes #4390.

2010-05-27 19:07 VZ, revision 64414

Correct wxEVT_AUXn_XXX event types names. They had a wrong "MOUSE" part in them while "MOUSE" is only used for the event table macros but not the event types themselves for some reason. Closes #12095.

2010-05-27 19:07 VZ, revision 64413

Add missing samples to samples.dsw. Add all the samples to the workspace file to allow building all of them at once easily. Closes #12098.

2010-05-27 17:11 JMS, revision 64412

Make wxComboCtrl::SetButtonPosition() now again work on wxMSW

2010-05-27 17:02 JMS, revision 64411

Disable Vista/Win7-style wxComboCtrl rendering in wx2.8 by default (define wxUSE_COMBOCTRL_VISTA_RENDERING=1 to enable it), as it may cause subtle drawing bugs with custom wxComboCtrls

2010-05-27 16:51 JMS, revision 64410

Fixed wxComboCtrl::SetButtonPosition() on Vista/Win7 by marking the drop-down button as 'non-standard' when its size or position is changed

2010-05-27 16:04 JMS, revision 64409

Added change log entry about the wxComboCtrl focus draw change

2010-05-27 15:45 JJ, revision 64408

use wxToggleButtonXmlHandler::DoCreateBitmapToggleButton on supoorted platforms only

2010-05-27 11:30 JWE, revision 64407

Finished to write maskedField classe Beginning test and after beginning wxEditCtrl

2010-05-27 01:05 FM, revision 64406

add docs for the global wxStringTokenize() function which were lost during latex=>doxygen conversion

2010-05-27 00:44 FM, revision 64405

fix incoherency between the wxThread implementation based on MSW threads and pthread: Delete()ing a thread which hasn't started yet must return wxTHREAD_MISC_ERROR

2010-05-26 19:37 RR, revision 64404

Applied patch, fixes #12090: wxGTK cursor handling revamp

2010-05-26 17:15 JMS, revision 64399

ComboControl -> ComboCtrl

2010-05-26 17:12 JMS, revision 64398

wxComboControl -> wxComboCtrl

2010-05-26 17:08 JMS, revision 64397

Backported wxComboCtrl::ShouldDrawFocus() from wxWidgets 2.9. This makes wxMSW wxOwnerDrawnComboBox look more native when wxCB_READONLY is used.

2010-05-26 16:54 JMS, revision 64396

Backported from wx2.9 improved wxComboCtrl/wxOwnerDrawnComboBox appearance under Vista/Win7. Should have been done years ago, really.

2010-05-25 23:15 VZ, revision 64394

Fix setting the fonts for wxMSW wxTextCtrl with wxTE_RICH(2) style. Using WM_SETFONT seemed to work with rich edit controls but in fact it doesn't, it only changes the font used by the control initially apparently but it can be reset later. Use EM_SETCHARFORMAT which is more reliable.

2010-05-25 17:32 JMS, revision 64393

Draw wxPropertyGrid drop down items with consistent (non-bold) font (fixes #12088)

2010-05-24 22:37 SJL, revision 64392

Improve wxUIActionSimulator modifier support. Add support for modifiers to the X11 implementation and improve the order of keys sent in the MSW implementation.

2010-05-24 15:09 JMS, revision 64391

Always call OnSetValue() for a property when values are being set for its children (fixes #12085)

2010-05-23 21:07 FM, revision 64390

remove streams tests: they're very basic and already-existing CppUnit stream tests are much more complete and extended.

2010-05-23 20:44 RR, revision 64389

non-PCH compilation

2010-05-23 18:31 PC, revision 64388

compile fix for GTK2 systems which have X11/extensions/xf86vmode.h

2010-05-23 12:53 VZ, revision 64387

Remove non-working or semi-working tests added from console.cpp. Remove tests added in r64324, there is no need to have commented out code here and UTF-8 test was pretty strange as well (it's far from clear what should the result of converting "utf8Invalid" be). This also suppresses a warning that these changes introduced.

2010-05-22 18:14 VZ, revision 64386

Added wxMessageQueue::Clear(). This method can be called from the posting thread to remove any still pending requests if they became unnecessary. Closes #10905.

2010-05-22 18:14 VZ, revision 64385

Fix for user input processing in wxProgressDialog. Yield for input event processing before updating the dialog instead of doing it after this as the latter apparently doesn't always work. Closes #10645.

2010-05-22 17:48 VZ, revision 64384

Use GTK+ functions for wxDisplay implementation. There is no need to use Xinerama for what GDK can do itself (see #11053). Also don't check for Xinerama in configure when using wxGTK2.

2010-05-22 17:43 VZ, revision 64383

Restore selection on click in row/column selection mode in wxGrid. This might be less consistent with the other selection modes but seems to be more convenient in practice, so restore the old, 2.8 behaviour and select the entire row/column on a simply click in row/column selection mode. Closes #12062.

2010-05-22 16:57 VZ, revision 64382

Modify wxBoxSizer minimal size calculations to respect the proportions. Make wxBoxSizer minimal size big enough to not only give each item enough space to satisfy its minimal size but also to respect the proportions among the items by default.

2010-05-22 14:07 VZ, revision 64381

Set wild card in the base class too in wxGTK wxFileDialog. Calling wxFileDialogBase::SetWildcard() ensures that GetWildcard() returns the correct value after wxFileDialog::SetWildcard() was called. The new code will also work correctly if we change SetWildcard() to handle empty wildcard as the default one (see #12079). Closes #12080.

2010-05-22 13:58 VZ, revision 64380

Correct notebook sample layout. Use a sizer for the frame to make sure its initial and minimal size correspond to the best size of the panel inside it. Also add a Layout() call on the panel which was somehow not done initially. And finally don't centre the frame, this is unnecessary.

2010-05-22 12:51 VZ, revision 64379

Unset the debug report preview dialog as critical window when it's hidden. Otherwise no events can be dispatched to any other window after wxDebugReportPreviewStd::Show() is called, resulting in apparent hanging of the application as can be seen in debugrpt sample.

2010-05-21 22:13 RR, revision 64378

Second try to get wxDataViewChoiceByIndex and its name right, hopefully fixes #11970: wxDataViewChoiceRenderer set/get methods should use the current selection index not a string

2010-05-21 17:25 VZ, revision 64377

Document wxDocManager::CloseDocument(). CloseDocuments() was documented but not CloseDocument(), this probably wasn't intentional.

2010-05-21 15:17 VZ, revision 64376

Minor corrections to wxFont size-changing methods. Closes #11959.

2010-05-21 15:17 VZ, revision 64375

Erase the column label background in wxGrid to avoid display artefacts. Apparently the column label text is not always drawn correctly when double buffering is used, so erase the background completely before drawing the text. Unfortunately this might result in flicker but presumably correct display is more important. Closes #12055.

2010-05-21 15:17 VZ, revision 64374

Use ListView_CancelEditLabel() to implement wxListCtrl::EndEditLabel(). Windows XP and later finally added a special message to cancel label editing, use it if available. Also improve the documentation of this method. See #7663.

2010-05-21 14:52 VZ, revision 64373

Always define SIZEOF_WCHAR_T if it's not defined under Windows. The assumption that SIZEOF_EVERYTHING_ELSE is defined when SIZEOF_INT is is wrong. While wxWidgets configure does define all SIZEOF_XXX at once, SIZEOF_INT could also be defined in some third party headers (e.g. Python.h) and we still need to define the other ones. In particular, doing this fixes the problem with SIZEOF_WCHAR_T not being defined during wxPython build. Closes #12013.

2010-05-21 14:51 VZ, revision 64372

Simplify and correct MSW selection of background brush for children painting. Check for the transparency of the window background in MSWGetBgBrush() itself and let MSWGetBgBrushForChild() just return the brush to be used. This required adding a MSW-specific hack to wxPanel to allow inheriting background of wxNotebook by its children which is slightly ugly but is exactly what we need to do in this case and makes the rest of the code much simpler. Also add a possibility to set the background of the page containing the control being tested to the widgets sample to test for background inheritance. This shows problems with wxSlider and wxRadioBox backgrounds but they're not new with this patch. Closes #12057.

2010-05-21 14:51 VZ, revision 64371

Fix focus debugging in the controls sample. A wrong format string was used in Printf() resulting in useless output.

2010-05-21 14:07 VZ, revision 64370

Yet another fix to event propagation in scrolled windows. Calling ProcessEventLocally() didn't work because the command events were not propagated to the parent window any more, breaking a lot of things including wxDataViewCtrl event generation in the generic version. So do restore ProcessEvent() call but use it on the next handler (i.e. the window itself) and not this one now. This still results in some duplicate calls but at least the events should be passed everywhere where they are expected to arrive. wxScrollHelperEvtHandler must die. Closes #12078.

2010-05-21 13:46 VZ, revision 64369

Fix cast from pointer to int in wxDataViewCtrl. This fixes compilation in 64 bit. Closes #12073.

2010-05-21 00:04 VZ, revision 64368

Fix wxListCtrl::EndEditLabel() which simply didn't work. Also document it (even though it's wxMSW-only for now) and add a test for it in the sample. Closes #7663.

2010-05-20 21:54 JTN, revision 64367

Implementation of most wxDC drawing functions

2010-05-20 21:30 SC, revision 64366

fixing infinite recursion

2010-05-20 20:52 JTN, revision 64365

Very basic support for wxDC and wxMemoryDC (rectangles and brushes)

2010-05-20 20:50 SC, revision 64364

def include was missing

2010-05-20 20:43 SC, revision 64363

adding more infos, links

2010-05-20 20:39 RR, revision 64362

Make GetIndexOf() and get_path() work for virtual list models, fixes #12073: wxDataViewCtrl crashes when deleting an item

2010-05-20 20:06 SC, revision 64361

adding building iphone projects

2010-05-20 19:58 SC, revision 64360

support compiling for iphone

2010-05-20 19:56 SC, revision 64359

adding all iphone files

2010-05-20 19:33 VZ, revision 64358

Fix wxScrollHelperEvtHandler broken by recent changes to event processing. Use ProcessEventLocally() added in r64261 (which was probably the one to break this) to forward event to the window itself instead of ProcessEvent() in wxScrollHelperEvtHandler::ProcessEvent() implementation. Calling ProcessEvent() didn't work any more in a case when another event handler was pushed on a wxScrolledWindow: in this case the EVT_SIZE and EVT_PAINT handlers defined in the window itself were not called at all any more. Add a unit test checking for the even more tortuous than usual event processing path in this particular case.

2010-05-20 18:36 SC, revision 64357

adding support for iphone

2010-05-20 18:22 JTN, revision 64356

wxBitmap implementation (QPixmap). Missing masks, palettes and bitmaps depths.

2010-05-20 14:39 SC, revision 64355

fixing copy paste error

2010-05-20 14:06 SC, revision 64354

adapting to new API

2010-05-20 08:09 SC, revision 64353

utils_osx isn't part of base but of core, moving wxMacWakeUp to a file that really is in base

2010-05-19 23:03 VZ, revision 64352

Document that wxWindow::FindWindowByXXX() functions may return NULL. This seems obvious but apparently isn't completely so to everybody. Closes #12074.

2010-05-19 21:16 SJL, revision 64351

In wxUIActionSimulator::Char send a key down event first, then key up. Also set end of line style to native.

2010-05-19 20:42 SJL, revision 64350

Update documentation now the wxUIActionSimulator X11 implementation takes a wxKeyCode.

2010-05-19 15:39 SC, revision 64349

not needed anymore

2010-05-19 15:38 SC, revision 64348

moving wxMacWakeUp outside COCOA_CARBON clause, fixes #12068

2010-05-19 14:36 VZ, revision 64347

Document wxHTTP::SetPostBuffer(). Closes #12040.

2010-05-19 14:36 VZ, revision 64346

No changes, just add a comment. There is no need to reproduce wxBase64Encode() in wxHTTP code, should just use the existing function instead.

2010-05-19 14:36 VZ, revision 64345

Document wxHTTP::Connect(wxSockAddress) overload. See #12040.

2010-05-19 10:27 SC, revision 64344

splitting methods

2010-05-19 10:26 SC, revision 64343

common wxMacWakeUp code across all platforms

2010-05-19 10:25 SC, revision 64342
  • R /wxWidgets/trunk/src/osx/core/evtloop_cf.cpp

common wxMacWakeUp code across all platforms

2010-05-19 09:25 SC, revision 64341

adding methoddefs

2010-05-19 09:24 SC, revision 64340

set default resolutions in case of errors

2010-05-19 09:23 SC, revision 64339

using wx dynamic cast

2010-05-19 09:21 SC, revision 64338

removing unused var

2010-05-19 09:18 SC, revision 64337

missing commit, fixes #12067

2010-05-18 21:13 JTN, revision 64336

wxBrush implementation (QBrush)

2010-05-18 20:43 JTN, revision 64335

wxPen implementation (QPen)

2010-05-18 12:29 VZ, revision 64334

Add AM_PATH_WXRC to wxwin.m4 for backwards compatibility. Although the new WXRC_CHECK is preferred, still allow using AM_PATH_WXRC for the applications which need to build in both 2.8 and 2.9 environments. Closes #12069.

2010-05-18 12:29 VZ, revision 64333

Compilation fix for wxUSE_LOG_DEBUG==0 case. Don't do anything in wxDISABLE_DEBUG_LOGGING_IN_RELEASE_BUILD() if we don't use debug logging anyhow. Closes #12070.

2010-05-16 22:12 SJL, revision 64332

Rework wxUIActionSimulator X11 backend. Refactor key event sending into a separate function and move it into an anonymous namespace along with the existing SendButtonEvent. Replace much of the window and display code with a simpler alternative. Add conversion from a wxKeyCode to an X11 KeyCode as per wxMSW, to do this wxCharCodeXToWX and wxCharCodeWXToX declarations were moved to utilsx11.h and WXKeySym was defined.

2010-05-16 17:52 RR, revision 64327

Added quick implementation of wxDataViewChoiceByIndexRenderer, closes #11970 (wxDataViewChoiceRenderer set/get methods should use the current selection index

2010-05-16 17:44 FM, revision 64326

remove TestTimer() (adds nothing to existing tests) and move wxStopWatch tests to a new CppUnit test.

2010-05-16 17:36 RR, revision 64325

No-PCH compilation fix

2010-05-16 17:32 FM, revision 64324

move TestUtf8() and TestEncodingConverter() functions to UnicodeTestCase. Disable some code which does not run clean and mark it with FIXME comments (needs revision).

2010-05-16 17:29 RR, revision 64323

Part II of: Add GetChoice() and GetChoices() getters to all choice renderers and actually mention it in the docs

2010-05-16 17:26 RR, revision 64322

Add GetChoice() and GetChoices() getters to all choice renderers and actually mention it in the docs

2010-05-16 16:53 FM, revision 64321

remove ZIP tests: they seem to have been greatly expanded and enhanced by tests/archive/archive.cpp and tests/archive/ziptest.cpp

2010-05-16 16:44 RR, revision 64320

Don't call super class explicitly so overriding is possible, closes #12025 (wxDataViewVirtualListModel calls super-class' version of certain virtual methods).

2010-05-16 16:36 FM, revision 64319

remove wxDateTime tests which were already extracted as tests/datetime/datetime.cpp (keep only the interactive test)

2010-05-16 16:31 FM, revision 64318

move TestTextInputStream() function in CppUnit's TextStreamTestCase class

2010-05-16 16:30 RR, revision 64317

Applied #11755: wxBitmapToggleButton Xml Handler

2010-05-16 16:23 RR, revision 64316

Allow calling iter_children with parent being NULL, hopefully fixes #12035 (wxDataViewCtrl crashes when selecting item)

2010-05-16 16:02 PMO, revision 64315

Update to trunk r64311

2010-05-16 15:21 VS, revision 64314

Fix incorrect painting of backgrounds inside notebook. Children without transparent background (e.g. wxListBox) were still pained using notebook's background brush. They shouldn't, it should apply only to transparent-bg controls. This fix is not perfect, see #12057.

2010-05-16 14:31 VZ, revision 64313

Mention that stock bitmaps are a wxGTK-only feature for now. Apparently people expect to see stock bitmaps under MSW too, make it clear that they won't be used there. See #12051.

2010-05-16 14:31 VZ, revision 64312

Fix links to wxArtClient and wxArtID in the generated documentation. Add a "class" keyword to fix what looks like a bug in Doxygen. Closes #12052.

2010-05-15 17:24 PMO, revision 64311

Added wxCalendarCtrl implementation from Kolya Kosenko

2010-05-15 13:36 PMO, revision 64310

Remove obsolete qt files

2010-05-15 13:15 VZ, revision 64309

Clip drawing in wxRendererGeneric::DrawHeaderButtonContents(). Clip drawing of the icon and bitmap to the header rectangle. Don't clip the text because we already ellipsize it to avoid overflowing but do the ellipsization correctly, using wxControl::Ellipsize() instead of the simple (and wrong) duplicated version here. Also correct and simplify the alignment calculations. Closes #12047.

2010-05-15 13:15 VZ, revision 64308

Don't change the current pen and brush in DrawHeaderButtonContents(). Renderer methods shouldn't affect the functions drawing on the DC after it but the wxRendererGeneric implementation did. Use wxDC{Pen,Brush}Changer classes instead of calling wxDC::Set{Pen,Brush}() directly.

2010-05-15 12:47 VZ, revision 64307

Add more tests for wxRendererNative::DrawHeaderButton(). Test using icons and bitmaps in it. Also show the native/default implementation of this method and not only our overridden version. See #12047.

2010-05-15 12:47 VZ, revision 64306

Remove wxGTK-specific text shift in wxRenderer::DrawHeaderButtonContents(). This was probably related to the code removed by r63947 and doesn't seem to be needed here neither (and could presumably result in the same problems as in the ticket #11780).

2010-05-13 17:31 VZ, revision 64302

Never enable wxSpinCtrlGenericBase window itself at underlying toolkit level. We create wxSpinCtrlGenericBase window disabled at underlying toolkit level (but enabled at the level of wxWidgets API, of course), but calling Disable() and Enable() on it re-enabled it resulting in loss of mouse events under Windows. Don't re-enable it (again, at the low-level toolkit level only) in its Enable() any more but keep this window itself always disabled. Closes #12045.

2010-05-13 17:31 VZ, revision 64301

Use GetWidgets() in the widgets samples instead of GetWidget2(). Add a function which can be overridden to return an arbitrary number of widgets instead of having just GetWidget() and GetWidget2(): spin control page already uses 3 widgets (and defines GetWidget3() which is never called) and we could have even more in the future. Just use a generic solution which will always work. The practical consequence of this is that the "Enable/Disable" menu item now also enables and disables the wxSpinCtrlDouble in the spin page, see #12045.

2010-05-13 16:37 VZ, revision 64300

No changes, just cleanup the image part of the docview sample. Remove unnecessary, never used methods. Don't use pointers when objects or references can be used more safely. Don't name classes which are not part of wx with "wx" prefix to avoid confusing people. Don't define empty unnecessary event tables. Prefer wxScrolledWindow::SetVirtualSize() to SetScrollbars(). Stop using "protected" when "private" should be used.

2010-05-13 16:37 VZ, revision 64299

Document wxDocument::DeleteContents(). This method purpose was not quite clear as it was only mentioned in passing in documentation of OnCloseDocument() but not really documented itself. Also don't call it from wxDocument dtor as this is useless: the user-defined overridden version will never be called from here and the base class version does nothing.

2010-05-13 10:36 JMS, revision 64298

Make text drawn by wxGraphicsContext slightly less intrusive

2010-05-13 10:22 JMS, revision 64297

Added wxGraphicsContext::Create(const wxEnhMetaFileDC& dc) so that wxPrintPreview can work with wxMSW's wxGraphicsContext (closes #12028)

2010-05-13 08:25 VS, revision 64296

Add missing check for wxUSE_FILE_HISTORY existence.

2010-05-12 16:34 VZ, revision 64295

Refactor wxDocParentFrame and wxDocMDIParentFrame to share common base class. Use the same approach as for the child frames: add a base template class which allows wxDocParentFrame to inherit from wxFrame and wxDocMDIParentFrame from wxMDIParentFrame while still allowing to reuse the common code. This reduces code duplication and should make implementing parent AUI document frame easier as well, see #8945.

2010-05-12 10:18 VZ, revision 64294

Restore wxString::Printf() example showing position parameters in the docs. The example was lost during the translation of the manual to Doxygen. Closes #12038.

2010-05-11 23:25 FM, revision 64293

update the main page of the manual to be more consistent; update its date

2010-05-11 23:12 FM, revision 64292

fix errors/inconsistencies pointed out by ifacecheck

2010-05-11 23:10 FM, revision 64291

better error message when an inconsistency has been found

2010-05-11 21:44 FM, revision 64290

minor fixes to reduce number of Doxygen warnings

2010-05-11 21:39 FM, revision 64289

img tags need a final slash as they are empty tags; change <img> => <img/>

2010-05-11 21:37 FM, revision 64288

make H3 titles center-aligned (fixes the display of the manual version for HTML docs which currently appears left-aligned)

2010-05-11 12:40 JJ, revision 64287

Update OpenVMS comiles support

2010-05-11 12:39 VZ, revision 64286

Fix position for wxKeyEvents in wxMSW. Use ScreenToClient() instead of painstakingly (and incorrectly) transforming the position in this function itself. Closes #12024.

2010-05-11 09:16 FM, revision 64285

fix for non-PCH builds; also use wxMilliSleep instead of wxThread::Sleep since the former is more readable (it's clear that it takes milliseconds).

2010-05-10 23:48 FM, revision 64283

move code testing wxThread classes from the console sample to a new CppUnit test

2010-05-10 23:28 VZ, revision 64282

Build fix: forgotten part of the previous commit. This commit should have been part of r64281. Also notice that the previous commit message mentioned a wrong ticket number, see #10572.

2010-05-10 23:22 VZ, revision 64281

Add column parameter to wxListCtrl::GetItemText(). Allow retrieving the text from columns other than the first one directly. Add implementations for MSW and generic versions, documentation and a unit test. Closes #11597.

2010-05-10 23:10 VZ, revision 64280

Change wxDIALOG_NO_PARENT value to avoid clashing with wxCENTRE. Use a bit freed by removing wxTINY_CAPTION_HORIZ for wxDIALOG_NO_PARENT. This allows to move it out from the lower byte of the style word to avoid conflicts with the button selection flags which can be commonly combined with the dialog styles. More precisely, wxDIALOG_NO_PARENT used to clash with wxCENTRE, meaning that wxSingleChoiceDialog, for example, was always created without parent because its default style included wxCENTRE. This commit fixes this particular bug and probably more similar ones.

2010-05-10 23:09 VZ, revision 64279

Replace wxTINY_CAPTION_{HORIZ,VERT} with a single wxTINY_CAPTION. These two styles were always equivalent so we can just as well replace them with a single one and stop wasting an extra bit.

2010-05-10 23:09 VZ, revision 64278

No changes, just added comments summarizing the use of style bits. Add comments allowing to see more clearly the styles allocation. Please make sure to amend them if you change any style values in the future.

2010-05-10 23:02 VZ, revision 64277

Don't use wxWindow::ClearBackground() in the image sample and explain why. Painting on both wxPaintDC and wxClientDC simultaneously doesn't work well, e.g. under Windows the client DC can be actually erased after we finished painting the window contents, overwriting it. Simply use wxDC::Clear() instead of wxWindow::ClearBackground() to avoid this and document the danger of using ClearBackground() from EVT_PAINT handler. Closes #10700.

2010-05-10 21:40 SJL, revision 64276

Update remaining wxUIActionSimulator files to use native line endings.

2010-05-10 21:38 SJL, revision 64275

Treat a keycode passed to wxUIActionSimulator on MSW as a wxKeyCode, demonstrate in the sample and update the docs. Update line ending types to native.

2010-05-10 16:16 JMS, revision 64274

Make text printed by wxGraphicsContext shorter

2010-05-10 16:14 JMS, revision 64273

Use wxGraphicsContext to draw some text and a rectangle around it (so that GetTextExtent() can be verified to work correctly)

2010-05-10 15:54 JMS, revision 64272

In wxGDIPlusContext::GetTextExtent(), return more accurate text height if possible

2010-05-10 15:52 JMS, revision 64271

Set wxGraphicsContext page scale, which is required for printing to work properly

2010-05-10 14:40 SJL, revision 64270

Add basic keyboard example to wxUIActionSimulator sample

2010-05-10 09:51 SJL, revision 64269

Update wxUIActionSimulator sample to use screen position, now works correctly in MSW after the absolute positioning fix

2010-05-09 23:36 SJL, revision 64267

Update wxUIActionSimulator::MouseMove on MSW to use absolute positioning in line with the documentation

2010-05-09 20:59 SJL, revision 64266

Add basic MSW modifier key support to wxUIActionSimulator, as per OSX

2010-05-09 20:51 SJL, revision 64265

Tidy up spacing in wxUIActionSimulator

2010-05-09 16:55 VZ, revision 64264

Replace public wxEvtHandler::ProcessEventHere() with private TryHere(). ProcessEventHere() doesn't have to be public any more now that we have ProcessEventLocally() which is safe to call from the outside (i.e. doesn't forget about the chained event handlers and validators). Still keep this function because it makes the code more modular and also because we might want to make it virtual for consistency with TryBefore() and TryAfter() later. Also rename it to TryHere() to make the symmetry with these functions more manifest.

2010-05-09 16:55 VZ, revision 64263

Use ProcessEventLocally() instead of ProcessEventHere() in docview code. Use wxEvtHandler::ProcessEventLocally() instead of ProcessEventHere() when forwarding events in the docview code. This ensures that any event handlers chained with the objects involved (document manager, document, view) will be used. Incidentally the old code didn't work at all as ProcessEventHere() didn't even call TryBefore() where the (further) forwarding was implemented. Closes #10640.

2010-05-09 16:55 VZ, revision 64262

Add wxWindow::ProcessWindowEventLocally() and use it in wxMSW MDI code. Add ProcessWindowEventLocally() which wraps ProcessEventLocally() in the same way as ProcessWindowEvent() wraps ProcessEvent(). I.e. it allows to process the event in this window only, without propagating it upwards, but taking into account any event handlers associated with it. Use the new method in wxMDIParentFrame code in wxMSW to ensure that event handlers pushed on MDI children frames are taken into account. Add a test for this to the MDI sample. Closes #11225.

2010-05-09 16:55 VZ, revision 64261

Refactor the event processing code to add ProcessEventLocally(). This new method can be used to only process the event in this handler or any handlers connected to it (unlike ProcessEventHere() which doesn't follow the chain at all), without propagating the event upwards (unlike ProcessEvent()). Unfortunately implementing this required a field to wxEvent but there doesn't seem to be any other way to do what we need. There should be no user-visible changes after this commit, it just paves the way for the upcoming fixes.

2010-05-09 16:55 VZ, revision 64260

Call wxEvtHandler::TryBefore() only once from ProcessEvent(). The event pre-processing hooks associated with the window should be called only once during the event processing, we don't need to call TryBefore() for each and every event handler associated with the window too. This makes the code slightly simpler and faster and shouldn't change the behaviour of any existing code.

2010-05-09 12:48 JMS, revision 64259

Suppress SetFocus() warning in wxVListBoxComboPopup

2010-05-09 12:29 JMS, revision 64258

Supress SetFocus() warning in wxVListBoxComboPopup

2010-05-09 12:27 VS, revision 64257

Prevent idMenuTitle from being accidentally used as invalid wx ID.

2010-05-09 12:27 VS, revision 64256

Whitelist wxID_NONE as valid menu item ID.

2010-05-09 12:27 VS, revision 64255

Fixed popup menu's title to be bold regardless of method used. Popup menus with title set via SetTitle() had bold font, but menus created by passing title as ctor argument used normal font. Fixed this by using the same code (SetTitle) in both cases, instead of having two independent (and out of sync) implementations of the same functionality.

2010-05-09 11:36 SJL, revision 64254

Replace the bool modifier flags in wxUIActionSimulator with an int representing wxKeyModifier values

2010-05-08 17:31 VS, revision 64248

wxMsgCatalog destructor should be public. Fixes #12031.

2010-05-08 17:31 VS, revision 64247

Fixed a test in wxTranslations::GetString() to use UINT_MAX instead of -1. See #12031.

2010-05-08 12:28 VZ, revision 64246

Invalidate wxListBox best size immediately without waiting for idle time. Since r53743 the listbox best size was only invalidated during idle time but this meant that it could be laid out using incorrect old best size. So while we still defer (expensive) horizontal extent calculation until later, do invalidate the best size immediately to ensure the listbox is laid out correctly.

2010-05-08 01:38 VZ, revision 64245

Fix crash in wxCommandProcessor of capacity N when N-1 commands were undone. Performing N commands (where N is the maximal number of commands stored by wxCommandProcessor), undoing N-1 of them and performing another command resulted in a crash because a dangling pointer was left. Closes #12027.

2010-05-08 01:38 VZ, revision 64244

Fix assert during separator items creation introduced by r64226. Add separators with correct kind, setting m_kind doesn't work any more because it's overwritten below. Also add a comment explaining why is overriding the user-specified kind the right thing to do here.

2010-05-08 01:38 VZ, revision 64243

Fix bugs related to two phase creation of wxRibbon classes. Add missing wxRibbonControl::Create() method. Ensure that member variables are always initialized by the ctor. Check that we're fully initialized in EVT_SIZE handler. Closes #12018.

2010-05-07 15:38 JJ, revision 64241

Updating setup for OpenVMS

2010-05-07 08:45 VS, revision 64240

Integrate with GNOME's Recent Documents menu. GTK+ provides GtkRecentManager for this purpose since 2.10. Use it in wxFileHistory if available. Integration is simple, we just add a file to GtkRecentManager in addition to normal wxFileHistory handling. A well-behaved GNOME application would use GtkRecentManager as the primary store for recent files, so that it reflects when the user works with supported files in another editor(s) too. But for now, this is much better than no support at all.

2010-05-06 20:28 VS, revision 64239

Clarify that wxFileSystem::OpenFile() takes URL, not filename.

2010-05-06 19:42 JMS, revision 64232

Change wxPGProperty::SetChoices() to accept 'const wxPGChoices&'

2010-05-06 19:21 JMS, revision 64231

Modify float/double wxAny testing to use CPPUNIT_ASSERT_EQUAL() instead of CPPUNIT_ASSERT_DOUBLES_EQUAL(), so that we know the retrieved values are truly identical.

2010-05-06 14:58 VZ, revision 64230

Don't accept focus in the dummy main generic spin control window. This window is only used as a container for the sub-windows and shouldn't accept focus, trying to set it to it doesn't work anyhow (see #12004).

2010-05-06 14:58 VZ, revision 64229

Don't send wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED when nothing changed. The generic double spin control sent UPDATED events whenever it lost focus, whether anything changed or not. Don't send events unless the controls value has really changed.

2010-05-06 14:58 VZ, revision 64228

Always update the value of generic spin control when leaving it. We could be left with an invalid value in the control when leaving it. E.g. in the widgets sample whose double spin control has range from 0 to 10, 123 could be entered in it and was not replaced by 10 when the control lost focus. This happened because the code didn't bother to update the text control if its contents already corresponded to the internally stored value -- but this was wrong as it could have a different representation. Just always update the text unconditionally when synchronizing it with the internal value. See #12004.

2010-05-06 14:58 VZ, revision 64227

Make keyboard navigation in generic wxTreeCtrl more Mac-like under OS X. In the native OS X tree control right cursor arrow expands the current item and the left one collapses it if it's expanded, make the generic control work like this too under Mac. Closes #12019.

2010-05-06 14:40 VZ, revision 64226

Check that menu ids are limited to MSW-supported range. We already check that positive (i.e. specified by user and not generated by wx) window ids are in 0..SHRT_MAX range. Now do the same for the menu ids as ids outside of this range suffer from the same problem under MSW: they get wrapped and become negative when we receive events for them.

2010-05-06 14:40 VZ, revision 64225

Added wxLANGUAGE_BOSNIAN. Closes #12016.

2010-05-06 14:22 VZ, revision 64224

Mention that hatched pens don't work under wxGTK and wxX11. See #11983.

2010-05-06 14:12 VS, revision 64223

Refactor wxTranslationsLoader API. Instead of calling back into wxTranslations to actually load the data, return wxMsgCatalog instance from wxTranslationsLoader::LoadCatalog(). This requires making wxMsgCatalog public.

2010-05-06 07:43 VS, revision 64222

Move wxScopedPtr::reset() implementation to wxDEFINE_SCOPED_PTR. Just as the destructor, reset() calls delete on T pointer and so can only be defined when T is fully defined.

2010-05-06 07:42 VS, revision 64221

Use wxCHECKED_DELETE in wxScopedPtr::reset(). It was only used in delete call in destructor, but the use in reset() needs safeguards as well.

2010-05-06 07:42 VS, revision 64220

Use wxCHECKED_DELETE in wxScopedPtr<T>. It was only used in macros-based implementation, use it in the template version too.

2010-05-05 15:53 VZ, revision 64219

Fix PCH-less compilation after recent changes. Include wx/sizer.h explicitly when not using PCH.

2010-05-05 15:50 VS, revision 64218

Fix incorrect assumptions about locales codes. wx incorrectly assumes that Unix locale codes have the form of xx_YY, where both xx and yy are two characters long. This is wrong, xx is ISO 639 code, which can often have 3 characters ("ast", "gez" etc.); future ISO 639-6 will have up to 4 chars. Similarly, ISO 3166 has alpha-3 variant of country codes too (even though they aren't used in this context today). For parsing needs, we can just look for '_' in the code. The only place where a check for xx_YY code was performed was GetSystemLanguage(). Instead of bothering with correct check (or a heuristic), let's simply assume locale is xx_YY code and only do alternative handling if that assumption fails. According to the comments, this alternative handling was for cases such as LANG=german environment on SuSE, but it's safe to say that no modern systems do that anymore, so it's OK that this patch is marginally less efficient on such legacy systems.

2010-05-05 14:45 VZ, revision 64217

No changes, just make wxDataViewEditorCtrlEvtHandler private. This class is used by wxDataViewCtrl implementation only, there is no need for it to be in a public header. Move the class declaration from wx/dataview.h to datavcmn.cpp. See #11732.

2010-05-05 14:45 VZ, revision 64216

Pop event handler from wxDVC edit control before destroying it. This fixes the assert in wxWindow dtor checking that all event handlers pushed on the window were removed. Also fix a memory leak by not creating an unnecessary object of wxKillRef class. In fact remove this class entirely. Closes #11732.

2010-05-05 14:27 VS, revision 64215

Don't use size_t for plural forms parameter. size_t should be used for size of objects, which wxGetTranslation() and wxTranslations::GetString() 'n' argument isn't -- it's just a regular integer.

2010-05-05 14:20 VZ, revision 64214

Notify user less intrusively about overflow when previewing HTML printouts. We used to show a modal dialog if the page didn't fit horizontally but this was too intrusive when the user was just previewing the output and not really printing it. Moreover, the question of the message box ("Print" or "Cancel") simply didn't make sense in this case. Fix both problems by not showing this dialog at all when previewing. Instead, notify the user with a much less intrusive info bar in the preview window.

2010-05-05 14:20 VZ, revision 64213

Move wxInfoBar to core library from adv. This is necessary in order to be able to use it in the print preview (an upcoming change).

2010-05-05 14:19 VZ, revision 64212

Replace wxPrintout::SetIsPreview() with SetPreview(). Unlike the old function just indicating whether a printout is being used for previewing, the new one associates the preview object with it. This can be useful if we need to access the window used for the preview, for example. Also remove a bunch of apparently unnecessary SetIsPreview(false) calls as printing (and not previewing) is already the default.

2010-05-05 14:19 VZ, revision 64211

No real changes, just clean up wxAbortProc mess. Remove m_lpAbortProc which is not needed at all and just requires ugly casts because its type was different from the real type of wxAbortProc. Get rid of the rest of the old Win16 code.

2010-05-05 14:19 VZ, revision 64210

Remove GtkPrintOperation preview signal handler. This handler wasn't doing anything useful as we were always using the default preview based on an external program, so just remove it completely.

2010-05-05 09:45 VS, revision 64209

Fix wxScopedCharTypeBuffer<T>::CreateOwned() to match docs. The documentation says that it takes ownership of the memory block passed to it, but the implementation made a copy.

2010-05-04 23:59 VZ, revision 64208

Ignore time component of SYSTEMTIME in wxCalendarCtrl. Native month calendar functions doesn't always return correct values in the time part of SYSTEMTIME so ignore it and use just the date component. To simplify doing it, add helper (MSW-specific) SetFromMSWSysDate() and GetAsMSWSysDate() functions which convert between wxDateTime and SYSTEMTIME but take only date component into account. This commit partially replaces changes of r63560 and closes #11276.

2010-05-04 18:38 VS, revision 64207

Fixed a typo in misc/languages/README.

2010-05-04 14:15 VS, revision 64205

Move wxFileHistory out of docview framework, add wxUSE_FILE_HISTORY.

2010-05-03 13:19 VZ, revision 64204

Use wxString::ToCDouble() instead of emulating it. No real changes, just replace the code which was working around the absence of a wxString::ToCDouble() with the call to the real thing now that we have it.

2010-05-03 10:02 JJ, revision 64203

Update OpenVMS compile support

2010-05-02 14:19 VZ, revision 64202

Fix PCH-less build after changes r64139. As wx/log.h is not included from wx/dynlib.h (via wx/msw/private.h) any longer, include it from here explicitly.

2010-05-02 14:19 VZ, revision 64201

Include <windows.h> before including <shellapi.h>. Although this is not needed with most compilers (including recent MinGW), including <shellapi.h> directly apparently doesn't work with some older MinGW versions. This fixes compilation after the changes of r64139.

2010-05-02 14:11 VZ, revision 64200

Create a branch for GSoC 2010 project for GUI classes unit testing by Steven Lamerton.

2010-05-02 14:10 VZ, revision 64199

Create a branch for GSoC 2010 project for wxMaskedEditCtrl implementation by Julien Weinzorn.

2010-05-02 14:09 VZ, revision 64198

Create a branch for GSoC 2010 project for Windows Vista/7 UI enhancements by Rickard Westerlund.

2010-05-02 14:06 VZ, revision 64197

Create a branch for GSoC 2010 project for wxRichTextCtrl image support enhancements by Mingquan Yang.

2010-05-02 14:01 VZ, revision 64196

Add wxTreeCtrl::{Clear,Set}FocusedItem(). Allow changing just the currently focused (not selected) item and also removing the focus completely. Closes #11599.

2010-05-02 13:48 VZ, revision 64195

Spell contributor name correctly. Use the spelling preferred by Nikolay himself, see #11599.

2010-05-01 23:42 PMO, revision 64194

Update to trunk r64193

2010-05-01 23:06 PMO, revision 64193

Added more stubs

2010-05-01 15:41 PMO, revision 64190

Detect qt paths via pkg-config

2010-05-01 15:38 PMO, revision 64189

Detect qt paths via pkg-config

2010-05-01 14:35 PMO, revision 64188

Improved MOC rules

2010-04-30 20:29 SC, revision 64187

updated headers

2010-04-30 20:29 SC, revision 64186

textctrl impl

2010-04-30 18:55 SC, revision 64185

adding wrapper for native UIWindow, using designated initializer for view controller

2010-04-30 18:53 SC, revision 64184

adjusting to API change of cocoa and carbon

2010-04-30 18:52 SC, revision 64183

cleanup

2010-04-30 18:46 VS, revision 64182

Check in samples/dll for WXUSINGDLL. If it is set and DLL build of wx is used, emit an error, as the sample won't work correctly in that case.

2010-04-30 18:40 SC, revision 64181

moving value setting conformance to impl

2010-04-30 18:31 SC, revision 64180

iphone implementations

2010-04-30 15:32 JMS, revision 64179

Use scoped ptrs to managed wxAnyValueType instances. This fixes deallocation issues in some dynamic library use cases.

2010-04-30 11:29 SC, revision 64178

adding uifont support

2010-04-29 10:31 VS, revision 64165

Always use active wxTranslations instance via wxLocale. Don't use m_translations directly, if the user made changes to wxTranslations instance, it would be too confusing if calls through wxLocale compat API did nothing. Also don't change active wxTranslations object from wxLocale if already done by user, only call wxTranslations::Set() from wxLocale constructor if it wasn't already set by the user. Still do if wxTranslations instance currently in use was set by previous wxLocale on the locale stack.

2010-04-27 18:16 JS, revision 64163

wxRTC: fixed style selection reset after editing a style. wxRTC: can now edit line spacing in .1 increments from 1 to 2.

2010-04-27 18:10 JS, revision 64162

Font output fix

2010-04-27 18:09 JS, revision 64161

wxRTC: fixed style selection reset after editing a style. wxRTC: can now edit line spacing in .1 increments from 1 to 2.

2010-04-27 18:07 JS, revision 64160

Font output fix

2010-04-27 15:26 JMS, revision 64159

Safeguard against redundant registration of the same wxAnyValueType instance (by storing pointers in a set instead of a vector)

2010-04-27 11:38 VS, revision 64157

Use '+' in accelerators, not '-'. This was always GTK+ standard and even Windows uses it now, see the UX Guide.

2010-04-27 10:52 VZ, revision 64156

Fix typo in SIZEOF_WCHAR_T test. This fixes compilation under the platforms where SIZEOF_WCHAR_T != 4 (probably Windows only). Closes #11994.

2010-04-26 22:51 VS, revision 64155

Add support for storing translations in win32 resources.

2010-04-26 22:51 VS, revision 64154

Shorten lang names in wxTranslations, not wxFileTranslationsLoader. If a catalog with full language name ("fr_BE") doesn't exist, wxFileTranslationsLoader tries to look for just the base language ("fr") too. This isn't something specific to wxFileTranslationsLoader, it makes sense to do it regardless of the loader.

2010-04-26 22:51 VS, revision 64153

Add wxMemoryBuffer::release().

2010-04-26 22:51 VS, revision 64152

Add instance argument to wxLoadUserResource(). This makes it possible to load resources from other modules than the main executable.

2010-04-26 22:50 VS, revision 64151

Make wxLoadUserResource() declaration available to wxBase too.

2010-04-26 18:53 VZ, revision 64150

Add wxLoadUserResource() overload not copying the resource data. The existing wxLoadUserResource() copies the resource data which is often unnecessary. Add another overload which just returns the pointer directly to the resource data. Also move the function into base from core as it can be useful for the console applications as well. Finally, define wxUserResourceStr used by this function only in the same file where the function itself is defined instead of datacmn.cpp.

2010-04-26 18:46 CE, revision 64149

run script on windows

2010-04-26 18:33 RD, revision 64148

Move 2.8.11 tag to the proper place

2010-04-26 18:23 VZ, revision 64147

Remove a harmless unused parameter warning in wxOSX/Carbon.

2010-04-26 16:19 VZ, revision 64146

Fix wxGTK1 event loop definition mismatch between base/GUI. We must define wxEventLoopBase in the same way in base and GUI code, otherwise, even though we fool the compiler into accepting our code, it crashes or behaves otherwise weirdly during run-time because of vtbl mismatch. This fixes wxGTK1 which was crashing on startup since the FSWATCHER branch merge in r62474 and associated changes to support the event loop sources.

2010-04-26 16:19 VZ, revision 64145

Use wxMenuBar::Attach/Detach() instead of SetInvokingWindow() in wxGTK1. This is the same as r64127 for wxGTK.

2010-04-26 16:19 VZ, revision 64144

Fix wxGTK1 link after toolbar files renaming. Fix a typo in r62849: tooltip.cpp was used instead of toolbar.cpp resulting in linking errors for the duplicate symbols in the former and undefined symbols in the latter.

2010-04-26 16:19 VZ, revision 64143

Set popup menu invoking window in wxWindowBase and not in all ports. Don't duplicate the code for setting (and unsetting, which was forgotten by at least wxGTK) the popup menu invoking window in all ports but do it in the base class PopupMenu() itself. Also add a helper wxMenuInvokingWindowSetter class which ensures that the invoking window will be unset in any case.

2010-04-26 16:19 VZ, revision 64142

Don't set invoking window recursively in wxGTK wxWindow::PopupMenu(). Setting the invoking window for all submenus is unnecessary as wxMenu::GetWindow() recurses upwards anyhow and results in assert failures after recent menu code changes. Simply don't do this. OTOH do reset the invoking window to NULL after the menu is dismissed to avoid storing a dangling pointer in the menu.

2010-04-25 23:33 FM, revision 64140

no real change: just fix RCS-ID so that it reflects the current revision number

2010-04-25 14:07 VS, revision 64139

Don't include wx/msw/private.h from dynlib.h. Because it's private header and introduces dependency on window.h.

2010-04-25 14:07 VS, revision 64138

Declare various WXH* handles compatibly with SDK. It is no longer necessary to cast between e.g. HINSTANCE and WXHINSTANCE, they are now declared as the same type (without including Windows SDK header).

2010-04-24 22:39 VZ, revision 64136

Remove unnecessary duplicate code dealing with invoking window from wxOSX. This is roughly the same as r64127 for wxGTK but for wxOSX: don't duplicate the functionality already present in the base class in Mac-specific way. Just use wxMenu::GetWindow() instead of painstakingly propagating invoking window changes via the entire menu hierarchy. Also attach the root menu used in wxOSX to the menu bar to ensure that the correct window can be found for all its menus. Closes #11990.

2010-04-24 22:39 VZ, revision 64135

Recurse upwards the menu hierarchy in wxMenu::GetWindow(). Only the top level menus have non-NULL wxMenuBar pointer too, so recurse upwards the menu hierarchy in GetWindow() and not (just) GetInvokingWindow(). This fixes event processing for submenus broken by the recent changes.

2010-04-24 19:52 VZ, revision 64134

Disable ImageTestCase::LoadFromFile() on build slaves. This test case keeps failing erratically resulting in too many bogus build breakage notifications. Disable it until someone has time to fix it properly.

2010-04-24 19:20 PMO, revision 64133

Update to trunk r64122 to get fix for wxMenu::SendEvent()

2010-04-24 19:08 PMO, revision 64132

Handle Qt signals for menu items

2010-04-24 19:06 PMO, revision 64131

wxQtAction implementation

2010-04-24 18:59 VZ, revision 64130

A slightly better compilation fix after PCH-less build breakage in r64126. Include wx/frame.h header instead of casting wxFrame to wxWindow using C style cast. Although this does work now and probably will work later too it seems better to not use the cast nevertheless.

2010-04-24 18:10 VS, revision 64129

Added missing @since tags to wxTranslationsLoader classes.

2010-04-24 16:40 PC, revision 64128

non-pch build fix

2010-04-24 17:08 VZ, revision 64127

Don't use invoking window in wxGTK wxMenuBar implementation. wxGTK wxMenuBar used its own SetInvokingWindow/UnsetInvokingWindow() and related functions instead of reusing the base class Attach/Detach() which exist for exactly the same purpose. This resulted in unnecessary code duplication and confusion and, since the changes of r64104, resulted in asserts due to use of SetInvokingWindow() for non-popup menus. Fix this by removing the wxGTK-specific functions and doing the work they used to do in (now overridden) Attach() and Detach(). Also call Attach/Detach() instead of these functions from wxGTK wxFrame and wxMDIParentFrame code.

2010-04-24 17:07 VZ, revision 64126

Use wxMenu::GetWindow() instead of GetInvokingWindow() in SendEvent(). This simplifies the code as we don't need to walk the menu hierarchy upwards any more (GetInvokingWindow() does it now) and also makes it work for all menus, not just the popup ones.

2010-04-24 17:07 VZ, revision 64125

Avoid code duplication in wxGTK menu events generation code. Reuse the existing DoCommonMenuCallbackCode() function instead of duplicating its code in menuitem_select() and menuitem_deselect() GTK callbacks. No changes in behaviour.

2010-04-24 17:07 VZ, revision 64124

No real changes, just remove empty wxMenuBar dtor in wxGTK.

2010-04-24 17:07 VZ, revision 64123

Move wxMSW wxMenu::GetWindow() down to wxMenuBase. GetInvokingWindow() can only be used for the popup menus which have the invoking window, so add a new function which can be used to get the window associated with any kind of menu in all ports -- it already existed in wxMSW but is needed elsewhere too.

2010-04-24 13:09 PMO, revision 64122

Update to trunk r64121

2010-04-24 12:13 JMS, revision 64121

Allow wxPGProperty::Hide() to be called on unattached property (see #11987)