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
2011-11-07minor editsCampbell Barton
- remove unneeded type check from convert grease pencil operator. - correct some error prints & use __func__. - make copy_libblock take an ID* argument rather than void*.
2011-11-05use (const char*) rather than (char*) where possible.Campbell Barton
also removed some unused function definitons.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-10header cleanup (no functional changes)Campbell Barton
2011-09-28whitespace edits, make formatting for functions consustent at least within ↵Campbell Barton
the file.
2011-07-27more minor warning cleanups and improve error reporting if text fails to save.Campbell Barton
2011-07-26Fix #28087: Opening files in the text editor ignores the last newline '\n'Sergey Sharybin
It was tricky conversion of file buffer to text lines. Should work fine now.
2011-05-28Silence some unused-but-set-variable warnings.Sergey Sharybin
And small optimization for text search function :)
2011-05-28Fix #27505: Text Editor always indent next line when a " is found (which is ↵Sergey Sharybin
not always correct) Do not indent if there's any non-space character after colon. This only makes life a bit easier, but it's still not 100% correct indentation strategy. For example when colon is inside non-closed string or so. Also there's not indentation for { and un-indentation for }. Handling such cases would require much smarter strategy..
2011-05-28fixed "rather then" -> "rather than" typos all over the placeM.G. Kishalmi
2011-05-23fix own mistake [#27451] Flip to Top / Flip to Bottom menuitems on right ↵Campbell Barton
click on header not working also get rig of more shadowed vars (-Wshadow).
2011-05-07Fix #27319: Text editor "Find" does not locate words.Sergey Sharybin
Added new option to find panel of space text which toggles case-esensitive search. Additional changes: - Send NC_TEXT|NA_EDITED when removing markers in find_and_replace modifier this prevents "sticked" markers which disappears on first redraw when search text wasn't found - Do not show "Text wasn't found" error when text to be searched is contained in the end of buffer and it's selected. Replacing/marking used to happen, but this popup message was really annoying for this case. TODO: It's incorrect to use UI_GetThemeColor4ubv from this operator
2011-04-24harmless changes to quiet clang static check warnings.Campbell Barton
- made EXPANDED_AGRP take bAnimContext as an argument. - remove unneeded NULL check drawFacesColored functions. - comment some vars which are set but not used.
2011-04-21minor changesCampbell Barton
- remove some warnings - fix typos - cmake allow in-source build (when WITH_IN_SOURCE_BUILD is defined) - cmake, use an explicit list of rna files (don't glob)
2011-04-20Fix #27014: ctrl-A, ctrl-C, ctrl-V breaks formatting of scriptSergey Sharybin
This bug was caused by tabs->spaces conversion. Change pate-ing logic to paste buffer AS-IS (without any conversions). This commit also fixes undo-ing block deletion which contains tabs when "Tabs as spaces" is toggled on. Also, markes shouldn't be moved after pasteing new buffer.
2011-04-16Fix for IRC reported bug from Dalai:Sergey Sharybin
Text editor used to add extra indentation when inserting new line from line with dictionary. Also, fixed extra indentation when comma is inside string.
2011-03-19remove some redundant vars, assignments & checks.Campbell Barton
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-01-15remove unused vars & avoid some clang warnings.Campbell Barton
2011-01-11remove misc unused vars and correct theme name for face angles.Campbell Barton
2011-01-08remove unused code & variables.Campbell Barton
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-05edits for BPY_extern.h functions, no functional changesCampbell Barton
- remove unused code. - BPY_run_python_script() split in 2, BPY_filepath_exec, BPY_text_exec - renamed funcs.
2010-12-31Bugfix [#25414] Entering a newline before a : still indents itJoshua Leung
Fixed by patch attached by submitter. Cheers Jacob F (racoon)! <quote> If you write something like... def do_something: ...and press return it makes the new line with a tab which is good, but if you want to move the def line down to make room above it by pressing return while your caret is at the start of the line it indents the new line which has the def statement on it. Attached patch just checks if it's checking for a colon after the caret and returns if it is. </quote>
2010-12-20fix [#25283] Edge length display difficult to readCampbell Barton
- 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-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-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
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-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-10-31rename and negate DISABLE_PYTHON --> WITH_PYTHONCampbell Barton
2010-10-21/WX enabled for MSVC in CMake too.Nathan Letwory
Warning fixes.
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-08-132.5: more removal of G.main.Brecht Van Lommel
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-07-30patch [#23088] 2.5 Text Editor: Preserve indentation with spacesCampbell Barton
from Fabian Fricke (frigi)
2010-07-26[#23033] Unindent after continue statement in Text Space [Patch to fix attached]Campbell Barton
from Justin Dailey (dail) from the tracker --- snip --- In the text space after the python commands return, break, pass or yeild and hitting "Enter" for a new line, it unindents 1 tab. However it does not do this for the continue statement.
2010-06-06- [#22492] [29159] commit breaks importing of script file that has a reload ↵Campbell Barton
to self in it broke when including the blend path in the modules filename. - new function BLI_path_basename(), matches pythons os.path.basename(). replace a number of cases where BLI_split_dirfile was being used to get the filename only.
2010-04-18remove config.h references, was added for automake build system rev around ↵Campbell Barton
124-126 but isnt used by any build systems now.
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-21removed unused includes, except for physics and particle related filesCampbell Barton
2010-03-09rename some functions to use easier to understand names.Campbell Barton
'BLI_makestringcode' --> 'BLI_path_rel' 'BLI_convertstringcwd' --> 'BLI_path_cwd' 'BLI_convertstringframe' --> 'BLI_path_frame' 'BLI_convertstringframe_range' --> 'BLI_path_frame_range' 'BLI_make_cwdpath' --> 'BLI_path_cwd'
2010-03-08image re-project now uses offscreen render function and has input for render ↵Campbell Barton
size. unrelated changes that ended up being more trouble to commit separate... - removed BLI_split_dirfile(), was nasty, occasionaly modifying the source string, it could create directories and used the $CWD in some cases. was only used in 2 places in filesel.c, if this gives problems can address without bringing back this function. renamed BLI_split_dirfile_basic --> BLI_split_dirfile - view3d_operator_needs_opengl was being called for offscreen render when it wasnt needed.
2010-03-07flipping "tab as space" option (so it's on by default - argh ;)Dalai Felinto
(and fix error in creator.c last commit)
2010-03-07Tab as Space as a User Preference option. to affect new and loaded text files.Dalai Felinto
* I put it under General->System. Not sure is the better place for it though (space_userpref.py) ** also: creator.c fix to avoid autoplay of games when scripts are disabled.
2010-02-12correct fsf addressCampbell Barton
2010-02-09Bugfix #21041: pressing tab, adds spaces depending on the end of the lineJoshua Leung
The code used to calculate the number of spaces to insert for a tab (so that indention widths were aligned to multiples of the number of spaces to use) was incorrectly assuming that the line that this was to occur on was blank, using text->curl->len (i.e. the length of the current line). The code now uses the position of the cursor to determine how many spaces need to be added to it to move it to the next multiple of the tab width. --- Also, added numpad enter to text-editor keymap for creating new lines for more consistency with user expectations.
2010-01-26bugfix [#20674] SegFault from console 'c = data.texts["text1"].copy()'Campbell Barton
2010-01-18- opengl render anim exec function so python can render opengl animations ↵Campbell Barton
without and have it block until its done. - timeline rna camera access. - new textblocks have tabs as spaces enabled by default since this is blenders default.
2010-01-17Text Editor: indent and unindent now supports tabs/spaces according to ↵Dalai Felinto
(text->flags & TXT_TABSTOSPACES). Code-wise it looks now (again) that tab is the default. I hope that'ok. For bitwise operation it's cleaner IMO if the check is for positive values on them. * TXT_TABSIZE is still harcoded to 4 spaces *