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
2019-04-22Cleanup: style, use braces for editorsCampbell Barton
2019-04-21Cleanup: comments (long lines) in editorsCampbell Barton
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
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-03-25Cleanup: pass const image data to IMB_ibImageFromMemoryCampbell Barton
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-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
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.
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-07-06UI/Python: rename Lamps to Lights, to follow more standard terminology.Brecht Van Lommel
Internally it's still mostly named lamps, though some modules like Cycles were already calling them lights.
2018-06-18Fix T55503: File browser filter not working correctly.Bastien Montagne
There were two issues here, introduced by rB66aa4af836: * Forgot to change length of some filter_glob var deep in filebrowser code. * Truncating filter_glob in general can be dangerous, generating unexpected patterns. Last point was the root of the issue here, truncating to 63 chars string left last group as 'match everything' `*` pattern. To fix that to some extent, added a new BLI_path_extension_glob_validate helper to BLI_path_util, which ensures we do not have last wildcards-only group in our pattern, when there are more than one group.
2018-06-17Cleanup: BLI path extension APICampbell Barton
Use BLI_path_extension_* prefix.
2018-06-07Cleanup: Nuke moar G.main usages...Bastien Montagne
2018-06-05Cleanup: use new accessors to blendfile path (Main.name).Bastien Montagne
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2017-10-06Cleanup: styleCampbell Barton
2017-09-22Remove quicktime supportAaron Carlisle
It has been deprecated since at least macOS 10.9 and fully removed in 10.12. I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens. Reviewers: mont29, dfelinto, juicyfruit, brecht Reviewed By: mont29, brecht Subscribers: Blendify, brecht Maniphest Tasks: T52807 Differential Revision: https://developer.blender.org/D2333
2017-07-19Fix (unreported) seldom crash when using previews in filebrowser.Bastien Montagne
Hopefully fix it actually, at least could not reproduce it anymore with that changen, but Was already quite hard to trigger before. We need a memory barrier at this allocation, otherwise it might happen after preview gets added to done queue, so preview could end up being freed twice, leading to crash.
2017-07-18Fix T52109: Folder search won't work when selecting animation output folder.Bastien Montagne
Text search would not run in case there was no 'type' enabled in filter buttons. Now instead consider that no types enabled == all types enabled.
2017-05-23Add PovRay file extensions to our 'textual' file filtering.Bastien Montagne
2016-11-15Atomics: Make naming more obvious about which value is being returnedSergey Sharybin
2016-09-15Fix filebrowser not getting back to valid dir in Release builds.Bastien Montagne
Stupid mistake wrapping path validation code inside a BLI_assert, which means it was only called in Debug builds... Found by Sergey, thanks. Should be backported to 2.78.
2016-09-14Fix T49352: Blender's file browser do not display previews.Bastien Montagne
Own stupid 'logical inversion' mistake in rBa2677100fef06af.
2016-09-13FileBrowser: Always do full cache refresh while we are still listing...Bastien Montagne
Does not seem to be a problem with embeded filelisting code, but was breaking with some experimental asset engines.
2016-08-29Cleanup/refactor spacefile's 'check dir' code.Bastien Montagne
Was kinda split in two different places (one allowed to modify given path to always get a valid one, the other only checking for validity of given path), not nice - and broken in asset branch case. So rather extended a bit FileList->checkdirf to handle both cases (modifying and non-modifying path).
2016-08-06Basic Alembic supportKévin Dietrich
All in all, this patch adds an Alembic importer, an Alembic exporter, and a new CacheFile data block which, for now, wraps around an Alembic archive. This data block is made available through a new modifier ("Mesh Sequence Cache") as well as a new constraint ("Transform Cache") to somewhat properly support respectively geometric and transformation data streaming from alembic caches. A more in-depth documentation is to be found on the wiki, as well as a guide to compile alembic: https://wiki.blender.org/index.php/ User:Kevindietrich/AlembicBasicIo. Many thanks to everyone involved in this little project, and huge shout out to "cgstrive" for the thorough testings with Maya, 3ds Max, Houdini and Realflow as well as @fjuhec, @jensverwiebe and @jasperge for the custom builds and compile fixes. Reviewers: sergey, campbellbarton, mont29 Reviewed By: sergey, campbellbarton, mont29 Differential Revision: https://developer.blender.org/D2060
2016-06-27Fix (unreported) potential buffer overflow with BLO_library_path_explode() ↵Bastien Montagne
usage. Also added warning to func doc, let's try to avoid this in future (for until we pass string length systematically...).
2016-06-14FileSpace cleanup: make ED_path_extension_type public.Bastien Montagne
Maybe we should move it to BLI, but not sure how, and where (and its defines are SpaceFile's ones, meh :| ).
2016-05-08Cleanup: warningsCampbell Barton
2016-01-27Fix T47252: FileBrowser: buffer overflow with scripts defining too long ↵Bastien Montagne
'filter_glob' string. Fixed this with three changes: * filter_glob is now 255 char max (63 could be a bit limited in some rare cases). * IO templates now explicitely define max len of that property (such that scripters are aware of the limit). * ED_fileselect_set_params() is now safe regarding too long strings from a 'filter_glob' op property.
2015-12-21Cleanup: warnings (msvc)Campbell Barton
Part of patch D1670 by @LazyDodo
2015-11-27Fix T46827: Appending Specific Groups Doesn't Work on Windows.Bastien Montagne
Issue was with datablocks which names would include '/', new filebrowser filelisting code would cleanup the entire filepath, hence giving invalid filename in this case. That 'path separator in ID names' bit us already in lib/datatype/datablock separating func, this is really stupid to allow that in something handled as a filepath imho, but well... Note: would have break the same under *nix with '\' char.
2015-11-05Cleanup: comments/styleCampbell Barton
2015-11-02Filebrowser: fix preview handling to make correct use of task scheduler.Bastien Montagne
We needed the 'background' feature here, since we never wait on those preview-generation tasks. Note that it also simplifies the code, and as usual testing is needed here on all possible platforms...
2015-10-03Cleanup: styleCampbell Barton
2015-09-30Fix T46331: File open does not show thumbnails, when a filter_glob is ↵Bastien Montagne
provided by python scripts. No reason to exclude usual file-type 'guessing' for operator-filtered extensions... Safe for 2.76, should we need to merge more fixes.
2015-09-15Fix T46093: Thumbnails/previews of materials/textures not displaying in ↵Bastien Montagne
Blender filebrowser when only one thread is available. Using the global scheduler here is not a really good idea - `filelist_cache_previewf()` is not a short task that run once, but it's a loop that keeps cheking for work in a TODO queue. This means it won't quickly allow other tasks to start, so it should not be in the global scheduler. In fact, asynchronous tasks (that is, tasks that will live for quite a bit of time, and often sleep a lot) should never use global scheduler, they would steal computing resources from heavy-duty, short-time living ones - and possibly even completely stall threaded tasks (if all worker threads are executing long-life tasks...). We could probably even completely bypass the scheduler/task thing here (and directly use threads), but it does not have that much of an over-head, and still offers easy handling of threading stuff...
2015-09-13Cleanup: spellingCampbell Barton
2015-09-10Fix T46070: Content of folders with a .blend extension aren't listed until ↵Bastien Montagne
filtering is disabled. Own stupid mistake somewhere during filebrowser revamp...
2015-09-09Fix broken logic in new FileBrowser caching of entries.Bastien Montagne
We were still using main borwser's FileDirEntryArr to own memory of entries currently in cache. That was OK for common caching operation, but if was not released when clearing cache! Nothing dramatic, since that was cleared too, but less often, so e.g. by changing sorting options you could pile up more and more no-more-used entries there... Anyway, there is no reason to do that, much more sound and clean to keep everything cache-related in dedicated FileDirEntryCache struct. This means main borwser's FileDirEntryArr is now always expected to not store any actual entry! Note: this can probably be cleaned up a bit more, but would wait after 2.76 for this!
2015-09-02Cleanup: styleCampbell Barton