"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Plugins/MacOS/HIDRemote.m" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

HIDRemote.m  (TeXmacs-1.99.4-src):HIDRemote.m  (TeXmacs-1.99.5-src)
skipping to change at line 657 skipping to change at line 657
if ([self isStarted]) if ([self isStarted])
{ {
[self stopRemoteControl]; [self stopRemoteControl];
} }
} }
} }
} }
- (void)_delayedAutoRecovery:(NSTimer *)aTimer - (void)_delayedAutoRecovery:(NSTimer *)aTimer
{ {
(void) aTimer;
[_autoRecoveryTimer invalidate]; [_autoRecoveryTimer invalidate];
[_autoRecoveryTimer release]; [_autoRecoveryTimer release];
_autoRecoveryTimer = nil; _autoRecoveryTimer = nil;
if (_autoRecover) if (_autoRecover)
{ {
[self startRemoteControl:kHIDRemoteModeExclusiveAuto]; [self startRemoteControl:kHIDRemoteModeExclusiveAuto];
_autoRecover = NO; _autoRecover = NO;
} }
} }
skipping to change at line 1895 skipping to change at line 1896
while ((matchingService = IOIteratorNext(iterator)) != 0) while ((matchingService = IOIteratorNext(iterator)) != 0)
{ {
[self _setupService:matchingService]; [self _setupService:matchingService];
IOObjectRelease(matchingService); IOObjectRelease(matchingService);
}; };
} }
- (void)_serviceNotificationFor:(io_service_t)service messageType:(natural_t)mes sageType messageArgument:(void *)messageArgument - (void)_serviceNotificationFor:(io_service_t)service messageType:(natural_t)mes sageType messageArgument:(void *)messageArgument
{ {
(void) messageArgument;
if (messageType == kIOMessageServiceIsTerminated) if (messageType == kIOMessageServiceIsTerminated)
{ {
[self _destructService:service]; [self _destructService:service];
} }
} }
- (void)_updateSessionInformation - (void)_updateSessionInformation
{ {
NSArray *consoleUsersArray; NSArray *consoleUsersArray;
io_service_t rootService; io_service_t rootService;
skipping to change at line 1966 skipping to change at line 1968
CFRelease((CFTypeRef)consoleUsersArray); CFRelease((CFTypeRef)consoleUsersArray);
} }
IOObjectRelease((io_object_t) rootService); IOObjectRelease((io_object_t) rootService);
} }
} }
- (void)_secureInputNotificationFor:(io_service_t)service messageType:(natural_t )messageType messageArgument:(void *)messageArgument - (void)_secureInputNotificationFor:(io_service_t)service messageType:(natural_t )messageType messageArgument:(void *)messageArgument
{ {
(void) service; (void) messageArgument;
if (messageType == kIOMessageServiceBusyStateChange) if (messageType == kIOMessageServiceBusyStateChange)
{ {
UInt64 old_lastSecureEventInputPIDSum = _lastSecureEventInputPIDS um; UInt64 old_lastSecureEventInputPIDSum = _lastSecureEventInputPIDS um;
uid_t old_lastFrontUserSession = _lastFrontUserSession; uid_t old_lastFrontUserSession = _lastFrontUserSession;
[self _updateSessionInformation]; [self _updateSessionInformation];
if (((old_lastSecureEventInputPIDSum != _lastSecureEventInputPIDS um) || (old_lastFrontUserSession != _lastFrontUserSession)) && _secureEventInput WorkAround) if (((old_lastSecureEventInputPIDSum != _lastSecureEventInputPIDS um) || (old_lastFrontUserSession != _lastFrontUserSession)) && _secureEventInput WorkAround)
{ {
if ((_mode == kHIDRemoteModeExclusive) || (_mode == kHIDR emoteModeExclusiveAuto)) if ((_mode == kHIDRemoteModeExclusive) || (_mode == kHIDR emoteModeExclusiveAuto))
 End of changes. 3 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS