123 Commits

Author SHA1 Message Date
Tom Tromey
41f4d5c3dc Add pre-commit, update flake8, run black 2024-03-27 18:01:30 -06:00
Tom Tromey
f2bbafeedb Move Gtk startup to __init__.py 2024-03-02 14:38:56 -07:00
Tom Tromey
add2391740 Fix typo in "gui.events"
A couple spots referenced "gui.event" where "gui.events" was meant.
2024-03-02 14:24:18 -07:00
Tom Tromey
da1d9741f6 Don't mention C module - it is gone 2023-11-22 21:19:22 -07:00
Tom Tromey
0c38b74cff Fix some flake8 reports 2023-11-22 21:16:00 -07:00
Tom Tromey
233a39a424 Run isort 2023-11-22 21:06:37 -07:00
Tom Tromey
602c144f6e Run black 2023-11-22 21:05:41 -07:00
Tom Tromey
5da88dac7a Use time.process_time
time.clock was removed; use time.process_time instead
2023-11-22 21:04:26 -07:00
Tom Tromey
ca12a739d6 Use ==, not is
Python pointed out that this should use ==
2023-11-22 20:58:00 -07:00
Tom Tromey
7c9b1fb65b Use gdb.Thread
gdb 14 will include gdb.Thread, which handles signal blocking,
so we can remove the local hack for this.
2023-11-22 20:56:23 -07:00
Tom Tromey
37f050380b Remove Python 2 support
gdb got rid of Python 2 support
2023-11-22 20:48:58 -07:00
Tom Tromey
b21838a4ea nothing used set-breakpoint.xpm 2017-09-06 06:29:00 -06:00
Tom Tromey
756d5c66f8 Add some new icons
Add some new icons from Feather Icons.
A few old ones remain for the source window contents.
2017-09-05 22:39:04 -06:00
Tom Tromey
e589768aeb Fix some key bindings
The "u" and "d" key bindings were reversed.
Fixes #9
2017-09-05 22:05:20 -06:00
Tom Tromey
e5f4aeaa8b try to choose correct python version using gdb 2017-09-03 12:36:35 -06:00
Tom Tromey
3434cb0300 Merge pull request #41 from StinGer-ShoGuN/master
Fix error when displaying diff in a display window
2017-07-18 13:23:52 -06:00
Baptiste MARÉCHAL
249e0be02a fix missing import
Import the Differ class and remove the explicit call to difflib when
instantiating it.
2017-07-17 17:03:55 +02:00
Tom Tromey
9d0cff088d don't notify about bug 13351 2016-05-24 10:57:57 -06:00
Tom Tromey
028cd69469 fix labels and order of up/down buttons 2016-03-03 09:05:43 -07:00
Tom Tromey
124d875f48 fix labels on up/down buttons 2016-03-03 09:04:42 -07:00
Tom Tromey
e434095c42 add minimum requirements using gi.require_version 2015-12-28 16:03:34 -07:00
Tom Tromey
48e2764916 add stop notifications
Fixes #38
2015-09-29 12:52:46 -06:00
Tom Tromey
6caa2acfc3 show pointer icon at current PC
Fixes #24
2015-09-20 20:54:21 -06:00
Tom Tromey
a93e40bc05 clear breakpoint marker if breakpoint is disabled
Fixes #34
2015-09-19 20:15:40 -06:00
Tom Tromey
c1bb37366c handle errors from gdb.newest_frame
Fixes #35
2015-08-05 13:58:28 -06:00
Tom Tromey
4c77bd7135 remove bogus import 2015-08-04 14:58:10 -06:00
Tom Tromey
de76c8e44e add frame number 2015-08-04 14:56:20 -06:00
Tom Tromey
63cbacd9db update to describe bug 18620 2015-07-02 22:38:15 -06:00
Tom Tromey
1273564e45 make up/down buttons work again
Fixes #31
2015-07-02 22:27:48 -06:00
Tom Tromey
e67f0d3acb handle pending breakpoints
Fixes #33
2015-07-02 20:59:12 -06:00
Tom Tromey
ca8344526c beginnings of a source window
does not yet really work
2015-07-02 20:14:30 -06:00
Tom Tromey
6cda3363be fix my mysteriously misspelled name 2015-07-02 20:04:16 -06:00
Tom Tromey
daceae7cb8 make theme affect empty windows as well 2015-05-25 15:48:33 -06:00
Tom Tromey
6b67ba36d2 remove items that are in the issues 2015-05-24 13:39:08 -06:00
Tom Tromey
1ab13b05e5 update source windows when objfiles come or go
Fix #27
2015-05-20 20:12:44 -06:00
Tom Tromey
9e116896c6 use icon_name, not stock_id
I couldn't reproduce this bug -- I couldn't see how to get gtk to emit
deprecation warnings for me.  This should work though.

Fix #30.
2015-05-20 08:08:44 -06:00
Tom Tromey
22bdecb10d make it work with both python2 and python3
I ran 2to3, fixed up the output a tiny bit, and fixed the C module as
well.  I smoke tested with both versions of Python but didn't use it in
anger yet.

Fix #29
2015-05-19 09:44:09 -06:00
Tom Tromey
63baaf9c82 allow breakpoint deletion from source window 2015-05-16 13:18:34 -06:00
Tom Tromey
9bc0efd258 privatize _breakpoint_source_map 2015-05-16 13:12:35 -06:00
Tom Tromey
ff700b4a97 save and restore window geometry 2015-05-13 21:17:19 -06:00
Tom Tromey
6d49924a9d change executable-line icon 2015-05-10 20:05:08 -06:00
Tom Tromey
089d965a4b handle case where symtab is None 2015-05-10 10:57:09 -06:00
Tom Tromey
ffd6d83a03 fix breakpoint display in source windows 2015-05-10 10:53:01 -06:00
Tom Tromey
1bec4626eb fix some bugs in gui show 2015-05-10 08:00:20 -06:00
Tom Tromey
e8467f8488 make gui show and gui list commands 2015-05-09 21:32:02 -06:00
Tom Tromey
2eece3f732 fix buglet 2015-05-09 20:53:42 -06:00
Tom Tromey
a6e266899d remove obsolete FIXMEs 2015-05-09 20:19:18 -06:00
Tom Tromey
7647b97c01 try to update source window when breakpoints change
this is not tested yet
2015-05-08 13:01:23 -06:00
Tom Tromey
6b5c4dc9df rearrange a bit 2015-05-07 14:15:49 -06:00
Tom Tromey
f94c64d369 add parameters for line numbers and tab width 2015-05-07 11:30:14 -06:00