aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx
AgeCommit message (Collapse)Author
2016-03-14Prepare releaseErlang/OTP
2016-03-08Merge remote-tracking branch 'origin/dgud/wx/bugs' into maintDan Gudmundsson
* origin/dgud/wx/bugs: wx: Use wrapper classes where possible wx: Wait before throwing away early callbacks to wx_objects wx: Add wxWindow:SetTransparent and CanSetTransperant wx: Add wxWindow SetDoubleBuffered and IsDoubleBuffered from wxWidgets 3.0 wx: Remove http_util usage wx: Tiny optimization wx: Fix a crash with sending two binaries to command queue
2016-03-01wx: Use wrapper classes where possibleDan Gudmundsson
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.
2016-02-29wx: Remove http_util usageDan Gudmundsson
Use erlang builtin list_to_integer instead
2016-02-29wx: Tiny optimizationDan Gudmundsson
Set context to avoid future lookups
2016-02-23wx: Fix a crash with sending two binaries to command queueDan Gudmundsson
Introduced when I optimized the binary handling.
2016-02-10epmd: support IPv6 node registrationMichael Santos
Allow IPv6 nodes to register with and query epmd. On systems with IPv6 support: * epmd listens on both the IPv4 and IPv6 ANY or loopback sockets * the epmd cli client connects to epmd over the IPv6 loopback * distributed nodes started with "-proto_dist inet6_tcp" will register with epmd over IPv6 To work on IPv6 capable systems that have IPv6 support disabled, epmd ignores errors opening the socket if the protocol is not supported. Similarly, the epmd client will fall back to IPv4 if the IPv6 socket is not available. Update the minimum supported version of Windows to Windows Vista to support IPv6.
2015-12-15Update release notesErlang/OTP
2015-12-15Update version numbersErlang/OTP
2015-12-14Merge branch 'dgud/wx/fix-observer-display' into maintDan Gudmundsson
* dgud/wx/fix-observer-display: wx: Revert part of 617387025b698c
2015-12-12wx: Revert part of 617387025b698cDan Gudmundsson
Causes issues on mac and observer
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 a command queue check after event sent to erlangDan Gudmundsson
Some events are callbacks inside wxWidgets so idle processing doesn't take place until operation is completed, for instance move/resize window on Windows. This way we get some response while mouse button is pressed.
2015-11-24wx: Make wxPostScriptDC optionalDan Gudmundsson
By default wxUSE_POSTSCRIPT is not enabled on Windows, make it optional, postscript generation doesn't work that good and is probably never used on windows anyway.
2015-11-24wx: Add wxOverlayDan Gudmundsson
2015-11-23wx: Use only one ring buffer for command queueDan Gudmundsson
Avoid copying between command queues, cleaner, faster and safer implementation.
2015-09-21Prepare releaseErlang/OTP
2015-09-02wx: Fix wxAuiManager:getAllPanes/1Dan Gudmundsson
It was broken.
2015-08-28wx: Add missing aui functionalityDan Gudmundsson
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-02wx: Event callbacks could hang wx application temporaryDan Gudmundsson
After applying a command make sure that it didn't recurse to a callback invocation, then we must re-start from the saved command queue.
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-30wx: Add mouse_capture_lost eventDan Gudmundsson
Needed to avoid asserts when capturing mouse on Windows.
2015-06-30wx: Fix code generatorDan Gudmundsson
I had changed the (generatade) code without updating the code generator in commit 38cb91a9. Fixed now, and also fixed a typo in the generated licence code.
2015-06-23Prepare releaseErlang/OTP
2015-06-18Change license text to APLv2Bruce Yinhe
2015-06-05wx: Optimize binary argsDan Gudmundsson
2015-06-01wx: Driver lock cleanupDan Gudmundsson
2015-06-01wx: Optimize event and return value constructionDan Gudmundsson
Preallocated an rt array of 64 items (which covers 99%) of the calls and thus avoids allocation and copying in most cases.
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-27Update application versionsHans Bolinder
2015-05-12wx: Fix raise during emulator stoppageDan Gudmundsson
When emulator is stopped all drivers are stopped but not unloaded and since the clean wx thread stoppage code was in unload callback it was not called and could cause crashes.
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-05Merge branch 'dgud/wx/optimize-queues'Dan Gudmundsson
* dgud/wx/optimize-queues: wx: Fix delete object wx: Optimize command queues wx: Optimize OpenGL invocations
2015-05-05wx: Fix delete objectDan Gudmundsson
delete_object used a deleted reference
2015-05-05wx: Optimize command queuesDan Gudmundsson
Remove allocations
2015-04-30wx: Use module erl_annoHans Bolinder
2015-04-13wx: Optimize OpenGL invocationsDan Gudmundsson
2015-04-01Merge tag 'OTP-17.5'Henrik Nord
=== OTP-17.5 === Changed Applications: - asn1-3.0.4 - common_test-1.10 - compiler-5.0.4 - crypto-3.5 - debugger-4.0.3 - dialyzer-2.7.4 - diameter-1.9 - eldap-1.1.1 - erts-6.4 - hipe-3.11.3 - inets-5.10.6 - kernel-3.2 - mnesia-4.12.5 - observer-2.0.4 - os_mon-2.3.1 - public_key-0.23 - runtime_tools-1.8.16 - ssh-3.2 - ssl-6.0 - stdlib-2.4 - syntax_tools-1.6.18 - test_server-3.8 - tools-2.7.2 - wx-1.3.3 Unchanged Applications: - cosEvent-2.1.15 - cosEventDomain-1.1.14 - cosFileTransfer-1.1.16 - cosNotification-1.1.21 - cosProperty-1.1.17 - cosTime-1.1.14 - cosTransactions-1.2.14 - edoc-0.7.16 - erl_docgen-0.3.7 - erl_interface-3.7.20 - et-1.5 - eunit-2.2.9 - gs-1.5.16 - ic-4.3.6 - jinterface-1.5.12 - megaco-3.17.3 - odbc-2.10.22 - orber-3.7.1 - ose-1.0.2 - otp_mibs-1.0.10 - parsetools-2.0.12 - percept-0.8.10 - reltool-0.6.6 - sasl-2.4.1 - snmp-5.1.1 - typer-0.9.8 - webtool-0.8.10 - xmerl-1.3.7 Conflicts: OTP_VERSION erts/vsn.mk lib/ssl/vsn.mk
2015-03-31Prepare releaseErlang/OTP
2015-03-27wx: Fix variable cursor constantsDan Gudmundsson
Fix cursor constants that changes with OS and wxWidgets releases.
2015-03-27wx: On Mac keyboards use meta field as raw_ctrlDan Gudmundsson
On mac and wxWidgets-3.0 the crtlDown field in keyboard and mouse events are set when command button is pressed. The ctrl key on mac keyboard is in a field called raw_control as this would be backward incompatible to add we reuse the metaDown field as indicator when the ctrl keyboard button is pressed.