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

Sublime snippets first part #775

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

Commits on Mar 14, 2020

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

Commits on Mar 20, 2020

  1. Configuration menu
    Copy the full SHA
    4bdcfce View commit details
    Browse the repository at this point in the history
  2. Create sublime_snippets.py

    This contains the basic code generates the text, inserte it, Maintain a snippet state, as well as dragonfly actions to wrap things up
    mpourmpoulis committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    9fa5f7d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd6d3f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0475b74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b4492ee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ed39c8d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d0d5de7 View commit details
    Browse the repository at this point in the history
  8. ADD comment pylint: disable=deprecated-method when getting signature …

    …of function
    
    I hope this solves the deprecation errors that Appear in the checks
    mpourmpoulis committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    17523bb View commit details
    Browse the repository at this point in the history
  9. Add in the correct place # pylint: disable=deprecated-method

    I accidentally put this comment in the wrong place with my previous commit
    mpourmpoulis committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    7eec1b9 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2020

  1. Configuration menu
    Copy the full SHA
    8151bc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    114f9ee View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2020

  1. Early proof of concept

    mpourmpoulis committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    df30426 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93ecae0 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. Configuration menu
    Copy the full SHA
    4b778d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3ccffa View commit details
    Browse the repository at this point in the history
  3. Bug fix in display variants, the loop should stop if one of the attem…

    …pted values fails
    
    this was actually causing problem when dealing with lists but the solution should be more general
    mpourmpoulis committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    ddc6ab4 View commit details
    Browse the repository at this point in the history
  4. Failed attempt to address the problem of registering a call back mult…

    …iple times if module is reloaded
    mpourmpoulis committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    bb53223 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    01bd4fe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c134f93 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

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

Commits on Apr 3, 2020

  1. Control grammar is no longer CCR and is now bound to sublime applicat…

    …ion context
    
    also contains a cleanupFrom debugging printing statements
    mpourmpoulis committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    ece6d04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e78dc7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6c11ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1fcf707 View commit details
    Browse the repository at this point in the history
  5. Fix previous mistake

    mpourmpoulis committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    7609bc8 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2020

  1. Upgrade decorator to support renaming parameters

    With this change The decorator can be used in two ways Both standalone and with parameters
    mpourmpoulis committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    ee8f096 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56c5d2e View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2020

  1. add remap_data to snippet_state

    motivation: Snippet is supposed to be able to remap extras the appropriate lambda parameters and those final parameter names along with the extra values are stored in the snippet state under the key "extra_data". However for the control grammar to be able to work, we also need to make sure that it knows the renaming that just happened as it will generate all of the variance using the extras from the rules themselves!
    mpourmpoulis committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    13543a3 View commit details
    Browse the repository at this point in the history
  2. Preliminary support for commands of form display <choice> variant

    they should be working, though I do have to say That having remapping of extras Both in the snippet auction in a manner similar to that of dragonfly Function And in the decorator to specify the spoken form of an extra might be a cause of confusion
    mpourmpoulis committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    24f4f4e View commit details
    Browse the repository at this point in the history
  3. switch to recognition observer class and solve reregistering problem

    up until now, to register the call back the function register_post_recognition_callback was used in a way that allowed reregistering the same callback if the grammar reloads! we now subclass the dragonfly recognition observer and add codein order to allow one instance to be to run the call back!
    mpourmpoulis committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    d7ecf64 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2020

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

Commits on Jul 25, 2020

  1. Configuration menu
    Copy the full SHA
    fd95bcc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    83427be View commit details
    Browse the repository at this point in the history
  3. Variant support for all types of snippets and proper display variants…

    … for shallow choices and integers
    mpourmpoulis committed Jul 25, 2020
    Configuration menu
    Copy the full SHA
    098eb62 View commit details
    Browse the repository at this point in the history
  4. Resolving conflicts 1

    mpourmpoulis committed Jul 25, 2020
    Configuration menu
    Copy the full SHA
    4df08ed View commit details
    Browse the repository at this point in the history
  5. Delete sublime.py

    mpourmpoulis committed Jul 25, 2020
    Configuration menu
    Copy the full SHA
    5b24e87 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. Make controll grammar work With CCR and self modifying rules

    The current implementation suite is from doing a lookup in the data collected from the decorator mark_snippet_grammar based on the type of the rule inserted to obtaining the data directly from the callback rule Even if it  is CCR Or self modifying! Under these circumstances, checking if their last rule belong to grammars_with_snippets becomes redundant and unreliable and has been commended out
    mpourmpoulis committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    6e47f2f View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2020

  1. Only one controll rule: move SublimeSnippetAdditionalControllRule to …

    …SublimeSnippetAdditionalRule
    mpourmpoulis committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    5b5d093 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f1ac4c View commit details
    Browse the repository at this point in the history
  3. Allow for TomlConfig without configuration path

    In general it was expected that self modifying rules Might need a toml Configuration file in order to save their state. However,for rules like the snippet control rule introduced by dictation-toolbox#775 is not the case and being forced to Specify a configuration file from which they will write and read Whenever it needs to refresh is simply a burden and a waste of additional time. With this solution Such grammars can use None/"" in order to specify that they do not want a configuration file
    mpourmpoulis committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    a890051 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2020

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

Commits on Aug 4, 2020

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

Commits on Aug 6, 2020

  1. Transition into independent sublime_communication_support

    Short commit because previous changes were lost
    mpourmpoulis committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    4e16da1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6ed6cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2472478 View commit details
    Browse the repository at this point in the history
  4. bugfix: fix a small mess with references to dictionaries

    Now,snippet_state should be modified in place, without messing up initial_snippet_state
    mpourmpoulis committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    114e675 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    35cfd05 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    16b6be1 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2020

  1. Configuration menu
    Copy the full SHA
    9d28331 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0f0a49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    802e761 View commit details
    Browse the repository at this point in the history
  4. Extend the SublimeCommand class to support %(extraname)s syntax in a …

    …somewhat similar manner to Key
    mpourmpoulis committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    11ae839 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2020

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

Commits on Sep 15, 2020

  1. Configuration menu
    Copy the full SHA
    bb037b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2152f14 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2020

  1. Configuration menu
    Copy the full SHA
    46e4300 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c09522c View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2020

  1. Create snippet_utilities

    mpourmpoulis committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    dcf83e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45dc7a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19a32d0 View commit details
    Browse the repository at this point in the history
  4. temporary change

    mpourmpoulis committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    62445fe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    813bd8c View commit details
    Browse the repository at this point in the history
  6. create sublime_support

    mpourmpoulis committed Sep 29, 2020
    Configuration menu
    Copy the full SHA
    98a7784 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ef1e194 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b7bf6c0 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2020

  1. Configuration menu
    Copy the full SHA
    c4caaa2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7b46a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e798d1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    156f463 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0e4b250 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2020

  1. Configuration menu
    Copy the full SHA
    be0cf13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f254594 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a38b298 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2020

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