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
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-27Remove MinGW supportAaron Carlisle
The Issue ======= For a long time now MinGW has been unsupported and unmaintained and at this point, it looks like something that we should just leave behind and move on. Why Remove ========== One of the big motivations for MinGW back in the day is that it was free compared to MSVC which was licensed based. However, now that this is no longer true we have basically stopped updating the need CMake files. Along with the CMake files, there are several patches to the extern libs needed to make this work. For example, see: https://developer.blender.org/diffusion/B/browse/master/extern/carve/patches/mingw_w64.patch If we wanted to keep MinGW then we would need to make more custom patches to the external libs and this is not something our platform maintainers are willing to do. For example, here is the patches needed to build python: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 Fixes T51301 Differential Revision: https://developer.blender.org/D2648
2017-05-23Add PovRay file extensions to our 'textual' file filtering.Bastien Montagne
2017-03-22Cleanup: remove BLI_getlastdirCampbell Barton
Replace with BLI_path_name_at_index
2017-03-12Fix T50788: blender startup crash on macOS with some types of volumes available.Brecht Van Lommel
2016-11-15Atomics: Make naming more obvious about which value is being returnedSergey Sharybin
2016-10-12Fix T49502: file browser on OS X not highlighting external drives.Brecht Van Lommel
2016-10-03Fix missing operator-type registrationJulian Eisel
Removed in a7dbc0704f217a, but only should've removed default keymap entry.
2016-10-01Fix T49502: file browser on OS X not highlighting system folders and bookmarks.Brecht Van Lommel
2016-09-16Improve description of move operator direction propertiesJulian Eisel
These may be exposed in UI (keymap editor & redo panel), so better avoid using identifiers like "UP" "DOWN". They are redundant anyway (already displayed).
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-07-08Cleanup: spellingCampbell Barton
2016-07-07Cleanup: spelling, styleCampbell Barton
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-27Fix T48741: File browser back button doesn't work from inside Blend ↵Bastien Montagne
(library) file. Problem was in fact slightly wider, File space was nearly not taking into account library navigation case and its 'virtual' directoris, except in a few places. Add a wrapper around BLI_is_dir that also check for lib paths, and used it in ED_file_change_dir(), such that we now always check path is a valid directory - in the filebrowser context, not filesytem context. ;)
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-04-29Cleanup: warnings. spellingCampbell Barton
2016-04-26Fix Font filebrowser not showing thumbnails when those are enabled by ↵Bastien Montagne
default in userpref. Reported by Leon Cheung over IRC, thanks.
2016-03-22Fix incorrect strncat useCampbell Barton
2016-02-03Include why file operations fail in reportsCampbell 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.
2016-01-21Cleanup: line length, indentationCampbell Barton
2016-01-10Some minor fixes from coverity reports.Bastien Montagne
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-29OS X: remove code for OS X <= 10.5, which is already not supported since 2 ↵Brecht Van Lommel
years.
2015-12-21Cleanup: warnings (msvc)Campbell Barton
Part of patch D1670 by @LazyDodo
2015-12-03Fix T46918: - Cleanup - FileBrowser - get rid of useless operators and ↵Bastien Montagne
update a bit keymap. Looks like FILE_OT_hidedot was actually the only one to remove here. Also, added more common parentdir/previousdir/nextdir shortcuts, and R for reload.
2015-11-28Cleanup: 'area' vs 'region'Julian Eisel
Apparently this is the result of some sloppiness during 2.5 project and since then it confused people who were trying to understand the area-region relation (myself included). Sorry if this causes merge conflicts for anyone, but at some point we really had to do it :/
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-04File Selector, support filepath droppingGaia Clary
This adds support for dropping a filepath on an open file-selector to set that path.
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-15Fix crash pressing +/- in file-selectorCampbell Barton
Filenames over 128 chars would crash. Move BLI_newname into file_ops, this was only used in one place and isn't all that re-usable. Also remove special behavior for 4 digits.
2015-10-10Fix various compiler warnings.Brecht Van Lommel
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-26Fix file browser not sorting file list when opened from editor menuJulian Eisel
2015-09-20Cleanup: warning, styleCampbell Barton
2015-09-19File Browser: Scroll view on normal selection tooJulian Eisel
Adjusts view after mouse/border selection if some selected items are out of view bounds. To get as much of the selection into view as possible, this adjusts view first for the last, then for the first element in the selection. Also, if region is pretty small, view adjustment is skipped, as otherwise the view is focused on the first element only, which isn't really useful IMHO. Maybe not so nice: Since we do two view alignment iterations, UI_view2d_curRect_validate, which is a rather big function *might* be called twice under certain circumstances (border select & total size of selected elements is exceeds view bounds). I think that's totally acceptable though.
2015-09-19File Browser: Scroll view with arrow keys navigationJulian Eisel
Adjusts view to display active file after using arrow keys to navigate through files.
2015-09-19Correction to previous commitJulian Eisel
2015-09-19Fix file key select using wrong file after border select in scrolled viewJulian Eisel
Basically, after border selecting, a wrong file was selected by using arrow keys if the screen was scrolled a bit vertically. Reason was that we didn't use correct view space coordinates but region space coordinates for measuring distance from mouse to first/last file in selection after border select.
2015-09-16Correction to previous commit.Bastien Montagne
Mostly styling, but also str_exec would often remain undefined...
2015-09-16Fix (unreported): Filebrowser key navigation entry did not change caption ↵Thomas Beck
correctly As of this release we're able to navigate with the keyboard in the filebrowsing area. The button caption is changing to an appropriate string whenever a new entry is selected. In @Severins original code a different method was used to determine if a directory was choosen or not, but this got lost while merging the filebrowser rework. Thanks to @mont29 for review!