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-10-08 12:28 JS, revision 77980

Page up/down behaviour now takes into account margins and scale GetTextForRange takes composites into account properly HasCharacterAttributes correction

2014-10-06 23:50 VZ, revision 77965

Check that there are no uncommitted changes in the release script. Any such changes wouldn't be included in the release, which is probably unexpected.

2014-10-06 23:50 VZ, revision 77964

Check that there are no uncommitted changes in the release script. Any such changes wouldn't be included in the release, which is probably unexpected.

2014-10-06 23:48 VZ, revision 77963

Really fix the 3.0.2 archives SHA1 sums. This corresponds to the archives with the correct configure version in them, finally.

2014-10-06 19:33 VZ, revision 77962

Rebake and rerun autoconf after 3.0.3 version update. Don't forget to update configure, this time.

2014-10-06 19:32 VZ, revision 77961

Updated SHA1 sums for the final 3.0.2 release archives. The sums have changed after updating "configure" included in the release.

2014-10-06 14:35 VZ, revision 77960

Fix several rounding problems with float values in wxPropertyGrid. See also r85980 in the trunk. Closes #15625.

2014-10-06 14:35 VZ, revision 77959

Fix several problems with number formatting in wxNumberFormatter. We shouldn't add thousands separators nor remove trailing zeros for the numbers in scientific format. Also avoid "-0" as output. See #15625. [This is the backport of r75560 from trunk.]

2014-10-06 14:35 VZ, revision 77958

Update version to 3.0.3. Run misc/scripts/inc_release, update version.bkl and changes.txt manually.

2014-10-06 14:35 VZ, revision 77957

Updated the released files SHA1 sums for 3.0.2. Also update the version and remove the bit about binaries being provided for the first time -- this is not true any more.

2014-10-05 16:26 VZ, revision 77956

Tag 3.0.2 release.

2014-10-05 16:18 VZ, revision 77955

Update README and announcement for 3.0.2 release. Fill in the release date (2014-10-06) and update the changes list.

2014-10-03 16:38 DS, revision 77954

Fix crash with newer OS X builds running on older. Use built-in zlib sources instead of system zlib. Backport of trunk r76382, r76383, and r76385. Closes #16192.

2014-10-03 15:43 DS, revision 77953

Regenerate Xcode projects. Update the Xcode projects to include xh_simplebook.cpp, as well as wxWebView related sources in the iPhone project.

2014-10-03 03:52 VZ, revision 77952

Add stubs for wxDisplayImplX11 functions appearing in the ABI. Add the stubs after the real functions were moved into wxDisplayImplGTK in r76365. This is necessary because wxDisplayImplX11 is wrongly exported from the DLL and so its virtual methods are part of the ABI.

2014-10-03 03:52 VZ, revision 77951

Undo parameter renaming in DoDrawRotatedText(). This doesn't make any difference, of course, but results in a warning from the ABI compliance checker tool, so undo this part of the changes of r74584.

2014-10-03 03:52 VZ, revision 77950

Send events when toggling wxPropertyGrid nodes from keyboard. Closes #15899. [This is the backport of r75665 from trunk.]

2014-10-03 03:52 VZ, revision 77949

Fix wrong wxStatusBar height in wxMSW in some circumstances. Creating the status bar before the menu bar but associating it with the frame after creating the menu bar resulted in a status bar of completely wrong height. Fix this by enforcing the default height on the status bar when it's attached to the frame. Closes #10956. [This is the backport of r76417 from trunk.]

2014-10-03 03:52 VZ, revision 77948

Allow using ESC as accelerator in wxMSW again. This ended up being broken due to an interplay between different unrelated changes (at least r15120 and r41134) which were both correct, but didn't work well together and resulted in not only preventing IsDialogMessage() from handling ESC, but also our own accelerator tables. Fix this by doing the check for IsDialogMessage() brokenness in MSWProcessMessage() itself, just before calling it, instead of doing it in MSWShouldPreProcessMessage() which is (and must be) called before MSWTranslateMessage() which checks for accelerators using ESC. Closes #3813. [This is the backport of r77071 from trunk.]

2014-10-03 03:52 VZ, revision 77947

Fix handling of bitmaps with alpha channel in wxMSW wxImageList. Don't use mask and alpha together, this results in visual artefacts and masks are unnecessary with RGBA bitmaps anyhow. The only potentially problematic remaining case is mixing bitmaps with alpha and mask inside the same image list (as we need to indicate whether we use the mask or not when creating it), but this should probably be rare and in the meanwhile we can at least RGBA bitmaps with image lists, which includes doing this implicitly when they are used as button bitmaps. Also refactor wxBitmap code to extract part of CopyFromIconOrCursor() to allow reusing it in the newly added MSWUpdateAlpha(). See #11476. [This is the backport of r75567 from trunk.]

2014-10-03 03:52 VZ, revision 77946

Fix generic wxSearchCtrl size/layout code. Override DoGetBestClientSize() instead of DoGetBestSize(), as we're really computing just the size of our contents and like this we don't need to hard code platform-dependent border sizes in this control itself. Also use the client size in LayoutControls() for the same reason. This also makes it unnecessary to pass it the width and height as it can find them on its own. And x and y were never used in the first place, so remove them too. Finally, center the bitmaps vertically. Closes #16422. [This is the backport of r77083 from trunk.]

2014-10-03 03:51 VZ, revision 77945

Fix changing the label of a submenu in wxMSW. Use position, not the ID, to find the native menu items to allow the code in wxMenuItem::SetItemLabel() and DoSetBitmap() to also work with submenus and not just the normal items. Closes #16246. [This is the backport of r76676 from trunk.]

2014-10-03 01:49 VZ, revision 77944

