Ignore:
Timestamp:
11/23/07 04:58:05 (16 years ago)
Author:
Nicholas Riley
Message:

English.lproj/MainMenu.nib: Modernize menu and alarm set dialog
layout. Use keyed archiving (10.2+) nib format.

Info-Pester.plist: Moved from old PBX project.

NJRFSObjectSelector.m: Bug fixes from code sent to Joey: remove
incorrect usage of tryToPerform:with:; fix logic error in menu
construction. Work around Cocoa's deciding that the menu font size
needs adjustment when it doesn't - so the menu font size now matches
the button font size, though the position is still off. Don't pop up
a menu if we're disabled. Use IconRefs for menu icons, though not
(yet) for the button icon.

NJRHistoryTrackingComboBox.m: Remove item height adjustment
workaround; it now makes the items too tall.

NJRHotKey.m: Add a missing [super dealloc] caught by current GCC.

NJRHotKeyField.m: Add a missing [super dealloc] caught by current GCC.

NJRHotKeyManager.m: Add a missing [super dealloc] caught by current
GCC.

NJRIntervalField.m: Fix some type errors.

NJRQTMediaPopUpButton.m: Replace SoundFileManager SPI usage, which
doesn't work in Leopard anyway, with manual enumeration of system
sounds. Start migration to QTKit. Use IconRefs for menu icons.

NJRReadMeController.m: Change source encoding to UTF-8.

NJRSoundManager.m: Fix a type error.

NJRVoicePopUpButton.m: Change source encoding to UTF-8.

NSMenuItem-NJRExtensions.[hm]: Code from ICeCoffEE to use IconRefs for
menu item icons.

PSAlarm.m: Change source encoding to UTF-8.

PSAlarms.m: Fix a signedness mismatch.

PSAlarmsController.m: Change source encoding to UTF-8.

PSAlarmSetController.m: Set keyboard focus after unchecking "Do
script:" and "Play" checkboxes.

PSAlerts.m: Add a missing [super dealloc] caught by current GCC. Fix
a memory leak in property list serialization.

PSPowerManager.[hm]: There's now API for scheduling wakeups; use it
(the old code asserted on startup). To fix: removing scheduled
wakeup. Fix a small type-checking error.

PSPreferencesController.m: Add a missing [super dealloc] caught by
current GCC.

PSScriptAlert.m: Change source encoding to UTF-8.

PSTimeDateEditor.m: Fix a tiny, and one-time, memory leak.

PSTimer.m: Update for new PSPowerManager API.

Pester.pbproj: Deleted; now supporting OS X 10.4+ (up from 10.1,
aiee.)

Pester.xcodeproj: Xcode 2.4+ project, upgraded targets, etc.

SoundFileManager.h: Deleted; this SPI no longer exists in Leopard and
possibly earlier.

