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

fix(developer): various project fixes 🦕 #10151

Merged
merged 6 commits into from
Dec 12, 2023

Commits on Dec 6, 2023

  1. chore(developer): remove commented code

    From TODO item in #9948.
    mcdurdin committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    4f83c9c View commit details
    Browse the repository at this point in the history
  2. fix(developer): Support opening .keyman-touch-layout

    Fixes #10144.
    
    Also adds .keyboard_info, for now, although it is removed in 17.0, as
    there will be numerous projects which still have a .keyboard_info and
    it is handy to be able to load it and view its contents while upgrading.
    mcdurdin committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    149fc5e View commit details
    Browse the repository at this point in the history
  3. fix(developer): Open recent files with long paths elided with ellipsis

    Fixes #10145.
    
    Turns out we were clobbering out internal data because Delphi strings
    are copy-on-write. At the same time, moved from using the Hint property
    to just referencing the source filename in the array, as that is cleaner
    anyway.
    mcdurdin committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    ccbb00d View commit details
    Browse the repository at this point in the history
  4. fix(developer): Option to disable prompting for project upgrade

    Fixes #10146.
    
    Some developers may wish to stick with kpj-1.0 for now, and the prompt
    to upgrade would annoying because it cannot be hidden. This resolves
    that.
    
    Note that I haven't at this point renamed UrlRenderer.pas, although it
    may be worth considering in the future.
    mcdurdin committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    6c918e6 View commit details
    Browse the repository at this point in the history
  5. fix(developer): Validate SourcePath and BuildPath in Project Settings

    Fixes #10148.
    
    We now force the SourcePath and BuildPath project properties to be a
    direct subfolder of the project folder, in order to avoid issues with
    paths in the future. This is only applied to v2.0 projects, and only
    enforced via the UI at this point.
    mcdurdin committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    fe772e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cb8c114 View commit details
    Browse the repository at this point in the history