963 Commits
Author SHA1 Message Date
louis.pontoise 9a96e4988a fix: better float rounding = sharper cell contents 2020-03-10 14:00:37 +09:00
louis.pontoise 1faa74c7c5 fix: compiler warnings 2020-03-10 14:00:37 +09:00
louis.pontoise c5cbcdbe97 fix: app launched while in fullscreen shows first window
see https://github.com/lwouis/alt-tab-macos/pull/114#issuecomment-576384795
2020-03-10 14:00:37 +09:00
louis.pontoise 0c731f4889 fix: some apps should retry observing until it works 2020-03-10 14:00:37 +09:00
louis.pontoise 8b97bf89b5 ci: update homebrew cask for new releases (closes #75) 2020-03-10 14:00:37 +09:00
louis.pontoise 291770e363 feat: slightly increase contrast (mitigates #82) 2020-03-10 14:00:37 +09:00
louis.pontoise fd906f46fb fix: layout was incorrect resulting in thumbnails clipping 2020-03-10 14:00:37 +09:00
louis.pontoise 2a36196661 fix: using floor() everywhere to avoid blurry rendering 2020-03-10 14:00:37 +09:00
louis.pontoise e588d55ecd fix: remove debug colors 2020-03-10 14:00:37 +09:00
louis.pontoise ced5ee60c1 fix: add rough downscaling when there are many windows (closes #69) 2020-03-10 14:00:37 +09:00
louis.pontoise 314801ce99 refactor: minor syntax change 2020-03-10 14:00:37 +09:00
louis.pontoise a1b5266937 fix: layout is now correct; also removed layout preferences for now 2020-03-10 14:00:37 +09:00
louis.pontoise bb95e55e02 fix: bring back the window delay that regressed with v2 2020-03-10 14:00:37 +09:00
louis.pontoise fdddb0f8ed fix: avoid rendering if app is not used 2020-03-10 14:00:37 +09:00
louis.pontoise 3f8e3eab9b fix: don't show floating windows + efficiencies 2020-03-10 14:00:37 +09:00
louis.pontoise 141562de04 fix: open alt-tab during space transitions (closes #92) 2020-03-10 14:00:37 +09:00
louis.pontoise f8e1b00985 fix: don't show ui on fast trigger 2020-03-10 14:00:37 +09:00
louis.pontoise b8d6bc999f fix: a title change often means the content has change 2020-03-10 14:00:37 +09:00
louis.pontoise 3cd4b6d068 fix: initial discovery when single space was glitching the os 2020-03-10 14:00:37 +09:00
louis.pontoise a3c0fe820f refactor: factorize and document 2020-03-10 14:00:37 +09:00
louis.pontoise 4abe9f31ec fix: handle on-all-spaces windows better 2020-03-10 14:00:37 +09:00
louis.pontoise 4a8bdebacc fix: better focus/order for preferences (closes #80) 2020-03-10 14:00:37 +09:00
louis.pontoise 2826a1b872 fix: dock being shown was blocking alt-tab 2020-03-10 14:00:37 +09:00
louis.pontoise 4ded030a35 fix: compare correctly since pid can go away when an app dies 2020-03-10 14:00:37 +09:00
louis.pontoise 5877f34fe4 refactor: cleaner code 2020-03-10 14:00:37 +09:00
louis.pontoise 10b2c714ca fix: quitting apps was not properly removing apps from the list
Instead of using the PSN, we now use .equals() to compare 2 NSRunningApplication as recommended by Apple docs
2020-03-10 14:00:37 +09:00
louis.pontoise bfc27008cc fix: quitting multiple apps would refresh the ui multiple times 2020-03-10 14:00:37 +09:00
louis.pontoise 9ca28eb2d8 fix: observer leak would throw and crash the app sometimes 2020-03-10 14:00:37 +09:00
louis.pontoise 9a8c83e39d fix: prevent visual flickering (closes #115) 2020-03-10 14:00:37 +09:00
louis.pontoise b9a0152f85 fix: don't trigger ui refreshes if the app is not active 2020-03-10 14:00:37 +09:00
louis.pontoise b03b0aa22e fix: ignore trigger shortcuts if mission control is active 2020-03-10 14:00:37 +09:00
louis.pontoise 547311ea5d refactor: complete rework of the internals
closes #93 closes #24 closes #117

BREAKING CHANGE: Instead of asking the OS about the state of the whole system on trigger (what we do today; hard to do fast), or asking the state of the whole system on a timer (what HyperSwitch does today; inaccurate) - instead of one of 2 approaches, v3 observes the Accessibility events such as "an app was launched", "a window was closed". This means we build a cache as we receive these events in the background, and when the user trigger the app, we can show accurate state of the windows instantly.

Of course there is no free lunch, so this approach has its own issues. However from my work on it from the past week, I'm very optimistic! The thing I'm the most excited about actually is not the perf (because on my machine even v2 is instant; I have a recent macbook and no 4k displays), but the fact that we will finally have the thumbnails in order of recently-used to least-recently-used, instead of the order of their stack (z-index) on the desktop. It's a big difference! There are many more limitations that are no longer applying also with this approach.

More context: https://github.com/lwouis/alt-tab-macos/issues/45#issuecomment-571898826
2020-03-10 14:00:37 +09:00
semantic-release-bot 22354da5ea chore(release): 2.3.4 [skip ci]
## [2.3.4](https://github.com/lwouis/alt-tab-macos/compare/v2.3.3...v2.3.4) (2020-01-22)

### Bug Fixes

* escape key was absorbed by the inactive app (closes [#123](https://github.com/lwouis/alt-tab-macos/issues/123)) ([5260619](https://github.com/lwouis/alt-tab-macos/commit/5260619))
2020-01-22 10:55:32 +00:00
louis.pontoise 5260619fe1 fix: escape key was absorbed by the inactive app (closes #123) 2020-01-22 19:51:48 +09:00
semantic-release-bot 97798c3443 chore(release): 2.3.3 [skip ci]
## [2.3.3](https://github.com/lwouis/alt-tab-macos/compare/v2.3.2...v2.3.3) (2020-01-21)

### Bug Fixes

* touch bar's escape key works on mbp 15 2019 (closes [#119](https://github.com/lwouis/alt-tab-macos/issues/119)) ([eda6b7e](https://github.com/lwouis/alt-tab-macos/commit/eda6b7e))
2020-01-21 00:30:22 +00:00
Phung Tuan Hoang eda6b7e9d9 fix: touch bar's escape key works on mbp 15 2019 (closes #119) 2020-01-21 09:27:47 +09:00
semantic-release-bot 5b8a9110db chore(release): 2.3.2 [skip ci]
## [2.3.2](https://github.com/lwouis/alt-tab-macos/compare/v2.3.1...v2.3.2) (2020-01-05)

### Bug Fixes

* app crashes when no windows are open ([cecc53a](https://github.com/lwouis/alt-tab-macos/commit/cecc53a))
2020-01-05 04:32:51 +00:00
Robinhuett cecc53a0e0 fix: app crashes when no windows are open 2020-01-05 13:30:21 +09:00
semantic-release-bot 4317bedd9f chore(release): 2.3.1 [skip ci]
## [2.3.1](https://github.com/lwouis/alt-tab-macos/compare/v2.3.0...v2.3.1) (2020-01-04)

### Bug Fixes

* selecting windows theme shows an error (closes [#109](https://github.com/lwouis/alt-tab-macos/issues/109)) ([01163c6](https://github.com/lwouis/alt-tab-macos/commit/01163c6))
2020-01-04 15:34:51 +00:00
louis.pontoise 01163c69fc fix: selecting windows theme shows an error (closes #109) 2020-01-05 00:32:13 +09:00
louis.pontoise 9f46e6561a docs: document private apis better for offscreen windows 2020-01-05 00:32:13 +09:00
semantic-release-bot efc27e915d chore(release): 2.3.0 [skip ci]
# [2.3.0](https://github.com/lwouis/alt-tab-macos/compare/v2.2.0...v2.3.0) (2020-01-04)

### Features

* handle hidden app windows (closes [#108](https://github.com/lwouis/alt-tab-macos/issues/108)) ([6fcf092](https://github.com/lwouis/alt-tab-macos/commit/6fcf092))
2020-01-04 13:59:39 +00:00
louis.pontoise 6fcf092690 feat: handle hidden app windows (closes #108) 2020-01-04 22:57:06 +09:00
semantic-release-bot fdb132779c chore(release): 2.2.0 [skip ci]
# [2.2.0](https://github.com/lwouis/alt-tab-macos/compare/v2.1.0...v2.2.0) (2020-01-03)

### Bug Fixes

* follow-up on pr-104; minimized windows are not on another space ([998c763](https://github.com/lwouis/alt-tab-macos/commit/998c763))

### Features

* **ux:** add option to hide the space number label ([51a193c](https://github.com/lwouis/alt-tab-macos/commit/51a193c))
2020-01-03 12:42:45 +00:00
louis.pontoise 998c76334e fix: follow-up on pr-104; minimized windows are not on another space 2020-01-03 21:40:06 +09:00
Aarni Koskela 51a193c1d4 feat(ux): add option to hide the space number label 2020-01-03 21:40:06 +09:00
semantic-release-bot 2adefd0830 chore(release): 2.1.0 [skip ci]
# [2.1.0](https://github.com/lwouis/alt-tab-macos/compare/v2.0.3...v2.1.0) (2020-01-03)

### Bug Fixes

* **ux:** simplify tool menu ([de7f428](https://github.com/lwouis/alt-tab-macos/commit/de7f428))
* issue in pr-104 where app would not show properly ([4d19015](https://github.com/lwouis/alt-tab-macos/commit/4d19015))
* small ux change on pr-104 ([6d2741a](https://github.com/lwouis/alt-tab-macos/commit/6d2741a))

### Features

* add menu option to pop up the selector window ([78428dc](https://github.com/lwouis/alt-tab-macos/commit/78428dc))
2020-01-03 11:21:24 +00:00
louis.pontoise 6d2741a766 fix: small ux change on pr-104 2020-01-03 20:18:31 +09:00
louis.pontoise 4d190150ac fix: issue in pr-104 where app would not show properly 2020-01-03 20:18:31 +09:00
Aarni Koskela 78428dc309 feat: add menu option to pop up the selector window 2020-01-03 20:18:31 +09:00