Changeset 2763


Ignore:
Timestamp:
Aug 15, 2007, 3:12:54 AM (15 years ago)
Author:
livings124
Message:

get mac version building again

Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Transmission.xcodeproj/project.pbxproj

    r2761 r2763  
    122122                A2F6DB090A55F31C0058D1E5 /* SpeedLimitButton.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F6DB070A55F31C0058D1E5 /* SpeedLimitButton.png */; };
    123123                A2FB057F0BFEB6800095564D /* DragOverlayView.m in Sources */ = {isa = PBXBuildFile; fileRef = A2FB057D0BFEB6800095564D /* DragOverlayView.m */; };
     124                BE75C3650C72A0EF00DBEFE0 /* kqueue.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C3580C72A0EF00DBEFE0 /* kqueue.c */; };
     125                BE75C3660C72A0EF00DBEFE0 /* signal.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C3590C72A0EF00DBEFE0 /* signal.c */; };
     126                BE75C3670C72A0EF00DBEFE0 /* buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C35A0C72A0EF00DBEFE0 /* buffer.c */; };
     127                BE75C3680C72A0EF00DBEFE0 /* log.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C35B0C72A0EF00DBEFE0 /* log.c */; };
     128                BE75C3690C72A0EF00DBEFE0 /* strlcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C35C0C72A0EF00DBEFE0 /* strlcpy.c */; };
     129                BE75C36A0C72A0EF00DBEFE0 /* evbuffer.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C35D0C72A0EF00DBEFE0 /* evbuffer.c */; };
     130                BE75C36B0C72A0EF00DBEFE0 /* event.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C35E0C72A0EF00DBEFE0 /* event.c */; };
     131                BE75C36C0C72A0EF00DBEFE0 /* http.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C35F0C72A0EF00DBEFE0 /* http.c */; };
     132                BE75C36D0C72A0EF00DBEFE0 /* event_tagging.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C3600C72A0EF00DBEFE0 /* event_tagging.c */; };
     133                BE75C36E0C72A0EF00DBEFE0 /* evrpc.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C3610C72A0EF00DBEFE0 /* evrpc.c */; };
     134                BE75C36F0C72A0EF00DBEFE0 /* evdns.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C3620C72A0EF00DBEFE0 /* evdns.c */; };
     135                BE75C3700C72A0EF00DBEFE0 /* poll.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C3630C72A0EF00DBEFE0 /* poll.c */; };
     136                BE75C3710C72A0EF00DBEFE0 /* select.c in Sources */ = {isa = PBXBuildFile; fileRef = BE75C3640C72A0EF00DBEFE0 /* select.c */; };
     137                BE75C38A0C72A1ED00DBEFE0 /* libevent.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BE75C3490C729E9500DBEFE0 /* libevent.a */; };
    124138                BEFC1C040C07753100B0BB3C /* libcrypto.0.9.7.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4D2617F709DECE3D00D08EFA /* libcrypto.0.9.7.dylib */; };
    125139                BEFC1C050C07753500B0BB3C /* libtransmission.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4D18389709DEC0030047D688 /* libtransmission.a */; };
     
    129143                BEFC1C1F0C07756200B0BB3C /* server.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1C150C07756200B0BB3C /* server.c */; };
    130144                BEFC1C200C07756200B0BB3C /* torrents.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1C170C07756200B0BB3C /* torrents.c */; };
    131                 BEFC1C490C07796B00B0BB3C /* libevent.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEFC1C480C07796B00B0BB3C /* libevent.a */; };
    132145                BEFC1CEF0C07822400B0BB3C /* errors.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1C0F0C07756200B0BB3C /* errors.c */; };
    133146                BEFC1CF40C07822400B0BB3C /* libcrypto.0.9.7.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4D2617F709DECE3D00D08EFA /* libcrypto.0.9.7.dylib */; };
     
    137150                BEFC1D230C07839E00B0BB3C /* client.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1C0C0C07756200B0BB3C /* client.c */; };
    138151                BEFC1D2D0C0783D900B0BB3C /* libtransmission.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4D18389709DEC0030047D688 /* libtransmission.a */; };
    139                 BEFC1D2F0C0783E200B0BB3C /* libevent.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEFC1C480C07796B00B0BB3C /* libevent.a */; };
    140152                BEFC1D3E0C0783EE00B0BB3C /* libcrypto.0.9.7.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4D2617F709DECE3D00D08EFA /* libcrypto.0.9.7.dylib */; };
    141153                BEFC1D3F0C0783EE00B0BB3C /* libtransmission.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4D18389709DEC0030047D688 /* libtransmission.a */; };
     
    143155                BEFC1D4F0C07843400B0BB3C /* misc.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1C110C07756200B0BB3C /* misc.c */; };
    144156                BEFC1D540C07843900B0BB3C /* errors.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1C0F0C07756200B0BB3C /* errors.c */; };
    145                 BEFC1D5A0C07844500B0BB3C /* libevent.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEFC1C480C07796B00B0BB3C /* libevent.a */; };
    146157                BEFC1E270C07861A00B0BB3C /* xml.h in Headers */ = {isa = PBXBuildFile; fileRef = BEFC1DEE0C07861A00B0BB3C /* xml.h */; };
    147158                BEFC1E280C07861A00B0BB3C /* xml.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1DEF0C07861A00B0BB3C /* xml.c */; };
     
    221232                        remoteGlobalIDString = 4D18389609DEC0030047D688;
    222233                        remoteInfo = libtransmission;
     234                };
     235                BE75C34E0C729ED300DBEFE0 /* PBXContainerItemProxy */ = {
     236                        isa = PBXContainerItemProxy;
     237                        containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
     238                        proxyType = 1;
     239                        remoteGlobalIDString = BE75C3480C729E9500DBEFE0;
     240                        remoteInfo = event;
    223241                };
    224242                BEFC1C020C07751A00B0BB3C /* PBXContainerItemProxy */ = {
     
    463481                A2FB057D0BFEB6800095564D /* DragOverlayView.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = DragOverlayView.m; path = macosx/DragOverlayView.m; sourceTree = "<group>"; };
    464482                A2FB06950BFF484A0095564D /* Globe.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Globe.png; path = macosx/Images/Globe.png; sourceTree = "<group>"; };
     483                BE75C3490C729E9500DBEFE0 /* libevent.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libevent.a; sourceTree = BUILT_PRODUCTS_DIR; };
     484                BE75C3580C72A0EF00DBEFE0 /* kqueue.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = kqueue.c; path = "third-party/libevent/kqueue.c"; sourceTree = "<group>"; };
     485                BE75C3590C72A0EF00DBEFE0 /* signal.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = signal.c; path = "third-party/libevent/signal.c"; sourceTree = "<group>"; };
     486                BE75C35A0C72A0EF00DBEFE0 /* buffer.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = buffer.c; path = "third-party/libevent/buffer.c"; sourceTree = "<group>"; };
     487                BE75C35B0C72A0EF00DBEFE0 /* log.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = log.c; path = "third-party/libevent/log.c"; sourceTree = "<group>"; };
     488                BE75C35C0C72A0EF00DBEFE0 /* strlcpy.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = strlcpy.c; path = "third-party/libevent/strlcpy.c"; sourceTree = "<group>"; };
     489                BE75C35D0C72A0EF00DBEFE0 /* evbuffer.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = evbuffer.c; path = "third-party/libevent/evbuffer.c"; sourceTree = "<group>"; };
     490                BE75C35E0C72A0EF00DBEFE0 /* event.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = event.c; path = "third-party/libevent/event.c"; sourceTree = "<group>"; };
     491                BE75C35F0C72A0EF00DBEFE0 /* http.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = http.c; path = "third-party/libevent/http.c"; sourceTree = "<group>"; };
     492                BE75C3600C72A0EF00DBEFE0 /* event_tagging.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = event_tagging.c; path = "third-party/libevent/event_tagging.c"; sourceTree = "<group>"; };
     493                BE75C3610C72A0EF00DBEFE0 /* evrpc.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = evrpc.c; path = "third-party/libevent/evrpc.c"; sourceTree = "<group>"; };
     494                BE75C3620C72A0EF00DBEFE0 /* evdns.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = evdns.c; path = "third-party/libevent/evdns.c"; sourceTree = "<group>"; };
     495                BE75C3630C72A0EF00DBEFE0 /* poll.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = poll.c; path = "third-party/libevent/poll.c"; sourceTree = "<group>"; };
     496                BE75C3640C72A0EF00DBEFE0 /* select.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = select.c; path = "third-party/libevent/select.c"; sourceTree = "<group>"; };
     497                BE75C3810C72A1C100DBEFE0 /* evhttp.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = evhttp.h; path = "third-party/libevent/evhttp.h"; sourceTree = "<group>"; };
     498                BE75C3820C72A1C100DBEFE0 /* evdns.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = evdns.h; path = "third-party/libevent/evdns.h"; sourceTree = "<group>"; };
     499                BE75C3830C72A1C100DBEFE0 /* evrpc.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = evrpc.h; path = "third-party/libevent/evrpc.h"; sourceTree = "<group>"; };
     500                BE75C3840C72A1C100DBEFE0 /* event.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = event.h; path = "third-party/libevent/event.h"; sourceTree = "<group>"; };
    465501                BEFC1C000C07750000B0BB3C /* transmission-daemon */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "transmission-daemon"; sourceTree = BUILT_PRODUCTS_DIR; };
    466502                BEFC1C0C0C07756200B0BB3C /* client.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = client.c; path = daemon/client.c; sourceTree = "<group>"; };
     
    477513                BEFC1C170C07756200B0BB3C /* torrents.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = torrents.c; path = daemon/torrents.c; sourceTree = "<group>"; };
    478514                BEFC1C180C07756200B0BB3C /* torrents.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = torrents.h; path = daemon/torrents.h; sourceTree = "<group>"; };
    479                 BEFC1C480C07796B00B0BB3C /* libevent.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libevent.a; path = libevent/libevent.a; sourceTree = "<group>"; };
    480515                BEFC1CF90C07822400B0BB3C /* transmission-remote */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "transmission-remote"; sourceTree = BUILT_PRODUCTS_DIR; };
    481516                BEFC1D430C0783EE00B0BB3C /* transmission-proxy */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "transmission-proxy"; sourceTree = BUILT_PRODUCTS_DIR; };
     
    537572                BEFC1E250C07861A00B0BB3C /* bsdqueue.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = bsdqueue.h; path = libtransmission/bsdqueue.h; sourceTree = "<group>"; };
    538573                BEFC1E260C07861A00B0BB3C /* trcompat.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = trcompat.h; path = libtransmission/trcompat.h; sourceTree = "<group>"; };
    539                 BEFC1EEB0C0790CA00B0BB3C /* event.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = event.h; path = libevent/event.h; sourceTree = "<group>"; };
    540574                D4AF3B2D0C41F7A500D46B6B /* list.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = list.c; path = libtransmission/list.c; sourceTree = "<group>"; };
    541575                D4AF3B2E0C41F7A500D46B6B /* list.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = list.h; path = libtransmission/list.h; sourceTree = "<group>"; };
     
    569603                        runOnlyForDeploymentPostprocessing = 0;
    570604                };
     605                BE75C3470C729E9500DBEFE0 /* Frameworks */ = {
     606                        isa = PBXFrameworksBuildPhase;
     607                        buildActionMask = 2147483647;
     608                        files = (
     609                        );
     610                        runOnlyForDeploymentPostprocessing = 0;
     611                };
     612                BE75C3860C72A1D300DBEFE0 /* Frameworks */ = {
     613                        isa = PBXFrameworksBuildPhase;
     614                        buildActionMask = 2147483647;
     615                        files = (
     616                                BE75C38A0C72A1ED00DBEFE0 /* libevent.a in Frameworks */,
     617                        );
     618                        runOnlyForDeploymentPostprocessing = 0;
     619                };
    571620                BEFC1BFE0C07750000B0BB3C /* Frameworks */ = {
    572621                        isa = PBXFrameworksBuildPhase;
     
    575624                                BEFC1C040C07753100B0BB3C /* libcrypto.0.9.7.dylib in Frameworks */,
    576625                                BEFC1C050C07753500B0BB3C /* libtransmission.a in Frameworks */,
    577                                 BEFC1C490C07796B00B0BB3C /* libevent.a in Frameworks */,
    578626                        );
    579627                        runOnlyForDeploymentPostprocessing = 0;
     
    585633                                BEFC1CF40C07822400B0BB3C /* libcrypto.0.9.7.dylib in Frameworks */,
    586634                                BEFC1D2D0C0783D900B0BB3C /* libtransmission.a in Frameworks */,
    587                                 BEFC1D2F0C0783E200B0BB3C /* libevent.a in Frameworks */,
    588635                        );
    589636                        runOnlyForDeploymentPostprocessing = 0;
     
    595642                                BEFC1D3E0C0783EE00B0BB3C /* libcrypto.0.9.7.dylib in Frameworks */,
    596643                                BEFC1D3F0C0783EE00B0BB3C /* libtransmission.a in Frameworks */,
    597                                 BEFC1D5A0C07844500B0BB3C /* libevent.a in Frameworks */,
    598644                        );
    599645                        runOnlyForDeploymentPostprocessing = 0;
     
    665711                                BEFC1CF90C07822400B0BB3C /* transmission-remote */,
    666712                                BEFC1D430C0783EE00B0BB3C /* transmission-proxy */,
     713                                BE75C3490C729E9500DBEFE0 /* libevent.a */,
    667714                        );
    668715                        name = Products;
     
    677724                                4DDBB70A09E16B3200284745 /* GUI */,
    678725                                4DDBB71509E16B3F00284745 /* Libraries */,
     726                                BE75C3570C72A0D600DBEFE0 /* libevent */,
    679727                                19C28FACFE9D520D11CA2CBB /* Products */,
    680728                        );
     
    852900                        isa = PBXGroup;
    853901                        children = (
    854                                 BEFC1EEB0C0790CA00B0BB3C /* event.h */,
    855                                 BEFC1C480C07796B00B0BB3C /* libevent.a */,
    856902                                4D2617F709DECE3D00D08EFA /* libcrypto.0.9.7.dylib */,
    857903                        );
     
    865911                        );
    866912                        name = CLI;
     913                        sourceTree = "<group>";
     914                };
     915                BE75C3570C72A0D600DBEFE0 /* libevent */ = {
     916                        isa = PBXGroup;
     917                        children = (
     918                                BE75C3810C72A1C100DBEFE0 /* evhttp.h */,
     919                                BE75C3820C72A1C100DBEFE0 /* evdns.h */,
     920                                BE75C3830C72A1C100DBEFE0 /* evrpc.h */,
     921                                BE75C3840C72A1C100DBEFE0 /* event.h */,
     922                                BE75C3580C72A0EF00DBEFE0 /* kqueue.c */,
     923                                BE75C3590C72A0EF00DBEFE0 /* signal.c */,
     924                                BE75C35A0C72A0EF00DBEFE0 /* buffer.c */,
     925                                BE75C35B0C72A0EF00DBEFE0 /* log.c */,
     926                                BE75C35C0C72A0EF00DBEFE0 /* strlcpy.c */,
     927                                BE75C35D0C72A0EF00DBEFE0 /* evbuffer.c */,
     928                                BE75C35E0C72A0EF00DBEFE0 /* event.c */,
     929                                BE75C35F0C72A0EF00DBEFE0 /* http.c */,
     930                                BE75C3600C72A0EF00DBEFE0 /* event_tagging.c */,
     931                                BE75C3610C72A0EF00DBEFE0 /* evrpc.c */,
     932                                BE75C3620C72A0EF00DBEFE0 /* evdns.c */,
     933                                BE75C3630C72A0EF00DBEFE0 /* poll.c */,
     934                                BE75C3640C72A0EF00DBEFE0 /* select.c */,
     935                        );
     936                        name = libevent;
    867937                        sourceTree = "<group>";
    868938                };
     
    10041074                        runOnlyForDeploymentPostprocessing = 0;
    10051075                };
     1076                BE75C3450C729E9500DBEFE0 /* Headers */ = {
     1077                        isa = PBXHeadersBuildPhase;
     1078                        buildActionMask = 2147483647;
     1079                        files = (
     1080                        );
     1081                        runOnlyForDeploymentPostprocessing = 0;
     1082                };
    10061083/* End PBXHeadersBuildPhase section */
    10071084
     
    10151092                                4D18389409DEC0030047D688 /* Sources */,
    10161093                                BEFC1CA00C077F1200B0BB3C /* Resources */,
     1094                                BE75C3860C72A1D300DBEFE0 /* Frameworks */,
    10171095                        );
    10181096                        buildRules = (
    10191097                        );
    10201098                        dependencies = (
     1099                                BE75C34F0C729ED300DBEFE0 /* PBXTargetDependency */,
    10211100                        );
    10221101                        name = libtransmission;
     
    10611140                        productReference = 8D1107320486CEB800E47090 /* Transmission.app */;
    10621141                        productType = "com.apple.product-type.application";
     1142                };
     1143                BE75C3480C729E9500DBEFE0 /* event */ = {
     1144                        isa = PBXNativeTarget;
     1145                        buildConfigurationList = BE75C34A0C729EB600DBEFE0 /* Build configuration list for PBXNativeTarget "event" */;
     1146                        buildPhases = (
     1147                                BE75C3510C729EE100DBEFE0 /* ShellScript */,
     1148                                BE75C3450C729E9500DBEFE0 /* Headers */,
     1149                                BE75C3460C729E9500DBEFE0 /* Sources */,
     1150                                BE75C3470C729E9500DBEFE0 /* Frameworks */,
     1151                        );
     1152                        buildRules = (
     1153                        );
     1154                        dependencies = (
     1155                        );
     1156                        name = event;
     1157                        productName = event;
     1158                        productReference = BE75C3490C729E9500DBEFE0 /* libevent.a */;
     1159                        productType = "com.apple.product-type.library.static";
    10631160                };
    10641161                BEFC1BFF0C07750000B0BB3C /* transmission-daemon */ = {
     
    11411238                                BEFC1CEA0C07822400B0BB3C /* transmission-remote */,
    11421239                                BEFC1D340C0783EE00B0BB3C /* transmission-proxy */,
     1240                                BE75C3480C729E9500DBEFE0 /* event */,
    11431241                        );
    11441242                };
     
    12391337                        shellScript = "sh version.sh";
    12401338                };
     1339                BE75C3510C729EE100DBEFE0 /* ShellScript */ = {
     1340                        isa = PBXShellScriptBuildPhase;
     1341                        buildActionMask = 2147483647;
     1342                        files = (
     1343                        );
     1344                        inputPaths = (
     1345                        );
     1346                        outputPaths = (
     1347                        );
     1348                        runOnlyForDeploymentPostprocessing = 0;
     1349                        shellPath = /bin/bash;
     1350                        shellScript = "if [ ! ./third-party/macosx-libevent-config.h -ef ./third-party/libevent/config.h ]; then\nln -s ../macosx-libevent-config.h ./third-party/libevent/config.h\nfi";
     1351                };
    12411352/* End PBXShellScriptBuildPhase section */
    12421353
     
    13301441                        runOnlyForDeploymentPostprocessing = 0;
    13311442                };
     1443                BE75C3460C729E9500DBEFE0 /* Sources */ = {
     1444                        isa = PBXSourcesBuildPhase;
     1445                        buildActionMask = 2147483647;
     1446                        files = (
     1447                                BE75C3650C72A0EF00DBEFE0 /* kqueue.c in Sources */,
     1448                                BE75C3660C72A0EF00DBEFE0 /* signal.c in Sources */,
     1449                                BE75C3670C72A0EF00DBEFE0 /* buffer.c in Sources */,
     1450                                BE75C3680C72A0EF00DBEFE0 /* log.c in Sources */,
     1451                                BE75C3690C72A0EF00DBEFE0 /* strlcpy.c in Sources */,
     1452                                BE75C36A0C72A0EF00DBEFE0 /* evbuffer.c in Sources */,
     1453                                BE75C36B0C72A0EF00DBEFE0 /* event.c in Sources */,
     1454                                BE75C36C0C72A0EF00DBEFE0 /* http.c in Sources */,
     1455                                BE75C36D0C72A0EF00DBEFE0 /* event_tagging.c in Sources */,
     1456                                BE75C36E0C72A0EF00DBEFE0 /* evrpc.c in Sources */,
     1457                                BE75C36F0C72A0EF00DBEFE0 /* evdns.c in Sources */,
     1458                                BE75C3700C72A0EF00DBEFE0 /* poll.c in Sources */,
     1459                                BE75C3710C72A0EF00DBEFE0 /* select.c in Sources */,
     1460                        );
     1461                        runOnlyForDeploymentPostprocessing = 0;
     1462                };
    13321463                BEFC1BFD0C07750000B0BB3C /* Sources */ = {
    13331464                        isa = PBXSourcesBuildPhase;
     
    13761507                        target = 4D18389609DEC0030047D688 /* libtransmission */;
    13771508                        targetProxy = 4D9A2BF409E16D30002D0FF9 /* PBXContainerItemProxy */;
     1509                };
     1510                BE75C34F0C729ED300DBEFE0 /* PBXTargetDependency */ = {
     1511                        isa = PBXTargetDependency;
     1512                        target = BE75C3480C729E9500DBEFE0 /* event */;
     1513                        targetProxy = BE75C34E0C729ED300DBEFE0 /* PBXContainerItemProxy */;
    13781514                };
    13791515                BEFC1C030C07751A00B0BB3C /* PBXTargetDependency */ = {
     
    16031739                                PREBINDING = NO;
    16041740                                SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
     1741                                ZERO_LINK = NO;
     1742                        };
     1743                        name = Debug;
     1744                };
     1745                BE75C34B0C729EB600DBEFE0 /* Debug */ = {
     1746                        isa = XCBuildConfiguration;
     1747                        buildSettings = {
     1748                                COPY_PHASE_STRIP = NO;
     1749                                GCC_DYNAMIC_NO_PIC = NO;
     1750                                GCC_ENABLE_FIX_AND_CONTINUE = YES;
     1751                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
     1752                                GCC_MODEL_TUNING = G5;
     1753                                GCC_OPTIMIZATION_LEVEL = 0;
     1754                                INSTALL_PATH = /usr/local/lib;
     1755                                OTHER_CFLAGS = "-DHAVE_CONFIG_H";
     1756                                PREBINDING = NO;
     1757                                PRODUCT_NAME = event;
     1758                                USER_HEADER_SEARCH_PATHS = "./third-party/libevent ./third-party/libevent/compat";
    16051759                                ZERO_LINK = NO;
    16061760                        };
     
    17341888                        defaultConfigurationName = Debug;
    17351889                };
     1890                BE75C34A0C729EB600DBEFE0 /* Build configuration list for PBXNativeTarget "event" */ = {
     1891                        isa = XCConfigurationList;
     1892                        buildConfigurations = (
     1893                                BE75C34B0C729EB600DBEFE0 /* Debug */,
     1894                        );
     1895                        defaultConfigurationIsVisible = 0;
     1896                        defaultConfigurationName = Debug;
     1897                };
    17361898                BEFC1C090C07753800B0BB3C /* Build configuration list for PBXNativeTarget "transmission-daemon" */ = {
    17371899                        isa = XCConfigurationList;
  • trunk/macosx/FileNameCell.m

    r2761 r2763  
    3636@interface FileNameCell (Private)
    3737
     38- (NSRect) rectForTitleWithString: (NSAttributedString *) string inBounds: (NSRect) bounds;
     39- (NSRect) rectForStatusWithString: (NSAttributedString *) string inBounds: (NSRect) bounds;
     40
    3841- (NSAttributedString *) attributedTitleWithColor: (NSColor *) color;
    3942- (NSAttributedString *) attributedStatusWithColor: (NSColor *) color;
     
    7376- (NSRect) titleRectForBounds: (NSRect) bounds
    7477{
    75     NSAttributedString * title = [self attributedTitleWithColor: nil];
    76     NSSize titleSize = [title size];
     78    return [self rectForTitleWithString: [self attributedTitleWithColor: nil] inBounds: bounds];
     79}
     80
     81- (NSRect) statusRectForBounds: (NSRect) bounds
     82{
     83    return [self rectForStatusWithString: [self attributedStatusWithColor: nil] inBounds: bounds];
     84}
     85
     86- (void) drawWithFrame: (NSRect) cellFrame inView: (NSView *) controlView
     87{
     88    //icon
     89    [[self image] drawInRect: [self imageRectForBounds: cellFrame] fromRect: NSZeroRect operation: NSCompositeSourceOver
     90                    fraction: 1.0];
     91   
     92    BOOL highlighted = [self isHighlighted] && [[self highlightColorWithFrame: cellFrame inView: controlView]
     93                                                isEqual: [NSColor alternateSelectedControlColor]];
     94   
     95    //title
     96    NSAttributedString * titleString = [self attributedTitleWithColor: highlighted ? [NSColor whiteColor]
     97                                                                                    : [NSColor controlTextColor];
     98    NSRect titleRect = [self rectForTitleWithString: titleString inBounds: cellFrame];
     99    [titleString drawInRect: titleRect];
     100   
     101    //status
     102    if ([[[self objectValue] objectForKey: @"IsFolder"] boolValue])
     103    {
     104        NSAttributedString * statusString = [self attributedStatusWithColor: highlighted ? [NSColor whiteColor]
     105                                                                                        : [NSColor darkGrayColor];
     106        NSRect statusRect = [self rectForStatusWithString: statusString inBounds: cellFrame];
     107        [statusString drawInRect: statusRect];
     108    }
     109}
     110
     111@end
     112
     113@implementation FileNameCell (Private)
     114
     115- (NSRect) rectForTitleWithString: (NSAttributedString *) string inBounds: (NSRect) bounds
     116{
     117    NSSize titleSize = [string size];
    77118   
    78119    NSRect result = bounds;
     
    94135}
    95136
    96 - (NSRect) statusRectForBounds: (NSRect) bounds
     137- (NSRect) rectForStatusWithString: (NSAttributedString *) string inBounds: (NSRect) bounds
    97138{
    98139    if ([[[self objectValue] objectForKey: @"IsFolder"] boolValue])
    99140        return NSZeroRect;
    100141   
    101     NSAttributedString * status = [self attributedStatusWithColor: nil];
    102     NSSize statusSize = [status size];
     142    NSSize statusSize = [string size];
    103143   
    104144    NSRect result = bounds;
     
    112152    return result;
    113153}
    114 
    115 - (void) drawWithFrame: (NSRect) cellFrame inView: (NSView *) controlView
    116 {
    117     //icon
    118     NSImage * icon = [self image];
    119     NSSize iconSize = [icon size];
    120     [icon drawInRect: [self imageRectForBounds: cellFrame] fromRect: NSMakeRect(0, 0, iconSize.width, iconSize.height)
    121             operation: NSCompositeSourceOver fraction: 1.0];
    122    
    123     //title
    124     BOOL highlighted = [self isHighlighted] && [[self highlightColorWithFrame: cellFrame inView: controlView]
    125                                                 isEqual: [NSColor alternateSelectedControlColor]];
    126    
    127     #warning mimic torrent cell
    128     [[self attributedTitleWithColor: highlighted ? [NSColor whiteColor] : [NSColor controlTextColor]]
    129         drawInRect: [self titleRectForBounds: cellFrame]];
    130    
    131     //status
    132     NSRect statusRect = [self statusRectForBounds: cellFrame];
    133     if (!NSEqualRects(statusRect, NSZeroRect))
    134         [[self attributedStatusWithColor: highlighted ? [NSColor whiteColor] : [NSColor darkGrayColor]] drawInRect: statusRect];
    135 }
    136 
    137 @end
    138 
    139 @implementation FileNameCell (Private)
    140154
    141155- (NSAttributedString *) attributedTitleWithColor: (NSColor *) color
  • trunk/macosx/FilePriorityCell.h

    r2383 r2763  
    1111}
    1212
    13 - (void) setItem: (NSMutableDictionary *) item;
    14 
    1513@end
  • trunk/macosx/FilePriorityCell.m

    r2383 r2763  
    2323}
    2424
    25 - (void) setItem: (NSMutableDictionary *) item
    26 {
    27     fItem = item;
    28 }
    29 
    3025- (void) setSelected: (BOOL) flag forSegment: (int) segment
    3126{
     
    3429    //only for when clicking manually
    3530    Torrent * torrent = [[[[self controlView] window] windowController] selectedTorrent];
    36     NSIndexSet * indexes = [fItem objectForKey: @"Indexes"];
    3731   
    3832    int priority;
     
    4438        priority = TR_PRI_NORMAL;
    4539   
    46     [torrent setFilePriority: priority forIndexes: indexes];
     40    [torrent setFilePriority: priority forIndexes: [[self objectValue] objectForKey: @"Indexes"]];
    4741    [(FileOutlineView *)[self controlView] reloadData];
    4842}
     
    5145{
    5246    Torrent * torrent = [(InfoWindowController *)[[[self controlView] window] windowController] selectedTorrent];
    53     NSSet * priorities = [torrent filePrioritiesForIndexes: [fItem objectForKey: @"Indexes"]];
     47    NSDictionary * dict = [self objectValue];
     48    NSSet * priorities = [torrent filePrioritiesForIndexes: [dict objectForKey: @"Indexes"]];
    5449   
    5550    int count = [priorities count];
     
    5752    FileOutlineView * view = (FileOutlineView *)[self controlView];
    5853    int row = [view hoverRow];
    59     if (count > 0 && row != -1 && [view itemAtRow: row] == fItem)
     54    if (count > 0 && row != -1 && [view itemAtRow: row] == dict)
    6055    {
    6156        [super setSelected: [priorities containsObject: [NSNumber numberWithInt: TR_PRI_LOW]] forSegment: 0];
  • trunk/macosx/InfoWindowController.m

    r2761 r2763  
    2424
    2525#import "InfoWindowController.h"
    26 #import "FilePriorityCell.h"
    2726#import "StringAdditions.h"
    2827
     
    106105   
    107106    //allow for update notifications
    108     [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(updateInfoStats)
    109                     name: @"UpdateStats" object: nil];
     107    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(updateInfoStats) name: @"UpdateStats" object: nil];
    110108}
    111109
    112110- (void) dealloc
    113111{
     112    [[NSNotificationCenter defaultCenter] removeObserver: self];
     113   
    114114    [fTorrents release];
    115115    [fPeers release];
     
    880880    if ([identifier isEqualToString: @"Check"])
    881881        [cell setEnabled: [[fTorrents objectAtIndex: 0] canChangeDownloadCheckForFiles: [item objectForKey: @"Indexes"]]];
    882     #warning is this redundant? what about objectValue, and remove import too
    883     else if ([identifier isEqualToString: @"Priority"])
    884         [(FilePriorityCell *)cell setItem: item];
    885     else;
    886882}
    887883
     
    904900        [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
    905901    }
    906     else;
    907902}
    908903
Note: See TracChangeset for help on using the changeset viewer.