aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx
AgeCommit message (Collapse)Author
2010-06-08Prepare ReleaseDan Gudmundsson
2010-05-27handle {global, term()} names in format_status/2Steve Vinoski
The gen_fsm, gen_server, and wx_object format_status implementations fail to handle global names of the form {global, term()} where term() is something other than an atom, pid, or list. Change these format_status implementations to treat names that are atoms, pids, or lists as before, but for all other terms, set the header property of the function return value to a tuple whose first element is a string describing the return value and whose second element is the name term. Add unit tests for gen_server and gen_fsm to verify sys:get_status calls work successfully for globally registered instances.
2010-05-24Merge branch 'bg/wx_objects' into devErlang/OTP
* bg/wx_objects: wx_objects: Fix calls to unexported gen_server:print_event/3 OTP-8638 bg/wx_objects
2010-05-21wx_objects: Fix calls to unexported gen_server:print_event/3Björn Gustavsson
In code copied (and modified) from the gen_server module, there are references to the gen_server:print_event/3 function, which is not exported. We could export print_event/3 from the gen_server, but in that case we must promise to keep the function and keep it compatible in the future. Since the function is small and wx_object already contains a lot of code copied from gen_server, let's copy the code for print_event/3 too. (Thanks to Kostis Sagonas. This old bug was exposed by a patch by Kostis that replaced "tuple funs" with real funs.)
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-25Merge branch 'hawk/wx-add-app-file' into devErlang/OTP
* hawk/wx-add-app-file: Add app and appup files to the wx application OTP-8538 hawk/wx-add-app-file
2010-03-23Add app and appup files to the wx applicationHåkan Mattsson
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-12Fixed code generation from newer doxygen versions.Dan Gudmundsson
Also changed the wx.hrl output order. Tried to get it to work with both doxygen-1.4.6 and doxygen-1.6.3. Minor problems still exists with doxygen-1.6.3.
2010-03-12Whitespace fixesDan Gudmundsson
2010-03-10wx: Correct usage of driver callbacks from wx threadPatrik Nyblom
2010-02-17wx: Prepare releaseDan Gudmundsson
2010-02-17Merge branch 'ks/cleanups' into ccase/r13b04_devErlang/OTP
* ks/cleanups: percept: Clean up as suggested by tidier percept: Modernize types and specs parsetools: Don't use 'try...of' when 'try' will do parsetools: Use %% for comments at the beginning of a line parsetools: Replace lists:keysearch/3 with lists:keyfind/3 parsetools: Modernize types and specs parsetools: Replace TABs with spaces runtime_tools: Modernize specs sasl: Eliminate tuple used as fun sasl: Add missing modules to app file asn1: Clean up as suggested by tidier os_mon: Modernize types and specs wx: Clean up as suggested by tidier OTP-8455 ks/cleanups
2010-02-16wx: Clean up as suggested by tidierKostis Sagonas
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-02Fix correct starting copyright yearBjörn Gustavsson
2010-02-02Do not emit trailing whitespaceBjörn Gustavsson
2010-02-02Added tests for wxListCtrl:getItem/2.Dan Gudmundsson
2010-02-02Added wxListCtrl:getEditCtrl (not available on Mac)Dan Gudmundsson
2010-02-02Update copyright headersBjörn Gustavsson
2010-01-26OTP-8343 The documentation is now possible to build in an open sourceLars G Thorsen
environment after a number of bugs are fixed and some features are added in the documentation build process. - The arity calculation is updated. - The module prefix used in the function names for bif's are removed in the generated links so the links will look like http://www.erlang.org/doc/man/erlang.html#append_element-2 instead of http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2 - Enhanced the menu positioning in the html documentation when a new page is loaded. - A number of corrections in the generation of man pages (thanks to Sergei Golovan) - Moved some man pages to more apropriate sections, pages in section 4 moved to 5 and pages in 6 moved to 7. - The legal notice is taken from the xml book file so OTP's build process can be used for non OTP applications.
2010-01-20Test case fixesDan Gudmundsson
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-11OTP-8323 Miscellaneous cross compilation improvements. For example, oneRickard Green
new mandatory configuration variable that replaces all other previously mandatory configuration variables, and better documentation. Note that old cross compilation configurations cannot be used without modifications. For more information see the $ERL_TOP/xcomp/README file.
2009-12-07Changed filename ref_man.src.xml to ref_man.xml.src to avoid confusionDan Gudmundsson
2009-12-04The generated updates, of the previous fix.Dan Gudmundsson
2009-12-04Fixed generation of wxFileDialog:getPaths/1.Dan Gudmundsson
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP