Skip to content

Commit

Permalink
feat: allow backlisting apps, with 2 different types of blacklist
Browse files Browse the repository at this point in the history
closes #239
  • Loading branch information
lwouis committed Jul 17, 2020
1 parent d817545 commit d32951f
Show file tree
Hide file tree
Showing 26 changed files with 284 additions and 10 deletions.
4 changes: 4 additions & 0 deletions alt-tab-macos.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
D04BAFB90E00AA5D662EAF24 /* PermissionsWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = D04BA9DF10D0CC4CA0C8F814 /* PermissionsWindow.swift */; };
D04BAFB973C3D28718FAEB87 /* Windows.swift in Sources */ = {isa = PBXBuildFile; fileRef = D04BACD976030676FD0761D5 /* Windows.swift */; };
D04BAFBC862BA5FE0294EA7A /* AXUIElement.swift in Sources */ = {isa = PBXBuildFile; fileRef = D04BA6F823BC0EDA9AA4B80A /* AXUIElement.swift */; };
D04BAFF30A98CF287F85DA1E /* BlacklistsTab.swift in Sources */ = {isa = PBXBuildFile; fileRef = D04BA27695D9A5824720BD7B /* BlacklistsTab.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand Down Expand Up @@ -131,6 +132,7 @@
D04BA2526DC6726E0F7ACF7C /* LabelAndControl.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LabelAndControl.swift; sourceTree = "<group>"; };
D04BA258B56193958D60978A /* ThumbnailView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ThumbnailView.swift; sourceTree = "<group>"; };
D04BA26C75F76C277653C932 /* FeedbackWindow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FeedbackWindow.swift; sourceTree = "<group>"; };
D04BA27695D9A5824720BD7B /* BlacklistsTab.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BlacklistsTab.swift; sourceTree = "<group>"; };
D04BA282BB16C1554595A968 /* Applications.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Applications.swift; sourceTree = "<group>"; };
D04BA2A68FFD585C3A64434A /* zh-CN */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = InfoPlist.strings; sourceTree = "<group>"; };
D04BA2C7B51F68651B3C60E2 /* 6 windows - 1 line.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "6 windows - 1 line.jpg"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -476,6 +478,7 @@
D04BACE22DC907F03D193075 /* GeneralTab.swift */,
D04BAD60C97E609A759E721E /* UpdatesTab.swift */,
D04BA788228BA86D9EFBD1ED /* AcknowledgmentsTab.swift */,
D04BA27695D9A5824720BD7B /* BlacklistsTab.swift */,
);
path = tabs;
sourceTree = "<group>";
Expand Down Expand Up @@ -1085,6 +1088,7 @@
D04BA7E39FA539DD8316447A /* PermissionView.swift in Sources */,
D04BA446D702C5E252AF2319 /* TitleLabel.swift in Sources */,
D04BAD43C122A1C7E88B0362 /* MouseEvents.swift in Sources */,
D04BAFF30A98CF287F85DA1E /* BlacklistsTab.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
12 changes: 12 additions & 0 deletions resources/l10n/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
/* No comment provided by engineer. */
"Auto-install updates periodically" = "Auto-install updates periodically";

/* No comment provided by engineer. */
"Blacklists" = "Blacklists";

/* No comment provided by engineer. */
"Cancel" = "Cancel";

Expand All @@ -76,6 +79,9 @@
/* No comment provided by engineer. */
"Don’t check for updates periodically" = "Don’t check for updates periodically";

/* No comment provided by engineer. */
"Don’t show windows from these apps" = "Don’t show windows from these apps";

/* No comment provided by engineer. */
"End" = "End";

Expand Down Expand Up @@ -106,6 +112,9 @@
/* No comment provided by engineer. */
"I think the app could be improved with…" = "I think the app could be improved with…";

/* No comment provided by engineer. */
"Ignore shortcuts while a window from these apps is active" = "Ignore shortcuts while a window from these apps is active";

/* No comment provided by engineer. */
"Latest releases" = "Latest releases";

Expand Down Expand Up @@ -136,6 +145,9 @@
/* No comment provided by engineer. */
"Not allowed" = "Not allowed";

