aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/wxe_helpers.cpp
AgeCommit message (Collapse)Author
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-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
2015-11-23wx: Use only one ring buffer for command queueDan Gudmundsson
Avoid copying between command queues, cleaner, faster and safer implementation.
2015-06-18Change license text to APLv2Bruce Yinhe
2015-06-05wx: Optimize binary argsDan Gudmundsson
2015-05-05wx: Optimize command queuesDan Gudmundsson
Remove allocations
2014-01-23wx: Delay all deletes if recursed in event loopDan Gudmundsson
Avoids crashes.
2014-01-21wx: Refactor C++ codeDan Gudmundsson
Try to clean up the files a bit