aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/wx_object.erl
AgeCommit message (Collapse)Author
2016-07-05wx: Add missing specsDan Gudmundsson
Some taylormade functions still used edoc spec's, and some where wrong which caused broken links. Change them to be real spec's and correct the types.
2016-05-24wx: Quote atoms in types and specsDan Gudmundsson
Follow the convention and make atom more visibile in types and specs
2016-04-22wx: add object set/check funcionsDan Gudmundsson
Needed functionality, to avoid abusing opauqe objects.
2016-03-15update copyright-yearHenrik Nord
2015-06-18Change license text to APLv2Bruce Yinhe
2014-09-15Remove untested option 'generic_debug' from gen_serverAnthony Ramine
This undocumented option makes an init:get_argument/1 call every time a gen_server is started. Reported-By: James Fish
2014-05-28Add synchronous stop function to wx_objectSiri Hansen
2011-12-07[wx] Add callback specs to wx_objectDan Gudmundsson
2011-12-06[wx] Avoid deadlock in handle_sync_eventDan Gudmundsson
Avoid sending cb messages to the wx_object, since it may deadlock. Instead send it to the wxe_server which reads the state from the wx_object's process_dictionary. Ugly but it's the only way I can avoid the deadlock.
2011-08-16emulator: Add a fourth element in exception stacktracesBjörn Gustavsson
This commit is a preparation for introducing location information (filename/line number) in stacktraces in exceptions. Currently a stack trace looks like: [{Mod1,Function1,Arity1}, . . . {ModN,FunctionN,ArityN}] Add a forth element to each tuple that can be used indication the filename and line number of the source file: [{Mod1,Function1,Arity1,Location1}, . . . {ModN,FunctionN,ArityN,LocationN}] In this commit, the fourth element will just be an empty list, and we will change all code that look at or manipulate stacktraces.
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.)
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP