summaryrefslogtreecommitdiff
path: root/gdb/gdbtk/library/ehandler.ith
Commit message (Collapse)AuthorAgeFilesLines
* Import readline 5.1 on the branch.readline_5_1-import-branchcvs/readline_5_1-import-branchDaniel Jacobowitz2006-04-241-48/+0
|
* * library/attachdlg.itb:Eli Zaretskii2005-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/actiondlg.tcl: * library/about.tcl: * library/ehandler.itb: * library/editor.tcl: * library/download.ith: * library/download.itb: * library/debugwin.ith: * library/debugwin.itb: * library/cspref.ith: * library/cspref.itb: * library/console.ith: * library/console.itb: * library/browserwin.ith: * library/browserwin.itb: * library/bpwin.ith: * library/bpwin.itb: * library/blockframe.ith: * library/managedwin.ith: * library/managedwin.itb: * library/main.tcl: * library/locals.tcl: * library/ipcpref.ith: * library/ipcpref.itb: * library/ipc.tcl: * library/interface.tcl: * library/helpviewer.tcl: * library/globalpref.ith: * library/globalpref.itb: * library/gdbwin.ith: * library/gdbtoolbar.itcl: * library/gdbmenubar.itcl: * library/gdbevent.ith: * library/gdbevent.itb: * library/embeddedwin.ith: * library/ehandler.ith: * library/srcwin.itb: * library/srctextwin.ith: * library/srctextwin.itb: * library/srcpref.ith: * library/srcpref.itb: * library/srcbar.itcl: * library/session.tcl: * library/regwin.ith: * library/regwin.itb: * library/process.ith: * library/process.itb: * library/prefs.tcl: * library/pluginwin.itcl: * library/modal.tcl: * library/memwin.ith: * library/memwin.itb: * library/mempref.ith: * library/mempref.itb: * library/watch.tcl: * library/watch.tcl: * library/warning.tcl: * library/vartree.ith: * library/vartree.itb: * library/util.tcl: * library/tracedlg.tcl: * library/toplevelwin.ith: * library/tfind_args.tcl: * library/tdump.tcl: * library/targetselection.ith: * library/targetselection.itb: * library/stackwin.ith: * library/stackwin.itb: * library/srcwin.ith:
* 2002-10-15 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-10-151-1/+1
| | | | | | | | | | * library/* : auto_mkindex cannot rebuild tclIndex because it does not recognize the namespace import in main.tcl. To get it to work again, rename the following: body -> itcl::body configbody -> itcl::configbody class -> itcl::class
* * generic/gdbtk-hooks.c (gdbtk_add_hooks): RegisterKeith Seitz2001-08-131-0/+3
| | | | | | | | | | architecture_changed event handler. (gdbtk_architecture_changed): New function. * library/gdbevent.ith (class ArchChangdEvent): New event. * library/ehandler.ith (arch_changed): New method. Handler for ArchChangedEvents. * library/interface.tcl (gdbtk_tcl_architecture_changed): New proc to handle architecture change events.
* * library/interface.tcl (gdb_update_hook): Mark as deprecated.Keith Seitz2001-06-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (gdbtk_update): Dispatch and UpdateEvent, too. * library/ehandler.ith (update): New event handler. * library/gdbevent.ith (UpdateEvent): New event. * library/gdbevent.itb (UpdateEvent::constructor): New method. (UpdateEvent::get): New method. * library/kod.ith (udpate): Match event handler definition. * library/kod.itb (update): Ditto. (build_win): Pass dummy argument to update method. (top): Ditto. (up): Ditto. (set_variable): Ditto. * library/memwin.ith (update): Match event handler definition. * library/memwin.itb (update): Ditto. (constructor): Remove gdb_update_hook. (destructor): Ditto. * library/process.ith (update): Match event handler definition. * library/process.itb (update): Ditto. (constructor): Remove gdb_update_hook. (destructor): Ditto. (build_win): Pass dummy argument to update method. * library/regwin.ith (update): Match event handler definition. * library/regwin.itb (update): Ditto. (constructor): Remove gdb_update_hook. (destructor): Ditto. (build_win): Pass dummy argument to update method. (but3): Ditto. (unedit): Ditto. * library/stackwin.ith (update): Match event handler definition. * library/stackwin.itb (update): Ditto. (constructor): Remove gdb_update_hook. (destructor): Ditto. (build_win): Pass dummy argument to update method. * library/tdump.tcl (update): Match event handler definition. (constructor): Remove gdb_update_hook. (destructor): Ditto. (build_win): Pass dummy argument to update method. * library/variables.tcl (update): Match event handler definition. (build_win): Pass dummy argument to update method. * library/locals.tcl (update): Match event handler definition. (constructor): Pass dummy argument to update method. * library/watch.tcl (update): Match event handler definition. Pass dummy argument to VariableWin::update. (add): Pass dummy argument to update method. * library/srcwin.ith (update): New method. (update_hook_init): Remove. * library/srcwin.itb (update): New method. (constructor): Remove gdb_update_hook. (destructor): Ditto. * tclIndex: Regenerate.
* * library/interface.tcl (gdb_idle_hook): Mark as deprecated.Keith Seitz2001-05-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (gdbtk_idle): Dispatch an IdleEvent. gdb_idle_hook is gone. * library/ehandler.ith (idle): New event handler. * library/gdbevent.ith (IdleEvent): New event. * library/console.ith (idle): Match event handler definition. * library/console.itb (idle): Ditto. (constructor): Remove gdb_idle_hook. (destructor): Ditto. * library/kod.ith (idle): Match event handler definition. * library/kod.itb (idle): Ditto. (constructor): Remove gdb_idle_hook. (destructor): Ditto. * library/memwin.ith (idle): Match event handler definition. * library/memwin.itb (idle): Ditto. (constructor): Remove gdb_idle_hook. (destructor): Ditto. * library/pluginwin.itcl (stopped): Rename to "idle" and match event handler definition. Fix misleading comments. * library/process.ith (idle): Match event handler definition. * library/process.itb (idle): Ditto. (constructor): Remove gdb_idle_hook. (destructor): Ditto. * library/regwin.ith (idle): Match event handler definition. * library/regwin.itb (idle): Ditto. (constructor): Remove gdb_idle_hook. (destructor): Ditto. * library/srcbar.itcl (idle): New method. (constructor): Remove gdb_idle_hook. (destructor): Ditto. * library/srcwin.ith (idle): Match event handler definition. * library/srcwin.itb (idle): Ditto. (constructor): Remove gdb_idle_hook. (destructor): Ditto. * library/stackwin.ith (idle): Match event handler definition. * library/stackwin.itb (idle): Ditto. (constructor): Remove gdb_idle_hook. (destructor): Ditto. * library/variables.tcl (idle): Match event handler definition. (constructor): Remove gdb_idle_hook. (destructor): Ditto. * library/plugins/rhabout/rhabout.itcl (stopped): Rename to "idle" and match new event handler definition. * library/tclIndex: Regenerated.
* * library/interface.tcl (gdb_busy_hook): Deprecate.Keith Seitz2001-05-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (gdbtk_busy): Create and dispatch a BusyEvent instead of running hooks. * library/ehandler.ith (busy): New event handler. * library/gdbevent.ith (BusyEvent): New event class. * library/console.ith: Inherit from GDBEventHandler. (busy): Match event handler definition. * library/console.itb (busy): Ditto. (constructor): Remove gdb_busy_event. (destructor): Ditto. * library/kod.ith (busy): Match event handler definition. * library/kod.itb (busy): Ditto. (constructor): Remove gdb_busy_hook. (destructor): Ditto. * library/memwin.ith (busy): Match event handler definition. * library/memwin.itb (busy): Ditto. (constructor): Remove gdb_busy_hook. (destructor): Ditto. * library/pluginwin.itcl (running): Rename to "busy" and match event handler definition. (consturctor): Remove gdb_busy_hook. (destructor): Ditto. * library/process.ith (busy): Match event handler definition. * library/process.itb (busy): Ditto. (constructor): Remove gdb_busy_hook. (destructor): Ditto. * library/regwin.ith (busy): Match event handler definition. * library/regwin.itb (busy): Ditto. (constructor): Remove gdb_busy_hook. (destructor): Ditto. * library/srcbar.itcl (constructor): Remove gdb_busy_hook. (destructor): Ditto. (busy): New method. * library/srcwin.ith (busy): Match event handler definition. * library/srcwin.itb (busy): Ditto. Only do the "busy" stuff if do_updates is set. (toggle_updates): Remove gdb_busy_hook. (constructor): Ditto. (destructor): Ditto. * library/stackwin.ith (busy): Match event handler definition. * library/stackwin.itb (busy): Ditto. (constructor): Remove gdb_busy_hook. (destructor): Ditto. * library/variables.tcl (constructor): Ditto. (destructor): Ditto. (disable_ui): Rename to "busy" and match event handler definition. * library/plugins/rhabout/rhabout.itcl (running): Rename to "busy" and match new event handler definition. * library/tclIndex: Regenerated.
* Event model revamp for "gdb_set_hook".Keith Seitz2001-04-201-0/+3
| | | | | | | | | | | * library/interface.tcl (gdbtk_tcl_set_variable): New proc. * library/gdbevent.ith (SetVariableEvent): New event. * library/gdbevent.itb (SetVariableEvent::get): Override GDBEvent::get. * library/ehandler.ith (set_variable): New public method. * generic/gdbtk-hooks.c (gdbtk_set_hook): Let inteface function gdbtk_tcl_set_variable do all the work. * tclIndex: Regenerated.
* New event handling infrastructure.Keith Seitz2001-04-191-0/+33
* library/gdbevent.ith: New file. Defines new event model. * library/gdbevent.itb: New file. Implements new event model. * library/ehandler.ith: New file. Defines new event model. * library/ehandler.itb: New file. Implements new event model. * library/gdbwin.ith: Inherit from GDBEventHandler. (update): Delete unused method. (_state): Delete unused variable. * library/tclIndex: Regenerated.