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

Faster dot source #1255

Closed
wants to merge 57 commits into from
Closed

Commits on Mar 20, 2016

  1. Add changelog

    MartiUK committed Mar 20, 2016
    Configuration menu
    Copy the full SHA
    160fbad View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2016

  1. Fix missing "\" when building dirpath to psmodules

    Join-Path won't add "\"'s without the use of a delimeter.  In this case there is no delimiter and as a result the script will fail when it tries to look up $CmderModulePath.
    liftir committed Apr 9, 2016
    Configuration menu
    Copy the full SHA
    6978bb7 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2016

  1. Merge pull request cmderdev#916 from liftir/patch-1

    Fix missing "\" when building dirpath to psmodules
    Stanzilla committed Apr 10, 2016
    Configuration menu
    Copy the full SHA
    b47d04f View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2016

  1. Revert "Fix missing "\" when building dirpath to psmodules"

    This reverts commit 6978bb7.
    Stanzilla committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    1dddbcf View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2016

  1. Merge pull request cmderdev#1037 from cmderdev/development

    Development into Master
    Stanzilla authored Jul 14, 2016
    Configuration menu
    Copy the full SHA
    0379dc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e90303 View commit details
    Browse the repository at this point in the history
  3. add hashes.txt to artifacts

    Stanzilla committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    3178343 View commit details
    Browse the repository at this point in the history
  4. update changelog

    Stanzilla committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    04c7bb7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6a0ea28 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2016

  1. ⬆️ Update Git to v2.9.2

    Stanzilla committed Jul 16, 2016
    Configuration menu
    Copy the full SHA
    f2641e4 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2016

  1. Configuration menu
    Copy the full SHA
    13c474b View commit details
    Browse the repository at this point in the history
  2. Merge pull request cmderdev#1042 from daxgames/kill_ssh_agent

    Added kill ssh-agent to build.ps1
    Stanzilla authored Jul 17, 2016
    Configuration menu
    Copy the full SHA
    07fb26c View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2016

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

Commits on Aug 9, 2016

  1. Parse the original prompt for cwd and env names

    clink.get_cwd() is returning a string which is differently encoded than what
    clink.prompt.value expects. This results in garbled path names if the path
    condains non-ASCII chars. The (arguable hacky) solution is to parse the old
    prompt for the current directory (which breaks if the user sets a PROMPT env var
    which is incompatible to the regex used here...).
    
    Also parse out a environment name set by systems like virtualenv or conda: this
    could be done more specifically by targeting each such system and using the
    usually set environment variable but this would mean that we would have to do
    that for each and every such system out there and that is probably not a sane
    idea...
    jankatins committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    6b10771 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2016

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

