Labs/Ubiquity/Ubiquity 0.5.5 Release Notes
Jump to navigation
Jump to search
Main Features
Ubiquity 0.5.5 introduces new features and APIs as well as fixes bugs.
Download It
Thanks
In Depth
Features
- Supports up to Firefox 3.7a5pre (but no longer supports 3.0.*).
- More keys are allowed for the key combo to invoke Ubiquity.
- The help view informs feed updates. (#835)
- Toolbar button is added.
- Bundled feeds use persistent URLs (resource: instead of file:), making profiles portable. (#882)
- About pages got nicer URLs. (chrome://ubiquity/content/cmdlist.xhtml → about:ubiquity?cmdlist)
- Command Editor is now Bespin thanks to cers.
- Setting {extensions.ubiquity.openAt} to "X,Y" makes Ubiquity open at that screen coordinates. ([1])
- Clicking the highlighted suggestion executes it.
- Suggestions are mouse-scrollable.
- Non-left click on a popup menu entry opens its preview instead of executing it.
- Repeating the last command is now possible (essentially the same as Ctrl+Space → Enter, but far faster). Set a key combo for it on about:ubiquity?settings.
- Command histories are keyboard accessible.
- Ctrl+↑↓ (or mouse scroll over command entry)
- Ctrl+(Shift)+Tab completes current input from history.
- Right click on command entry or preview browser opens context menu.
Commands
new
- Built-in
- change skin
- Firefox
- view extension
- stop
- print preview
- open error console
- Developer
- unescape HTML entities
- view selection source
- jQuery API
changes
- "check calendar" shows dates correctly.
- "translate" warns for API limit and fallbacks to page translation (#854), retains the original HTML, displays the detectedSourceLanguage, and supports default/alternate language settings (#884).
- {extensions.ubiquity.translate.lang.default} : default language code to translate into
- {extensions.ubiquity.translate.lang.alt} : alternate language code to translate into if the source language equals default language
- "weather" is improved by mitcho.
- "open" acts also like awesomebar.
- "email" works again by not using the broken gmonkey API.
- "zoom" zooms the current tab.
- "highlight syntax" uses google-code-prettify.
- Many search commands got better previews.
- Text editing commands work outside of rich-edits.
Skin
Because of the security fix, the default preview URL is changed. Use:
@-moz-document url(resource://ubiquity/preview.html) {
instead of:
@-moz-document url(chrome://ubiquity/content/preview.html) {
Parser
- Dutch and German are supported.
- Changing the parser and/or parser language no longer requires restart. (#760)
- Parser 1 handles partial modifiers (#889) and verbs on end.
New APIs
Default Feed
_()
works outside ofcmd.execute()/cmd.preview()
.- Functions prefixed with
teardown_
are executed on refreshing/purging the feed. - Specifying
author(s)/contributor(s)/license/homepage
to feed itself is now possible. Simply assign those properties to thefeed
object as you do with command objects. - More globals:
atob btoa Audio Image DOMParser NodeFilter XMLSerializer
Ubiquity
execute() preview()
Utils
new
currentTab currentTabs tabs.from() tabs.length BrowserTab()
chromeWindows hiddenWindow
sortBy() uniq() seq() count() extend() regexp() defineLazyProperty() unescapeHtml()
clipboard.html clipboard.get() clipboard.set()
notify() listenOnce() parseHtml() reportError()
regexp.* prefs.* gist.*
changes
openUrlInBrowser()
conforms to {browser.tabs.loadDivertedInBackground} and returns the created tab or window.focusUrlInBrowser()
can focus across windows.ellipsify()
accepts plain string.trim()/encodeJson()/decodeJson()/json
are deprecated.
CmdUtils
new
CreateAlias() getCommand() executeCommand() previewCommand()
mixNouns()
isSelected getSelectedNodes() getSelectedRanges()
changes
- Some methods prefixed with get/set can be accessed as getters/setters. (
CmdUtils.getWindow() → CmdUtils.window
) makeSearchComand()
is improved in a number of ways. SeeLabs/Ubiquity/Writing_A_Search_Command.
onPageLoad()
supports GreaseMonkey style page filters.injectCss()/injectHtml()/injectJs()/loadJQuery()
can specify target document.
Nouns
noun_type_url
supports Google Reader (https only).
jQuery
Bugs Fixed
- XML errors on Command List are catched and reported.
- PNG file sizes are reduced. (#888)
- XHTML feeds auto-refresh correctly. (#611)
- Noisy dumps are removed. (#897)
- Preview no longer has chrome privilege. (#714)
- {extensions.ubiquity.inputLimit} is added. (#507)
noun_type_url
is fixed. (was broken beyond belief)
- The bug in
noun_type_percentage
is fixed, which should fix "zoom".