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
2015-12-14BLI_storage: util function BLI_file_read_as_memCampbell Barton
Use for text loading and pasting from file.
2015-11-23Cleanup: shadowing (blenkernel)Campbell Barton
2015-11-11Cleanup: replace more direct id->us handling by calls to BKE_library API.Bastien Montagne
2015-10-20First step to handle missing libs/datablocks when reading a file.Bastien Montagne
Idea is, instead of ignoring completely missing linked datablocks, to create void placeholders for them. That way, you can work on your file, save it, and find again your missing data once lib becomes available again. Or you can edit missing lib's path (in Outliner), save and reload the file, and you are done. Also, Outliner now shows broken libraries (and placeholders) with a 'broken lib' icon. Future plans are also to be able to relocate missing libs and reload them at runtime. Code notes: - Placeholder ID is just a regular datablock of same type as expected linked one, with 'default' data, and a LIB_MISSING bitflag set. - To allow creation of such datablocks, creation of datablocks in BKE was split in two step: + Allocation of memory itself. + Setting of all internal data to default values. See also the design task (T43351). Reviewed by @campbellbarton, thanks a bunch! Differential Revision: https://developer.blender.org/D1394
2015-09-15Fix for text editor un-indent undoCampbell Barton
Same issue as T44381, re-use logic for indent.
2015-06-05Check ftell return valuesCampbell Barton
2015-05-06Fix T44381: Text Editor: Un-indent undo failsCampbell Barton
D1284 by @mikidep
2015-05-03Fix typos.Tamito Kajiyama
2015-04-27Fix double-free on copied Text compiled py-codeCampbell Barton
2015-02-17Ensure BLI_stat() return value is checked.Campbell Barton
also add function attrs on BLI_fileops to ensure they're used correctly.
2015-02-06cleanup: styleCampbell Barton
2015-02-03Fix own mistake unlinking text (recent commit)Campbell Barton
2015-01-29Node UI: add support to show text-blocks in framesCampbell Barton
Some node setups benefit from being documented like this.
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-09Fix T43159: Copying of linked datablocks using relpath leads to invalid ↵Bastien Montagne
paths in new copies. Propper fix reverting most of rB60e70c0c6014e5, which was only partial specific fix. This code uses generic `BKE_id_lib_local_paths()` func to handle all possible paths. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D977
2015-01-08Fix T43159: Copying of linked datablocks using relpath leads to invalid ↵Bastien Montagne
paths in new copies. Simply have to rebase onto main filepath when copying, if source datablock is lib and path is relative. Afaict, only affected Image and Text datablocks. MovieClip would also be a candidate, but has no copy implemented currently.
2014-12-01Cleanup: more int->bool.Bastien Montagne
2014-11-21Cleanup: typoCampbell Barton
2014-10-29Fix for Ctrl+Del/Backspace not setting text dirtyCampbell Barton
2014-10-06Cleanup: remove paranoid NULL checksCampbell Barton
2014-09-17Text Editor: reload missed adding new-lineCampbell Barton
Logic for load/reload was duplicated, Fix T28087 missed reload. De-duplicate, also replace stat -> BLI_stat
2014-08-29Fix Text editor home/end keys when theres a selectionCampbell Barton
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-05-28Fix T40157: Loading movies larger than 4GB in size failsSergey Sharybin
Issue was caused by _wstat returning EOVERFLOW error because of file size didn't fit into stat structure which was using long datatype. The idea of this patch is to use _wstat64 and _stat64 structure which is capable storing 64bit file sizes. Made it a typedef for stat structure used by BLI_stat function in order to make code easier to follow and avoid ifdefs all over the place. Additionally solved issue with BLI_exists which was wrongly returning False in cases destination file is larger then 4GB.
2014-04-26Code cleanup: use 'const' for arrays (blenkernel)Campbell Barton
2014-04-14Fix for crash un-indenting in the text editorCampbell Barton
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-28Fix compile error when compiling without python.Brecht Van Lommel
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-05Code cleanup: use bool for static methodsCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
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