aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src
AgeCommit message (Collapse)Author
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
2011-07-14Handle overloading callbacks the same as eventsDan Gudmundsson
Previously other process wx calls where allowed to execute in the callback code, but that lead to a deadlock if for example a dialog was created.
2011-07-07Fix documentation and callback options in wxListCtrl:create/3Dan Gudmundsson
2011-07-07Add wxListItemAttrDan Gudmundsson
Needed in virtual listctrls.
2011-07-07Generated code of previous commitDan Gudmundsson
2011-07-07Add support for virtual listctrlsDan Gudmundsson
2011-07-05Re-generated with new doxygenDan Gudmundsson
Used doxygen 1.7.3
2011-03-02Make MacOS (NS) wx use the main threadPatrik Nyblom
2011-03-02Fix bad string copy during initializationDan Gudmundsson
This may have caused the core dump on ubuntu-64 which have happend for some people.
2011-03-02Fix start argsDan Gudmundsson
2011-03-02Fixed coredump when graphics could not be initiatedDan Gudmundsson
For instance when DISPLAY was not set
2010-11-26Merge branch 'dgud/wx/misc-bugs/OTP-8951' into devDan Gudmundsson
* dgud/wx/misc-bugs/OTP-8951: Add wxSystemSettings Avoid eternal loops when quiting
2010-11-19Fix non available opengl functionsDan Gudmundsson
Opengl functions are loaded at runtime and differ with drivers and cards.
2010-11-15Update to OpenGL 4.1Dan Gudmundsson
2010-11-15Remove ostype sub dirs below wx/privDan Gudmundsson
This was intended for distributing several binaries in one package, in standalone version, it has no need when included in otp.
2010-11-15Windows and Mac build issuesDan Gudmundsson
2010-11-15Split opengl functionality into separate dynamic libraryDan Gudmundsson
The idea is to build a separate opengl library which can be reused by other erlang applications.
2010-11-04Avoid eternal loops when quitingDan Gudmundsson
Caused an eternal loop and crash if an event was sent when stopping erlang.
2010-08-27Merge branch 'dgud/wx/TreeCtrl_editlabel/OTP-8767' into devDan Gudmundsson
* dgud/wx/TreeCtrl_editlabel/OTP-8767: Add .gitignore Added missing wxTextCtrl:editLabel/2.
2010-08-19Added missing wxTextCtrl:editLabel/2.Dan Gudmundsson
Reported by akorosmezey.
2010-08-18Callback crash reported by Sergei Golovan.Dan Gudmundsson
May also be the reason of the crash seen on windows by several others.
2010-07-14Implemented wxSystemSettings class.Dan Gudmundsson
It was missing as Doug Edmunds pointed out.
2010-04-15Fix shared libraries installationPeter Lemenkov
Several shared libraries (asn1_erl_drv.so, megaco_flex_scanner_drv_mt.so, megaco_flex_scanner_drv.so, wxe_driver.so) were installed as data files previously. Signed-off-by: Peter Lemenkov <[email protected]>
2010-03-30Merge branch 'dgud/wx-new-doxygen' into devErlang/OTP
* dgud/wx-new-doxygen: Added a non existing macro on windows. Commit of the generated code with previous commit. Fixed code generation from newer doxygen versions. Whitespace fixes OTP-8547 dgud/wx-new-doxygen
2010-03-22Merge branch 'pan/otp_8332_halfword' into devErlang/OTP
* pan/otp_8332_halfword: Teach testcase in driver_suite the new prototype for driver_async wx: Correct usage of driver callbacks from wx thread Adopt the new (R13B04) Nif functionality to the halfword codebase Support monitoring and demonitoring from driver threads Fix further test-suite problems Correct the VM to work for more test suites Teach {wordsize,internal|external} to system_info/1 Make tracing and distribution work Turn on instruction packing in the loader and virtual machine Add the BeamInstr data type for loaded BEAM code Fix the BEAM dissambler for the half-word emulator Store pointers to heap data in 32-bit words Add a custom mmap wrapper to force heaps into the lower address range Fit all heap data into the 32-bit address range
2010-03-12Added a non existing macro on windows.Dan Gudmundsson
The new code generator doesn't resolve macros and a is missing (not used in wxWidgets) on windows.
2010-03-12Commit of the generated code with previous commit.Dan Gudmundsson
Should be the same as previously. Still generated with doxxygen-1.4.6.
2010-03-12Whitespace fixesDan Gudmundsson
2010-03-10wx: Correct usage of driver callbacks from wx threadPatrik Nyblom
2010-02-05Merge branch 'dgud/wx_list_ctrl' into ccase/r13b04_devErlang/OTP
* dgud/wx_list_ctrl: Generate without trailing spaces Fix correct starting copyright year Do not emit trailing whitespace Added tests for wxListCtrl:getItem/2. Added wxListCtrl:getEditCtrl (not available on Mac) OTP-8408 Added wxListCtrl:getEditCtrl/1 (not available on Mac).
2010-02-03OTP-8323 Cross compilation improvements and other build systemRickard Green
improvements. Most notable: Lots of cross compilation improvements. The old cross compilation support was more or less non-existing as well as broken. Please, note that the cross compilation support should still be considered as experimental. Also note that old cross compilation configurations cannot be used without modifications. For more information on cross compiling Erlang/OTP see the $ERL_TOP/xcomp/README file. Support for staged install using <url href="http://www.gnu.org/prep/standards/html_node/DESTDIR.html">D ESTDIR</url>. The old broken INSTALL_PREFIX has also been fixed. For more information see the $ERL_TOP/README file. Documentation of the release target of the top Makefile. For more information see the $ERL_TOP/README file. make install now by default creates relative symbolic links instead of absolute ones. For more information see the $ERL_TOP/README file. $ERL_TOP/configure --help=recursive now works and prints help for all applications with configure scripts. Doing make install, or make release directly after make all no longer triggers miscellaneous rebuilds. Existing bootstrap system is now used when doing make install, or make release without a preceding make all. The crypto and ssl applications use the same runtime library path when dynamically linking against libssl.so and libcrypto.so. The runtime library search path has also been extended. The configure scripts of erl_interface and odbc now search for thread libraries and thread library quirks the same way as erts do. The configure script of the odbc application now also looks for odbc libraries in lib64 and lib/64 directories when building on a 64-bit system. The config.h.in file in the erl_interface application is now automatically generated in instead of statically updated which reduces the risk of configure tests without any effect.
2010-02-02Generate without trailing spacesBjörn Gustavsson
2010-02-02Added wxListCtrl:getEditCtrl (not available on Mac)Dan Gudmundsson
2010-02-02Update copyright headersBjörn Gustavsson
2010-01-19wx: Improved wxTreeCtrl.Dan Gudmundsson
Changed representation of wxTreeItem to be int. This saves memory, where the driver don't need to keep a reference map for every tree item. And added getFirstChild and getNextChild to wxTreeCtrl.
2010-01-19Fixed a memory reference bug which caused unexplained {badarg, Int} exits.Dan Gudmundsson
You could get a reference to another applications memory, if wx had deleted that applications memory without the drivers knowledge about it, typically memory allocated by wx and not the application using classes where wx-driver can't override the desctructors. When wx allocated new memory and got a pointer to that memory, the wx-driver detected the same pointer and forwarded the old ref to erlang.
2009-12-04The generated updates, of the previous fix.Dan Gudmundsson
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP