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
c56a911cd9
style cleanup: comments
2012-10-20 20:20:02 +00:00
18bf8993f7
fix for py-console ctrl+backspace/del changing the selection.
2012-10-14 21:27:08 +00:00
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
232571c61a
code cleanup: replace macro for BLI_rect size/center with inline functions.
2012-09-15 11:48:20 +00:00
77f47799dd
code cleanup: use BLI_RCT_SIZE macro
2012-08-20 23:06:17 +00:00
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
61469d2e3e
code cleanup: remove unneeded 'struct' qualifiers
2012-07-26 22:47:05 +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
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
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
2f348d8b5d
style cleanup: mainly for mesh code, also some WM function use.
2012-03-24 02:51:46 +00:00
eab6c9498a
fix for error with console command history not working, using previous settings.
2012-03-23 07:08:28 +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
79d97ca509
style cleanup - spelling.
2012-03-08 04:12:11 +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
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
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
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
acb9b46617
use TRUE/FALSE for boolean keymaps, no functional changes
2012-01-16 09:51:04 +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
6736576f6d
replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAX
2011-11-26 04:07:38 +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
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
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
b3704f45c4
Fixes for snprintf usage:
...
* replace by BLI_snprintf in various places, note _snprintf on windows
does not properly null terminate the string.
* fix overflow in sequencer proxy code due to buffer being smaller than
specified size.
* fix some usage of snprintf as strcpy, this is will go wrong if the
string contains % characters.
* remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf
2011-08-30 10:07:50 +00:00
f6a2b8d724
BLI_strescape for a basic, python like string escaping, currently only use for drag and drop ID's into the console but should eventually be used for the animsys too.
2011-08-23 15:08:54 +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
9095612b85
remove some warning for unused struct members
2011-06-11 17:05:20 +00:00
09da9d4393
cmake maintenance
...
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python).
also only build wm_apple.c on apple+carbon configuration.
2011-05-31 01:15:44 +00:00