/* No comment provided by engineer. */
"Only if the window is fullscreen" = "Only if the window is fullscreen";

/* No comment provided by engineer. */
"Open Accessibility Preferences…" = "Open Accessibility Preferences…";

Expand Down
12 changes: 12 additions & 0 deletions resources/l10n/ar.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*No comment provided by engineer.*/
"Auto-install updates periodically" = "تثبيت التحديثات بشكل دوري تلقائي";

/*No comment provided by engineer.*/
"Blacklists" = "Blacklists";

/*Cancel button*/
"Cancel" = "إلغاء";

Expand All @@ -80,6 +83,9 @@
/*No comment provided by engineer.*/
"Don’t check for updates periodically" = "لا تبحث عن تحديثات بشكل دوري";

/*No comment provided by engineer.*/
"Don’t show windows from these apps" = "Don’t show windows from these apps";

/*No comment provided by engineer.*/
"End" = "End";

Expand Down Expand Up @@ -110,6 +116,9 @@
/*No comment provided by engineer.*/
"I think the app could be improved with…" = "اعتقد أنه بالإمكان تطوير البرنامج بـ…";

/*No comment provided by engineer.*/
"Ignore shortcuts while a window from these apps is active" = "Ignore shortcuts while a window from these apps is active";

/*No comment provided by engineer.*/
"Latest releases" = "آخر الإصدارات";

Expand Down Expand Up @@ -143,6 +152,9 @@
/*Copyright (human-readable)*/
"NSHumanReadableCopyright" = "رخصة GPL-3.0";

/*No comment provided by engineer.*/
"Only if the window is fullscreen" = "Only if the window is fullscreen";

/*No comment provided by engineer.*/
"Open Accessibility Preferences…" = "Open Accessibility Preferences…";

Expand Down
12 changes: 12 additions & 0 deletions resources/l10n/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*No comment provided by engineer.*/
"Auto-install updates periodically" = "Updates regelmäßig automatisch installieren";

/*No comment provided by engineer.*/
"Blacklists" = "Blacklists";

/*Cancel button*/
"Cancel" = "Abbrechen";

Expand All @@ -80,6 +83,9 @@
/*No comment provided by engineer.*/
"Don’t check for updates periodically" = "Nicht regelmäßig nach Updates suchen";

/*No comment provided by engineer.*/
"Don’t show windows from these apps" = "Don’t show windows from these apps";

/*No comment provided by engineer.*/
"End" = "End";

Expand Down Expand Up @@ -110,6 +116,9 @@
/*No comment provided by engineer.*/
"I think the app could be improved with…" = "Ich denke so könnte die Anwendung verbessert werden…";

/*No comment provided by engineer.*/
"Ignore shortcuts while a window from these apps is active" = "Ignore shortcuts while a window from these apps is active";

/*No comment provided by engineer.*/
"Latest releases" = "Neuste Versionen";

Expand Down Expand Up @@ -143,6 +152,9 @@
/*Copyright (human-readable)*/
"NSHumanReadableCopyright" = "GPL-3.0 Lizenz";

/*No comment provided by engineer.*/
"Only if the window is fullscreen" = "Only if the window is fullscreen";

/*No comment provided by engineer.*/
"Open Accessibility Preferences…" = "Open Accessibility Preferences…";

Expand Down
12 changes: 12 additions & 0 deletions resources/l10n/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*No comment provided by engineer.*/
"Auto-install updates periodically" = "Auto-install updates periodically";

/*No comment provided by engineer.*/
"Blacklists" = "Blacklists";

/*Cancel button*/
"Cancel" = "Cancel";

Expand All @@ -80,6 +83,9 @@
/*No comment provided by engineer.*/
"Don’t check for updates periodically" = "Don’t check for updates periodically";

/*No comment provided by engineer.*/
"Don’t show windows from these apps" = "Don’t show windows from these apps";

/*No comment provided by engineer.*/
"End" = "End";

Expand Down Expand Up @@ -110,6 +116,9 @@
/*No comment provided by engineer.*/
"I think the app could be improved with…" = "I think the app could be improved with…";

