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
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
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
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
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
Bastien Montagne
f157a543c6
/blender/editors: Removed final points in UI strings and messages.
...
Plus a few cuts in very long lines…
2011-09-19 12:26:20 +00:00
Campbell Barton
5db33d11bd
Console Scrolling - reset while typing.
...
patch from Damir Prebeg with some edits.
Also made it so resizing the console view keeps the lower part of the text in view (could be annoying when you needed to scroll because of a resized view).
2011-09-18 01:34:53 +00:00
Bastien Montagne
a99f2cd015
Minor: fixing other UI typos.
2011-09-17 10:44:16 +00:00
Campbell Barton
c83417b2e2
running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.
2011-08-13 14:24:53 +00:00
Campbell Barton
4ce97c5ed4
changes to startup.blend
...
- enable manipulator option, applies to new 3d views (not sure why it was disabled) - reported in [#27664 ]
- remove rigify and netrender scene ID properties
- set console scrollback to 256, was 128 which could sometimes cut off output of help()
- enabled syntax highlighting and line number in the text editor for game logic and python screens
2011-06-20 03:10:02 +00:00
Campbell Barton
c7fccc84bf
use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf & editors.
2011-03-05 10:29:10 +00:00
Nathan Letwory
95100afc12
doxygen: blender/editors tagged.
2011-02-27 20:29:51 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
Campbell Barton
8b7482892b
made most variables which are only used in a single file and not defined in header static for blenlib, blenkernel and editors.
2011-02-14 17:55:27 +00:00
Ton Roosendaal
5e8b877268
Crash fix, IRC report.
...
Python console crashed on opening.
Too quick code cleaning for "unused variables" caused a complete line
of code to disappear that was needed anyway :)
2011-01-08 17:47:34 +00:00
Campbell Barton
3b74074aec
remove unused code & variables.
2011-01-08 12:43:44 +00:00
Campbell Barton
8f21a43535
split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
...
no functional changes.
2011-01-07 18:36:47 +00:00
Campbell Barton
cd97253502
- added GCC warning -Wstrict-prototypes
...
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.
2010-12-03 12:30:59 +00:00
Campbell Barton
d9c23d8d5d
minor console changes.
...
- remove report argument from console functions.
- don't update the scroll area while drawing, do this within operators instead.
- dont redraw while selecting text unless selection changes.
2010-11-30 22:39:41 +00:00
Campbell Barton
43f396218f
move report/operator view out of the 'Console' into the 'Info' space (file menu).
...
Ton will work on moving the File menu out of the Info space before release.
notes.
- reply Operator isn't working anymore.
- UI for reports is commented out so its not mixed with the file menu.
2010-11-11 13:36:57 +00:00
Campbell Barton
e47d84026d
make console wrapped text drawing into its own function in preparation to move report view out of the console space type. (no functional changes)
...
also remove incorrect messages about the original copyright in the GPL headers.
2010-11-11 05:45:55 +00:00
Campbell Barton
369a5cc29e
fix for compiling with the c90 standard, support for non-static variable initializers is a c99 feature.
2010-11-02 13:12:30 +00:00
Campbell Barton
9971158648
use UNUSED() macro for the console space + minor changes to args.
2010-10-13 23:46:42 +00:00
Campbell Barton
74dd22a228
re-enable fix from r32330 but without the alt key check because this can be used for input.
2010-10-13 01:30:42 +00:00
Nathan Letwory
67a1a871a9
Revert r32330 and reopening #24184 . The change breaks input where modifier key is used to create a character.
2010-10-11 08:03:28 +00:00
Campbell Barton
7006309b3a
fix for console selection when pasting.
2010-10-08 12:16:03 +00:00
Campbell Barton
458de52151
bugfix [ #24148 ] unable to get keyboard mappings to work in the text window
...
this exposes another problem: RNA_property_is_set cant be used on properties set from a keymap, they are always set. for now check for string length.
2010-10-05 18:35:02 +00:00
Campbell Barton
c76d339b6c
fix for copy in the console (wasnt taking the prompt into account)
2010-10-04 12:02:18 +00:00
Campbell Barton
27c444acb6
python console prompt + edit line is how selectable.
2010-10-02 22:31:48 +00:00
Campbell Barton
2b59013490
bugfix pointed out by Kris Salaah (own mistake)
2010-09-28 19:57:47 +00:00
Campbell Barton
e310b302ae
minor console fixes
...
- selection doesnt mess up alignment when text is added to the buffer.
- tab key is now alligned to 4 (rather then adding 4 spaces).
2010-09-27 17:22:59 +00:00
Campbell Barton
28a2eedce6
console now stores selection internally with 0 index starting at the end of the line. makes internal logic much less confusing. no functional changes.
2010-09-27 14:01:16 +00:00
Campbell Barton
f2d77e4496
remove unused includes from editors/space_*
2010-08-08 08:14:07 +00:00
Campbell Barton
f743b583bf
more lint includes
...
Only source/blender/editors/ dir, should not give errors on different platforms
Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-23 14:09:09 +00:00
Campbell Barton
1e9bf0cfdb
spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)
2010-03-22 09:30:00 +00:00
Campbell Barton
5be3bf73be
bugfix [ #20694 ] Copy Paste to buffer missing in Console editor
...
- console selection working
- copy selection to clipboard
- paste selection from clipboard works with multiline paste
word-wrap is still not working with selection drawing.
2010-02-26 23:56:16 +00:00
Campbell Barton
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Campbell Barton
148435b70a
batch remove .'s used with RNA_def_struct_ui_text
2010-02-10 21:15:44 +00:00
Campbell Barton
03e924cdee
mirror modifier vgroup option was doing string name conversion to find the flipped name for every vertex for every weight.
...
the vertex flip mapping only needs to be made once.
warning fixes too.
2010-01-16 01:15:47 +00:00
Campbell Barton
6b9d65549b
bugfix [ #20542 ] Crash 2.50a0 Click event in Console window Report mode
2010-01-03 02:34:00 +00:00
Campbell Barton
9bda43ed27
- WM_OT_context_cycle_int wasnt working (also wasnt used anywhere)
...
- remove console zoom operator, use WM_OT_context_cycle_int instead.
- use WM_OT_context_cycle_int for text editor zoom also (Ctrl +/- and Ctrl+MouseWheel)
2010-01-03 02:24:53 +00:00