Ignore:
Timestamp:
11/18/02 08:57:41 (22 years ago)
Author:
Nicholas Riley
Message:

Alarms.nib: Removed horizontal scroll bar. Turned on grid. Set delegate to NJRTableDelegate instead of PSAlarmSetController.

NJRTableDelegate: In general, made functional (was previously unused). Fixed MyCompanyName. Changed ORDER_BY_CONTEXT to use key-value coding instead of assuming data consists of a dictionary of dictionaries. Added sorting support (reorderedData, replaces oData) with autosave support for sort context. Added _positionTypeSelectDisplay, which adjusts position and justification of type select display control based on the current sort column. Added support for reverse sorting in type select string. Use table data source instead of sorted data so text matches as displayed (this will break with non-text cells...).

NJRTableView: Adapted from iTableView (Jaguar table alternate table background color), TableTester (most everything else) and NJROutlineView (keyDown, moveToBeginning/EndOfDocument). Support for type selection, delete shortcut for row deletion, and iTunes-alike background colors and frame.

NSCharacterSet-NJRExtensions: Moved _typeSelectSet from NJROutlineView as it's now shared with NJRTableView. Still need to factor NJROutlineView as embedded in HostLauncher some day.

PSAlarm: Reorganized, renamed and categorized methods. Added time accessor for the benefit of sorting. Renamed compare: to compareDate: for clarity. Added compareMessage:, though it's currently unused. Renamed cancel to cancelTimer for clarity.

PSAlarmSetController: More fun with initial first responder on window show/hide; still need to work around bug properly (subclass NSComboBox?) and fix it for real. As is, works for OS X 10.1.

PSAlarms: Added alarms accessor, returning alarm array. Fixed memory leak on successful alarm removal (oops). Added removeAlarms:, needed with sorted alarm list.

PSAlarmsController: Set window resize increment. Changes to table delegate methods to use reordered alarm list. Register for NSTableViewSelectionDidChangeNotification now we're no longer the table view delegate. Fixed autoselection in alarmsChanged by using data reordering support in NJRTableView. Implement NJRTableViewDataSource to permit deletion from table view.

Pester.pbproj: Added new files.

Read Me.rtfd: Added TableTester/iTableView acknowledgements. Updated release notes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/Pester.pbproj/project.pbxproj

    r49 r51  
    241241                        productReference = 17587328FF379C6511CA2CBB;
    242242                        productSettingsXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
    243 <!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">
    244 <plist version=\"1.0\">
     243<!DOCTYPE plist SYSTEM \"file://localhost/System/Library/DTDs/PropertyList.dtd\">
     244<plist version=\"0.9\">
    245245<dict>
    246246        <key>CFBundleDevelopmentRegion</key>
     
    312312                                F5F19910036D3B3101EB0372,
    313313                                F515C768037DFB56018DB5B3,
     314                                F5B79839035F64F80136A8DD,
     315                                F5B79868038865B30136A8DD,
    314316                        );
    315317                        isa = PBXHeadersBuildPhase;
    316                         runOnlyForDeploymentPostprocessing = 0;
    317318                };
    318319                29B97328FDCFA39411CA2CEA = {
     
    330331                        );
    331332                        isa = PBXResourcesBuildPhase;
    332                         runOnlyForDeploymentPostprocessing = 0;
    333333                };
    334334                29B9732BFDCFA39411CA2CEA = {
     
    369369                                F5F198DB036BE75E01EB0372,
    370370                                F5F1990F036D3B3101EB0372,
     371                                F5B79838035F64F80136A8DD,
     372                                F5B79867038865B30136A8DD,
    371373                        );
    372374                        isa = PBXSourcesBuildPhase;
    373                         runOnlyForDeploymentPostprocessing = 0;
    374375                };
    375376                29B9732CFDCFA39411CA2CEA = {
     
    390391                        );
    391392                        isa = PBXFrameworksBuildPhase;
    392                         runOnlyForDeploymentPostprocessing = 0;
    393393                };
    394394//290
     
    631631                                F59DC6FD0354188F01AEEDB1,
    632632                                F5F2418A036A910B01FE7503,
     633                                F5B79866038865B30136A8DD,
     634                                F5B79865038865B30136A8DD,
    633635                                F5F1990E036D3B3101EB0372,
    634636                                F5F1990D036D3B3101EB0372,
    635637                                F59E4C0E036B43D2016B311C,
    636638                                F59E4C0D036B43D2016B311C,
     639                                F560E30E035787BC01A4E466,
     640                                F560E30D035787BB01A4E466,
    637641                                F5F198DA036BE75E01EB0372,
    638642                                F5F198D9036BE75E01EB0372,
     
    644648                F560E314035787F901A4E466 = {
    645649                        children = (
    646                                 F560E30E035787BC01A4E466,
    647                                 F560E30D035787BB01A4E466,
     650                                F5B79837035F64F80136A8DD,
     651                                F5B79836035F64F80136A8DD,
    648652                                F552A8AB0358E8B201AEEDB1,
    649653                                F552A8AC0358E8B201AEEDB1,
     
    12411245                        };
    12421246                };
     1247                F5B79836035F64F80136A8DD = {
     1248                        isa = PBXFileReference;
     1249                        path = NJRTableView.m;
     1250                        refType = 4;
     1251                };
     1252                F5B79837035F64F80136A8DD = {
     1253                        isa = PBXFileReference;
     1254                        path = NJRTableView.h;
     1255                        refType = 4;
     1256                };
     1257                F5B79838035F64F80136A8DD = {
     1258                        fileRef = F5B79836035F64F80136A8DD;
     1259                        isa = PBXBuildFile;
     1260                        settings = {
     1261                        };
     1262                };
     1263                F5B79839035F64F80136A8DD = {
     1264                        fileRef = F5B79837035F64F80136A8DD;
     1265                        isa = PBXBuildFile;
     1266                        settings = {
     1267                        };
     1268                };
     1269                F5B79865038865B30136A8DD = {
     1270                        isa = PBXFileReference;
     1271                        path = "NSCharacterSet-NJRExtensions.m";
     1272                        refType = 4;
     1273                };
     1274                F5B79866038865B30136A8DD = {
     1275                        isa = PBXFileReference;
     1276                        path = "NSCharacterSet-NJRExtensions.h";
     1277                        refType = 4;
     1278                };
     1279                F5B79867038865B30136A8DD = {
     1280                        fileRef = F5B79865038865B30136A8DD;
     1281                        isa = PBXBuildFile;
     1282                        settings = {
     1283                        };
     1284                };
     1285                F5B79868038865B30136A8DD = {
     1286                        fileRef = F5B79866038865B30136A8DD;
     1287                        isa = PBXBuildFile;
     1288                        settings = {
     1289                        };
     1290                };
    12431291                F5F19865036B806201EB0372 = {
    12441292                        children = (
Note: See TracChangeset for help on using the changeset viewer.