Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: mozmaster
Commits on Feb 17, 2015
  1. Joe Walker

    runat-1128988: Remove lots of dead code from the init of FFDisplay

    joewalker authored
    Really we should kill FFDisplay entirely, and move the mozui code into
    the browser/devtools/commandline folder, but that's for another day.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  2. Joe Walker

    runat-1128988: Remove files not needed in Firefox (part 2)

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
Commits on Feb 15, 2015
  1. Joe Walker
  2. Joe Walker

    runat-1128988: Improve support for custom properties for commands

    joewalker authored
    GCLI has allowed (by turning a blind eye) to commands and other items
    that have additional properties. This is used by Firefox to allow
    commands to be placed in the toolbox and toolbar buttons with custom
    icons.
    
    With remote GCLI it's important that these custom properties are
    transferred along with the standard command metadata. This change allows
    the 'specs' function to take an array of custom properties which should
    be transferred.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
Commits on Feb 13, 2015
  1. Joe Walker

    runat-1128988: Use `function*() ...` for generators

    joewalker authored
    See joewalker#75
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  2. Joe Walker

    runat-1128988: Remove files not needed in Firefox

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  3. Joe Walker
  4. Joe Walker

    runat-1128988: Be less brutal with errors

    joewalker authored
    When registering modules it's bad to take the nuclear option because
    then nothing works on a small error, so we log instead.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  5. Joe Walker

    runat-1128988: 'system' should use a GcliFront not a connector

    joewalker authored
    GCLI in general should rely on a front rather than a connector which is
    a much lower level thing.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
Commits on Feb 12, 2015
  1. Joe Walker
  2. Joe Walker

    runat-1128988: Create connection API: system.connectSystems

    joewalker authored
    There was connectors.connect, but that wasn't a great home for it, so
    we move it to a better place, and tidy it up a bit.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  3. Joe Walker

    runat-1128988: Split getSelectionInfo into getSelection[Lookup|Data]

    joewalker authored
    2 separate methods make more sense than just one, and we're better off
    fixing this before it is a 'published' interface in Firefox.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  4. Joe Walker

    runat-1128988: A collection of nit fixes

    joewalker authored
    - Better error reporting in server.js
    - Remove unused require statements in direct.js
    - Add missing bind statements in remoted.js
    - Format a comment to help WebStorm do type detection
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  5. Joe Walker

    runat-1128988: Fix isRemote test detection

    joewalker authored
    isRemote is a testing flag to allow tests to be skipped if the commands
    are being run on a remote system. Previously there was some hacky voodoo
    which (predictably) broken, so now we're explicit about it.
    
    We also line up some comments in index.html.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  6. Joe Walker

    runat-1128988: Remove rdp.js from GCLI/web tree

    joewalker authored
    It's still there in the mozmaster branch, but there's really no point in
    keeping it here because it doesn't work, and will never work.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  7. Joe Walker

    runat-1128988: Mark built-in GCLI commands with 'runAt' property

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  8. Joe Walker
  9. Joe Walker

    runat-1128988: Introduce GcliFront to mirror protocol.js Front

    joewalker authored
    I think GCLI should probably use protocol.js, and using a similar
    interface is a step in the right direction. Also it simplifies calling
    remote interfaces.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  10. Joe Walker

    runat-1128988: Minor comment clarifications and add a missing ';'

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
Commits on Feb 6, 2015
  1. Joe Walker

    Merge branch 'master' into mozmaster

    joewalker authored
    Conflicts:
    	gcli.js
    	index.html
    	lib/gcli/commands/server/firefox.js
    	lib/gcli/commands/server/server.js
    	lib/gcli/connectors/direct.js
    	lib/gcli/connectors/index.js
    	lib/gcli/connectors/websocket.js
    	lib/gcli/index.js
    	lib/gcli/items/remote.js
    	lib/gcli/nls/strings.js
    	lib/gcli/settings.js
    	lib/gcli/test/index.js
    	lib/gcli/test/testCli2.js
    	lib/gcli/test/testCompletion1.js
    	lib/gcli/test/testExec.js
    	lib/gcli/test/testFile.js
    	lib/gcli/test/testPref1.js
    	lib/gcli/test/testUnion.js
    	lib/gcli/test/testUrl.js
    	lib/gcli/testharness/examiner.js
    	lib/gcli/ui/terminal.js
    	lib/gcli/util/promise.js
    	package.json
    	remote.html
  2. Joe Walker

    runat-1128988: Trim gcli/index API down now that gecko is trimmed

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  3. Joe Walker

    runat-1128988: Minor documentation update

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  4. Joe Walker

    runat-1128988: Minor comment improvement

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  5. Joe Walker

    runat-1128988: Escape the { in a regexp so it's not a match count (ge…

    joewalker authored
    …cko-dev import)
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  6. Joe Walker

    runat-1128988: Output doesn't need to cache a conversionContext (geck…

    joewalker authored
    …o-dev import)
    
    Its only use of context is in a function into which a context is passed
    so we can just remove it as a member variable and all is good.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  7. Joe Walker

    runat-1128988: Use system rather than 'gcli' (gecko-devt import)

    joewalker authored
    In many cases there is a gcli global that is a system object. We want
    to make it clearer what we're working with and to get rid of the global
    
    The changes to cli.js rid us of a useless function and make it clearer
    how system is used inside a Requisition.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  8. Joe Walker

    runat-1128988: Fix lingering input bug

    joewalker authored
    When an async command was run, the input element didn't get cleared
    until the async command had completed. This clears it as soon as return
    is pressed.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  9. Joe Walker

    runat-1128988: Add 'location' support to filter commands

    joewalker authored
    Adding a 'location' to a system makes it ignore commands that don't have
    a matching runAt property. This is principly for client/server setups
    where we import commands from the server to the client, so a system with
    `{ location: 'client' }` will silently ignore commands with
    `{ runAt: 'server' }`. Any system without a location will accept
    commands with any runAt property (including none).
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  10. Joe Walker

    runat-1128988: Improve 'type not found' debugging

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  11. Joe Walker

    runat-1128988: Improve 'command not found' error message

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  12. Joe Walker

    runat-1128988: Add system.toString for debugging purposes.

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  13. Joe Walker

    runat-1128988: Rationalize commands 1: Create item groups

    joewalker authored
    The various places in GCLI where we created a new system all had their
    own list of items in their own groups, that were mostly the same sets
    over again. So we broke them into the logical groups to make
    maintenance easier, and importing simpler.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  14. Joe Walker

    runat-1128988: Rationalize commands 1: Remove uncared for commands

    joewalker authored
    Several commands were fairly pointless or in various stages of broken
    so we removed everything that wasn't good, and included everything that
    was.
    
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
Commits on Feb 5, 2015
  1. Joe Walker

    runat-1128988: Mark tests that fail when run remotely

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
  2. Joe Walker

    runat-1128988: Rename api.js to system.js

    joewalker authored
    Signed-off-by: Joe Walker <jwalker@mozilla.com>
Something went wrong with that request. Please try again.