1 wxErlang Release Notes

This document describes the changes made to the wxErlang application.

1.1  Wx 1.8.1

Fixed Bugs and Malfunctions

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

    Own Id: OTP-14289

1.2  Wx 1.8

Fixed Bugs and Malfunctions

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

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

Improvements and New Features

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

    Own Id: OTP-13933

1.3  Wx 1.7.1

Fixed Bugs and Malfunctions

  • 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

1.4  Wx 1.7

Fixed Bugs and Malfunctions

  • 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

Improvements and New Features

  • 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

1.5  Wx 1.6.1

Fixed Bugs and Malfunctions

  • 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

1.6  Wx 1.6

Improvements and New Features

  • 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

1.7  Wx 1.5

Improvements and New Features

  • Extend AUI functionality.

    Own Id: OTP-12961

1.8  Wx 1.4

Fixed Bugs and Malfunctions

  • 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

Improvements and New Features

  • 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

1.9  Wx 1.3.3

Fixed Bugs and Malfunctions

  • Fix timing related crash during wx application stop.

    Own Id: OTP-12374

1.10  Wx 1.3.2

Fixed Bugs and Malfunctions

  • Fixed a minor typo in the graphicsContext example.

    Own Id: OTP-12259

Improvements and New Features

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

    Own Id: OTP-12348

1.11  Wx 1.3.1

Fixed Bugs and Malfunctions

  • 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

1.12  Wx 1.3

Fixed Bugs and Malfunctions

  • 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

Improvements and New Features

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

    Own Id: OTP-11986

1.13  Wx 1.2

Fixed Bugs and Malfunctions

  • 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

1.14  Wx 1.1.2

Fixed Bugs and Malfunctions

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

    Own Id: OTP-11444

1.15  Wx 1.1.1

Fixed Bugs and Malfunctions

  • 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

Improvements and New Features

  • Fix silent make rules (Thanks to Anthony Ramine)

    Own Id: OTP-11515

1.16  Wx 1.0

Fixed Bugs and Malfunctions

  • 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

Improvements and New Features

  • 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]

1.17  Wx 0.99.2

Improvements and New Features

  • 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

1.18  Wx 0.99.1

Fixed Bugs and Malfunctions

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

    Own Id: OTP-9725

Improvements and New Features

  • Implemented wxSystemOptions.

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

    Own Id: OTP-9702

1.19  Wx 0.99

Fixed Bugs and Malfunctions

  • 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

Improvements and New Features

  • Support virtual tables in wxListCtrl.

    Own Id: OTP-9415

1.20  Wx 0.98.10

Fixed Bugs and Malfunctions

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

    Own Id: OTP-9324

1.21  Wx 0.98.9

Fixed Bugs and Malfunctions

  • 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

1.22  Wx 0.98.8

Improvements and New Features

  • 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

1.23  Wx 0.98.7

Fixed Bugs and Malfunctions

  • Fix crash (segmentation fault) in callback handling.

    Own Id: OTP-8766

Improvements and New Features

  • Add wxSystemSettings module.

    Add wxTreeCtrl:editLabel/2.

    Own Id: OTP-8767

1.24  Wx 0.98.6

Improvements and New Features

  • 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

1.25  Wx 0.98.5

Fixed Bugs and Malfunctions

  • 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

Improvements and New Features

  • 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

1.26  Wx 0.98.4

Improvements and New Features

  • 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

1.27  Wx 0.98.3

Fixed Bugs and Malfunctions

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

    Own Id: OTP-8126

Improvements and New Features

  • 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

1.28  Wx 0.98.2

Improvements and New Features

  • 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

1.29  Wx 0.98.1

Improvements and New Features

  • 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

1.30  Wx 0.98

Improvements and New Features

  • A first beta release of wxErlang.

    Own Id: OTP-7859