Revision: 29705
http://sourceforge.net/p/bibdesk/svn/29705
Author: hofman
Date: 2025-10-11 16:39:39 +0000 (Sat, 11 Oct 2025)
Log Message:
-----------
add some pragma marks
Modified Paths:
--------------
trunk/bibdesk/BDSKSharingClient.m
trunk/bibdesk/BDSKSharingServer.m
Modified: trunk/bibdesk/BDSKSharingClient.m
===================================================================
--- trunk/bibdesk/BDSKSharingClient.m 2025-10-11 14:40:30 UTC (rev 29704)
+++ trunk/bibdesk/BDSKSharingClient.m 2025-10-11 16:39:39 UTC (rev 29705)
@@ -204,16 +204,6 @@
#pragma mark Accessors
-// BDSKSharingClient
-- (oneway void)setNeedsUpdate:(BOOL)flag {
- // don't message the client during cleanup
- if([self shouldKeepRunning]) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [client setNeedsUpdate:flag];
- });
- }
-}
-
- (BOOL)authenticationFailed {
return atomic_load(&authenticationFailed) == YES ||
atomic_load(&canceledAuthentication) == YES;
}
@@ -458,7 +448,7 @@
#pragma mark ServerThread
-- (oneway void)retrievePublications;
+- (void)retrievePublications;
{
// set so we don't try calling this multiple times
atomic_store(&failedDownload, NO);
@@ -495,6 +485,8 @@
}
}
+#pragma mark | BDSKAsyncObject
+
- (void)didFinish;
{
// clean up our remote end
@@ -519,6 +511,17 @@
}
}
+#pragma mark | BDSKSharingClient
+
+- (oneway void)setNeedsUpdate:(BOOL)flag {
+ // don't message the client during cleanup
+ if([self shouldKeepRunning]) {
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [client setNeedsUpdate:flag];
+ });
+ }
+}
+
- (oneway void)invalidate
{
// set this to nil so we won't try to get back to the remote server
Modified: trunk/bibdesk/BDSKSharingServer.m
===================================================================
--- trunk/bibdesk/BDSKSharingServer.m 2025-10-11 14:40:30 UTC (rev 29704)
+++ trunk/bibdesk/BDSKSharingServer.m 2025-10-11 16:39:39 UTC (rev 29705)
@@ -649,7 +649,6 @@
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
if([[NSSocketPortNameServer sharedInstance]
registerPort:receivePort name:name] == NO)
@throw [NSString stringWithFormat:@"***
BDSKAsyncSharingServer: Unable to register, socket port = %p, name = '%@'",
receivePort, name];
-
// find out what port was chosen for us
struct sockaddr *address = (struct sockaddr *)[[(NSSocketPort
*)receivePort address] bytes];
if(address->sa_family == AF_INET)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit