a15b3c4d11
Code cleanup: use bool
2014-04-11 11:33:29 +10:00
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
d900f5be55
Code cleanup: use bools where possible
2014-02-03 19:35:44 +11:00
348cf17448
Code Cleanup: no need to pass empty strings as default values
2014-01-16 22:00:29 +11:00
2dba2e72b7
Code Cleanup: de-duplicate text pasting which only used the first line
2014-01-08 17:39:12 +11:00
7267221715
remove return argument from wmOperatorType->cancel, was only ever returning OPERATOR_CANCELLED.
2013-10-30 23:08:53 +00:00
a5620a73b3
fix for crash freeing console history.
2013-09-24 17:11:55 +00:00
6af6c96e85
fix for yet another off by one error in console code, could crash deleting words (but mostly it was hidden by guardedalloc), hopefully the last of this kind in console.
2013-04-30 22:46:41 +00:00
7ce6bfb17b
fix bad memmove size (reading past buffer bounds)
2013-04-05 03:44:07 +00:00
e7c15beaf6
code cleanup: use booleans for mesh and selection code.
2013-03-19 23:17:44 +00:00
aaa8a13c49
code cleanup: use const events for modal and invoke operators.
2013-03-13 09:03:46 +00:00
ab7ca2dc44
fix for double clicking in the text editor not working usefully (double clicking a pair chars would select 3 - one to the left).
2013-02-14 03:03:12 +00:00
934fa91f75
patch [ #34192 ] UTF-8 input in Python interactive console
...
from Shinsuke Irie (irie)
2013-02-11 09:40:33 +00:00
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
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
62331fd0f8
fix for clear line adjusting console selection.
2012-11-22 09:49:56 +00:00
8a658d4050
add in assert's to double check the line lenth is never <0
2012-10-30 12:08:44 +00:00
ef60504009
fix for selection offset with indentation in the python console.
2012-10-30 11:57:37 +00:00
0e494b74c4
style cleanup
2012-10-26 04:14:10 +00:00
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
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
18bf8993f7
fix for py-console ctrl+backspace/del changing the selection.
2012-10-14 21:27:08 +00:00
eb81192069
Tag unused variables
2012-06-04 07:43:36 +00:00
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
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
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
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
ed61bfc9a6
style cleanup
2012-03-28 11:53:18 +00:00
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
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
4c3bb77012
style cleanup: spaces aroudn operators for operator definitions.
2012-03-22 07:26:09 +00:00
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
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
c78f02d990
edit to cursor adjustment, use int rather then short to store the cursor position.
2012-03-07 16:24:25 +00:00
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
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
0c2f08d35a
fix crash when calling bpy.ops.render.render('INVOKE_DEFAULT') from the python console.
2012-01-15 14:19:32 +00:00
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
592879bfca
prefix common internal operator function names so its possible to assign them breakpoints.
2011-10-28 03:02:09 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
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
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
a99f2cd015
Minor: fixing other UI typos.
2011-09-17 10:44:16 +00:00
c83417b2e2
running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.
2011-08-13 14:24:53 +00:00
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
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
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
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