Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-10Change the BLF_aspect function to handle 3d text.Diego Borghetti
This is need to properly handle 3d text (dalai work on GE), before the BLF_aspect only take one argument, and the result was a call to: glScalef(aspect, aspect, 1.0) Now the three value are store in the font (x, y and z) and also need to be enable using BLF_enable(BLF_ASPECT). By default all the code that don't have BLF_ASPECT enable work with a scale of 1.0 (so nothing change to the current UI). I also remove all the call of BLF_aspect(fontid, 1.0) found in the editors, because is disable by default, so no need any more. Campbell the only thing to check is the python api, right now I modify the api to from: BLF_aspect(fontid, aspect) to: BLF_aspect(fontid, aspect, aspect, 1.0) This is to avoid break the api, but now you need add the BLF_ASPECT option to the function py_blf_enable and in some point change py_blf_aspect to take 3 arguments.
2010-12-08use lowercase for cmake builtin names and macros, remove contents in else() ↵Campbell Barton
and endif() which is no longer needed.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-04Maintenance, Campbell Barton
- remove some redundant declarations - changed VertexTangent and Path structs to avoid compiler alignment padding.
2010-12-03IRC bug reportTon Roosendaal
Text editor, "Add new" caused zero-user block. The claim in the code why it should be decreased is dubious. Thanks wiseman!
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-11-29include headers in cmake source, added a script to check for consistency, ↵Campbell Barton
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-26change monospace font to be an extern, not good final design but better then ↵Campbell Barton
loading the same font 3 times. need to load twice still because render may use the font in a thread.
2010-11-14fix for own error in recent commit. add a back NULL terminator to the string ↵Campbell Barton
in text_font_draw_character.
2010-11-11BLF_draw functions take an extra length argument, so the console drawing ↵Campbell Barton
doenst need to swap in NULL chars to draw word wrapping.
2010-11-04bugfix [#24009] Crash when switching area types and performing opsCampbell Barton
2010-11-02fix for compiling with the c90 standard, support for non-static variable ↵Campbell Barton
initializers is a c99 feature.
2010-10-31rename and negate DISABLE_PYTHON --> WITH_PYTHONCampbell Barton
2010-10-23warning fixes.Campbell Barton
2010-10-23use explicit file paths for CMake rather then globing, This is recommended ↵Campbell Barton
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-18remove G.sce, use G.main->name instead.Campbell Barton
Both stored the filename of the blend file, but G.sce stored the last opened file. This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore). Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.
2010-10-16editors/space_* build without unused args warningsCampbell Barton
2010-10-15tag UNUSED() for operator exec() and invoke() functions.Campbell Barton
2010-10-14remove unused args in draw*.c and some in view*.c, tag some as UNUSED().Campbell Barton
2010-10-13Text spaceSergey Sharybin
========== Main changes: - lines could be partially shown when they starts somewhere behind the upper boundary of area but because of word-wrapping some part of line will be show - fixed caret navigatiog in area when tabs aren't replaced by spaces - highlight the whole current line not only it's wrapped segment with caret - when you're in replace mode cursor would be as long as the tab's width if it's under tab symbol This fixes: #22399: Text Editor: word-wrapped lines prevent navigating through text with up-arrow. #21163: Text editor scrollbar problem with word wrap
2010-10-13re-enable fix from r32330 but without the alt key check because this can be ↵Campbell Barton
used for input.
2010-10-11Revert r32330 and reopening #24184. The change breaks input where modifier ↵Nathan Letwory
key is used to create a character.
2010-10-05rename Command key to OSKey, Window manager already called it the OSKey but ↵Campbell Barton
internally it was mixed.
2010-10-05bugfix [#24148] unable to get keyboard mappings to work in the text windowCampbell Barton
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-09-27 fix for floating point exception.Campbell Barton
2010-09-26Added missed data listener ND_CURSOR to text space.Sergey Sharybin
2010-09-25Fix #23983: Text editor does not update immediately when unlinking a textSergey Sharybin
- Unlinked text block was sending as reference to note which isn't safe at all - Minor reorgonize of text space listener to use switches instead of big condition
2010-09-18warning fixes and minor cmake changes.Campbell Barton
2010-08-30Finally change SConscript tabs to spaces.Nathan Letwory
2010-08-17syntax highlighting for decorators, correct doc exampleCampbell Barton
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-13Fix for [#23286] Text Editor: Cursor not changing shape when insert key is ↵Dalai Felinto
pressed. Patch by Justin Dailey (dail)
2010-08-12text editor bugfix, selecting & moving the cursor on lines >256 chars long ↵Campbell Barton
(was reallocing too little memory).
2010-08-12text editor, only draw line highlight when its in the view.Campbell Barton
2010-08-11small edits to text editor from writing a python editor extension.Campbell Barton
- rename TextLine.line -> body, ConsoleLine.line -> body - minor speedups when setting the body text, also re-allocate console lines if they are < half the length. - added option to highlight current line in the text editor.
2010-08-11Update address in license block.Guillermo S. Romero
2010-08-08remove unused includes from editors/space_*Campbell Barton
2010-08-07bugfix [#23211] "with" keyword in text editor not highlighted [Patch attatchedCampbell Barton
by Justin Dailey (dail) with minor edit
2010-08-06Fix #23196: running python scripts didn't do an undo push. Now it doesBrecht Van Lommel
means you can easily undo what the script did, and keeps the undo stack up to date. Maybe sometimes it's not necessary, but I think it's reasonable to do this always.
2010-08-05patch [#23185] Mark All in Text Editor always reports "Text not found" when ↵Campbell Barton
wrap is off
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-08-04bugfix [#23174] Text Editor: View Top of File and View Bottom of File not ↵Campbell Barton
working [Patch to fix attached] also moved these into the View menu (removed Edit->View)
2010-08-02patch [#23054] Fix for bug #22725 "text editor doent scroll with cursor"Campbell Barton
fixes [#22725] text editor doent scroll with cursor from Justin Dailey (dail)
2010-08-012.5: code changes to reduce the usage of G.main and pass it alongBrecht Van Lommel
or get it from the context instead.
2010-07-30patch [#23088] 2.5 Text Editor: Preserve indentation with spacesCampbell Barton
from Fabian Fricke (frigi)
2010-07-29bugfix [#23062] Resolve conflict button in text editor dissappers in Blener ↵Campbell Barton
2.5 beta release also uncommented console some code for testing by mistake & remove warning.
2010-07-27bugfix [#23052] New Bracket Highlighting Patch Causes Seg Fault [Patch to ↵Campbell Barton
fix attached] by Justin Dailey (dail) for bracket highlight patch from yesterday.
2010-07-26[#23032] Bracket Highlighting in Text Space Fix [Patch to fix attached]Campbell Barton
from Justin Dailey (dail) from the tracker --- snip --- In the text editor doing something like this: print(":(") When it goes to match the closing bracket, it will highlight the one in the string, not the first one. Also doing: array["[index"] will cause it to match the second [ with the closing one. I have attached a patch to fix this issue. (See attached image to see correct highlighting) It also works with triple quotes strings(ie """...""" or '''...''') *Note* However, originally bracket highlighting always on even if syntax highlighting is off. The patch makes it so it only highlights brackets when syntax highlighting is on (this is a side effect of doing the code this way, if it was done any other way ALOT of code would have been needed to check for strings,triple quoted strings, escaped quotes, and comments forwards and backwards). When highlighting matching brackets, the code checks the line's format string to see if the char is in a string or comment to skip it. If syntax highlighting is turned off, the format string is null and cannot be used,thus no bracket highlighting.
2010-07-20- correct some spelling errors.Campbell Barton
- remove FreeCamera struct (wasnt used) - remove world color alpha values (not used anywhre).
2010-07-01adding image strips wasnt working, use the 'directory' component of the file ↵Campbell Barton
selector rather then the full 'filepath' to fix this. added flags for filename/filepath/directory args to WM_operator_properties_filesel().