February Update

From UIDWiki

Jump to: navigation, search

Rob: include()

  • try eval.call()
  • include(/*string*/ filename, /*optional object|string*/ namespace)
  • in Flyspray relative pathnames use the same directory as the including script

in Flyspray libraries (unassigned; handle later)

  • stored in triggers directory by default
  • user preference (about:config) for changing triggers dir
  • Libraries tab with checkboxes for automatic inclusion of libraries
  • when a script is added as a trigger, any automatically-included libraries should be explicitly inserted as include() statements at the top of the script, to make its dependencies explicit

in Flyspray Rob: file I/O API

  • read(/*String|nsIFile*/filename), write(filename, data), append(filename, data)
  • curDir, homeDir, profileDir, scriptsDir
  • curDir defaults to script's directory

1.0.x support

  • let it decay; don't bother testing it

Greg: tabbed editor UI

  • we want it
  • make it consistent with Firefox
  • add popup list of tabs
  • Open & Save As default to triggers directory
  • in Flyspray (later) Recent Files button

Michael: XPath support

  • find(new XPath("...", /*optional params*/))

LAPIS dependence

  • remove TC from samples: rows/cells, words, literals
  • support find("word"), find("literal")

Rob: instanceof

  • instanceOf(obj,cls) should compare obj.constructor.name with cls.name
  • be careful of anonymous cls
  • fall back to builtin instanceof if the name test fails

wiki spam

  • Greg: add captcha to account creation procedure
  • add blacklist to page editing

in Flyspray wiki structure

  • make section headings more readable ("Site-specific Scripts" rather than "ChickenfootSiteSpecificScripts")
  • cookbook page (e.g., changing keyboard focus, changing title, setting keyboard shortcuts)
  • libraries page

marketing

  • Michael: blog admin
  • Greg: wiki admin
Personal tools