Don't export private wxDisplayImplX11 class. This class is only used internally and doesn't need to be exported. In addition to being unnecessary, this also resulted in ABI compatibility check errors after changes to this class in 3.0 branch, so avoid such problems in the future.

2014-10-02 16:35 VZ, revision 77943

Fix wxMSW build in UTF-8 build. Need an explicit cast to convert the buffer returned by wxString::t_str() to a pointer in this case.

2014-10-02 16:35 VZ, revision 77942

Fix wxMSW build in UTF-8 build. Need an explicit cast to convert the buffer returned by wxString::t_str() to a pointer in this case.

2014-10-02 16:35 VZ, revision 77941

Avoid selecting all rows up to UINT_MAX in generic wxDataViewCtrl. Shift clicking in a control with multiple selections without a previous current row attempted to select all rows from the current one up to UINT_MAX which resulted in a program freezing (and probably running out of memory in 64 bit builds). Fix this by explicitly checking for the absence of the current item. Closes #16582.

2014-10-02 12:36 VS, revision 77940

Fix warning when compiling against OS X 10.10 SDK. Something broke NSApp compatibility object in 10.10 and its setDelegate: expects NSFileManagerDelegate, not NSApplicationDelegate, and the compiler warns about. Use the equivalent [NSApplication sharedApplication] object to fix this. Also cast appcontroller to the expected type, because passing untyped object to setDelegate: yields a warning as well.

2014-10-02 12:36 VS, revision 77939

Fix warning when compiling against OS X 10.10 SDK. Something broke NSApp compatibility object in 10.10 and its setDelegate: expects NSFileManagerDelegate, not NSApplicationDelegate, and the compiler warns about. Use the equivalent [NSApplication sharedApplication] object to fix this. Also cast appcontroller to the expected type, because passing untyped object to setDelegate: yields a warning as well.

2014-09-29 19:32 PC, revision 77938

avoid Gtk-WARNING about negative allocation size with GTK3, closes #16563

2014-09-29 06:26 MAR, revision 77937

Allow setting font and brush in DC when the qt painter is not active in wxQT, thanks @seandpagnier

2014-09-29 06:23 MAR, revision 77936

Fix listctrl base window pointer in wxQT, thanks @seandpagnier

2014-09-29 06:21 MAR, revision 77935

Improve specific listctrl wxQT, thanks @seandpagnier

2014-09-29 06:18 MAR, revision 77934

Remove redundant __WXQT__ define, thanks @seandpagnier

2014-09-29 06:16 MAR, revision 77933

Implement readonly dcscreen for wxQT, thanks @seandpagnier

2014-09-29 06:14 MAR, revision 77932

Copy pixmap to match others ctors in wxQT, thanks @seandpagnier This should fix a double free crash

2014-09-29 06:11 MAR, revision 77931

Correct window transparency calculation in wxQT, thanks @seandpagnier

2014-09-29 06:10 MAR, revision 77930

Add inverted flag support to slider in wxQT, thanks @seandpagnier

2014-09-29 06:08 MAR, revision 77929

Improve wx->qt filter mapping logic in wxQT, thanks @seandpagnier

2014-09-29 06:03 MAR, revision 77928

Improve slider implementation in wxQT, thanks @seandpagnier

2014-09-29 06:01 MAR, revision 77927

Block qt signals when manually setting value to avoid emitting an event in wxQT, thanks @seandpagnier

2014-09-29 05:58 MAR, revision 77926

Fix case where widgets may get hidden by qt, thanks @seandpagnier

2014-09-29 05:56 MAR, revision 77925

Enable mouse tracking in wxQT, thanks @seandepagnier This is needed so qt mouse events are triggered without a button pressed. Note that I modified this to prevent a crash if m_qtWindow was null (reproducible with controls sample and the original patch from Sean)

2014-09-29 05:50 MAR, revision 77924

Implement abstract class for wxuniversal in wxQT, thanks @seandepagnier

2014-09-29 05:49 MAR, revision 77923

Remove unused event table in wxQT, thanks @seandepagnier

2014-09-29 05:43 MAR, revision 77922

Support native font info in wxQT, thanks @seandepagnier

2014-09-29 05:20 MAR, revision 77921

Implement more statusbar routines in wxQT, thanks @seandepagnier

2014-09-29 05:18 MAR, revision 77920

Fix wxControl rtti info in wxQT, thanks @seandepagnier

2014-09-29 05:17 MAR, revision 77919

Fix elliptic arc drawing for complete circle in wxQT, thanks @seandepagnier

2014-09-29 05:16 MAR, revision 77918

Discard repeated keyup events in wxQT, thanks @seandepagnier

2014-09-29 05:12 MAR, revision 77917

Allow SetFont to be called before Create in wxQT, thanks @seandepagnier

2014-09-29 05:06 MAR, revision 77916

Correctly handle default position values of -1 in wxQT, thanks @seandepagnier

2014-09-29 05:04 MAR, revision 77915

Allow NULL width and/or height pointer parameters in wxQT, thanks @seandepagnier

2014-09-29 05:01 MAR, revision 77914

Fix frame client size in wxQT, thanks @seandepagnier Compute frame size subtracting statusbar, and handle NULL status bar

2014-09-29 04:59 MAR, revision 77913

Fix issues with dashes in wxQT, thanks @seandepagnier

2014-09-29 04:58 MAR, revision 77912

Handle drawing lines correctly in wxQT, thanks @seandepagnier

2014-09-29 04:55 MAR, revision 77911

Improve wxQT cursor implementation, thanks @seandepagnier

2014-09-28 17:14 VZ, revision 77910

Remove obsolete toolkits mentions from configure. Cocoa, MGL and PM are not supported any more.

2014-09-28 17:14 VZ, revision 77909

