973ce364a4
fix [ #26623 ] script/console windows: BACKSPACE does not work when SHIFT is held
2011-03-29 16:52:26 +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
9416daf97e
remove unused functions,
...
note: BPY_class_validate() could come in handy later if we need to check classes for properties/functions but for now there is no point in keeping it in.
2011-02-23 09:12:55 +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
c68a59175e
corrected error from commit r34810.
2011-02-13 13:07:12 +00:00
0955c664aa
fix for warnings from Sparse static source code checker, mostly BKE/BLI and python functions.
...
- use NULL rather then 0 where possible (makes code & function calls more readable IMHO).
- set static variables and functions (exposed some unused vars/funcs).
- use func(void) rather then func() for definitions.
2011-02-13 10:52:18 +00:00
89c617a116
remove nan-makefiles
2011-01-30 15:29:22 +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
3b74074aec
remove unused code & variables.
2011-01-08 12:43:44 +00:00
89c9aaaa25
remove references to BKE_utildefines where its not needed.
...
- move GS() define into DNA_ID.h
- add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07 19:18:31 +00:00
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
5e382eb8e5
rename blenderlib to blender_add_lib
2010-12-22 23:09:30 +00:00
3bed4cbf2b
fix [ #25283 ] Edge length display difficult to read
...
- made theme colors for mesh edge len & face angle/area display.
- use %g rather then %f for float display, trims unneeded zeros.
- store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context.
- use unsigned char for more color functions, avoids casting to glColorubv().
2010-12-20 03:59:22 +00:00
afacd18498
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
2010-12-08 08:43:06 +00:00
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
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
a5cac5434a
bugfix [ #24969 ] Python Console bug: inserting a large text leads to strange caret behavior
...
Caret wasn't wrapping.
2010-11-29 20:42:03 +00:00
e8397e6193
include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
...
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-29 04:35:56 +00:00
4a804855b2
console text underscore would draw outside the view for larger font sizes.
2010-11-27 00:56:18 +00:00
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
80a650dfb1
BLF_draw functions take an extra length argument, so the console drawing doenst need to swap in NULL chars to draw word wrapping.
2010-11-11 06:35:45 +00:00
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
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
0876fce009
rename and negate DISABLE_PYTHON --> WITH_PYTHON
2010-10-31 04:11:39 +00:00
c6976e7351
use explicit file paths for CMake rather then globing, This is recommended by cmake devs.
...
globbing vs explicit is discussed here.
http://www.cmake.org/pipermail/cmake/2008-December/025694.html
Practical implications are:
- developers need to keep CMakeLists.txt files up to date.
- Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.
2010-10-23 04:05:55 +00:00
a9197c3aa2
remove unused args in draw*.c and some in view*.c, tag some as UNUSED().
2010-10-14 01:22:14 +00:00
9971158648
use UNUSED() macro for the console space + minor changes to args.
2010-10-13 23:46:42 +00:00
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
7006309b3a
fix for console selection when pasting.
2010-10-08 12:16:03 +00:00
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
c76d339b6c
fix for copy in the console (wasnt taking the prompt into account)
2010-10-04 12:02:18 +00:00
27c444acb6
python console prompt + edit line is how selectable.
2010-10-02 22:31:48 +00:00
2b59013490
bugfix pointed out by Kris Salaah (own mistake)
2010-09-28 19:57:47 +00:00
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
f8e5e953c5
bugfix, console text selection /w wrapped lines now works.
2010-09-27 16:35:14 +00:00
1a3cc12999
fix for interactive console selection drawing with wrapped lines.
2010-09-27 15:14:58 +00:00
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
dea59cc5eb
warning fixes and minor cmake changes.
2010-09-18 03:55:56 +00:00
Nathan Letwory
6c113b54b3
Finally change SConscript tabs to spaces.
2010-08-29 20:52:05 +00:00
d1759639dc
- remove unused includes IMB_*, BIF_* & MEM_*
...
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-16 05:46:10 +00:00
95aa8cfa4a
Update address in license block.
2010-08-10 21:22:26 +00:00
ad4fc20ec9
moved idcode functions into their own file (was added as a todo in the comments), these were mixed in with file reading code - BLO_readfile.h bot these functions are not spesific to reading.
2010-08-10 15:14:19 +00:00
f2d77e4496
remove unused includes from editors/space_*
2010-08-08 08:14:07 +00:00
c2f36a4d6a
naming changes
...
path -> filepath (for rna and operators, as agreed on with elubie)
path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-06-14 03:52:10 +00:00
2ebb1c63f7
finish cleanup to cmake editors, also removed some stuff from scons thats not needed.
2010-06-05 23:27:49 +00:00
55d3a2014c
have cmake build editors as different libs like scons and nan-makefiles
2010-06-04 11:34:57 +00:00
79d5d623e0
Fixing the makefiles compiling
2010-05-08 19:48:28 +00:00