Unfeatured Changes in 0.5
Things unlisted in the Release Note.
- Utils
log(), signHMAC(), dump(), clipboard, json, OS
- Improved
tabs, history
- Focus control with
openUrlInBrowser()
- Extra arguments of
setTimeout()
- Faster
trim()
- CmdUtils
absUrl(), previewList(), onUbiquityLoad(), [http://ubiquity.mozilla.com/trac/ticket/668:title=maxSuggestions]
- CreateCommand
names, argument, authors, contributor
(work as same as their singular/plural counterparts)argument: noun_arb_text
// argument: {object: noun_arb_text}
// argument: [{role: 'object', nountype: noun_arb_text}]argument: {object_URL: noun_type_url}
// argument: {'object URL': noun_type_url}
// argument: [{role: 'object', label: 'URL', nountype: noun_type_url}]argument: {object: /\d+/}
// argument: {object: CmdUtils.NounType(/\d+/)}execute
can be a URL to open or a message to display
- makeSearchCommand
parser.maxResults
parser.preview
can be a function for complex parsing
- NounUtils
grepSuggs(), matchScore()
NounType()
can:- take object/regexp in addition to array
- specify default input
- Noun Types
name, [https://ubiquity.mozilla.com/hg/ubiquity-firefox/rev/5e92f7fac29b:title=label]
←_namenoun_type_command, noun_type_enabled_command, noun_type_disabled_command
↑noun_type_commandsnoun_type_lang_google, noun_type_lang_wikipedia
↑noun_type_languagenoun_type_search_engine
←noun_type_searchenginenoun_type_url
is smarternoun_type_livemark
is easier to usenoun_type_awesomebar
works- inline documentation underway
- DFP globals
$ // jQuery
Cu // Components.utils
Cr // Components.results
displayMessage
[https://ubiquity.mozilla.com/hg/ubiquity-firefox/raw-file/tip/ubiquity/index.html#modules/msgservice.js:title=on(click|finished)]
displayMessage(x, this)
// displayMessage({icon: this.icon, title: this.name, text: x})
[http://ubiquity.mozilla.com/trac/ticket/93:title=Bin]
- gUbiquity
toggleWindow(), lastKeyEvent
- Skin syntax and DOM structure
- ubiquityLoad_
- UI
- Wheel click to open a link without closing Ubiquity
- Clickable suggestions
- Performance
- Moduled cmdutils/nountypes/date
- Faster feed refresh
- Less memory usage
- Less leaks
- Moduled cmdutils/nountypes/date
- Parser 1
- AutoHyphenize
- Case-insensitive verb matching
- Parser 2
- Unrecommended for daily use (yet)