Revision: 28910 http://sourceforge.net/p/bibdesk/svn/28910 Author: hofman Date: 2024-05-15 20:49:15 +0000 (Wed, 15 May 2024) Log Message: ----------- Make Series field allowed for groups and single valued, also allow completion.
Modified Paths: -------------- trunk/bibdesk/BDSKCompletionManager.m trunk/bibdesk/BDSKTypeManager.m Modified: trunk/bibdesk/BDSKCompletionManager.m =================================================================== --- trunk/bibdesk/BDSKCompletionManager.m 2024-05-15 14:43:54 UTC (rev 28909) +++ trunk/bibdesk/BDSKCompletionManager.m 2024-05-15 20:49:15 UTC (rev 28910) @@ -53,7 +53,7 @@ + (void)initialize { BDSKINITIALIZE; - completedFields = [[NSSet alloc] initWithObjects:BDSKBooktitleString, BDSKJournalString, BDSKInstitutionString, BDSKPublisherString, BDSKSchoolString, BDSKOrganizationString, BDSKAddressString, BDSKKeywordsString, BDSKCrossrefString, nil]; + completedFields = [[NSSet alloc] initWithObjects:BDSKBooktitleString, BDSKJournalString, BDSKSeriesString, BDSKInstitutionString, BDSKPublisherString, BDSKSchoolString, BDSKOrganizationString, BDSKAddressString, BDSKKeywordsString, BDSKCrossrefString, nil]; } + (id)sharedManager { Modified: trunk/bibdesk/BDSKTypeManager.m =================================================================== --- trunk/bibdesk/BDSKTypeManager.m 2024-05-15 14:43:54 UTC (rev 28909) +++ trunk/bibdesk/BDSKTypeManager.m 2024-05-15 20:49:15 UTC (rev 28910) @@ -250,11 +250,11 @@ NSMutableSet *invalidFields = [NSMutableSet setWithObjects: BDSKDateModifiedString, BDSKDateAddedString, BDSKDateString, BDSKTitleString, BDSKContainerString, BDSKChapterString, - BDSKVolumeString, BDSKNumberString, BDSKSeriesString, BDSKPagesString, BDSKItemNumberString, + BDSKVolumeString, BDSKNumberString, BDSKPagesString, BDSKItemNumberString, BDSKAbstractString, BDSKAnnoteString, BDSKRssDescriptionString, nil]; [invalidFields unionSet:allURLFields]; - NSMutableSet *singleValuedFields = [NSMutableSet setWithObjects:BDSKPubTypeString, BDSKTypeString, BDSKCrossrefString, BDSKJournalString, BDSKBooktitleString, BDSKVolumetitleString, BDSKYearString, BDSKMonthString, BDSKPublisherString, BDSKAddressString, BDSKInstitutionString, BDSKSchoolString, BDSKOrganizationString, BDSKColorString, nil]; + NSMutableSet *singleValuedFields = [NSMutableSet setWithObjects:BDSKPubTypeString, BDSKTypeString, BDSKCrossrefString, BDSKJournalString, BDSKBooktitleString, BDSKVolumetitleString, BDSKSeriesString, BDSKYearString, BDSKMonthString, BDSKPublisherString, BDSKAddressString, BDSKInstitutionString, BDSKSchoolString, BDSKOrganizationString, BDSKColorString, nil]; [singleValuedFields unionSet:ratingFields]; [singleValuedFields unionSet:booleanFields]; [singleValuedFields unionSet:triStateFields]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit