Permalink
Commits on Jun 30, 2011
  1. <em:version>0.1.2</em:version>

    erikvold committed Jun 30, 2011
Commits on Jun 29, 2011
  1. test: Scriptish_getTLDURL

    erikvold committed Jun 29, 2011
  2. minor change: Use the internal '_run-at' when updating from a new scr…

    …ipt. Otherwise it will be set to the 'defaultRunAt' value.
    supahgreg committed Jun 29, 2011
  3. Closes #384 Standardize on 'Add-ons Manager', as that is what Mozilla…

    … uses.
    
    (cherry picked from commit 86094b14b98bb3ca3b3a0cc5abefdd66068e54ea)
    supahgreg committed Jun 29, 2011
  4. Newscript: generate-id button should now consume a whole column

    Also fixes: first instance of the dialog in a session was right-cropped before
    due to showing the generate-button only late in the game in a new column
    (gecko issue).
    nmaier committed Jun 29, 2011
Commits on Jun 28, 2011
  1. Newscript: Validate that name and id are provided

    If no name or id are given, accepting the dialog will fail and the
    corresponding fields will be highlighted.
    Also, the required fields got a placeholder text now, asking the user to
    specifiy the text.
    
    (Note: Not using HTML5 Form validation here, as this does not work
    reliably when intermixed with XUL)
    nmaier committed Jun 28, 2011
  2. minor: adding a semicolon

    supahgreg committed Jun 28, 2011
  3. Scratchpad integration: Make the code comprehensible

    Also allow other extensions to check/use `Scratchpad.saveAsUserscript`
    nmaier committed Jun 28, 2011
  4. Newscript: support @author

    nmaier committed Jun 28, 2011
  5. createUserScriptSource should support any @key.

    Also it should not have to care about what data type a specfic
    @key-value and simply support a more generic approach
    nmaier committed Jun 28, 2011
  6. Avoid stat thrashing

    Many nsIFile properties will effectively cause a stat() call, e.g.
    lastModifiedTime or fileSize.
    As scriptish does regularly check these properties, e.g. when loading a
    website, the number of stat() calls should be clammed. This commit clams
    such calls to 1 in 1000ms.
    Together with the previous CachedResource patch, this might greatly
    reduce the disk load where it matters, i.e. during high activity loads.
    nmaier committed Jun 28, 2011
  7. Closes #376 <preferences> should be defined in a <prefpane>

    (cherry picked from commit 894ca379445c6d1141cfb0ed012961d516cbe8e6)
    supahgreg committed Jun 28, 2011
Commits on Jun 27, 2011
  1. Dynamically inserted iframes (frames?) not processed

    Wait for location/src-less frames via DOMContentLoaded. Once we receive
    that event, push to `docReady` again and synthetisize another
    DOMContentLoaded,
    
    Closes #298
    nmaier committed Jun 27, 2011
  2. Install should re-get the script.

    Security consideration: This is not better or worse than before. A
    server might push cache-control anyway.
    nmaier committed Jun 27, 2011
  3. Make the nsIContentPolicy blazing fast

    And less gc-y
    nmaier committed Jun 27, 2011
  4. Consolidate qunit tests a bit

    - Test more of cryptoHash according to
      http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/tests/unit/test_hash_algorithms.js
      (@nmaier wrote test_hash_algorithms.js)
    - A little less global pollution in testCachedResource
    nmaier committed Jun 27, 2011
  5. Provide user pref for caching script & dep contents

    CachedResource added, which at the moment implements cached textContent
    that Script and ScriptDependency will use, as they now inherit from CR.
    
    Caching is controlled by the new `cache.enabled` preference, which by
    default it set to true.  The Advanced panel now features a checkbox
    for the user to access and control the preference.
    
    The regular script modification checks will catch any modified scripts,
    so that script editing is still possible without hacks.
    
    Closes #289
    nmaier committed Jun 27, 2011