Commit c287e0efd3
Verified · cmc
Changed files (36)
- CONTRIBUTING.org +14
- Sources/Orgstar/DevelopmentHooks.swift +8 −1
- ios/AppStore/demo-de/arbeit.org added +31
- ios/AppStore/demo-de/eingang.org added +8
- ios/AppStore/demo-de/projekte/orgstar-notizen.org added +25
- ios/AppStore/demo-de/zuhause.org added +20
- ios/AppStore/screenshots/de/iphone-6.3/01-agenda.png added
- ios/AppStore/screenshots/de/iphone-6.3/02-reader.png added
- ios/AppStore/screenshots/de/iphone-6.3/03-editor.png added
- ios/AppStore/screenshots/de/iphone-6.3/04-tables.png added
- ios/AppStore/screenshots/de/iphone-6.3/05-capture.png added
- ios/AppStore/screenshots/de/iphone-6.9/01-agenda.png added
- ios/AppStore/screenshots/de/iphone-6.9/02-reader.png added
- ios/AppStore/screenshots/de/iphone-6.9/03-editor.png added
- ios/AppStore/screenshots/de/iphone-6.9/04-tables.png added
- ios/AppStore/screenshots/de/iphone-6.9/05-capture.png added
- ios/AppStore/screenshots/de/mac/01-editor.png added
- ios/AppStore/screenshots/de/mac/02-agenda.png added
- ios/AppStore/screenshots/de/mac/03-table.png added
- ios/AppStore/screenshots/de/mac/04-capture.png added
- ios/AppStore/screenshots/iphone-6.3/01-agenda.png
- ios/AppStore/screenshots/iphone-6.3/02-reader.png
- ios/AppStore/screenshots/iphone-6.3/03-editor.png
- ios/AppStore/screenshots/iphone-6.3/04-tables.png
- ios/AppStore/screenshots/iphone-6.3/05-capture.png
- ios/AppStore/screenshots/iphone-6.3/06-search.png
- ios/AppStore/screenshots/iphone-6.9/01-agenda.png
- ios/AppStore/screenshots/iphone-6.9/02-reader.png
- ios/AppStore/screenshots/iphone-6.9/03-editor.png
- ios/AppStore/screenshots/iphone-6.9/04-tables.png
- ios/AppStore/screenshots/iphone-6.9/05-capture.png
- ios/AppStore/screenshots/iphone-6.9/06-search.png
- ios/AppStore/screenshots/mac/01-editor.png
- ios/AppStore/screenshots/mac/02-agenda.png
- ios/AppStore/screenshots/mac/03-table.png
- ios/AppStore/screenshots/mac/04-capture.png
CONTRIBUTING.org +14 · view
| @@ -115,6 +115,20 @@ week), =03-table= (=home.org= and its table) and =04-capture= (the capture windo | |||
| 115 | template). Show nothing the App Store build leaves out: no code block results from languages | 115 | template). Show nothing the App Store build leaves out: no code block results from languages |
| 116 | other than Emacs Lisp, no Emacs exports, no license key form and no update settings. | 116 | other than Emacs Lisp, no Emacs exports, no license key form and no update settings. |
| 117 | 117 | ||
| 118 | The Developer ID app can render each window itself instead: =ORGSTAR_SNAPSHOT= (see | ||
| 119 | =Sources/Orgstar/DevelopmentHooks.swift=) writes the window as the window server draws it, so | ||
| 120 | =raw.png= needs no screen-recording permission. Run a copy with its own bundle ID and | ||
| 121 | =ORGSTAR_DATA_DIR=, =ORGSTAR_CONFIG_DIR= and =ORGSTAR_ROOT= pointing at throwaway folders. | ||
| 122 | |||
| 123 | ** Screenshot languages | ||
| 124 | |||
| 125 | Shots are light, with the clock at Friday 16 October 2026 09:41 and =body-font = "system"= | ||
| 126 | in =config.toml=. English sets are in | ||
| 127 | =ios/AppStore/screenshots/<device>/=; German sets are in =ios/AppStore/screenshots/de/<device>/=, | ||
| 128 | at the same sizes, taken from =ios/AppStore/demo-de= with the app in German. Nothing uploads | ||
| 129 | them: in App Store Connect, open the version's German localization and drop each set into its | ||
| 130 | device's media slot. The 6.9" iPhone sets are the 6.3" shots scaled to 1320x2868. | ||
| 131 | |||
| 118 | * Mac licenses | 132 | * Mac licenses |
| 119 | 133 | ||
| 120 | orgstar+ for Mac comes with GitHub Sponsors: $60 once for a key that doesn't expire, or $5 a | 134 | orgstar+ for Mac comes with GitHub Sponsors: $60 once for a key that doesn't expire, or $5 a |
Sources/Orgstar/DevelopmentHooks.swift +8 −1 · view
| @@ -38,7 +38,14 @@ enum DevelopmentHooks { | |||
| 38 | let visible = NSApp.windows.filter(\.isVisible) | 38 | let visible = NSApp.windows.filter(\.isVisible) |
| 39 | let chosen = windowToOpen.flatMap { id in visible.first { $0.identifier?.rawValue.lowercased().contains(id) == true } } ?? visible.first | 39 | let chosen = windowToOpen.flatMap { id in visible.first { $0.identifier?.rawValue.lowercased().contains(id) == true } } ?? visible.first |
| 40 | let window = chosen?.attachedSheet ?? chosen | 40 | let window = chosen?.attachedSheet ?? chosen |
| 41 | if let view = window?.contentView?.superview, | 41 | // The window server's image of the app's own window, which needs no permission and, |
| 42 | // unlike cacheDisplay, draws the sidebar. Swift can't call it directly since macOS 15. | ||
| 43 | typealias Capture = @convention(c) (CGRect, CGWindowListOption, CGWindowID, CGWindowImageOption) -> Unmanaged<CGImage>? | ||
| 44 | if let window, let symbol = dlsym(UnsafeMutableRawPointer(bitPattern: -2), "CGWindowListCreateImage"), | ||
| 45 | let image = unsafeBitCast(symbol, to: Capture.self)(.null, .optionIncludingWindow, CGWindowID(window.windowNumber), | ||
| 46 | [.boundsIgnoreFraming, .bestResolution])?.takeRetainedValue() { | ||
| 47 | try? NSBitmapImageRep(cgImage: image).representation(using: .png, properties: [:])?.write(to: URL(fileURLWithPath: path)) | ||
| 48 | } else if let view = window?.contentView?.superview, | ||
| 42 | let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) { | 49 | let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) { |
| 43 | view.cacheDisplay(in: view.bounds, to: bitmap) | 50 | view.cacheDisplay(in: view.bounds, to: bitmap) |
| 44 | try? bitmap.representation(using: .png, properties: [:])?.write(to: URL(fileURLWithPath: path)) | 51 | try? bitmap.representation(using: .png, properties: [:])?.write(to: URL(fileURLWithPath: path)) |
ios/AppStore/demo-de/arbeit.org added +31 · view
| @@ -0,0 +1,31 @@ | |||
| 1 | #+TITLE: Arbeit | ||
| 2 | #+TODO: TODO NEXT WAITING | DONE CANCELLED | ||
| 3 | |||
| 4 | * Planung Q4 :planung: | ||
| 5 | ** NEXT Roadmap für Q4 entwerfen | ||
| 6 | DEADLINE: <2026-10-19 Mon> SCHEDULED: <2026-10-16 Fri> | ||
| 7 | :LOGBOOK: | ||
| 8 | CLOCK: [2026-10-15 Thu 09:05]--[2026-10-15 Thu 10:40] => 1:35 | ||
| 9 | :END: | ||
| 10 | - [X] Ziele des Teams sammeln | ||
| 11 | - [X] Kennzahlen des letzten Quartals prüfen | ||
| 12 | - [ ] Meilensteine festlegen | ||
| 13 | - [ ] Mit den Teamleitungen teilen | ||
| 14 | ** TODO Budgetrunde mit der Buchhaltung :termin: | ||
| 15 | SCHEDULED: <2026-10-16 Fri 14:00-15:00> | ||
| 16 | ** WAITING Freigabe des Stellenplans :personal: | ||
| 17 | SCHEDULED: <2026-10-19 Mon> | ||
| 18 | |||
| 19 | * Version 1.2 :release: | ||
| 20 | ** TODO Versionshinweise schreiben | ||
| 21 | DEADLINE: <2026-10-19 Mon> | ||
| 22 | ** DONE Sync-Konflikt beim Umbenennen beheben | ||
| 23 | CLOSED: [2026-10-14 Wed 16:22] | ||
| 24 | ** TODO Bildschirmfotos aktualisieren | ||
| 25 | SCHEDULED: <2026-10-16 Fri 11:00> | ||
| 26 | |||
| 27 | * Termine | ||
| 28 | ** Team-Standup | ||
| 29 | <2026-10-16 Fri 09:30-09:45 +1d> | ||
| 30 | ** Einzelgespräch mit Sam | ||
| 31 | <2026-10-20 Tue 15:00-15:30> | ||
ios/AppStore/demo-de/eingang.org added +8 · view
| @@ -0,0 +1,8 @@ | |||
| 1 | #+TITLE: Eingang | ||
| 2 | |||
| 3 | * TODO „Designing Data-Intensive Applications“ Kap. 5 lesen | ||
| 4 | * TODO Zahnarzt wegen der Reinigung anrufen | ||
| 5 | SCHEDULED: <2026-10-19 Mon> | ||
| 6 | * Idee: eine Vorlage für den Wochenrückblick am Freitag | ||
| 7 | Über das Teilen-Menü erfasst. | ||
| 8 | [[https://orgmode.org/manual/Capture.html][Capture (The Org Manual)]] | ||
ios/AppStore/demo-de/projekte/orgstar-notizen.org added +25 · view
| @@ -0,0 +1,25 @@ | |||
| 1 | #+TITLE: Projektnotizen | ||
| 2 | #+CATEGORY: orgstar | ||
| 3 | |||
| 4 | * Überblick | ||
| 5 | Notizen als reiner Text in einem Ordner, der zwischen Mac und Telefon synchronisiert wird. | ||
| 6 | Beim Bearbeiten werden nur die geänderten Bytes geschrieben. | ||
| 7 | |||
| 8 | * Aufgaben | ||
| 9 | ** DONE Sync-Ordner einrichten | ||
| 10 | CLOSED: [2026-10-07 Wed 10:12] | ||
| 11 | ** NEXT Build-Skript per Tangle erzeugen | ||
| 12 | SCHEDULED: <2026-10-16 Fri> | ||
| 13 | |||
| 14 | * Build-Skript | ||
| 15 | #+begin_src sh :tangle build.sh | ||
| 16 | #!/bin/sh | ||
| 17 | set -eu | ||
| 18 | swift build -c release | ||
| 19 | echo "built" | ||
| 20 | #+end_src | ||
| 21 | |||
| 22 | * Leseliste | ||
| 23 | - /The Pragmatic Programmer/ | ||
| 24 | - /A Philosophy of Software Design/ | ||
| 25 | - *Org Mode Manual* --- [[https://orgmode.org/manual/][online]] | ||
ios/AppStore/demo-de/zuhause.org added +20 · view
| @@ -0,0 +1,20 @@ | |||
| 1 | #+TITLE: Zuhause | ||
| 2 | |||
| 3 | * TODO Einkaufen :besorgung: | ||
| 4 | SCHEDULED: <2026-10-16 Fri 17:30> | ||
| 5 | - [X] Haferdrink | ||
| 6 | - [ ] Kaffeebohnen | ||
| 7 | - [ ] Zitronen | ||
| 8 | * TODO Reisepass verlängern | ||
| 9 | DEADLINE: <2026-10-25 Sun -7d> | ||
| 10 | * TODO Pflanzen gießen | ||
| 11 | SCHEDULED: <2026-10-16 Fri +3d> | ||
| 12 | * Lauftagebuch | ||
| 13 | | Datum | km | Zeit | Tempo | | ||
| 14 | |------------------+------+-------+-------| | ||
| 15 | | [2026-10-09 Fri] | 8.2 | 42:10 | 5.14 | | ||
| 16 | | [2026-10-12 Mon] | 5.0 | 25:30 | 5.10 | | ||
| 17 | | [2026-10-15 Thu] | 12.1 | 63:05 | 5.21 | | ||
| 18 | |------------------+------+-------+-------| | ||
| 19 | | Summe | 25.3 | | | | ||
| 20 | #+TBLFM: @>$2=vsum(@I..@II) | ||
ios/AppStore/screenshots/de/iphone-6.3/01-agenda.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/iphone-6.3/02-reader.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/iphone-6.3/03-editor.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/iphone-6.3/04-tables.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/iphone-6.3/05-capture.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/iphone-6.9/01-agenda.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/iphone-6.9/02-reader.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/iphone-6.9/03-editor.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/iphone-6.9/04-tables.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/iphone-6.9/05-capture.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/mac/01-editor.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/mac/02-agenda.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/mac/03-table.png added · view
Binary file not shown.
ios/AppStore/screenshots/de/mac/04-capture.png added · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.3/01-agenda.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.3/02-reader.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.3/03-editor.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.3/04-tables.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.3/05-capture.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.3/06-search.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.9/01-agenda.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.9/02-reader.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.9/03-editor.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.9/04-tables.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.9/05-capture.png · view
Binary file not shown.
ios/AppStore/screenshots/iphone-6.9/06-search.png · view
Binary file not shown.
ios/AppStore/screenshots/mac/01-editor.png · view
Binary file not shown.
ios/AppStore/screenshots/mac/02-agenda.png · view
Binary file not shown.
ios/AppStore/screenshots/mac/03-table.png · view
Binary file not shown.
ios/AppStore/screenshots/mac/04-capture.png · view
Binary file not shown.