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
2014-01-27Use includes for blenderplayer stubsCampbell Barton
exposes many incorrect and redundant stubs
2014-01-21Fix T38264: undo/redo broken with text overwrite mode in text editor (insert ↵Justin Dailey
key).
2014-01-15Python/Depsgraph: bpy.data.*.is_updated now detects add/remove of any datablock.Tom Edwards
Previously this only worked for some datablocks relevant to rendering, now it can be used to detect if any type of datablock was added or removed (but not yet to detect if it was modified, we need many more depsgraph tags for that). Most of the changes are some function parameter changes, the important parts are the DAG_id_type_tag calls. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D195
2014-01-04UI: Use bool rather then int/short's where possibleCampbell Barton
2013-11-26Fix: Text editor, blank lines were being indentedDalai Felinto
Summary: fixes T37613 Reviewers: campbellbarton, sergey Reviewed By: sergey Maniphest Tasks: T37613 Differential Revision: http://developer.blender.org/D42
2013-09-06fix [#36656] text editor undo error when undoing paste commandJustin Dailey
When tabs to spaces is enabled and a paste command is undone, the improper number of characters could get removed. Also fixed issue with shift + left/right only selecting a max of 1 character.
2013-09-02text editor cursor motion (left/right arrows) with selected text typically ↵Campbell Barton
jumps to either side of the selection previously the cursor would move and loose the selection too. text button fields already did this.
2013-07-27remove unused code from object convert and indent.Campbell Barton
2013-07-23replace use of strcat() where the string offset is known.Campbell Barton
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.
2013-07-21code cleanup: de-duplicate BLI_ghashIterator_new/init and disable unused ↵Campbell Barton
text undo print function.
2013-07-21fix for unintended fall-through in switch statement, also reduce undo_pos ↵Campbell Barton
increments in text editor.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-09fix [#36066] crash when Tab out text objectCampbell Barton
the way Curve.len is used at the moment is really stupid, calculate string size on save for now, but should really store the length in bytes and total number of characters.
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-08remove unneeded null check in draw_viewport_nameCampbell Barton
2013-05-01holding ctrl when using arrow keys in the text editor didn't navigate newlines.Campbell Barton
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-04-05style cleanupCampbell Barton
2013-04-03Use of text datablocks for storing Python style modules.Tamito Kajiyama
Suggested by Brecht Van Lommel and Campbell Barton through code review comments. Previously style modules were external Python script files whose absolute paths were kept in .blend files. Now style modules are stored in .blend files as text datablocks. Style modules are configured in three steps: 1. Open an external style module file (or create a new text datablock) in the Text Editor in Blender. 2. Add a style module to the list of style modules (by pressing the "Add" button) in the Render Layer properties window. 3. Click the name entry and select the style module from the drop-down menu.
2013-03-27Fix [#34768] Out of bounds access in console selection.Irie Shinsuke
txt_utf8_column_to_offset(): don't advance the offset anymore if a null character is found.
2013-03-14style cleanup: odd indentationCampbell Barton
2013-03-12Patch [#34373] Use i18n monospace font in Text editor and Python consoleIrie Shinsuke
This patch allows Blender to display i18n monospace font in the text editor and the Python interactive console. Wide characters that occupy multiple columns such as CJK characters can be displayed correctly. Furthermore, wrapping, selection, suggestion, cursor drawing, and syntax highlighting should work. Also fixes a bug [#34543]: In Text Editor false color in comment on cyrillic To estimate how many columns each character occupies, this patch uses wcwidth.c written by Markus Kuhn and distributed under MIT-style license: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c wcwidth.c is stored in extern/wcwidth and used as a static library. This patch adds new API to blenfont, blenlib and blenkernel: BLF_get_unifont_mono() BLF_free_unifont_mono() BLF_draw_mono() BLI_wcwidth() BLI_wcswidth() BLI_str_utf8_char_width() BLI_str_utf8_char_width_safe() txt_utf8_offset_to_column() txt_utf8_column_to_offset()
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-02-28patch [#34465] Fix text editor bug: Crash when overwriting ascii character ↵Campbell Barton
with multibyte character from Shinsuke Irie (irie)
2013-02-19fix [#34275] Text autocomplete cuts words with accents or special charactersCampbell Barton
autocomplete is now unicode aware, using python api's checks for now. eventually we should have our own.
2013-02-14fix for double clicking in the text editor not working usefully (double ↵Campbell Barton
clicking a pair chars would select 3 - one to the left).
2013-02-05Fix #34040: Moving Normal Node with enabled Cycles Material Preview crashesSergey Sharybin
Issue was caused by couple of circumstances: - Normal Map node requires tesselated faces to compute tangent space - All temporary meshes needed for Cycles export were adding to G.main - Undo pushes would temporary set meshes tessfaces to NULL - Moving node will cause undo push and tree re-evaluate fr preview All this leads to threading conflict between preview render and undo system. Solved it in way that all temporary meshes are adding to that exact Main which was passed to Cycles via BlendData. This required couple of mechanic changes like adding extra parameter to *_add() functions and adding some *_ex() functions to make it possible RNA adds objects to Main passed to new() RNA function. This was tricky to pass Main to RNA function and IMO that's not so nice to pass main to function, so ended up with such decision: - Object.to_mesh() will add temp mesh to G.main - Added Main.meshes.new_from_object() which does the same as to_mesh, but adds temporary mesh to specified Main. So now all temporary meshes needed for preview render would be added to preview_main which does not conflict with undo pushes. Viewport render shall not be an issue because object sync happens from main thread in this case. It could be some issues with final render, but that's not so much likely to happen, so shall be fine. Thanks to Brecht for review!
2013-01-16dont add identifiers starting with digits to autocompleteCampbell Barton
2012-12-31code cleanup: autocomplete functionsCampbell Barton
2012-12-31text autocompleteCampbell Barton
- make the popup box line up the X axis with the current word. - add poll function for the operator
2012-12-01fix [#33363] Text editor undo failJustin Dailey
2012-11-23Text Editor: remove text marker functionality. Patch [#33251]Justin Dailey
2012-11-15fix for deleting lines hanging the text editor when no markers are used, ↵Campbell Barton
presence of markers still hangs. also compiler warnings and some style edits.
2012-11-15Patch [#31006] Text editor undo buffer rework.Justin Dailey
2012-11-05Improvement for text indentation: keep selection as good as possibleSergey Sharybin
Patch by Sebastian Nell, thanks!
2012-11-04Fix for r51837.Thomas Dinges
* mat->nodetree is accessed regardless of whether or not the material node is in use- Patch provided by Tamito Kajiyama, thanks!
2012-11-03Render API: shader script node for custom shaders.Brecht Van Lommel
* Shader script node added, which stores either a link to a text datablock or file on disk, and has functions to add and remove sockets. * Callback RenderEngine.update_script_node(self, node) added for render engines to compile the shader and update the node with new sockets. Thanks to Thomas, Lukas and Dalai for the implementation.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-09-25fix for gibberish text in 2DFilter actuator when text unlinked through the ↵Dalai Felinto
Text Editor (reported nowhere, I found this while testing osl custom node)
2012-09-19fix txt_redo_read_unicode() missing break - reading 4 byte unicode would ↵Campbell Barton
fail, same fix was made for txt_undo_read_unicode() recently.
2012-09-15fix for bug in txt_undo_read_uint32() reading 4byte unicode values.Campbell Barton
2012-09-15code cleanup: remove paranoid/invalid NULL checks and also reduce some ↵Campbell Barton
unneeded size_t -> int conversions.
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-08style cleanupCampbell Barton
2012-05-29remove some more pynode references in the codeCampbell Barton
2012-05-27style cleanupCampbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-08fix for own mistake for ctrl+left/right movement and code cleanup for ↵Sv. Lockal
txt_jump_left/right
2012-05-06style cleanup: BKE_*.c files which deal with library functionsCampbell Barton