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

Spell Checker: minimal support for multiple languages (via settings) #833

Open
wants to merge 77 commits into
base: master
Choose a base branch
from

Commits on Nov 12, 2021

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

Commits on Nov 13, 2021

  1. Mechanism to expose menu shortcuts in settings.

    - requires to add a .shortcut in menu entries (src/menu.js)
    zorgnac committed Nov 13, 2021
    Configuration menu
    Copy the full SHA
    e0b9018 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2021

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

Commits on Dec 4, 2021

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

Commits on Jan 4, 2022

  1. Configuration menu
    Copy the full SHA
    214310e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff139aa View commit details
    Browse the repository at this point in the history
  3. Insert tool symbol in comment on Ctrl+Click (beside Ctrl+Click on gob…

    …an vertex)
    
    * sabaki: clickToolButton dispatches on Ctrl
    * MainView: use clickToolButton instead of setState
    zorgnac committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    e7c20ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2d7d2ca View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Low-carbon engine

    * setting: board.analysis_probes
    * enginesyncer:
      * remind whether a node is already analyzed
      * check whether syncing or not; expose in 'analysis'
      * count analysis probes (except when syncing); expose in 'analysis'
    * sabaki:
      * inferredState.analysisEngineStatus reports busy/available/waiting
      * abort analysis when board.analysis_probes is exactly reached
      * togglePauseAnalysis stops current or start deep analysis
    * App:
      * relays inferredState.analysisEngineStatus as of analysisEngineStatus
    * menu Toggle Analysis:
      * label Start/Pause/Deepen
      * enabled on analysisEngineStatus
      * calls togglePauseAnalysis
    zorgnac committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    49b7d87 View commit details
    Browse the repository at this point in the history
  2. Don't disable menu Start/Pause/Deepen Analysis

    Would require 'engine-ready' event, which is defined in another branch
    zorgnac committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    ec07eea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    65b5a80 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c5c4110 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. Configuration menu
    Copy the full SHA
    03815a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f241363 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    468ccef View commit details
    Browse the repository at this point in the history
  4. Implement 'context-menu'

    The 'context-menu' is apparently global to
    webContents. We assume here this is actually the case.
    Thus, some triage has to be done before
    either to prevent it, or to advertise sabaki
    which context we're talking about, and let
    him perform the triage.
    
    sabaki implements 'context-menu' as of openContextMenu. This
    redirects either to the play menu or the edit menu
    depending on mode. We've transferred the play menu from
    PlayBar to sabaki
    
    App puts a tiny phantom image in an anchor on top of layers, which
    does not preventDefault, and thus promotes 'contextmenu'
    to 'context-menu'. sabaki.openContextMenu is thus
    the response to the Menu keyboard when focus is on the
    body element.
    
    Comment box also does not preventDefault (via stopPropagation), and
    thus its context menu gets to sabaki.openContextMenu.
    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    512af20 View commit details
    Browse the repository at this point in the history
  5. Implement spelling menu

    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    49bfab9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f728281 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4200c29 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3296e7b View commit details
    Browse the repository at this point in the history
  9. Doc spell-checker

    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    cba62a7 View commit details
    Browse the repository at this point in the history
  10. Spell check guide

    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    5856102 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    af9fb88 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5004637 View commit details
    Browse the repository at this point in the history
  13. Implement 'context-menu'

    The 'context-menu' is apparently global to
    webContents. We assume here this is actually the case.
    Thus, some triage has to be done before
    either to prevent it, or to advertise sabaki
    which context we're talking about, and let
    him perform the triage.
    
    sabaki implements 'context-menu' as of openContextMenu. This
    redirects either to the play menu or the edit menu
    depending on mode. We've transferred the play menu from
    PlayBar to sabaki
    
    App puts a tiny phantom image in an anchor on top of layers, which
    does not preventDefault, and thus promotes 'contextmenu'
    to 'context-menu'. sabaki.openContextMenu is thus
    the response to the Menu keyboard when focus is on the
    body element.
    
    Comment box also does not preventDefault (via stopPropagation), and
    thus its context menu gets to sabaki.openContextMenu.
    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    c4ae4f8 View commit details
    Browse the repository at this point in the history
  14. Implement spelling menu

    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    60c4c30 View commit details
    Browse the repository at this point in the history
  15. Autoload engine and give it a default role

    * new field 'boot' in engine's properties (array of symbols)
    * enginesyncer emits 'commands' when engine has answered 'list_commands'
    * at startup, sabaki attaches engines that have 'autoload' among
      'boot' symbols
    * when receiving 'commands' and affects engine roles according
      to symbols 'white', 'black', or 'analyze' in 'boot'
    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    d91d895 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    81fef5c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    446ccd6 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    32fa9e7 View commit details
    Browse the repository at this point in the history
  19. Low-carbon engine

    * setting: board.analysis_probes
    * enginesyncer:
      * remind whether a node is already analyzed
      * check whether syncing or not; expose in 'analysis'
      * count analysis probes (except when syncing); expose in 'analysis'
    * sabaki:
      * inferredState.analysisEngineStatus reports busy/available/waiting
      * abort analysis when board.analysis_probes is exactly reached
      * togglePauseAnalysis stops current or start deep analysis
    * App:
      * relays inferredState.analysisEngineStatus as of analysisEngineStatus
    * menu Toggle Analysis:
      * label Start/Pause/Deepen
      * enabled on analysisEngineStatus
      * calls togglePauseAnalysis
    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    cb63f2d View commit details
    Browse the repository at this point in the history
  20. Don't disable menu Start/Pause/Deepen Analysis

    Would require 'engine-ready' event, which is defined in another branch
    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    8f130fc View commit details
    Browse the repository at this point in the history
  21. undo commit 49bfab

    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    0f41fe2 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    cebbdc9 View commit details
    Browse the repository at this point in the history
  23. Merge branch 'spelling'

    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    9e9a836 View commit details
    Browse the repository at this point in the history
  24. Merge branch 'request/comment-insert'

    # Conflicts:
    #	src/modules/sabaki.js
    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    bf7e495 View commit details
    Browse the repository at this point in the history
  25. Merge branch 'shortcuts'

    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    271b16a View commit details
    Browse the repository at this point in the history
  26. Expose influence map if provided (kata-analyse)

    * setting: board.show_influence
    * menu: 'Show &Influence Map'
    * enginesyncer: parse 'ownership' in analysis and expose it; don't reset analysis
    * sabaki:
      * state.showInfluence
      * augment analyze arguments if kata-analyze
    * App: adjust areaMap if state.showInfluence
    * MainView: set paintMap to areaMap if showInfluence
    zorgnac committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    53336e3 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Merge branch 'request/engine-influence'

    # Conflicts:
    #	src/modules/enginesyncer.js
    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    f4ee915 View commit details
    Browse the repository at this point in the history
  2. Setting: edit.tool

    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    4a30e58 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95122cf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b2798d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    48e070b View commit details
    Browse the repository at this point in the history
  6. CommentBox: cleanup

    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    f5d644b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    27653d4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3521b5b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d89a239 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'shortcuts'

    # Conflicts:
    #	src/menu.js
    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    2fcedc0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3526741 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'request/engine-layout'

    # Conflicts:
    #	src/components/sidebars/PeerList.js
    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    089f4ba View commit details
    Browse the repository at this point in the history
  13. Merge branch 'request/engine-low-carbon'

    # Conflicts:
    #	src/menu.js
    #	src/modules/enginesyncer.js
    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    dd772f9 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    09bc925 View commit details
    Browse the repository at this point in the history
  15. Missing toggleEngineShowHide

    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    d8f6a2c View commit details
    Browse the repository at this point in the history
  16. Missing toggleEngineShowHide

    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    490d9e0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    3758e92 View commit details
    Browse the repository at this point in the history
  18. Setting debug.dev_tools_open

    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    5cafb3b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    6118cb3 View commit details
    Browse the repository at this point in the history
  20. CHANGELOG

    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    d8d37fc View commit details
    Browse the repository at this point in the history
  21. Split context/click; don't use button 2 unless for context menu

    There is probably an issue when identifying button 2 as context
    menu button (how many buttons has your mouse?). Let
    this issue be a TODO
    
    * sabaki:
      * split clickVertex into click/contextmenu and a common onVertex
      * contextmenu is always a context menu; thus, in stone edit tool:
        * button 2 opens a context menu
        * previous button 2 behavior is now on Shift+Click
        * Ctrl+Shift+Click adds an extra functionality, i.e.
          use alternate stone tool and toggle stone tool color
      * merge context menus when applicable; thus, split
        some open*Menu into get*Menu open*Menu
    * Goban: use onVertexContextMenu if button is 2
    * MainView: relay vertex context menu
    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    131e4c9 View commit details
    Browse the repository at this point in the history
  22. Remove mouse accelerator from stone menu

    Put this is tooltip, though it seems useless.
    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    71d3dc7 View commit details
    Browse the repository at this point in the history
  23. CHANGELOG

    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    3bf9101 View commit details
    Browse the repository at this point in the history
  24. Merge branch 'request/context-menu'

    # Conflicts:
    #	src/modules/sabaki.js
    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    329e5eb View commit details
    Browse the repository at this point in the history
  25. Fix previous merge

    * analysis menu is not related to edit mode
    * wrong merge helper.popupMenu in getVariationMenu
    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    9d541c5 View commit details
    Browse the repository at this point in the history
  26. Keep analysis until a new one is available

    This avoids blank transitions in map while navigating
    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    1f483cd View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    7361b6b View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    ff62f44 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    cad9dfe View commit details
    Browse the repository at this point in the history
  30. Preferences: comment TODO

    zorgnac committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    da68444 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    1844b4b View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    0d499d1 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

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

    zorgnac committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    e3fcaa2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3abc43f View commit details
    Browse the repository at this point in the history
  4. Merge branch 'request/engine-low-carbon'

    # Conflicts:
    #	CHANGELOG.md
    #	src/modules/enginesyncer.js
    #	src/modules/sabaki.js
    zorgnac committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    009ab62 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0be485b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a5a6627 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a12aef2 View commit details
    Browse the repository at this point in the history