Regenerate configure after power sample addition to configure.in. This should have been part of 77511, see #16413.

2014-09-28 01:29 VZ, revision 77908

Don't define wxSelectionStore::NO_SELECTION inline. This results in link errors under Unix for some reason.

2014-09-27 22:51 VZ, revision 77907

Don't leak memory when receiving TaskbarButtonCreated messages. It is possible to receive more than one TaskbarButtonCreated message for the same window, so at the very least don't leak memory if this happens. We really ought to notify the application to allow it to reinitialize the taskbar button in this case though. See #16566.

2014-09-27 22:46 VZ, revision 77906

Centre columns contents vertically in dataview sample. If we specify the horizontal alignment, we also need to specify the vertical alignment as otherwise the right-aligned columns would be also top-aligned, looking out of kilter with the other columns which are centered by default. Closes #16559.

2014-09-27 22:46 VZ, revision 77905

Use wxSelectionStore in wxDataViewCtrl generic implementation. This makes the code (slightly) shorter and more clear and is more efficient as selecting all items in wxDataViewCtrl is now a O(1) operation instead of being O(N), where N is the number of items -- and the latter could take quite a long time (and consume non-negligible amount of memory) for large N. Increase the size of the virtual list control from 1000 to 10000000 in the sample to show this.

2014-09-27 22:46 VZ, revision 77904

Handle multiple item insertion and deletion in wxSelectionStore. Rename the existing but not implemented and never used OnItemAdd() method to OnItemsInserted() and add OnItemsDeleted(), which is more efficient than OnItemDelete() when many items are being removed from the control at once. This is not used yet, but will be used in wxDataViewCtrl soon and maybe in the other controls later.

2014-09-27 22:46 VZ, revision 77903

Add wxSelectionStore::IsEmpty() helper. Just a simple and potentially (although not right now) more efficient equivalent to GetSelectedCount() == 0.

2014-09-27 22:46 VZ, revision 77902

Add possibility to iterate over all selected items in wxSelectionStore. This is necessary for retrieving all the selected items at once: while doing this is not recommended for a control with a potentially very large number of items, it must be possible to allow using wxSelectionStore for wxDataViewCtrl implementation as wxDataViewCtrl must implement its GetSelections() method.

2014-09-27 22:46 VZ, revision 77901

Simplify row selection function in the generic wxDataViewCtrl. No real changes, just don't make SelectRows() more complicated than necessary: it is always called with its arguments in order, so it doesn't need to reorder them and it is never called to deselect the items.

2014-09-27 22:46 VZ, revision 77900

Avoid selecting all rows up to UINT_MAX in generic wxDataViewCtrl. Shift clicking in a control with multiple selections without a previous current row attempted to select all rows from the current one up to UINT_MAX which resulted in a program freezing (and probably running out of memory in 64 bit builds). Fix this by explicitly checking for the absence of the current item. Closes #16582.

2014-09-27 19:26 VZ, revision 77899

