Permalink
Commits on Sep 28, 2012
  1. Merge pull request #44 from ethercrow/readline

    mgajda committed Sep 28, 2012
    Looks good for me.
Commits on Sep 17, 2012
Commits on Sep 16, 2012
  1. Merge pull request #39 from ethercrow/do_not_repeat_filename

    ethercrow committed Sep 16, 2012
    Do not repeat filename twice after :w command.
  2. Merge pull request #41 from ethercrow/incsearch

    ethercrow committed Sep 16, 2012
    Some Incremental search improvements
  3. Merge pull request #43 from ethercrow/filename_completion

    ethercrow committed Sep 16, 2012
    Sanitize filename expanded from '%' in ex mode
Commits on Sep 11, 2012
  1. Merge pull request #40 from ethercrow/json_mode

    jyp committed Sep 11, 2012
    JSON Lexer.
  2. Merge pull request #38 from ethercrow/optional_filechange_polling

    jyp committed Sep 11, 2012
    Make file change polling on every refresh optional.
Commits on Sep 10, 2012
  1. Make incsearch wrap.

    ethercrow committed Aug 25, 2012
Commits on Sep 4, 2012
  1. JSON Lexer.

    ethercrow committed Sep 4, 2012
Commits on Sep 3, 2012
Commits on Aug 26, 2012
Commits on Aug 25, 2012
  1. Merge pull request #36 from mgajda/xdg

    ethercrow committed Aug 25, 2012
    Move from .yi to XDG-style .config/yi and .local/share/yi directory paths
Commits on Aug 23, 2012
  1. FIXED: automatic creation of config/data dir.

    Michal J. Gajda committed Aug 23, 2012
    It is nicer to create these directories in Yi.Paths
    when no config/data dir exists, and it avoids a bug
    with missing history file blocking exit from Yi
    upon first execution.
Commits on Aug 20, 2012
  1. Option to move .yi to XDG-style (on Unices).

    mgajda committed Aug 20, 2012
    Migration tutorial from .yi to .config/yi and .local/share/yi:
    [On Unix]
    cd $HOME
    mkdir -p .config/yi .local/share/yi
    mv .yi/yi.hs       .config/yi/
    mv .yi/local       .config/yi/
    mv .yi/articles.db .config/yi/
    mv .yi/history     .local/share/yi/
    
    Compatibility is preserved: If ~/.config/yi or ~/.local/share/yi do not
    exist, we search for respective files in ~/.yi.
    
    Note: added explicit dependency on xdg-basedir,
    which was only indirect before (through Dyre.)
  2. Factored out searching for app files to Yi.Paths.

    mgajda committed Aug 15, 2012
    Now Yi uses ~/.yi/ directory to store:
     * 'yi.hs' config script
     * 'articles.db' for Yi.IReader
     * 'history' blob for Yi.PersistentState
     * 'local/Env.hs' for GHCi command evaluator environment
    
    This patch refactors searching for four above files to Yi.Paths,
    so that they can be consistently updated.
    I did it in preparation for prioritizing XDG-style directories
    as implemented by xdg-basedir - if they exist, or there is no Yi config
    present.
    If the XDG-style directories ~/.config/yi and ~/.local/share/yi
    do not exist, but ~/.yi exists, then future patch will fall back
    to current behaviour.
    
    NOTE: Indirectly Yi also uses ~/.cache/yi/ for storing binaries with
    configuration compiled in. This is however handled by dyre library.
    And already consistent with XDG directory standard by xdg-basedir
    package.
Commits on Jul 30, 2012
  1. Merge pull request #34 from mgajda/master

    ethercrow committed Jul 30, 2012
    Persistent command history and killring, and useful bugfixes...
Commits on Jul 28, 2012
  1. Update Dyre version requirement.

    Michal J. Gajda committed Jul 28, 2012
    Changes for 6d555d9
    were indeed added with Dyre release 0.8.8.
Commits on Jul 26, 2012
  1. Max# of entries in persistent state is configurable.

    mgajda committed Jul 26, 2012
    I added a configuration variable that limits the number of entries in two
    types of in PersistentState: histories (per-command), and VimTagStack.
    
    Size of an entry is not taken into account, since we don't expect
    user to have excessively sized tags, nor commands.
    
    [Killring size is limited to 10 during editor operation anyway,
    and this is probably more likely to give an excessive memory
    requirement, in case a user yanks a multimegabyte regions.
    Still I believe that it is worth the added convenience,
    when trying to move a fragment to the other file,
    or restoring a recently deleted region.]
  2. Make current regex persistent.

    Michal J. Gajda committed Jul 26, 2012
  3. Added killring to the persistent state.

    Michal J. Gajda committed Jul 26, 2012
  4. Exception-safe reading of persistent state.

    Michal J. Gajda committed Jul 26, 2012
    In case of exception during reading of persistent state,
    we ignore it and start with a fresh state.
    
    Important after adding new state components.
  5. Added VimTagStack to persistent state.

    Michal J. Gajda committed Jul 26, 2012
    NOTE: VimTagStack is not yet trimmed, because I am not sure whether
    it should be trimmed at all.
  6. Use PersistentState.hs-boot in Yi.Core.

    Michal J. Gajda committed Jul 26, 2012
    This will help break future recursive dependencies,
    since interface of PersistentState is just
    load,save :: YiM (), and Yi.Core doesn't care what is being saved.
  7. Split Vim tagstack to submodule.

    Michal J. Gajda committed Jul 26, 2012
    This may help reduce future dependencies.
  8. Added mode comment to all .hs-boot files.

    Michal J. Gajda committed Jul 26, 2012
  9. Added persistent state across Yi runs.

    Michal J. Gajda committed Jul 26, 2012
    Yi command history is now stored in ~/.yi/history.
    Other components of persistent state will be added later.
Commits on Jul 24, 2012
  1. FIXED: Yi could not be compiled in its own directory.

    Michal J. Gajda committed Jul 24, 2012
    Dyre has included current directory to the GHC include path by default.
    Now it is an option, since it seems that it can break many things.
    
    [Requires patched Dyre from github.com/mgajda/dyre until it gets pulled
    to main repository.]
Commits on Jul 22, 2012
  1. Automatic padding within default modeline.

    Michal J. Gajda committed Jul 22, 2012
  2. Merge https://github.com/yi-editor/yi

    Michal J. Gajda committed Jul 22, 2012
Commits on Jul 21, 2012