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-07-13 00:50 VZ, revision 64922

Compilation fix for "interactive" test in wxUSE_STL=1 build. wxString is not convertible (even explicitly) to char* in this case.

2010-07-13 00:50 VZ, revision 64921

Blind VC6 compilation fix for VarArgTestCase. VC6 tries to use inaccessible copy ctor of the variable passed to wxString::Format() for some reason. Just disable the test for it, it's not worth trying to understand this compiler, and our code gets tested with other ones anyhow.

2010-07-13 00:50 VZ, revision 64920

Disable test of format string with "%n" for MSVC 8+. MSVC 8 and later disables support for "%n" in printf() by default. And although it provides a function to re-enable support for it, it doesn't seem to work for the functions we use. Just disable the test which results in CRT assert when using this compiler.

2010-07-13 00:50 VZ, revision 64919

Don't use dangling pointers in wxWindowMSW::HandleMenuChar(). We used a pointer into the result of wx_str() for a temporary string which was clearly wrong. Store the string we're manipulating to ensure that this doesn't happen. This in particular fixes keyboard navigation in the menus with owner-drawn items.

2010-07-13 00:50 VZ, revision 64918

Remove scroll units duplication in wxGrid to fix setting them. For some unknown reason wxGrid decided to store its scroll units in its own m_scrollLine[XY] variables instead of just using the base wxScrollWindow class m_[xy]ScrollPixelsPerLine ones. And, of course, the two could get out of sync because wxGrid didn't update the base class version correctly. Just don't duplicate these values at all and use the base class fields. This makes the code simpler and also fixes changing the size of the scroll units. Closes #12221.

2010-07-13 00:50 VZ, revision 64917

Make Home and End keys work as expected in wxGrid. Go to the first/last cell of the current row when they're pressed instead of starting the editor. Closes #12222.

2010-07-13 00:50 VZ, revision 64916

Fix text updated event generation in wxGTK wxComboBox. The changes (cosmetic renaming, no less) in r64436 broke unit tests checking for wxComboBox event generation because the extra text updated events were not suppressed correctly any longer because wrong {Enable,Disable}Events() were called instead of the correct GTK{Enable,Disable}Events(). Fix and slightly improve the code by disabling the events in overridden EnableTextChangedEvents() itself and reuse its code from GTK-specific event enabling functions.

2010-07-13 00:50 VZ, revision 64915

Fix wxToggleButtonXmlHandler compilation with wxUniv. Remove nonsensical code involving operator ?: with wxString and wxBitmap operands. No idea what was the intention behind it but it failed to even compile in wxX11 build so the new version (which does compile) can't be worse.

2010-07-13 00:50 VZ, revision 64914

Remove 2.9.0 build slaves, they're not needed any more. We should restore them the next time we create a release branch but for now these builds are not needed and just clutter the build bot UI.

2010-07-13 00:49 VZ, revision 64913

Replace remaining references to 2.9.0 with 2.9.1. Also update the tech note listing the places that need to be changed when a new version is released and the script which updates them automatically. Finally update a couple of copyright years. Closes #12185.

2010-07-12 22:51 JWE, revision 64912

Simpify wxComboBox code.

2010-07-12 21:46 JWE, revision 64911

add tab fetaures but it is a problem, I need to remove the "default" selection. I have simplifie and optimize my code. I have resolved invalid problem. Now I have to update wxComboBox and finished tab. To finished to update the doc

2010-07-12 20:05 JTN, revision 64910

wxRegionIterator implementation

2010-07-12 19:47 SJL, revision 64909

Add tests for label functions in wxGrid.

2010-07-12 18:01 JTN, revision 64908

wxDC: Clipping

2010-07-12 18:00 JTN, revision 64907

wRegion implementation

2010-07-12 16:20 MYA, revision 64906

Refactor the class inheritance architecture

2010-07-12 14:53 SJL, revision 64905

Add tests for various wxGrid sorting functions.

2010-07-12 14:36 SJL, revision 64904

Add column order test for wxListCtrl.

2010-07-12 14:02 JTN, revision 64903

Fix wxDC foreground color when drawing text

2010-07-12 13:59 JTN, revision 64902

Implement wxScrollBar and use it for window scrolling

2010-07-12 13:39 JWE, revision 64901

add a new files to write wxComboBox maasked features. update the header of all classes to get maskedEdit features. The sample with wxComboBox works. Now I have to make some change if the input key is invalid (the cursor position change and that is not a good thing).

2010-07-12 12:22 SJL, revision 64900

Add VoidData test to ItemContainerTestCase, similar to ClientData test.