Commits on Aug 15, 2016

  1. Merge pull request cmderdev#1070 from janschulz/unicode_path_prompt

    Parse the original prompt for cwd and env names
    Stanzilla authored Aug 15, 2016
    Configuration menu
    Copy the full SHA
    832c199 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2016

  1. Fix bash login when ${CMDER_ROOT} has spaces.

    E.g., if ${CMDER_ROOT} is /c/Users/Foo Bar/cmder,
    the following errors will occur:
      bash: pushd: /c/Users/Foo: No such file or directory
      bash: [: /c/Users/Foo: binary operator expected
      bash: /c/Users/Foo: No such file or directory
    orionlee committed Aug 20, 2016
    Configuration menu
    Copy the full SHA
    d095d6a View commit details
    Browse the repository at this point in the history
  2. Further fix bash login when ${CMDER_ROOT} has spaces.

    Inspecting the script uncovers similar problems elsewhere
    not encountered in my initial testing. They are fixed accordingly.
    orionlee committed Aug 20, 2016
    Configuration menu
    Copy the full SHA
    5354b5f View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2016

  1. Merge pull request cmderdev#1078 from orionlee/fix_bash_login_when_cm…

    …der_root_has_spaces
    
    Fix bash login when $CMDER_ROOT has spaces
    Stanzilla authored Aug 21, 2016
    Configuration menu
    Copy the full SHA
    355df7a View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2016

  1. Update Readme.md

    just minor typos
    nverno authored Aug 25, 2016
    Configuration menu
    Copy the full SHA
    a8450eb View commit details
    Browse the repository at this point in the history
  2. Merge pull request cmderdev#1082 from nverno/patch-1

    Update Readme.md
    Stanzilla authored Aug 25, 2016
    Configuration menu
    Copy the full SHA
    a6817fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    490fae7 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2016

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

Commits on Sep 17, 2016

  1. try --no-lock-index for Git

    Stanzilla committed Sep 17, 2016
    3 Configuration menu
    Copy the full SHA
    bb312ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d144cd0 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2016

  1. Added closing process in get_git_status (cmderdev#1)

    After execution command: git add * git continues to operate without closing. The process does not stop.
    alexandr-san4ez authored and Stanzilla committed Sep 27, 2016
    Configuration menu
    Copy the full SHA
    c8adf42 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2016

  1. add use-ConEmu.xml

    daxgames committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    af586d5 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2016

  1. added ability to have a user-ConEmu.xml file in addition to the compu…

    …ter specific and default ConEmu.xml files
    Dax Games authored and Dax Games committed Oct 3, 2016
    Configuration menu
    Copy the full SHA
    66c6d5b View commit details
    Browse the repository at this point in the history
  2. added backup of ConEmu.xml to ./config folder at cmder launch if it e…

    …xists
    Dax Games authored and Dax Games committed Oct 3, 2016
    Configuration menu
    Copy the full SHA
    abd7db9 View commit details
    Browse the repository at this point in the history
  3. added backup of ConEmu.xml to ./config/user-ConEmu.xml at cmder launc…

    …h if it exists
    Dax Games authored and Dax Games committed Oct 3, 2016
    Configuration menu
    Copy the full SHA
    5feccb3 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2016

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

Commits on Oct 11, 2016

  1. Configuration menu
    Copy the full SHA
    eb73f6f View commit details
    Browse the repository at this point in the history
  2. Merge pull request cmderdev#1126 from gucong3000/patch-1

    fix error when path has a space
    Stanzilla authored Oct 11, 2016
    Configuration menu
    Copy the full SHA
    7750216 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    60aa0ce View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2016

  1. Fix for slow startup under certain conditions (cmderdev#1122)

    Fixes cmderdev#1122 by simply calling CreateProcess before the SendMessageTimeout
    calls that are used to propagate environment variable changes.
    lamarqua committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    a78186f View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2016

  1. Merge pull request cmderdev#1131 from lamarqua/master

    Fix for slow startup under certain conditions (cmderdev#1122)
    Stanzilla authored Oct 17, 2016
    Configuration menu
    Copy the full SHA
    425dc85 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2016

  1. Fixed 3 typos

    panzer-planet authored Oct 30, 2016
    Configuration menu
    Copy the full SHA
    0b43758 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cmderdev#1143 from panzer-planet/patch-1

    Fixed 3 typos
    MartiUK authored Oct 30, 2016
    Configuration menu
    Copy the full SHA
    2b292f9 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of github.com:cmderdev/cmder into user_conemu_cfg

    Dax Games authored and Dax Games committed Oct 30, 2016
    Configuration menu
    Copy the full SHA
    d64f0e6 View commit details
    Browse the repository at this point in the history
  4. trigger push

    Dax Games authored and Dax Games committed Oct 30, 2016
    Configuration menu
    Copy the full SHA
    4c522aa View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2016

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

Commits on Nov 6, 2016

  1. Bump clink-completions to 0.3.2

    Vladimir Kotikov authored and Stanzilla committed Nov 6, 2016
    Configuration menu
    Copy the full SHA
    a0e0ada View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2016

  1. Fix typo in init.bat

    winks authored Nov 10, 2016
    Configuration menu
    Copy the full SHA
    ba99f5b View commit details
    Browse the repository at this point in the history
  2. Merge pull request cmderdev#1157 from winks/winks-patch-1

    Fix typo in init.bat
    Stanzilla authored Nov 10, 2016
    Configuration menu
    Copy the full SHA
    d7f0407 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2016

  1. Configuration menu
    Copy the full SHA
    14f3361 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70b0666 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8420272 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2016

  1. Configuration menu
    Copy the full SHA
    7447e00 View commit details
    Browse the repository at this point in the history
  2. update changelog

    Stanzilla committed Dec 1, 2016
    Configuration menu
    Copy the full SHA
    02f1ff1 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2016

  1. Documented some undocumented tab related shorcuts

    Atanas Kaynarov committed Dec 6, 2016
    Configuration menu
    Copy the full SHA
    4195b5b View commit details
    Browse the repository at this point in the history
  2. Merge pull request cmderdev#1189 from knaos/master

    Documented some undocumented tab related shorcuts
    Stanzilla authored Dec 6, 2016
    Configuration menu
    Copy the full SHA
    9f2c0e4 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2016

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

Commits on Jan 16, 2017

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

Commits on Feb 9, 2017

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

Commits on Feb 10, 2017

  1. Merge pull request cmderdev#1252 from glucas/issue-1245

    Fix cmderdev#1245: Allow alias value to contain '=' characters
    Stanzilla authored Feb 10, 2017
    Configuration menu
    Copy the full SHA
    2bb5ce0 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2017

  1. Faster dotSource implementation for parsing autoload tab-complete

    This[1] blog post describes a faster method of importing use script into
    the powershell session by loading the file contents into memory proir to
    letting powershell parse them for auto-complete values.
    
    Reference:
    
    1: https://becomelotr.wordpress.com/2017/02/13/expensive-dot-sourcing/
    
    Testing:
    
    Test cmderdev#1
    ---
    dotsource(ms) | scriptblock(ms) | filename(test data)
    ------|------|----
      18  |  13  | Approve-Script.ps1
       6  |   2  | Clear-PrinterQueue.ps1
      14  |   3  | ConvertTo-ImageFormat.ps1
       9  |   2  | Copy-MultipleItems.ps1
       6  |   2  | Enter-RemoteSession.ps1
       6  |   3  | Get-CurrentUser.ps1
       7  |   3  | Get-LogonHistory.ps1
       6  |   2  | Get-SSID.ps1
       6  |   2  | Invoke-DscPullAndApply.ps1
       8  |   3  | Move-Drive.ps1
       7  |   2  | New-ComputerList.ps1
       6  |   2  | New-Directory.ps1
       6  |   3  | Set-Proxy.ps1
       7  |   2  | Shortcut.ps1
       6  |   3  | Start-Delprof.ps1
       6  |   3  | Suspend-Computer.ps1
       9  |   4  | SystemInformation.ps1
       6  |   3  | Test-ModuleSpeed.ps1
       7  |   5  | Test-TCPConnection.ps1
       6  |   2  | Update-ModuleReadMe.ps1
      11  |   3  | Watch-Here.ps1
    
    Test cmderdev#2
    ---
    dotsource(ms) | scriptblock(ms) | filename(test data)
    ------|------|-----
      40  |  24  |  Approve-Script.ps1
       8  |   4  |  Clear-PrinterQueue.ps1
      24  |  12  |  ConvertTo-ImageFormat.ps1
      14  |   8  |  Copy-MultipleItems.ps1
       7  |   4  |  Enter-RemoteSession.ps1
      10  |   4  |  Get-CurrentUser.ps1
      30  |   6  |  Get-LogonHistory.ps1
       6  |   4  |  Get-SSID.ps1
       7  |   4  |  Invoke-DscPullAndApply.ps1
      11  |   8  |  Move-Drive.ps1
      11  |   5  |  New-ComputerList.ps1
      11  |   4  |  New-Directory.ps1
       6  |   5  |  Set-Proxy.ps1
      11  |   5  |  Shortcut.ps1
      10  |  12  |  Start-Delprof.ps1
      12  |   5  |  Suspend-Computer.ps1
      69  |   5  |  SystemInformation.ps1
      11  |   4  |  Test-ModuleSpeed.ps1
       6  |   7  |  Test-TCPConnection.ps1
       8  |   4  |  Update-ModuleReadMe.ps1
      10  |   9  |  Watch-Here.ps1
    Jackbennett committed Feb 15, 2017
    Configuration menu
    Copy the full SHA
    9a14b9b View commit details
    Browse the repository at this point in the history