Don't add DST offset when converting to local time zone. Local time zone already logically includes DST, even if its offset doesn't account for it (because the offset depends on the date, so it can't be part of TZ itself), so don't add it again when converting to/from it. Closes #16585.

2014-09-27 19:25 VZ, revision 77898

Don't add DST offset when converting to local time zone. Local time zone already logically includes DST, even if its offset doesn't account for it (because the offset depends on the date, so it can't be part of TZ itself), so don't add it again when converting to/from it. Closes #16585.

2014-09-27 18:15 VZ, revision 77897

Revert "Skip mouse button release events in wxGenericListCtrl." This reverts r76825 as it is not necessary any longer, the fix in the previous commit takes care of this problem more generally. See #16365.

2014-09-27 18:15 VZ, revision 77896

Don't prevent the other button release handlers from running in wxGTK. There doesn't seem to be any advantage in doing this, but it can result in problems see #16055. So just always let the other handlers for this event execute as well, even if we did process it.

2014-09-27 18:14 VZ, revision 77895

Revert "Skip mouse button release events in wxGenericTreeCtrl." This reverts r76093 as it broke label editing in the control. See #16055, closes #16573.

2014-09-27 18:14 VZ, revision 77894

Recognize Intel compiler as MSVC one under Windows in the build options. The two compilers are binary compatible and by pretending that Intel compiler is the same as MSVC, we allow using ICC to build applications using DLLs built with MSVC. Closes #9437. (this is a backport of r76425 from trunk).

2014-09-27 18:12 VZ, revision 77893

Revert "Skip mouse button release events in wxGenericListCtrl." This reverts r76824 as it is not necessary any longer, the fix in the previous commit takes care of this problem more generally. See #16365.

2014-09-27 18:12 VZ, revision 77892

Don't prevent the other button release handlers from running in wxGTK. There doesn't seem to be any advantage in doing this, but it can result in problems see #16055. So just always let the other handlers for this event execute as well, even if we did process it.

2014-09-27 18:12 VZ, revision 77891

Revert "Skip mouse button release events in wxGenericTreeCtrl." This reverts r76094 as it broke label editing in the control. See #16055, closes #16573.

2014-09-27 18:12 VZ, revision 77890

Avoid calling SetSize() from wxCompositeWindow::Create() under wxGTK. This was unexpected and resulted in a crash in the case of wxDatePickerCtrl. And while this particular crash could be fixed just by checking for the pointers validity in the overridden wxDatePickerCtrl::SetSize(), it seems better to avoid such unexpected calls to SetSize(), especially as they only happen under wxGTK, which calls SetLayoutDirection(wxLayout_Default) from its wxWindow::Create(), and so wouldn't be found by any amount of testing under other platforms. Closes #16589.

2014-09-26 16:42 VS, revision 77889

Fix handling of MSWWindowProc return value for menu events

2014-09-25 19:29 AW, revision 77888

In wxPropertyGridPageState use Boolean member variables to store Boolean values.

2014-09-25 19:22 AW, revision 77887

Fix saving edited property value when wxPG property is in 'invalid value' state. When wxPGProperty is loosing focus in 'invalid value' state its pending value should be stored before resetting property to 'normal' state because this operation (wxPG::OnValidationFailureReset) also resets pending value. Closes #16587

2014-09-25 18:10 VS, revision 77886

Don't break other toolbars with wxToolBar::OSXSetSelectableTools() wxOSX's implementation used a shared global delegate for all toolbars, which is not only highly unusual, but broke with code that modified the delegate. Specifically, wxPreferencesEditor's window uses OSXSetSelectableTools() to make its toolbar selectable. Because the delegate was shared, all toolbars in the application would start behaving as selectable as soon as the user opened preferences (even after the preferences window was closed). Don't share the delegate. Create a unique copy and store it in wxNSToolbar instance. This isn't particularly elegant solution, but it has the advantage of being binary compatible and simple.

2014-09-25 18:10 VS, revision 77885

Don't break other toolbars with wxToolBar::OSXSetSelectableTools() wxOSX's implementation used a shared global delegate for all toolbars, which is not only highly unusual, but broke with code that modified the delegate. Specifically, wxPreferencesEditor's window uses OSXSetSelectableTools() to make its toolbar selectable. Because the delegate was shared, all toolbars in the application would start behaving as selectable as soon as the user opened preferences (even after the preferences window was closed). Don't share the delegate. Create a unique copy and store it in wxNSToolbar instance. This isn't particularly elegant solution, but it has the advantage of being binary compatible and simple.

2014-09-25 14:29 VS, revision 77884

Make toggle toolbar button emulation on OS X nicer Actually use gray background behind toggled icon. Remove the ugly black frame. Increase rounded rectangle's radius so that it is (barely) visible that the rectangle is rounded. Previously, the code used wxLIGHT_GREY by mistake, which is the same color as the toolbar already uses, so toggled items were rendered with the same background as untoggled, only with an ugly black rectangle around them.

2014-09-25 14:29 VS, revision 77883

Make toggle toolbar button emulation on OS X nicer Actually use gray background behind toggled icon. Remove the ugly black frame. Increase rounded rectangle's radius so that it is (barely) visible that the rectangle is rounded. Previously, the code used wxLIGHT_GREY by mistake, which is the same color as the toolbar already uses, so toggled items were rendered with the same background as untoggled, only with an ugly black rectangle around them.

2014-09-24 16:55 VZ, revision 77882

Fix compilation of generic renderer DrawGauge() in non-PCH build. Include "wx/msw/wrapwin.h" explicitly to get the declaration of MulDiv() needed since the changes of r77748. Closes #16577.

2014-09-24 14:59 JS, revision 77881

Fixes for visibility, GetVisibleLineForCaretPosition, and bitmap drawing slowness

2014-09-24 14:52 JS, revision 77880

Improved search text control height and position on Windows. Was previously much too tall (regression from 3.0).

2014-09-24 14:48 JS, revision 77879

Corrected border size for wxBORDER_THEME

2014-09-24 14:48 JS, revision 77878

Corrected border size for wxBORDER_THEME

2014-09-24 05:39 PC, revision 77877

avoid duplicate initialization and warnings about initialization order

2014-09-24 04:04 RD, revision 77876

Add cairo_image_surface_get_[width|height] to the wxCairo dynamic importer

2014-09-24 04:03 RD, revision 77875

Add cairo_image_surface_get_[width|height] to the wxCairo dynamic importer

2014-09-23 19:45 VZ, revision 77874

Detabify the new wxX11 clipboard sources. No changes, just whitespace cleanup.

2014-09-23 19:45 VZ, revision 77873

Avoid deprecated wxPen/wxBrush/wxFont API in wxX11 code. Also simplify the code by relying on implicit constructors of wxPen and wxBrush from wxColour.

2014-09-23 19:45 VZ, revision 77872

Avoid signed/unsigned comparison warnings. Also declare the variable only used inside the loop in the loop statement itself.

2014-09-23 19:44 VZ, revision 77871

Remove unused TRACE_CLIPBOARD variable from wxX11 wxClipboard code. wxLogTrace() calls using this apparently were removed, so remove the trace mask as well to avoid "unused variable" warnings about it.

2014-09-23 19:44 VZ, revision 77870

Remove trivial difference with master before merge. Somehow an empty line got removed in the AUI sample, restore it.

2014-09-23 19:44 VZ, revision 77869
  • D /wxWidgets/trunk/src/univ/.textctrl.cpp.swp

Remove accidentally committed swap file.

2014-09-23 19:44 VZ, revision 77868

Initialize the member at first, make sure it would not cause segementation fault on the platform that not define wxHAS_RAW_BITMAP, the true init and assign function called within it

2014-09-23 19:44 VZ, revision 77867

remove these codes. The code could not work correctly under x11. Redesigning

2014-09-23 19:44 VZ, revision 77866

no changes, add more specific description of these tests.

2014-09-23 19:44 VZ, revision 77865

store the raw data in bitmap to m_buffer that in wxCairoBitmapData

2014-09-23 19:44 VZ, revision 77864

merge to independent preprocessor to one check.

2014-09-23 19:44 VZ, revision 77863

let wxCairoContext could create cairo context correctly under x11 in this constructor

2014-09-23 19:44 VZ, revision 77862

This statement that will cause segmentation fault before. Now it ok and enable it

2014-09-23 19:44 VZ, revision 77861

remove unnecessary Clear() and wrong delete

2014-09-23 19:44 VZ, revision 77860

use wxCharTypeBuffer replace unsigned char pointer

2014-09-23 19:44 VZ, revision 77859

delete variable on stack is wrong, remove it

2014-09-23 19:44 VZ, revision 77858

remove unnessary internal variables, parameters; use wxVector replace c++ array; enable implemented function parameter

2014-09-23 19:44 VZ, revision 77857

adjust codes according to comments of Catalin

2014-09-23 19:44 VZ, revision 77856

add return to a case statment, make sure it is not fall through to other statment

2014-09-23 19:44 VZ, revision 77855

add WXX11 check. make sure only reposition scrollbar under x11

2014-09-23 19:44 VZ, revision 77854

use cairo implement rotated text

2014-09-23 19:44 VZ, revision 77853

make x11 dc could get cairo context, so the graphic module could use in x11. This use cairo xlib backend.

2014-09-23 19:44 VZ, revision 77852

fix complilation error: narrowing conversions in xbm files under wxX11. For discussion, please see ticket 12575

2014-09-23 19:43 VZ, revision 77851

update wxBrush and wxPen style in x11/dcclient.cpp

2014-09-23 19:43 VZ, revision 77850

wxSTC need to reposition the scrollbar when recive size change event.

2014-09-23 19:43 VZ, revision 77849

change the size of checkbox and radiobutton, the 14*14 is most common used size

2014-09-23 19:43 VZ, revision 77848

Rewrite the wxX11 cliboard

2014-09-23 19:43 VZ, revision 77847

x11 alrady support GetUnicodeKey() by last commit, remove these check

2014-09-23 19:43 VZ, revision 77846

make wxKeyEvent could get unicode key under x11, add a x11 keysym--unicode char map tab

2014-09-23 19:43 VZ, revision 77845

improve the commit according the comments of Catalin

2014-09-23 19:43 VZ, revision 77844

we must store the to be focused window before we kill focus on a window

2014-09-23 19:43 VZ, revision 77843

Remove the dead code that copied from gtk1 port. And initial implementation of x11 clipboard support. It only support text for now

2014-09-23 19:43 VZ, revision 77842

enable wxNEEDS_UTF8_FOR_TEXT_DATAOBJ flag for x11 TextDataObject, and add implementation of GetAllFormat function

2014-09-23 19:43 VZ, revision 77841

Should not send event again when mouse release.

2014-09-23 19:43 VZ, revision 77840

input handler should coreesponding the widget instance, wxListBox and wxCheckListBox has its own input handler, so create it differenctly

2014-09-23 19:43 VZ, revision 77839

refine the condition check and correct a check condition

2014-09-23 19:43 VZ, revision 77838

wxX11 could not get UnicodeKey yet, not wxUniversal. And use AND instead OR. otherwise the check not work.

2014-09-23 19:43 VZ, revision 77837

add wxYield to make sure all event was executed.

2014-09-23 19:43 VZ, revision 77836

Modifiers down should not generate wxEVT_CHAR event, and reset keyboardState when recieve modifiers up.

2014-09-23 19:43 VZ, revision 77835

refine the implementation of SetFocus, clean up unused static variables

2014-09-23 19:42 VZ, revision 77834

about focused window, replace static variables implementation by DoFindFocus

2014-09-23 19:42 VZ, revision 77833

wxX11 return keycode by GetKeyCode directly, not support GetUnicodeKey yet

2014-09-23 19:42 VZ, revision 77832

add wxYield() after SetFocus, make sure the all event will be executed.

2014-09-23 19:42 VZ, revision 77831

replace DoSetValue by ChangeValue, which do not send event too, and consistent with docs.

2014-09-23 19:42 VZ, revision 77830

completely disable the style in wxChoice constructor in wxUniv is wrong

2014-09-23 19:42 VZ, revision 77829

call DoSetValue directly will allow us not send event.

2014-09-23 19:42 VZ, revision 77828

wxComboCtrl::Clear() will call wxComboCtrl::SetValue(), but wxItemContainer::Clear() will call it too. So no need to call wxComboCtrl::Clear() here

2014-09-23 19:42 VZ, revision 77827

disable the unit test under wxUniv too. wxGrid implementation may has bug that work with simulator

2014-09-23 19:42 VZ, revision 77826

add GetLabel/SetLabel implementation to wxWindowX11, the function just store the label string, but do nothing with it

2014-09-23 19:42 VZ, revision 77825

reenable this tests under wxUniv/x11 port. EventPropagationTestCase::MenuEvent cause the problem, not these. MenuEvent will be fixed later

2014-09-23 19:42 VZ, revision 77824

check the return value of DoInsert and DoAppend, if failed, return NULL immediately

2014-09-23 19:42 VZ, revision 77823

refine the wxEVT_TEXT_MAXLEN event handle implementation

2014-09-23 19:42 VZ, revision 77822

add check, if insert item failed, then return null

2014-09-23 19:42 VZ, revision 77821

adjust the implementation about max length limitation according review comments

2014-09-23 19:42 VZ, revision 77820

modify the listbasetest.(10,5) is not a correct position in wxUniv/x11 listbase test. (10, 10) could work both on wxUniv/x11 and other ports(already tested)

2014-09-23 19:42 VZ, revision 77819

add maxline restriction in single line mode textCtrl. let textctrl will fire wxEVT_TEXT_MAXLEN and not recive the chars when the text length beyond the maxlength

2014-09-23 19:42 VZ, revision 77818

set enc to wxUnusedVar in unicode mode, remove the old ugly code

2014-09-23 19:42 VZ, revision 77817

in unicode, we did not need the font encoding parameter

2014-09-23 19:41 VZ, revision 77816

adjust code to apply the wx coding guidelines

2014-09-23 19:41 VZ, revision 77815

free the data in deconstructor that created in constructor

2014-09-23 19:41 VZ, revision 77814

the font data have to stroe in m_nativeFontInfo, otherwise the constructor that use wxNavtiveFontInfo as parameter could not retrive the data in it.

2014-09-23 19:41 VZ, revision 77813

Add get/set strikeline support to wxFont/x11.

2014-09-23 19:41 VZ, revision 77812

make wxPalette under x11 could store/get uchar RGB value in palette and also could get the color number in palette.

2014-09-23 19:41 VZ, revision 77811

Make sure the behaviour of slider in wxUniv is consistent with other ports, left to min, right to max

2014-09-23 19:41 VZ, revision 77810

Make the comment more accurate, and the SetFocus is comment before, this is just restore it

2014-09-23 19:41 VZ, revision 77809

treat -1 as the last position in wxTextCtrl::SetInsertionPoint

2014-09-23 19:41 VZ, revision 77808

Make slider thumb could moving when use mouse drag it, and also set the slider value according to the thumb position

2014-09-23 19:41 VZ, revision 77807

Mouse capture data should only release when mouse release. And also make sure the data will delete in desconstructor

2014-09-23 19:41 VZ, revision 77806

Add wxEVT_SLIDER support to wxSlider under wxUniv

2014-09-23 19:41 VZ, revision 77805

add wxYield() to make sure the former event will executed done

2014-09-23 19:41 VZ, revision 77804

In wxUniv x11 port. Should not set focus to popup control

2014-09-23 19:41 VZ, revision 77803

after analisys the behaviour of treectrl in GTK and Qt, right arrow should not move down. Expand the current item will be fine

2014-09-23 19:41 VZ, revision 77802

after reset the m_current(focused item) in ClearFocusedItem(), the test could pass under wxUniv. Due to wxGTK and wxOSX use it in same way. So remove the check in test

2014-09-23 19:41 VZ, revision 77801

ClearFocusedItem should reset the selected item

2014-09-23 19:41 VZ, revision 77800

add wxYield() after SetFocus(), set focus event needs to be processed before the control can accept input

2014-09-23 19:41 VZ, revision 77799

add a check, make sure some action key could generate wxEVT_TEXT event. That is needed in some control, such as wxSpinCtrl

2014-09-23 19:40 VZ, revision 77798

When append menu with titlt, the menu should set the title

2014-09-23 19:40 VZ, revision 77797

revised wxRadioButton draw function

2014-09-23 19:40 VZ, revision 77796

rewrite the radio button draw function under gtk theme

2014-09-23 19:40 VZ, revision 77795

Fix the position calculating of insert a radio menu item

2014-09-23 19:40 VZ, revision 77794

make sure the first item of a radio group is checked by default

2014-09-23 19:40 VZ, revision 77793

use DoGetValue() in parent class will be enough, and add readonly support to SetValue()

2014-09-23 19:40 VZ, revision 77792

wxListBox in wxUniv need to overwrite DoListHistTest function, otherwise Listbox::HitTest will call DoListHitTest in wx/listbox.h, which will always return wxNOT_FOUND

2014-09-23 19:40 VZ, revision 77791

if call SetSelection by wxNOT_FOUND in listbox of wxUniv, just deselect all

2014-09-23 19:40 VZ, revision 77790

When call EnsureVisible in wxUniv, make sure reset visible lines range correctly.

2014-09-23 19:40 VZ, revision 77789

Adjust code, to consistent with the coding style

2014-09-23 19:40 VZ, revision 77788

wxCheckListBox must clear the object that created in parent class

2014-09-23 19:40 VZ, revision 77787

Add GetBitmap support to wxButton in wxUniv

2014-09-23 19:40 VZ, revision 77786

If string are empty, DoGetTextExtent should not return descent by a random value

2014-09-23 19:40 VZ, revision 77785

These test will cause test_gui segmentation fault, disable for now.

2014-09-23 19:40 VZ, revision 77784

Enable these wxRegion constructor for x11 port

2014-09-23 19:40 VZ, revision 77783

The unit test will use WX_ASSERT_FAILS_WITH_ASSERT to check DoSetRegion(test/geometry/region.cpp:101) eventually, and the macro could handle exception, not true or false. Change it consistent with other port

2014-09-23 19:40 VZ, revision 77782

Adjust the bitmapButton size according the bitmap size when set bitmap to BitmapButton in wxUniv port

2014-09-23 19:39 VZ, revision 77781

wxColurRefData in x11 did not overwrite CreateRef function, so it should not use AllocExclusive(), use UnRef() instead, just like InitRGBA() function in wxGTK port did

2014-09-23 19:39 VZ, revision 77780

wxUniv not support unicode yet

2014-09-23 19:39 VZ, revision 77779

Add more evidential comments, adjust code to follow coding style

2014-09-23 19:39 VZ, revision 77778

Fix the prepocessor directive, from __WXOSX_COCOA__ to __WXOSX__

2014-09-23 19:39 VZ, revision 77777

Make wxSlider behaviours in wxUniv same as other ports, and generate proper wxScrollEvent

2014-09-23 19:39 VZ, revision 77776

Add wxEVT_SET_FOCUS and wxEVT_KILL_FOCUS event to wxX11

2014-09-23 19:39 VZ, revision 77775

wxX11 use XColor directly, so wxX11 does not support alpha at all currently

2014-09-23 19:39 VZ, revision 77774

GetLabel should return the original label that with mnemonics, the original label stored in wxControlBase m_labelOrig, get it by wxControlBase::GetLabel()

2014-09-23 19:39 VZ, revision 77773

Fix `Error: Failed to initialize GUI: no built-in themes found` when run gui and load theme, by add WX_USE_THEME in the place that create them object

2014-09-23 19:39 VZ, revision 77772

Adjust comments

2014-09-23 19:39 VZ, revision 77771

Fix code input mistakes and type convertion

2014-09-23 19:39 VZ, revision 77770

Remove the conditional preprocessor directive around wx/stockitem.h, the head file not cause any problem, revert the mistake that I made in 2e2b1313d97ea1c79a396333f40872157fd629d4

2014-09-23 19:39 VZ, revision 77769

Solve textctrl handle char type event twice error, correct the insertion point calculation

2014-09-23 19:39 VZ, revision 77768

as convention, if a text range is (x, -1), it means from x to the end, so if `to` was -1, set it to the last position

2014-09-23 19:39 VZ, revision 77767

in wxUniv, non-editable textctrl must be set focus, so that could get input value

2014-09-23 19:39 VZ, revision 77766

in wxGTK, wxOSX/Cocoa, plus wxUniv, GetNumberOfLines() always returns the number of logical, not physical, lines. See #12366, maybe they did not test wxUniv at that time.

2014-09-23 19:39 VZ, revision 77765

wxUniv focus on wx11 port, so modified unv/theme.h, make GTK theme as the default theme

2014-09-23 19:39 VZ, revision 77764

add if preprocessor directive, if wxUniv build with MSW, include wx/stockitem.h, others are not. with x11 and this head file will cause error

2014-09-23 19:39 VZ, revision 77763

Add wx/stockitem.h to univ/button.cpp and univ/tglbtn.cpp, to fix wxUniv MSW complitaion error

2014-09-23 19:38 VZ, revision 77762

Click scrollbar will cause recapture mouse twice error, add check sentence before capture and release mouse in HandleMouse()

2014-09-23 19:38 VZ, revision 77761

Release the mouse and capture data at the end of the function. This was not always done before and it was wrong because other event such as mouse left up will not release mouse

2014-09-23 19:38 VZ, revision 77760

wxX11 wxFont miss the wxFont (const wxString &nativeInfoString) ctor, it will cause build tests failed. Added and fixed

2014-09-23 19:38 VZ, revision 77759

Refactor: create src/univ/anybutton.cpp. Extract and pull the common functions from wxButton and wxToggleButton to wxAnyButton in wxUniv too. Also make wxToggleButton inherit from wxToggleButtonBase correctly

2014-09-23 18:37 PC, revision 77758

cairo_image_surface_get_{width,height} have been available in cairo since version 1.0

2014-09-21 13:51 VZ, revision 77757

Fix wxCompositeWindow compilation after the latest change. SetSize() doesn't have any dependent parameters so call it via an explicit "this->" to make it work with standard conforming compilers (and not MSVC).

2014-09-21 03:41 VZ, revision 77756

Update layout of wxCompositeWindow on layout direction change. The children layout will almost always depend on the layout direction, so redo it when the latter changes. In particular, this fixes changing the layout of wxSpinCtrlDouble under MSW. See #11583.

2014-09-21 03:41 VZ, revision 77755

Fix setting layout direction for wxSpinCtrl in wxMSW. Position the spin control components (the button and the text) correctly for the current layout. Also update the layout of the text explicitly. See #11583.

2014-09-21 03:41 VZ, revision 77754

Fix setting layout direction for wxComboBox in wxMSW. The EDIT control used by the native combobox is different from normal EDIT controls and has to be handled specially. We also need to explicitly forward WS_EX_LAYOUTRTL to the dropdown window as it doesn't inherit it from the combobox itself automatically. See #11583.

2014-09-21 03:41 VZ, revision 77753

Don't leak global objects in Direct2D code. Ensure that all globals are freed on library shutdown by using a module just to perform this cleanup.

2014-09-21 03:41 VZ, revision 77752

Don't call CoInitializeEx() from Direct2D code. This is unnecessary, COM is already initialized on the application startup and Direct2D can't be used before that anyhow. This also fixes lack of matching CoUninitialize() call.

2014-09-21 00:12 VZ, revision 77751

Document wxWindow::HitTest(). This is not a very useful method, but by providing at least some documentation for it, we prevent it from inheriting the docs for the next method, which have nothing to do with it.

2014-09-21 00:07 VZ, revision 77750

Fix double release in wxGLCanvas code. The change in r77701 was partially wrong, we shouldn't release Objective-C object if initializing it failed. See #16555.

2014-09-21 00:07 VZ, revision 77749

Avoid integer overflow/wraparound in wxString::Mid(). Don't compare nLength with "nFirst + nCount" as this could wrap around. Compare nCount with maximal allowed count, after ensuring that nFirst itself is valid first, instead. Closes #16572.

2014-09-21 00:07 VZ, revision 77748

Use wxMulDivInt32() instead of multiplying and dividing ints with doubles. This is mostly done to avoid warnings about converting the result of multiplying and dividing an int by doubles back to int, but is also more correct as wxMulDivInt32() rounds the result correctly instead of truncating the fractional part, and is also a tiny bit more efficient under MSW where the native ::MulDiv() is available.

2014-09-21 00:07 VZ, revision 77747

Make wxTextCtrlOleCallback destructor virtual to avoid g++ warnings. This class doesn't really need a virtual dtor as it's never used polymorphically, but add it to avoid g++ warnings about it.

2014-09-21 00:07 VZ, revision 77746

Fix harmless g++ warning about "using NULL in arithmetic". ::SetThreadExecutionState() returns a DWORD, which is not a pointer, so compare its return value with 0, not NULL.

2014-09-21 00:07 VZ, revision 77745

Don't use wxMSW wxAppProgressIndicator if wxUSE_TASKBARBUTTON==0. This class requires wxTaskBarButton to be really implemented, so there is no need to even define the MSW-specific version of it if wxUSE_TASKBARBUTTON is 0 anyhow. This fixes a compilation problem with wxUSE_TASKBARBUTTON==0 but, more importantly, just makes more sense.

2014-09-21 00:07 VZ, revision 77744

Show the message of unexpected message boxes in wxTestingModalHook. This is more informative than showing just the title and we can do it for the message boxes and it's worth handling them specially just because they are so common.

2014-09-21 00:07 VZ, revision 77743

Allow customizing unexpected dialogs description in wxTestingModalHook. Extract creation of the message describing an unexpected dialog in a separate virtual method in order to allow customizing it, notably in order to add more useful description of custom application dialogs.

2014-09-21 00:07 VZ, revision 77742

Mention the title of the unexpected dialog in wxTestingModalHook. It's not very helpful to just say that an unexpected dialog was shown, using its title provides at least some hint as to what dialog it was.

2014-09-21 00:07 VZ, revision 77741

Return the caption from wxMessageDialog::GetTitle(). It was unexpected that wxMessageDialog::GetTitle() returned empty string even when non-empty caption, which is just another word for title, was specified. Implement GetTitle() as synonym for GetCaption() and also provide SetTitle() for consistency.

2014-09-21 00:06 VZ, revision 77740

Fix double release in wxGLCanvas code. The change in r77699 was partially wrong, we shouldn't release Objective-C object if initializing it failed. See #16555.

2014-09-20 21:57 AW, revision 77739

Use wxPropertyGrid::HasInternalFlag() function to check internal flags.

2014-09-20 21:46 AW, revision 77738

Fix manual selection of custom colour item for wxColourProperty and wxSystemColourProperty in wxPG. If keyword 'custom' is entered into the edit field of wxColourProperty or wxSystemColourProperty (with wxPGEditor_ComboBox) then dialog box to query for custom colour should be invoked. Afterwards, when control value is updated, its selection index should be also updated respectively.

2014-09-20 01:56 RD, revision 77737

Oops, a '{' got lost somewhere from the last commit...

2014-09-20 01:44 RD, revision 77736

Oops, a '{' got lost somewhere from the last commit...

2014-09-20 01:28 RD, revision 77735

I'm not totally sure when they were added, but the cairo_image_surface_get_[width|height] functions are not available in cairo 1.10.2.

2014-09-20 01:21 RD, revision 77734

I'm not totally sure when they were added, but the cairo_image_surface_get_[width|height] functions are not available in cairo 1.10.2.

2014-09-19 13:51 VZ, revision 77725

Avoid integer overflow/wraparound in wxString::Mid(). Don't compare nLength with "nFirst + nCount" as this could wrap around. Compare nCount with maximal allowed count, after ensuring that nFirst itself is valid first, instead. Closes #16572.

2014-09-18 16:52 JJ, revision 77724

Synchronizing setup.h_vms with setup.h.in

2014-09-18 16:40 JS, revision 77723

Implemented vertical image alignment.

2014-09-18 16:39 JS, revision 77722

Implemented vertical image alignment.

2014-09-18 02:03 VZ, revision 77721

Document wxGraphicsContext::CreateBitmapFromNativeBitmap() ownership rules. Mention that it takes ownership of the native bitmap passed to it.

2014-09-18 02:02 VZ, revision 77720

Fix crash when creating wxGraphicsBitmap from cairo_surface_t. Initialize m_buffer to avoid crashes when deleting it in Cairo-based wxGraphicsContext implementation for bitmaps created from the native ones. Don't leave the bitmap size uninitialized neither, this might not result in crashes, but is definitely wrong as well.

2014-09-18 02:01 VZ, revision 77719

Document wxGraphicsContext::CreateBitmapFromNativeBitmap() ownership rules. Mention that it takes ownership of the native bitmap passed to it.

2014-09-18 02:01 VZ, revision 77718

Fix crash when creating wxGraphicsBitmap from cairo_surface_t. Initialize m_buffer to avoid crashes when deleting it in Cairo-based wxGraphicsContext implementation for bitmaps created from the native ones. Don't leave the bitmap size uninitialized neither, this might not result in crashes, but is definitely wrong as well.

2014-09-17 12:15 VZ, revision 77717

Update information about wxOSX/Cocoa in the platform overview. Mention that OS X 10.7 is now required and that Cocoa is preferred to Carbon now.

2014-09-16 18:05 SC, revision 77716

backport, fixes #16564

2014-09-16 18:04 SC, revision 77715

fixing #16564, partly reverting r76426

2014-09-16 14:50 PMO, revision 77714

Re-added wxQtPointer smart pointer for easier memory management.

2014-09-15 19:27 VZ, revision 77711

Don't define wxUSE_GRAPHICS_GDIPLUS as 1 by default. Define it and wxUSE_GRAPHICS_DIRECT2D, when it's supposed to be enabled, as wxUSE_GRAPHICS_CONTEXT instead. This ensures they are set to 0 if the use of wxGraphicsContext is entirely disabled, as is the case when using MinGW under MSW by default for example. Closes #16558.

2014-09-15 19:27 VZ, revision 77710

Remove wrong freshness check from build/update-setup-h script. This didn't work correctly if a header was updated from its corresponding setup0.h first as it was then newer than include/wx/msw/setup_inc.h even though it had been older than it at the start of the script execution. Just keep things simple and get rid of the check.

2014-09-15 18:01 VZ, revision 77709

Get rid of IsOk() accessor in Cairo implementation code. This was quite useless as m_ok flag was public anyhow, just use it directly. Incidentally closes #16560.

2014-09-15 14:04 VZ, revision 77708

Portuguese translations update from @mansil. Closes PR #16.

2014-09-15 01:58 VZ, revision 77707

Always include wxGA_PROGRESS in wxGauge styles enumeration. It can still be used even if it's not available under the current platform.