2010-07-12 11:54 SJL, revision 64899

Remove middle click tests from wxTreeCtrl and wxListCtrl as they are only generated by the generic controls.

2010-07-12 11:51 SJL, revision 64898

Skip non command events to allow correct testing of char events after key up and key down events.

2010-07-11 22:00 JMS, revision 64897

Fix non-PCH builds (closes #12217)

2010-07-11 21:25 PMO, revision 64896

Renamed wxQtScrollBarEventForwarder to wxQtScrollBar

2010-07-11 20:13 PMO, revision 64895

Renamed implementation internal methods to use Qt-prefix

2010-07-11 19:04 JMS, revision 64894

Added 'Delimiter' attribute for wxArrayStringProperty. Moved static ArrayStringToString() to wxArrayStringProperty.

2010-07-11 18:06 JMS, revision 64893

Have the new incarnation of wxPGArrayEditorDialog support the old-style 'custom button' event as something that happens when the wxEditableListBox's 'New Item' button is pressed

2010-07-11 17:31 PMO, revision 64892

Update to trunk r64891

2010-07-11 15:01 MYA, revision 64891

Now, normal layout works again and I know what the lines mean. :-)

2010-07-11 14:26 MYA, revision 64890

Fix bugs in GetAvailableRect.

2010-07-11 13:18 SJL, revision 64889

Add more wxGrid tests for cursor movement, cell selection, column and row adding and inserting, reordering columns and line formatting.

2010-07-11 12:44 VZ, revision 64888

No real changes, just fix unused parameter warning. Wrap dc parameter of wxRichTextCtrl::PaintAboveContent() in a WXUNUSED().

2010-07-11 12:44 VZ, revision 64887

Optionally set the window name in wxPersistentRegisterAndRestore(). In practice names are not often used so typically whenever you want to make a window settings persistent you also need to set its name and the it's convenient to let a single function do both tasks, so add an overload taking the name string (this is a separate function instead of optional parameter to avoid compilation errors if this is ever used with non-wxWindow-derived objects which don't have SetName() method). Also expand the documentation slightly and add @since tags.

2010-07-11 12:44 VZ, revision 64886

Set the string to search for in wxSearchCtrl events. It's more convenient to have the string to search for directly in the event object than to retrieve it from wxSearchCtrl itself as it had to be done before. Closes #4665.

2010-07-11 12:44 VZ, revision 64885

Don't use uninitialized variables in wxGrid::AutoSize(). The code in wxGrid::AutoSizeColOrRow() was using uninitialized col/row variable if the grid had no rows/columns, resulting in assertion failures when trying to automatically size the columns of an empty grid. Do initialize them now and also remove duplicate assignments to the variables which never change inside the loop. Closes #12206.

2010-07-11 12:44 VZ, revision 64884

Account for largest item in wxGenericListCtrl::GetBestSize(). Don't just return a hard-coded value but at least return something big enough to show the largest item in the control in non-report mode. This fixes the appearance of wxListbook which simply truncated its items before if they didn't fit in 80 pixels horizontally. Also switch to implementing DoGetBestClientSize() instead of DoGetBestSize() as this method doesn't account for the control borders (it does account for the scrollbars however).

2010-07-11 12:44 VZ, revision 64883

