Campbell Barton
934fa91f75
patch [ #34192 ] UTF-8 input in Python interactive console
...
from Shinsuke Irie (irie)
2013-02-11 09:40:33 +00:00
Campbell Barton
5fcb12d754
changing RNA properties now prints python script in the info view.
...
next will add context so bpy.data.xxx[id] are not used for all references.
2012-12-18 15:22:06 +00:00
Bastien Montagne
ab2c273b12
Added GPL header to sconscripts!
...
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-17 08:01:43 +00:00
Campbell Barton
20846bee03
correct scrollbars not working properly with DPI in the console/info view.
2012-12-14 08:05:56 +00:00
Campbell Barton
30c365908a
code cleanup: minor edits to the console.
2012-12-14 05:27:53 +00:00
Ton Roosendaal
12b642062c
Holiday coding log :)
...
Nice formatted version (pictures soon):
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability
Short list of main changes:
- Transparent region option (over main region), added code to blend in/out such panels.
- Min size window now 640 x 480
- Fixed DPI for ui - lots of cleanup and changes everywhere. Icon image need correct size still, layer-in-use icon needs remake.
- Macbook retina support, use command line --no-native-pixels to disable it
- Timeline Marker label was drawing wrong
- Trackpad and magic mouse: supports zoom (hold ctrl)
- Fix for splash position: removed ghost function and made window size update after creation immediate
- Fast undo buffer save now adds UI as well. Could be checked for regular file save even...
Quit.blend and temp file saving use this now.
- Dixed filename in window on reading quit.blend or temp saves, and they now add a warning in window title: "(Recovered)"
- New Userpref option "Keep Session" - this always saves quit.blend, and loads on start.
This allows keeping UI and data without actual saves, until you actually save.
When you load startup.blend and quit, it recognises the quit.blend as a startup (no file name in header)
- Added 3D view copy/paste buffers (selected objects). Shortcuts ctrl-c, ctrl-v (OSX, cmd-c, cmd-v).
Coded partial file saving for it. Could be used for other purposes. Todo: use OS clipboards.
- User preferences (themes, keymaps, user settings) now can be saved as a separate file.
Old option is called "Save Startup File" the new one "Save User Settings".
To visualise this difference, the 'save startup file' button has been removed from user preferences window. That option is available as CTRL+U and in File menu still.
- OSX: fixed bug that stopped giving mouse events outside window.
This also fixes "Continuous Grab" for OSX. (error since 2009)
2012-12-12 18:58:11 +00:00
Campbell Barton
82fc331959
There was no way of knowing what ID type a property comes from by the tooltip, (since copying the Data-Path doesn't include the ID the user had to guess).
...
Now include the full python path to the property in the tool-tip.
2012-12-02 07:13:19 +00:00
Campbell Barton
2f97f929a5
fix for bug in console indent, was not copying the null terminator.
...
also add assert to catch this case more quickly.
2012-12-01 06:29:04 +00:00
Campbell Barton
449369adf3
minor edit to console line adding, all callers have the console space, may as well pass it.
2012-11-22 09:57:38 +00:00
Campbell Barton
62331fd0f8
fix for clear line adjusting console selection.
2012-11-22 09:49:56 +00:00
Campbell Barton
8a658d4050
add in assert's to double check the line lenth is never <0
2012-10-30 12:08:44 +00:00
Campbell Barton
ef60504009
fix for selection offset with indentation in the python console.
2012-10-30 11:57:37 +00:00
Campbell Barton
0e494b74c4
style cleanup
2012-10-26 04:14:10 +00:00
Campbell Barton
fec81d9b56
use min_ max_ functions in more places.
...
also fix minor error in MOD decimate when the modifier did nothing the reported face count would be wrong.
2012-10-23 16:21:55 +00:00
Campbell Barton
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
Campbell Barton
c56a911cd9
style cleanup: comments
2012-10-20 20:20:02 +00:00
Campbell Barton
18bf8993f7
fix for py-console ctrl+backspace/del changing the selection.
2012-10-14 21:27:08 +00:00
Sv. Lockal
1086069fb3
Fix for misplaced cursor in wrapped console prompt, also fixes newline for single wrap when input line width equals console width
2012-10-14 19:57:49 +00:00
Campbell Barton
232571c61a
code cleanup: replace macro for BLI_rect size/center with inline functions.
2012-09-15 11:48:20 +00:00
Campbell Barton
77f47799dd
code cleanup: use BLI_RCT_SIZE macro
2012-08-20 23:06:17 +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
61469d2e3e
code cleanup: remove unneeded 'struct' qualifiers
2012-07-26 22:47:05 +00:00
Sergey Sharybin
eb81192069
Tag unused variables
2012-06-04 07:43:36 +00:00
Campbell Barton
4414f38cbf
patch [ #31644 ] Py Console: Indent and unindent independent of cursor (aligned) [Tab / Shift + Tab / Ctrl + Tab]
...
from Sebastian Nell (codemanx)
2012-06-04 07:24:19 +00:00
Campbell Barton
af3e348430
code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also replace do prefix with do_ for bool vars.
2012-05-19 13:28:19 +00:00
Campbell Barton
895e426e26
patch [ #31359 ] Py Console: Empty current line
...
from Sebastian Nell (codemanx), with some edits
- Changed key shortcut to Shift+Enter.
- made into its own operator since it works differently to delete.
2012-05-09 14:58:57 +00:00
Campbell Barton
a73d0d3e72
code cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some defines/includes for windows.
2012-04-15 07:54:07 +00:00
Campbell Barton
431eafe559
partial fix [ #30777 ] python console utf-8 problem
...
backspace/del now doesn't split up multi-byte characters.
Ctlr+Backspace/Del now work for deleting whole words.
2012-04-03 03:17:49 +00:00
Campbell Barton
ed61bfc9a6
style cleanup
2012-03-28 11:53:18 +00:00
Campbell Barton
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
Campbell Barton
ab4a2aaf4a
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:38:07 +00:00
Campbell Barton
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
Campbell Barton
eab6c9498a
fix for error with console command history not working, using previous settings.
2012-03-23 07:08:28 +00:00
Campbell Barton
4c3bb77012
style cleanup: spaces aroudn operators for operator definitions.
2012-03-22 07:26:09 +00:00
Bastien Montagne
d5600a43f6
Quick fix to broken text editor/console from r45051.
...
Note: not completely sure this is the way to go, but at least it works (and is easy to revert in case there is better solution ;) ).
2012-03-21 15:51:15 +00:00
Campbell Barton
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
Campbell Barton
79d97ca509
style cleanup - spelling.
2012-03-08 04:12:11 +00:00
Campbell Barton
c78f02d990
edit to cursor adjustment, use int rather then short to store the cursor position.
2012-03-07 16:24:25 +00:00
Campbell Barton
00781668ce
Unify string stepping delimiter code for text buttons, text editor and console (all had duplicate code).
...
this is also a step toward the console working with utf8 though many todo's remain.
2012-03-07 15:55:12 +00:00
Campbell Barton
a2c182e923
style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).
2012-03-03 16:31:46 +00:00
Campbell Barton
7cc206ddca
Code Cleanup: remove non existing function declarations.
...
added some missing functions too - which are not used yep but should be there for api completeness.
* CDDM_set_mloop
* CDDM_set_mpoly
* BLI_mempool_count
2012-02-29 15:00:37 +00:00
Campbell Barton
2b7ca2304a
unify include guard defines, __$FILENAME__
...
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +00:00
Campbell Barton
e1dd245a1e
more keymap edits
...
- make sure defaults are not assumed (so reuse last settings doesnt
override)
- replace 0/1 for TRUE/FALSE defines.
2012-01-16 16:12:03 +00:00
Campbell Barton
acb9b46617
use TRUE/FALSE for boolean keymaps, no functional changes
2012-01-16 09:51:04 +00:00
Campbell Barton
0c2f08d35a
fix crash when calling bpy.ops.render.render('INVOKE_DEFAULT') from the python console.
2012-01-15 14:19:32 +00:00
Campbell Barton
f66f33cefc
rename RNA_property_is_set() --> RNA_struct_property_is_set() in preperation to add a second version of the function which takes the property rather then its name.
2012-01-11 16:32:12 +00:00
Campbell Barton
6736576f6d
replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAX
2011-11-26 04:07:38 +00:00
Campbell Barton
592879bfca
prefix common internal operator function names so its possible to assign them breakpoints.
2011-10-28 03:02:09 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Andrew Wiggin
7c46f1c4b7
Fix some MSVC 2010 warnings (including one apparent bug in intern/elbeem/intern/solver_relax.h)
2011-09-25 12:33:51 +00:00