Commit Graph

24 Commits

Author SHA1 Message Date
Bob Farrell 7b30be76f3 Changelog updated 2008-11-04 14:39:59 +00:00
Bob Farrell b35e0c606c '.' now in sys.path on startup
Now you can import modules from the current working directory.
2008-08-31 15:49:16 +01:00
Bob Farrell 843e859a51 No more autoindent after a SyntaxError
This had the side-effect of me discovering the showsyntaxerror method on
code.InteractiveInterpreter, which I have now overridden and passed through my
own routines, so these errors are now in the same colour as the other
exceptions. Hooray.
2008-08-29 00:37:52 +01:00
Bob Farrell e1121e78b7 CHANGELOG update. 2008-08-28 22:51:44 +01:00
Bob Farrell 9b9e15423b History file support added.
Defaults to ~/.pythonhist but can be configured in rc (see sample-rc)
2008-08-25 18:40:11 +01:00
Bob Farrell b43ba3da9d Bug fix re: PYTHONSTARTUP
I've never used this feature but Thorsten Kampe reported problems with it.
Unfortunately the way I was parsing the file was line-by-line which was causing
bpython to blow up when it encountered a double line-break, which was pretty
stupid on my part. It now takes the whole file at once.
2008-08-25 00:08:53 +01:00
Bob Farrell b50a6adcbf raw_input() support added.
There's now a fake stdin object instantiated when the curses interface loads
which hooks in to the interface and calls a get_key method on it (some
refactoring done to make this work cleanly). I've only provided a readline()
method on this object (write, writelines and read are there too but no-ops) as
I can't think of any other use for reading from stdin in the interactive
interpreter.
2008-08-24 23:38:48 +01:00
Bob Farrell 1d77549a05 Damn changelog... 2008-08-23 14:06:57 +01:00
Bob Farrell e615100cd9 Damn changelog 2008-08-19 09:45:41 +01:00
Bob Farrell bdc4320a72 Forgot to include the CHANGELOG, as usual. 2008-08-16 10:44:16 +01:00
Bob Farrell d5635ab400 KeyboardInterrupt clears list win properly now 2008-07-03 12:19:53 +01:00
Bob Farrell 4a97c035a9 Typo fixed 2008-06-28 14:22:31 +01:00
Bob Farrell 2f300db252 help() now works just the same as vanilla help() 2008-06-25 17:49:47 +01:00
Bob Farrell 810e1327c2 All columns in list window now used fully
No idea how I didn't notice this one sooner; I think it was just there
in my periphery and I got used to it and forgot it was actually there,
but now the rightmost column gets fully used. I also fixed another
couple of little bugs that don't come up very often.
2008-06-24 23:54:27 +01:00
Bob Farrell b2226509f0 Now 2.4-compatible.
As far as I know this should run fine on 2.4 without any problems.
Thanks a bunch to Seamus for making me have to write ugly code to make
bpython compatible with his computer from the 1800s.
2008-06-24 19:16:29 +01:00
Bob Farrell fe4b4fc988 sample-rc included with package 2008-06-24 18:07:49 +01:00
Bob Farrell 93ad83025b Fixed the pager and help so the full help is displayed
Also added a 'q' option to the pager to cancel out of huge help pages.
2008-06-24 17:33:32 +01:00
Bob Farrell 2f6555bfd2 help() fixed up so it's internalised
A few people pointed out that help() can cause problems, specifically
when the help string is really big, so I've internalised it and injected
my own help() function into the interpreter which pages the output, but
it's pretty ghetto so I'm open to suggestions for improvement.

That said, it's pretty obvious that scrolling up and down (like less)
would be the main requested improvement so I should get to work on that
at some point.
2008-06-21 18:55:31 +01:00
Bob Farrell 85d6485565 Escape key handling fix
Ben Ford pointed out that the escape key can cause things to go a little
awry, I've fixed that and added another fix for potential breakage that
hadn't come up before.
2008-06-16 22:09:23 +01:00
Bob Farrell 1b92cbe871 Just a changelog update, nothing important. 2008-06-12 18:22:23 +01:00
Bob Farrell 45e44807fa dksaldasd 2008-04-30 18:48:21 +01:00
Bob Farrell 83b91a7acc Forgot the CHANGELOG... 2008-04-28 16:36:54 +01:00
Bob Farrell 5c84feb9db Auto-indent added
It was pretty trivial (it just autoindents if a line ends with a colon
or if the previous line was indented).
2008-04-28 15:33:27 +01:00
Bob Farrell 7a1ebadb52 Whoosh, I've switched over to an installable package.
Pascal Bleser was kind enough to package bpython for OpenSUSE
and sent me a patch to have it working with distutils, which
is always nice, so thanks a lot for that, here's the new
dir structure.
2008-04-27 22:05:23 +01:00