2001-01-15 Fernando Nasser * srcwin.itb (clear_file): Pass the appropriate value to the GO argument of mode() so it does not try to read a source file when no executable is loaded. 2001-01-09 Fernando Nasser * library/srcmenubar.itcl (create_file_menu): Add missing incr for session numbers. 2001-01-04 Fernando Nasser The following changes fix the problem of having to click on a splash window to make it disapear. * modal.tcl (post): Take as an argument "expire", the time a modal window is displayed. * managedwin.itb (open): Check for an "expire" argument and pass the value down to modal post method. 2001-01-04 Fernando Nasser * library/gdbmenubar.itcl (set_class_state): New public method. Standard method to control state by class. (menubar_menu_class_find): Delete public accessor method. (menubar_change_menu_state): Change the state of a menu item not of a whole class list. * library/srcmenubar.itcl (enable_ui): Use set_class_state instead of prying into base class internal data. * library/gdbtoolbar.itcl (set_class_state): New public method. Standard method to control state by class. (toolbar_button_class_find): Delete public accessor method. * library/srctoolbar.itcl (enable_ui): Use set_class_state instead of prying into base class internal data. 2001-01-04 Fernando Nasser * library/interface.tcl (gdbtk_connect): New proc. Connects to ai remote target (code previously at library/gdbmenubar.itcl). (disconnect): Rename to... (gdbtk_disconnect): New name for proc disconnect. * library/srcmenubar.itcl (do_connect): Remove the code mentioned above and call the new interface proc gdbtk_connect. Also, call ::update idletasks after changing the state of the menu entries. (do_detach): Call gdbtk_disconnect, not ::disconnect (old name). (do_disconnect): Call gdbtk_disconnect, not disconnect (old name). 2001-01-03 Fernando Nasser * library/prefs.tcl (pref_set_defaults): Define gdb/src/top_control to allow the source window controls to be placed at the top. * library/srcwin.itb (_build_win): Test for gdb/src/top_control and place the controls accordingly. 2001-01-02 Fernando Nasser * library/gdbmenubar.itcl: New file. Define the GDBMenuBar class, a generic menubar building facility for Insight windows (WIP). * library/gdbtoolbar.itcl: New file. Define the GDBToolBar class, a generic toolbar building facility for Insight windows (WIP). * library/srcmenubar.itcl: New file. Define the SrcMenuBar class, which implements the Source Window menubar (inherits GDBMenuBar). * library/srctoolbar.itcl: New file. Define the SrcToolBar class, which implements the Source Window toolbar (inherits GDBToolBar). * library/srcwin.itb (_build_win): Use SrcMenuBar and SrcToolBar instead of the obsolete GDBSrcBar. * library/srcbar.tcl: Mark as OBSOLETE. * library/toolbar.tcl: Mark as OBSOLETE. Rename class GDBToolBar to avoid conflict with new class with the same name. * library/Makefile (TCL): Include .itcl files. * library/tclIndex: Regenerate. 2001-01-02 Fernando Nasser * library/srcwin.itb (_build_win): If gdb is running a program, load the window with source for that location (if available). (download_progress): Calls to "update" must refer to the global namespace. 2001-01-02 Fernando Nasser * library/interface.tcl (gdbtk_quit_check): Save session whenever possible. 2001-01-01 Fernando Nasser * library/ChangeLog-2000: New file. Entries dated 2000 moved here from library/ChangeLog. * library/ChangeLog: Removed. * generic/ChangeLog-2000: New file. Entries dated 2000 moved here from library/ChangeLog. * generic/ChangeLog: Removed. 2000-12-14 Fernando Nasser * library/ChangeLog-1999: New file. Entries dated 1999 moved here from library/ChangeLog. * library/ChangeLog-1998: New file. Similar change for 1998. * library/ChangeLog-1997: New file. Similar change for 1997. * library/ChangeLog: Removed entries previous to 2000. * generic/ChangeLog-1999: New file. Entries dated 1999 moved here from library/ChangeLog. * generic/ChangeLog-1998: New file. Similar change for 1998. * generic/ChangeLog-1997: New file. Similar change for 1997. * generic/ChangeLog: Removed entries previous to 2000. 2000-04-17 Jonathan Larmour * ChangeLog-gdbtk: Renamed to ChangeLog * ChangeLog: New file * README.GDBTK: No need for changelog-default-name hint for Emacs now Sat Feb 5 00:14:30 2000 Andrew Cagney * gdb.rc, gdbtool.ico, README.GDBTK: To here from top level GDB directory. * gdb/gdbtcl2: Directory moved to gdbtk/library. * gdb/gdbtk/generic: New directory.