153 Commits

Author SHA1 Message Date
Aaron Meurer
cc521a28ad Make settings update in real time
Right now, the line numbers setting doesn't work correctly, and I don't
know enough about urwid/pudb internals to figure out why.  Any help here
would be much appreciated.

Also, it would probably be a good idea to factor out the saving to file
so that it only happens when the dialog is closed.
2011-07-27 17:25:48 -06:00
Andreas Kloeckner
64dd089ee6 Merge branch 'master' of github.com:inducer/pudb 2011-07-27 18:48:23 -04:00
Andreas Klöckner
3b79e1b3c2 Merge pull request #2 from asmeurer/midnight-theme
Midnight theme
2011-07-27 15:48:13 -07:00
Andreas Kloeckner
db743988d1 Merge branch 'master' of github.com:inducer/pudb 2011-07-27 18:47:51 -04:00
Andreas Kloeckner
cd019a5e22 Update distribute_setup.py. 2011-07-27 18:47:36 -04:00
Andreas Kloeckner
8ac8188be5 Switch from setuptools to distribute. 2011-07-27 18:46:49 -04:00
Aaron Meurer
45f2f1d343 Display the location where the settings are saved in the preferences screen 2011-07-27 16:35:51 -06:00
Aaron Meurer
996a3e1674 Use blue instead of black for group headers
The black on gray was very difficult to see, at least in my Terminal.
If you want, I can use a different color, or if you insist on having
black, I can add this only to the midnight theme.
2011-07-27 16:31:33 -06:00
Aaron Meurer
af67e9ca2b Replace urwid.AttrWrap with urwid.AttrMap
According to the urwid docs, AttrWrap is deprecated, and AttrMap should
be used instead.  This seems to still work the same everywhere, though I
didn't check it extensively.
2011-07-27 16:28:53 -06:00
Aaron Meurer
7e9a0c5910 Add some helpful info to the preferences dialog 2011-07-27 16:22:56 -06:00
Aaron Meurer
7ee1d0097b Show the configuration screen on the first run 2011-07-27 16:11:08 -06:00
Aaron Meurer
5ba12fd65d Revert "Add information about configuration to the help"
This reverts commit e46ecd2655df35b72fdae870185344814c5ae69f.

I didn't realize there was already a preferences screen.  I may backport
some of this info to there.
2011-07-27 15:46:43 -06:00
Andreas Klöckner
72ce1e7728 Merge pull request #3 from asmeurer/README
Readme
2011-07-27 09:04:10 -07:00
Aaron Meurer
2ad718ca01 Update the README
Wrap some lines, add pip install and setup.py install, and change the
clone/browse urls to GitHub.
2011-07-26 22:58:32 -06:00
Aaron Meurer
c3c03221a8 Make setup.py executable (744) 2011-07-26 22:57:18 -06:00
Aaron Meurer
bb672b57a2 Add README.rst, which is an exact copy of http://pypi.python.org/pypi/pudb
The file is formatted in markdown, so that it looks nice at GitHub
2011-07-26 22:56:00 -06:00
Aaron Meurer
70f80aa805 Add distribute files that setup.py downloads to the .gitignore file 2011-07-26 22:42:24 -06:00
Aaron Meurer
1ea6f71725 Add more fine-grained string tokens to the themes
And update the midnight theme to use them.

So far, String.Single and String.Double do not work, but I think this is
a bug in pygments (see
https://bitbucket.org/birkenfeld/pygments-main/issue/685).  So hopefully
they fill fix it and it will start working :)
2011-07-26 22:39:54 -06:00
Aaron Meurer
0522dfc371 Add string to the list of pygments tokens
Some of the themes were using this, but it didn't work without this
2011-07-26 22:39:33 -06:00
Aaron Meurer
e46ecd2655 Add information about configuration to the help
This also includes a snazzy function to convert the list of themes into
a line broken list, so you don't have to update it with future themes.

