Fixes for 0.4.1 !324

merged merged by cmc on 2026-10-13 01:18 UTC · krz/orgstar:fixes-0.4.1 into main

17 files changed, +156 −48

Layout: unified · split

Sources/OrgApp/DocxWriter.swift +8 −1
@@ -23,7 +23,7 @@ enum DocxWriter {
2323 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2424 <w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" \
2525 xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><w:body>\(body)\
26 <w:sectPr><w:pgMar w:top="1134" w:right="1134" w:bottom="1134" w:left="1134" w:header="0" w:footer="0" w:gutter="0"/></w:sectPr>\
26 \(section(letter: PDFExport.usesLetter()))\
2727 </w:body></w:document>
2828 """
2929 let relationships = links.enumerated().map { index, url in
@@ -52,6 +52,13 @@ enum DocxWriter {
5252 return zip.data()
5353 }
5454
55 /// The page: Letter or A4, as PDF export has it. Without a size, readers pick their own, and
56 /// Quick Look and Pages pick a narrow one.
57 static func section(letter: Bool) -> String {
58 let size = letter ? "<w:pgSz w:w=\"12240\" w:h=\"15840\"/>" : "<w:pgSz w:w=\"11906\" w:h=\"16838\"/>"
59 return "<w:sectPr>\(size)<w:pgMar w:top=\"1134\" w:right=\"1134\" w:bottom=\"1134\" w:left=\"1134\" w:header=\"0\" w:footer=\"0\" w:gutter=\"0\"/></w:sectPr>"
60 }
61
5562 /// Paragraphs in order, consecutive ones in the same table gathered into `<w:tbl>`.
5663 /// A `<w:tbl>` of rows of cells, each cell its paragraphs.
5764 static func table(_ rows: [[String]], columns: Int) -> String {
Sources/OrgApp/PDFExport.swift +6 −2
@@ -9,6 +9,11 @@ import UIKit
99/// PDF from the HTML export, laid out and paginated by WebKit as printing does: no Emacs or TeX.
1010@MainActor
1111public enum PDFExport {
12 /// US Letter where it's the custom, A4 elsewhere.
13 nonisolated static func usesLetter(_ region: String? = Locale.current.region?.identifier) -> Bool {
14 ["US", "CA", "MX", "PH", "CL", "CO", "VE", "PR"].contains(region ?? "")
15 }
16
1217 public struct Failure: Error, CustomStringConvertible {
1318 public let description: String
1419 }
@@ -99,8 +104,7 @@ public enum PDFExport {
99104 }
100105 #else
101106 private static func render(_ webView: WKWebView) async throws -> Data {
102 // US Letter where it's the custom, A4 elsewhere.
103 let letter = ["US", "CA", "MX", "PH", "CL", "CO", "VE", "PR"].contains(Locale.current.region?.identifier ?? "")
107 let letter = usesLetter()
104108 let paper = CGRect(x: 0, y: 0, width: letter ? 612 : 595.2, height: letter ? 792 : 841.8)
105109 let renderer = UIPrintPageRenderer()
106110 renderer.addPrintFormatter(webView.viewPrintFormatter(), startingAtPageAt: 0)
Sources/OrgCore/Commands/StructureCommands.swift +3 −1
@@ -47,7 +47,9 @@ extension EmacsBuffer {
4747 let blank = blankBeforeHeading
4848 let level = currentLevel
4949 let stars = String(repeating: "*", count: level ?? 1)
50 let invisible = hidden.contains { $0.contains(max(point - 1, 0)) }
50 // The caret at the end of a folded heading's line, just before its hidden body, is where
51 // Emacs's point sits behind the ellipsis.
52 let invisible = hidden.contains { $0.contains(max(point - 1, 0)) || (!$0.isEmpty && $0.lowerBound == point + 1 && atHeading && eolp) }
5153 if respectContent || invisible {
5254 if level == nil {
5355 outlineNextHeading()
Sources/OrgEditorAppKit/Theme.swift +3
@@ -68,6 +68,9 @@ struct Theme {
6868 style.firstLineHeadIndent = CGFloat(firstLine) * column
6969 style.headIndent = CGFloat(wrapped) * column
7070 style.lineSpacing = CGFloat(max(0, spec.lineSpacing))
71 // `tab-width` 8, counted from the line's own start, past org-indent's indentation.
72 style.defaultTabInterval = 8 * column
73 style.tabStops = (1...32).map { NSTextTab(textAlignment: .left, location: style.firstLineHeadIndent + CGFloat($0 * 8) * column) }
7174 return style
7275 }
7376
Sources/OrgstarMobile/CaptureScreen.swift +17 −2
@@ -271,6 +271,16 @@ struct QuestionField: View {
271271 if !tags.contains(choice) { answer = (tags + [choice]).joined(separator: ":") }
272272 }
273273
274 /// `date` at the next whole hour from now when it has no time of day yet, for a time
275 /// switched on; otherwise as it is.
276 static func timed(_ date: Date, now: Date = Date()) -> Date {
277 let calendar = Calendar.current
278 let parts = calendar.dateComponents([.hour, .minute], from: date)
279 guard parts.hour == 0, parts.minute == 0 else { return date }
280 let hour = min(calendar.component(.hour, from: now) + 1, 23)
281 return calendar.date(bySettingHour: hour, minute: 0, second: 0, of: date) ?? date
282 }
283
274284 static func stamp(_ date: Date, withTime: Bool) -> String {
275285 let formatter = DateFormatter()
276286 formatter.locale = Locale(identifier: "en_US_POSIX")
@@ -335,7 +345,7 @@ private struct EntryFields: View {
335345 }
336346
337347 static func initial(_ stamp: Timestamp?) -> Date {
338 guard let stamp else { return Date() }
348 guard let stamp else { return Calendar.current.startOfDay(for: Date()) }
339349 let point = stamp.start
340350 return Calendar.current.date(from: DateComponents(year: point.year, month: point.month, day: point.day, hour: point.hour, minute: point.minute)) ?? Date()
341351 }
@@ -363,6 +373,7 @@ private struct DateTimeSheet: View {
363373 Form {
364374 DatePicker(title, selection: $date, displayedComponents: .date).datePickerStyle(.graphical)
365375 Toggle("Time", isOn: $withTime)
376 .onChange(of: withTime) { if withTime { date = QuestionField.timed(date) } }
366377 if withTime { DatePicker("Time", selection: $date, displayedComponents: .hourAndMinute) }
367378 }
368379 .navigationTitle(title)
@@ -373,7 +384,11 @@ private struct DateTimeSheet: View {
373384 }
374385 }
375386 .presentationDetents([.large])
376 .onAppear { date = initial }
387 .onAppear {
388 date = initial
389 let parts = Calendar.current.dateComponents([.hour, .minute], from: initial)
390 withTime = parts.hour != 0 || parts.minute != 0
391 }
377392 }
378393}
379394
Sources/OrgstarMobile/EditorScreen.swift +13 −13
@@ -649,10 +649,10 @@ struct KeyBar: View {
649649 private static let keys: [(label: String, symbol: String?, keys: String)] = [
650650 ("Fold", "arrow.right.to.line", "TAB"),
651651 ("Overview", "arrow.left.to.line", "S-TAB"),
652 ("Promote", "arrow.left", "M-<left>"),
653 ("Demote", "arrow.right", "M-<right>"),
654 ("Move up", "arrow.up", "M-<up>"),
655 ("Move down", "arrow.down", "M-<down>"),
652 ("Promote", "decrease.indent", "M-<left>"),
653 ("Demote", "increase.indent", "M-<right>"),
654 ("Move up", "arrow.up.square", "M-<up>"),
655 ("Move down", "arrow.down.square", "M-<down>"),
656656 ("New heading or item", "plus", "M-RET"),
657657 ("TODO", nil, "C-c C-t"),
658658 ("Act at point", "checkmark.square", "C-c C-c"),
@@ -691,6 +691,7 @@ struct PromptSheet: View {
691691 let answer: (String?) -> Void
692692 @State private var text = ""
693693 @State private var date = Date()
694 @State private var withTime = false
694695 @State private var keys: [FastSelection.Input] = []
695696
696697 var body: some View {
@@ -710,7 +711,13 @@ struct PromptSheet: View {
710711 if prompt.date != nil {
711712 DatePicker("Date", selection: $date, displayedComponents: [.date])
712713 .datePickerStyle(.graphical)
713 .onChange(of: date) { text = Self.stamp(date) }
714 .onChange(of: date) { text = QuestionField.stamp(date, withTime: withTime) }
715 Toggle("Time", isOn: $withTime)
716 .onChange(of: withTime) {
717 if withTime { date = QuestionField.timed(date) }
718 text = QuestionField.stamp(date, withTime: withTime)
719 }
720 if withTime { DatePicker("Time", selection: $date, displayedComponents: .hourAndMinute) }
714721 }
715722 if !prompt.choices.isEmpty {
716723 let matching = prompt.choices.filter { lastPart.isEmpty || $0.localizedCaseInsensitiveContains(lastPart) }
@@ -736,7 +743,7 @@ struct PromptSheet: View {
736743 }
737744 .onAppear {
738745 text = prompt.initial
739 if let day = prompt.date?.defaultDate { date = day }
746 date = prompt.date?.defaultDate ?? Calendar.current.startOfDay(for: Date())
740747 }
741748 }
742749
@@ -781,13 +788,6 @@ struct PromptSheet: View {
781788 if fast.multiple, !fast.inherited.isEmpty { Text("Inherited: :" + fast.inherited.joined(separator: ":") + ":") }
782789 }
783790 }
784
785 static func stamp(_ date: Date) -> String {
786 let formatter = DateFormatter()
787 formatter.locale = Locale(identifier: "en_US_POSIX")
788 formatter.dateFormat = "yyyy-MM-dd"
789 return formatter.string(from: date)
790 }
791791}
792792
793793/// `org-edit-special` and `org-table-edit-field`: the text edited apart, put back with Save.
Sources/OrgstarMobile/MobileEditor+Display.swift +14 −2
@@ -221,13 +221,25 @@ extension MobileEditor {
221221 textView.scrollRangeToVisible(NSRange(location: target, length: 0))
222222 }
223223
224 /// The caret left hidden text (a tap past a fold): what hides it opens.
224 /// The caret in hidden text: an arrow key moving forward into a fold jumps past it and
225 /// moving back jumps to the end of the heading line, as on the Mac; a tap past a fold
226 /// opens it.
225227 func selectionChanged() {
226228 let interval = Perf.begin("editor.selection")
227229 defer { interval.end() }
228230 redrawSelectedBlocks()
229231 let caret = textView.selectedRange.location
230 if hidden.containing(caret) != nil { unfold(around: caret) }
232 defer {
233 previousCaret = textView.selectedRange.location
234 movedByArrow = false
235 }
236 if let range = hidden.containing(caret) {
237 if movedByArrow, textView.selectedRange.length == 0 {
238 textView.selectedRange = NSRange(location: caret >= previousCaret ? range.upperBound : range.lowerBound - 1, length: 0)
239 } else {
240 unfold(around: caret)
241 }
242 }
231243 revealCaretLine()
232244 }
233245}
Sources/OrgstarMobile/MobileEditor.swift +4
@@ -108,6 +108,9 @@ final class MobileEditor: NSObject, DocumentBuffer {
108108 internal(set) var fold = FoldState()
109109 var globalVisibility: GlobalVisibility?
110110 let hidden = LockedRanges()
111 /// An arrow key moved the caret, and where it was before; the caret skips folds then.
112 var movedByArrow = false
113 var previousCaret = 0
111114 /// Blocks drawn on a band.
112115 let shaded = LockedRanges()
113116 let fragmentStyle = FragmentStyle()
@@ -444,6 +447,7 @@ final class MobileEditor: NSObject, DocumentBuffer {
444447 /// The Emacs keymap's commands on an iPad keyboard. Keys it doesn't bind, Command shortcuts
445448 /// and editing keys (C-a, C-e, C-k...) are the text system's.
446449 func handleKey(_ key: UIKey) -> Bool {
450 movedByArrow = [.keyboardUpArrow, .keyboardDownArrow, .keyboardLeftArrow, .keyboardRightArrow].contains(key.keyCode)
447451 guard let chord = Self.chord(key), !chord.modifiers.contains(.command) else { return false }
448452 if isearch != nil, isearchKey(chord) { return true }
449453 if modal { return handleModal(chord) }
Sources/OrgstarMobile/MobileTheme.swift +3
@@ -74,6 +74,9 @@ struct MobileTheme {
7474 style.firstLineHeadIndent = CGFloat(firstLine) * column
7575 style.headIndent = CGFloat(wrapped) * column
7676 style.lineSpacing = CGFloat(max(0, spec.lineSpacing))
77 // `tab-width` 8, counted from the line's own start, past org-indent's indentation.
78 style.defaultTabInterval = 8 * column
79 style.tabStops = (1...32).map { NSTextTab(textAlignment: .left, location: style.firstLineHeadIndent + CGFloat($0 * 8) * column) }
7780 return style
7881 }
7982
Tests/OrgAppTests/RichTextExportTests.swift +8
@@ -45,11 +45,19 @@ struct RichTextExportTests {
4545 let data = DocxWriter.data(from: try RichTextExport.attributed(html: page, directory: nil), tables: tables)
4646 let xml = String(decoding: data, as: UTF8.self)
4747 #expect(xml.contains("<w:tbl>") && !xml.contains("\u{E000}"))
48 // A page size of its own, or readers choose a narrow one.
49 #expect(xml.contains("<w:pgSz w:w="))
4850 let back = try NSAttributedString(data: data, options: [:], documentAttributes: nil).string
4951 #expect(back.contains("Report") && back.contains("Count") && back.contains("second"), "\(back)")
5052 #expect(RichTextExport.decode("a &amp;lt; &#233;&#x41; &quot;") == "a &lt; éA \"")
5153 }
5254
55 @Test func wordPagesAreLetterOrA4() {
56 #expect(PDFExport.usesLetter("US") && !PDFExport.usesLetter("DE") && !PDFExport.usesLetter(nil))
57 #expect(DocxWriter.section(letter: true).contains("<w:pgSz w:w=\"12240\" w:h=\"15840\"/>"))
58 #expect(DocxWriter.section(letter: false).contains("<w:pgSz w:w=\"11906\" w:h=\"16838\"/>"))
59 }
60
5361 @Test func plainTextAndDarkSystemsStayReadable() throws {
5462 let text = try RichTextExport.attributed(html: Self.html, directory: nil)
5563 let plain = RichTextExport.plain(text)
Tests/OrgCoreTests/StructureCommandTests.swift +15
@@ -35,6 +35,21 @@ struct StructureCommandTests {
3535 }
3636 #expect(result.selection == [9..<9])
3737 }
38
39 /// The caret at the end of a folded heading stands for Emacs's point behind the ellipsis:
40 /// the new heading goes after the subtree, not between the heading and its folded body.
41 @Test func newHeadingAtTheEndOfAFoldedHeadingGoesAfterTheSubtree() {
42 let text = "* One\nbody one\n** One child\nchild body\n* Two\nbody two\n"
43 // As the editors hide a folded heading: the lines after it, to its section's end.
44 let fold = 6..<(text as NSString).range(of: "* Two").location
45 let context = EditContext(revision: 0, text: text, tree: OrgParser.parse(text), selection: [5..<5], hidden: [fold])
46 guard case .commit(let result) = InsertHeading().run(in: context) else {
47 Issue.record("expected a commit")
48 return
49 }
50 let new = result.edits.sorted { $0.range.lowerBound > $1.range.lowerBound }.reduce(text) { $1.apply(to: $0) }
51 #expect(new == "* One\nbody one\n** One child\nchild body\n* \n* Two\nbody two\n")
52 }
3853}
3954
4055struct StructureOracleTests {
Tests/OrgEditorAppKitTests/EditorTests.swift +9
@@ -136,6 +136,15 @@ struct FoldingTests {
136136 #expect(h.caret == 3)
137137 }
138138
139 @Test func newHeadingAtTheEndOfAFoldedHeadingGoesAfterItsSubtree() {
140 let h = Harness(outline)
141 h.caret(at: 1)
142 h.editor.cycleAtCaret()
143 h.caret(at: 3)
144 h.editor.run("org.heading.insert")
145 #expect(h.string == "* a\nbody\n** b\nmore\n* \n* c\ntext\n")
146 }
147
139148 @Test func copyingAcrossAFoldIncludesHiddenText() {
140149 let h = Harness(outline)
141150 h.caret(at: 1)
Tests/OrgEditorAppKitTests/TabTests.swift added +26
@@ -0,0 +1,26 @@
1import AppKit
2import OrgDocument
3import Testing
4@testable import OrgEditorAppKit
5
6/// Tabs stop every 8 columns from the line's start, as `tab-width` 8 does in Emacs, so text
7/// aligned with spaces under a tab-indented line stays aligned.
8@MainActor
9struct TabTests {
10 static let text = "* Lists\n\t1. Spelling and\n vice-versa.\n\t\ta. Design\n should\n"
11
12 func x(_ h: Harness, _ needle: String) -> CGFloat {
13 h.layout()
14 let offset = (Self.text as NSString).range(of: needle).location
15 return h.textView.firstRect(forCharacterRange: NSRange(location: offset, length: 1), actualRange: nil).minX
16 }
17
18 @Test(arguments: [true, false]) func tabsAreEightColumns(indented: Bool) {
19 let h = Harness(DocumentState(bytes: Array(Self.text.utf8)), layout: false)
20 h.editor.indented = indented
21 h.editor.restyleOutsideEditing(0..<(Self.text as NSString).length)
22 h.drainStyling()
23 #expect(abs(x(h, "Spelling") - x(h, "vice")) < 1)
24 #expect(abs(x(h, "Design") - x(h, "should")) < 1)
25 }
26}
ios/Orgstar.xcodeproj/project.pbxproj +24 −24
@@ -700,7 +700,7 @@
700700 isa = XCBuildConfiguration;
701701 buildSettings = {
702702 CODE_SIGN_STYLE = Automatic;
703 CURRENT_PROJECT_VERSION = 6;
703 CURRENT_PROJECT_VERSION = 7;
704704 DEVELOPMENT_TEAM = ZCNAX3VL9D;
705705 GENERATE_INFOPLIST_FILE = NO;
706706 INFOPLIST_FILE = OrgstarQuickLook/Info.plist;
@@ -709,7 +709,7 @@
709709 "@executable_path/Frameworks",
710710 "@executable_path/../../Frameworks",
711711 );
712 MARKETING_VERSION = 0.4.0;
712 MARKETING_VERSION = 0.4.1;
713713 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.quicklook;
714714 PRODUCT_NAME = "$(TARGET_NAME)";
715715 SKIP_INSTALL = YES;
@@ -722,7 +722,7 @@
722722 buildSettings = {
723723 CODE_SIGN_ENTITLEMENTS = OrgstarShare/OrgstarShare.entitlements;
724724 CODE_SIGN_STYLE = Automatic;
725 CURRENT_PROJECT_VERSION = 6;
725 CURRENT_PROJECT_VERSION = 7;
726726 DEVELOPMENT_TEAM = ZCNAX3VL9D;
727727 GENERATE_INFOPLIST_FILE = NO;
728728 INFOPLIST_FILE = OrgstarShare/Info.plist;
@@ -731,7 +731,7 @@
731731 "@executable_path/Frameworks",
732732 "@executable_path/../../Frameworks",
733733 );
734 MARKETING_VERSION = 0.4.0;
734 MARKETING_VERSION = 0.4.1;
735735 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.share;
736736 PRODUCT_NAME = "$(TARGET_NAME)";
737737 SKIP_INSTALL = YES;
@@ -744,7 +744,7 @@
744744 buildSettings = {
745745 CODE_SIGN_ENTITLEMENTS = OrgstarShare/OrgstarShare.entitlements;
746746 CODE_SIGN_STYLE = Automatic;
747 CURRENT_PROJECT_VERSION = 6;
747 CURRENT_PROJECT_VERSION = 7;
748748 DEVELOPMENT_TEAM = ZCNAX3VL9D;
749749 GENERATE_INFOPLIST_FILE = NO;
750750 INFOPLIST_FILE = OrgstarShare/Info.plist;
@@ -753,7 +753,7 @@
753753 "@executable_path/Frameworks",
754754 "@executable_path/../../Frameworks",
755755 );
756 MARKETING_VERSION = 0.4.0;
756 MARKETING_VERSION = 0.4.1;
757757 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.share;
758758 PRODUCT_NAME = "$(TARGET_NAME)";
759759 SKIP_INSTALL = YES;
@@ -767,7 +767,7 @@
767767 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
768768 CODE_SIGN_ENTITLEMENTS = Orgstar/Orgstar.entitlements;
769769 CODE_SIGN_STYLE = Automatic;
770 CURRENT_PROJECT_VERSION = 6;
770 CURRENT_PROJECT_VERSION = 7;
771771 DEVELOPMENT_TEAM = ZCNAX3VL9D;
772772 GENERATE_INFOPLIST_FILE = NO;
773773 INFOPLIST_FILE = Orgstar/Info.plist;
@@ -777,7 +777,7 @@
777777 "$(inherited)",
778778 "@executable_path/Frameworks",
779779 );
780 MARKETING_VERSION = 0.4.0;
780 MARKETING_VERSION = 0.4.1;
781781 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar;
782782 PRODUCT_MODULE_NAME = OrgstarMobile;
783783 PRODUCT_NAME = Orgstar;
@@ -790,7 +790,7 @@
790790 buildSettings = {
791791 CODE_SIGN_ENTITLEMENTS = OrgstarWidgets/OrgstarWidgets.entitlements;
792792 CODE_SIGN_STYLE = Automatic;
793 CURRENT_PROJECT_VERSION = 6;
793 CURRENT_PROJECT_VERSION = 7;
794794 DEVELOPMENT_TEAM = ZCNAX3VL9D;
795795 GENERATE_INFOPLIST_FILE = NO;
796796 INFOPLIST_FILE = OrgstarWidgets/Info.plist;
@@ -800,7 +800,7 @@
800800 "@executable_path/Frameworks",
801801 "@executable_path/../../Frameworks",
802802 );
803 MARKETING_VERSION = 0.4.0;
803 MARKETING_VERSION = 0.4.1;
804804 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.widgets;
805805 PRODUCT_NAME = "$(TARGET_NAME)";
806806 SKIP_INSTALL = YES;
@@ -812,7 +812,7 @@
812812 isa = XCBuildConfiguration;
813813 buildSettings = {
814814 CODE_SIGN_STYLE = Automatic;
815 CURRENT_PROJECT_VERSION = 6;
815 CURRENT_PROJECT_VERSION = 7;
816816 DEVELOPMENT_TEAM = ZCNAX3VL9D;
817817 GENERATE_INFOPLIST_FILE = NO;
818818 INFOPLIST_FILE = OrgstarQuickLook/Info.plist;
@@ -821,7 +821,7 @@
821821 "@executable_path/Frameworks",
822822 "@executable_path/../../Frameworks",
823823 );
824 MARKETING_VERSION = 0.4.0;
824 MARKETING_VERSION = 0.4.1;
825825 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.quicklook;
826826 PRODUCT_NAME = "$(TARGET_NAME)";
827827 SKIP_INSTALL = YES;
@@ -852,7 +852,7 @@
852852 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
853853 CODE_SIGN_ENTITLEMENTS = Orgstar/Orgstar.entitlements;
854854 CODE_SIGN_STYLE = Automatic;
855 CURRENT_PROJECT_VERSION = 6;
855 CURRENT_PROJECT_VERSION = 7;
856856 DEVELOPMENT_TEAM = ZCNAX3VL9D;
857857 GENERATE_INFOPLIST_FILE = NO;
858858 INFOPLIST_FILE = Orgstar/Info.plist;
@@ -862,7 +862,7 @@
862862 "$(inherited)",
863863 "@executable_path/Frameworks",
864864 );
865 MARKETING_VERSION = 0.4.0;
865 MARKETING_VERSION = 0.4.1;
866866 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar;
867867 PRODUCT_MODULE_NAME = OrgstarMobile;
868868 PRODUCT_NAME = Orgstar;
@@ -875,7 +875,7 @@
875875 buildSettings = {
876876 CODE_SIGN_ENTITLEMENTS = OrgstarWidgets/OrgstarWidgets.entitlements;
877877 CODE_SIGN_STYLE = Automatic;
878 CURRENT_PROJECT_VERSION = 6;
878 CURRENT_PROJECT_VERSION = 7;
879879 DEVELOPMENT_TEAM = ZCNAX3VL9D;
880880 GENERATE_INFOPLIST_FILE = NO;
881881 INFOPLIST_FILE = OrgstarWidgets/Info.plist;
@@ -885,7 +885,7 @@
885885 "@executable_path/Frameworks",
886886 "@executable_path/../../Frameworks",
887887 );
888 MARKETING_VERSION = 0.4.0;
888 MARKETING_VERSION = 0.4.1;
889889 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.widgets;
890890 PRODUCT_NAME = "$(TARGET_NAME)";
891891 SKIP_INSTALL = YES;
@@ -919,7 +919,7 @@
919919 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
920920 CODE_SIGN_ENTITLEMENTS = OrgstarWatch/OrgstarWatch.entitlements;
921921 CODE_SIGN_STYLE = Automatic;
922 CURRENT_PROJECT_VERSION = 6;
922 CURRENT_PROJECT_VERSION = 7;
923923 DEVELOPMENT_TEAM = ZCNAX3VL9D;
924924 GENERATE_INFOPLIST_FILE = NO;
925925 INFOPLIST_FILE = OrgstarWatch/Info.plist;
@@ -927,7 +927,7 @@
927927 "$(inherited)",
928928 "@executable_path/Frameworks",
929929 );
930 MARKETING_VERSION = 0.4.0;
930 MARKETING_VERSION = 0.4.1;
931931 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp;
932932 PRODUCT_NAME = "$(TARGET_NAME)";
933933 SDKROOT = watchos;
@@ -944,7 +944,7 @@
944944 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
945945 CODE_SIGN_ENTITLEMENTS = OrgstarWatch/OrgstarWatch.entitlements;
946946 CODE_SIGN_STYLE = Automatic;
947 CURRENT_PROJECT_VERSION = 6;
947 CURRENT_PROJECT_VERSION = 7;
948948 DEVELOPMENT_TEAM = ZCNAX3VL9D;
949949 GENERATE_INFOPLIST_FILE = NO;
950950 INFOPLIST_FILE = OrgstarWatch/Info.plist;
@@ -952,7 +952,7 @@
952952 "$(inherited)",
953953 "@executable_path/Frameworks",
954954 );
955 MARKETING_VERSION = 0.4.0;
955 MARKETING_VERSION = 0.4.1;
956956 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp;
957957 PRODUCT_NAME = "$(TARGET_NAME)";
958958 SDKROOT = watchos;
@@ -969,7 +969,7 @@
969969 SKIP_INSTALL = YES;
970970 CODE_SIGN_ENTITLEMENTS = OrgstarWatchWidgets/OrgstarWatchWidgets.entitlements;
971971 CODE_SIGN_STYLE = Automatic;
972 CURRENT_PROJECT_VERSION = 6;
972 CURRENT_PROJECT_VERSION = 7;
973973 DEVELOPMENT_TEAM = ZCNAX3VL9D;
974974 GENERATE_INFOPLIST_FILE = NO;
975975 INFOPLIST_FILE = OrgstarWatchWidgets/Info.plist;
@@ -978,7 +978,7 @@
978978 "@executable_path/Frameworks",
979979 "@executable_path/../../Frameworks",
980980 );
981 MARKETING_VERSION = 0.4.0;
981 MARKETING_VERSION = 0.4.1;
982982 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp.widgets;
983983 PRODUCT_NAME = "$(TARGET_NAME)";
984984 SDKROOT = watchos;
@@ -994,7 +994,7 @@
994994 SKIP_INSTALL = YES;
995995 CODE_SIGN_ENTITLEMENTS = OrgstarWatchWidgets/OrgstarWatchWidgets.entitlements;
996996 CODE_SIGN_STYLE = Automatic;
997 CURRENT_PROJECT_VERSION = 6;
997 CURRENT_PROJECT_VERSION = 7;
998998 DEVELOPMENT_TEAM = ZCNAX3VL9D;
999999 GENERATE_INFOPLIST_FILE = NO;
10001000 INFOPLIST_FILE = OrgstarWatchWidgets/Info.plist;
@@ -1003,7 +1003,7 @@
10031003 "@executable_path/Frameworks",
10041004 "@executable_path/../../Frameworks",
10051005 );
1006 MARKETING_VERSION = 0.4.0;
1006 MARKETING_VERSION = 0.4.1;
10071007 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp.widgets;
10081008 PRODUCT_NAME = "$(TARGET_NAME)";
10091009 SDKROOT = watchos;
scripts/build-app.sh +1 −1
@@ -8,7 +8,7 @@
88set -eu
99
1010cd "$(dirname "$0")/.."
11version="${1:-0.4.0}"
11version="${1:-0.4.1}"
1212build="${2:-$version}"
1313sign="${ORGSTAR_SIGN:--}"
1414app=".build/app/orgstar.app"
scripts/build-ios-app.sh +1 −1
@@ -5,7 +5,7 @@
55set -eu
66
77cd "$(dirname "$0")/.."
8version="${1:-0.4.0}"
8version="${1:-0.4.1}"
99app=".build/ios-app/orgstar.app"
1010products=".build/ios/Build/Products/Debug-iphonesimulator"
1111
scripts/build-watch-app.sh +1 −1
@@ -7,7 +7,7 @@
77set -eu
88
99cd "$(dirname "$0")/.."
10version="${1:-0.4.0}"
10version="${1:-0.4.1}"
1111app=".build/watch-app/OrgstarWatch.app"
1212products=".build/watch/Build/Products/Debug-watchsimulator"
1313# The app group the complications read the agenda from, on the watch.