/*No comment provided by engineer.*/
"Ignore shortcuts while a window from these apps is active" = "Ignore shortcuts while a window from these apps is active";

/*No comment provided by engineer.*/
"Latest releases" = "Latest releases";

Expand Down Expand Up @@ -143,6 +152,9 @@
/*Copyright (human-readable)*/
"NSHumanReadableCopyright" = "GPL-3.0 license";

/*No comment provided by engineer.*/
"Only if the window is fullscreen" = "Only if the window is fullscreen";

/*No comment provided by engineer.*/
"Open Accessibility Preferences…" = "Open Accessibility Preferences…";

Expand Down
12 changes: 12 additions & 0 deletions resources/l10n/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*No comment provided by engineer.*/
"Auto-install updates periodically" = "Auto instalar actualizaciones periódicamente";

/*No comment provided by engineer.*/
"Blacklists" = "Blacklists";

/*Cancel button*/
"Cancel" = "Cancelar";

Expand All @@ -80,6 +83,9 @@
/*No comment provided by engineer.*/
"Don’t check for updates periodically" = "No comprobar actualizaciones periódicamente";

/*No comment provided by engineer.*/
"Don’t show windows from these apps" = "Don’t show windows from these apps";

/*No comment provided by engineer.*/
"End" = "End";

Expand Down Expand Up @@ -110,6 +116,9 @@
/*No comment provided by engineer.*/
"I think the app could be improved with…" = "Creo que la aplicación podría mejorarse con…";

/*No comment provided by engineer.*/
"Ignore shortcuts while a window from these apps is active" = "Ignore shortcuts while a window from these apps is active";

/*No comment provided by engineer.*/
"Latest releases" = "Últimos lanzamientos";

Expand Down Expand Up @@ -143,6 +152,9 @@
/*Copyright (human-readable)*/
"NSHumanReadableCopyright" = "Licencia GPL-3.0";

/*No comment provided by engineer.*/
"Only if the window is fullscreen" = "Only if the window is fullscreen";

/*No comment provided by engineer.*/
"Open Accessibility Preferences…" = "Open Accessibility Preferences…";

Expand Down
12 changes: 12 additions & 0 deletions resources/l10n/fi.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*No comment provided by engineer.*/
"Auto-install updates periodically" = "Asenna päivitykset automaattisesti aika ajoin";

/*No comment provided by engineer.*/
"Blacklists" = "Blacklists";

/*Cancel button*/
"Cancel" = "Peru";

Expand All @@ -80,6 +83,9 @@
/*No comment provided by engineer.*/
"Don’t check for updates periodically" = "Älä tarkista päivityksiä";

/*No comment provided by engineer.*/
"Don’t show windows from these apps" = "Don’t show windows from these apps";

/*No comment provided by engineer.*/
"End" = "End";

Expand Down Expand Up @@ -110,6 +116,9 @@
/*No comment provided by engineer.*/
"I think the app could be improved with…" = "Ohjelmaa voisi mielestäni parantaa…";

/*No comment provided by engineer.*/
"Ignore shortcuts while a window from these apps is active" = "Ignore shortcuts while a window from these apps is active";

/*No comment provided by engineer.*/
"Latest releases" = "Uusimmat julkaisut";

Expand Down Expand Up @@ -143,6 +152,9 @@
/*Copyright (human-readable)*/
"NSHumanReadableCopyright" = "GPL-3.0 -lisenssi";

/*No comment provided by engineer.*/
"Only if the window is fullscreen" = "Only if the window is fullscreen";

/*No comment provided by engineer.*/
"Open Accessibility Preferences…" = "Open Accessibility Preferences…";

Expand Down
12 changes: 12 additions & 0 deletions resources/l10n/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*No comment provided by engineer.*/
"Auto-install updates periodically" = "Auto-installer les mises-à-jour périodiquement";

/*No comment provided by engineer.*/
"Blacklists" = "Blacklists";

/*Cancel button*/
"Cancel" = "Annuler";

Expand All @@ -80,6 +83,9 @@
/*No comment provided by engineer.*/
"Don’t check for updates periodically" = "Ne pas chercher de mise-à-jour périodiquement";

