[SVN] r6042

Chris Thomas chris at cjack.com
Fri Nov 10 02:55:35 UTC 2006


Minor overhaul of SVN repository browser.

• Now based on tm_dialog.
• Navigation bar moved to unified window header.
• Not implemented: most functionality, caching of repo URLs... You can browse, but that's about it. 

Obviously still not ready for prime time, but if you're curious, build the plugin target and drop it into TM_SUPPORT/PlugIns. Then add this 'Browse Repository' command to the Subversion bundle:

#!/usr/bin/env ruby

tm_support_path	= ENV['TM_SUPPORT_PATH']
tm_directory		= ENV['TM_DIRECTORY']

require 'YAML'

info = YAML::load(%x{svn info "#{tm_directory}"})

# info is false on error
params = if info then
	"{URL='#{info['URL']}';}"
else
	'{}'
end

%x{"#{tm_support_path}/bin/tm_dialog" -p "#{params}" "#{tm_support_path}/../PlugIns/Storehouse.tmplugin/Contents/Resources/English.lproj/Browser.nib" &>; /dev/null &;}

Changed:
A   trunk/Tools/Storehouse Plugin/English.lproj/Browser.nib/
A   trunk/Tools/Storehouse Plugin/English.lproj/Browser.nib/classes.nib
A   trunk/Tools/Storehouse Plugin/English.lproj/Browser.nib/info.nib
A   trunk/Tools/Storehouse Plugin/English.lproj/Browser.nib/keyedobjects.nib
U   trunk/Tools/Storehouse Plugin/English.lproj/SVNRepoBrowser.nib/info.nib
U   trunk/Tools/Storehouse Plugin/English.lproj/SVNRepoBrowser.nib/keyedobjects.nib
U   trunk/Tools/Storehouse Plugin/Source/CXBrowserTableView.m
U   trunk/Tools/Storehouse Plugin/Source/CXSVNRepoBrowser.h
U   trunk/Tools/Storehouse Plugin/Source/CXSVNRepoBrowser.m
U   trunk/Tools/Storehouse Plugin/Source/CXSVNRepoDelegate.m
D   trunk/Tools/Storehouse Plugin/Source/CXTransientStatusWindow.h
D   trunk/Tools/Storehouse Plugin/Source/CXTransientStatusWindow.m
D   trunk/Tools/Storehouse Plugin/Source/StorehouseToolMain.m
U   trunk/Tools/Storehouse Plugin/Storehouse.xcodeproj/project.pbxproj



More information about the textmate-dev mailing list