Commit Graph

55 Commits

Author SHA1 Message Date
Tom Tromey
6ee0bec04a add "set gui theme" 2015-05-03 17:21:10 -06:00
Tom Tromey
2aba648451 let user choose the theme 2015-05-03 10:07:36 -06:00
Tom Tromey
6eea985e68 add application icon 2015-05-01 22:21:32 -06:00
Tom Tromey
5593cf7365 set application name and class 2015-05-01 21:34:56 -06:00
Tom Tromey
34f59b68fb set button sensitivity based on running state 2015-05-01 14:29:33 -06:00
Tom Tromey
eee43717ad guess language of the source file 2015-04-30 14:05:23 -06:00
Tom Tromey
35143e403f put window number and source basename in title bar 2015-04-30 13:34:40 -06:00
Tom Tromey
5b31fb182c add documentation 2015-04-30 12:44:36 -06:00
Tom Tromey
99cbf92868 use monospace, not Fixed 2015-04-30 12:40:02 -06:00
Tom Tromey
cc0fac354e install 'gui dprintf' 2015-04-30 12:40:02 -06:00
Tom Tromey
4004b80fee add a "clicked" handler for "next" button 2015-04-29 11:25:32 -06:00
Tom Tromey
2d1ea6f90c use before_prompt hook to notify the frame_changed event 2015-04-29 11:16:35 -06:00
Tom Tromey
7ac3f01719 link to another bug 2015-04-29 09:18:02 -06:00
Tom Tromey
6ce3e8f72b use a monospace font 2015-04-28 20:47:44 -06:00
Tom Tromey
2d750e210b fix syntax buglet 2015-04-22 12:38:45 -06:00
Tom Tromey
8d07dd14a0 add -diff item to "gui display" 2013-11-16 21:28:09 -07:00
Tom Tromey
4dae417ff4 add diff capability to "gui display" 2013-11-16 21:23:42 -07:00
Tom Tromey
9e46c9e5dd fix updatewindow _on_event implementation 2013-11-16 20:46:32 -07:00
Tom Tromey
2246853368 try to use monospace font 2013-11-16 20:40:53 -07:00
Tom Tromey
272efb37b9 remove one note 2013-11-16 20:27:50 -07:00
Tom Tromey
602c1fd82d move some display code into "updatewindow" base class 2013-11-15 19:46:33 -07:00
Tom Tromey
99ca7a2297 make Toplevel call start_gtk 2013-11-15 19:26:37 -07:00
Tom Tromey
558fef88b2 remove extraneous "global" 2013-11-15 19:25:56 -07:00
Tom Tromey
f35543706a add "gui display"
This adds the "gui display" command.
It arranges to re-evaluate a gdb command at each change
and display the results in a window.
2013-11-15 14:09:41 -07:00
Tom Tromey
4cac0ece7f fix initialization of _gdb_thread 2013-11-15 13:59:34 -07:00
Tom Tromey
4ba3d52fb2 note a completed upstream bug 2013-11-14 16:20:41 -07:00
Tom Tromey
bcca43094b find symtab even in frame-less case 2013-11-14 12:12:49 -07:00
Tom Tromey
fc79d59d09 send _disconnect_events to the correct thread 2013-11-14 12:06:18 -07:00
Tom Tromey
e44236b2fb fix typo that caused the wrong icon to be displayed 2013-11-14 10:46:07 -07:00
Tom Tromey
97d3a8fafa fix overriding command creation 2013-11-12 09:59:11 -07:00
Tom Tromey
3ecb5ad7f1 initial change to use the line-table API
this changes the source window to try to use the new
line-table API, to display icons in the source window
indicating executable lines

next step should be making the markers clickable, to
set a breakpoint or pop up a menu for "advance"
or the like
2013-11-11 21:48:05 -07:00
Tom Tromey
a1d11c2022 add some random notes 2013-11-11 20:01:37 -07:00
Tom Tromey
b73212ab30 add thread enforcement decorators
This adds a couple of decorators that can be used to
mark functions as needing to be run in the gdb thread
or in the gtk thread.

This found at least one bug.
2013-11-03 19:48:27 -07:00
Tom Tromey
ca645d2e80 add frame support
if you have a gdb that can wrap commands (not yet upstream)
then up/down/frame commands will update the source window
when a selected-frame event is available, we can change
the code to use that instead
2013-06-17 20:30:36 -06:00
Tom Tromey
3e79929585 add gui.startup.create_builder
this pulls some repeated code out into a separate function
2013-06-14 15:01:02 -06:00
Tom Tromey
3acd551297 add another link to bugzilla 2013-06-14 13:28:00 -06:00
Tom Tromey
7020755290 allow clicking to set a breakpoint
Clicking in the left gutter of the source window will set a
breakpoint.  Currently the effect of this is somewhat invisible,
because there is no way for the GUI to notice when breakpoints
are created.
2013-06-14 12:04:16 -06:00
Tom Tromey
295c006fa0 filed some bugs for missing bits 2013-06-13 14:55:00 -06:00
Tom Tromey
ef78748b6b note missing events 2013-06-13 07:37:01 -06:00
Tom Tromey
3de33a4fc6 update README 2013-06-12 12:59:20 -06:00
Tom Tromey
3b39f0068b add "gui log" and friends
This adds the "gui log" command, which pops up a window you can use
for logging.

There are also new "gui" subcommands for sending output to a log
window: gui print, gui output, gui printf, and gui dprintf.  These
all work pretty much like their non-gui counterparts, except that the
output goes to the log window.

If you have more than one log window you can specify which one to use
with an "@", like  gui print @1 value
2013-06-12 12:51:43 -06:00
Tom Tromey
b9bd74b346 remove "currying" comment
There's no need for send_to_gtk to be fancier, since we have
functools.partial.
2013-06-12 11:25:16 -06:00
Tom Tromey
1214f22d6b add help to "gui source" 2013-06-12 11:16:27 -06:00
Tom Tromey
33347637ac Change source window title 2013-06-12 11:14:33 -06:00
Tom Tromey
4b5a9b16ed add "info windows" and "delete window"
This adds the "info windows" and "delete window" commands.

"info windows" unfortunately overlaps with the TUI's "info win".
So maybe we should rename this one.

This also adds a new "toplevel" component that knows how to track
windows.
2013-06-12 10:30:12 -06:00
Tom Tromey
199f50ff72 add hack-gdbinit Makefile target
This target adds the needed "source" line to your ~/.gdbinit so that
this extension will always be available.
2013-06-12 09:17:33 -06:00
Tom Tromey
2667cb0617 add an accelerator for "finish" 2013-06-07 14:50:30 -06:00
Tom Tromey
c31ec25531 add "finish" command
This adds the "finish" command to the GUI.
It also wires up the "stop" button, but that still doesn't
seem to work.
2013-06-07 14:47:50 -06:00
Tom Tromey
5fceb3421e move to pygobject and glade
This ports the code to PyGObject, and also changes it to use Glade to
edit the user interface elements.
2013-06-07 11:13:31 -06:00
Tom Tromey
48cf179e8c request an initial size for the source window 2013-06-07 07:18:30 -06:00