Add wxSize::IncBy() and DecBy() overloads taking wxPoint. It seems to make at least as much sense to extend a wxSize by wxPoint than by another wxSize (which doesn't make much size to me...) so add Inc/DecBy() overloads doing this. We might also add operator+=() overloads taking wxPoint for consistency but for now don't add more operator overloads unnecessarily, let's wait if anybody asks about this first.

2010-07-11 12:43 VZ, revision 64882

Ensure that wxGenericListCtrl always has wx[HV]SCROLL styles. Although these styles are unconditionally added when creating the window they could be reset by calling SetWindowStyleFlag() later and this in fact happened when changing control mode from wxListbook. As it doesn't make sense to have wxListCtrl without these styles, also add them unconditionally in overridden SetWindowStyleFlag() as well.

2010-07-11 12:43 VZ, revision 64881

Don't set negative size when using constraints for layout. Passing negative size to GTK+ results in error messages and in the future wxWindow::SetSize() itself might assert if passed negative size so just avoid setting it in the first place even if there is not enough space for everything.

2010-07-11 12:43 VZ, revision 64880

Implement wxWindow::DoGetBorderSize() for all ports. Implement DoGetBorderSize() properly for wxGTK and use the difference between the full window size and the client size for all the ports not implementing this method. The latter is incorrect in the presence of the scrollbars but is the best we can do in general.

2010-07-11 12:43 VZ, revision 64879

Fix item selection/focus drawing in generic wxListCtrl. Item focus rectangle was not drawn at all under wxGTK as the code doing it was disabled with a comment saying that it was drawn elsewhere -- but this wasn't the case. So remove #ifdefs for wxGTK/Mac from generic wxListCtrl code and do use wxRendererNative methods for all platforms. This fixes the appearance of the control under GTK and if it introduces any problems under Mac, they should be fixed in its wxRendererNative implementation and not by adding #ifdefs here.

2010-07-11 12:43 VZ, revision 64878

Don't use tree style to draw focus in DrawItemSelectionRect() in wxGTK. Using gtk_paint_focus() with a tree widget style did a clearly wrong thing with Clearlooks theme: instead of drawing a focus rectangle it drew a background with a shadow overflowing the specified rectangle. This resulted in junk being left when the selection was changing in wx{List,Tree}Ctrl. Just use the widgets own style instead as this seems to work just fine. After this change the code for focus drawing in DrawItemSelectionRect() became identical to the code of DrawFocusRect() so just call the latter from the former instead of duplicating its code.

2010-07-11 12:43 VZ, revision 64877

Allow user code to override key events in generic wxListCtrl. The changes of r58323 ("Restore keyboard navi") fixed the handling of cursor keys in the generic wxListCtrl implementation but at the price of not sending keyboard events for the cursor keys to wxListCtrl itself any more. This made it impossible to override their handling in user code, something that used to work in previous wx versions and still works in wxMSW. Revert the changes of this revision now and fix the original code by simply disabling the handling of the cursor keys in wxScrollHelperBase using a newly added DisableKeyboardScrolling() method. This ensures that the keyboard events for cursor keys are not used to scroll the window when they are forwarded to wxListCtrl from wxListMainWindow. The fix is conceptually ugly as it would be better to avoid the need for such ad hoc functions as DisableKeyboardScrolling() but it is very simple and there just doesn't seem to be any sane way to do it otherwise with wxScrollHelperBase.

2010-07-11 12:43 VZ, revision 64876

Fix setting wxStaticText alignment under wxGTK. The alignment was ignored unless a wxST_ELLIPSIZE_XXX style was already used. Apparently calling gtk_label_set_ellipsize(PANGO_ELLIPSIZE_NONE) resets the alignment, so set the alignment after setting the ellipsization style, not before. Another possible solution would be to avoid calling gtk_label_set_ellipsize() completely if no ellipsization styles are given but maybe the original code didn't do this for some (unknown and undocumented) reason so keep it this way. Closes #10716.

2010-07-11 12:43 VZ, revision 64875

Swap client data pointers in wxRearrangeList too. If the list box uses client data, we need to swap the data pointers too when exchanging items in it. Closes #12201.

2010-07-11 12:43 VZ, revision 64874

Correct the size of bitmap returned by wxRegion::ConvertToBitmap(). The bitmap was 1 pixel smaller than needed due to the unwarranted use of wxRect::GetRight() and GetBottom() instead of GetWidth() and GetHeight(). Closes #12213.

2010-07-10 22:39 JS, revision 64873

Syntax error fix

2010-07-10 21:10 SJL, revision 64872

Add WindowTestCase and tests for show, focus and key events.

2010-07-10 19:29 JTN, revision 64871

wxWindow key event handling

2010-07-10 18:19 JS, revision 64870

Updated configure for small, probably futile iPhone-related changes

2010-07-10 18:12 JS, revision 64869

Add CFNetwork framework

2010-07-10 17:40 JMS, revision 64868

Do not run focus detection when handling events from editor control (mostly because they may be showing a dialog)

2010-07-10 17:30 JMS, revision 64867

wxArrayEditorDialog now uses wxEditableListBox. It has also been renamed to wxPGArrayEditorDialog.

2010-07-10 16:42 JTN, revision 64866

Moved all window event handling to wxWindow and made it virtual

2010-07-10 16:36 SJL, revision 64865

Add tests for iconize and close events from wxFrame.

2010-07-10 16:22 JS, revision 64864

Use -miphoneos-version-min if compiling for iPhone and --with-macosx-version-min was specified. Otherwise .mm files may not compile correctly with some iPhone SDKs.

2010-07-10 14:38 JWE, revision 64863

add all fetaures in wxCombobox

2010-07-10 10:45 JS, revision 64862

Fixed frameworks for iPhone build

2010-07-09 19:26 JS, revision 64861

Fix undefined symbols

2010-07-09 18:32 JWE, revision 64860

add unit test. add a sample with multiple field. I beginning the two last part of my project: -change setSelection behavior and understand how the event system coud be stopped -attempt to add a system with regex validation If i can I want to merge GUI TEST branch with my branch to test my new classes

2010-07-09 17:17 JMS, revision 64859

Include scopeguard.h for wxON_BLOCK_EXIT_SET()

2010-07-09 16:54 JTN, revision 64858

Finish renaming WindowEventForwarder to wxQtEventForwarder (Make it compile again)

2010-07-08 22:50 PMO, revision 64856

Renamed WindowEventForwarder to wxQtEventForwarder

2010-07-08 19:35 JS, revision 64855

iPhone SDK 2.2 compilation

2010-07-08 19:35 JS, revision 64854

Respect wxUSE_MENUS in toolbar base classes

2010-07-08 16:45 SJL, revision 64853

Add test for FindItem in wxListCtrl

2010-07-08 16:21 SJL, revision 64852

Add extra wxTreeCtrl tests for iterating over items, item parent checking and collapsing and expanding items.

2010-07-08 15:32 JS, revision 64851

Avoid warning

2010-07-08 12:54 SJL, revision 64849

Add wxRichTextCtrl tests for selections, editable and range.

2010-07-08 11:58 SJL, revision 64848

Tests for various caret movement functions in wxRichTextCtrl.

2010-07-08 11:05 SJL, revision 64847

Add tests for undo and redo functionality, including batch undo and undo suppressing.

2010-07-08 10:45 SJL, revision 64846

Add tests for cut, copy and paste to RichTextCtrlTestCase

2010-07-07 21:25 SJL, revision 64845

Add tests for most wxRichTextCtrl events.

2010-07-07 20:51 JTN, revision 64844

Proper paintEvent handling for scrolled windows

2010-07-07 19:53 JTN, revision 64843

Scrollbars event handling

2010-07-07 19:16 JTN, revision 64842

wxWindow built-in scrollbars implemented (but scrollbar events are still not handled)

2010-07-07 14:42 MYA, revision 64841

Fix some compile errors and make the sample run again. But it is entirely a mess of the layout. :-)

