Application interface is now decomposed into smaller nib files. For example, each of the preferences views is now managed by its own view controller subclass. Same for an account window and its views, and for a call window and its views. Started using XSWindowController and XSViewController to manage such decomposed interface. Those view controller subviews are now doing some of the work that a higher level controller was doing before. For example, AccountPreferencesViewController is now responsible for adding and removing accounts (PreferenceController was doing this work before). PreferenceController renamed to PreferencesController.
…ogress indicator to respond to mouse-up events by sending action to target.
…er rolls mouse over a call progress indicator.
…an. Removed an orphaned URI Formatter from Call.xib for all localizations.
…eturn to answer the call, Command-. to decline the call.
… status fields to look engraved. - In AKCallController class |displayedNameField| property and corresponding ivar renamed to |activeCallDisplayedNameField|.
…ere were no active calls. In AKCallController's hangUp: renamed to hangUpCall:, forceCallHangUp became forceEndedCallState which doesn't hang up a call, but explicitly sets its state to AKTelephoneCallDisconnectedState. Without that if the call is deallocated it can try to hang up itself causing the pjsua assertion. In AKTelephoneCall hangUp now checks not only call identifier but also call state. Removed call identifier check in dealloc before hanging up the call. Removed unnecessary call retains for the calls returning from AKTelephone's telephoneCallByIdentifier:. AKTelephone makes immutable copy of accounts and calls searching for the call by its identifier. Added stopTelephone method to the AppController. It hangs up all calls, forces ended call state in call controllers, removes all accounts from Telephone and destroys SIP user agent. This is useful when application is shutting down or computer goes to sleep.
…e entered during a call.
Call status distance from the displayed name increased by 1.
…of the status field. When the first digit is entered, set call window title to the initial displayedName string. displayedNameField by default truncates the end. If the user entered digits during a call, displayedNameField truncates the beginning. But "Display Name" text field of the endedCallView scrolls and is selectable to be copied easily.
Added Russian localization. "Add account" sheet is closed before posting AKPreferenceControllerDidAddAccountNotification. "Change STUN server" sheet is closed in STUNServerAlertDidEnd:returnCode:contextInfo. Added AKTelephone stringForSIPResponseCode: method. Added AppController localizedStringForSIPResponseCode: method.