Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
5f5d6a8
✨ feat: Add Core module and KeyboardLockerTool.
LZhenHong Jul 25, 2025
fbb7953
feature: Core library base.
LZhenHong Jul 26, 2025
824d58e
Refactor AboutView and remove AppConfiguration
LZhenHong Jul 28, 2025
083b0aa
✨ feat: Refactor auto-lock configuration and UI integration.
LZhenHong Jul 28, 2025
f67a28c
✨ feat: Add localization for auto-lock status and menu title.
LZhenHong Jul 28, 2025
49cc651
chore: Rename with folders.
LZhenHong Jul 28, 2025
c837e3e
✨ feat: Enhance auto-lock duration management.
LZhenHong Jul 28, 2025
89d06ef
feat: Implement ContentViewState and associated views for keyboard lo…
LZhenHong Aug 5, 2025
8df783b
✨ refactor: Simplify dependency management and cleanup.
LZhenHong Aug 5, 2025
d6e2cc0
✨ feat: Update default hotkey and add timed lock method.
LZhenHong Aug 6, 2025
5fb29d0
Refactor KeyboardLocker application structure and enhance duration ma…
LZhenHong Oct 10, 2025
ed944fc
🗑️ chore: Remove IPCManager and related IPC structures.
LZhenHong Oct 10, 2025
4568434
✨ feat: Migrate to UserDefaults for configuration persistence.
LZhenHong Oct 10, 2025
e952c6d
🔧 refactor: Update AppDependencies initialization.
LZhenHong Oct 11, 2025
23c5aec
🔧 refactor: Simplify permission management and UI components.
LZhenHong Oct 13, 2025
1eebc2b
🔧 refactor: Remove backward compatibility aliases for duration.
LZhenHong Oct 13, 2025
6df09a4
✨ feat: Add auto lock countdown format localization.
LZhenHong Oct 28, 2025
f0ea8b5
🔧 refactor: Remove timed lock features and localization.
LZhenHong Nov 12, 2025
3292c2a
🔧 refactor: Clean up code structure and remove unused keys.
LZhenHong Nov 12, 2025
bc1dbf6
✨ feat: Enhance hotkey event handling and state tracking.
LZhenHong Nov 12, 2025
6768223
✨ feat: Refactor MenuBarExtra for better structure.
LZhenHong Nov 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
179 changes: 0 additions & 179 deletions .github/copilot-instructions.md

This file was deleted.

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,9 @@ iOSInjectionProject/
# macOS
.DS_Store

# xcode-build-server files
buildServer.json
.compile

[Ff]eatures.md
[Tt]asks.md
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.10
96 changes: 96 additions & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
--acronyms ID,URL,UUID
--allman false
--anonymousforeach convert
--assetliterals visual-width
--asynccapturing
--beforemarks
--binarygrouping 4,8
--callsiteparen default
--categorymark "MARK: %c"
--classthreshold 0
--closingparen balanced
--closurevoid remove
--commas always
--complexattrs preserve
--computedvarattrs preserve
--condassignment after-property
--conflictmarkers reject
--dateformat system
--decimalgrouping 3,6
--doccomments before-declarations
--elseposition same-line
--emptybraces no-space
--enumnamespaces always
--enumthreshold 0
--exponentcase lowercase
--exponentgrouping disabled
--extensionacl on-extension
--extensionlength 0
--extensionmark "MARK: - %t + %c"
--fractiongrouping disabled
--fragment false
--funcattributes preserve
--generictypes
--groupedextension "MARK: %c"
--guardelse auto
--header ignore
--hexgrouping 4,8
--hexliteralcase uppercase
--ifdef indent
--importgrouping alpha
--indent 2
--indentcase false
--indentstrings false
--initcodernil false
--lifecycle
--lineaftermarks true
--linebreaks lf
--markcategories true
--markextensions always
--marktypes always
--maxwidth none
--modifierorder
--nevertrailing
--nilinit remove
--noncomplexattrs
--nospaceoperators
--nowrapoperators
--octalgrouping 4,8
--onelineforeach ignore
--operatorfunc spaced
--organizationmode visibility
--organizetypes actor,class,enum,struct
--patternlet hoist
--ranges spaced
--redundanttype infer-locals-only
--self remove
--selfrequired
--semicolons inline
--shortoptionals except-properties
--smarttabs enabled
--someany true
--storedvarattrs preserve
--stripunusedargs always
--structthreshold 0
--tabwidth unspecified
--throwcapturing
--timezone system
--trailingclosures
--trimwhitespace always
--typeattributes preserve
--typeblanklines remove
--typedelimiter space-after
--typemark "MARK: - %t"
--voidtype void
--wraparguments preserve
--wrapcollections preserve
--wrapconditions preserve
--wrapeffects preserve
--wrapenumcases always
--wrapparameters default
--wrapreturntype preserve
--wrapternary before-operators
--wraptypealiases preserve
--xcodeindentation disabled
--yodaswap always
--enable blankLineAfterSwitchCase
8 changes: 8 additions & 0 deletions Core/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
10 changes: 10 additions & 0 deletions Core/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// swift-tools-version: 5.10

import PackageDescription

let package = Package(
name: "Core",
platforms: [.macOS(.v13)],
products: [.library(name: "Core", targets: ["Core"])],
targets: [.target(name: "Core")]
)
7 changes: 7 additions & 0 deletions Core/Sources/Core/Core.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Core Library Public API Export
// This file ensures all public types are properly exported from the Core module

@_exported import ApplicationServices
@_exported import Carbon
@_exported import Combine
@_exported import Foundation
Loading