Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3 POC #114

Merged
merged 98 commits into from
Mar 10, 2020
Merged

v3 POC #114

merged 98 commits into from
Mar 10, 2020

Commits on Jan 22, 2020

  1. 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: #45 (comment)
    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    0f807ee View commit details
    Browse the repository at this point in the history
  2. fix: ignore trigger shortcuts if mission control is active

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    df98ffc View commit details
    Browse the repository at this point in the history
  3. fix: don't trigger ui refreshes if the app is not active

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    ddc944d View commit details
    Browse the repository at this point in the history
  4. fix: prevent visual flickering (closes #115)

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    7c52e75 View commit details
    Browse the repository at this point in the history
  5. fix: observer leak would throw and crash the app sometimes

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    a9e90d1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d799d8a View commit details
    Browse the repository at this point in the history
  7. 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
    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    a552dec View commit details
    Browse the repository at this point in the history
  8. refactor: cleaner code

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    8eeee83 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    76a1fc7 View commit details
    Browse the repository at this point in the history
  10. fix: dock being shown was blocking alt-tab

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    35b48b9 View commit details
    Browse the repository at this point in the history
  11. fix: better focus/order for preferences (closes #80)

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    faa707e View commit details
    Browse the repository at this point in the history
  12. fix: handle on-all-spaces windows better

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    1ed9457 View commit details
    Browse the repository at this point in the history
  13. refactor: factorize and document

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    5428ca4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d8638f2 View commit details
    Browse the repository at this point in the history
  15. fix: a title change often means the content has change

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    2a82c7d View commit details
    Browse the repository at this point in the history
  16. fix: don't show ui on fast trigger

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    5f757cb View commit details
    Browse the repository at this point in the history
  17. fix: open alt-tab during space transitions (closes #92)

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    b90130c View commit details
    Browse the repository at this point in the history
  18. fix: don't show floating windows + efficiencies

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    5218d61 View commit details
    Browse the repository at this point in the history
  19. fix: avoid rendering if app is not used

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    ede0a27 View commit details
    Browse the repository at this point in the history
  20. fix: bring back the window delay that regressed with v2

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    5994652 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    b1bd0b7 View commit details
    Browse the repository at this point in the history
  22. refactor: minor syntax change

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    7f8f5db View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2e4006f View commit details
    Browse the repository at this point in the history
  24. fix: remove debug colors

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    0b8b237 View commit details
    Browse the repository at this point in the history
  25. fix: using floor() everywhere to avoid blurry rendering

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    1a35e30 View commit details
    Browse the repository at this point in the history
  26. fix: layout was incorrect resulting in thumbnails clipping

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    0133974 View commit details
    Browse the repository at this point in the history
  27. feat: slightly increase contrast (mitigates #82)

    louis.pontoise committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    3067f3c View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. ci: update homebrew cask for new releases (closes #75)

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    c4dfb4a View commit details
    Browse the repository at this point in the history
  2. fix: some apps should retry observing until it works

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    3ac921d View commit details
    Browse the repository at this point in the history
  3. fix: app launched while in fullscreen shows first window

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    d537bf1 View commit details
    Browse the repository at this point in the history
  4. fix: compiler warnings

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    9cd719e View commit details
    Browse the repository at this point in the history
  5. fix: better float rounding = sharper cell contents

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    8687e06 View commit details
    Browse the repository at this point in the history
  6. fix: only test permissions on the correct os versions

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    8f67e5b View commit details
    Browse the repository at this point in the history
  7. feat: debug build has code-signing to preserve permissions

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    f5f038a View commit details
    Browse the repository at this point in the history
  8. fix: more robust screen-recording permission check

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    eeab5f6 View commit details
    Browse the repository at this point in the history
  9. ci: display env vars at the beginning of a build

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    be66a01 View commit details
    Browse the repository at this point in the history
  10. ci: remove travis warning by updating keys

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    ad2cfc0 View commit details
    Browse the repository at this point in the history
  11. ci: sign releases with apple dev certificate (closes #13)

    louis.pontoise committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    941e6e3 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. fix: don't upscale thumbnails of small windows

    louis.pontoise committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    14f0265 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b33c9b View commit details
    Browse the repository at this point in the history
  3. ci: more packed layout by default

    louis.pontoise committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    97ed973 View commit details
    Browse the repository at this point in the history
  4. feat: add back the preferences for the new layout algo

    louis.pontoise committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    1310f8a View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. feat: divide preferences by topic (closes #130)

    louis.pontoise committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    4c03fea View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. refactor: factorize code in extension

    louis.pontoise committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    d15bcf2 View commit details
    Browse the repository at this point in the history
  2. fix: added releases link and aligned layout left on tab 3

    louis.pontoise committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    45568fe View commit details
    Browse the repository at this point in the history
  3. feat: nicer layout for about preferences

    louis.pontoise committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    2dd5a39 View commit details
    Browse the repository at this point in the history
  4. refactor: organize the ui code hierarchically

    louis.pontoise committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    8817edd View commit details
    Browse the repository at this point in the history
  5. refactor: remove unnecessary protocol

    louis.pontoise committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    8a9264e View commit details
    Browse the repository at this point in the history
  6. feat: add in-app feedback form (closes #145)

    louis.pontoise committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    a5b6db9 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2020

  1. fix: regression on collectionviewitem titles (not showing)

    louis.pontoise committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    c48ac33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50e77f3 View commit details
    Browse the repository at this point in the history
  3. feat: separating the quit button as it is a special case

    louis.pontoise committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    d62e29e View commit details
    Browse the repository at this point in the history
  4. feat: more appealing presentation + minor refac

    louis.pontoise committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    f8acf8d View commit details
    Browse the repository at this point in the history
  5. feat: add feedback button on about window

    louis.pontoise committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    1f3f885 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ec601ca View commit details
    Browse the repository at this point in the history
  7. feat: add debug profile to feedback message

    louis.pontoise committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    d973a96 View commit details
    Browse the repository at this point in the history
  8. feat: cleaner layout and explanation text

    louis.pontoise committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    1085be2 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. feat: replace default copyright with correct licence

    louis.pontoise committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    bbaee01 View commit details
    Browse the repository at this point in the history
  2. fix: keyboard shortcuts didn't work without a menu

    louis.pontoise committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    2dfdce5 View commit details
    Browse the repository at this point in the history
  3. fix: better textareas

    louis.pontoise committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    4abb01a View commit details
    Browse the repository at this point in the history
  4. feat: add licence to about page

    Also use data from Info.plist to make it more DRY
    louis.pontoise committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    9393bc2 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2020

  1. feat: localization (closes #134)

    louis.pontoise committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    dc8dcf8 View commit details
    Browse the repository at this point in the history
  2. feat: german and spanish localization

    louis.pontoise committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    5d36e04 View commit details
    Browse the repository at this point in the history
  3. fix: some apps have messy launch behavior

    See discussion: #117 (comment)
    louis.pontoise committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    e4a1523 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. feat: drag-and-drop files on the ui (closes #74)

    louis.pontoise committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    eed0353 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. feat: adding cocoapods and letsmove/sparkle

    louis.pontoise committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    521fdd8 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. feat: integrate sparkle for auto-updates (closes #131)

    louis.pontoise committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    d3268d0 View commit details
    Browse the repository at this point in the history
  2. feat: migrate to standard os-backed preferences (closes #161)

    louis.pontoise committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    1b34ae6 View commit details
    Browse the repository at this point in the history
  3. feat: make system calls more parallel (closes #160)

    louis.pontoise committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    a821156 View commit details
    Browse the repository at this point in the history
  4. refactor: remove non-resources

    louis.pontoise committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    7b16809 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. fix: layout regression introduced by eed0353

    louis.pontoise committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    627f3f7 View commit details
    Browse the repository at this point in the history
  2. ci: more logs from altool to follow progress

    louis.pontoise committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    fd3eab7 View commit details
    Browse the repository at this point in the history
  3. ci: big refac to finally rationalize the xcode mess

    XCode project/workspace/configurations/target/pods have been in a mess for a while. Some changes done to address that:
    
    * remove alt-tab-macos/ which was confusing
    * ci/ becomes scripts/ as these can be used locally too
    * added 3 xcconfig files to set aside important parameters so we stop passing flags around or modifying the huge pbxproj
    louis.pontoise committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    40e7d12 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

  1. fix: notarization issues

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    7cdcd68 View commit details
    Browse the repository at this point in the history
  2. ci: schemes should be shared and versioned

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    dd8fee3 View commit details
    Browse the repository at this point in the history
  3. fix: letsmove was not active on release builds

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    038223b View commit details
    Browse the repository at this point in the history
  4. ci: only 1 build, not 1 for each env var

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    19260ff View commit details
    Browse the repository at this point in the history
  5. ci: adding back missing codesign cert

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    fe6c865 View commit details
    Browse the repository at this point in the history
  6. ci: added missing pod install

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    5bf61cf View commit details
    Browse the repository at this point in the history
  7. refactor: less unnecessary logs

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    5dd4501 View commit details
    Browse the repository at this point in the history
  8. fix: also codesign debug builds

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    54605f2 View commit details
    Browse the repository at this point in the history
  9. fix: getting sparkle ready for release

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    db73462 View commit details
    Browse the repository at this point in the history
  10. feat: improved translations

    louis.pontoise committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    fd226a3 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. fix: feedback token injected during ci

    Github expires token in source code so we have to hide it away in CI (for now)
    louis.pontoise committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    4274475 View commit details
    Browse the repository at this point in the history
  2. refactor: move resources to top level

    louis.pontoise committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    e282de9 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2020

  1. docs: add a guide to navigate the project for newcomers

    louis.pontoise authored and lwouis committed Feb 24, 2020
    Configuration menu
    Copy the full SHA
    ccbd404 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    943b0ec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe3077c View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2020

  1. Configuration menu
    Copy the full SHA
    655bd5c View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. Configuration menu
    Copy the full SHA
    9ed8986 View commit details
    Browse the repository at this point in the history
  2. refactor: remove debug logs

    lwouis committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    3f5d9f5 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. Configuration menu
    Copy the full SHA
    e20db1f View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2020

  1. Configuration menu
    Copy the full SHA
    7d5a5a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28bae7a View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. Configuration menu
    Copy the full SHA
    cc35aa6 View commit details
    Browse the repository at this point in the history
  2. fix: ignore build folder

    lwouis committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    49a6d70 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ebe0be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ed27d2f View commit details
    Browse the repository at this point in the history