Blender Git Commit Log
Git Commits -> Revision 356ab94
Revision 356ab94 by Andrea Weikert (master) September 2, 2007, 17:25 (GMT) |
== 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 ([email protected]) for the icon images. Many thanks to everyone who gave feedback and helped so far! |
Commit Details:
Full Hash: 356ab943736e8a2434a8ff5845873482597ba5e2
SVN Revision: 11920
Parent Commit: 22c23fb
Lines Changed: +5829, -2612
11 Added Paths:
/release/datafiles/prvicons (+0, -0)
/source/blender/imbuf/IMB_thumbs.h (+73, -0) (View)
/source/blender/imbuf/intern/IMB_imginfo.h (+78, -0) (View)
/source/blender/imbuf/intern/imginfo.c (+108, -0) (View)
/source/blender/imbuf/intern/md5.c (+360, -0) (View)
/source/blender/imbuf/intern/md5.h (+115, -0) (View)
/source/blender/imbuf/intern/thumbs.c (+457, -0) (View)
/source/blender/include/BIF_filelist.h (+87, -0) (View)
/source/blender/src/filelist.c (+1093, -0) (View)
/source/blender/src/fsmenu.c (+260, -0) (View)
/source/blender/src/prvicons.c (+436, -0) (View)
/source/blender/imbuf/IMB_thumbs.h (+73, -0) (View)
/source/blender/imbuf/intern/IMB_imginfo.h (+78, -0) (View)
/source/blender/imbuf/intern/imginfo.c (+108, -0) (View)
/source/blender/imbuf/intern/md5.c (+360, -0) (View)
/source/blender/imbuf/intern/md5.h (+115, -0) (View)
/source/blender/imbuf/intern/thumbs.c (+457, -0) (View)
/source/blender/include/BIF_filelist.h (+87, -0) (View)
/source/blender/src/filelist.c (+1093, -0) (View)
/source/blender/src/fsmenu.c (+260, -0) (View)
/source/blender/src/prvicons.c (+436, -0) (View)
61 Modified Paths:
/projectfiles_vc7/blender/imbuf/BL_imbuf.vcproj (+15, -0) (Diff)
/projectfiles_vc7/blender/src/BL_src.vcproj (+12, -0) (Diff)
/source/blender/blenkernel/bad_level_call_stubs/stubs.c (+4, -0) (Diff)
/source/blender/blenkernel/BKE_icons.h (+44, -31) (Diff)
/source/blender/blenkernel/intern/icons.c (+137, -32) (Diff)
/source/blender/blenkernel/intern/image.c (+4, -7) (Diff)
/source/blender/blenkernel/intern/material.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+5, -2) (Diff)
/source/blender/blenkernel/intern/texture.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/world.c (+6, -1) (Diff)
/source/blender/blenlib/BLI_blenlib.h (+5, -0) (Diff)
/source/blender/blenlib/BLI_storage_types.h (+3, -0) (Diff)
/source/blender/blenlib/intern/util.c (+32, -0) (Diff)
/source/blender/blenloader/BLO_readfile.h (+19, -0) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+66, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+111, -33) (Diff)
/source/blender/blenloader/intern/writefile.c (+37, -5) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+7, -0) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+4, -0) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+5, -0) (Diff)
/source/blender/imbuf/intern/anim.c (+12, -0) (Diff)
/source/blender/imbuf/intern/png.c (+38, -0) (Diff)
/source/blender/include/BIF_fsmenu.h (+5, -2) (Diff)
/source/blender/include/BIF_imasel.h (+8, -17) (Diff)
/source/blender/include/BIF_interface_icons.h (+3, -0) (Diff)
/source/blender/include/BIF_resources.h (+1, -1) (Diff)
/source/blender/include/BIF_space.h (+3, -0) (Diff)
/source/blender/include/blendef.h (+4, -1) (Diff)
/source/blender/include/BSE_drawimasel.h (+18, -17) (Diff)
/source/blender/include/BSE_filesel.h (+0, -2) (Diff)
/source/blender/include/datatoc.h (+3, -0) (Diff)
/source/blender/include/interface.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_ID.h (+12, -0) (Diff)
/source/blender/makesdna/DNA_image_types.h (+0, -5) (Diff)
/source/blender/makesdna/DNA_lamp_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_material_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+56, -76) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_world_types.h (+3, -0) (Diff)
/source/blender/python/api2_2x/Window.c (+1, -0) (Diff)
/source/blender/quicktime/apple/quicktime_import.c (+12, -7) (Diff)
/source/blender/src/buttons_scene.c (+1, -0) (Diff)
/source/blender/src/buttons_shading.c (+7, -1) (Diff)
/source/blender/src/drawimasel.c (+573, -765) (Diff)
/source/blender/src/drawnode.c (+2, -33) (Diff)
/source/blender/src/editimasel.c (+983, -314) (Diff)
/source/blender/src/editscreen.c (+5, -0) (Diff)
/source/blender/src/editsima.c (+1, -0) (Diff)
/source/blender/src/filesel.c (+4, -187) (Diff)
/source/blender/src/glutil.c (+16, -5) (Diff)
/source/blender/src/headerbuttons.c (+6, -1) (Diff)
/source/blender/src/header_imasel.c (+85, -29) (Diff)
/source/blender/src/header_info.c (+5, -0) (Diff)
/source/blender/src/imasel.c (+13, -848) (Diff)
/source/blender/src/interface_draw.c (+30, -0) (Diff)
/source/blender/src/interface_icons.c (+190, -130) (Diff)
/source/blender/src/resources.c (+15, -2) (Diff)
/source/blender/src/space.c (+84, -46) (Diff)
/source/blender/src/toets.c (+14, -0) (Diff)
/source/blender/src/usiblender.c (+14, -9) (Diff)
/projectfiles_vc7/blender/src/BL_src.vcproj (+12, -0) (Diff)
/source/blender/blenkernel/bad_level_call_stubs/stubs.c (+4, -0) (Diff)
/source/blender/blenkernel/BKE_icons.h (+44, -31) (Diff)
/source/blender/blenkernel/intern/icons.c (+137, -32) (Diff)
/source/blender/blenkernel/intern/image.c (+4, -7) (Diff)
/source/blender/blenkernel/intern/material.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+5, -2) (Diff)
/source/blender/blenkernel/intern/texture.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/world.c (+6, -1) (Diff)
/source/blender/blenlib/BLI_blenlib.h (+5, -0) (Diff)
/source/blender/blenlib/BLI_storage_types.h (+3, -0) (Diff)
/source/blender/blenlib/intern/util.c (+32, -0) (Diff)
/source/blender/blenloader/BLO_readfile.h (+19, -0) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+66, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+111, -33) (Diff)
/source/blender/blenloader/intern/writefile.c (+37, -5) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+7, -0) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+4, -0) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+5, -0) (Diff)
/source/blender/imbuf/intern/anim.c (+12, -0) (Diff)
/source/blender/imbuf/intern/png.c (+38, -0) (Diff)
/source/blender/include/BIF_fsmenu.h (+5, -2) (Diff)
/source/blender/include/BIF_imasel.h (+8, -17) (Diff)
/source/blender/include/BIF_interface_icons.h (+3, -0) (Diff)
/source/blender/include/BIF_resources.h (+1, -1) (Diff)
/source/blender/include/BIF_space.h (+3, -0) (Diff)
/source/blender/include/blendef.h (+4, -1) (Diff)
/source/blender/include/BSE_drawimasel.h (+18, -17) (Diff)
/source/blender/include/BSE_filesel.h (+0, -2) (Diff)
/source/blender/include/datatoc.h (+3, -0) (Diff)
/source/blender/include/interface.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_ID.h (+12, -0) (Diff)
/source/blender/makesdna/DNA_image_types.h (+0, -5) (Diff)
/source/blender/makesdna/DNA_lamp_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_material_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+56, -76) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_world_types.h (+3, -0) (Diff)
/source/blender/python/api2_2x/Window.c (+1, -0) (Diff)
/source/blender/quicktime/apple/quicktime_import.c (+12, -7) (Diff)
/source/blender/src/buttons_scene.c (+1, -0) (Diff)
/source/blender/src/buttons_shading.c (+7, -1) (Diff)
/source/blender/src/drawimasel.c (+573, -765) (Diff)
/source/blender/src/drawnode.c (+2, -33) (Diff)
/source/blender/src/editimasel.c (+983, -314) (Diff)
/source/blender/src/editscreen.c (+5, -0) (Diff)
/source/blender/src/editsima.c (+1, -0) (Diff)
/source/blender/src/filesel.c (+4, -187) (Diff)
/source/blender/src/glutil.c (+16, -5) (Diff)
/source/blender/src/headerbuttons.c (+6, -1) (Diff)
/source/blender/src/header_imasel.c (+85, -29) (Diff)
/source/blender/src/header_info.c (+5, -0) (Diff)
/source/blender/src/imasel.c (+13, -848) (Diff)
/source/blender/src/interface_draw.c (+30, -0) (Diff)
/source/blender/src/interface_icons.c (+190, -130) (Diff)
/source/blender/src/resources.c (+15, -2) (Diff)
/source/blender/src/space.c (+84, -46) (Diff)
/source/blender/src/toets.c (+14, -0) (Diff)
/source/blender/src/usiblender.c (+14, -9) (Diff)