Ignore:
Timestamp:
02/06/03 20:11:46 (21 years ago)
Author:
Nicholas Riley
Message:

ICeCoffEE 1.3.1d1

Location:
trunk/ICeCoffEE/ICeCoffEE
Files:
1 added
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/APEMain.m

    r74 r88  
    1818#import "ICeCoffEE.h"
    1919#import "ICeCoffEETextEdit.h"
     20#import "CPS.h"
    2021
    2122//¥¥¥ Our settings
     
    7778    {
    7879        ICapeprintf("ICeCoffEE APE: not loading as this application is excluded.\n");
     80        return;
     81    }
     82
     83    CPSProcessSerNum psn;
     84    OSStatus err = CPSGetCurrentProcess(&psn);
     85    if (err != noErr) {
     86        apeprintf("ICeCoffEE APE: Can't get process serial number for current process (error %ld); not loading in this application\n", err);
     87        return;
     88    }
     89   
     90    CPSProcessInfoRec info;
     91    err = CPSGetProcessInfo(&psn, &info, NULL, 0, NULL, NULL, 0);
     92    if (err != noErr) {
     93        apeprintf("ICeCoffEE APE: Can't get process information (error %ld); not loading in this application\n", err);
     94        return;
     95    }
     96    ICapeprintf("ICeCoffEE APE: got process attributes = 0x%lx\n", info.Attributes);
     97    if (info.Attributes & (kCPSBGOnlyAttr | kCPSUIElementAttr | kCPSFullScreenAttr)) {
     98        ICapeprintf("ICeCoffEE APE: not loading as this application is background-only\n");
    7999        return;
    80100    }
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE APE.pbproj/nicholas.pbxuser

    r82 r88  
    2323                );
    2424                perUserDictionary = {
    25                         PBXPerProjectTemplateStateSaveDate = 65919668;
     25                        PBXPerProjectTemplateStateSaveDate = 66254177;
    2626                        PBXWorkspaceContents = (
    2727                                {
     
    3030                                                        Split0 = {
    3131                                                                NavContent0 = {
    32                                                                         bookmark = E120348F03EDEBC100000ABE;
     32                                                                        bookmark = E166E9B303F2F8F100050002;
    3333                                                                        history = (
    34                                                                                 E120347903EDEBC100000ABE,
    3534                                                                                E120347A03EDEBC100000ABE,
    3635                                                                                E120347B03EDEBC100000ABE,
    37                                                                                 E120347C03EDEBC100000ABE,
     36                                                                                E120347E03EDEBC100000ABE,
     37                                                                                E120348003EDEBC100000ABE,
     38                                                                                E11854FA03F27D4A00050002,
     39                                                                                E11854FB03F27D4A00050002,
     40                                                                                E11854FC03F27D4A00050002,
     41                                                                                E11854FD03F27D4A00050002,
     42                                                                                E11854FE03F27D4A00050002,
     43                                                                                E11854FF03F27D4A00050002,
     44                                                                                E118550003F27D4A00050002,
     45                                                                                E118550103F27D4A00050002,
     46                                                                                E118550203F27D4A00050002,
     47                                                                                E118550303F27D4A00050002,
     48                                                                                E118550403F27D4A00050002,
     49                                                                                E118550503F27D4A00050002,
     50                                                                                E118550603F27D4A00050002,
     51                                                                                E118550703F27D4A00050002,
     52                                                                                E118550803F27D4A00050002,
     53                                                                                E118550903F27D4A00050002,
     54                                                                                E118550A03F27D4A00050002,
     55                                                                                E118550B03F27D4A00050002,
     56                                                                                E118550C03F27D4A00050002,
     57                                                                                E118550D03F27D4A00050002,
     58                                                                                E118550E03F27D4A00050002,
     59                                                                                E118550F03F27D4A00050002,
     60                                                                                E118551003F27D4A00050002,
     61                                                                                E118551103F27D4A00050002,
     62                                                                                E166E9A903F2F8F100050002,
     63                                                                                E166E9AA03F2F8F100050002,
     64                                                                                E166E9AB03F2F8F100050002,
     65                                                                                E166E9AC03F2F8F100050002,
     66                                                                                E166E9AD03F2F8F100050002,
    3867                                                                                E120347D03EDEBC100000ABE,
    39                                                                                 E120347E03EDEBC100000ABE,
    40                                                                                 E120347F03EDEBC100000ABE,
    41                                                                                 E120348003EDEBC100000ABE,
    42                                                                                 E120348103EDEBC100000ABE,
    43                                                                                 E120348203EDEBC100000ABE,
    44                                                                         );
    45                                                                         nextStack = (
    46                                                                                 E120348E03EDEBC100000ABE,
    4768                                                                        );
    4869                                                                        prevStack = (
     
    5879                                                                                E120348C03EDEBC100000ABE,
    5980                                                                                E120348D03EDEBC100000ABE,
     81                                                                                E157EE6C03F059E300050002,
     82                                                                                E157EE6D03F059E300050002,
     83                                                                                E157EE6E03F059E300050002,
     84                                                                                E157EE6F03F059E300050002,
     85                                                                                E118551303F27D4A00050002,
     86                                                                                E118551403F27D4A00050002,
     87                                                                                E118551503F27D4A00050002,
     88                                                                                E118551603F27D4A00050002,
     89                                                                                E118551703F27D4A00050002,
     90                                                                                E118551803F27D4A00050002,
     91                                                                                E118551903F27D4A00050002,
     92                                                                                E118551A03F27D4A00050002,
     93                                                                                E118551B03F27D4A00050002,
     94                                                                                E118551C03F27D4A00050002,
     95                                                                                E118551D03F27D4A00050002,
     96                                                                                E118551E03F27D4A00050002,
     97                                                                                E118551F03F27D4A00050002,
     98                                                                                E118552003F27D4A00050002,
     99                                                                                E118552103F27D4A00050002,
     100                                                                                E118552203F27D4A00050002,
     101                                                                                E118552303F27D4A00050002,
     102                                                                                E118552403F27D4A00050002,
     103                                                                                E118552503F27D4A00050002,
     104                                                                                E118552603F27D4A00050002,
     105                                                                                E118552703F27D4A00050002,
     106                                                                                E118552803F27D4A00050002,
     107                                                                                E118552903F27D4A00050002,
     108                                                                                E118552A03F27D4A00050002,
     109                                                                                E118552B03F27D4A00050002,
     110                                                                                E118552C03F27D4A00050002,
     111                                                                                E118552D03F27D4A00050002,
     112                                                                                E118552E03F27D4A00050002,
     113                                                                                E118552F03F27D4A00050002,
     114                                                                                E118553003F27D4A00050002,
     115                                                                                E118553103F27D4A00050002,
     116                                                                                E166E9AE03F2F8F100050002,
     117                                                                                E166E9AF03F2F8F100050002,
     118                                                                                E166E9B003F2F8F100050002,
     119                                                                                E166E9B103F2F8F100050002,
     120                                                                                E166E9B203F2F8F100050002,
    60121                                                                        );
    61122                                                                };
    62123                                                                NavCount = 1;
    63124                                                                NavGeometry0 = {
    64                                                                         Frame = "{{0, 0}, {571, 548}}";
     125                                                                        Frame = "{{0, 0}, {642, 698}}";
    65126                                                                        NavBarVisible = YES;
    66127                                                                };
     
    167228                        PBXWorkspaceGeometries = (
    168229                                {
    169                                         ContentSize = "{855, 571}";
     230                                        ContentSize = "{925, 721}";
    170231                                        LeftSlideOut = {
    171232                                                ActiveTab = 0;
    172233                                                ActiveTabName = PBXGroupTreeModule;
    173234                                                Collapsed = NO;
    174                                                 Frame = "{{0, 23}, {855, 548}}";
     235                                                Frame = "{{0, 23}, {925, 698}}";
    175236                                                Split0 = {
    176237                                                        Collapsed = NO;
    177                                                         Frame = "{{284, 0}, {571, 548}}";
     238                                                        Frame = "{{283, 0}, {642, 698}}";
    178239                                                        Split0 = {
    179                                                                 Frame = "{{0, 0}, {571, 548}}";
     240                                                                Frame = "{{0, 0}, {642, 698}}";
    180241                                                        };
    181242                                                        SplitCount = 1;
     
    239300                                                SplitCount = 1;
    240301                                                Tab0 = {
    241                                                         Frame = "{{0, 0}, {260, 548}}";
     302                                                        Frame = "{{0, 0}, {259, 698}}";
    242303                                                        GroupTreeTableConfiguration = (
    243304                                                                TargetStatusColumn,
    244305                                                                18,
    245306                                                                MainColumn,
    246                                                                 227,
     307                                                                226,
    247308                                                        );
    248309                                                };
     
    292353                                        Template = 64ABBB4501FA494900185B06;
    293354                                        ToolbarVisible = YES;
    294                                         WindowLocation = "{2, 198}";
     355                                        WindowLocation = "{2, 48}";
    295356                                },
    296357                                {
     
    420481                                        Template = F5314676015831810DCA290F;
    421482                                        ToolbarVisible = YES;
    422                                         WindowLocation = "{509, 82}";
     483                                        WindowLocation = "{508, 82}";
    423484                                },
    424485                                {
     
    433494                                                        Frame = "{{0, 0}, {594, 280}}";
    434495                                                        Split0 = {
    435                                                                 Frame = "{{1e+06, 1e+06}, {594, 27}}";
     496                                                                Frame = "{{1e+06, 1e+06}, {594, 0}}";
    436497                                                        };
    437498                                                        SplitCount = 1;
     
    548609                                        Template = F5534CB2020F3F8A0DCA290F;
    549610                                        ToolbarVisible = YES;
    550                                         WindowLocation = "{4, 467}";
     611                                        WindowLocation = "{488, 121}";
    551612                                },
    552613                        );
    553                         PBXWorkspaceStateSaveDate = 65919668;
     614                        PBXWorkspaceStateSaveDate = 66254177;
    554615                };
    555616                perUserProjectItems = {
    556                         E120347903EDEBC100000ABE = E120347903EDEBC100000ABE;
     617                        E11854FA03F27D4A00050002 = E11854FA03F27D4A00050002;
     618                        E11854FB03F27D4A00050002 = E11854FB03F27D4A00050002;
     619                        E11854FC03F27D4A00050002 = E11854FC03F27D4A00050002;
     620                        E11854FD03F27D4A00050002 = E11854FD03F27D4A00050002;
     621                        E11854FE03F27D4A00050002 = E11854FE03F27D4A00050002;
     622                        E11854FF03F27D4A00050002 = E11854FF03F27D4A00050002;
     623                        E118550003F27D4A00050002 = E118550003F27D4A00050002;
     624                        E118550103F27D4A00050002 = E118550103F27D4A00050002;
     625                        E118550203F27D4A00050002 = E118550203F27D4A00050002;
     626                        E118550303F27D4A00050002 = E118550303F27D4A00050002;
     627                        E118550403F27D4A00050002 = E118550403F27D4A00050002;
     628                        E118550503F27D4A00050002 = E118550503F27D4A00050002;
     629                        E118550603F27D4A00050002 = E118550603F27D4A00050002;
     630                        E118550703F27D4A00050002 = E118550703F27D4A00050002;
     631                        E118550803F27D4A00050002 = E118550803F27D4A00050002;
     632                        E118550903F27D4A00050002 = E118550903F27D4A00050002;
     633                        E118550A03F27D4A00050002 = E118550A03F27D4A00050002;
     634                        E118550B03F27D4A00050002 = E118550B03F27D4A00050002;
     635                        E118550C03F27D4A00050002 = E118550C03F27D4A00050002;
     636                        E118550D03F27D4A00050002 = E118550D03F27D4A00050002;
     637                        E118550E03F27D4A00050002 = E118550E03F27D4A00050002;
     638                        E118550F03F27D4A00050002 = E118550F03F27D4A00050002;
     639                        E118551003F27D4A00050002 = E118551003F27D4A00050002;
     640                        E118551103F27D4A00050002 = E118551103F27D4A00050002;
     641                        E118551303F27D4A00050002 = E118551303F27D4A00050002;
     642                        E118551403F27D4A00050002 = E118551403F27D4A00050002;
     643                        E118551503F27D4A00050002 = E118551503F27D4A00050002;
     644                        E118551603F27D4A00050002 = E118551603F27D4A00050002;
     645                        E118551703F27D4A00050002 = E118551703F27D4A00050002;
     646                        E118551803F27D4A00050002 = E118551803F27D4A00050002;
     647                        E118551903F27D4A00050002 = E118551903F27D4A00050002;
     648                        E118551A03F27D4A00050002 = E118551A03F27D4A00050002;
     649                        E118551B03F27D4A00050002 = E118551B03F27D4A00050002;
     650                        E118551C03F27D4A00050002 = E118551C03F27D4A00050002;
     651                        E118551D03F27D4A00050002 = E118551D03F27D4A00050002;
     652                        E118551E03F27D4A00050002 = E118551E03F27D4A00050002;
     653                        E118551F03F27D4A00050002 = E118551F03F27D4A00050002;
     654                        E118552003F27D4A00050002 = E118552003F27D4A00050002;
     655                        E118552103F27D4A00050002 = E118552103F27D4A00050002;
     656                        E118552203F27D4A00050002 = E118552203F27D4A00050002;
     657                        E118552303F27D4A00050002 = E118552303F27D4A00050002;
     658                        E118552403F27D4A00050002 = E118552403F27D4A00050002;
     659                        E118552503F27D4A00050002 = E118552503F27D4A00050002;
     660                        E118552603F27D4A00050002 = E118552603F27D4A00050002;
     661                        E118552703F27D4A00050002 = E118552703F27D4A00050002;
     662                        E118552803F27D4A00050002 = E118552803F27D4A00050002;
     663                        E118552903F27D4A00050002 = E118552903F27D4A00050002;
     664                        E118552A03F27D4A00050002 = E118552A03F27D4A00050002;
     665                        E118552B03F27D4A00050002 = E118552B03F27D4A00050002;
     666                        E118552C03F27D4A00050002 = E118552C03F27D4A00050002;
     667                        E118552D03F27D4A00050002 = E118552D03F27D4A00050002;
     668                        E118552E03F27D4A00050002 = E118552E03F27D4A00050002;
     669                        E118552F03F27D4A00050002 = E118552F03F27D4A00050002;
     670                        E118553003F27D4A00050002 = E118553003F27D4A00050002;
     671                        E118553103F27D4A00050002 = E118553103F27D4A00050002;
    557672                        E120347A03EDEBC100000ABE = E120347A03EDEBC100000ABE;
    558673                        E120347B03EDEBC100000ABE = E120347B03EDEBC100000ABE;
    559                         E120347C03EDEBC100000ABE = E120347C03EDEBC100000ABE;
    560674                        E120347D03EDEBC100000ABE = E120347D03EDEBC100000ABE;
    561675                        E120347E03EDEBC100000ABE = E120347E03EDEBC100000ABE;
    562                         E120347F03EDEBC100000ABE = E120347F03EDEBC100000ABE;
    563676                        E120348003EDEBC100000ABE = E120348003EDEBC100000ABE;
    564                         E120348103EDEBC100000ABE = E120348103EDEBC100000ABE;
    565                         E120348203EDEBC100000ABE = E120348203EDEBC100000ABE;
    566677                        E120348303EDEBC100000ABE = E120348303EDEBC100000ABE;
    567678                        E120348403EDEBC100000ABE = E120348403EDEBC100000ABE;
     
    575686                        E120348C03EDEBC100000ABE = E120348C03EDEBC100000ABE;
    576687                        E120348D03EDEBC100000ABE = E120348D03EDEBC100000ABE;
    577                         E120348E03EDEBC100000ABE = E120348E03EDEBC100000ABE;
    578                         E120348F03EDEBC100000ABE = E120348F03EDEBC100000ABE;
     688                        E157EE6C03F059E300050002 = E157EE6C03F059E300050002;
     689                        E157EE6D03F059E300050002 = E157EE6D03F059E300050002;
     690                        E157EE6E03F059E300050002 = E157EE6E03F059E300050002;
     691                        E157EE6F03F059E300050002 = E157EE6F03F059E300050002;
     692                        E166E9A903F2F8F100050002 = E166E9A903F2F8F100050002;
     693                        E166E9AA03F2F8F100050002 = E166E9AA03F2F8F100050002;
     694                        E166E9AB03F2F8F100050002 = E166E9AB03F2F8F100050002;
     695                        E166E9AC03F2F8F100050002 = E166E9AC03F2F8F100050002;
     696                        E166E9AD03F2F8F100050002 = E166E9AD03F2F8F100050002;
     697                        E166E9AE03F2F8F100050002 = E166E9AE03F2F8F100050002;
     698                        E166E9AF03F2F8F100050002 = E166E9AF03F2F8F100050002;
     699                        E166E9B003F2F8F100050002 = E166E9B003F2F8F100050002;
     700                        E166E9B103F2F8F100050002 = E166E9B103F2F8F100050002;
     701                        E166E9B203F2F8F100050002 = E166E9B203F2F8F100050002;
     702                        E166E9B303F2F8F100050002 = E166E9B303F2F8F100050002;
    579703                };
    580704                projectwideBuildSettings = {
     
    584708                wantsSCM = -1;
    585709        };
    586         E120347903EDEBC100000ABE = {
     710        E11854FA03F27D4A00050002 = {
     711                fRef = E169DBA103E4EF5E00050002;
     712                isa = PBXTextBookmark;
     713                name = "ICeCoffEETextEdit.c: 24";
     714                rLen = 0;
     715                rLoc = 708;
     716                rType = 0;
     717                vrLen = 1370;
     718                vrLoc = 0;
     719        };
     720        E11854FB03F27D4A00050002 = {
     721                fRef = E118554503F27D4A00050002;
     722                glyphRangeLength = 1141;
     723                glyphRangeLocation = 6672;
     724                isa = PBXDocBookmark;
     725                name = "Editing_Data.html: boundary but...";
     726        };
     727        E11854FC03F27D4A00050002 = {
     728                fRef = E118554603F27D4A00050002;
     729                isa = PBXTextBookmark;
     730                name = "MacTextEditor.h: 2223";
     731                rLen = 0;
     732                rLoc = 77465;
     733                rType = 0;
     734                vrLen = 1220;
     735                vrLoc = 76924;
     736        };
     737        E11854FD03F27D4A00050002 = {
     738                fRef = E118554703F27D4A00050002;
     739                isa = PBXTextBookmark;
     740                name = "MacTypes.h: 301";
     741                rLen = 3;
     742                rLoc = 11959;
     743                rType = 0;
     744                vrLen = 1556;
     745                vrLoc = 10939;
     746        };
     747        E11854FE03F27D4A00050002 = {
     748                fRef = E118554803F27D4A00050002;
     749                isa = PBXTextBookmark;
     750                name = "CFArray.h: 559";
     751                rLen = 73;
     752                rLoc = 26275;
     753                rType = 0;
     754                vrLen = 2097;
     755                vrLoc = 25238;
     756        };
     757        E11854FF03F27D4A00050002 = {
     758                fRef = E118554903F27D4A00050002;
     759                isa = PBXTextBookmark;
     760                name = "MacErrors.h: 70";
     761                rLen = 0;
     762                rLoc = 2869;
     763                rType = 0;
     764                vrLen = 3114;
     765                vrLoc = 1688;
     766        };
     767        E118550003F27D4A00050002 = {
     768                fRef = E118553803F27D4A00050002;
     769                isa = PBXTextBookmark;
     770                name = "CFString.h: 329";
     771                rLen = 7;
     772                rLoc = 16745;
     773                rType = 0;
     774                vrLen = 2332;
     775                vrLoc = 15554;
     776        };
     777        E118550103F27D4A00050002 = {
     778                fRef = E169DBA703E4F6A400050002;
     779                isa = PBXTextBookmark;
     780                name = "ICeCoffEEConfig.h: 15";
     781                rLen = 0;
     782                rLoc = 275;
     783                rType = 0;
     784                vrLen = 1716;
     785                vrLoc = 218;
     786        };
     787        E118550203F27D4A00050002 = {
     788                fRef = E118553A03F27D4A00050002;
     789                isa = PBXTextBookmark;
     790                name = "CFBase.h: 174";
     791                rLen = 56;
     792                rLoc = 4344;
     793                rType = 0;
     794                vrLen = 1961;
     795                vrLoc = 4409;
     796        };
     797        E118550303F27D4A00050002 = {
     798                fRef = E118553B03F27D4A00050002;
     799                isa = PBXTextBookmark;
     800                name = "CFDictionary.h: 630";
     801                rLen = 0;
     802                rLoc = 31495;
     803                rType = 0;
     804                vrLen = 2409;
     805                vrLoc = 30254;
     806        };
     807        E118550403F27D4A00050002 = {
     808                fRef = E165AB3603E7A7FC00050002;
     809                isa = PBXTextBookmark;
     810                name = "ICeCoffEEActionMenu.c: ICCF_AddAppItemTitle";
     811                rLen = 0;
     812                rLoc = 2806;
     813                rType = 0;
     814                vrLen = 1689;
     815                vrLoc = 3599;
     816        };
     817        E118550503F27D4A00050002 = {
     818                fRef = E135625E03DC9FC200050002;
     819                isa = PBXTextBookmark;
     820                name = "ICeCoffEEShared.h: 2";
     821                rLen = 17;
     822                rLoc = 7;
     823                rType = 0;
     824                vrLen = 1334;
     825                vrLoc = 0;
     826        };
     827        E118550603F27D4A00050002 = {
     828                fRef = E118553C03F27D4A00050002;
     829                isa = PBXTextBookmark;
     830                name = "Processes.h: 103";
     831                rLen = 21;
     832                rLoc = 3167;
     833                rType = 0;
     834                vrLen = 2130;
     835                vrLoc = 2876;
     836        };
     837        E118550703F27D4A00050002 = {
     838                fRef = E118553D03F27D4A00050002;
     839                glyphRangeLength = 1979;
     840                glyphRangeLocation = 3056;
     841                isa = PBXDocBookmark;
     842                name = "Getting_Proc__Information.html: Get informat...";
     843        };
     844        E118550803F27D4A00050002 = {
     845                fRef = E118553E03F27D4A00050002;
     846                glyphRangeLength = 1502;
     847                glyphRangeLocation = 0;
     848                isa = PBXDocBookmark;
     849                name = "ProcessInfoRec.html: PATHDocument...";
     850        };
     851        E118550903F27D4A00050002 = {
     852                fRef = E118553F03F27D4A00050002;
     853                glyphRangeLength = 2;
     854                glyphRangeLocation = 4;
     855                isa = PBXDocBookmark;
     856                name = "carbon.html: ...";
     857        };
     858        E118550A03F27D4A00050002 = {
     859                fRef = E118554203F27D4A00050002;
     860                glyphRangeLength = 4;
     861                glyphRangeLocation = 0;
     862                isa = PBXDocBookmark;
     863                name = "processmanager.html: ...";
     864        };
     865        E118550B03F27D4A00050002 = {
     866                fRef = E118554303F27D4A00050002;
     867                glyphRangeLength = 0;
     868                glyphRangeLocation = 0;
     869                isa = PBXDocBookmark;
     870        };
     871        E118550C03F27D4A00050002 = {
    587872                fRef = E182C8F603DE817F00050002;
    588873                isa = PBXTextBookmark;
    589                 name = "ICeCoffEEShared.m: __VERSION__";
     874                name = "ICeCoffEEShared.m: 16";
     875                rLen = 0;
     876                rLoc = 357;
     877                rType = 0;
     878                vrLen = 1491;
     879                vrLoc = 0;
     880        };
     881        E118550D03F27D4A00050002 = {
     882                fRef = E14343B403DB4CF200050002;
     883                isa = PBXTextBookmark;
     884                name = "ICeCoffEE.m: __PTRDIFF_TYPE__";
     885                rLen = 0;
     886                rLoc = 197;
     887                rType = 0;
     888                vrLen = 1599;
     889                vrLoc = 0;
     890        };
     891        E118550E03F27D4A00050002 = {
     892                fRef = E11854F703F2709E00050002;
     893                isa = PBXTextBookmark;
     894                name = "CPS.h: kCPSUIElementAttr";
     895                rLen = 17;
     896                rLoc = 742;
     897                rType = 0;
     898                vrLen = 739;
     899                vrLoc = 510;
     900        };
     901        E118550F03F27D4A00050002 = {
     902                fRef = E118554403F27D4A00050002;
     903                isa = PBXTextBookmark;
     904                name = "LaunchServices.h: 1";
    590905                rLen = 0;
    591906                rLoc = 0;
    592907                rType = 0;
    593                 vrLen = 1401;
    594                 vrLoc = 0;
     908                vrLen = 1041;
     909                vrLoc = 0;
     910        };
     911        E118551003F27D4A00050002 = {
     912                fRef = E118553903F27D4A00050002;
     913                isa = PBXTextBookmark;
     914                name = "APETools.h: 62";
     915                rLen = 82;
     916                rLoc = 2811;
     917                rType = 0;
     918                vrLen = 2318;
     919                vrLoc = 1156;
     920        };
     921        E118551103F27D4A00050002 = {
     922                fRef = F9A6986E03BE1DF000AA4DA5;
     923                isa = PBXTextBookmark;
     924                name = "APEMain.m: APEBundleMain";
     925                rLen = 0;
     926                rLoc = 2217;
     927                rType = 0;
     928                vrLen = 1834;
     929                vrLoc = 1604;
     930        };
     931        E118551303F27D4A00050002 = {
     932                fRef = F56276C20379923401AA4DA5;
     933                isa = PBXTextBookmark;
     934                name = "APEInfo.rtfd: 118";
     935                rLen = 0;
     936                rLoc = 7588;
     937                rType = 0;
     938                vrLen = 1177;
     939                vrLoc = 6919;
     940        };
     941        E118551403F27D4A00050002 = {
     942                fRef = E14343B403DB4CF200050002;
     943                isa = PBXTextBookmark;
     944                name = "ICeCoffEE.m: __VERSION__";
     945                rLen = 0;
     946                rLoc = 0;
     947                rType = 0;
     948                vrLen = 1134;
     949                vrLoc = 0;
     950        };
     951        E118551503F27D4A00050002 = {
     952                fRef = E169DBA103E4EF5E00050002;
     953                isa = PBXTextBookmark;
     954                name = "ICeCoffEETextEdit.c: 24";
     955                rLen = 0;
     956                rLoc = 708;
     957                rType = 0;
     958                vrLen = 1370;
     959                vrLoc = 0;
     960        };
     961        E118551603F27D4A00050002 = {
     962                fRef = E118553303F27D4A00050002;
     963                isa = PBXTextBookmark;
     964                name = "MacTextEditor.h: 2223";
     965                rLen = 0;
     966                rLoc = 77465;
     967                rType = 0;
     968                vrLen = 1220;
     969                vrLoc = 76924;
     970        };
     971        E118551703F27D4A00050002 = {
     972                fRef = E165AB3603E7A7FC00050002;
     973                isa = PBXTextBookmark;
     974                name = "ICeCoffEEActionMenu.c: ICCF_DoURLActionMenu";
     975                rLen = 0;
     976                rLoc = 8672;
     977                rType = 0;
     978                vrLen = 1734;
     979                vrLoc = 4975;
     980        };
     981        E118551803F27D4A00050002 = {
     982                fRef = F56276C20379923401AA4DA5;
     983                isa = PBXTextBookmark;
     984                name = "APEInfo.rtfd: 117";
     985                rLen = 0;
     986                rLoc = 7520;
     987                rType = 0;
     988                vrLen = 1583;
     989                vrLoc = 6657;
     990        };
     991        E118551903F27D4A00050002 = {
     992                fRef = E165AB3603E7A7FC00050002;
     993                isa = PBXTextBookmark;
     994                name = "ICeCoffEEActionMenu.c: ICCF_CompareURLsByItemTitle";
     995                rLen = 0;
     996                rLoc = 5736;
     997                rType = 0;
     998                vrLen = 1956;
     999                vrLoc = 4897;
     1000        };
     1001        E118551A03F27D4A00050002 = {
     1002                fRef = E169DBA703E4F6A400050002;
     1003                isa = PBXTextBookmark;
     1004                name = "ICeCoffEEConfig.h: 15";
     1005                rLen = 0;
     1006                rLoc = 275;
     1007                rType = 0;
     1008                vrLen = 1716;
     1009                vrLoc = 218;
     1010        };
     1011        E118551B03F27D4A00050002 = {
     1012                fRef = E135625E03DC9FC200050002;
     1013                isa = PBXTextBookmark;
     1014                name = "ICeCoffEEShared.h: 2";
     1015                rLen = 17;
     1016                rLoc = 7;
     1017                rType = 0;
     1018                vrLen = 1334;
     1019                vrLoc = 0;
     1020        };
     1021        E118551C03F27D4A00050002 = {
     1022                fRef = E165AB3603E7A7FC00050002;
     1023                isa = PBXTextBookmark;
     1024                name = "ICeCoffEEActionMenu.c: ICCF_AddAppItemTitle";
     1025                rLen = 0;
     1026                rLoc = 2806;
     1027                rType = 0;
     1028                vrLen = 1689;
     1029                vrLoc = 3599;
     1030        };
     1031        E118551D03F27D4A00050002 = {
     1032                fRef = F56276C20379923401AA4DA5;
     1033                isa = PBXTextBookmark;
     1034                name = "APEInfo.rtfd: 117";
     1035                rLen = 0;
     1036                rLoc = 7520;
     1037                rType = 0;
     1038                vrLen = 2008;
     1039                vrLoc = 6398;
     1040        };
     1041        E118551E03F27D4A00050002 = {
     1042                fRef = E135625E03DC9FC200050002;
     1043                isa = PBXTextBookmark;
     1044                name = "ICeCoffEEShared.h: 2";
     1045                rLen = 17;
     1046                rLoc = 7;
     1047                rType = 0;
     1048                vrLen = 1334;
     1049                vrLoc = 0;
     1050        };
     1051        E118551F03F27D4A00050002 = {
     1052                fRef = E182C8F603DE817F00050002;
     1053                isa = PBXTextBookmark;
     1054                name = "ICeCoffEEShared.m: 16";
     1055                rLen = 0;
     1056                rLoc = 357;
     1057                rType = 0;
     1058                vrLen = 1491;
     1059                vrLoc = 0;
     1060        };
     1061        E118552003F27D4A00050002 = {
     1062                fRef = F9A6986E03BE1DF000AA4DA5;
     1063                isa = PBXTextBookmark;
     1064                name = "APEMain.m: APEBundleMain";
     1065                rLen = 23;
     1066                rLoc = 2460;
     1067                rType = 0;
     1068                vrLen = 2104;
     1069                vrLoc = 2026;
     1070        };
     1071        E118552103F27D4A00050002 = {
     1072                fRef = E118554A03F27D4A00050002;
     1073                isa = PBXTextBookmark;
     1074                name = "APETools.h: 59";
     1075                rLen = 0;
     1076                rLoc = 2551;
     1077                rType = 0;
     1078                vrLen = 2564;
     1079                vrLoc = 876;
     1080        };
     1081        E118552203F27D4A00050002 = {
     1082                fRef = E135625E03DC9FC200050002;
     1083                isa = PBXTextBookmark;
     1084                name = "ICeCoffEEShared.h: 2";
     1085                rLen = 17;
     1086                rLoc = 7;
     1087                rType = 0;
     1088                vrLen = 1334;
     1089                vrLoc = 0;
     1090        };
     1091        E118552303F27D4A00050002 = {
     1092                fRef = E182C8F603DE817F00050002;
     1093                isa = PBXTextBookmark;
     1094                name = "ICeCoffEEShared.m: 16";
     1095                rLen = 0;
     1096                rLoc = 357;
     1097                rType = 0;
     1098                vrLen = 1491;
     1099                vrLoc = 0;
     1100        };
     1101        E118552403F27D4A00050002 = {
     1102                fRef = F9A6986E03BE1DF000AA4DA5;
     1103                isa = PBXTextBookmark;
     1104                name = "APEMain.m: ICCF_ReloadPrefs";
     1105                rLen = 0;
     1106                rLoc = 11233;
     1107                rType = 0;
     1108                vrLen = 1497;
     1109                vrLoc = 0;
     1110        };
     1111        E118552503F27D4A00050002 = {
     1112                fRef = E118553603F27D4A00050002;
     1113                isa = PBXTextBookmark;
     1114                name = "Processes.h: 103";
     1115                rLen = 21;
     1116                rLoc = 3167;
     1117                rType = 0;
     1118                vrLen = 2130;
     1119                vrLoc = 2876;
     1120        };
     1121        E118552603F27D4A00050002 = {
     1122                fRef = E118554103F27D4A00050002;
     1123                glyphRangeLength = 1979;
     1124                glyphRangeLocation = 3056;
     1125                isa = PBXDocBookmark;
     1126                name = "Getting_Proc__Information.html: Get informat...";
     1127        };
     1128        E118552703F27D4A00050002 = {
     1129                fRef = E118553703F27D4A00050002;
     1130                glyphRangeLength = 1502;
     1131                glyphRangeLocation = 0;
     1132                isa = PBXDocBookmark;
     1133                name = "ProcessInfoRec.html: PATHDocument...";
     1134        };
     1135        E118552803F27D4A00050002 = {
     1136                fRef = E118553503F27D4A00050002;
     1137                glyphRangeLength = 2;
     1138                glyphRangeLocation = 4;
     1139                isa = PBXDocBookmark;
     1140                name = "carbon.html: ...";
     1141        };
     1142        E118552903F27D4A00050002 = {
     1143                fRef = E118554003F27D4A00050002;
     1144                glyphRangeLength = 4;
     1145                glyphRangeLocation = 0;
     1146                isa = PBXDocBookmark;
     1147                name = "processmanager.html: ...";
     1148        };
     1149        E118552A03F27D4A00050002 = {
     1150                fRef = E118553403F27D4A00050002;
     1151                glyphRangeLength = 0;
     1152                glyphRangeLocation = 0;
     1153                isa = PBXDocBookmark;
     1154        };
     1155        E118552B03F27D4A00050002 = {
     1156                fRef = E182C8F603DE817F00050002;
     1157                isa = PBXTextBookmark;
     1158                name = "ICeCoffEEShared.m: 16";
     1159                rLen = 0;
     1160                rLoc = 357;
     1161                rType = 0;
     1162                vrLen = 1491;
     1163                vrLoc = 0;
     1164        };
     1165        E118552C03F27D4A00050002 = {
     1166                fRef = E14343B403DB4CF200050002;
     1167                isa = PBXTextBookmark;
     1168                name = "ICeCoffEE.m: __PTRDIFF_TYPE__";
     1169                rLen = 0;
     1170                rLoc = 197;
     1171                rType = 0;
     1172                vrLen = 1599;
     1173                vrLoc = 0;
     1174        };
     1175        E118552D03F27D4A00050002 = {
     1176                fRef = F9A6986E03BE1DF000AA4DA5;
     1177                isa = PBXTextBookmark;
     1178                name = "APEMain.m: APEBundleMain";
     1179                rLen = 0;
     1180                rLoc = 3215;
     1181                rType = 0;
     1182                vrLen = 1824;
     1183                vrLoc = 1720;
     1184        };
     1185        E118552E03F27D4A00050002 = {
     1186                fRef = E11854F703F2709E00050002;
     1187                isa = PBXTextBookmark;
     1188                name = "CPS.h: kCPSUIElementAttr";
     1189                rLen = 17;
     1190                rLoc = 742;
     1191                rType = 0;
     1192                vrLen = 739;
     1193                vrLoc = 510;
     1194        };
     1195        E118552F03F27D4A00050002 = {
     1196                fRef = F9A6986E03BE1DF000AA4DA5;
     1197                isa = PBXTextBookmark;
     1198                name = "APEMain.m: APEBundleMain";
     1199                rLen = 0;
     1200                rLoc = 3208;
     1201                rType = 0;
     1202                vrLen = 1728;
     1203                vrLoc = 2080;
     1204        };
     1205        E118553003F27D4A00050002 = {
     1206                fRef = F56276C20379923401AA4DA5;
     1207                isa = PBXTextBookmark;
     1208                name = "APEInfo.rtfd: 131";
     1209                rLen = 0;
     1210                rLoc = 8185;
     1211                rType = 0;
     1212                vrLen = 1951;
     1213                vrLoc = 7002;
     1214        };
     1215        E118553103F27D4A00050002 = {
     1216                fRef = F9A6986E03BE1DF000AA4DA5;
     1217                isa = PBXTextBookmark;
     1218                name = "APEMain.m: APEBundleMain";
     1219                rLen = 0;
     1220                rLoc = 2217;
     1221                rType = 0;
     1222                vrLen = 1834;
     1223                vrLoc = 1604;
     1224        };
     1225        E118553303F27D4A00050002 = {
     1226                isa = PBXFileReference;
     1227                name = MacTextEditor.h;
     1228                path = /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/MacTextEditor.h;
     1229                refType = 0;
     1230        };
     1231        E118553403F27D4A00050002 = {
     1232                isa = PBXFileReference;
     1233                name = index.html;
     1234                path = /Developer/Documentation/Carbon/oss/ProcessManager/Process_Manager/index.html;
     1235                refType = 0;
     1236        };
     1237        E118553503F27D4A00050002 = {
     1238                isa = PBXFileReference;
     1239                name = carbon.html;
     1240                path = /Developer/Documentation/Carbon/carbon.html;
     1241                refType = 0;
     1242        };
     1243        E118553603F27D4A00050002 = {
     1244                isa = PBXFileReference;
     1245                name = Processes.h;
     1246                path = /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/Headers/Processes.h;
     1247                refType = 0;
     1248        };
     1249        E118553703F27D4A00050002 = {
     1250                isa = PBXFileReference;
     1251                name = ProcessInfoRec.html;
     1252                path = /Developer/Documentation/Carbon/oss/ProcessManager/Process_Manager/DataTypes/ProcessInfoRec.html;
     1253                refType = 0;
     1254        };
     1255        E118553803F27D4A00050002 = {
     1256                isa = PBXFileReference;
     1257                name = CFString.h;
     1258                path = /System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFString.h;
     1259                refType = 0;
     1260        };
     1261        E118553903F27D4A00050002 = {
     1262                isa = PBXFileReference;
     1263                name = APETools.h;
     1264                path = /Library/Frameworks/ApplicationEnhancer.framework/Versions/A/Headers/APETools.h;
     1265                refType = 0;
     1266        };
     1267        E118553A03F27D4A00050002 = {
     1268                isa = PBXFileReference;
     1269                name = CFBase.h;
     1270                path = /System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFBase.h;
     1271                refType = 0;
     1272        };
     1273        E118553B03F27D4A00050002 = {
     1274                isa = PBXFileReference;
     1275                name = CFDictionary.h;
     1276                path = /System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFDictionary.h;
     1277                refType = 0;
     1278        };
     1279        E118553C03F27D4A00050002 = {
     1280                isa = PBXFileReference;
     1281                name = Processes.h;
     1282                path = /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/Headers/Processes.h;
     1283                refType = 0;
     1284        };
     1285        E118553D03F27D4A00050002 = {
     1286                isa = PBXFileReference;
     1287                name = Getting_Proc__Information.html;
     1288                path = /Developer/Documentation/Carbon/oss/ProcessManager/Process_Manager/Functions/Getting_Proc__Information.html;
     1289                refType = 0;
     1290        };
     1291        E118553E03F27D4A00050002 = {
     1292                isa = PBXFileReference;
     1293                name = ProcessInfoRec.html;
     1294                path = /Developer/Documentation/Carbon/oss/ProcessManager/Process_Manager/DataTypes/ProcessInfoRec.html;
     1295                refType = 0;
     1296        };
     1297        E118553F03F27D4A00050002 = {
     1298                isa = PBXFileReference;
     1299                name = carbon.html;
     1300                path = /Developer/Documentation/Carbon/carbon.html;
     1301                refType = 0;
     1302        };
     1303        E118554003F27D4A00050002 = {
     1304                isa = PBXFileReference;
     1305                name = processmanager.html;
     1306                path = /Developer/Documentation/Carbon/oss/ProcessManager/processmanager.html;
     1307                refType = 0;
     1308        };
     1309        E118554103F27D4A00050002 = {
     1310                isa = PBXFileReference;
     1311                name = Getting_Proc__Information.html;
     1312                path = /Developer/Documentation/Carbon/oss/ProcessManager/Process_Manager/Functions/Getting_Proc__Information.html;
     1313                refType = 0;
     1314        };
     1315        E118554203F27D4A00050002 = {
     1316                isa = PBXFileReference;
     1317                name = processmanager.html;
     1318                path = /Developer/Documentation/Carbon/oss/ProcessManager/processmanager.html;
     1319                refType = 0;
     1320        };
     1321        E118554303F27D4A00050002 = {
     1322                isa = PBXFileReference;
     1323                name = index.html;
     1324                path = /Developer/Documentation/Carbon/oss/ProcessManager/Process_Manager/index.html;
     1325                refType = 0;
     1326        };
     1327        E118554403F27D4A00050002 = {
     1328                isa = PBXFileReference;
     1329                name = LaunchServices.h;
     1330                path = /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Headers/LaunchServices.h;
     1331                refType = 0;
     1332        };
     1333        E118554503F27D4A00050002 = {
     1334                isa = PBXFileReference;
     1335                name = Editing_Data.html;
     1336                path = /Developer/Documentation/Carbon/text/MultilingualTextEngine/Multilingual_Text_Engine/Functions/Editing_Data.html;
     1337                refType = 0;
     1338        };
     1339        E118554603F27D4A00050002 = {
     1340                isa = PBXFileReference;
     1341                name = MacTextEditor.h;
     1342                path = /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/MacTextEditor.h;
     1343                refType = 0;
     1344        };
     1345        E118554703F27D4A00050002 = {
     1346                isa = PBXFileReference;
     1347                name = MacTypes.h;
     1348                path = /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacTypes.h;
     1349                refType = 0;
     1350        };
     1351        E118554803F27D4A00050002 = {
     1352                isa = PBXFileReference;
     1353                name = CFArray.h;
     1354                path = /System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFArray.h;
     1355                refType = 0;
     1356        };
     1357        E118554903F27D4A00050002 = {
     1358                isa = PBXFileReference;
     1359                name = MacErrors.h;
     1360                path = /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacErrors.h;
     1361                refType = 0;
     1362        };
     1363        E118554A03F27D4A00050002 = {
     1364                isa = PBXFileReference;
     1365                name = APETools.h;
     1366                path = /Library/Frameworks/ApplicationEnhancer.framework/Versions/A/Headers/APETools.h;
     1367                refType = 0;
    5951368        };
    5961369        E120347A03EDEBC100000ABE = {
     
    6141387                vrLoc = 0;
    6151388        };
    616         E120347C03EDEBC100000ABE = {
    617                 fRef = E169DBA103E4EF5E00050002;
    618                 isa = PBXTextBookmark;
    619                 name = "ICeCoffEETextEdit.c: __VERSION__";
    620                 rLen = 0;
    621                 rLoc = 0;
    622                 rType = 0;
    623                 vrLen = 1370;
    624                 vrLoc = 0;
    625         };
    6261389        E120347D03EDEBC100000ABE = {
    6271390                fRef = 089C165DFE840E0CC02AAC07;
     
    6291392                name = "English: 5";
    6301393                rLen = 0;
    631                 rLoc = 147;
     1394                rLoc = 155;
    6321395                rType = 0;
    6331396                vrLen = 230;
     
    6431406                vrLen = 878;
    6441407                vrLoc = 0;
    645         };
    646         E120347F03EDEBC100000ABE = {
    647                 fRef = E165AB3603E7A7FC00050002;
    648                 isa = PBXTextBookmark;
    649                 name = "ICeCoffEEActionMenu.c: ICCF_DoURLActionMenu";
    650                 rLen = 0;
    651                 rLoc = 8192;
    652                 rType = 0;
    653                 vrLen = 1275;
    654                 vrLoc = 8163;
    6551408        };
    6561409        E120348003EDEBC100000ABE = {
     
    6641417                vrLoc = 5828;
    6651418        };
    666         E120348103EDEBC100000ABE = {
    667                 fRef = E1BF15A503DBAA5600050002;
    668                 isa = PBXTextBookmark;
    669                 name = "ui.plist: 41";
    670                 rLen = 0;
    671                 rLoc = 1188;
    672                 rType = 0;
    673                 vrLen = 1038;
    674                 vrLoc = 285;
    675         };
    676         E120348203EDEBC100000ABE = {
    677                 fRef = F56276C20379923401AA4DA5;
    678                 isa = PBXTextBookmark;
    679                 name = "APEInfo.rtfd: 122";
    680                 rLen = 0;
    681                 rLoc = 7755;
    682                 rType = 0;
    683                 vrLen = 1000;
    684                 vrLoc = 12603;
    685         };
    6861419        E120348303EDEBC100000ABE = {
    6871420                fRef = E182C8F603DE817F00050002;
     
    7091442                name = "English: 5";
    7101443                rLen = 0;
    711                 rLoc = 147;
     1444                rLoc = 155;
    7121445                rType = 0;
    7131446                vrLen = 230;
     
    7491482                name = "ICeCoffEEActionMenu.c: mousePoint";
    7501483                rLen = 0;
    751                 rLoc = 8192;
     1484                rLoc = 10386;
    7521485                rType = 0;
    7531486                vrLen = 1513;
     
    7591492                name = "English: 5";
    7601493                rLen = 0;
    761                 rLoc = 147;
     1494                rLoc = 155;
    7621495                rType = 0;
    7631496                vrLen = 230;
     
    7791512                name = "ICeCoffEEActionMenu.c: ICCF_DoURLActionMenu";
    7801513                rLen = 0;
    781                 rLoc = 8192;
     1514                rLoc = 10386;
    7821515                rType = 0;
    7831516                vrLen = 1275;
     
    7931526                vrLen = 1743;
    7941527                vrLoc = 5828;
    795         };
    796         E120348E03EDEBC100000ABE = {
    797                 fRef = E1BF15A503DBAA5600050002;
    798                 isa = PBXTextBookmark;
    799                 name = "ui.plist: 41";
    800                 rLen = 0;
    801                 rLoc = 1188;
    802                 rType = 0;
    803                 vrLen = 1038;
    804                 vrLoc = 285;
    805         };
    806         E120348F03EDEBC100000ABE = {
    807                 fRef = F56276C20379923401AA4DA5;
    808                 isa = PBXTextBookmark;
    809                 name = "APEInfo.rtfd: 19";
    810                 rLen = 0;
    811                 rLoc = 614;
    812                 rType = 0;
    813                 vrLen = 907;
    814                 vrLoc = 0;
    8151528        };
    8161529        E1317A3503DF242100050002 = {
     
    9561669                vrLoc = 2804;
    9571670        };
     1671        E157EE6C03F059E300050002 = {
     1672                fRef = F56276C20379923401AA4DA5;
     1673                isa = PBXTextBookmark;
     1674                name = "APEInfo.rtfd: 19";
     1675                rLen = 0;
     1676                rLoc = 614;
     1677                rType = 0;
     1678                vrLen = 907;
     1679                vrLoc = 0;
     1680        };
     1681        E157EE6D03F059E300050002 = {
     1682                fRef = E135625E03DC9FC200050002;
     1683                isa = PBXTextBookmark;
     1684                name = "ICeCoffEEShared.h: ICCF_DEBUG";
     1685                rLen = 0;
     1686                rLoc = 283;
     1687                rType = 0;
     1688                vrLen = 1001;
     1689                vrLoc = 0;
     1690        };
     1691        E157EE6E03F059E300050002 = {
     1692                fRef = F56276C20379923401AA4DA5;
     1693                isa = PBXTextBookmark;
     1694                name = "APEInfo.rtfd: 246";
     1695                rLen = 0;
     1696                rLoc = 13453;
     1697                rType = 0;
     1698                vrLen = 1267;
     1699                vrLoc = 6919;
     1700        };
     1701        E157EE6F03F059E300050002 = {
     1702                fRef = F9A6986E03BE1DF000AA4DA5;
     1703                isa = PBXTextBookmark;
     1704                name = "APEMain.m: __VERSION__";
     1705                rLen = 0;
     1706                rLoc = 0;
     1707                rType = 0;
     1708                vrLen = 1146;
     1709                vrLoc = 0;
     1710        };
    9581711        E165AB3B03E7B35000050002 = {
    9591712                fRef = E165AB3603E7A7FC00050002;
     
    9611714                name = "ICeCoffEEAppMenu.c: 44";
    9621715                rLen = 0;
    963                 rLoc = 7186;
     1716                rLoc = 9380;
    9641717                rType = 0;
    9651718                vrLen = 1734;
     
    9921745                path = /Applications/TextEdit.app;
    9931746                refType = 0;
     1747        };
     1748        E166E9A903F2F8F100050002 = {
     1749                fRef = F56276C20379923401AA4DA5;
     1750                isa = PBXTextBookmark;
     1751                name = "APEInfo.rtfd: 121";
     1752                rLen = 0;
     1753                rLoc = 7846;
     1754                rType = 0;
     1755                vrLen = 1854;
     1756                vrLoc = 7003;
     1757        };
     1758        E166E9AA03F2F8F100050002 = {
     1759                fRef = E1BB268F03DB74B700050002;
     1760                isa = PBXTextBookmark;
     1761                name = "ICeCoffEEMenuOnly.h: 1";
     1762                rLen = 0;
     1763                rLoc = 0;
     1764                rType = 0;
     1765                vrLen = 256;
     1766                vrLoc = 0;
     1767        };
     1768        E166E9AB03F2F8F100050002 = {
     1769                fRef = E1317B2F03DFC4DE00050002;
     1770                isa = PBXTextBookmark;
     1771                name = "ICeCoffEETerminal.m: __VERSION__";
     1772                rLen = 0;
     1773                rLoc = 0;
     1774                rType = 0;
     1775                vrLen = 1881;
     1776                vrLoc = 44;
     1777        };
     1778        E166E9AC03F2F8F100050002 = {
     1779                isa = PBXTargetBookmark;
     1780                trg = F5CD5E9D02DAE2C901AA4DA5;
     1781                uiCtxt = {
     1782                        TOCViewDetailVisibleRect = "{{0, 0}, {433, 644}}";
     1783                        TOCViewExpandedItems = (
     1784                                "com.apple.target-editor-pane.settings",
     1785                                "com.apple.target-editor-pane.settings.simple",
     1786                                "com.apple.target-editor-pane.info-plist",
     1787                                "com.apple.target-editor-pane.info-plist.simple",
     1788                                "com.apple.target-editor-pane.buildphases",
     1789                        );
     1790                        TOCViewMasterVisibleRect = "{{0, 0}, {170, 644}}";
     1791                        TOCViewSelectedItems = (
     1792                                "com.apple.target-editor-pane.info-plist.simple",
     1793                        );
     1794                };
     1795        };
     1796        E166E9AD03F2F8F100050002 = {
     1797                fRef = E1BF15A503DBAA5600050002;
     1798                isa = PBXTextBookmark;
     1799                name = "ui.plist: 45";
     1800                rLen = 0;
     1801                rLoc = 1300;
     1802                rType = 0;
     1803                vrLen = 1327;
     1804                vrLoc = 0;
     1805        };
     1806        E166E9AE03F2F8F100050002 = {
     1807                fRef = F56276C20379923401AA4DA5;
     1808                isa = PBXTextBookmark;
     1809                name = "APEInfo.rtfd: 121";
     1810                rLen = 0;
     1811                rLoc = 7846;
     1812                rType = 0;
     1813                vrLen = 1854;
     1814                vrLoc = 7003;
     1815        };
     1816        E166E9AF03F2F8F100050002 = {
     1817                fRef = E1BB268F03DB74B700050002;
     1818                isa = PBXTextBookmark;
     1819                name = "ICeCoffEEMenuOnly.h: 1";
     1820                rLen = 0;
     1821                rLoc = 0;
     1822                rType = 0;
     1823                vrLen = 256;
     1824                vrLoc = 0;
     1825        };
     1826        E166E9B003F2F8F100050002 = {
     1827                fRef = E1317B2F03DFC4DE00050002;
     1828                isa = PBXTextBookmark;
     1829                name = "ICeCoffEETerminal.m: __VERSION__";
     1830                rLen = 0;
     1831                rLoc = 0;
     1832                rType = 0;
     1833                vrLen = 1881;
     1834                vrLoc = 44;
     1835        };
     1836        E166E9B103F2F8F100050002 = {
     1837                isa = PBXTargetBookmark;
     1838                trg = F5CD5E9D02DAE2C901AA4DA5;
     1839                uiCtxt = {
     1840                        TOCViewDetailVisibleRect = "{{0, 0}, {433, 644}}";
     1841                        TOCViewExpandedItems = (
     1842                                "com.apple.target-editor-pane.settings",
     1843                                "com.apple.target-editor-pane.settings.simple",
     1844                                "com.apple.target-editor-pane.info-plist",
     1845                                "com.apple.target-editor-pane.info-plist.simple",
     1846                                "com.apple.target-editor-pane.buildphases",
     1847                        );
     1848                        TOCViewMasterVisibleRect = "{{0, 0}, {170, 644}}";
     1849                        TOCViewSelectedItems = (
     1850                                "com.apple.target-editor-pane.info-plist.simple",
     1851                        );
     1852                };
     1853        };
     1854        E166E9B203F2F8F100050002 = {
     1855                fRef = E1BF15A503DBAA5600050002;
     1856                isa = PBXTextBookmark;
     1857                name = "ui.plist: 45";
     1858                rLen = 0;
     1859                rLoc = 1300;
     1860                rType = 0;
     1861                vrLen = 1327;
     1862                vrLoc = 0;
     1863        };
     1864        E166E9B303F2F8F100050002 = {
     1865                fRef = 089C165DFE840E0CC02AAC07;
     1866                isa = PBXTextBookmark;
     1867                name = "English: 5";
     1868                rLen = 0;
     1869                rLoc = 155;
     1870                rType = 0;
     1871                vrLen = 238;
     1872                vrLoc = 0;
    9941873        };
    9951874        E169DBA603E4F62F00050002 = {
     
    10571936                fileReference = E14343B403DB4CF200050002;
    10581937                isa = PBXFileBreakpoint;
    1059                 lineNumber = 148;
     1938                lineNumber = 145;
    10601939                state = 1;
    10611940        };
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE APE.pbproj/project.pbxproj

    r79 r88  
    8888                        children = (
    8989                                F9A6986E03BE1DF000AA4DA5,
     90                                E11854F703F2709E00050002,
    9091                                E169DBA703E4F6A400050002,
    9192                                E14343B303DB4CF200050002,
     
    183184//E13
    184185//E14
     186                E11854F703F2709E00050002 = {
     187                        fileEncoding = 30;
     188                        isa = PBXFileReference;
     189                        path = CPS.h;
     190                        refType = 4;
     191                };
     192                E11854F903F270A700050002 = {
     193                        fileRef = E11854F703F2709E00050002;
     194                        isa = PBXBuildFile;
     195                        settings = {
     196                        };
     197                };
    185198                E1317B2E03DFC4DE00050002 = {
    186199                        fileEncoding = 30;
     
    12141227                                E13762D303EC636D00050002,
    12151228                                E18A7D2703ED3FA400050001,
     1229                                E11854F903F270A700050002,
    12161230                        );
    12171231                        isa = PBXHeadersBuildPhase;
     
    13211335        <string>ICCF</string>
    13221336        <key>CFBundleVersion</key>
    1323         <string>1.3b3</string>
     1337        <string>1.3.1d1</string>
    13241338</dict>
    13251339</plist>
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.m

    r79 r88  
    44/* To do/think about:
    55
    6 - Carbon contextual menu plugin which presents Services (yah!)
    7   for both files and text
    8 - if it's not a URL, try using TextExtras' open list
    96- TXNClick - MLTE has its own support in Jaguar and later, but it's lousy
    107
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEActionMenu.c

    r82 r88  
    1010#include "ICeCoffEEActionMenu.h"
    1111#include "ICeCoffEEConfig.h"
     12#include "ICeCoffEEShared.h"
    1213#include "ICeCoffEEBookmarks.h"
    1314
     
    3233    CFURLRef defaultAppURL; // URL of default app, set to NULL after added to menu
    3334    CFMutableSetRef appPaths;
    34     CFMutableDictionaryRef appNames; // keys: app display names (CFString), values: MenuItemIndex of matching item without path appended, or kICAppMenuItemHasPath if already appended (at least 2 items with this name exist)
     35    CFMutableDictionaryRef appItemTitles; // keys: URLs; values: item titles (CFString)
     36    CFMutableDictionaryRef appURLs; // keys: app display names (CFString), values: URL of item without path appended, or NULL if already appended (at least 2 items with this name exist)
    3537    MenuRef menu;
    3638} icAppMenuContext;
    3739
    38 static OSStatus ICCF_AddAppToMenu(icAppMenuContext *ctx, CFURLRef appURL, MenuCommand menuCommand) {
     40static OSStatus ICCF_AddAppItemTitle(icAppMenuContext *ctx, CFURLRef appURL) {
    3941    CFStringRef appName = NULL, appItemTitle = NULL;
    4042    CFBundleRef appBundle = NULL;
    41     IconRef appIcon = NULL;
    42     FSRef appRef;
    43     SInt16 label;
    44     MenuItemIndex menuItemIndex;
    4543    OSStatus err = noErr;
    4644
     
    4846    // only one entry for each path
    4947    if (CFSetContainsValue(ctx->appPaths, appPath))
    50         return noErr;
     48        return dupFNErr;
    5149    CFSetAddValue(ctx->appPaths, appPath);
    52    
     50
    5351    if ( (err = LSCopyDisplayNameForURL(appURL, &appName)) != noErr)
    5452        return err;
    5553
    56     menuItemIndex = (long)CFDictionaryGetValue(ctx->appNames, appName);
    57     if (menuItemIndex != 0) {
    58         CFURLRef sameAppRef;
    59         if (menuItemIndex != kICAppMenuItemHasPath &&
    60             GetMenuItemRefCon(ctx->menu, menuItemIndex, (void *)&sameAppRef) == noErr) {
    61             CFStringRef sameAppItemTitle = NULL;
    62             if ( (err = CopyMenuItemTextAsCFString(ctx->menu, menuItemIndex, &sameAppItemTitle)) != noErr)
    63                 return err;
    64             CFStringRef appItemTitleWithVersion = ICCF_NameWithLocation(sameAppItemTitle, sameAppRef);
    65             SetMenuItemTextWithCFString(ctx->menu, menuItemIndex, appItemTitleWithVersion);
    66             SAFE_RELEASE(appItemTitleWithVersion);
    67             CFDictionarySetValue(ctx->appNames, appName, (void *)(long)kICAppMenuItemHasPath);
    68         }
     54    // if we encounter multiple applications with the same display name, add locations to the menu item titles to disambiguate them
     55    CFURLRef sameAppURL;
     56    Boolean shouldAppendLocation;
     57    if ( (shouldAppendLocation = CFDictionaryGetValueIfPresent(ctx->appURLs, appName, (const void **)&sameAppURL)) && (CFTypeRef)sameAppURL != kCFNull) {
     58        // this app is the second encountered with the same name; go back and fix the menu item title of the first app
     59        CFStringRef sameAppItemTitle = CFDictionaryGetValue(ctx->appItemTitles, sameAppURL);
     60        CFStringRef appItemTitleWithVersion = ICCF_NameWithLocation(sameAppItemTitle, sameAppURL);
     61        CFDictionarySetValue(ctx->appItemTitles, sameAppURL, appItemTitleWithVersion);
     62        SAFE_RELEASE(appItemTitleWithVersion);
     63        CFDictionarySetValue(ctx->appURLs, appName, kCFNull);
    6964    }
    7065
     
    8479    }
    8580
    86     if (menuItemIndex != 0) {
     81    if (shouldAppendLocation) {
    8782        CFStringRef appItemTitleWithVersion = ICCF_NameWithLocation(appItemTitle, appURL);
    8883        CFRelease(appItemTitle);
    8984        appItemTitle = appItemTitleWithVersion;
     85    } else {
     86        CFDictionarySetValue(ctx->appURLs, appName, appURL);
    9087    }
    9188
     
    9592        CFRelease(appItemTitle);
    9693        appItemTitle = appItemTitleWithDefault;
    97         ctx->defaultAppURL = NULL;
    98     }
    99 
     94        ctx->defaultAppURL = NULL; // mark as added
     95    }
     96
     97    CFDictionarySetValue(ctx->appItemTitles, appURL, appItemTitle);
     98    CFRelease(appItemTitle);
     99
     100    return noErr;
     101}
     102
     103static OSStatus ICCF_AddTitledAppToMenu(icAppMenuContext *ctx, CFURLRef appURL, MenuCommand menuCommand) {
     104    CFStringRef appItemTitle = NULL;
     105    IconRef appIcon = NULL;
     106    FSRef appFSR;
     107    SInt16 label;
     108    MenuItemIndex menuItemIndex;
     109    OSStatus err = noErr;
     110
     111    appItemTitle = CFDictionaryGetValue(ctx->appItemTitles, appURL);
     112    if (appItemTitle == NULL) return fnfErr;
     113   
    100114    err = AppendMenuItemTextWithCFString(ctx->menu, appItemTitle, 0, 0, &menuItemIndex);
    101     CFRelease(appItemTitle);
    102115    if (err != noErr) return err;
    103116
    104     if (!CFDictionaryContainsKey(ctx->appNames, appName)) {
    105         CFDictionarySetValue(ctx->appNames, appName, (void *)(long)menuItemIndex);
    106         CFRelease(appName);
    107     }
    108 
    109     if (!CFURLGetFSRef(appURL, &appRef)) return paramErr;
    110     err = GetIconRefFromFileInfo(&appRef, 0, NULL, kFSCatInfoNone, NULL, kIconServicesNormalUsageFlag, &appIcon, &label);
     117    if (!CFURLGetFSRef(appURL, &appFSR)) return paramErr;
     118    err = GetIconRefFromFileInfo(&appFSR, 0, NULL, kFSCatInfoNone, NULL, kIconServicesNormalUsageFlag, &appIcon, &label);
    111119    if (err != noErr) return err;
    112120
     
    119127}
    120128
     129static OSStatus ICCF_AddAppToMenu(icAppMenuContext *ctx, CFURLRef appURL, MenuCommand menuCommand) {
     130    OSStatus err = ICCF_AddAppItemTitle(ctx, appURL);
     131    switch (err) {
     132        case noErr: break;
     133        case dupFNErr: return noErr;
     134        default: return err;
     135    }
     136    return ICCF_AddTitledAppToMenu(ctx, appURL, menuCommand);
     137}   
     138
     139CFComparisonResult ICCF_CompareURLsByItemTitle(const void *url1, const void *url2, void *appItemTitles) {
     140    CFStringRef appItemTitle1 = CFDictionaryGetValue((CFDictionaryRef)appItemTitles, (CFURLRef)url1);
     141    CFStringRef appItemTitle2 = CFDictionaryGetValue((CFDictionaryRef)appItemTitles, (CFURLRef)url2);
     142    return CFStringCompareWithOptions(appItemTitle1, appItemTitle2,
     143                                      CFRangeMake(0, CFStringGetLength(appItemTitle1)),
     144                                      kCFCompareCaseInsensitive | kCFCompareNumerically);
     145}
     146
    121147enum {
    122148    kICURLActionOpenWith = 'OpnW',
     
    127153    Handle h = NewHandle(0);
    128154    CFURLRef url = NULL;
    129     CFArrayRef appURLs = NULL; // matching app URLs
     155    CFArrayRef appURLsUnsorted = NULL; // matching app URLs
     156    CFMutableArrayRef appURLs = NULL; // matching app URLs sorted by item title
    130157    CFArrayRef urlArray = NULL; // single-URL array
    131158    icAppMenuContext ctx = {NULL, NULL, NULL, NULL};
     
    140167                                     NULL)) == NULL) THROW_ERR(paramErr);
    141168
     169    if ( (err = _LSCopyApplicationURLsForItemURL(url, kLSRolesAll, &appURLsUnsorted)) != noErr)
     170        THROW_ERR(err);
     171
    142172    CFIndex appCount = 0;
    143     if ( (err = _LSCopyApplicationURLsForItemURL(url, kLSRolesAll, &appURLs)) != noErr)
    144         THROW_ERR(err);
    145    
    146     if (appURLs == NULL || (appCount = CFArrayGetCount(appURLs)) == 0)
     173    if (appURLsUnsorted == NULL || (appCount = CFArrayGetCount(appURLsUnsorted)) == 0)
    147174        THROW_ERR(kLSApplicationNotFoundErr);
    148175
     176    if ( (appURLs = CFArrayCreateMutableCopy(NULL, appCount, appURLsUnsorted)) == NULL)
     177        THROW_ERR(memFullErr);
     178
    149179    if ( (ctx.appPaths = CFSetCreateMutable(NULL, appCount, &kCFCopyStringSetCallBacks)) == NULL)
    150180        THROW_ERR(memFullErr);
    151181
    152     // values: index of single item with name; 0/NULL if no name; kICAppMenuItemHasPath if multiple items have name
    153     if ( (ctx.appNames = CFDictionaryCreateMutable(NULL, appCount, &kCFCopyStringDictionaryKeyCallBacks, NULL)) == NULL)
    154         THROW_ERR(memFullErr);
    155 
     182    if ( (ctx.appItemTitles = CFDictionaryCreateMutable(NULL, appCount, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)) == NULL)
     183        THROW_ERR(memFullErr);
     184
     185    if ( (ctx.appURLs = CFDictionaryCreateMutable(NULL, appCount, &kCFCopyStringDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)) == NULL)
     186        THROW_ERR(memFullErr);
     187
     188    LSGetApplicationForURL(url, kLSRolesAll, NULL, &ctx.defaultAppURL);
     189
     190    CFIndex appIndex;
     191    CFURLRef appURL;
     192    for (appIndex = 0 ; appIndex < appCount ; appIndex++) {
     193        appURL = CFArrayGetValueAtIndex(appURLs, appIndex);
     194        err = ICCF_AddAppItemTitle(&ctx, appURL);
     195        switch (err) {
     196            case noErr: break;
     197            case dupFNErr:
     198                CFArrayRemoveValueAtIndex(appURLs, appIndex);
     199                appIndex--;
     200                appCount--;
     201                break;
     202            default:
     203                THROW_ERR(err);
     204        }
     205    }
     206
     207    CFArraySortValues(appURLs, CFRangeMake(0, appCount), ICCF_CompareURLsByItemTitle, ctx.appItemTitles);
     208   
    156209    if ( (err = CreateNewMenu(0, kMenuAttrExcludesMarkColumn, &ctx.menu)) != noErr)
    157210        THROW_ERR(err);
     
    164217        THROW_ERR(memFullErr);
    165218
    166     LSGetApplicationForURL(url, kLSRolesAll, NULL, &ctx.defaultAppURL);
    167 
    168     CFIndex appIndex;
    169     CFURLRef appURL;
    170 
    171219    for (appIndex = 0 ; appIndex < appCount ; appIndex++) {
    172220        appURL = CFArrayGetValueAtIndex(appURLs, appIndex);
    173221
    174         if ( (err = ICCF_AddAppToMenu(&ctx, appURL, kICURLActionOpenWith)) != noErr)
     222        if ( (err = ICCF_AddTitledAppToMenu(&ctx, appURL, kICURLActionOpenWith)) != noErr)
    175223            THROW_ERR(err);
    176224    }
     
    223271    SAFE_RELEASE(url);
    224272    SAFE_RELEASE(urlArray);
     273    SAFE_RELEASE(appURLsUnsorted);
    225274    SAFE_RELEASE(appURLs);
    226     SAFE_RELEASE(ctx.appNames);
    227275    SAFE_RELEASE(ctx.appPaths);
     276    SAFE_RELEASE(ctx.appItemTitles);
     277    SAFE_RELEASE(ctx.appURLs);
    228278   
    229279    return err;
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEShared.h

    r79 r88  
    1313#include <CoreFoundation/CoreFoundation.h>
    1414
    15 #define ICCF_DEBUG 0
     15#define ICCF_DEBUG 1
    1616
    1717#if ICCF_DEBUG
  • trunk/ICeCoffEE/ICeCoffEE/Installer components/ui/ui.plist

    r82 r88  
    4343        <string>Preference Pane</string>
    4444        <key>ProductVersion</key>
    45         <string>1.3</string>
     45        <string>1.3.1d1</string>
    4646</dict>
    4747</plist>
  • trunk/ICeCoffEE/ICeCoffEE/VERSION

    r82 r88  
    1 1.3
     11.3.1d1
Note: See TracChangeset for help on using the changeset viewer.