Skip to content

Commit df42169

Browse files
author
Chad Smith
committed
move (almost?) all state to a single location and render based off state changes
1 parent eb5dbbf commit df42169

File tree

7 files changed

+344
-271
lines changed

7 files changed

+344
-271
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A browser-based frontend/gui for GDB
77
.. image:: https://travis-ci.org/cs01/gdbgui.svg?branch=master
88
:target: https://travis-ci.org/cs01/gdbgui
99

10-
.. image:: https://img.shields.io/badge/pypi-v0.7.3.6-blue.svg
10+
.. image:: https://img.shields.io/badge/pypi-v0.7.3.7-blue.svg
1111
:target: https://pypi.python.org/pypi/gdbgui/
1212

1313
.. image:: https://img.shields.io/badge/python-2.7, 3.3, 3.4, 3.5, pypy-blue.svg

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Release v\ |version|
1111
.. image:: https://travis-ci.org/cs01/gdbgui.svg?branch=master
1212
:target: https://travis-ci.org/cs01/gdbgui
1313

14-
.. image:: https://img.shields.io/badge/pypi-v0.7.3.6-blue.svg
14+
.. image:: https://img.shields.io/badge/pypi-v0.7.3.7-blue.svg
1515
:target: https://pypi.python.org/pypi/gdbgui/
1616

1717
.. image:: https://img.shields.io/badge/python-2.7, 3.3, 3.4, 3.5, pypy-blue.svg

gdbgui/VERSION.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.7.3.7

gdbgui/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
import os
2+
VERSION_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'VERSION.txt')
13
__title__ = 'gdbgui'
2-
__version__ = '0.7.3.6'
4+
__version__ = open(VERSION_PATH).read().strip()
35
__author__ = 'Chad Smith'
46
__copyright__ = 'Copyright Chad Smith'

gdbgui/static/css/gdbgui.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,18 @@ div.breakpoint:hover a span.breakpoint_trashcan, .variable:hover .delete_gdb_var
124124
cursor: pointer;
125125
}
126126
/* the line number has its style changed if it has a breakpoint */
127-
.line_num.breakpoint{
128-
background: #33cdff !important;
127+
.line_num.breakpoint, .line_num.disabled_breakpoint{
129128
color: black;
130129
border-style: solid;
131130
border-color: #000000;
132131
border-width: 1px;
133132
}
133+
.line_num.breakpoint{
134+
background: #33cdff !important;
135+
}
136+
.line_num.disabled_breakpoint{
137+
background: #ffd6d7 !important;
138+
}
134139
td.assembly{
135140
padding-bottom: 6px;
136141
white-space: nowrap;

0 commit comments

Comments
 (0)