[Bf-committers] Console Output 1.0

Jacques Beaurain jacques.beaurain at gmail.com
Sat Apr 22 13:49:45 CEST 2006


I just submitted a patch in the tracker which I consider good enough
to submit. I fixed some small issues while I reviewed my changes. I
somehow lost transparency in blenderbuttons when I added a new icon
and fixed that. I also figured out how the update code in usiblender
works so that old themes can be update so I no longer need help with
that code.

See: http://projects.blender.org/tracker/index.php?func=detail&aid=4137&group_id=9&atid=127

The system works for both Windows and Linux a.t.m (I assume Mac and others
should just work because I am using normal POSIX calls to do the
redirection if the WIN32 defines are not set). Currently the following
is implemented:

1. Command line option -c to disable the redirection and print
everything to the console as before.

2. When -b is used the -c is implied. This should keep the existing
programs that rely on this flag working as normal.

3. On Windows a console will be shown when -c is used, otherwise the
console will be released (if you are already in a console it regains
user input, otherwise a console flashes briefly and then goes away).

4. Theming of the window (black BG, white text, blue select, red
error). I am welcome to suggestions for changes to this. The scroll
bar may need some thought as noted in the other thread.

5. Added a hotkey Ctrl-Shift-F11 (Text window is Shift-F11 so I
thought it may be a good choice.

6. Simple header buttons for the Console Output (Copy/paste/clear)

There was a lot of talk on the other thread about how this system can
be further extended but I believe in its current form it can already
deliver a lot of value. I will continue development after hashing out
some requirements on the ML and documenting them in the wiki as I
liked many of the ideas that came out of the discussions and would
also like to see these features. I would however appreciate it if this
can be committed after a review, because the patch is big and it is
hard to maintain as I have constantly merge between my own source
control and CVS (I do not have CVS write, but would like to;)

Cheers,
J


More information about the Bf-committers mailing list