== imagebrowser ==
authorAndrea Weikert <elubie@gmx.net>
Sun, 2 Sep 2007 17:25:03 +0000 (17:25 +0000)
committerAndrea Weikert <elubie@gmx.net>
Sun, 2 Sep 2007 17:25:03 +0000 (17:25 +0000)
commit356ab943736e8a2434a8ff5845873482597ba5e2
tree910356ace904dc4f11f1daf15330bb0827934f5b
parent22c23fb04f7f1297b971f03d69b8b04b7dd9caa4
== imagebrowser ==
Initial commit of imagebrowser in trunk.
BIG COMMIT!

Main changes:
* completely reworked imasel space
* creation and storage of the preview images for materials, textures, world and lamp
* thumbnails of images and movie files when browsing in the file system
* loading previews from external .blend when linking or appending
* thumbnail caching according to the Thumbnail Managing Standard: http://jens.triq.net/thumbnail-spec/
* for now just kept imasel access mostly as old imgbrowser (CTRL+F4, CTRL+F1) a bit hidden still.
* filtering of file types (images, movies, .blend, py,...)
* preliminary managing of bookmarks ('B' button to add, XKEY while bookmark active to delete)

More detailed info which will be updated here: http://wiki.blender.org/index.php/User:Elubie/PreviewImageBrowser

Places that need special review (and probably fixes):
* BLO_blendhandle_get_previews in readblenentry
* readfile.c: do_version and refactorings of do_library_append
* UI integration

TODO and known issues still:
* Accented characters do not display correctly with international fonts
* Crash was reported when browsing in directory with movie files
* Bookmark management still needs some UI work (second scrollbar?), feedback here is welcome!

Credits:
Samir Bharadwaj (samirbharadwaj@yahoo.com) for the icon images.

Many thanks to everyone who gave feedback and helped so far!
72 files changed:
projectfiles_vc7/blender/imbuf/BL_imbuf.vcproj
projectfiles_vc7/blender/src/BL_src.vcproj
release/datafiles/prvicons [new file with mode: 0644]
source/blender/blenkernel/BKE_icons.h
source/blender/blenkernel/bad_level_call_stubs/stubs.c
source/blender/blenkernel/intern/icons.c
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/texture.c
source/blender/blenkernel/intern/world.c
source/blender/blenlib/BLI_blenlib.h
source/blender/blenlib/BLI_storage_types.h
source/blender/blenlib/intern/util.c
source/blender/blenloader/BLO_readfile.h
source/blender/blenloader/intern/readblenentry.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/IMB_imbuf_types.h
source/blender/imbuf/IMB_thumbs.h [new file with mode: 0644]
source/blender/imbuf/intern/IMB_imginfo.h [new file with mode: 0644]
source/blender/imbuf/intern/allocimbuf.c
source/blender/imbuf/intern/anim.c
source/blender/imbuf/intern/imginfo.c [new file with mode: 0644]
source/blender/imbuf/intern/md5.c [new file with mode: 0644]
source/blender/imbuf/intern/md5.h [new file with mode: 0644]
source/blender/imbuf/intern/png.c
source/blender/imbuf/intern/thumbs.c [new file with mode: 0644]
source/blender/include/BIF_filelist.h [new file with mode: 0644]
source/blender/include/BIF_fsmenu.h
source/blender/include/BIF_imasel.h
source/blender/include/BIF_interface_icons.h
source/blender/include/BIF_resources.h
source/blender/include/BIF_space.h
source/blender/include/BSE_drawimasel.h
source/blender/include/BSE_filesel.h
source/blender/include/blendef.h
source/blender/include/datatoc.h
source/blender/include/interface.h
source/blender/makesdna/DNA_ID.h
source/blender/makesdna/DNA_image_types.h
source/blender/makesdna/DNA_lamp_types.h
source/blender/makesdna/DNA_material_types.h
source/blender/makesdna/DNA_space_types.h
source/blender/makesdna/DNA_texture_types.h
source/blender/makesdna/DNA_userdef_types.h
source/blender/makesdna/DNA_world_types.h
source/blender/python/api2_2x/Window.c
source/blender/quicktime/apple/quicktime_import.c
source/blender/src/buttons_scene.c
source/blender/src/buttons_shading.c
source/blender/src/drawimasel.c
source/blender/src/drawnode.c
source/blender/src/editimasel.c
source/blender/src/editscreen.c
source/blender/src/editsima.c
source/blender/src/filelist.c [new file with mode: 0644]
source/blender/src/filesel.c
source/blender/src/fsmenu.c [new file with mode: 0644]
source/blender/src/glutil.c
source/blender/src/header_imasel.c
source/blender/src/header_info.c
source/blender/src/headerbuttons.c
source/blender/src/imasel.c
source/blender/src/interface_draw.c
source/blender/src/interface_icons.c
source/blender/src/prvicons.c [new file with mode: 0644]
source/blender/src/resources.c
source/blender/src/space.c
source/blender/src/toets.c
source/blender/src/usiblender.c