I didn't add too much info on custom themes.  The documentation for this
needs to be updated elsewhere, i.e., in the example theme file.
2011-07-26 22:38:43 -06:00
Aaron Meurer
2f92bdf106 Add the midnight theme to the list of themes 2011-07-26 21:55:54 -06:00
Aaron Meurer
1b95a54b6d Add midnight theme, based on XCode's midnight theme
This looks best in a terminal with green text and a black background
(especially the background part)
2011-07-26 21:20:38 -06:00
Andreas Kloeckner
2db8d1bbc8 Switch from setuptools to distribute. 2011-06-26 11:30:39 -04:00
Andreas Kloeckner
c4771141f1 Minor English/exit message fix. 2011-06-20 19:16:55 -04:00
Andreas Kloeckner
a8c1f0a79d Bump version. 2011-06-16 16:11:16 -04:00
Andreas Kloeckner
d5ffd04ce0 Fix issue with postmortem debugging. (submitted by 'Sundance')
There seems to be a little bug in pudb.pm(). pm() calls port_mortem()
with a traceback object as its argument, where post_mortem() expects a
full exception info tuple.
2011-06-16 16:08:20 -04:00
Andreas Kloeckner
5d090ed6c0 Revert "Make a backup copy of '__builtins.open' just in case someone overwrote it. (Requested by Shawn Lee)"
This reverts commit 0b56c09e59d9d5e9d609b7bf78400379a16639eb.

Did not help original issue.
2011-05-16 19:58:52 +02:00
Andreas Kloeckner
0b56c09e59 Make a backup copy of '__builtins.open' just in case someone overwrote it. (Requested by Shawn Lee) 2011-05-14 01:39:17 +02:00
Andreas Kloeckner
6013ec2a04 Save shell history in XDG dir. 2011-03-18 10:43:54 -04:00
Andreas Kloeckner
63959e4a0b Add 'd' key in breakpoints to help. 2011-03-18 10:43:40 -04:00
Andreas Kloeckner
40c6c32e4e Fixes to Naveen's changes. Bump version. 2011-03-18 03:00:01 -04:00
Andreas Kloeckner
7703b47c2f Provide better visible separation between context line help items. 2011-03-18 02:07:15 -04:00
Naveen Michaud-Agrawal
3b93a56ce6 Dark vim theme 2011-02-15 15:16:51 -05:00
Naveen Michaud-Agrawal
3ecf8b1965 Merge branch 'new_changes' 2011-02-15 14:06:48 -05:00
Naveen Michaud-Agrawal
6a3b676270 Show current stack frame on top 2011-02-15 11:49:03 -05:00
Naveen Michaud-Agrawal
59503ae044 Incrementally growing/shrinking sidebar 2011-02-15 11:39:30 -05:00
Naveen Michaud-Agrawal
93853c28be Easier way of going forward and backward in the source 2011-02-15 11:35:46 -05:00
Naveen Michaud-Agrawal
dff578b0f6 Automatic saving/loading breakpoints between invocations 2011-02-15 11:25:18 -05:00
Andreas Kloeckner
a3e3efea21 Bump version. Upgrade urwid requirement. 2011-02-14 10:04:44 -05:00
Andreas Kloeckner
548d292150 Add saved settings, themes, etc. 2011-02-13 22:18:36 -05:00
Andreas Kloeckner
dd6daa3d56 Bump version. 2011-02-13 19:30:54 -05:00
Andreas Kloeckner
e0a0c4267d Syntax highlighting for names. (Change by Naveen Michaud-Agrawal) 2011-02-13 19:30:33 -05:00
Andreas Kloeckner
efbc4f3850 Show line numbers (change by Naveen Michaud-Agrawal). 2011-02-13 19:29:39 -05:00
Andreas Kloeckner
91ceaa53e0 Highlight current BP. (Change by Naveen Michaud-Agarwal) 2011-02-13 19:27:52 -05:00
Andreas Kloeckner
a41a680f2d u/d keys to move up/down in stack. 2011-02-13 19:25:39 -05:00
Andreas Kloeckner
f438918117 Add 'o' key to help. Bump version. (Report by Steve Steiner) 2010-01-16 23:33:37 -05:00
Andreas Kloeckner
5df38d3841 Hack around encoding-exception-in-py-init bug reported by Tuk Bredsdorff. (+)
Bump version.
2009-12-20 19:23:24 -05:00
Andreas Kloeckner
e36649563a Refresh source on restart. (Patch by Bernd Rothert) 2009-11-18 09:59:54 -05:00
Andreas Kloeckner
47e57bde7d Fix IPython integration (patch by Bernd Rothert.) 2009-11-11 13:56:45 -05:00
Andreas Kloeckner
28f9bd7e47 Bump version. 2009-10-28 22:24:19 -04:00