Location:
trunk/Cocoa/Pester/Source/English.lproj/MainMenu.nib
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/English.lproj/MainMenu.nib/classes.nib

    r133 r355  
    1 {
    2     IBClasses = (
    3         {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
    4         {CLASS = NJRDateFormatter; LANGUAGE = ObjC; SUPERCLASS = NSDateFormatter; },
    5         {
    6             ACTIONS = {select = id; };
    7             CLASS = NJRFSObjectSelector;
    8             LANGUAGE = ObjC;
    9             SUPERCLASS = NSButton;
    10         },
    11         {
    12             ACTIONS = {clearAllEntries = id; removeEntry = id; };
    13             CLASS = NJRHistoryTrackingComboBox;
    14             LANGUAGE = ObjC;
    15             SUPERCLASS = NSComboBox;
    16         },
    17         {CLASS = NJRIntegerFilter; LANGUAGE = ObjC; SUPERCLASS = NSNumberFormatter; },
    18         {
    19             CLASS = NJRIntervalField;
    20             LANGUAGE = ObjC;
    21             OUTLETS = {intervalUnits = NSPopUpButton; };
    22             SUPERCLASS = NSTextField;
    23         },
    24         {
    25             ACTIONS = {stopSoundPreview = id; };
    26             CLASS = NJRQTMediaPopUpButton;
    27             LANGUAGE = ObjC;
    28             OUTLETS = {preview = NSMovieView; };
    29             SUPERCLASS = NSPopUpButton;
    30         },
    31         {CLASS = NJRUnfocusableMovieView; LANGUAGE = ObjC; SUPERCLASS = NSMovieView; },
    32         {
    33             ACTIONS = {stopVoicePreview = id; };
    34             CLASS = NJRVoicePopUpButton;
    35             LANGUAGE = ObjC;
    36             SUPERCLASS = NSPopUpButton;
    37         },
    38         {CLASS = NSDisclosureButtonCell; LANGUAGE = ObjC; SUPERCLASS = NSButtonCell; },
    39         {CLASS = NSObject; LANGUAGE = ObjC; },
    40         {
    41             ACTIONS = {
    42                 dateCompleted = id;
    43                 doScriptChanged = id;
    44                 doSpeakChanged = id;
    45                 editAlertChanged = id;
    46                 inAtChanged = id;
    47                 playSoundChanged = id;
    48                 setAlarm = id;
    49                 setSoundRepetitionCount = id;
    50                 showCalendar = id;
    51                 showVolume = id;
    52                 silence = id;
    53                 toggleAlertEditor = id;
    54                 update = id;
    55             };
    56             CLASS = PSAlarmSetController;
    57             LANGUAGE = ObjC;
    58             OUTLETS = {
    59                 alertTabs = NSTabView;
    60                 alertView = NSTextField;
    61                 bounceDockIcon = NSButton;
    62                 cancelButton = NSButton;
    63                 displayMessage = NSButtonCell;
    64                 doScript = NSButtonCell;
    65                 doSpeak = NSButtonCell;
    66                 editAlert = NSButtonCell;
    67                 inAtMatrix = NSMatrix;
    68                 messageField = NSTextField;
    69                 playSound = NSButtonCell;
    70                 script = NJRFSObjectSelector;
    71                 scriptSelectButton = NSButton;
    72                 setButton = NSButton;
    73                 sound = NJRQTMediaPopUpButton;
    74                 soundRepetitionStepper = NSStepper;
    75                 soundRepetitions = NSTextField;
    76                 soundRepetitionsLabel = NSTextField;
    77                 soundVolumeButton = NSButton;
    78                 timeCalendarButton = NSButton;
    79                 timeDate = NSTextField;
    80                 timeDateCompletions = NSPopUpButton;
    81                 timeInterval = NJRIntervalField;
    82                 timeIntervalRepeats = NSButton;
    83                 timeIntervalUnits = NSPopUpButton;
    84                 timeOfDay = NSTextField;
    85                 timeSummary = NSTextField;
    86                 voice = NJRVoicePopUpButton;
    87                 wakeUp = NSButtonCell;
    88             };
    89             SUPERCLASS = NSWindowController;
    90         },
    91         {
    92             CLASS = PSAlarmsController;
    93             LANGUAGE = ObjC;
    94             OUTLETS = {tableView = NSTableView; };
    95             SUPERCLASS = NSWindowController;
    96         },
    97         {
    98             ACTIONS = {
    99                 orderFrontAlarmsPanel = id;
    100                 orderFrontPreferencesPanel = id;
    101                 orderFrontSetAlarmPanel = id;
    102                 stopAlerts = id;
    103             };
    104             CLASS = PSApplication;
    105             LANGUAGE = ObjC;
    106             OUTLETS = {alarmSetController = PSAlarmSetController; };
    107             SUPERCLASS = NSApplication;
    108         }
    109     );
    110     IBVersion = 1;
    111 }
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3<plist version="1.0">
     4<dict>
     5        <key>IBClasses</key>
     6        <array>
     7                <dict>
     8                        <key>ACTIONS</key>
     9                        <dict>
     10                                <key>stopVoicePreview</key>
     11                                <string>id</string>
     12                        </dict>
     13                        <key>CLASS</key>
     14                        <string>NJRVoicePopUpButton</string>
     15                        <key>LANGUAGE</key>
     16                        <string>ObjC</string>
     17                        <key>SUPERCLASS</key>
     18                        <string>NSPopUpButton</string>
     19                </dict>
     20                <dict>
     21                        <key>ACTIONS</key>
     22                        <dict>
     23                                <key>dateCompleted</key>
     24                                <string>NSPopUpButton</string>
     25                                <key>doScriptChanged</key>
     26                                <string>id</string>
     27                                <key>doSpeakChanged</key>
     28                                <string>id</string>
     29                                <key>editAlertChanged</key>
     30                                <string>id</string>
     31                                <key>inAtChanged</key>
     32                                <string>id</string>
     33                                <key>playSoundChanged</key>
     34                                <string>id</string>
     35                                <key>setAlarm</key>
     36                                <string>NSButton</string>
     37                                <key>setSoundRepetitionCount</key>
     38                                <string>id</string>
     39                                <key>showCalendar</key>
     40                                <string>NSButton</string>
     41                                <key>showVolume</key>
     42                                <string>NSButton</string>
     43                                <key>silence</key>
     44                                <string>id</string>
     45                                <key>toggleAlertEditor</key>
     46                                <string>id</string>
     47                                <key>update</key>
     48                                <string>id</string>
     49                        </dict>
     50                        <key>CLASS</key>
     51                        <string>PSAlarmSetController</string>
     52                        <key>LANGUAGE</key>
     53                        <string>ObjC</string>
     54                        <key>OUTLETS</key>
     55                        <dict>
     56                                <key>alertTabs</key>
     57                                <string>NSTabView</string>
     58                                <key>alertView</key>
     59                                <string>NSTextField</string>
     60                                <key>bounceDockIcon</key>
     61                                <string>NSButton</string>
     62                                <key>cancelButton</key>
     63                                <string>NSButton</string>
     64                                <key>displayMessage</key>
     65                                <string>NSButtonCell</string>
     66                                <key>doScript</key>
     67                                <string>NSButtonCell</string>
     68                                <key>doSpeak</key>
     69                                <string>NSButtonCell</string>
     70                                <key>editAlert</key>
     71                                <string>NSButtonCell</string>
     72                                <key>inAtMatrix</key>
     73                                <string>NSMatrix</string>
     74                                <key>messageField</key>
     75                                <string>NSTextField</string>
     76                                <key>playSound</key>
     77                                <string>NSButtonCell</string>
     78                                <key>script</key>
     79                                <string>NJRFSObjectSelector</string>
     80                                <key>scriptSelectButton</key>
     81                                <string>NSButton</string>
     82                                <key>setButton</key>
     83                                <string>NSButton</string>
     84                                <key>sound</key>
     85                                <string>NJRQTMediaPopUpButton</string>
     86                                <key>soundRepetitionStepper</key>
     87                                <string>NSStepper</string>
     88                                <key>soundRepetitions</key>
     89                                <string>NSTextField</string>
     90                                <key>soundRepetitionsLabel</key>
     91                                <string>NSTextField</string>
     92                                <key>soundVolumeButton</key>
     93                                <string>NSButton</string>
     94                                <key>timeCalendarButton</key>
     95                                <string>NSButton</string>
     96                                <key>timeDate</key>
     97                                <string>NSTextField</string>
     98                                <key>timeDateCompletions</key>
     99                                <string>NSPopUpButton</string>
     100                                <key>timeInterval</key>
     101                                <string>NJRIntervalField</string>
     102                                <key>timeIntervalRepeats</key>
     103                                <string>NSButton</string>
     104                                <key>timeIntervalUnits</key>
     105                                <string>NSPopUpButton</string>
     106                                <key>timeOfDay</key>
     107                                <string>NSTextField</string>
     108                                <key>timeSummary</key>
     109                                <string>NSTextField</string>
     110                                <key>voice</key>
     111                                <string>NJRVoicePopUpButton</string>
     112                                <key>wakeUp</key>
     113                                <string>NSButtonCell</string>
     114                        </dict>
     115                        <key>SUPERCLASS</key>
     116                        <string>NSWindowController</string>
     117                </dict>
     118                <dict>
     119                        <key>CLASS</key>
     120                        <string>NSDisclosureButtonCell</string>
     121                        <key>LANGUAGE</key>
     122                        <string>ObjC</string>
     123                        <key>SUPERCLASS</key>
     124                        <string>NSButtonCell</string>
     125                </dict>
     126                <dict>
     127                        <key>ACTIONS</key>
     128                        <dict>
     129                                <key>clearAllEntries</key>
     130                                <string>id</string>
     131                                <key>removeEntry</key>
     132                                <string>id</string>
     133                        </dict>
     134                        <key>CLASS</key>
     135                        <string>NJRHistoryTrackingComboBox</string>
     136                        <key>LANGUAGE</key>
     137                        <string>ObjC</string>
     138                        <key>SUPERCLASS</key>
     139                        <string>NSComboBox</string>
     140                </dict>
     141                <dict>
     142                        <key>CLASS</key>
     143                        <string>NSMenuItem</string>
     144                        <key>LANGUAGE</key>
     145                        <string>ObjC</string>
     146                        <key>SUPERCLASS</key>
     147                        <string>NSObject</string>
     148                </dict>
     149                <dict>
     150                        <key>ACTIONS</key>
     151                        <dict>
     152                                <key>stopSoundPreview</key>
     153                                <string>id</string>
     154                        </dict>
     155                        <key>CLASS</key>
     156                        <string>NJRQTMediaPopUpButton</string>
     157                        <key>LANGUAGE</key>
     158                        <string>ObjC</string>
     159                        <key>OUTLETS</key>
     160                        <dict>
     161                                <key>preview</key>
     162                                <string>NSMovieView</string>
     163                        </dict>
     164                        <key>SUPERCLASS</key>
     165                        <string>NSPopUpButton</string>
     166                </dict>
     167                <dict>
     168                        <key>CLASS</key>
     169                        <string>FirstResponder</string>
     170                        <key>LANGUAGE</key>
     171                        <string>ObjC</string>
     172                        <key>SUPERCLASS</key>
     173                        <string>NSObject</string>
     174                </dict>
     175                <dict>
     176                        <key>CLASS</key>
     177                        <string>NJRUnfocusableMovieView</string>
     178                        <key>LANGUAGE</key>
     179                        <string>ObjC</string>
     180                        <key>SUPERCLASS</key>
     181                        <string>NSMovieView</string>
     182                </dict>
     183                <dict>
     184                        <key>CLASS</key>
     185                        <string>NSObject</string>
     186                        <key>LANGUAGE</key>
     187                        <string>ObjC</string>
     188                </dict>
     189                <dict>
     190                        <key>CLASS</key>
     191                        <string>NJRIntervalField</string>
     192                        <key>LANGUAGE</key>
     193                        <string>ObjC</string>
     194                        <key>OUTLETS</key>
     195                        <dict>
     196                                <key>intervalUnits</key>
     197                                <string>NSPopUpButton</string>
     198                        </dict>
     199                        <key>SUPERCLASS</key>
     200                        <string>NSTextField</string>
     201                </dict>
     202                <dict>
     203                        <key>ACTIONS</key>
     204                        <dict>
     205                                <key>orderFrontAlarmsPanel</key>
     206                                <string>id</string>
     207                                <key>orderFrontPreferencesPanel</key>
     208                                <string>id</string>
     209                                <key>orderFrontSetAlarmPanel</key>
     210                                <string>id</string>
     211                                <key>stopAlerts</key>
     212                                <string>id</string>
     213                        </dict>
     214                        <key>CLASS</key>
     215                        <string>PSApplication</string>
     216                        <key>LANGUAGE</key>
     217                        <string>ObjC</string>
     218                        <key>OUTLETS</key>
     219                        <dict>
     220                                <key>alarmSetController</key>
     221                                <string>PSAlarmSetController</string>
     222                        </dict>
     223                        <key>SUPERCLASS</key>
     224                        <string>NSApplication</string>
     225                </dict>
     226                <dict>
     227                        <key>CLASS</key>
     228                        <string>NJRIntegerFilter</string>
     229                        <key>LANGUAGE</key>
     230                        <string>ObjC</string>
     231                        <key>SUPERCLASS</key>
     232                        <string>NSNumberFormatter</string>
     233                </dict>
     234                <dict>
     235                        <key>ACTIONS</key>
     236                        <dict>
     237                                <key>select</key>
     238                                <string>id</string>
     239                        </dict>
     240                        <key>CLASS</key>
     241                        <string>NJRFSObjectSelector</string>
     242                        <key>LANGUAGE</key>
     243                        <string>ObjC</string>
     244                        <key>SUPERCLASS</key>
     245                        <string>NSButton</string>
     246                </dict>
     247        </array>
     248        <key>IBVersion</key>
     249        <string>1</string>
     250</dict>
     251</plist>
  • trunk/Cocoa/Pester/Source/English.lproj/MainMenu.nib/info.nib

    r133 r355  
    11<?xml version="1.0" encoding="UTF-8"?>
    2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    33<plist version="1.0">
    44<dict>
    5         <key>IBDocumentLocation</key>
    6         <string>63 2 356 240 0 0 1280 832 </string>
    7         <key>IBEditorPositions</key>
    8         <dict>
    9                 <key>29</key>
    10                 <string>130 241 273 44 0 0 1280 832 </string>
    11                 <key>640</key>
    12                 <string>63 247 111 180 0 0 1280 832 </string>
    13         </dict>
    145        <key>IBFramework Version</key>
    15         <string>291.0</string>
     6        <string>629</string>
     7        <key>IBLastKnownRelativeProjectPath</key>
     8        <string>../../Pester.xcodeproj</string>
     9        <key>IBOldestOS</key>
     10        <integer>5</integer>
    1611        <key>IBOpenObjects</key>
    1712        <array>
    18                 <integer>640</integer>
    19                 <integer>21</integer>
     13                <integer>2</integer>
    2014        </array>
    2115        <key>IBSystem Version</key>
    22         <string>6I32</string>
    23         <key>IBUserGuides</key>
    24         <dict>
    25                 <key>21</key>
    26                 <dict>
    27                         <key>guideLocations</key>
    28                         <array>
    29                                 <string>Horizontal:122.000000</string>
    30                                 <string>Horizontal:178.000000</string>
    31                                 <string>Horizontal:192.000000</string>
    32                                 <string>Vertical:36.000000</string>
    33                                 <string>Vertical:16.000000</string>
    34                                 <string>Vertical:85.000000</string>
    35                                 <string>Vertical:422.000000</string>
    36                                 <string>Horizontal:150.000000</string>
    37                                 <string>Horizontal:150.000000</string>
    38                         </array>
    39                         <key>guidesLocked</key>
    40                         <false/>
    41                 </dict>
    42         </dict>
     16        <string>9B18</string>
     17        <key>targetFramework</key>
     18        <string>IBCocoaFramework</string>
    4319</dict>
    4420</plist>
Note: See TracChangeset for help on using the changeset viewer.