aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src
AgeCommit message (Collapse)Author
2017-04-06Avoid livelock in driver when batching commandsDan Gudmundsson
With a bad timing in wx:batch() the driver could get stuck handling commands without ever checking for gui events. Avoid that by exiting loop after the driver have done cond_wait a couple of times.
2016-11-22Avoid unnecessary length calculations in glDan Gudmundsson
2016-11-22Add option to send prebuilt binaries to multiDrawArraysDan Gudmundsson
2016-10-17wx: Improve error handlingDan Gudmundsson
Fix error handling in gl as in wx.
2016-10-07wx: Add wxWindow:getContentScaleFactorDan Gudmundsson
2016-10-05Fix guard test for chardataDan Gudmundsson
Previously only accepted lists tough a call is made to unicode:characters_to_binary/1, and the functions where specified to handle chardata.
2016-09-29wx: add wxWindowDragAcceptFilesDan Gudmundsson
Enable window to handle drop file events.
2016-09-28wx: Add simple dropfiles supportDan Gudmundsson
Added wxDropFiles event
2016-07-05wx: Add missing specsDan Gudmundsson
Some taylormade functions still used edoc spec's, and some where wrong which caused broken links. Change them to be real spec's and correct the types.
2016-06-03wx: Change async error handlingDan Gudmundsson
Previously error from async functions made an exit when the next sync call checked the message queue. This have been changed to an error report instead since the errors where async there where really hard to handle. Also changed the error report format to make it easier to filter them with a custom error_handler.
2016-05-31Merge branch 'dgud/wx/fix-seqfault-in-cleanup'Dan Gudmundsson
* dgud/wx/fix-seqfault-in-cleanup: wx: Fix occasional seq fault after appliction stops
2016-05-30wx: Fix occasional seq fault after appliction stopsDan Gudmundsson
There seems to be a timeing dependent double delete when doing reference cleanup after wx:destroy(). wxGraphicsObjects can thus not be free'ed by wx in the cleanup phase. A guess is that the underlying rendering context deletes all graphics objects without careeing about wxWidgets reference counting.
2016-05-24wx: Quote atoms in types and specsDan Gudmundsson
Follow the convention and make atom more visibile in types and specs
2016-04-28wx: Remove non implemented wxGauge functionsDan Gudmundsson
These functions have been removed from wxWidgets-3.1 and according to documentation have been noops anyway. So remove them to make wx build with wxWidgets-3.1 if wxWidgets is compiled with --enable-compat28
2016-04-22wx: add object set/check funcionsDan Gudmundsson
Needed functionality, to avoid abusing opauqe objects.
2016-04-13Merge branch 'henrik/update-copyrightyear'Henrik Nord
* henrik/update-copyrightyear: update copyright-year
2016-04-04wx: Fix wxListCtrl:hitTest arguments and delivered resultsDan Gudmundsson
May cause incompatibility for applications but the flags argument is out only in C++.
2016-03-15update copyright-yearHenrik Nord
2016-03-01wx: Wait before throwing away early callbacks to wx_objectsDan Gudmundsson
If synced callbacks arrive early before the return value from init had been synced to proc_lib. The callbacks where ignored. Added a short timeout to avoid the scheduling raise but we don't want block the wxe_server in case of deadlock in init, so sleep for a short while and check again, and drop the callback when init takes to long.
2016-02-29wx: Add wxWindow:SetTransparent and CanSetTransperantDan Gudmundsson
Available in at least 2.8.12 and later.
2016-02-29wx: Add wxWindow SetDoubleBuffered and IsDoubleBuffered from wxWidgets 3.0Dan Gudmundsson
This is really needed on windows to get rid of flickering when updating some widgets. These functions are only available if 3.0 and not on mac where everything is double buffered already.
2015-12-07wx: Add toolbar stretchablespaceDan Gudmundsson
Available since 3.0
2015-12-03wx: Fix some function specificationsDan Gudmundsson
2015-12-01wx: Remove call to disconnect_impl from serverDan Gudmundsson
The server might wait for the result of a call to disconnect_impl which can now be delayed, that might cause a callback to never be invoked and thus hang the driver thread. To avoid that dispatch the disconnect_impl call from user process instead of server.
2015-11-24wx: Add wxOverlayDan Gudmundsson
2015-09-02wx: Fix wxAuiManager:getAllPanes/1Dan Gudmundsson
It was broken.
2015-08-28wx: Add missing aui functionalityDan Gudmundsson
2015-07-07wx: Add event callback fastpathDan Gudmundsson
Avoids spawn but can deadlock
2015-06-30wx: Add mouse_capture_lost eventDan Gudmundsson
Needed to avoid asserts when capturing mouse on Windows.
2015-06-18Change license text to APLv2Bruce Yinhe
2015-01-14Merge branch 'maint'Dan Gudmundsson
* maint: wx: Fix connect when terminating
2015-01-14wx: Fix connect when terminatingDan Gudmundsson
The ddbe8a821ad commit was embarrassingly broken.
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-09-15Remove untested option 'generic_debug' from gen_serverAnthony Ramine
This undocumented option makes an init:get_argument/1 call every time a gen_server is started. Reported-By: James Fish
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-04-16wx: Add wxActivateEventDan Gudmundsson
2014-04-16wx: Add missing wxTextCtrl:changeValueDan Gudmundsson
It was missing.
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-26wx: Send destroy message directDan Gudmundsson
Messages was routed via the wxe_server process, which caused process to never get the message.
2014-03-26wx: Add wxLocale classDan Gudmundsson
2014-03-25wx: Added misc functionsDan Gudmundsson
Nice to have functionality
2014-03-25wx: Fix possibility to fetch early open msgs on macDan Gudmundsson
Mac doesn't add clicked files to program arguments, a callback is invoked instead, send msgs to erlang about them.
2014-03-20Introduce runtime_dependencies in .app filesRickard Green
Most dependencies introduced are exactly the dependencies to other applications found by xref. That is, there might be real dependencies missing. There might also be pure debug dependencies listed that probably should be removed. Each application has to be manually inspected in order to ensure that all real dependencies are listed. All dependencies introduced are to application versions used in OTP 17.0. This since the previously used version scheme wasn't designed for this, and in order to minimize the work of introducing the dependencies.
2014-02-18Fix library application appup filesTobias Schlager
As discussed in issue #240 *all* OTP library applications use the '.*' wildcard as up and down version. This makes library applications always up- and downgradeable. Using the wildcard version obsoletes all maintenance tasks regarding library applications' appup files. Additionally, it prevents upgrade problems caused by automatically included application dependencies when using reltool to create releases. Missing copyright headers are now consistently present.
2014-02-13wx: Do not warn for our own deprecated functionsDan Gudmundsson
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-21wx: Add init_dialog eventDan Gudmundsson
It was missing.