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
2021-08-13Docs: tooltip update missing from 3e775a4fc57cfd48954adcf284354312f34d5412Campbell Barton
2020-06-23Cleanup: rename 'name' to 'filepath' for DNA typesCampbell Barton
Using 'name' for the full path of a file reads badly, especially when id.name is used in related code.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-10-03Text: make selection and cursor editable from RNAKai Jægersen
2019-08-14Text editor: syntax highlighting + line numbers on by defaultSybren A. Stüvel
The most common use of the text editor seems to be for scripting. Having line numbers and syntax highlighting enabled by default seems sensible. Syntax highlighting is now enabled by default, but is automatically disabled when the datablock has a non-highlighted extension. Highlighting is enabled for filenames like: - Text - Text.001 - somefile.py and is automatically disabled when the datablock has an extension for which Blender has no syntax highlighter registered. Reviewers: billreynish, campbellbarton Subscribers: brecht, billreynish Differential Revision: https://developer.blender.org/D5472
2019-08-04Text Editor UIWilliam Reynish
Tweak Text Editor to fit better with the rest of Blender 2.8: - Move sidebar to the right - Add proper context menu - Move view toggles to the View menu - Change the indentation option to be an enum between spaces and tabs - Several layout tweaks Patch by @tintwotin / Peter Fog with additional tweaks by me. Differential Revision https://developer.blender.org/D5028 Reviewers: Brecht, Campbell
2019-06-03Cleanup: style, use braces in RNACampbell Barton
2019-04-18PyAPI: remove support for importing text blocks as modulesCampbell Barton
Allowing direct import of text blocks isn't especially useful, instead add `text.as_module()` script authors can do this explicitly if it's needed. Now the text "Register" option executes instead of loading as a module. This removes the need to keep track of the current Main, and C code to override Python's import & reload.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-07-05RNA: correct callback typeCampbell Barton
Missed when changing callbacks from int to bool type.
2018-06-09Cleanup: trailing space in RNACampbell Barton
2015-10-23Cleanup: rename 'datablocks' -> 'data-blocks'Campbell Barton
Similar to addons -> add-ons, for reading it fits better to hyphenate.
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2014-01-27Use includes for blenderplayer stubsCampbell Barton
exposes many incorrect and redundant stubs
2014-01-04Text API: make text.current_line_index writableCampbell Barton
use for setting the text position when writing system info.
2013-09-11replace inline index lookup with BLI_findindexCampbell Barton
2013-09-11Add read-only access to index data for current line, top line and visible ↵Nathan Letwory
lines count.
2013-06-02Better API design for making text datablocks after loading.Tamito Kajiyama
An optional 'internal' argument was added to the bpy.data.texts.load() operator. The changes in revision 57153 were reverted, so that the is_in_memory and is_dirty properties of text datablocks are not editable again. In the C API layer, BKE_text_load_ex() was introduced to allow for optionally making text datablocks internal after loading.
2013-05-31Made text datablock properties 'is_in_memory' and 'is_dirty' editable in Python.Tamito Kajiyama
The rationale of this revision is to provide an easy way to make text datablocks internal from within Python (i.e., by setting these properties to True and the 'filepath' property to empty string).
2013-01-05Add translation contexts for line, mute and clipSv. Lockal
2012-11-23Text Editor: remove text marker functionality. Patch [#33251]Justin Dailey
2012-05-12style cleanup: mostly whitespace in rnaCampbell Barton
2012-03-18Code style edits (mostly spliting long lines, and removing trailing spaces).Bastien Montagne
Note about long lines: I did not touch to two pieces of code (because I don’t see any way to keep a nicely formated, compact code, with shorter lines): * The node types definitions into rna_nodetree_types.h * The vgroup name functions into rna_particle.c
2012-03-06Code cleanup in rna files (huge, higly automated with py script).Bastien Montagne
Addresses: * C++ comments. * Spaces after if/for/while/switch statements. * Spaces around assignment operators.
2011-11-15patch [#28993] wm_window_match_do(): Fix crash on null pointer dereferenceCampbell Barton
from Ola Jeppsson (olajep) also some cleanup edits
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-28use __func__ rather than function names in rna prints, some were incorrect.Campbell Barton
also replace use of strlen() where checking first char is enough.
2011-09-15replace BLI_strncpy with BLI_strncpy_utf8 where input isnt ensured to be valid.Campbell Barton
also replace strcpy's which copy using "" with str[0]='\0'
2011-02-27doxygen: blender/makesrna tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
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.
2010-12-31Continue from my commit r33952, which disallowed floats to be wrapped as ints.Campbell Barton
this missed some cases, now also disallow ints to be wrapped as floats. This commit also exposed a number of cases where ints/floats were incorrectly wrapped. Bugs like [#25416] wont slip through the cracks anymore.
2010-12-14clamp colors from 0-1 which are used for display only.Campbell Barton
2010-08-19more rna renaming for non-animated properties: mainly Texface, Particle & ↵Campbell Barton
Pointcache changes. Changed some names when applying. - render was use_render, changed to show_viewport so call it show_render - texface shadow was use_shadow_face, changed to use_shadow_cast since this only affects casting. - transp was alpha_mode, changed to blend_type since its similar to other overlay blending where this property name is used.
2010-08-18more rna renaming.Campbell Barton
2010-08-18rna rename Bone and Text changesCampbell Barton
2010-08-18rna renaming, still only adjusting properties that wont be animated (at ↵Campbell Barton
least its very unlikely).
2010-08-17apply UserPrefs and Theme rna naming changes.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-06-11[#22554] Register option on Texts doesn't work anymoreCampbell Barton
there were no hints that '.py' extension is needed, added tooltip.
2010-06-02rename some rna properties filename --> filepathCampbell Barton
* filename == "foo.ext" * filepath == "/path/to/and/including/foo.ext" this was alredy followed in some places not not everywhere.
2010-03-24remove unused rna includesCampbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-01-15Text Editor: Add an option "Tabs as Spaces".Dalai Felinto
So now tab is not ALWAYS converted to spaces. This is stored by text datablock (what allows to do nice things in the future, as automatic check for the indentation type of the file). Ideally we should redraw the other Text Editor windows after changing that (in case the same file is opened and the Property panel is also open). Not sure how to do that though. I'm using TABSTOSPACES as the DEFINE flag because TABSASSPACES sounds too ugly. (also fix for interface divisor bug)
2009-11-20option to have scripts run on startup for per blendfile UI'sCampbell Barton