Campbell Barton
11efc9087b
Cleanup: remove workaround for Python 3.7x crashing with libedit
...
This removes workaround for T43491. It's no longer needed as
Python 3.9x supports libedit as an alternative to readline
on all platforms.
2021-03-06 19:31:49 +11:00
Campbell Barton
66328c0f4f
Console: remove shortcuts from console splash
...
Menu items can be used to find shortcuts instead of keeping
keymap items here.
2019-11-29 01:42:08 +11:00
Brecht Van Lommel
4da2acae3a
Spelling fixes in comments and descriptions, patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3668
2018-09-03 16:55:01 +02:00
Campbell Barton
b66aa0b0a6
Cleanup: pep8
2018-07-03 06:48:44 +02:00
Gaia Clary
a3b8f98913
revert commit c0a7e9b6312d74 because it did not work as expected
2017-09-21 00:04:10 +02:00
Gaia Clary
c0a7e9b631
D2777: allow blank lines and lines with spaces/tabs in cut/paste
2017-09-20 22:48:38 +02:00
Campbell Barton
ca983d1825
Cleanup: pep8
2016-07-30 09:00:41 +10:00
Campbell Barton
d8a998ce71
Use contextlib for temporary py console overrides
...
Using context overrides means stdout/stderr overrides can't be left set by accident.
2016-02-04 17:40:02 +11:00
Campbell Barton
f159ed7746
Workaround T43491: Python readline causes crash
...
loading 'readline' module could crash blender if 'libedit' was already linked (via LLVM).
Workaround the problem for now since we don't even need readline,
a _real_ fix likely involves changing how LLVM or Python are built.
2015-02-26 22:54:18 +11:00
Campbell Barton
8e6ce736c4
disable auto indent when pasting text into the python console.
2013-05-24 01:04:37 +00:00
Campbell Barton
a6a6184b3e
auto indent for multi-line python statements.
2013-05-08 12:57:00 +00:00
Campbell Barton
560c022af9
patch [ #34163 ] "Zoom" in Python console startup message
...
from Shinsuke Irie (irie)
2013-02-08 10:15:44 +00:00
Campbell Barton
3d9812c5d1
fix for own error in copy_as_script(), imports were incorrect.
2012-10-12 04:00:41 +00:00
Campbell Barton
9fa36b12cc
style cleanup: pep8
2012-10-08 08:28:05 +00:00
Campbell Barton
8a51d235e6
pep8 cleanup
2012-09-26 21:19:51 +00:00
Campbell Barton
257c6de9ac
copy as script operator for the console, so you can copy input from a console for use in a textblock.
2012-08-19 21:32:18 +00:00
Campbell Barton
2553cdf195
style cleanup
2012-07-29 12:07:06 +00:00
Bastien Montagne
63810ffcef
Style edit (mostly), use """ for docstrings (not ''').
...
Should also fix the broken py ops tips...
2012-07-03 09:02:41 +00:00
Campbell Barton
b0b96bd9a1
add in convenience var 'D = bpy.data' - to the python console, add note for C, D - in initial message.
2012-06-20 08:49:59 +00:00
Thomas Dinges
fd37970b80
* Replace some more Blender 2.5x with Blender 2.6x and some code cleanup.
2012-04-07 18:39:29 +00:00
Campbell Barton
5b88712ff9
move debug flag into its own global var (G.debug), split up debug options.
...
--debug
--debug-ffmpeg
--debug-python
--debug-events
--debug-wm
This makes debug output easier to read - event debug prints would flood output too much before.
For convenience:
--debug-all turns all debug flags on (works as --debug did before).
also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-31 00:59:17 +00:00
Campbell Barton
0f5f502f9e
minor formatting edits (80 char width)
2011-10-23 12:17:24 +00:00
Campbell Barton
fda2045150
correct spelling errors in comments
2011-10-17 06:58:07 +00:00
Bastien Montagne
712e434a5f
/release/scripts: Removed final points in UI strings and messages.
2011-09-19 14:00:42 +00:00
Campbell Barton
291ae8822d
executing operators that changed the context from the console wasnt returning an operator set/flag.
2011-08-25 17:59:37 +00:00
Campbell Barton
9cf0bbb95c
added a check to console auto-compleation for pythons struct_seq type, so bpy.app and sys.float_info autocompleate their attributes rather then bring treated as a typle.
2011-06-10 09:44:27 +00:00
Campbell Barton
ba03e5023e
less alarming warnings about the python api not being stable in online docs and remove from interactive console.
2011-04-12 12:09:38 +00:00
Campbell Barton
65b13c8089
fix [ #26757 ] Python console: help() doesn't work anymore
...
also quiet some warnings & add docstrings to bpy module which was shaowing the GPL header in its help() message.
2011-04-03 23:11:00 +00:00
Campbell Barton
2e6a02438e
move script directories for internal blender scripts.
...
ui/ --> startup/bl_ui
op/ --> startup/bl_operators
scripts/startup/ is now the only auto-loading script dir which gives some speedup for blender loading too.
~/.blender/2.56/scripts/startup works for auto-loading scripts too.
2011-03-21 12:35:49 +00:00