aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src
AgeCommit message (Collapse)Author
2014-01-16wx: Fix hanging wx callsDan Gudmundsson
wxWakeUpIdle doesn't always work on wxGTK and the workaround is to periodically invoke it, so the gui-thread doesn't get stuck in poll. Previously it was only called when NOT in batch mode, however if the wxWakeUpIdle call after a batch_begin command did not wake up the thread it would still get stuck in poll.
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-02wx: Fix silent make rulesAnthony Ramine
2013-11-29wx: Fix initializationDan Gudmundsson
The first window didn't get activated when using old method and new wxWidgets-3.0.1.
2013-11-21wx: wxListBox::Set crashes on wxWidgets 3.0 with NULL argumentSergei Golovan
2013-11-05wx: Fix looping debug printoutDan Gudmundsson
Find endless loop, if we wxe_master is killed we can't send messages to it.
2013-10-30wx: Fix compilation on old macsDan Gudmundsson
2013-10-30wx: Fix compiler warningsDan Gudmundsson
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-10-11wx: Fix initializations on mac osxDan Gudmundsson
Remove dummy windows and move the console to gui app code before wxWidgets gets initialized to prevent hangings on current wxWidgets svn version.
2013-08-23wx: Add wxPanel:setFocusIgnoringChildren/1Dan Gudmundsson
It was missing and needed
2013-08-22wx: Add wxClipboardTextEventDan Gudmundsson
2013-08-21wx: Fix bug in wxStatusBar:getFieldRect/2Dan Gudmundsson
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-25Merge branch 'dgud/wx/depr-driver-if'Dan Gudmundsson
* dgud/wx/depr-driver-if: Document howto build wxWidgets on mac wx: Fix crash in glu tesselate wx: Remove deprecated driver_send_term usage wx: Removed wx internal event
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-22wx: Fix crash in glu tesselateDan Gudmundsson
Could overwrite emulator data, add range checks.
2013-01-16wx: Remove deprecated driver_send_term usageDan Gudmundsson
2013-01-15Merge branch 'dgud/wx/platform-gen'Dan Gudmundsson
* dgud/wx/platform-gen: wx: Build targets to platform subdirs
2013-01-09wx: Mac fixesDan Gudmundsson
2013-01-09wx: Fix loading icons and cursors in WindowsDan Gudmundsson
wxWidgets looked in the wrong executable after icons and cursors, stole wxLua's solution. Also finds wx-2.9 on windows
2013-01-09wx: Remove unnecessary castsDan Gudmundsson
2013-01-09wx: Fix changed getfunctionsDan Gudmundsson
wx-2.9 have changed some functions from returning references to objects to returning objects instead
2013-01-09wx: Fix int to enumDan Gudmundsson
In 2.9 several functions takes enum's instead of int as arguments, remove dirty -fpermissive fix and fix it correctly instead.
2013-01-09wx: Update examples so they work with both wxWidgets 2.8 and 2.9Dan Gudmundsson
2013-01-09wx: Fixes more changed/removed functionality in 2.9Dan Gudmundsson
2013-01-09wx: Ifdef changed/removed functionality in wxWidgets-2.9.xDan Gudmundsson
2013-01-09wx: Re-generated codeDan Gudmundsson
Generated code with previous commit.
2012-12-13wx: Build targets to platform subdirsDan Gudmundsson
And add code so wx can be run from src tree during development.
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-03-16[wx] Fix listctrl issuesDan Gudmundsson
Wrong arguments / return values in: hitTest getItemPosition and getItemRect
2012-02-24[wx] Add missing stc functionDan Gudmundsson
wxSTC:SetEdgeMode was missing for some reason.
2012-02-24[wx] Add wxTaskBarIcon classDan Gudmundsson
2012-02-20[wx] Fix api bugs in wxDCDan Gudmundsson
Some out arguments was in args.
2012-02-17[wx] Fix wxGraphicContext bugsDan Gudmundsson
* Lines had wrong arguments * Change float() to number in guards, when packing arguments integers are converted floats to automaticly anyway.
2012-02-16[wx] Generate GL api from latest versionDan Gudmundsson
- Remove edoc types in gl - Add OpenGL documentation
2012-02-09[wx] Cleanup MakefilesDan Gudmundsson
Remove old "outside" otp building support.
2011-12-10Merge branch 'dgud/wx/behaviour-spec'Dan Gudmundsson
* dgud/wx/behaviour-spec: [wx] Add handle_cast to avoid behaviour warning [wx] Avoid missing wx_object behaviour warning [wx] Remove warnings Add an additional cast when casting buffer offsets, to remove warnings "cast to pointer from integer of different size" [wx] Add callback specs to wx_object
2011-12-09Update copyright yearsBjörn-Egil Dahlberg
2011-12-09ws's xwe_driver.c: Conform to updated driver APIBjörn Gustavsson
2011-12-07[wx] Remove warningsDan Gudmundsson
Add an additional cast when casting buffer offsets, to remove warnings "cast to pointer from integer of different size"
2011-11-18Merge branch 'pan/osx_gcc_fixes'Patrik Nyblom
* pan/osx_gcc_fixes: Fix typo in erts/configure.in Make OTP build w/alternative gcc on MacOS Lion OTP-9712
2011-11-16Make OTP build w/alternative gcc on MacOS LionPatrik Nyblom
Requires own build of wxMac for wx to work: $ arch_flags="-arch i386" $ ./configure CFLAGS="$arch_flags" CXXFLAGS="$arch_flags" \ CPPFLAGS="$arch_flags" LDFLAGS="$arch_flags" OBJCFLAGS="$arch_flags" \ OBJCXXFLAGS="$arch_flags" --prefix=/usr/local \ --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk \ --with-macosx-version-min=10.6 --enable-unicode --with-opengl $ make $ sudo make install - and we have macports gcc 4.5 in /opt/local/bin, so we configure and build OTP like this for 32bit (which is required for wx): $ cd $ERL_TOP $ PATH=/usr/local/bin:$PATH CC=/opt/local/bin/gcc-mp-4.5 CXX=/opt/local/bin/g++-mp-4.5 ./configure --enable-m32-build $ MAKEFLAGS="-j6" PATH=/usr/local/bin:$PATH make
2011-11-16[wx] Change libGL loadingDan Gudmundsson
Load libGL.so.1 instead of libGL.so, this should fix things when DL search path is broken (Ubuntu). dlopen("libGL.so") finds Mesa driver and dlopen("libGL.so.1") finds Nvidia or ATI. wxWidgets (added by gcc) have a dependency to libGL.so.1 so the context is created with that driver.
2011-11-16[wx] Fix deadlock in callback handlingDan Gudmundsson
New testcase showcase the deadlock
2011-11-10[wx] Add wxSystemOptionsDan Gudmundsson
Needed on mac
2011-09-21[wx] Remove warningDan Gudmundsson
2011-09-21[wx] Fix trailing whitespaceDan Gudmundsson
2011-09-21[wx] Fix cleanup memory referencesDan Gudmundsson
Could cause a crash in later restarts