aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/test
AgeCommit message (Collapse)Author
2015-06-18Change license text to APLv2Bruce Yinhe
2015-06-01wx: Cleanup testsDan Gudmundsson
Remove erlang:now() and wait for windows to appear when neccesary, which it often is when using wxWidgets-3.0 on gtk. Also cleanup radioBox test.
2015-06-01wx: Fix bad float in return valuesDan Gudmundsson
To many floats in return value could cause a reallocation and pointers to reallocated data. Fix it by ensuring that the temp float array is large enough before add values to it.
2015-05-05wx: Add missing data in eventsDan Gudmundsson
Some events where missing useful information. May require user code recompilation, since some records in wx.hrl have chnaged it's definition.
2015-05-05wx: Optimize command queuesDan Gudmundsson
Remove allocations
2015-01-13Merge branch 'maint'Dan Gudmundsson
* maint: debugger: Fix debugger save options on mac wx: Do not crash server when going down
2014-12-19wx: Do not crash server when going downDan Gudmundsson
If a connect request was made during the takedown of wx it would crash.
2014-06-16Merge branch 'maint'Dan Gudmundsson
2014-05-28Add synchronous stop function to wx_objectSiri Hansen
2014-05-22wx: Add wxPopup(Transient)WindowDan Gudmundsson
Useful class though not documented in wxWidgets-2.8
2014-03-28Merge branch 'dgud/wx/fix-wx3-windows64'Dan Gudmundsson
* dgud/wx/fix-wx3-windows64: wx: Send destroy message direct wx: Add wxLocale class wx: Added misc functions wx: Fix memory garbage collector wx: Fix possibility to fetch early open msgs on mac wx: Fix listCtrl sort callback wx: Fix configure for win64 with wxWidgets-3.0
2014-03-28wx: loosen testcaseDan Gudmundsson
2014-03-20wx: Fix listCtrl sort callbackDan Gudmundsson
2014-02-24Add test suites performing app and appup file checksTobias Schlager
Add the mentioned test suites for *all* library and touched non-library applications.
2014-02-13wx: Test fixes compilation warningDan Gudmundsson
and more dbg info
2014-02-13wx: Rewrite eventhandling againDan Gudmundsson
Remove the extra wxEvtListener that only caused confusion, now everything is automatically cleaned up by the destructors and event sent to erlang when it becomes delete for all cases.
2014-01-22wx: Delay memory cleanup until safeDan Gudmundsson
Previously we could do a cleanup while we where recursed down and thus delete the objects we where invoking.
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