1  wxErlang Release Notes

1 wxErlang Release Notes

This document describes the changes made to the wxErlang application.

  • Fix crash in cleanup code when a gui application is exiting.

    Fix errors in the OpenGL wrapper that could cause crashes and improve the documentation.

    Own Id: OTP-17745

  • Fix crash when closing an application.

    Own Id: OTP-17507

  • Some functions with overloaded color arguments could not be used. For example the copy constructor wxTextAttr:new(TextAttr) did not work.

    Own Id: OTP-17577 Aux Id: GH-4999

  • Added the Microsoft Edge WebView loader dll to the installer on windows.

    Own Id: OTP-17325

  • Handle specific Mac gui application events.

    Own Id: OTP-17438 Aux Id: PR-4780

  • Fix build problems when wxWidgets are built with -enable-std.

    Own Id: OTP-17407 Aux Id: GH-4834

  • Commit of generated configure script.

    Own Id: OTP-17420 Aux Id: OTP-17398, GH-4821

  • Fix compiler warnings produced by the clang compiler.

    Own Id: OTP-17105 Aux Id: PR-2872

  • The application has been completely rewritten in order to use wxWidgets version 3 as its base.

    Add basic documentation generated from the wxWidgets project.

    Own Id: OTP-16800

  • The experimental HiPE application has been removed, together with all related functionality in other applications.

    *** POTENTIAL INCOMPATIBILITY ***

    Own Id: OTP-16963

  • Added support for wxWebView.

    Own Id: OTP-17213 Aux Id: PR-3027

  • Due to the support of the new backend versions some API incompatibilities have been introduced. Examples of changes are:

    wxWindowDC default creators have been removed
    wxClientDC default creators have been removed
    wxPaintDC default creators have been removed
    wxWindow:setVirtualSizeHints() has been deprecated in wxWidgets and removed
    wxWindow:makeModal() has been deprecated in wxWidgets and removed
    wxToolBar:add/insertTool without label have been deprecated in wxWidgets and removed
    wxStyledTextCtrl some functions have changed arguments from boolean to int
    wxSizerItem:new() Some arguments have become options
    Removed deprecated wxSizerItem:setWindow() use assignWindow()
    Removed deprecated wxSizerItem:setSpacer() use assignSpacer()
    Removed deprecated wxSizerItem:setSpacer() use assignSpacer()
    Removed deprecated wxSizerItem:setSizer() use assignSizer()
    wxMenu append/insert/prepend have changed return value and lost IsCheckable argument
    wxListCtrl:setItem/4 changed return value
    wxImage:convertToGreyscale() options have changed
    wxGridSizer:wxGridSizer() options have changed
    wxGrid API have many changes
    wxGraphicsRenderer:create*GradientBrush() uses GradientStops now
    wxGraphicsRenderer:createPen() have been removed
    wxGraphicsRenderer:create*GradientBrush() uses GradientStops now
    wxGLCanvas API is incompatible
    wxFlexGridSizer:wxFlexGridSizer() options have changed
    wxDisplay:new() options have changed
    wxCalendarDateAttr:new(ColText [,OptList]) have been removed
    wxBitmapButton:set/getBitmapSelected() have been removed

    *** POTENTIAL INCOMPATIBILITY ***

    Own Id: OTP-17219 Aux Id: OTP-16800

  • Commit of generated configure script.

    Own Id: OTP-17420 Aux Id: OTP-17398, GH-4821

  • Fixed wx initialization on mac, top level menus did not always work on newer MacOS versions. The menues will not work until wxWidgets-3.1.5 is released and used on these MacOS versions.

    Own Id: OTP-17187

  • Add popup menu callback to wxTaskBarIcon:new/1.

    Own Id: OTP-16983 Aux Id: PR-2743

  • Fix various compiler warnings on 64-bit Windows.

    Own Id: OTP-15800

  • Refactored the internal handling of deprecated and removed functions.

    Own Id: OTP-16469

  • Commit of generated configure script.

    Own Id: OTP-17420 Aux Id: OTP-17398, GH-4821

  • Added wxWindow:isShownOnScreen/1, wxMouseEvent:getWheelAxis and mac specific menubar functions. Fixed defines that have changed in newer wxWidgets versions, that caused some literals to become run-time dependent on wxWidgets version.

    Own Id: OTP-16285

  • Fix a driver bug that could crashes when allocating memory.

    Own Id: OTP-15883 Aux Id: PR-2261

  • All incorrect (that is, all) uses of "can not" has been corrected to "cannot" in source code comments, documentation, examples, and so on.

    Own Id: OTP-14282 Aux Id: PR-1891

  • Improved support for wxWidgets 3.1.3 which have changed wxFONTWEIGTH, also added wxGCDC and wxDisplay modules.

    Fixed a crash on Mojave and check for events more often.

    Own Id: OTP-15587

  • Fixed delayed delete bug which caused wx applications to crash on Mojave.

    Own Id: OTP-15426 Aux Id: ERL-755

  • Fixed compilation warning on Darwin.

    Own Id: OTP-15230 Aux Id: PR-1860

  • Changed implementation so wx can now be built towards wxWidgets-3.1.1.

    Own Id: OTP-15027

  • wx crashes in otp 20.1 if empty binaries was sent down as arguments.

    Own Id: OTP-14688

  • Do not deprecate wxGraphicsContext:createLinearGradientBrush/7 and wxGraphicsContext:createRadialGradientBrush/8 which are still available in wxWidgets-3.0.

    Own Id: OTP-14539

  • General Unicode improvements.

    Own Id: OTP-14462

  • Fix a livelock that could be caused by wx:batch/1.

    Own Id: OTP-14289

  • Allow string arguments to be binaries as specified, i.e. unicode:chardata().

    Own Id: OTP-13934 Aux Id: ERL-270

  • Add wxWindow:dragAcceptFiles/2 and wxDropFilesEvent to support simple drag and drop from file browser.

    Own Id: OTP-13933

  • Increased the stacksize for the wx thread. The default stacksize on Windows is 1MB which is not enough if the user created many nested dialogs.

    Own Id: OTP-13816

  • Fixed bugs which could cause called functions to be invoked twice or not at all when callbacks where invoked at the same time.

    Own Id: OTP-13491

  • Changed atom 'boolean' fields in #wxMouseState{} to 'boolean()'.

    Moved out arguments in wxListCtrl:hitTest to result.

    Removed no-op functions in wxGauge that have been removed from wxWidgets-3.1.

    *** POTENTIAL INCOMPATIBILITY ***

    Own Id: OTP-13553

  • Fixed commands with multiple binaries, such as wxImage:new/4. Added wxWindow:SetDoubleBuffered/1, wxWindow:isDoubleBuffered/1, wxWindow:setTransparent/2 and wxWindow:canSetTransparent/1. Fixed timing issues.

    Own Id: OTP-13404

  • Add wxOverlay and make wxPostScripDC optional to make it easier to build on windows.

    Correct some function specifications.

    The driver implementation have been optimized and now invokes commands after events have been sent to erlang.

    Own Id: OTP-13160

  • Extend AUI functionality.

    Own Id: OTP-12961

  • The undocumented option generic_debug for gen_server has been removed.

    Own Id: OTP-12183

  • Remove raise condition where wx could crash during emulator stoppage.

    Own Id: OTP-12734

  • Use wxWidgets-3.0, if found, as default backend on windows.

    Own Id: OTP-12632

  • Add missing fields in some events records. May require a recompilation of user applications.

    Own Id: OTP-12660

  • Fix timing related crash during wx application stop.

    Own Id: OTP-12374

  • Fixed a minor typo in the graphicsContext example.

    Own Id: OTP-12259

  • Distribute autoconf helpers to applications at build time instead of having multiple identical copies committed in the repository.

    Own Id: OTP-12348

  • Implement --enable-sanitizers[=sanitizers]. Similar to debugging with Valgrind, it's very useful to enable -fsanitize= switches to catch bugs at runtime.

    Own Id: OTP-12153

  • Fix delayed destroy for wxPaintDC objects which could cause an eternal loop for modal dialogs.

    Fix wxSL_LABELS compatibility between wxWidgets-2.8 and wxWidgets-3.0 versions

    Own Id: OTP-11985

  • Add missing classes wxPopup[Transient]Window, wxActivateEvent and wxTextCtrl:cahngeValue/2 function.

    Own Id: OTP-11986

  • Refactored C++ code, fixed crashes and a deadlock on linux.

    Own Id: OTP-11586

  • Some local implementations of removing the last element from a list are replaced by lists:droplast/1. Note that this requires at least stdlib-2.0, which is the stdlib version delivered in OTP 17.0. (Thanks to Hans Svensson)

    Own Id: OTP-11678

  • Reworked the internal event handling to avoid crashes in destroy objects. Thanks Tom for the bug report.

    Own Id: OTP-11699

  • Application upgrade (appup) files are corrected for the following applications:

    asn1, common_test, compiler, crypto, debugger, dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe, inets, observer, odbc, os_mon, otp_mibs, parsetools, percept, public_key, reltool, runtime_tools, ssh, syntax_tools, test_server, tools, typer, webtool, wx, xmerl

    A new test utility for testing appup files is added to test_server. This is now used by most applications in OTP.

    (Thanks to Tobias Schlager)

    Own Id: OTP-11744

  • Fixed a problem which caused the debugger to crash when closing a window. Fixed static linking on mac.

    Own Id: OTP-11444

  • wx initialization hanged with wxWidgets-3.0 on mac. Fixed a crash with wxListBox on wxWidgets-3.0 (thanks Sergei Golovan) Fixed documentation links. Fixed event callbacks cleanup.

    Own Id: OTP-11393

  • Improve documentation (Thanks to Boris Mühmer)

    Own Id: OTP-11505

  • Fix silent make rules (Thanks to Anthony Ramine)

    Own Id: OTP-11515

  • Add {silent_start, boolean()} option to wx:new/1 in order to be able to suppress error messages during startup of wx. (Thanks to Håkan Mattsson)

    Own Id: OTP-10585

  • Fix wxTreeCtrl:getBoundingRect/2 and wxTreeCtrl:hitTest/1. wxTreeCtrl:hitTest now returns a tuple not bug compatible with previous releases but needed.

    Own Id: OTP-10743

  • The wx application now compiles and is usable with the unstable development branch of wxWidgets-2.9. Some functions are currently not available in wxWidgets-2.9 and their erlang counterparts are marked as deprecated. They will generate an error if called when linked against wxWidgets-2.9 libraries. This means that wx can now be built on 64bit MacOsX, but keep in mind that wxWidgets-2.9 is still a development branch and needs (a lot) more work before it becomes stable.

    Own Id: OTP-10407 Aux Id: kunagi-262 [173]

  • Fix errors in wxDC and wxGraphicsContext api.

    Add wxTaskBarIcon.

    Add wxStyledTextControl:setEdgeMode/2.

    Add type and specs for all functions and records.

    Own Id: OTP-9947

  • Fixed a deadlock in the driver, which could happen if a callback caused another callback to be invoked.

    Own Id: OTP-9725

  • Implemented wxSystemOptions.

    Load Opengl from libGL.so.1 instead libGL.so to work around linux problems.

    Own Id: OTP-9702

  • wx: fix obsolete guard warning (list/1) (Thanks to Tuncer Ayaz)

    Own Id: OTP-9513

  • XML files have been corrected.

    Own Id: OTP-9550 Aux Id: OTP-9541

  • Support virtual tables in wxListCtrl.

    Own Id: OTP-9415

  • Fixed wx app files on mac and solaris. Thanks Jachym Holecek and Joe Williams.

    Own Id: OTP-9324

  • Wx crashed if graphics could not be initiated, for instance if DISPLAY was not available.

    Wx could crash during startup, thanks Boris Muhmer for extra ordinary testing.

    Own Id: OTP-9080

  • Wx on MacOS X generated complains on stderr about certain cocoa functions not beeing called from the "Main thread". This is now corrected.

    Own Id: OTP-9081

  • Add wxSystemSettings which was missing in the previous release, despite previous comments.

    Fix an external loop when stopping erlang nicely.

    Separate OpenGL to it's own dynamic loaded library, so other graphic libraries can reuse the gl module and it will not waste memory if not used.

    Own Id: OTP-8951

  • Fix crash (segmentation fault) in callback handling.

    Own Id: OTP-8766

  • Add wxSystemSettings module.

    Add wxTreeCtrl:editLabel/2.

    Own Id: OTP-8767

  • Calling sys:get_status() for processes that have globally registered names that were not atoms would cause a crash. Corrected. (Thanks to Steve Vinoski.)

    Own Id: OTP-8656

  • Corrected incorrectly generated wxFileDialog:getPaths/1. Reported by Jason/hornja.

    Own Id: OTP-8330

  • Fixed a memory reference bug which caused unexplained {badarg, Int} exits when running multiple wx applications.

    Own Id: OTP-8461

  • Added wxListCtrl:getEditCtrl/1 (not available on Mac).

    Own Id: OTP-8408

  • Cleanups suggested by tidier and modernization of types and specs.

    Own Id: OTP-8455

  • Changed representation of wxTreeItem to be an integer. This saves memory, where the driver do not need to keep a object reference to each tree item.

    Added getFirstChild and getNextChild to wxTreeCtrl.

    Own Id: OTP-8462

  • Added wx_object improvements from Mazen.

    Fixed pid issues, reported by Mazen.

    Added wxLogNull class, reported by Amit Murthy.

    Various configure fixes.

    Own Id: OTP-8243 Aux Id: seq11418

  • The documentation is now built with open source tools (xsltproc and fop) that exists on most platforms. One visible change is that the frames are removed.

    Own Id: OTP-8250

  • wx now builds with wxWidgets 2.8.4 or a later 2.8 release, thanks Nico Kruber.

    Own Id: OTP-8292

  • Added wxListCtrl sorting and build fixes supplied by Paul Hampson. Thanks.

    Own Id: OTP-8126

  • wxHtmlWindow class implemented.

    All exceptions from callbacks are now catched and written to the log.

    Some defines where wrong in 'wx.hrl'.

    wx:batch/1 and friends could hang forever if for instance a breakpoint was set inside the fun. That caused all wx applications to hang.

    Added missing wxAuiPaneInfo constructor and destructor.

    Added wxAuiNotebookEvent and wxAuiManagerEvent.

    Calling non supported wxWidgets functions hanged instead of crashed.

    Update OpenGL to version 3.1 and added some of the missing glu functions.

    Fixed wxRadioBox which inherited the wrong class, thanks Atilla Erdodi.

    Own Id: OTP-8083

  • Removed some of the automatic garbage collecting after application exit, user will get a warning instead so he can correct the code.

    Own Id: OTP-8138

  • Olle Mattson have made a large demo, see examples/demo/, that triggered the following bugs and new features:

    New book controls.

    Added wxToolbar:addTool/6.

    Empty binaries will be used to indicate NULL where applicable.

    Own Id: OTP-7943

  • Applied patch from Nico Kruber, which fixes building on some wxwidgets installations.

    Open source

  • Added xrcctrl/3 to wxXmlResource and added a resource example.

    Added several event types and events records and fixed a couple of event related bugs.

    Event callbacks can now use wxEvtHandler:connect/2.

    Error handling and debugging aid have been improved.

    Added wxSplitterWindow and wxGauge:pulse and a couple of missing macros in wx.hrl.

    Thanks to Steve Davis for feedback and bug reports.

    Own Id: OTP-7875

  • A first beta release of wxErlang.

    Own Id: OTP-7859