aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx
AgeCommit message (Collapse)Author
2017-09-14wx: Remove export_all in example codeDan Gudmundsson
2017-09-14wx: test remove export_allDan Gudmundsson
Remove unnecessary warnings
2017-09-14wx: Update doc, OpenGL external linksDan Gudmundsson
They have moved from opengl.org to www.khronos.org
2017-09-14wx: Reduce Opengl docsDan Gudmundsson
Only use the first paragraph in the doc which contains an overview, the result of the more detailed doc generated non valid xml, and all math expressions was rendered poorly. Remove for now.
2017-09-05wx: add Unicode translation modifier to wx_objectSiri Hansen
This is both for error logger events and debug events. It can be done because error log and debug log are both opened with encoding utf8 since OTP-20.0
2017-08-16Remove deprecation of non deprecated functionsDan Gudmundsson
Functions where missing and where without alternatives, and the functions are available in wxWidgets-3.0.*. So either I missed it or they where removed for a while in wxWidgets-2.9 branch, but that should not be used anywhere as it was only a development branch.
2017-08-16Update so that doxygen 1.8.11 can generate codeDan Gudmundsson
Fix some configurations so that it works with new doxygen and with complete install outside of /usr/include/wx...
2017-06-21Prepare releaseErlang/OTP
2017-06-14Update copyright yearHans Nilsson
2017-05-31Revert "Prepare release"Hans Nilsson
This reverts commit eaf8ca41dfa4850437ad270d3897399c9358ced0.
2017-05-30Prepare releaseErlang/OTP
2017-05-24wx: Tune when to break command loop in driverDan Gudmundsson
Exit command loop less often too avoid expensive event checking while in batch mode.
2017-05-11wx: Fix builds on VS-2017Dan Gudmundsson
And while we at it recommend wxWidgets-3.0.3
2017-05-05Revert "Prepare release"Raimo Niskanen
This reverts commit dc57404252c47520f352834ad9be45ad684f96c9.
2017-05-04Prepare releaseErlang/OTP
2017-05-04Update copyright yearRaimo Niskanen
2017-05-02Merge branch 'dgud/wx/fixup-batch-break'Dan Gudmundsson
* dgud/wx/fixup-batch-break: Fixup batch break
2017-04-28Merge branch 'dgud/wx/pr/1425'Dan Gudmundsson
* dgud/wx/pr/1425: wxe_impl.cpp: pointer comparison fix
2017-04-28Fixup batch breakDan Gudmundsson
Batches was breaked to often, increase the test and break if batch is done (and queue empty).
2017-04-24wxe_impl.cpp: pointer comparison fixKenji Rikitake
* Fix ordered comparison between (void *) pointer and zero
2017-04-24Merge branch 'zandra/stdlib/optional-callbacks/OTP-13801'Zandra Norman
* zandra/stdlib/optional-callbacks/OTP-13801: wx: make wx_object callbacks optional stdlib: Make gen_fsm callbacks optional stdlib: Make gen_event callbacks optional stdlib: Make gen_server callbacks optional
2017-04-21wx: make wx_object callbacks optionalZandra Norman
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.
2017-02-14Fixed typos in lib/wxAndrew Dryga
2016-12-09Prepare releaseErlang/OTP
2016-11-22wx: Do not dispatch commands after frequent eventsDan Gudmundsson
The user app may want to handle several mouse motion events before drawing new data for example.
2016-11-22Avoid unnecessary length calculations in glDan Gudmundsson
2016-11-22Add option to send prebuilt binaries to multiDrawArraysDan Gudmundsson
2016-11-22Fix gl driver pointer errorDan Gudmundsson
For lists the pointer was not advanced as it should which caused following in-data (if any) to be wrong.
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-09-20Prepare releaseErlang/OTP
2016-08-19Merge branch 'dgud/wx/broken-links' into maintDan Gudmundsson
* dgud/wx/broken-links: wx: Add missing specs
2016-08-19Merge branch 'dgud/wx/increase_wx_stacksize' into maintDan Gudmundsson
* dgud/wx/increase_wx_stacksize: Request a larger stacksize for wx thread
2016-07-07wx: Prepare for using Erlang types and specsHans Bolinder
Create correct links to datatypes outside of the wx application. The added time for generating the doc/specs/specs_* files is unwelcome (they are currently not used).
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-21Prepare releaseErlang/OTP
2016-06-21Request a larger stacksize for wx threadDan Gudmundsson
The default stacksize on Windows is 1MB which is not enough if you create many dialogs and callbacks recurse back to erlang. Increase the stacksize of 8MB which should be sufficent.
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-05-16Fix compilation warningDan Gudmundsson
2016-05-12wx: Fix generated defines in gl.hrlDan Gudmundsson
2016-05-11wx: Fix driver command queueDan Gudmundsson
The command queue could still loose a cmd because the command was reused while still in (recursive) use, thus when deleting it after command was done a newly added command could be mistakenly deleted and not called. Root cause was that wxeFifo::Strip "deleted" to many cmds. Solve by differing deleted and executed, i.e. op= -1 cmd have been executed and op = -2 cmd have been executed and deleted.
2016-05-04Test cuddle, increase sleepDan Gudmundsson
To avoid failing on slow machines
2016-05-03wx: Fix warnings in exampleDan Gudmundsson
Bitmaps of size less than 1 generates asserts, and size 0 event is before window is realized.