Changeset 272
- Timestamp:
- 07/21/06 20:01:32 (18 years ago)
- Location:
- trunk/ICeCoffEE/ICeCoffEE
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.m
r264 r272 243 243 OSStatus err = noErr; 244 244 long selStart, selEnd; 245 string = [string stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]]; 246 unsigned len = [string length]; 245 NSMutableString *urlString = [[NSMutableString alloc] init]; 246 NSCharacterSet *whitespace = [NSCharacterSet whitespaceAndNewlineCharacterSet]; 247 NSScanner *scanner = [[NSScanner alloc] initWithString: string]; 248 NSString *fragmentString; 249 while ([scanner scanUpToCharactersFromSet: whitespace intoString: &fragmentString]) { 250 [urlString appendString: fragmentString]; 251 } 252 unsigned len = [urlString length]; 247 253 248 254 Handle h = NULL; … … 253 259 ICCF_OSErrCAssert(MemError(), @"NewHandle"); 254 260 255 if (CFStringGetBytes((CFStringRef) string, CFRangeMake(0, len), kCFStringEncodingASCII, '\0', false, (UInt8 *)*h, len, NULL) != len)261 if (CFStringGetBytes((CFStringRef)urlString, CFRangeMake(0, len), kCFStringEncodingASCII, '\0', false, (UInt8 *)*h, len, NULL) != len) 256 262 ICCF_OSErrCAssert(kTECNoConversionPathErr, @"CFStringGetBytes"); 257 263 … … 272 278 NS_HANDLER 273 279 DisposeHandle(h); 280 [urlString release]; 274 281 [localException raise]; 275 282 NS_ENDHANDLER 276 283 277 284 DisposeHandle(h); 285 [urlString release]; 278 286 279 287 return (err == noErr); -
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.xcodeproj/nicholas.mode2
r271 r272 219 219 <array> 220 220 <dict> 221 <key>BecomeActive</key>222 <true/>223 221 <key>ContentConfiguration</key> 224 222 <dict> … … 252 250 <string>29B97315FDCFA39411CA2CEA</string> 253 251 <string>E1AFA51C03ECFDB000050001</string> 252 <string>E14343AE03DB48F700050002</string> 254 253 <string>E1BF159F03DBA81600050002</string> 254 <string>E1BF15A203DBAA5600050002</string> 255 255 <string>E1BF154403DB950B00050002</string> 256 256 <string>29B97317FDCFA39411CA2CEA</string> 257 <string>E12FEC6104959FB800AEFBF9</string> 257 258 </array> 258 259 <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key> 259 260 <array> 260 261 <array> 261 <integer> 36</integer>262 <integer> 6</integer>262 <integer>48</integer> 263 <integer>44</integer> 263 264 <integer>0</integer> 264 265 </array> 265 266 </array> 266 267 <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key> 267 <string>{{0, 0}, {298, 621}}</string>268 <string>{{0, 416}, {298, 621}}</string> 268 269 </dict> 269 270 <key>PBXTopSmartGroupGIDs</key> … … 283 284 <real>276</real> 284 285 </array> 285 <key>RubberWindowFrame</key>286 <string>682 39 315 707 0 0 1024 746 </string>287 286 </dict> 288 287 <key>Module</key> … … 290 289 </dict> 291 290 <dict> 291 <key>BecomeActive</key> 292 <true/> 292 293 <key>ContentConfiguration</key> 293 294 <dict> … … 319 320 <array> 320 321 <string>1C37FBAC04509CD000000102</string> 322 <string>E1F84A780A71661900D1FBA1</string> 321 323 </array> 322 324 <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key> 323 325 <array> 324 326 <array> 325 <integer>5</integer> 327 <integer>4</integer> 328 <integer>0</integer> 326 329 </array> 327 330 </array> … … 343 346 <real>298</real> 344 347 </array> 348 <key>RubberWindowFrame</key> 349 <string>891 283 315 707 0 0 1280 1002 </string> 345 350 </dict> 346 351 <key>Module</key> … … 423 428 <key>TableOfContents</key> 424 429 <array> 425 <string>E1 D95C290A712A58007FAE3C</string>426 <string>E1 D95C2A0A712A58007FAE3C</string>430 <string>E1F84A220A71658400D1FBA1</string> 431 <string>E1F84A230A71658400D1FBA1</string> 427 432 <string>1C9437FD063B20B00039CFAC</string> 428 433 <string>1C9437FE063B20B00039CFAC</string> … … 457 462 <key>WindowOrderList</key> 458 463 <array> 459 <string>1C530D52069F1CE1000CFCEE</string>460 <string>1C0AD2B3069F1EA900FABCE6</string>461 464 <string>/Users/nicholas/Documents/Development/ICeCoffEE/ICeCoffEE/ICeCoffEE.xcodeproj</string> 462 465 </array> 463 466 <key>WindowString</key> 464 <string> 682 39 315 707 0 0 1024 746</string>467 <string>891 283 315 707 0 0 1280 1002 </string> 465 468 <key>WindowTools</key> 466 469 <array> … … 619 622 <string>1CD0528F0623707200166675</string> 620 623 <key>PBXProjectModuleLabel</key> 621 <string> </string>624 <string>ICeCoffEEServicePrefController.m</string> 622 625 <key>StatusBarVisibility</key> 623 626 <false/> … … 628 631 <string>{{0, 0}, {868, 0}}</string> 629 632 <key>RubberWindowFrame</key> 630 <string>6 172 868 452 0 0 1 024 746</string>633 <string>6 172 868 452 0 0 1280 1002 </string> 631 634 </dict> 632 635 <key>Module</key> … … 641 644 <dict> 642 645 <key>PBXBuildLogShowsTranscriptDefaultKey</key> 643 <string>{{0, 98}, {868, 329}}</string>646 <string>{{0, 187}, {868, 240}}</string> 644 647 <key>PBXProjectModuleGUID</key> 645 648 <string>XCMainBuildResultsModuleGUID</string> … … 656 659 <string>{{0, 5}, {868, 427}}</string> 657 660 <key>RubberWindowFrame</key> 658 <string>6 172 868 452 0 0 1 024 746</string>661 <string>6 172 868 452 0 0 1280 1002 </string> 659 662 </dict> 660 663 <key>Module</key> … … 679 682 <array> 680 683 <string>1C530D52069F1CE1000CFCEE</string> 681 <string>E1 D95C390A712A9C007FAE3C</string>684 <string>E1240CAD0A7152EA00886FB4</string> 682 685 <string>1CD0528F0623707200166675</string> 683 686 <string>XCMainBuildResultsModuleGUID</string> … … 686 689 <string>xcode.toolbar.config.build</string> 687 690 <key>WindowString</key> 688 <string>6 172 868 452 0 0 1 024 746</string>691 <string>6 172 868 452 0 0 1280 1002 </string> 689 692 <key>WindowToolGUID</key> 690 693 <string>1C530D52069F1CE1000CFCEE</string> -
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.xcodeproj/nicholas.pbxuser
r271 r272 14 14 activeTarget = E1ABAE8D0812F4B2007C5427 /* APE Module */; 15 15 addToTargets = ( 16 E1 ABAE8D0812F4B2007C5427 /* APE Module*/,16 E120DB7308141CCB00BF8DDC /* ICeCoffEE Installer */, 17 17 ); 18 18 breakpoints = ( … … 218 218 ); 219 219 }; 220 PBXPerProjectTemplateStateSaveDate = 175 188536;220 PBXPerProjectTemplateStateSaveDate = 175203692; 221 221 PBXPrepackagedSmartGroups_v2 = ( 222 222 { … … 693 693 WindowFrame = "{{524, 473}, {756, 352}}"; 694 694 }; 695 PBXWorkspaceStateSaveDate = 175 188536;695 PBXWorkspaceStateSaveDate = 175203692; 696 696 }; 697 697 sourceControlManager = E12B21580548C9B600CFF4E9 /* Source Control */; … … 785 785 E12FEC3D04959F5A00AEFBF9 /* ICeCoffEEServicePrefController.m */ = { 786 786 uiCtxt = { 787 sepNavIntBoundsRect = "{{0, 0}, { 793, 3996}}";788 sepNavSelRange = "{ 6373,0}";789 sepNavVisRect = "{{0, 1356}, {793, 924}}";790 sepNavWindowFrame = "{{65, 118}, {832, 982}}";787 sepNavIntBoundsRect = "{{0, 0}, {827, 3972}}"; 788 sepNavSelRange = "{5589, 100}"; 789 sepNavVisRect = "{{0, 0}, {0, 0}}"; 790 sepNavWindowFrame = "{{65, 20}, {832, 982}}"; 791 791 }; 792 792 }; … … 1115 1115 E14343B403DB4CF200050002 /* ICeCoffEE.m */ = { 1116 1116 uiCtxt = { 1117 sepNavIntBoundsRect = "{{0, 0}, {774, 7476}}";1118 sepNavSelRange = "{ 9338, 0}";1119 sepNavVisRect = "{{0, 2 674}, {774, 688}}";1120 sepNavWindowFrame = "{{ 154, 0}, {813, 746}}";1117 sepNavIntBoundsRect = "{{0, 0}, {774, 4704}}"; 1118 sepNavSelRange = "{8964, 0}"; 1119 sepNavVisRect = "{{0, 2796}, {774, 688}}"; 1120 sepNavWindowFrame = "{{335, 97}, {813, 746}}"; 1121 1121 }; 1122 1122 }; … … 1296 1296 E169DBA703E4F6A400050002 /* ICeCoffEEConfig.h */ = { 1297 1297 uiCtxt = { 1298 sepNavIntBoundsRect = "{{0, 0}, { 629, 804}}";1299 sepNavSelRange = "{ 882, 0}";1300 sepNavVisRect = "{{0, 0}, {629, 555}}";1298 sepNavIntBoundsRect = "{{0, 0}, {711, 792}}"; 1299 sepNavSelRange = "{403, 0}"; 1300 sepNavVisRect = "{{0, 348}, {711, 444}}"; 1301 1301 sepNavWindowFrame = "{{84, 262}, {750, 502}}"; 1302 1302 }; … … 1531 1531 E1BF15A503DBAA5600050002 /* ui.plist */ = { 1532 1532 uiCtxt = { 1533 sepNavIntBoundsRect = "{{0, 0}, {694, 688}}";1534 sepNavSelRange = "{ 1395, 0}";1535 sepNavVisRect = "{{0, 0}, {694, 688}}";1533 sepNavIntBoundsRect = "{{0, 0}, {694, 944}}"; 1534 sepNavSelRange = "{0, 0}"; 1535 sepNavVisRect = "{{0, 0}, {694, 944}}"; 1536 1536 sepNavWindowFrame = "{{212, 0}, {733, 746}}"; 1537 1537 }; … … 1555 1555 E1BF166A03DBE27000050002 /* ICeCoffEEWebKit.m */ = { 1556 1556 uiCtxt = { 1557 sepNavIntBoundsRect = "{{0, 0}, { 629, 1440}}";1558 sepNavSelRange = "{ 555, 0}";1559 sepNavVisRect = "{{0, 174}, {629, 384}}";1560 sepNavWindowFrame = "{{293, 103}, {867, 906}}";1557 sepNavIntBoundsRect = "{{0, 0}, {828, 1404}}"; 1558 sepNavSelRange = "{2692, 14}"; 1559 sepNavVisRect = "{{0, 556}, {828, 848}}"; 1560 sepNavWindowFrame = "{{293, 96}, {867, 906}}"; 1561 1561 }; 1562 1562 }; … … 1648 1648 F5CD5EAA02DAE61A01AA4DA5 /* Exports.exp */ = { 1649 1649 uiCtxt = { 1650 sepNavIntBoundsRect = "{{0, 0}, { 625, 220}}";1650 sepNavIntBoundsRect = "{{0, 0}, {711, 444}}"; 1651 1651 sepNavSelRange = "{65, 0}"; 1652 sepNavVisRect = "{{0, 0}, { 625, 220}}";1652 sepNavVisRect = "{{0, 0}, {711, 444}}"; 1653 1653 sepNavWindowFrame = "{{107, 241}, {750, 502}}"; 1654 1654 }; -
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.xcodeproj/project.pbxproj
r264 r272 96 96 E1ABAEDE0812F4B2007C5427 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E19EB50303DD36E600050002 /* Foundation.framework */; }; 97 97 E1ABAEF90812F4B3007C5427 /* APEManagerPrefPane.plugin in CopyFiles */ = {isa = PBXBuildFile; fileRef = E1ABAED50812F4B2007C5427 /* APEManagerPrefPane.plugin */; }; 98 E1F84A480A7165B800D1FBA1 /* UI_SCRInstall.plugin in CopyFiles */ = {isa = PBXBuildFile; fileRef = E1F84A360A7165B800D1FBA1 /* UI_SCRInstall.plugin */; }; 99 E1F84A6D0A7165D400D1FBA1 /* Smart Crash Reports in CopyFiles */ = {isa = PBXBuildFile; fileRef = E1F84A490A7165D400D1FBA1 /* Smart Crash Reports */; }; 98 100 /* End PBXBuildFile section */ 99 101 … … 149 151 dstSubfolderSpec = 16; 150 152 files = ( 153 E1F84A480A7165B800D1FBA1 /* UI_SCRInstall.plugin in CopyFiles */, 154 E1F84A6D0A7165D400D1FBA1 /* Smart Crash Reports in CopyFiles */, 151 155 E120DF1608141DBD00BF8DDC /* KillPrefpanesCache.sh in CopyFiles */, 152 156 E120DF1908141DBD00BF8DDC /* ui.plist in CopyFiles */, … … 171 175 E11854F703F2709E00050002 /* CPS.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CPS.h; sourceTree = "<group>"; }; 172 176 E120DF0C08141D5100BF8DDC /* ICeCoffEE Installer.app */ = {isa = PBXFileReference; lastKnownFileType = wrapper.application; name = "ICeCoffEE Installer.app"; path = "Installer components/ICeCoffEE Installer.app"; sourceTree = "<group>"; }; 177 E1240CA10A7150E400886FB4 /* German */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = German; path = "German.lproj/Select services.nib"; sourceTree = "<group>"; }; 173 178 E128636008381A34009C048B /* French */ = {isa = PBXFileReference; lastKnownFileType = wrapper.rtfd; name = French; path = French.lproj/APEInfo.rtfd; sourceTree = "<group>"; }; 174 179 E128636B08381AB5009C048B /* French */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = French; path = "French.lproj/APE Manager plugin.nib"; sourceTree = "<group>"; }; … … 239 244 E1CBC99803E7602700050002 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/Localizable.strings; sourceTree = "<group>"; }; 240 245 E1F6E3AC040BCC5700050002 /* Japanese */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = Japanese; path = Japanese.lproj/Localizable.strings; sourceTree = "<group>"; }; 246 E1F84A360A7165B800D1FBA1 /* UI_SCRInstall.plugin */ = {isa = PBXFileReference; lastKnownFileType = folder; path = UI_SCRInstall.plugin; sourceTree = "<group>"; }; 247 E1F84A490A7165D400D1FBA1 /* Smart Crash Reports */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "Smart Crash Reports"; sourceTree = "<group>"; }; 241 248 F56276B903796C8B01AA4DA5 /* CFPreferencesWrapper.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CFPreferencesWrapper.h; sourceTree = "<group>"; }; 242 249 F56276BA03796C8B01AA4DA5 /* CFPreferencesWrapper.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = CFPreferencesWrapper.m; sourceTree = "<group>"; }; … … 469 476 isa = PBXGroup; 470 477 children = ( 478 E1F84A360A7165B800D1FBA1 /* UI_SCRInstall.plugin */, 479 E1F84A490A7165D400D1FBA1 /* Smart Crash Reports */, 471 480 E1BF15A403DBAA5600050002 /* KillPrefpanesCache.sh */, 472 481 E1BF15A503DBAA5600050002 /* ui.plist */, … … 770 779 children = ( 771 780 E12FEC6204959FB800AEFBF9 /* Select services.nib */, 781 E1240CA10A7150E400886FB4 /* German */, 772 782 ); 773 783 name = "Select services.nib";
Note:
See TracChangeset
for help on using the changeset viewer.