aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/test
AgeCommit message (Collapse)Author
2016-05-16Fix compilation warningDan Gudmundsson
2016-05-04Test cuddle, increase sleepDan Gudmundsson
To avoid failing on slow machines
2016-04-22wx: add object set/check funcionsDan Gudmundsson
Needed functionality, to avoid abusing opauqe objects.
2016-04-22wx test: Setup timetrapsDan Gudmundsson
and avoid large logs when tests succed
2016-04-22wx: Fix callback problemsDan Gudmundsson
Commands could be executed twice, if the command was dispatched from a callback and caused a recursive invocation of command loop. Solution is to mark op as -1 before calling wxWidgets. Also commands could be missed when idle processing was done inside while executing a recursive callback, solved be always resetting peak index after idle processing is done.
2016-03-15update copyright-yearHenrik Nord
2016-02-23wx: Fix a crash with sending two binaries to command queueDan Gudmundsson
Introduced when I optimized the binary handling.
2015-12-07wx: Add toolbar stretchablespaceDan Gudmundsson
Available since 3.0
2015-08-14wx: Fix assert log testDan Gudmundsson
Did not work on windows, on windows getItem uses wxLogWindow instead of assert in case of out of range, so the test still caused a log window.
2015-07-07wx: Add event callback fastpathDan Gudmundsson
Avoids spawn but can deadlock
2015-07-01wx: Make wxLANGUAGE_ variableDan Gudmundsson
So they work on both wxWidgets-2.8 and 3.0
2015-06-30wx: Send wxWdigets assert to error loggerDan Gudmundsson
Instead of popping up an annoying msgbox
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.