2010-07-07 14:31 SJL, revision 64840

Add missing entry to bakefile list and fix a couple of typos.

2010-07-07 13:09 SJL, revision 64839

Tests for the line based functions in wxTextCtrl

2010-07-07 12:36 SJL, revision 64838

Simple tests for undo / redo and copy / paste functionality in wxTextEntry

2010-07-07 12:14 SJL, revision 64837

Add tests for URL events and style changes to wxTextCtrl.

2010-07-07 12:12 FM, revision 64836

mention wxPostEvent() and wxQueueEvent() and related wxEvtHandler functions. use wx prefix for event table macros.

2010-07-07 11:10 SJL, revision 64835

Add a proper image list test to wxBookCtrlBase. Create an image list for all classes but only test if specifically needed as not all classes use images, i.e. wxChoicebook.

2010-07-07 10:32 SC, revision 64834

only hide tool windows on deactivate, fixes #11924

2010-07-07 10:26 SC, revision 64833

supporting disabled tools, fixes #11457

2010-07-06 21:00 JTN, revision 64832

Remove code for not yet implemented events, and always default to Qt handling if wx doesn't provide an event handler

2010-07-06 20:59 JTN, revision 64831

wxScrollbar implementation

2010-07-06 15:00 SJL, revision 64830

Add wxToolbook tests. This differs from the other wxBookCtrlBase tests as it requires an image list and extra calls to Realize the toolbar.

2010-07-06 12:46 MYA, revision 64829

wxFloatCollector complete

2010-07-06 12:22 SJL, revision 64828

Add a set of tests for wxTreeItemData

2010-07-06 11:25 SJL, revision 64827

Add extra assert in CellEdit test to check that an event of type wxEVT_GRID_EDITOR_CREATED is generated

2010-07-06 10:59 SJL, revision 64826

Add a test for the range selection event in wxGrid

2010-07-06 10:31 SJL, revision 64825

Test for wxGrid column and row size events.

2010-07-06 09:28 MYA, revision 64824

add the basic floating layout idea to wxRichTextParagraph::Layout

2010-07-05 23:11 JWE, revision 64823

I have replace bind by connect, Add the sample single field, Add the auto completion for single field, Add unitary test for 2 methods, Add a format code to negative number, Add the possibility to replace decimal point, Beginning to code the multi field.

2010-07-05 16:27 SJL, revision 64822

Add a set of tests for wxRearrangeList, including a test for the issue in #12201

2010-07-05 16:23 VS, revision 64821

Add std::[w]string support to wxVariant.