/*No comment provided by engineer.*/
"Don’t show windows from these apps" = "Don’t show windows from these apps";

/*No comment provided by engineer.*/
"End" = "Fin";

Expand Down Expand Up @@ -110,6 +116,9 @@
/*No comment provided by engineer.*/
"I think the app could be improved with…" = "Je pense que l’app pourrait être améliorée avec…";

/*No comment provided by engineer.*/
"Ignore shortcuts while a window from these apps is active" = "Ignore shortcuts while a window from these apps is active";

/*No comment provided by engineer.*/
"Latest releases" = "Dernières versions";

Expand Down Expand Up @@ -143,6 +152,9 @@
/*Copyright (human-readable)*/
"NSHumanReadableCopyright" = "Licence GPL-3.0";

/*No comment provided by engineer.*/
"Only if the window is fullscreen" = "Only if the window is fullscreen";

/*No comment provided by engineer.*/
"Open Accessibility Preferences…" = "Ouvrir Préférences Accessibilité…";

Expand Down
12 changes: 12 additions & 0 deletions resources/l10n/hu.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*No comment provided by engineer.*/
"Auto-install updates periodically" = "Frissítések automatikus telepítése";

/*No comment provided by engineer.*/
"Blacklists" = "Blacklists";

/*Cancel button*/
"Cancel" = "Mégsem";

Expand All @@ -80,6 +83,9 @@
/*No comment provided by engineer.*/
"Don’t check for updates periodically" = "Ne keressen frissítéseket automatikusan";

/*No comment provided by engineer.*/
"Don’t show windows from these apps" = "Don’t show windows from these apps";

/*No comment provided by engineer.*/
"End" = "End";

Expand Down Expand Up @@ -110,6 +116,9 @@
/*No comment provided by engineer.*/
"I think the app could be improved with…" = "Azt gondolom hasznos lenne az app bővítése ezzel…";

/*No comment provided by engineer.*/
"Ignore shortcuts while a window from these apps is active" = "Ignore shortcuts while a window from these apps is active";

/*No comment provided by engineer.*/
"Latest releases" = "Legutóbbi kiadások";

Expand Down Expand Up @@ -143,6 +152,9 @@
/*Copyright (human-readable)*/
"NSHumanReadableCopyright" = "GPL-3.0 license";

/*No comment provided by engineer.*/
"Only if the window is fullscreen" = "Only if the window is fullscreen";

/*No comment provided by engineer.*/
"Open Accessibility Preferences…" = "Open Accessibility Preferences…";

Expand Down
12 changes: 12 additions & 0 deletions resources/l10n/it.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
/*No comment provided by engineer.*/
"Auto-install updates periodically" = "La procedure di auto-install aggiorna periodicamente";

/*No comment provided by engineer.*/
"Blacklists" = "Blacklists";

/*Cancel button*/
"Cancel" = "Cancella";

Expand All @@ -80,6 +83,9 @@
/*No comment provided by engineer.*/
"Don’t check for updates periodically" = "Non controllare gli aggiornamenti periodicamente";

/*No comment provided by engineer.*/
"Don’t show windows from these apps" = "Don’t show windows from these apps";

/*No comment provided by engineer.*/
"End" = "End";

Expand Down Expand Up @@ -110,6 +116,9 @@
/*No comment provided by engineer.*/
"I think the app could be improved with…" = "Credo che l’applicazione possa essere migliorata con…";

/*No comment provided by engineer.*/
"Ignore shortcuts while a window from these apps is active" = "Ignore shortcuts while a window from these apps is active";

/*No comment provided by engineer.*/
"Latest releases" = "Ultimi rilasci";

Expand Down Expand Up @@ -143,6 +152,9 @@
/*Copyright (human-readable)*/
"NSHumanReadableCopyright" = "Licenza GPL-3.0";

/*No comment provided by engineer.*/
"Only if the window is fullscreen" = "Only if the window is fullscreen";

/*No comment provided by engineer.*/
"Open Accessibility Preferences…" = "Open Accessibility Preferences…";

Expand Down
Loading

0 comments on commit d32951f

Please sign in to comment.