You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
(9) |
Apr
(2) |
May
(8) |
Jun
|
Jul
(17) |
Aug
(1) |
Sep
(14) |
Oct
(28) |
Nov
(34) |
Dec
(43) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(37) |
Feb
(52) |
Mar
(130) |
Apr
(52) |
May
(23) |
Jun
(48) |
Jul
(78) |
Aug
(97) |
Sep
(73) |
Oct
(53) |
Nov
(148) |
Dec
(322) |
| 2005 |
Jan
(164) |
Feb
(259) |
Mar
(287) |
Apr
(413) |
May
(272) |
Jun
(231) |
Jul
(353) |
Aug
(363) |
Sep
(245) |
Oct
(361) |
Nov
(802) |
Dec
(493) |
| 2006 |
Jan
(345) |
Feb
(438) |
Mar
(388) |
Apr
(283) |
May
(416) |
Jun
(216) |
Jul
(180) |
Aug
(442) |
Sep
(150) |
Oct
(454) |
Nov
(416) |
Dec
(338) |
| 2007 |
Jan
(516) |
Feb
(512) |
Mar
(364) |
Apr
(152) |
May
(165) |
Jun
(93) |
Jul
(106) |
Aug
(160) |
Sep
(160) |
Oct
(256) |
Nov
(421) |
Dec
(418) |
| 2008 |
Jan
(620) |
Feb
(180) |
Mar
(236) |
Apr
(163) |
May
(196) |
Jun
(281) |
Jul
(175) |
Aug
(72) |
Sep
(56) |
Oct
(95) |
Nov
(73) |
Dec
(82) |
| 2009 |
Jan
(261) |
Feb
(340) |
Mar
(371) |
Apr
(334) |
May
(131) |
Jun
(104) |
Jul
(125) |
Aug
(106) |
Sep
(106) |
Oct
(133) |
Nov
(268) |
Dec
(201) |
| 2010 |
Jan
(183) |
Feb
(112) |
Mar
(77) |
Apr
(52) |
May
(79) |
Jun
(49) |
Jul
(46) |
Aug
(44) |
Sep
(95) |
Oct
(225) |
Nov
(203) |
Dec
(60) |
| 2011 |
Jan
(58) |
Feb
(33) |
Mar
(66) |
Apr
(57) |
May
(49) |
Jun
(72) |
Jul
(44) |
Aug
(66) |
Sep
(53) |
Oct
(49) |
Nov
(62) |
Dec
(83) |
| 2012 |
Jan
(109) |
Feb
(70) |
Mar
(47) |
Apr
(37) |
May
(43) |
Jun
(44) |
Jul
(40) |
Aug
(34) |
Sep
(18) |
Oct
(65) |
Nov
(114) |
Dec
(47) |
| 2013 |
Jan
(46) |
Feb
(51) |
Mar
(49) |
Apr
(47) |
May
(37) |
Jun
(64) |
Jul
(45) |
Aug
(36) |
Sep
(42) |
Oct
(36) |
Nov
(54) |
Dec
(58) |
| 2014 |
Jan
(42) |
Feb
(33) |
Mar
(48) |
Apr
(105) |
May
(58) |
Jun
(39) |
Jul
(53) |
Aug
(32) |
Sep
(34) |
Oct
(56) |
Nov
(34) |
Dec
(27) |
| 2015 |
Jan
(51) |
Feb
(62) |
Mar
(37) |
Apr
(36) |
May
(41) |
Jun
(31) |
Jul
(25) |
Aug
(32) |
Sep
(49) |
Oct
(80) |
Nov
(33) |
Dec
(32) |
| 2016 |
Jan
(35) |
Feb
(55) |
Mar
(58) |
Apr
(51) |
May
(33) |
Jun
(52) |
Jul
(35) |
Aug
(66) |
Sep
(37) |
Oct
(42) |
Nov
(32) |
Dec
(33) |
| 2017 |
Jan
(48) |
Feb
(11) |
Mar
(70) |
Apr
(30) |
May
(43) |
Jun
(27) |
Jul
(33) |
Aug
(34) |
Sep
(27) |
Oct
(50) |
Nov
(22) |
Dec
(33) |
| 2018 |
Jan
(157) |
Feb
(238) |
Mar
(75) |
Apr
(40) |
May
(72) |
Jun
(105) |
Jul
(93) |
Aug
(73) |
Sep
(146) |
Oct
(213) |
Nov
(101) |
Dec
(136) |
| 2019 |
Jan
(213) |
Feb
(84) |
Mar
(210) |
Apr
(117) |
May
(77) |
Jun
(61) |
Jul
(189) |
Aug
(79) |
Sep
(87) |
Oct
(95) |
Nov
(55) |
Dec
(79) |
| 2020 |
Jan
(80) |
Feb
(79) |
Mar
(40) |
Apr
(51) |
May
(41) |
Jun
(79) |
Jul
(37) |
Aug
(37) |
Sep
(34) |
Oct
(65) |
Nov
(62) |
Dec
(169) |
| 2021 |
Jan
(233) |
Feb
(61) |
Mar
(107) |
Apr
(131) |
May
(305) |
Jun
(210) |
Jul
(199) |
Aug
(248) |
Sep
(201) |
Oct
(120) |
Nov
(54) |
Dec
(45) |
| 2022 |
Jan
(34) |
Feb
(18) |
Mar
(79) |
Apr
(55) |
May
(118) |
Jun
(150) |
Jul
(112) |
Aug
(74) |
Sep
(124) |
Oct
(77) |
Nov
(36) |
Dec
(66) |
| 2023 |
Jan
(15) |
Feb
(8) |
Mar
(22) |
Apr
(39) |
May
(31) |
Jun
(33) |
Jul
(28) |
Aug
(1) |
Sep
(47) |
Oct
(30) |
Nov
(56) |
Dec
(26) |
| 2024 |
Jan
(192) |
Feb
(129) |
Mar
(19) |
Apr
(38) |
May
(42) |
Jun
|
Jul
(3) |
Aug
(17) |
Sep
(5) |
Oct
(19) |
Nov
(7) |
Dec
(1) |
| 2025 |
Jan
(7) |
Feb
(96) |
Mar
(11) |
Apr
(159) |
May
(18) |
Jun
(6) |
Jul
(134) |
Aug
(108) |
Sep
(131) |
Oct
(110) |
Nov
(163) |
Dec
(19) |
| 2026 |
Jan
(42) |
Feb
(104) |
Mar
(94) |
Apr
(92) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ho...@us...> - 2026-04-16 16:45:29
|
Revision: 30222
http://sourceforge.net/p/bibdesk/svn/30222
Author: hofman
Date: 2026-04-16 16:45:28 +0000 (Thu, 16 Apr 2026)
Log Message:
-----------
always set pdfScaleFactor
Modified Paths:
--------------
trunk/bibdesk/BDSKDocumentPreviewController.m
Modified: trunk/bibdesk/BDSKDocumentPreviewController.m
===================================================================
--- trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-16 16:39:44 UTC (rev 30221)
+++ trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-16 16:45:28 UTC (rev 30222)
@@ -105,8 +105,7 @@
PDFView *pdfView = [previewer pdfView];
if (pdfView)
[pdfView setScaleFactor:scaleFactor];
- else
- pdfScaleFactor = scaleFactor;
+ pdfScaleFactor = scaleFactor;
}
- (void)displayTemplatedPreview {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-16 16:39:46
|
Revision: 30221
http://sourceforge.net/p/bibdesk/svn/30221
Author: hofman
Date: 2026-04-16 16:39:44 +0000 (Thu, 16 Apr 2026)
Log Message:
-----------
declare NSTextViewDelegate conformance
Modified Paths:
--------------
trunk/bibdesk/BDSKDocumentPreviewController.m
trunk/bibdesk/BibDocument_UI.h
Modified: trunk/bibdesk/BDSKDocumentPreviewController.m
===================================================================
--- trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-16 16:36:23 UTC (rev 30220)
+++ trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-16 16:39:44 UTC (rev 30221)
@@ -66,7 +66,7 @@
- (void)viewDidLoad {
[super viewDidLoad];
- [textView setDelegate:(id<NSTextViewDelegate>)document];
+ [textView setDelegate:document];
[fileView setDelegate:document];
[fileView setDataSource:document];
}
Modified: trunk/bibdesk/BibDocument_UI.h
===================================================================
--- trunk/bibdesk/BibDocument_UI.h 2026-04-16 16:36:23 UTC (rev 30220)
+++ trunk/bibdesk/BibDocument_UI.h 2026-04-16 16:39:44 UTC (rev 30221)
@@ -45,7 +45,7 @@
@class BDSKLinkedFile;
@class BDSKPreviewer;
-@interface BibDocument (UI) <NSMenuDelegate, QLPreviewPanelDataSource, QLPreviewPanelDelegate>
+@interface BibDocument (UI) <NSMenuDelegate, NSTextViewDelegate, QLPreviewPanelDataSource, QLPreviewPanelDelegate>
- (void)updateSharedPreviewerIfNeeded;
- (void)updatePreviews;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-16 16:36:25
|
Revision: 30220
http://sourceforge.net/p/bibdesk/svn/30220
Author: hofman
Date: 2026-04-16 16:36:23 +0000 (Thu, 16 Apr 2026)
Log Message:
-----------
set scaleFactor for previewer pdfview in bottom preview controller
Modified Paths:
--------------
trunk/bibdesk/BDSKDocumentPreviewController.h
trunk/bibdesk/BDSKDocumentPreviewController.m
trunk/bibdesk/BDSKPreviewer.h
trunk/bibdesk/BDSKPreviewer.m
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BDSKDocumentPreviewController.h
===================================================================
--- trunk/bibdesk/BDSKDocumentPreviewController.h 2026-04-16 15:29:16 UTC (rev 30219)
+++ trunk/bibdesk/BDSKDocumentPreviewController.h 2026-04-16 16:36:23 UTC (rev 30220)
@@ -57,6 +57,7 @@
FVFileView *fileView;
NSString *previewDisplayTemplate;
BDSKPreviewer *previewer;
+ CGFloat pdfScaleFactor;
}
@property (nonatomic, nullable, strong) IBOutlet NSTabView *tabView;
@@ -69,6 +70,7 @@
@property (nonatomic, nullable, strong) NSString *previewDisplayTemplate;
@property (nonatomic, nullable, readonly) BDSKPreviewer *previewer;
+@property (nonatomic) CGFloat PDFScaleFactor;
@property (nonatomic, nullable, readonly) NSScrollView *currentScrollView;
@property (nonatomic, nullable, readonly) NSString *currentSelectionString;
Modified: trunk/bibdesk/BDSKDocumentPreviewController.m
===================================================================
--- trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-16 15:29:16 UTC (rev 30219)
+++ trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-16 16:36:23 UTC (rev 30220)
@@ -58,7 +58,7 @@
@implementation BDSKDocumentPreviewController
@synthesize document, tabView, textView, fileView, previewDisplayTemplate, previewer;
-@dynamic previewDisplay, currentScrollView, currentSelectionString;
+@dynamic previewDisplay, PDFScaleFactor, currentScrollView, currentSelectionString;
- (NSString *)nibName {
return @"DocumentPreview";
@@ -86,11 +86,29 @@
- (void)prepareForTeXPreview {
if (previewer == nil && [[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey]) {
previewer = [[BDSKPreviewer alloc] init];
- [previewer setPDFScaleFactor:[document doubleForSetupKey:BDSKPreviewPDFScaleFactorKey defaultValue:0.0]];
- [[tabView tabViewItemAtIndex:BDSKPreviewDisplayTeX] setView:[previewer pdfView]];
+ (void)[previewer window];
+ BDSKZoomablePDFView *pdfView = [previewer pdfView];
+ [pdfView setScaleFactor:pdfScaleFactor];
+ [[tabView tabViewItemAtIndex:BDSKPreviewDisplayTeX] setView:pdfView];
}
}
+- (CGFloat)PDFScaleFactor {
+ PDFView *pdfView = [previewer pdfView];
+ if (pdfView)
+ return [pdfView autoScales] ? 0.0 : [pdfView scaleFactor];
+ else
+ return pdfScaleFactor;
+}
+
+- (void)setPDFScaleFactor:(CGFloat)scaleFactor {
+ PDFView *pdfView = [previewer pdfView];
+ if (pdfView)
+ [pdfView setScaleFactor:scaleFactor];
+ else
+ pdfScaleFactor = scaleFactor;
+}
+
- (void)displayTemplatedPreview {
if([textView isHiddenOrHasHiddenAncestor] || NSIsEmptyRect([textView visibleRect]))
Modified: trunk/bibdesk/BDSKPreviewer.h
===================================================================
--- trunk/bibdesk/BDSKPreviewer.h 2026-04-16 15:29:16 UTC (rev 30219)
+++ trunk/bibdesk/BDSKPreviewer.h 2026-04-16 16:36:23 UTC (rev 30220)
@@ -89,8 +89,6 @@
@property (nonatomic, nullable, strong) IBOutlet NSView *indicatorView;
@property (nonatomic, nullable, strong) IBOutlet NSLayoutConstraint *warningViewLeadingConstraint;
-@property (nonatomic) CGFloat PDFScaleFactor;
-
- (void)terminate;
@property (nonatomic, readonly, getter=isVisible) BOOL visible;
Modified: trunk/bibdesk/BDSKPreviewer.m
===================================================================
--- trunk/bibdesk/BDSKPreviewer.m 2026-04-16 15:29:16 UTC (rev 30219)
+++ trunk/bibdesk/BDSKPreviewer.m 2026-04-16 16:36:23 UTC (rev 30220)
@@ -77,7 +77,7 @@
@implementation BDSKPreviewer
@synthesize pdfView, logView, tabView, progressIndicator, warningImageView, warningTextField, warningView, indicatorView, warningViewLeadingConstraint;
-@dynamic PDFScaleFactor, visible;
+@dynamic visible;
static BDSKPreviewer *sharedPreviewer = nil;
@@ -200,18 +200,6 @@
return pdfView;
}
-- (CGFloat)PDFScaleFactor;
-{
- [self window];
- return [pdfView autoScales] ? 0.0 : [pdfView scaleFactor];
-}
-
-- (void)setPDFScaleFactor:(CGFloat)scaleFactor;
-{
- [self window];
- [pdfView setScaleFactor:scaleFactor];
-}
-
- (BOOL)isVisible{
return [[pdfView window] isVisible] || [[logView window] isVisible];
}
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-16 15:29:16 UTC (rev 30219)
+++ trunk/bibdesk/BibDocument.m 2026-04-16 16:36:23 UTC (rev 30220)
@@ -532,6 +532,8 @@
[[sidePreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKSidePreviewScaleFactorKey defaultValue:1.0]];
[[bottomPreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKBottomPreviewScaleFactorKey defaultValue:1.0]];
+ [bottomPreviewController setPDFScaleFactor:[self doubleForSetupKey:BDSKPreviewPDFScaleFactorKey defaultValue:0.0]];
+
colorLabelWell = [[BDSKColorLabelWell alloc] initWithFrame:NSMakeRect(0.0, 0.0, 198, 22.0)];
if (@available(macOS 11.0, *))
[colorLabelWell setMargin:12.0];
@@ -787,8 +789,7 @@
[dictionary setObject:[NSNumber numberWithDouble:[[bottomPreviewController textView] scaleFactor]] forKey:BDSKBottomPreviewScaleFactorKey];
[dictionary setObject:[NSNumber numberWithDouble:[[sidePreviewController textView] scaleFactor]] forKey:BDSKSidePreviewScaleFactorKey];
- if([bottomPreviewController previewer])
- [dictionary setObject:[NSNumber numberWithDouble:[[bottomPreviewController previewer] PDFScaleFactor]] forKey:BDSKPreviewPDFScaleFactorKey];
+ [dictionary setObject:[NSNumber numberWithDouble:[bottomPreviewController PDFScaleFactor]] forKey:BDSKPreviewPDFScaleFactorKey];
if(fileSearchController){
[dictionary setObject:[fileSearchController sortDescriptorData] forKey:BDSKFileContentSearchSortDescriptorKey];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-16 15:29:19
|
Revision: 30219
http://sourceforge.net/p/bibdesk/svn/30219
Author: hofman
Date: 2026-04-16 15:29:16 +0000 (Thu, 16 Apr 2026)
Log Message:
-----------
Set content border thickness for status bar in ib
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
trunk/bibdesk/BDSKErrorObjectController.m
trunk/bibdesk/BDSKFindController.m
trunk/bibdesk/Base.lproj/BDSKEditor.xib
trunk/bibdesk/Base.lproj/BDSKErrorPanel.xib
trunk/bibdesk/Base.lproj/BDSKFindPanel.xib
trunk/bibdesk/Base.lproj/BibDocument.xib
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2026-04-16 14:53:39 UTC (rev 30218)
+++ trunk/bibdesk/BDSKEditor.m 2026-04-16 15:29:16 UTC (rev 30219)
@@ -223,9 +223,6 @@
[contentView addSubview:view];
[NSLayoutConstraint activateConstraints:constraints];
- [[self window] setAutorecalculatesContentBorderThickness:NO forEdge:NSRectEdgeMinY];
- [[self window] setContentBorderThickness:NSHeight([statusBar frame]) forEdge:NSRectEdgeMinY];
-
if (editorFlags.isEditable)
[tableView setDoubleAction:@selector(raiseChangeFieldName:)];
Modified: trunk/bibdesk/BDSKErrorObjectController.m
===================================================================
--- trunk/bibdesk/BDSKErrorObjectController.m 2026-04-16 14:53:39 UTC (rev 30218)
+++ trunk/bibdesk/BDSKErrorObjectController.m 2026-04-16 15:29:16 UTC (rev 30219)
@@ -113,9 +113,6 @@
{
[self setWindowFrameAutosaveName:BDSKErrorPanelFrameAutosaveName];
- [[self window] setAutorecalculatesContentBorderThickness:NO forEdge:NSRectEdgeMinY];
- [[self window] setContentBorderThickness:24.0 forEdge:NSRectEdgeMinY];
-
[errorTableView setDoubleAction:@selector(gotoError:)];
[errorTableView setDraggingSourceOperationMask:NSDragOperationEvery forLocal:YES];
Modified: trunk/bibdesk/BDSKFindController.m
===================================================================
--- trunk/bibdesk/BDSKFindController.m 2026-04-16 14:53:39 UTC (rev 30218)
+++ trunk/bibdesk/BDSKFindController.m 2026-04-16 15:29:16 UTC (rev 30219)
@@ -127,9 +127,6 @@
[formatter setKnownFieldNames:fields];
[fieldToSearchComboBox setFormatter:formatter];
- [[self window] setAutorecalculatesContentBorderThickness:NO forEdge:NSRectEdgeMinY];
- [[self window] setContentBorderThickness:22.0 forEdge:NSRectEdgeMinY];
-
if (NO == [[NSUserDefaults standardUserDefaults] boolForKey:BDSKShowFindStatusBarKey])
[statusBar toggleBelowView:controlsView animate:NO];
Modified: trunk/bibdesk/Base.lproj/BDSKEditor.xib
===================================================================
--- trunk/bibdesk/Base.lproj/BDSKEditor.xib 2026-04-16 14:53:39 UTC (rev 30218)
+++ trunk/bibdesk/Base.lproj/BDSKEditor.xib 2026-04-16 15:29:16 UTC (rev 30219)
@@ -147,6 +147,7 @@
<constraint firstAttribute="trailing" secondItem="587" secondAttribute="trailing" id="veO-DS-cb5"/>
</constraints>
</view>
+ <contentBorderThickness minY="24"/>
<connections>
<outlet property="delegate" destination="-2" id="139"/>
</connections>
@@ -274,7 +275,7 @@
<rect key="frame" x="17" y="19" width="504" height="278"/>
<clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="04E-PM-4cc">
<rect key="frame" x="0.0" y="0.0" width="504" height="278"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <autoresizingMask key="autoresizingMask"/>
<subviews>
<tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" selectionHighlightStyle="none" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="22" viewBased="YES" id="952" customClass="BDSKEditorTableView">
<rect key="frame" x="0.0" y="0.0" width="504" height="278"/>
@@ -388,7 +389,7 @@
<rect key="frame" x="14" y="0.0" width="507" height="18"/>
<clipView key="contentView" drawsBackground="NO" id="5yl-4A-l4f">
<rect key="frame" x="0.0" y="0.0" width="507" height="18"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <autoresizingMask key="autoresizingMask"/>
<subviews>
<collectionView placeholderIntrinsicWidth="508" placeholderIntrinsicHeight="18" id="lV3-5Y-Xrk">
<rect key="frame" x="0.0" y="0.0" width="507" height="18"/>
@@ -590,7 +591,7 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<clipView key="contentView" id="qBx-V5-8HQ">
<rect key="frame" x="0.0" y="0.0" width="120" height="283"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <autoresizingMask key="autoresizingMask"/>
<subviews>
<view id="wRj-nO-Fua" customClass="FVFileView">
<rect key="frame" x="0.0" y="0.0" width="105" height="268"/>
Modified: trunk/bibdesk/Base.lproj/BDSKErrorPanel.xib
===================================================================
--- trunk/bibdesk/Base.lproj/BDSKErrorPanel.xib 2026-04-16 14:53:39 UTC (rev 30218)
+++ trunk/bibdesk/Base.lproj/BDSKErrorPanel.xib 2026-04-16 15:29:16 UTC (rev 30219)
@@ -278,6 +278,7 @@
<constraint firstItem="156" firstAttribute="leading" secondItem="8" secondAttribute="leading" constant="7" id="zuB-jH-ryI"/>
</constraints>
</view>
+ <contentBorderThickness minY="24"/>
<connections>
<outlet property="delegate" destination="-2" id="17"/>
</connections>
Modified: trunk/bibdesk/Base.lproj/BDSKFindPanel.xib
===================================================================
--- trunk/bibdesk/Base.lproj/BDSKFindPanel.xib 2026-04-16 14:53:39 UTC (rev 30218)
+++ trunk/bibdesk/Base.lproj/BDSKFindPanel.xib 2026-04-16 15:29:16 UTC (rev 30219)
@@ -556,6 +556,7 @@
<constraint firstAttribute="bottom" secondItem="81" secondAttribute="bottom" id="coi-fb-sVp"/>
</constraints>
</view>
+ <contentBorderThickness minY="22"/>
<connections>
<outlet property="delegate" destination="-2" id="39"/>
<outlet property="initialFirstResponder" destination="87" id="206"/>
Modified: trunk/bibdesk/Base.lproj/BibDocument.xib
===================================================================
--- trunk/bibdesk/Base.lproj/BibDocument.xib 2026-04-16 14:53:39 UTC (rev 30218)
+++ trunk/bibdesk/Base.lproj/BibDocument.xib 2026-04-16 15:29:16 UTC (rev 30219)
@@ -237,6 +237,7 @@
<constraint firstItem="101726" firstAttribute="leading" secondItem="6" secondAttribute="leading" id="gLF-hs-aSg"/>
</constraints>
</view>
+ <contentBorderThickness minY="24"/>
<connections>
<outlet property="delegate" destination="-2" id="17"/>
</connections>
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-16 14:53:39 UTC (rev 30218)
+++ trunk/bibdesk/BibDocument.m 2026-04-16 15:29:16 UTC (rev 30219)
@@ -420,9 +420,6 @@
[self setupToolbar];
- [documentWindow setAutorecalculatesContentBorderThickness:NO forEdge:NSRectEdgeMinY];
- [documentWindow setContentBorderThickness:NSHeight([statusBar frame]) forEdge:NSRectEdgeMinY];
-
// First remove the statusbar if we should, as it affects proper resizing of the window and splitViews
[statusBar setAlignment:NSTextAlignmentCenter];
if ([sud boolForKey:BDSKShowStatusBarKey] == NO)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-16 14:53:42
|
Revision: 30218
http://sourceforge.net/p/bibdesk/svn/30218
Author: hofman
Date: 2026-04-16 14:53:39 +0000 (Thu, 16 Apr 2026)
Log Message:
-----------
get icon scale only for grid mode
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-16 14:46:19 UTC (rev 30217)
+++ trunk/bibdesk/BibDocument.m 2026-04-16 14:53:39 UTC (rev 30218)
@@ -507,10 +507,11 @@
[groups addCategoryParent:[[BDSKCategoryParentGroup alloc] initWithKey:groupField]];
FVFileView *fileView = [sidePreviewController fileView];
- CGFloat iconScale = [self doubleForSetupKey:BDSKSideFileViewIconScaleKey];
FVDisplayMode displayMode = [self integerForSetupKey:BDSKSideFileViewDisplayModeKey];
+ CGFloat iconScale;
[fileView setDisplayMode:displayMode];
if (displayMode == FVDisplayModeGrid) {
+ iconScale = [self doubleForSetupKey:BDSKSideFileViewIconScaleKey];
if (iconScale < 0.00001)
[fileView setDisplayMode:FVDisplayModeColumn];
else
@@ -518,10 +519,10 @@
}
fileView = [bottomPreviewController fileView];
- iconScale = [self doubleForSetupKey:BDSKBottomFileViewIconScaleKey];
displayMode = [self integerForSetupKey:BDSKBottomFileViewDisplayModeKey];
[fileView setDisplayMode:displayMode];
if (displayMode == FVDisplayModeGrid) {
+ iconScale = [self doubleForSetupKey:BDSKBottomFileViewIconScaleKey];
if (iconScale < 0.00001)
[fileView setDisplayMode:FVDisplayModeRow];
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-16 14:46:22
|
Revision: 30217
http://sourceforge.net/p/bibdesk/svn/30217
Author: hofman
Date: 2026-04-16 14:46:19 +0000 (Thu, 16 Apr 2026)
Log Message:
-----------
Don't draw content background color behind center view on older systems or bottom fileview on newer systems.
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-16 14:45:09 UTC (rev 30216)
+++ trunk/bibdesk/BibDocument.m 2026-04-16 14:46:19 UTC (rev 30217)
@@ -101,7 +101,6 @@
#import "NSData_BDSKExtensions.h"
#import "NSURL_BDSKExtensions.h"
#import "NSError_BDSKExtensions.h"
-#import "BDSKColoredView.h"
#import "BDSKCustomCiteDrawerController.h"
#import "BDSKDocumentController.h"
#import "BDSKFiler.h"
@@ -340,13 +339,7 @@
NSSplitViewItem *splitViewItem;
NSViewController *centerViewController = [[NSViewController alloc] init];
- NSView *centerContentView;
- if (@available(macOS 10.14, *)) {
- centerContentView = [[NSView alloc] init];
- } else {
- centerContentView = [[BDSKColoredView alloc] init];
- [(BDSKColoredView *)centerContentView setBackgroundColor:[NSColor controlBackgroundColor]];
- }
+ NSView *centerContentView = [[NSView alloc] init];
[centerViewController setView:centerContentView];
splitViewController = [[NSSplitViewController alloc] init];
@@ -524,10 +517,6 @@
[fileView setIconScale:iconScale];
}
- // @@ Dark mode
- if ([fileView backgroundColor])
- [[fileView enclosingScrollView] setBackgroundColor:[fileView backgroundColor]];
-
fileView = [bottomPreviewController fileView];
iconScale = [self doubleForSetupKey:BDSKBottomFileViewIconScaleKey];
displayMode = [self integerForSetupKey:BDSKBottomFileViewDisplayModeKey];
@@ -541,12 +530,6 @@
// @@ Dark mode
[fileView setBackgroundColor:[[NSColor controlAlternatingRowBackgroundColors] lastObject]];
- if (@available(macOS 10.14, *)) {
- [[fileView enclosingScrollView] setBackgroundColor:[NSColor controlBackgroundColor]];
- [[fileView enclosingScrollView] setDrawsBackground:YES];
- } else {
- [[fileView enclosingScrollView] setBackgroundColor:[fileView backgroundColor]];
- }
[[sidePreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKSidePreviewScaleFactorKey defaultValue:1.0]];
[[bottomPreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKBottomPreviewScaleFactorKey defaultValue:1.0]];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-16 14:45:13
|
Revision: 30216
http://sourceforge.net/p/bibdesk/svn/30216
Author: hofman
Date: 2026-04-16 14:45:09 +0000 (Thu, 16 Apr 2026)
Log Message:
-----------
Don't disable scrollview bbakground drawing when adding background view, instead add our background view above the scrollview's background view
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2026-04-15 22:58:25 UTC (rev 30215)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2026-04-16 14:45:09 UTC (rev 30216)
@@ -1161,8 +1161,7 @@
if (scrollView && [_backgroundView superview] != scrollView) {
[_backgroundView setFrame:[[scrollView contentView] frame]];
- [scrollView addSubview:_backgroundView positioned:NSWindowBelow relativeTo:nil];
- [scrollView setDrawsBackground:NO];
+ [scrollView addSubview:_backgroundView positioned:NSWindowBelow relativeTo:[scrollView contentView]];
}
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_handleSuperviewDidResize:) name:NSViewFrameDidChangeNotification object:observedView];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 22:58:26
|
Revision: 30215
http://sourceforge.net/p/bibdesk/svn/30215
Author: hofman
Date: 2026-04-15 22:58:25 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
combine check and preview update
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
trunk/bibdesk/BibDocument_UI.h
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-15 22:45:21 UTC (rev 30214)
+++ trunk/bibdesk/BibDocument.m 2026-04-15 22:58:25 UTC (rev 30215)
@@ -679,9 +679,9 @@
[self saveWindowSetupInExtendedAttributesAtURL:[self fileURL] forEncoding:[self documentStringEncoding] resetLocal:NO];
// reset the previewer; don't send [self updatePreviews:] here, as the tableview will be gone by the time the queue posts the notification
- if ([self isPreviewSource] && [self numberOfSelectedPubs] != 0)
- [[BDSKPreviewer sharedPreviewer] updateWithoutBibTeXString];
-
+ if ([self numberOfSelectedPubs] != 0)
+ [self updateSharedPreviewerIfNeeded];
+
// always release these on the main thread, many need cleanup on the main thread,
// and having dispatch_sync for every one seperately is inefficient
[groups setValue:nil forKey:@"document"];
Modified: trunk/bibdesk/BibDocument_UI.h
===================================================================
--- trunk/bibdesk/BibDocument_UI.h 2026-04-15 22:45:21 UTC (rev 30214)
+++ trunk/bibdesk/BibDocument_UI.h 2026-04-15 22:58:25 UTC (rev 30215)
@@ -47,8 +47,7 @@
@interface BibDocument (UI) <NSMenuDelegate, QLPreviewPanelDataSource, QLPreviewPanelDelegate>
-- (BOOL)isPreviewSource;
-
+- (void)updateSharedPreviewerIfNeeded;
- (void)updatePreviews;
- (void)doUpdatePreviews;
- (void)updatePreviewer:(BDSKPreviewer *)aPreviewer;
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2026-04-15 22:45:21 UTC (rev 30214)
+++ trunk/bibdesk/BibDocument_UI.m 2026-04-15 22:58:25 UTC (rev 30215)
@@ -120,10 +120,11 @@
#pragma mark Preview updating
-- (BOOL)isPreviewSource {
- return ([[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey] &&
- [BDSKPreviewer isSharedPreviewerVisible] &&
- [[[NSDocumentController sharedDocumentController] mainDocument] isEqual:self]);
+- (void)updateSharedPreviewerIfNeeded {
+ if ([[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey] &&
+ [BDSKPreviewer isSharedPreviewerVisible] &&
+ [[[NSDocumentController sharedDocumentController] mainDocument] isEqual:self])
+ [self updatePreviewer:[BDSKPreviewer sharedPreviewer]];
}
- (void)doUpdatePreviews{
@@ -137,8 +138,7 @@
[bottomPreviewController updatePreview];
[sidePreviewController updatePreview];
- if([self isPreviewSource])
- [self updatePreviewer:[BDSKPreviewer sharedPreviewer]];
+ [self updateSharedPreviewerIfNeeded];
}
- (void)updatePreviews{
@@ -1600,8 +1600,8 @@
} else if ([keyPath isEqualToString:BDSKBibTeXStyleKey]) {
if ([bottomPreviewController previewDisplay] == BDSKPreviewDisplayTeX)
[self updatePreviews];
- else if ([self isPreviewSource])
- [self updatePreviewer:[BDSKPreviewer sharedPreviewer]];
+ else
+ [self updateSharedPreviewerIfNeeded];
} else if ([keyPath isEqualToString:BDSKUsesTeXKey]) {
BOOL usesTeX = [[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey];
[bottomPreviewButton setEnabled:usesTeX forSegment:BDSKPreviewDisplayTeX];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 22:45:23
|
Revision: 30214
http://sourceforge.net/p/bibdesk/svn/30214
Author: hofman
Date: 2026-04-15 22:45:21 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
don't check for preference twice
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-15 22:36:35 UTC (rev 30213)
+++ trunk/bibdesk/BibDocument.m 2026-04-15 22:45:21 UTC (rev 30214)
@@ -679,9 +679,8 @@
[self saveWindowSetupInExtendedAttributesAtURL:[self fileURL] forEncoding:[self documentStringEncoding] resetLocal:NO];
// reset the previewer; don't send [self updatePreviews:] here, as the tableview will be gone by the time the queue posts the notification
- if ([[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey] && [self isPreviewSource] && [self numberOfSelectedPubs] != 0) {
+ if ([self isPreviewSource] && [self numberOfSelectedPubs] != 0)
[[BDSKPreviewer sharedPreviewer] updateWithoutBibTeXString];
- }
// always release these on the main thread, many need cleanup on the main thread,
// and having dispatch_sync for every one seperately is inefficient
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 22:36:37
|
Revision: 30213
http://sourceforge.net/p/bibdesk/svn/30213
Author: hofman
Date: 2026-04-15 22:36:35 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
Always use updateWithoutBibTeXString to reset TeX preview, don't allow passing nil ibtex string to reset. Make notification handlers private.
Modified Paths:
--------------
trunk/bibdesk/BDSKPreviewer.h
trunk/bibdesk/BDSKPreviewer.m
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BDSKPreviewer.h
===================================================================
--- trunk/bibdesk/BDSKPreviewer.h 2026-04-15 22:20:52 UTC (rev 30212)
+++ trunk/bibdesk/BDSKPreviewer.h 2026-04-15 22:36:35 UTC (rev 30213)
@@ -95,23 +95,20 @@
@property (nonatomic, readonly, getter=isVisible) BOOL visible;
-- (void)handleMainDocumentDidChangeNotification:(NSNotification *)notification;
-
/*!
@method updateWithBibTeXString:citeKeys:
@abstract Given a BibTeX string, generates the PDF data and updates the previews
@discussion Takes the bibtex string, runs aproprate TeX tasks, and loads the resulting PDF into their views.
- Pass nil to reset the previews to their default state, showing the nopreview message.
This is the main method to be called from outside.
@param bibStr The bibtex string source
@param citeKeys The cite keys of the items
*/
-- (void)updateWithBibTeXString:(nullable NSString *)bibStr citeKeys:(nullable NSArray<NSString *> *)citeKeys;
+- (void)updateWithBibTeXString:(NSString *)bibStr citeKeys:(NSArray<NSString *> *)citeKeys;
/*!
@method updateWithoutBibTeXString
@abstract Reset the previews to their default state.
- @discussion Calls -updateWithBibTeXString:citeKeys: with nil arguments, to reset the previews to their default state, showing the nopreview message.
+ @discussion Shows the nopreview message.
*/
- (void)updateWithoutBibTeXString;
@@ -123,13 +120,6 @@
*/
- (void)displayPreviewsForState:(BDSKPreviewState)state success:(BOOL)success;
-/*!
- @method handleApplicationWillTerminate:
- @abstract Perform cleanup actions here, since this object never gets deallocated.
- @discussion (comprehensive description)
- @param notification (description)
-*/
-- (void)handleApplicationWillTerminate:(NSNotification *)notification;
@end
NS_ASSUME_NONNULL_END
Modified: trunk/bibdesk/BDSKPreviewer.m
===================================================================
--- trunk/bibdesk/BDSKPreviewer.m 2026-04-15 22:20:52 UTC (rev 30212)
+++ trunk/bibdesk/BDSKPreviewer.m 2026-04-15 22:36:35 UTC (rev 30213)
@@ -67,6 +67,13 @@
@end
#endif
+@interface BDSKPreviewer ()
+
+- (void)handleMainDocumentDidChangeNotification:(NSNotification *)notification;
+- (void)handleApplicationWillTerminate:(NSNotification *)notification;
+
+@end
+
@implementation BDSKPreviewer
@synthesize pdfView, logView, tabView, progressIndicator, warningImageView, warningTextField, warningView, indicatorView, warningViewLeadingConstraint;
@@ -335,21 +342,16 @@
#pragma mark TeX Tasks
- (void)updateWithoutBibTeXString{
- [self updateWithBibTeXString:nil citeKeys:nil];
+ [self displayPreviewsForState:BDSKPreviewStateEmpty success:YES];
}
- (void)updateWithBibTeXString:(NSString *)bibStr citeKeys:(NSArray *)citeKeys{
[texTask cancel];
- if([NSString isEmptyString:bibStr]){
- // reset, also removes any waiting tasks from the nextTask
- [self displayPreviewsForState:BDSKPreviewStateEmpty success:YES];
- } else {
- // this will start the spinning wheel
- [self displayPreviewsForState:BDSKPreviewStateWaiting success:YES];
- // run the tex task in the background
- [texTask runWithBibTeXString:bibStr citeKeys:citeKeys generateType:BDSKGeneratePDF];
- }
+ // this will start the spinning wheel
+ [self displayPreviewsForState:BDSKPreviewStateWaiting success:YES];
+ // run the tex task in the background
+ [texTask runWithBibTeXString:bibStr citeKeys:citeKeys generateType:BDSKGeneratePDF];
}
- (void)texTask:(BDSKTeXTask *)aTexTask finishedWithResult:(BOOL)success{
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2026-04-15 22:20:52 UTC (rev 30212)
+++ trunk/bibdesk/BibDocument_UI.m 2026-04-15 22:36:35 UTC (rev 30213)
@@ -150,10 +150,12 @@
}
}
-- (void)updatePreviewer:(BDSKPreviewer *)aPreviewer{
+- (void)updatePreviewer:(BDSKPreviewer *)previewer{
NSArray *items = [self selectedPublications];
- NSString *bibString = [items count] ? [self previewBibTeXStringForPublications:items] : nil;
- [aPreviewer updateWithBibTeXString:bibString citeKeys:[items valueForKey:@"citeKey"]];
+ if ([items count])
+ [previewer updateWithBibTeXString:[self previewBibTeXStringForPublications:items] citeKeys:[items valueForKey:@"citeKey"]];
+ else
+ [previewer updateWithoutBibTeXString];
}
#pragma mark FVFileView
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 22:20:54
|
Revision: 30212
http://sourceforge.net/p/bibdesk/svn/30212
Author: hofman
Date: 2026-04-15 22:20:52 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
revert to default to 0 scalefactor for preview pdf
Modified Paths:
--------------
trunk/bibdesk/BDSKDocumentPreviewController.m
Modified: trunk/bibdesk/BDSKDocumentPreviewController.m
===================================================================
--- trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-15 16:51:43 UTC (rev 30211)
+++ trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-15 22:20:52 UTC (rev 30212)
@@ -86,7 +86,7 @@
- (void)prepareForTeXPreview {
if (previewer == nil && [[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey]) {
previewer = [[BDSKPreviewer alloc] init];
- [previewer setPDFScaleFactor:[document doubleForSetupKey:BDSKPreviewPDFScaleFactorKey defaultValue:1.0]];
+ [previewer setPDFScaleFactor:[document doubleForSetupKey:BDSKPreviewPDFScaleFactorKey defaultValue:0.0]];
[[tabView tabViewItemAtIndex:BDSKPreviewDisplayTeX] setView:[previewer pdfView]];
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 16:51:45
|
Revision: 30211
http://sourceforge.net/p/bibdesk/svn/30211
Author: hofman
Date: 2026-04-15 16:51:43 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
declare BDSKZoomableTextView class
Modified Paths:
--------------
trunk/bibdesk/BDSKDocumentPreviewController.h
trunk/bibdesk/BDSKDocumentPreviewController.m
trunk/bibdesk/BDSKPreviewer.h
trunk/bibdesk/BDSKPreviewer.m
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BDSKDocumentPreviewController.h
===================================================================
--- trunk/bibdesk/BDSKDocumentPreviewController.h 2026-04-15 15:51:25 UTC (rev 30210)
+++ trunk/bibdesk/BDSKDocumentPreviewController.h 2026-04-15 16:51:43 UTC (rev 30211)
@@ -47,13 +47,13 @@
};
@class BibDocument;
-@class FVFileView;
+@class BDSKZoomableTextView, FVFileView;
@class BDSKPreviewer;
@interface BDSKDocumentPreviewController : NSViewController {
__weak BibDocument *document;
NSTabView *tabView;
- NSTextView *textView;
+ BDSKZoomableTextView *textView;
FVFileView *fileView;
NSString *previewDisplayTemplate;
BDSKPreviewer *previewer;
@@ -60,7 +60,7 @@
}
@property (nonatomic, nullable, strong) IBOutlet NSTabView *tabView;
-@property (nonatomic, nullable, strong) IBOutlet NSTextView *textView;
+@property (nonatomic, nullable, strong) IBOutlet BDSKZoomableTextView *textView;
@property (nonatomic, nullable, strong) IBOutlet FVFileView *fileView;
@property (nonatomic, nullable, weak) BibDocument *document;
Modified: trunk/bibdesk/BDSKDocumentPreviewController.m
===================================================================
--- trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-15 15:51:25 UTC (rev 30210)
+++ trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-15 16:51:43 UTC (rev 30211)
@@ -41,6 +41,7 @@
#import "BibDocument_DataSource.h"
#import "BibDocument_UI.h"
#import "BibDocument_Search.h"
+#import "BDSKZoomableTextView.h"
#import <FileView/FileView.h>
#import "BDSKTemplateParser.h"
#import "BDSKTemplate.h"
Modified: trunk/bibdesk/BDSKPreviewer.h
===================================================================
--- trunk/bibdesk/BDSKPreviewer.h 2026-04-15 15:51:25 UTC (rev 30210)
+++ trunk/bibdesk/BDSKPreviewer.h 2026-04-15 16:51:43 UTC (rev 30211)
@@ -43,7 +43,7 @@
NS_ASSUME_NONNULL_BEGIN
-@class PDFView, BDSKZoomablePDFView, BDSKTeXTask;
+@class BDSKZoomableTextView, BDSKZoomablePDFView, BDSKTeXTask;
typedef NS_ENUM(NSInteger, BDSKPreviewState) {
BDSKPreviewStateUnknown = -1,
@@ -59,7 +59,7 @@
*/
@interface BDSKPreviewer : NSWindowController <BDSKTeXTaskDelegate> {
BDSKZoomablePDFView *pdfView;
- NSTextView *logView;
+ BDSKZoomableTextView *logView;
NSTabView *tabView;
NSProgressIndicator *progressIndicator;
NSImageView *warningImageView;
@@ -80,7 +80,7 @@
@property (class, nonatomic, readonly, getter=isSharedPreviewerVisible) BOOL sharedPreviewerVisible;
@property (nonatomic, retain) IBOutlet BDSKZoomablePDFView *pdfView;
-@property (nonatomic, nullable, strong) IBOutlet NSTextView *logView;
+@property (nonatomic, nullable, strong) IBOutlet BDSKZoomableTextView *logView;
@property (nonatomic, nullable, strong) IBOutlet NSTabView *tabView;
@property (nonatomic, nullable, strong) IBOutlet NSProgressIndicator *progressIndicator;
@property (nonatomic, nullable, strong) IBOutlet NSImageView *warningImageView;
Modified: trunk/bibdesk/BDSKPreviewer.m
===================================================================
--- trunk/bibdesk/BDSKPreviewer.m 2026-04-15 15:51:25 UTC (rev 30210)
+++ trunk/bibdesk/BDSKPreviewer.m 2026-04-15 16:51:43 UTC (rev 30211)
@@ -241,7 +241,7 @@
if (tabIndex == BDSKPreviewerTabIndexPDF)
[pdfView printSelection:sender];
else if (tabIndex == BDSKPreviewerTabIndexLog)
- [(BDSKZoomableTextView *)logView printSelection:sender];
+ [logView printSelection:sender];
}
#pragma mark Drawing methods
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-15 15:51:25 UTC (rev 30210)
+++ trunk/bibdesk/BibDocument.m 2026-04-15 16:51:43 UTC (rev 30211)
@@ -548,8 +548,8 @@
[[fileView enclosingScrollView] setBackgroundColor:[fileView backgroundColor]];
}
- [(BDSKZoomableTextView *)[sidePreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKSidePreviewScaleFactorKey defaultValue:1.0]];
- [(BDSKZoomableTextView *)[bottomPreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKBottomPreviewScaleFactorKey defaultValue:1.0]];
+ [[sidePreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKSidePreviewScaleFactorKey defaultValue:1.0]];
+ [[bottomPreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKBottomPreviewScaleFactorKey defaultValue:1.0]];
colorLabelWell = [[BDSKColorLabelWell alloc] initWithFrame:NSMakeRect(0.0, 0.0, 198, 22.0)];
if (@available(macOS 11.0, *))
@@ -804,8 +804,8 @@
[dictionary setObject:[NSNumber numberWithInteger:[fileView displayMode]] forKey:BDSKSideFileViewDisplayModeKey];
[dictionary setObject:[NSNumber numberWithDouble:([fileView displayMode] == FVDisplayModeGrid ? [fileView iconScale] : 0.0)] forKey:BDSKSideFileViewIconScaleKey];
- [dictionary setObject:[NSNumber numberWithDouble:[(BDSKZoomableTextView *)[bottomPreviewController textView] scaleFactor]] forKey:BDSKBottomPreviewScaleFactorKey];
- [dictionary setObject:[NSNumber numberWithDouble:[(BDSKZoomableTextView *)[sidePreviewController textView] scaleFactor]] forKey:BDSKSidePreviewScaleFactorKey];
+ [dictionary setObject:[NSNumber numberWithDouble:[[bottomPreviewController textView] scaleFactor]] forKey:BDSKBottomPreviewScaleFactorKey];
+ [dictionary setObject:[NSNumber numberWithDouble:[[sidePreviewController textView] scaleFactor]] forKey:BDSKSidePreviewScaleFactorKey];
if([bottomPreviewController previewer])
[dictionary setObject:[NSNumber numberWithDouble:[[bottomPreviewController previewer] PDFScaleFactor]] forKey:BDSKPreviewPDFScaleFactorKey];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 15:51:28
|
Revision: 30210
http://sourceforge.net/p/bibdesk/svn/30210
Author: hofman
Date: 2026-04-15 15:51:25 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
remove BDSKSplitView class files
Modified Paths:
--------------
trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
Removed Paths:
-------------
trunk/bibdesk/BDSKSplitView.h
trunk/bibdesk/BDSKSplitView.m
Deleted: trunk/bibdesk/BDSKSplitView.h
===================================================================
--- trunk/bibdesk/BDSKSplitView.h 2026-04-15 15:49:56 UTC (rev 30209)
+++ trunk/bibdesk/BDSKSplitView.h 2026-04-15 15:51:25 UTC (rev 30210)
@@ -1,50 +0,0 @@
-//
-// BDSKSplitView.h
-// Bibdesk
-//
-// Created by Christiaan Hofman on 2/18/09.
-/*
- This software is Copyright (c) 2009
- Christiaan Hofman. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Christiaan Hofman nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import <Cocoa/Cocoa.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface BDSKSplitView : NSSplitView {
- BOOL animating;
-}
-@property (nonatomic, readonly, getter=isAnimating) BOOL animating;
-- (void)setPosition:(CGFloat)position ofDividerAtIndex:(NSInteger)dividerIndex animate:(BOOL)animate;
-@end
-
-NS_ASSUME_NONNULL_END
Deleted: trunk/bibdesk/BDSKSplitView.m
===================================================================
--- trunk/bibdesk/BDSKSplitView.m 2026-04-15 15:49:56 UTC (rev 30209)
+++ trunk/bibdesk/BDSKSplitView.m 2026-04-15 15:51:25 UTC (rev 30210)
@@ -1,107 +0,0 @@
-//
-// BDSKSplitView.m
-// Bibdesk
-//
-// Created by Christiaan Hofman on 2/18/09.
-/*
- This software is Copyright (c) 2009
- Christiaan Hofman. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Christiaan Hofman nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "BDSKSplitView.h"
-#import "NSAnimationContext_BDSKExtensions.h"
-#import <QuartzCore/QuartzCore.h>
-
-
-@implementation BDSKSplitView
-
-@synthesize animating;
-
-+ (id)defaultAnimationForKey:(NSString *)key {
- if ([key isEqualToString:@"firstSplitPosition"] || [key isEqualToString:@"secondSplitPosition"])
- return [CABasicAnimation animation];
- else
- return [super defaultAnimationForKey:key];
-}
-
-- (CGFloat)firstSplitPosition {
- NSView *view = [[self subviews] objectAtIndex:0];
- if ([self isSubviewCollapsed:view])
- return [self minPossiblePositionOfDividerAtIndex:0];
- else if ([self isVertical])
- return NSMaxX([view frame]);
- else
- return NSMaxY([view frame]);
-}
-
-- (void)setFirstSplitPosition:(CGFloat)position {
- [self setPosition:position ofDividerAtIndex:0];
-}
-
-- (CGFloat)secondSplitPosition {
- NSView *view = [[self subviews] objectAtIndex:1];
- if ([self isSubviewCollapsed:view])
- return [self minPossiblePositionOfDividerAtIndex:1];
- else if ([self isVertical])
- return NSMaxX([view frame]);
- else
- return NSMaxY([view frame]);
-}
-
-- (void)setSecondSplitPosition:(CGFloat)position {
- [self setPosition:position ofDividerAtIndex:1];
-}
-
-- (void)setPosition:(CGFloat)position ofDividerAtIndex:(NSInteger)dividerIndex animate:(BOOL)animate {
- NSTimeInterval duration = [NSAnimationContext defaultAnimationTimeInterval];
-
- if (animating) {
- // do nothing
- } else if (animate == NO || duration <= 0.0) {
- [self setPosition:position ofDividerAtIndex:dividerIndex];
- } else {
- animating = YES;
- [NSAnimationContext runAnimationGroup:^(NSAnimationContext *context){
- [context setDuration:duration];
- if (dividerIndex == 0)
- [[self animator] setFirstSplitPosition:position];
- else if (dividerIndex == 1)
- [[self animator] setSecondSplitPosition:position];
- else
- [self setPosition:position ofDividerAtIndex:dividerIndex];
- }
- completionHandler:^{
- animating = NO;
- }];
- }
-}
-
-@end
Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
===================================================================
--- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2026-04-15 15:49:56 UTC (rev 30209)
+++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2026-04-15 15:51:25 UTC (rev 30210)
@@ -326,7 +326,6 @@
CE2A0A7522459A2D00A8F31C /* BDSKSIAMParser.h in Headers */ = {isa = PBXBuildFile; fileRef = CE624DB42030BCAE004B6E0B /* BDSKSIAMParser.h */; };
CE2A0A7622459A2D00A8F31C /* BDSKSmartGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = CEFDBDBB0AEA86BA009EE99D /* BDSKSmartGroup.h */; };
CE2A0A7722459A3100A8F31C /* BDSKSortCommand.h in Headers */ = {isa = PBXBuildFile; fileRef = CE83E3A30D294EE300BB7AD8 /* BDSKSortCommand.h */; };
- CE2A0A7822459A3100A8F31C /* BDSKSplitView.h in Headers */ = {isa = PBXBuildFile; fileRef = CE62E0910F4C46D600BDF01E /* BDSKSplitView.h */; };
CE2A0A7922459A3100A8F31C /* BDSKSpringerParser.h in Headers */ = {isa = PBXBuildFile; fileRef = CD62952F1140DDDA002E4751 /* BDSKSpringerParser.h */; };
CE2A0A7A22459A3100A8F31C /* BDSKStaticGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = CEFDBDC30AEA86F0009EE99D /* BDSKStaticGroup.h */; };
CE2A0A7B22459A3100A8F31C /* BDSKStatusBar.h in Headers */ = {isa = PBXBuildFile; fileRef = CE30FAD50919713100CB1A19 /* BDSKStatusBar.h */; };
@@ -518,7 +517,6 @@
CE62DE4E0F4B790C00BDF01E /* Preferences.plist in Resources */ = {isa = PBXBuildFile; fileRef = CE62DE4D0F4B790C00BDF01E /* Preferences.plist */; };
CE62DE510F4B797B00BDF01E /* ToolbarNext.tiff in Resources */ = {isa = PBXBuildFile; fileRef = CE62DE4F0F4B797B00BDF01E /* ToolbarNext.tiff */; };
CE62DE520F4B797B00BDF01E /* ToolbarPrevious.tiff in Resources */ = {isa = PBXBuildFile; fileRef = CE62DE500F4B797B00BDF01E /* ToolbarPrevious.tiff */; };
- CE62E0940F4C46D600BDF01E /* BDSKSplitView.m in Sources */ = {isa = PBXBuildFile; fileRef = CE62E0920F4C46D600BDF01E /* BDSKSplitView.m */; };
CE62E0BA0F4C4A2100BDF01E /* BDSKTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = CE62E0B80F4C4A2100BDF01E /* BDSKTableView.m */; };
CE62E0C00F4C4A5500BDF01E /* BDSKOutlineView.m in Sources */ = {isa = PBXBuildFile; fileRef = CE62E0BE0F4C4A5500BDF01E /* BDSKOutlineView.m */; };
CE65AE052263784700465ECC /* relaunch.m in Sources */ = {isa = PBXBuildFile; fileRef = CE65AE042263784700465ECC /* relaunch.m */; };
@@ -1637,8 +1635,6 @@
CE62DE4D0F4B790C00BDF01E /* Preferences.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Preferences.plist; sourceTree = "<group>"; };
CE62DE4F0F4B797B00BDF01E /* ToolbarNext.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = ToolbarNext.tiff; sourceTree = "<group>"; };
CE62DE500F4B797B00BDF01E /* ToolbarPrevious.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = ToolbarPrevious.tiff; sourceTree = "<group>"; };
- CE62E0910F4C46D600BDF01E /* BDSKSplitView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BDSKSplitView.h; sourceTree = "<group>"; };
- CE62E0920F4C46D600BDF01E /* BDSKSplitView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BDSKSplitView.m; sourceTree = "<group>"; };
CE62E0B70F4C4A2100BDF01E /* BDSKTableView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BDSKTableView.h; sourceTree = "<group>"; };
CE62E0B80F4C4A2100BDF01E /* BDSKTableView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BDSKTableView.m; sourceTree = "<group>"; };
CE62E0BD0F4C4A5500BDF01E /* BDSKOutlineView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BDSKOutlineView.h; sourceTree = "<group>"; };
@@ -2729,7 +2725,6 @@
F9EF21B308B1572500AAC9A9 /* BDSKScrollableTextField.m */,
F9EF21B508B1572500AAC9A9 /* BDSKScrollableTextFieldCell.m */,
CEE8445128EAE17C009FD564 /* BDSKSecureTextField.m */,
- CE62E0920F4C46D600BDF01E /* BDSKSplitView.m */,
CE30FAD60919713100CB1A19 /* BDSKStatusBar.m */,
CE62E0B80F4C4A2100BDF01E /* BDSKTableView.m */,
CE33D605136AB73600ACE924 /* BDSKTextImportItemTableView.m */,
@@ -3495,7 +3490,6 @@
CEFDBDBB0AEA86BA009EE99D /* BDSKSmartGroup.h */,
CEB4F49622428F59008240EE /* BDSKSoapBinding.h */,
CE83E3A30D294EE300BB7AD8 /* BDSKSortCommand.h */,
- CE62E0910F4C46D600BDF01E /* BDSKSplitView.h */,
CD62952F1140DDDA002E4751 /* BDSKSpringerParser.h */,
CE3D27C62DBB85AA002EA644 /* BDSKSRUGroupServer.h */,
CEFDBDC30AEA86F0009EE99D /* BDSKStaticGroup.h */,
@@ -3938,7 +3932,6 @@
CEAC848D261236F3009C4E15 /* BDSKComboBoxCell.h in Headers */,
CE2A0AE922459A5100A8F31C /* NSWorkspace_BDSKExtensions.h in Headers */,
CE2A0A00224599E100A8F31C /* BDSKFileSearch.h in Headers */,
- CE2A0A7822459A3100A8F31C /* BDSKSplitView.h in Headers */,
CE0DFCB72F895F580043888A /* BDSKDocumentGroupViewController.h in Headers */,
CE2A09DC224599B300A8F31C /* BDSKConverter.h in Headers */,
CE2A0A2C224599EF00A8F31C /* BDSKMainTableView.h in Headers */,
@@ -5003,7 +4996,6 @@
CEB420A926587CF700D1CE69 /* BDSKFlippedView.m in Sources */,
CE62DE350F4B75B400BDF01E /* BDSKPreferencePane.m in Sources */,
CE62DE3C0F4B777800BDF01E /* BDSKPreferenceWindow.m in Sources */,
- CE62E0940F4C46D600BDF01E /* BDSKSplitView.m in Sources */,
CE62E0BA0F4C4A2100BDF01E /* BDSKTableView.m in Sources */,
CE62E0C00F4C4A5500BDF01E /* BDSKOutlineView.m in Sources */,
CEDBDE4C0F4C863500190AF5 /* BDSKPreferenceRecord.m in Sources */,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 15:50:20
|
Revision: 30209
http://sourceforge.net/p/bibdesk/svn/30209
Author: hofman
Date: 2026-04-15 15:49:56 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
remove splitview category
Modified Paths:
--------------
trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
Removed Paths:
-------------
trunk/bibdesk/NSSplitView_BDSKExtensions.h
trunk/bibdesk/NSSplitView_BDSKExtensions.m
Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
===================================================================
--- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2026-04-15 15:49:14 UTC (rev 30208)
+++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2026-04-15 15:49:56 UTC (rev 30209)
@@ -425,7 +425,6 @@
CE2A0ADB22459A5100A8F31C /* NSScanner_BDSKExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = CE564D230AECBA5B002F0A24 /* NSScanner_BDSKExtensions.h */; };
CE2A0ADC22459A5100A8F31C /* NSScriptCommand_BDSKExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = CE0D24C6215A84F3001A3F47 /* NSScriptCommand_BDSKExtensions.h */; };
CE2A0ADD22459A5100A8F31C /* NSSet_BDSKExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = F9463F4309436F7500CC4549 /* NSSet_BDSKExtensions.h */; };
- CE2A0ADE22459A5100A8F31C /* NSSplitView_BDSKExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = CEE7ACE6109E2F360072D63C /* NSSplitView_BDSKExtensions.h */; };
CE2A0ADF22459A5100A8F31C /* NSString_BDSKExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = F9022C9E0758038000C3F701 /* NSString_BDSKExtensions.h */; };
CE2A0AE022459A5100A8F31C /* NSTableHeaderView_BDSKExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = CE969E310931E4F500EE3DFD /* NSTableHeaderView_BDSKExtensions.h */; };
CE2A0AE122459A5100A8F31C /* NSTableView_BDSKExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = CE77A7FB0923BEBA0019D901 /* NSTableView_BDSKExtensions.h */; };
@@ -738,7 +737,6 @@
CEE23BE40BFBA78F002B746B /* previewtemplate.tex in Copy Files: Shared Support */ = {isa = PBXBuildFile; fileRef = F91B5CC7076579830011ED22 /* previewtemplate.tex */; };
CEE23BE50BFBA78F002B746B /* template.txt in Copy Files: Shared Support */ = {isa = PBXBuildFile; fileRef = F91B5CE407657A200011ED22 /* template.txt */; };
CEE50487104D662500636237 /* BDSKNotesSearchIndex.m in Sources */ = {isa = PBXBuildFile; fileRef = CEE50486104D662500636237 /* BDSKNotesSearchIndex.m */; };
- CEE7ACE9109E2F360072D63C /* NSSplitView_BDSKExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = CEE7ACE7109E2F360072D63C /* NSSplitView_BDSKExtensions.m */; };
CEE8445228EAE17C009FD564 /* BDSKSecureTextField.h in Headers */ = {isa = PBXBuildFile; fileRef = CEE8445028EAE17C009FD564 /* BDSKSecureTextField.h */; };
CEE8445328EAE17C009FD564 /* BDSKSecureTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = CEE8445128EAE17C009FD564 /* BDSKSecureTextField.m */; };
CEE882B926697C0500574E12 /* BDSKControlTableCellView.h in Headers */ = {isa = PBXBuildFile; fileRef = CEE882B726697C0500574E12 /* BDSKControlTableCellView.h */; };
@@ -2012,8 +2010,6 @@
CEE23BD50BFBA6D6002B746B /* Scripts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Scripts; sourceTree = "<group>"; };
CEE50486104D662500636237 /* BDSKNotesSearchIndex.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BDSKNotesSearchIndex.m; sourceTree = "<group>"; };
CEE50488104D664200636237 /* BDSKNotesSearchIndex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BDSKNotesSearchIndex.h; sourceTree = "<group>"; };
- CEE7ACE6109E2F360072D63C /* NSSplitView_BDSKExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSSplitView_BDSKExtensions.h; sourceTree = "<group>"; };
- CEE7ACE7109E2F360072D63C /* NSSplitView_BDSKExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSSplitView_BDSKExtensions.m; sourceTree = "<group>"; };
CEE8445028EAE17C009FD564 /* BDSKSecureTextField.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BDSKSecureTextField.h; sourceTree = "<group>"; };
CEE8445128EAE17C009FD564 /* BDSKSecureTextField.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BDSKSecureTextField.m; sourceTree = "<group>"; };
CEE882B726697C0500574E12 /* BDSKControlTableCellView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BDSKControlTableCellView.h; sourceTree = "<group>"; };
@@ -2759,7 +2755,6 @@
F9FD63DB0A61B87800F9871B /* NSMenu_BDSKExtensions.m */,
CE6C04430BEDFA2D007BF0B5 /* NSParagraphStyle_BDSKExtensions.m */,
CE7611510EA49B6E00301E45 /* NSPrintOperation_BDSKExtensions.m */,
- CEE7ACE7109E2F360072D63C /* NSSplitView_BDSKExtensions.m */,
CE969E320931E4F500EE3DFD /* NSTableHeaderView_BDSKExtensions.m */,
CE77A7FC0923BEBA0019D901 /* NSTableView_BDSKExtensions.m */,
F9022CA10758038000C3F701 /* NSTextView_BDSKExtensions.m */,
@@ -3606,7 +3601,6 @@
CE0D24C6215A84F3001A3F47 /* NSScriptCommand_BDSKExtensions.h */,
F9463F4309436F7500CC4549 /* NSSet_BDSKExtensions.h */,
CEF94412092668EA00750FFA /* NSSortDescriptor_BDSKExtensions.h */,
- CEE7ACE6109E2F360072D63C /* NSSplitView_BDSKExtensions.h */,
F9022C9E0758038000C3F701 /* NSString_BDSKExtensions.h */,
CE969E310931E4F500EE3DFD /* NSTableHeaderView_BDSKExtensions.h */,
CE77A7FB0923BEBA0019D901 /* NSTableView_BDSKExtensions.h */,
@@ -3816,7 +3810,6 @@
CE2A0AE722459A5100A8F31C /* NSWindow+Scripting.h in Headers */,
CE2A0A9922459A3600A8F31C /* BDSKURLGroup.h in Headers */,
CE2A0A11224599E900A8F31C /* BDSKGroupOutlineView.h in Headers */,
- CE2A0ADE22459A5100A8F31C /* NSSplitView_BDSKExtensions.h in Headers */,
CE2A0A13224599E900A8F31C /* BDSKHCiteParser.h in Headers */,
CE2A09B82245997A00A8F31C /* BDSKAppController+Scripting.h in Headers */,
CE2A0A0E224599E900A8F31C /* BDSKGroup.h in Headers */,
@@ -5038,7 +5031,6 @@
CEB596C2263C5029000798F9 /* BDSKRadioTransformer.m in Sources */,
CEEC1A331091F31600530207 /* NSEvent_BDSKExtensions.m in Sources */,
CE8DAD901098976400896F69 /* BDSKMetadataCacheOperation.m in Sources */,
- CEE7ACE9109E2F360072D63C /* NSSplitView_BDSKExtensions.m in Sources */,
CEFF6D4210C14D7D006CFC80 /* BDSKExternalGroup.m in Sources */,
CE24B33510C3E13900818EDF /* BDSKLibraryGroup.m in Sources */,
CE24B35510C3E9E100818EDF /* BDSKLastImportGroup.m in Sources */,
Deleted: trunk/bibdesk/NSSplitView_BDSKExtensions.h
===================================================================
--- trunk/bibdesk/NSSplitView_BDSKExtensions.h 2026-04-15 15:49:14 UTC (rev 30208)
+++ trunk/bibdesk/NSSplitView_BDSKExtensions.h 2026-04-15 15:49:56 UTC (rev 30209)
@@ -1,76 +0,0 @@
-//
-// NSSplitView_BDSKExtensions.h
-// Bibdesk
-//
-// Created by Christiaan Hofman on 11/1/09.
-/*
- This software is Copyright (c) 2009
- Christiaan Hofman. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Christiaan Hofman nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-/*
- Omni Source License 2007
-
- OPEN PERMISSION TO USE AND REPRODUCE OMNI SOURCE CODE SOFTWARE
-
- Omni Source Code software is available from The Omni Group on their
- web site at http://www.omnigroup.com/www.omnigroup.com.
-
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- "Software"), to deal in the Software without restriction, including
- without limitation the rights to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Software, and to
- permit persons to whom the Software is furnished to do so, subject to
- the following conditions:
-
- Any original copyright notices and this permission notice shall be
- included in all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import <Cocoa/Cocoa.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface NSSplitView (BDSKExtensions)
-
-@property (nonatomic) CGFloat fraction;
-
-@end
-
-NS_ASSUME_NONNULL_END
Deleted: trunk/bibdesk/NSSplitView_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSSplitView_BDSKExtensions.m 2026-04-15 15:49:14 UTC (rev 30208)
+++ trunk/bibdesk/NSSplitView_BDSKExtensions.m 2026-04-15 15:49:56 UTC (rev 30209)
@@ -1,112 +0,0 @@
-//
-// NSSplitView_BDSKExtensions.m
-// Bibdesk
-//
-// Created by Christiaan Hofman on 11/1/09.
-/*
- This software is Copyright (c) 2009
- Christiaan Hofman. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
-
- - Neither the name of Christiaan Hofman nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-/*
- Omni Source License 2007
-
- OPEN PERMISSION TO USE AND REPRODUCE OMNI SOURCE CODE SOFTWARE
-
- Omni Source Code software is available from The Omni Group on their
- web site at http://www.omnigroup.com/www.omnigroup.com.
-
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- "Software"), to deal in the Software without restriction, including
- without limitation the rights to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Software, and to
- permit persons to whom the Software is furnished to do so, subject to
- the following conditions:
-
- Any original copyright notices and this permission notice shall be
- included in all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- */
-
-#import "NSSplitView_BDSKExtensions.h"
-
-
-@implementation NSSplitView (BDSKExtensions)
-
-- (CGFloat)fraction {
- if ([[self subviews] count] < 2)
- return 0.0;
-
- NSRect firstFrame = [[[self subviews] objectAtIndex:0] frame];
- NSRect secondFrame = [[[self subviews] objectAtIndex:1] frame];
-
- if ([self isVertical])
- return NSWidth(secondFrame) / (NSWidth(secondFrame) + NSWidth(firstFrame));
- else
- return NSHeight(secondFrame) / (NSHeight(secondFrame) + NSHeight(firstFrame));
-}
-
-- (void)setFraction:(CGFloat)newFraction {
- NSRect firstFrame, secondFrame;
- NSView *firstView;
- NSView *secondView;
-
- if ([[self subviews] count] < 2)
- return;
-
- firstView = [[self subviews] objectAtIndex:0];
- secondView = [[self subviews] objectAtIndex:1];
- firstFrame = [firstView frame];
- secondFrame = [secondView frame];
- if ([self isVertical]) {
- CGFloat totalWidth = NSWidth(secondFrame) + NSWidth(firstFrame);
- secondFrame.size.width = newFraction * totalWidth;
- firstFrame.size.width = totalWidth - NSWidth(secondFrame);
- } else {
- CGFloat totalHeight = NSHeight(secondFrame) + NSHeight(firstFrame);
- secondFrame.size.height = newFraction * totalHeight;
- firstFrame.size.height = totalHeight - NSHeight(secondFrame);
- }
- [firstView setFrame:firstFrame];
- [secondView setFrame:secondFrame];
-
- [self adjustSubviews];
- [self setNeedsDisplay:YES];
-}
-
-@end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 15:49:17
|
Revision: 30208
http://sourceforge.net/p/bibdesk/svn/30208
Author: hofman
Date: 2026-04-15 15:49:14 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
no need to import splitview category
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
trunk/bibdesk/BibDocument_Groups.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-15 15:39:41 UTC (rev 30207)
+++ trunk/bibdesk/BibDocument.m 2026-04-15 15:49:14 UTC (rev 30208)
@@ -120,7 +120,6 @@
#import "NSInvocation_BDSKExtensions.h"
#import "NSEvent_BDSKExtensions.h"
#import "BDSKMetadataCacheOperation.h"
-#import "NSSplitView_BDSKExtensions.h"
#import "NSAttributedString_BDSKExtensions.h"
#import "NSPasteboard_BDSKExtensions.h"
#import "BDSKSaveAccessoryViewController.h"
Modified: trunk/bibdesk/BibDocument_Groups.m
===================================================================
--- trunk/bibdesk/BibDocument_Groups.m 2026-04-15 15:39:41 UTC (rev 30207)
+++ trunk/bibdesk/BibDocument_Groups.m 2026-04-15 15:49:14 UTC (rev 30208)
@@ -83,7 +83,6 @@
#import "NSView_BDSKExtensions.h"
#import "BDSKFileContentSearchController.h"
#import "NSEvent_BDSKExtensions.h"
-#import "NSSplitView_BDSKExtensions.h"
#import "BDSKButtonBar.h"
#import "NSMenu_BDSKExtensions.h"
#import "BDSKBookmarkSheetController.h"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 15:39:43
|
Revision: 30207
http://sourceforge.net/p/bibdesk/svn/30207
Author: hofman
Date: 2026-04-15 15:39:41 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
save main table splitview fraction also with webgroup, as the fraction should be the same
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-15 15:24:53 UTC (rev 30206)
+++ trunk/bibdesk/BibDocument.m 2026-04-15 15:39:41 UTC (rev 30207)
@@ -768,12 +768,15 @@
[dictionary setObject:[NSNumber numberWithDouble:[item isCollapsed] ? 0.0 : NSWidth([[[item viewController] view] frame])] forKey:BDSKGroupPaneWidthKey];
item = [[splitViewController splitViewItems] lastObject];
[dictionary setObject:[NSNumber numberWithDouble:[item isCollapsed] ? 0.0 : NSWidth([[[item viewController] view] frame])] forKey:BDSKSidebarWidthKey];
- if (NO == [self hasGroupTypeSelected:BDSKWebGroupType]) {
- item = [[centerSplitViewController splitViewItems] lastObject];
- NSSplitView *splitView = [centerSplitViewController splitView];
- CGFloat fraction = [item isCollapsed] ? 0.0 : NSHeight([[[item viewController] view] frame]) / fmax(1.0, NSHeight([splitView frame]) - [splitView dividerThickness]);
- [dictionary setObject:[NSNumber numberWithDouble:fraction] forKey:BDSKMainTableSplitViewFractionKey];
+ NSArray *items = [centerSplitViewController splitViewItems];
+ item = [items lastObject];
+ CGFloat fraction = 0.0;
+ if ([item isCollapsed] == NO) {
+ CGFloat height = NSHeight([[[item viewController] view] frame]);
+ item = [items objectAtIndex:[items count] - 2];
+ fraction = height / (height + NSHeight([[[item viewController] view] frame]));
}
+ [dictionary setObject:[NSNumber numberWithDouble:fraction] forKey:BDSKMainTableSplitViewFractionKey];
[dictionary setObject:[NSNumber numberWithDouble:lastWebViewFraction] forKey:BDSKWebViewFractionKey];
[dictionary setObject:[self currentGroupFields] forKey:BDSKCurrentGroupFieldsKey];
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2026-04-15 15:24:53 UTC (rev 30206)
+++ trunk/bibdesk/BibDocument_UI.m 2026-04-15 15:39:41 UTC (rev 30207)
@@ -1380,17 +1380,19 @@
}
- (void)handleSplitViewDidResizeSubviewsDelayed {
- if ([self hasGroupTypeSelected:BDSKWebGroupType])
- return;
- NSSplitViewItem *item = [[centerSplitViewController splitViewItems] lastObject];
- NSSplitView *splitView = [centerSplitViewController splitView];
- CGFloat fraction = [item isCollapsed] ? 0.0 : NSHeight([[[item viewController] view] frame]) / fmax(1.0, NSHeight([splitView frame]) - [splitView dividerThickness]);
+ NSArray *items = [centerSplitViewController splitViewItems];
+ NSSplitViewItem *item = [items lastObject];
+ CGFloat fraction = 0.0;
+ if ([item isCollapsed] == NO) {
+ CGFloat height = NSHeight([[[item viewController] view] frame]);
+ item = [items objectAtIndex:[items count] - 2];
+ fraction = height / (height + NSHeight([[[item viewController] view] frame]));
+ }
[[NSUserDefaults standardUserDefaults] setDouble:fraction forKey:BDSKMainTableSplitViewFractionKey];
}
- (void)handleSplitViewDidResizeSubviews:(NSNotification *)notification {
- if ([self hasGroupTypeSelected:BDSKWebGroupType] == NO)
- [self performSelectorOnce:@selector(handleSplitViewDidResizeSubviewsDelayed) withObject:nil afterDelay:0.0];
+ [self performSelectorOnce:@selector(handleSplitViewDidResizeSubviewsDelayed) withObject:nil afterDelay:0.0];
}
- (void)registerForNotifications{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 15:24:54
|
Revision: 30206
http://sourceforge.net/p/bibdesk/svn/30206
Author: hofman
Date: 2026-04-15 15:24:53 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
reuse variable
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-15 14:54:25 UTC (rev 30205)
+++ trunk/bibdesk/BibDocument.m 2026-04-15 15:24:53 UTC (rev 30206)
@@ -514,41 +514,41 @@
for (NSString *groupField in currentGroupFields)
[groups addCategoryParent:[[BDSKCategoryParentGroup alloc] initWithKey:groupField]];
- FVFileView *sideFileView = [sidePreviewController fileView];
- FVFileView *bottomFileView = [bottomPreviewController fileView];
-
- // @@ Dark mode
-
- if ([sideFileView backgroundColor])
- [[sideFileView enclosingScrollView] setBackgroundColor:[sideFileView backgroundColor]];
- [bottomFileView setBackgroundColor:[[NSColor controlAlternatingRowBackgroundColors] lastObject]];
- if (@available(macOS 10.14, *)) {
- [[bottomFileView enclosingScrollView] setBackgroundColor:[NSColor controlBackgroundColor]];
- [[bottomFileView enclosingScrollView] setDrawsBackground:YES];
- } else {
- [[bottomFileView enclosingScrollView] setBackgroundColor:[bottomFileView backgroundColor]];
- }
-
+ FVFileView *fileView = [sidePreviewController fileView];
CGFloat iconScale = [self doubleForSetupKey:BDSKSideFileViewIconScaleKey];
FVDisplayMode displayMode = [self integerForSetupKey:BDSKSideFileViewDisplayModeKey];
- [sideFileView setDisplayMode:displayMode];
+ [fileView setDisplayMode:displayMode];
if (displayMode == FVDisplayModeGrid) {
if (iconScale < 0.00001)
- [sideFileView setDisplayMode:FVDisplayModeColumn];
+ [fileView setDisplayMode:FVDisplayModeColumn];
else
- [sideFileView setIconScale:iconScale];
+ [fileView setIconScale:iconScale];
}
+ // @@ Dark mode
+ if ([fileView backgroundColor])
+ [[fileView enclosingScrollView] setBackgroundColor:[fileView backgroundColor]];
+
+ fileView = [bottomPreviewController fileView];
iconScale = [self doubleForSetupKey:BDSKBottomFileViewIconScaleKey];
displayMode = [self integerForSetupKey:BDSKBottomFileViewDisplayModeKey];
- [bottomFileView setDisplayMode:displayMode];
+ [fileView setDisplayMode:displayMode];
if (displayMode == FVDisplayModeGrid) {
if (iconScale < 0.00001)
- [bottomFileView setDisplayMode:FVDisplayModeRow];
+ [fileView setDisplayMode:FVDisplayModeRow];
else
- [bottomFileView setIconScale:iconScale];
+ [fileView setIconScale:iconScale];
}
+ // @@ Dark mode
+ [fileView setBackgroundColor:[[NSColor controlAlternatingRowBackgroundColors] lastObject]];
+ if (@available(macOS 10.14, *)) {
+ [[fileView enclosingScrollView] setBackgroundColor:[NSColor controlBackgroundColor]];
+ [[fileView enclosingScrollView] setDrawsBackground:YES];
+ } else {
+ [[fileView enclosingScrollView] setBackgroundColor:[fileView backgroundColor]];
+ }
+
[(BDSKZoomableTextView *)[sidePreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKSidePreviewScaleFactorKey defaultValue:1.0]];
[(BDSKZoomableTextView *)[bottomPreviewController textView] setScaleFactor:[self doubleForSetupKey:BDSKBottomPreviewScaleFactorKey defaultValue:1.0]];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 14:54:27
|
Revision: 30205
http://sourceforge.net/p/bibdesk/svn/30205
Author: hofman
Date: 2026-04-15 14:54:25 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
change localization files, don't know how, perhaps encoding
Modified Paths:
--------------
trunk/bibdesk/de.lproj/DocumentMainTable.strings
trunk/bibdesk/fr.lproj/DocumentMainTable.strings
Modified: trunk/bibdesk/de.lproj/DocumentMainTable.strings
===================================================================
--- trunk/bibdesk/de.lproj/DocumentMainTable.strings 2026-04-15 14:46:28 UTC (rev 30204)
+++ trunk/bibdesk/de.lproj/DocumentMainTable.strings 2026-04-15 14:54:25 UTC (rev 30205)
@@ -1,3 +1,4 @@
-
-/* Class = "NSButtonCell"; title = "Import"; ObjectID = "BOW-Co-Lsm"; */
-"BOW-Co-Lsm.title" = "Importieren";
+\xFF\xFE
+++\ No newline at end of file
Modified: trunk/bibdesk/fr.lproj/DocumentMainTable.strings
===================================================================
--- trunk/bibdesk/fr.lproj/DocumentMainTable.strings 2026-04-15 14:46:28 UTC (rev 30204)
+++ trunk/bibdesk/fr.lproj/DocumentMainTable.strings 2026-04-15 14:54:25 UTC (rev 30205)
@@ -1,3 +1,4 @@
-
-/* Class = "NSButtonCell"; title = "Import"; ObjectID = "BOW-Co-Lsm"; */
-"BOW-Co-Lsm.title" = "Importer";
+\xFF\xFE
+++\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 14:46:32
|
Revision: 30204
http://sourceforge.net/p/bibdesk/svn/30204
Author: hofman
Date: 2026-04-15 14:46:28 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
set UYF-16 encoding for string files
Modified Paths:
--------------
trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
trunk/bibdesk/en.lproj/DocumentMainTable.strings
Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
===================================================================
--- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2026-04-15 14:46:03 UTC (rev 30203)
+++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj 2026-04-15 14:46:28 UTC (rev 30204)
@@ -1981,9 +1981,9 @@
CECBFA42216124AD007565DE /* BDSKTypeInfo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BDSKTypeInfo.h; sourceTree = "<group>"; };
CECBFA43216124AD007565DE /* BDSKTypeInfo.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BDSKTypeInfo.m; sourceTree = "<group>"; };
CED006732F89A006005C9CD1 /* DocumentPreview.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = DocumentPreview.xib; sourceTree = "<group>"; };
- CED006782F89B08E005C9CD1 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/DocumentMainTable.strings; sourceTree = "<group>"; };
- CED0067A2F89B097005C9CD1 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/DocumentMainTable.strings; sourceTree = "<group>"; };
- CED0067B2F89B09A005C9CD1 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/DocumentMainTable.strings; sourceTree = "<group>"; };
+ CED006782F89B08E005C9CD1 /* en */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/DocumentMainTable.strings; sourceTree = "<group>"; };
+ CED0067A2F89B097005C9CD1 /* fr */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/DocumentMainTable.strings; sourceTree = "<group>"; };
+ CED0067B2F89B09A005C9CD1 /* de */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/DocumentMainTable.strings; sourceTree = "<group>"; };
CED0106A22678EC2008E6130 /* Relaunch.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Relaunch.xcconfig; sourceTree = "<group>"; };
CED010752267959C008E6130 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; };
CED5203022846D6100F87B8A /* BDSKTouchBarButtonGroup.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BDSKTouchBarButtonGroup.m; sourceTree = "<group>"; };
Modified: trunk/bibdesk/en.lproj/DocumentMainTable.strings
===================================================================
--- trunk/bibdesk/en.lproj/DocumentMainTable.strings 2026-04-15 14:46:03 UTC (rev 30203)
+++ trunk/bibdesk/en.lproj/DocumentMainTable.strings 2026-04-15 14:46:28 UTC (rev 30204)
@@ -1,3 +1,4 @@
-
-/* Class = "NSButtonCell"; title = "Import"; ObjectID = "BOW-Co-Lsm"; */
-"BOW-Co-Lsm.title" = "Import";
+\xFF\xFE
+++\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 14:46:05
|
Revision: 30203
http://sourceforge.net/p/bibdesk/svn/30203
Author: hofman
Date: 2026-04-15 14:46:03 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
remove placeholder text field title
Modified Paths:
--------------
trunk/bibdesk/Base.lproj/BDSKEditor.xib
Modified: trunk/bibdesk/Base.lproj/BDSKEditor.xib
===================================================================
--- trunk/bibdesk/Base.lproj/BDSKEditor.xib 2026-04-15 14:35:11 UTC (rev 30202)
+++ trunk/bibdesk/Base.lproj/BDSKEditor.xib 2026-04-15 14:46:03 UTC (rev 30203)
@@ -632,7 +632,7 @@
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
</tableHeaderCell>
- <textFieldCell key="dataCell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" title="Text Cell" id="f0x-Uj-xad">
+ <textFieldCell key="dataCell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" id="f0x-Uj-xad">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 14:35:13
|
Revision: 30202
http://sourceforge.net/p/bibdesk/svn/30202
Author: hofman
Date: 2026-04-15 14:35:11 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
remove unused variable
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2026-04-15 14:26:42 UTC (rev 30201)
+++ trunk/bibdesk/BDSKEditor.m 2026-04-15 14:35:11 UTC (rev 30202)
@@ -930,7 +930,6 @@
- (IBAction)raiseDelField:(id)sender{
// populate the popupbutton
- NSString *currentType = [publication pubType];
NSArray *removableFields = [fields objectsAtIndexes:customFieldRows];
NSString *prompt = [removableFields count] ? NSLocalizedString(@"Name of field to remove:", @"Label for removing field") : NSLocalizedString(@"No fields to remove", @"Label when no field to remove");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 14:26:43
|
Revision: 30201
http://sourceforge.net/p/bibdesk/svn/30201
Author: hofman
Date: 2026-04-15 14:26:42 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
default tex preview scale factor of 100%
Modified Paths:
--------------
trunk/bibdesk/BDSKDocumentPreviewController.m
Modified: trunk/bibdesk/BDSKDocumentPreviewController.m
===================================================================
--- trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-15 08:41:26 UTC (rev 30200)
+++ trunk/bibdesk/BDSKDocumentPreviewController.m 2026-04-15 14:26:42 UTC (rev 30201)
@@ -85,7 +85,7 @@
- (void)prepareForTeXPreview {
if (previewer == nil && [[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey]) {
previewer = [[BDSKPreviewer alloc] init];
- [previewer setPDFScaleFactor:[document doubleForSetupKey:BDSKPreviewPDFScaleFactorKey defaultValue:0.0]];
+ [previewer setPDFScaleFactor:[document doubleForSetupKey:BDSKPreviewPDFScaleFactorKey defaultValue:1.0]];
[[tabView tabViewItemAtIndex:BDSKPreviewDisplayTeX] setView:[previewer pdfView]];
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 08:41:28
|
Revision: 30200
http://sourceforge.net/p/bibdesk/svn/30200
Author: hofman
Date: 2026-04-15 08:41:26 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
update preview after resetting preview display
Modified Paths:
--------------
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2026-04-15 08:38:54 UTC (rev 30199)
+++ trunk/bibdesk/BibDocument_UI.m 2026-04-15 08:41:26 UTC (rev 30200)
@@ -1604,6 +1604,7 @@
if (usesTeX == NO && [bottomPreviewController previewDisplay] == BDSKPreviewDisplayTeX) {
[bottomPreviewButton selectSegmentWithTag:BDSKPreviewDisplayText];
[bottomPreviewController setPreviewDisplay:BDSKPreviewDisplayText];
+ [bottomPreviewController updatePreview];
}
} else if ([keyPath isEqualToString:BDSKHideGroupCountKey]) {
for (BDSKGroup *group in [groups allChildren])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-15 08:38:56
|
Revision: 30199
http://sourceforge.net/p/bibdesk/svn/30199
Author: hofman
Date: 2026-04-15 08:38:54 +0000 (Wed, 15 Apr 2026)
Log Message:
-----------
don't change peview display prefs when disabling tex
Modified Paths:
--------------
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2026-04-14 22:54:48 UTC (rev 30198)
+++ trunk/bibdesk/BibDocument_UI.m 2026-04-15 08:38:54 UTC (rev 30199)
@@ -1599,10 +1599,11 @@
else if ([self isPreviewSource])
[self updatePreviewer:[BDSKPreviewer sharedPreviewer]];
} else if ([keyPath isEqualToString:BDSKUsesTeXKey]) {
- [bottomPreviewButton setEnabled:[[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey] forSegment:BDSKPreviewDisplayTeX];
- if ([bottomPreviewController previewDisplay] == BDSKPreviewDisplayTeX) {
+ BOOL usesTeX = [[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey];
+ [bottomPreviewButton setEnabled:usesTeX forSegment:BDSKPreviewDisplayTeX];
+ if (usesTeX == NO && [bottomPreviewController previewDisplay] == BDSKPreviewDisplayTeX) {
[bottomPreviewButton selectSegmentWithTag:BDSKPreviewDisplayText];
- [bottomPreviewButton sendAction:[bottomPreviewButton action] to:[bottomPreviewButton target]];
+ [bottomPreviewController setPreviewDisplay:BDSKPreviewDisplayText];
}
} else if ([keyPath isEqualToString:BDSKHideGroupCountKey]) {
for (BDSKGroup *group in [groups allChildren])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ho...@us...> - 2026-04-14 22:54:49
|
Revision: 30198
http://sourceforge.net/p/bibdesk/svn/30198
Author: hofman
Date: 2026-04-14 22:54:48 +0000 (Tue, 14 Apr 2026)
Log Message:
-----------
don't select TeX preview when not using TeX
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2026-04-14 21:22:58 UTC (rev 30197)
+++ trunk/bibdesk/BibDocument.m 2026-04-14 22:54:48 UTC (rev 30198)
@@ -436,21 +436,26 @@
if ([sud boolForKey:BDSKShowStatusBarKey] == NO)
[self toggleStatusBar:nil];
- [bottomPreviewController setPreviewDisplay:[self integerForSetupKey:BDSKBottomPreviewDisplayKey]];
+ BDSKPreviewDisplay previewDisplay = [self integerForSetupKey:BDSKBottomPreviewDisplayKey];
+ if (previewDisplay == BDSKPreviewDisplayTeX && [[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey] == NO)
+ previewDisplay = BDSKPreviewDisplayText;
+ [bottomPreviewController setPreviewDisplay:previewDisplay];
[bottomPreviewController setPreviewDisplayTemplate:[self objectForSetupKey:BDSKBottomPreviewDisplayTemplateKey]];
- [sidePreviewController setPreviewDisplay:[self integerForSetupKey:BDSKSidePreviewDisplayKey]];
- [sidePreviewController setPreviewDisplayTemplate:[self objectForSetupKey:BDSKSidePreviewDisplayTemplateKey]];
bottomTemplatePreviewMenu = [[NSMenu alloc] init];
[bottomTemplatePreviewMenu setDelegate:self];
[bottomPreviewButton setMenu:bottomTemplatePreviewMenu forSegment:0];
[bottomPreviewButton setEnabled:[sud boolForKey:BDSKUsesTeXKey] forSegment:BDSKPreviewDisplayTeX];
- [bottomPreviewButton selectSegmentWithTag:[bottomPreviewController previewDisplay]];
+ [bottomPreviewButton selectSegmentWithTag:previewDisplay];
+ previewDisplay = [self integerForSetupKey:BDSKSidePreviewDisplayKey];
+ [sidePreviewController setPreviewDisplay:previewDisplay];
+ [sidePreviewController setPreviewDisplayTemplate:[self objectForSetupKey:BDSKSidePreviewDisplayTemplateKey]];
+
sideTemplatePreviewMenu = [[NSMenu alloc] init];
[sideTemplatePreviewMenu setDelegate:self];
[sidePreviewButton setMenu:sideTemplatePreviewMenu forSegment:0];
- [sidePreviewButton selectSegmentWithTag:[sidePreviewController previewDisplay]];
+ [sidePreviewButton selectSegmentWithTag:previewDisplay];
// this gives NSZeroRect for incompatible or nil values
NSRect frameRect = NSRectFromString([self objectForSetupKey:BDSKDocumentWindowFrameKey defaultValue:nil]);
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2026-04-14 21:22:58 UTC (rev 30197)
+++ trunk/bibdesk/BibDocument_UI.m 2026-04-14 22:54:48 UTC (rev 30198)
@@ -1600,6 +1600,10 @@
[self updatePreviewer:[BDSKPreviewer sharedPreviewer]];
} else if ([keyPath isEqualToString:BDSKUsesTeXKey]) {
[bottomPreviewButton setEnabled:[[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey] forSegment:BDSKPreviewDisplayTeX];
+ if ([bottomPreviewController previewDisplay] == BDSKPreviewDisplayTeX) {
+ [bottomPreviewButton selectSegmentWithTag:BDSKPreviewDisplayText];
+ [bottomPreviewButton sendAction:[bottomPreviewButton action] to:[bottomPreviewButton target]];
+ }
} else if ([keyPath isEqualToString:BDSKHideGroupCountKey]) {
for (BDSKGroup *group in [groups allChildren])
[self updateCountBubbleForGroup:group inView:nil];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|