1. Oct 29, 2020
  2. Oct 28, 2020
    • Marc Durdin's avatar
      fix(windows): error reading kmp.inf in setup · 60150004
      Marc Durdin authored
      Fixes #3775.
      60150004
    • Marc Durdin's avatar
      fix(windows): remove msctf free from DllMain · fc7b51c4
      Marc Durdin authored
      Fixes #3650.
      
      This removes the bad call to `FreeLibrary` that was still present in
      a callee of `DllMain` in keyman32. The refactor moves responsibility for
      loading TSF to the `SelectKeyboard` functions and gets rid of the
      associated thread globals.
      
      The `TSFINTERFACES` struct is of course a future candidate for a class.
      
      In the process I removed a lot of cruft from keyman32.cpp which was
      either obsolete, irrelevant or just plain wrong. None of which had
      material impact on the running code.
      fc7b51c4
    • Marc Durdin's avatar
      Merge pull request #3773 from keymanapp/fix/windows/3562-start-keyman-on-demand-tasks · 24fe11e6
      Marc Durdin authored
      fix(windows): Start Keyman on Demand - tasks
      24fe11e6
    • Marc Durdin's avatar
      Merge pull request #3774 from keymanapp/chore/windows/small-cleanups · 317cbb64
      Marc Durdin authored
      chore(windows): small cleanups
      317cbb64
    • Joshua Horton's avatar
      Merge pull request #3767 from keymanapp/fix/common/models/accepted-suggestion-tracking · ecc71ac2
      Joshua Horton authored
      chore(common/models): fixes context tracking with accepted suggestions
      ecc71ac2
    • Darcy Wong's avatar
      Merge pull request #3768 from keymanapp/fix/android/embedded-browser · 59d65a6f
      Darcy Wong authored
      fix(android/browser): Fix slow input in embedded browser (WebViews)
      59d65a6f
    • Marc Durdin's avatar
      chore(windows): small cleanups · 3e9f397b
      Marc Durdin authored
      1. Remove unused variables
      2. Remove invalid build configurations
      3. Move hotkey checks before touch keyboard panel check, so hotkeys
         still work when touch panel is active; the touch keyboard panel check
         is there to disable serialised input which conflicts with it.
      3e9f397b
    • Marc Durdin's avatar
      chore: code cleanup · b66915bc
      Marc Durdin authored
      b66915bc
    • Marc Durdin's avatar
      fix(windows): Start Keyman on Demand - tasks · c9f9bfb2
      Marc Durdin authored
      Fixes #3562.
      
      Second part of the two-part special with #3772. When Keyman
      Configuration starts, it creates a task that is launched whenever a
      specific Keyman event with id 256 is added to the Event Log. This task
      launches keyman.exe to start Keyman (and if Keyman is already running,
      the newly launched process will exit with no side effects).
      
      This feature is behind a new feature flag `Flag_UseAutoStartTask`, so it
      can be disabled in the event of compatibility issues.
      
      The task is created or updated on each launch of Keyman Configuration
      (or Keyman via the 'Keyman' shortcut in the Start Menu), and is
      intended to be self-maintaining.
      
      The test_starttask project (4 of the 12 files) is just a wrapper around
      the start TKeymanStartTask class to allow for manual testing. No unit
      tests for this at this time; I think it would be difficult to unit test
      this effectively.
      c9f9bfb2
    • Marc Durdin's avatar
      fix(windows): exclude keymanmc from sigcheck · e8d3a0eb
      Marc Durdin authored
      e8d3a0eb
    • Marc Durdin's avatar
      fix(windows): Start Keyman on Demand - keyman32 · c66eb491
      Marc Durdin authored
      This is the first half of a two-part update to Keyman for Windows. There
      are two significant changes here. These changes apply to
      keyman32/keyman64, as well as kmtip/kmtip64, but will refer to the
      32-bit equivalents for simplicity:
      
      1. Instead of using `GetProcAddress` to connect to keyman32.dll, we
         now have an import library connection. This removes one particularly
         suspect piece of architecture for Keyman, as using `GetProcAddress`
         could lead to a race condition, where keyman32.dll is unloaded after
         that function is called but before we use the handle. This makes the
         kmtip.dll build dependent on keyman32.dll; loading kmtip.dll (by
         selecting a Keyman input method) also loads keyman32.dll.
      
      2. It's not enough (yet) to load kmtip.dll. We also need to be running
         keyman.exe itself, due to global hooks that we still require (it may
         be possible, one day, to avoid these, but it doesn't look very
         hopeful). To that end, kmtip calls new function `TIPIsKeymanRunning`
         to check whether keyman32.dll is initialised (and hence keyman.exe
         has initialised it). Then, if keyman.exe is not running, it issues an
         event to the Windows Event Log, which we will pick up with a
         scheduled task in the next PR.
      
      The first part of this is an architectural change which may lead to some
      change in behaviours, as keyman32.dll now may not be unloaded from a
      process when keyman.exe exits, due to the lock that kmtip.dll now has on
      it. It will be important to test this (@MakaraSok) by running through
      various startup and shutdown scenarios. In my initial testing, I found
      that there were some situations after restarting keyman.exe where I
      needed to switch in and out of the Keyman TIP, but those were not all
      critical.
      
      This change also lays groundwork for an eventual ability to run the
      Keyman input method without keyman.exe running, which will be helpful
      e.g. on login screen, even if missing certain additional functionality
      such as the serialised input queue.
      c66eb491
    • Keyman Server's avatar
      Merge pull request #3771 from keymanapp/auto/version-master-14.0.171 · 18ecb039
      Keyman Server authored
      auto: increment master version to 14.0.171
      18ecb039
    • Keyman Build Agent's avatar
      22cb2736
  3. Oct 27, 2020