aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/test
AgeCommit message (Collapse)Author
2014-01-21wx: Add init_dialog eventDan Gudmundsson
It was missing.
2014-01-21Merge branch 'maint'Dan Gudmundsson
2014-01-14wx: Fix crash when garbage collect event handlers (debugger caused seg fault)Dan Gudmundsson
wxStyledTextCtrl had no wrapper class so, because it was not detected that it had virtual destructors, thus references to it was not cleaned up on destruction. When a process dies and wx cleans up the event handlers access was made to the deleted object and caused a seg fault. Added a testcase which I thought could provoke the bug but didn't.
2013-12-02Merge branch 'maint'Dan Gudmundsson
2013-11-14wx: Fix crash in wxe_server cleanupDan Gudmundsson
Do not use disconnect event listener when we are exiting the port, it may interfere with window destructions and cause a crash.
2013-10-30wx: Fix cleanup of event handlersDan Gudmundsson
Event handlers was not removed after objects/process had been delete/died, which causes memory leakage and that fun's was kept in the wx_server process. Code that might be purged and the server died.
2013-08-29Merge branch 'maint'Dan Gudmundsson
2013-08-27wx: Add toolbar testcaseDan Gudmundsson
2013-08-27wx: Add character event test/exampleDan Gudmundsson
2013-04-19Remove the "coding: utf-8" comment from all Erlang source filesHans Bolinder
2013-02-26wx: Fix failing testcasesDan Gudmundsson
Fix bad hit test. Fix timing issue in test.
2013-01-23wx: Add wxTreeCtrl:isTreeItemIdOk/1Dan Gudmundsson
Since I have replaced the wxTreeItemIdClass with integers, there is no way to verify that it is a valid wxTreeItemId that is returned from the wxTreeCtrl:getItem* functions. Still the check is that is non null so beware don't construct your own id's.
2013-01-23wx: Fix wxTreeCtrl return valuesDan Gudmundsson
Fixes wxTreeCtrl:getBoundingRect/2 and wxTreeCtrl:hitTest/1. wxTreeCtrl:hitTest now returns a tuple, i.e. not bug compatible with previous releases but needed to know if the returned wxTreeItemId is valid or not.
2013-01-09wx: Fix demo and testsDan Gudmundsson
Added debugging and workarounds for wx-2.9 on Mac
2013-01-09wx: Modify tests so they work on wxWidgets-2.9Dan Gudmundsson
Things have changed in 2.9 modify tests so they are still valid for both 2.8 and 2.9 branches, so far only tested on linux.
2013-01-09Prepare OTP files for Unicode as default encodingHans Bolinder
2012-11-19Enable silent start of wxHåkan Mattsson
Add {silent_start, boolean()} option to wx:new/1 in order to be able to suppress error messages during startup of wx.
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-02-27[wx] Add simple taskbaricon testDan Gudmundsson
2012-02-09[wx] Cleanup MakefilesDan Gudmundsson
Remove old "outside" otp building support.
2011-12-06[wx] Avoid deadlock in handle_sync_eventDan Gudmundsson
Avoid sending cb messages to the wx_object, since it may deadlock. Instead send it to the wxe_server which reads the state from the wx_object's process_dictionary. Ugly but it's the only way I can avoid the deadlock.
2011-11-16[wx] Fix deadlock in callback handlingDan Gudmundsson
New testcase showcase the deadlock
2011-09-29Update copyright yearsBjörn-Egil Dahlberg
2011-09-21[wx] Test colors in textctrlDan Gudmundsson
2011-09-21Merge branch 'dgud/wx/virtual-listctrl/OTP-9415' into devDan Gudmundsson
* dgud/wx/virtual-listctrl/OTP-9415: Handle overloading callbacks the same as events Fix documentation and callback options in wxListCtrl:create/3 Add example and testcase Add wxListItemAttr Generated code of previous commit Add support for virtual listctrls Re-generated with new doxygen
2011-07-14Handle overloading callbacks the same as eventsDan Gudmundsson
Previously other process wx calls where allowed to execute in the callback code, but that lead to a deadlock if for example a dialog was created.
2011-07-07Add example and testcaseDan Gudmundsson
2011-06-30wx: fix obsolete guard warning (list/1)Tuncer Ayaz
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-02-17Rename Suite Callback to Common Test HookLukas Larsson
2011-02-17Update and add cover spec files to work with common_testLukas Larsson
2011-02-17Update all test specsLukas Larsson
2011-02-17Fix formatting for wxLukas Larsson
2011-02-17Add init_per_suite and end_per_suiteLukas Larsson
2011-02-17Add ts_install_scb to suite/0Lukas Larsson
2011-02-17Update wx tests to conform with common_test standardLukas Larsson
2011-02-17Update all fin_per_testcase to end_per_testcase.Lukas Larsson
2011-02-17Update tests to work with ts -> ct migrations script.Lukas Larsson
2010-11-26Merge branch 'dgud/wx/misc-bugs/OTP-8951' into devDan Gudmundsson
* dgud/wx/misc-bugs/OTP-8951: Add wxSystemSettings Avoid eternal loops when quiting
2010-11-19Fix non available opengl functionsDan Gudmundsson
Opengl functions are loaded at runtime and differ with drivers and cards.
2010-11-15Windows and Mac build issuesDan Gudmundsson
2010-11-04Add wxSystemSettingsDan Gudmundsson
Sigh, forgot to commit the erlang module in the previous release.
2010-09-07Merge branch 'mk/net-dragonfly-bsd-patches' into devBjörn Gustavsson
* mk/net-dragonfly-bsd-patches: Remove unused variables Use proper install method Add support for DragonFly BSD Add support for NetBSD
2010-08-19Added missing wxTextCtrl:editLabel/2.Dan Gudmundsson
Reported by akorosmezey.
2010-08-13Use proper install methodMartti Kuparinen
Only real program files should be installed with INSTALL_PROGRAM while scripts should be installed with INSTALL_SCRIPT and data files with INSTALL_DATA.
2010-03-25Merge branch 'hawk/wx-add-app-file' into devErlang/OTP
* hawk/wx-add-app-file: Add app and appup files to the wx application OTP-8538 hawk/wx-add-app-file
2010-03-23Add app and appup files to the wx applicationHåkan Mattsson
2010-02-02Added tests for wxListCtrl:getItem/2.Dan Gudmundsson
2010-01-20Test case fixesDan Gudmundsson
2010-01-19Fixed a memory reference bug which caused unexplained {badarg, Int} exits.Dan Gudmundsson
You could get a reference to another applications memory, if wx had deleted that applications memory without the drivers knowledge about it, typically memory allocated by wx and not the application using classes where wx-driver can't override the desctructors. When wx allocated new memory and got a pointer to that memory, the wx-driver detected the same pointer and forwarded the old ref to erlang.