Changeset 3944
- Timestamp:
- 03/22/06 19:42:40 (3 years ago)
- Files:
-
- Footagehead/trunk/English.lproj/InfoPlist.strings (modified) (1 diff)
- Footagehead/trunk/English.lproj/MainMenu.nib/classes.nib (modified) (1 diff)
- Footagehead/trunk/English.lproj/MainMenu.nib/info.nib (modified) (2 diffs)
- Footagehead/trunk/English.lproj/MainMenu.nib/keyedobjects.nib (modified) (previous)
- Footagehead/trunk/English.lproj/MainMenu.nib/objects.nib (modified) (previous)
- Footagehead/trunk/English.lproj/ReleaseNotes.rtf (modified) (2 diffs)
- Footagehead/trunk/FHController.h (modified) (1 diff)
- Footagehead/trunk/FHController.m (modified) (2 diffs)
- Footagehead/trunk/FHHTMLParser.m (modified) (3 diffs)
- Footagehead/trunk/FHSettings.h (modified) (1 diff)
- Footagehead/trunk/FHSettings.m (modified) (1 diff)
- Footagehead/trunk/Japanese.lproj/InfoPlist.strings (modified) (1 diff)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/classes.nib (modified) (1 diff)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/info.nib (modified) (1 diff)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/keyedobjects.nib (modified) (previous)
- Footagehead/trunk/Japanese.lproj/MainMenu.nib/objects.nib (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Footagehead/trunk/English.lproj/InfoPlist.strings
r2847 r3944 1 1 /* Localized versions of Info.plist keys */ 2 2 CFBundleName = "Footagehead"; 3 CFBundleShortVersionString = "Footagehead 1.2 ";4 CFBundleGetInfoString = "Footagehead 1.2 , Copyright 2003-2005Zanka Software.";5 NSHumanReadableCopyright = "Copyright 2003-200 5Zanka Software.";3 CFBundleShortVersionString = "Footagehead 1.2.1"; 4 CFBundleGetInfoString = "Footagehead 1.2.1, Copyright 2003-2006 Zanka Software."; 5 NSHumanReadableCopyright = "Copyright 2003-2006 Zanka Software."; Footagehead/trunk/English.lproj/MainMenu.nib/classes.nib
r3893 r3944 41 41 "_openSpotlightTextView" = NSTextView; 42 42 "_openURLPanel" = NSPanel; 43 "_openURLPopUpButton" = NSPopUpButton; 43 44 "_openURLTextView" = NSTextView; 44 45 "_progressIndicator" = NSProgressIndicator; Footagehead/trunk/English.lproj/MainMenu.nib/info.nib
r3897 r3944 4 4 <dict> 5 5 <key>IBDocumentLocation</key> 6 <string>89 3 73395 374 0 0 1920 1178 </string>6 <string>891 10 395 374 0 0 1920 1178 </string> 7 7 <key>IBEditorPositions</key> 8 8 <dict> … … 18 18 <key>IBOpenObjects</key> 19 19 <array> 20 <integer>29</integer> 21 <integer>438</integer> 22 <integer>21</integer> 20 <integer>302</integer> 23 21 </array> 24 22 <key>IBSystem Version</key> Footagehead/trunk/English.lproj/ReleaseNotes.rtf
r3897 r3944 2 2 {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 Helvetica-Oblique; 3 3 \f3\fnil\fcharset77 LucidaGrande;} 4 {\colortbl;\red255\green255\blue255;\red0\green127\blue0;\red127\green0\blue127;\red191\green191\blue191; 5 } 6 \vieww9560\viewh18380\viewkind0 7 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 8 9 \f0\b\fs36 \cf2 Footagehead 1.2 Release Notes 4 {\colortbl;\red255\green255\blue255;\red0\green127\blue0;\red127\green0\blue127;} 5 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 6 7 \f0\b\fs36 \cf2 Footagehead 1.2.1 Release Notes 10 8 \f1\b0\fs24 \cf0 \ 11 9 \ … … 427 425 \f0\b \cf3 \ 428 426 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 429 \cf2 1.2 427 \cf2 1.2.1 428 \f1\b0 \cf0 \ 429 - Add option to select between inline or linked images, or both, on HTML pages\ 430 431 \f0\b \cf2 \ 432 1.2 430 433 \f1\b0 \cf0 \ 431 434 - Make binary universal\ Footagehead/trunk/FHController.h
r3893 r3944 61 61 IBOutlet NSPanel *_openURLPanel; 62 62 IBOutlet NSTextView *_openURLTextView; 63 IBOutlet NSPopUpButton *_openURLPopUpButton; 63 64 64 65 IBOutlet NSPanel *_openSpotlightPanel; Footagehead/trunk/FHController.m
r3893 r3944 840 840 [_imageView setImageScaling:[FHSettings intForKey:FHImageScalingMethod]]; 841 841 [_imageView setImageRotation:[FHSettings floatForKey:FHImageRotation]]; 842 843 // --- set up URL panel 844 [_openURLPopUpButton selectItemWithTag:[FHSettings intForKey:FHHTMLImageType]]; 842 845 843 846 // --- create locks … … 1168 1171 [_openURLPanel close]; 1169 1172 1170 if(returnCode == NSRunStoppedResponse) 1173 if(returnCode == NSRunStoppedResponse) { 1174 [FHSettings setInt:[_openURLPopUpButton tagOfSelectedItem] forKey:FHHTMLImageType]; 1175 1171 1176 [self _loadURL:[WIURL URLWithString:[_openURLTextView string] scheme:@"http"]]; 1177 } 1172 1178 } 1173 1179 Footagehead/trunk/FHHTMLParser.m
r3400 r3944 29 29 #import "NSImage-FHAdditions.h" 30 30 #import "FHHTMLParser.h" 31 #import "FHSettings.h" 31 32 32 33 @implementation FHHTMLParser : WIObject … … 37 38 NSMutableSet *set; 38 39 NSCharacterSet *skipSet; 40 NSArray *tokens; 39 41 NSSet *types; 40 42 NSString *token, *link, *path; … … 47 49 skipSet = [NSCharacterSet characterSetWithCharactersInString:@" =\r\n\t\"\'<>"]; 48 50 49 for(i = 0, token = @"SRC"; i < 2; i++, token = @"HREF") { 51 switch([FHSettings intForKey:FHHTMLImageType]) { 52 case FHHTMLImageOnlyInline: 53 tokens = [NSArray arrayWithObject:@"SRC"]; 54 break; 55 56 case FHHTMLImageOnlyLinks: 57 tokens = [NSArray arrayWithObject:@"HREF"]; 58 break; 59 60 case FHHTMLImageBothInlineAndLinks: 61 default: 62 tokens = [NSArray arrayWithObjects:@"HREF", @"SRC", nil]; 63 break; 64 } 65 66 count = [tokens count]; 67 68 for(i = 0; i < count; i++) { 69 token = [tokens objectAtIndex:i]; 70 50 71 scanner = [[NSScanner alloc] initWithString:html]; 51 72 [scanner setCaseSensitive:NO]; Footagehead/trunk/FHSettings.h
r3887 r3944 40 40 #define FHFullscreenAutoSwitch @"FHFullscreenAutoSwitch" 41 41 #define FHFullscreenAutoSwitchTime @"FHFullscreenAutoSwitchTime" 42 #define FHHTMLImageType @"FHHTMLImageType" 43 #define FHHTMLImageBothInlineAndLinks 0 44 #define FHHTMLImageOnlyInline 1 45 #define FHHTMLImageOnlyLinks 2 42 46 43 47 @end Footagehead/trunk/FHSettings.m
r3887 r3944 51 51 [NSNumber numberWithInt:5], 52 52 FHFullscreenAutoSwitchTime, 53 [NSNumber numberWithInt:FHHTMLImageBothInlineAndLinks], 54 FHHTMLImageType, 53 55 NULL]; 54 56 } Footagehead/trunk/Japanese.lproj/InfoPlist.strings
r2906 r3944 1 1 /* Localized versions of Info.plist keys */ 2 2 CFBundleName = "Footagehead"; 3 CFBundleShortVersionString = "Footagehead 1.2 ";4 CFBundleGetInfoString = "Footagehead 1.2 , Copyright 2003-2005Zanka Software.";5 NSHumanReadableCopyright = "Copyright 2003-200 5Zanka Software.";3 CFBundleShortVersionString = "Footagehead 1.2.1"; 4 CFBundleGetInfoString = "Footagehead 1.2.1, Copyright 2003-2006 Zanka Software."; 5 NSHumanReadableCopyright = "Copyright 2003-2006 Zanka Software."; Footagehead/trunk/Japanese.lproj/MainMenu.nib/classes.nib
r3893 r3944 41 41 "_openSpotlightTextView" = NSTextView; 42 42 "_openURLPanel" = NSPanel; 43 "_openURLPopUpButton" = NSPopUpButton; 43 44 "_openURLTextView" = NSTextView; 44 45 "_progressIndicator" = NSProgressIndicator; Footagehead/trunk/Japanese.lproj/MainMenu.nib/info.nib
r3898 r3944 18 18 <integer>438</integer> 19 19 <integer>21</integer> 20 <integer>302</integer> 20 21 </array> 21 22 <key>IBSystem Version</key>
