aboutsummaryrefslogtreecommitdiffstats
path: root/pages
AgeCommit message (Collapse)Author
2015-09-09Tweak option textPhil Crosby
2015-09-09Alt modifier in vomnibar opens in new tab.Stephen Blott
2015-06-25Merge branch 'hud-iframe-input-with-store-all-settings'Stephen Blott
2015-06-25Merge branch 'store-all-settings' into hud-iframe-input-with-store-all-settingsStephen Blott
2015-06-20Add test that every option has a default value.Stephen Blott
This prevents issues like #1731 and is an (better) alternative to #1732.
2015-06-16Make "Show Advanced Options" state persistent.Stephen Blott
2015-06-13Pad the HUD leading / with a "hair space"mrmr1993
2015-06-13Suppress arrow events in find-mode HUD.Stephen Blott
2015-06-13Place cursor at end of find-mode input...Stephen Blott
... for FindModeHistory.
2015-06-11Initialise options-page link-hint mode correctly (better).Stephen Blott
2015-06-10Initialise options-page link-hint mode correctly.Stephen Blott
2015-06-10Tweaks to up/down handler in find mode HUD to give it the data it needsmrmr1993
2015-06-10Handle up and down keys directly in the HUDmrmr1993
2015-06-10Move FindModeHistory to its own file to be used by the HUD iframe toomrmr1993
2015-06-10Replace   with normal spaces for HUD find modemrmr1993
This keeps searches with trailing spaces from missing matches where the page contains normal spaces, preventing " (No matches)" being shown every time space is pressed.
2015-06-10Accept input in the HUD iframemrmr1993
2015-06-10Reduce down the HUD's match count string codemrmr1993
2015-06-10Make all find mode updates go via the HUD in preparation to use an inputmrmr1993
2015-06-10Decide find mode text in the HUD iframe, not in frontendmrmr1993
2015-06-07On completion-engines page, put example first.Stephen Blott
On that page, we have regular expressions (which are not new-user friendly) and an example (which is new-user friendly). So the example should come before the regular expressions.
2015-06-06Merge branch 'rework-completions'Stephen Blott
Conflicts: background_scripts/completion.coffee background_scripts/completion_engines.coffee
2015-06-06Re-work completions: extend engine wrapper to handle prefixes.Stephen Blott
This commit contains the bulk og the material changes for which the previous commits established the basis. 1) Add a general framework for detecting query prefixes in search URLs, adding them to query sent to the completion engine, and stripping them from the resulting suggestions. This allows the user to have a search engine... j: http://www.google.com/search?q=javascript+%s Javascript and have the prefix "javascript" included (automatically) in queries sent to completion engines, which results in substantially better suggestions. 2) Re-work completion for Google Maps in a simpler form.
2015-06-06Re-work completions: initial refactor.Stephen Blott
The original completion-engine interface was based on three functions. With some experience, it seems there is a pattern involving explicit regular expressions which is used by all actual engine implementations. This is a refactoring to make those regular expressions explicit (and required), and is a first step towards adding additional fucntionality. This also simplifies the completion cache key (use JSON instead of some weird hash).
2015-06-04Completion page; avoid building many separate strings.Stephen Blott
2015-06-03Completion page; add example DECLARATIONS to page.Stephen Blott
Instead of just giving an example search URL, we can give the actual declaration (which the user can copy, paste and tweak).
2015-06-03Completion page; add example URLs to page.Stephen Blott
This allows the user to copy and paste search URLs from this page into the options page.
2015-06-03Tweak vomnibar custom search behaviour.Stephen Blott
With this, if we're in custom search mode and the cursor is at the start of the vomnibar input and the user types <Delete>, then we exit custom search mode and reinstate the keyword (and arrange for the cursor to be in the right place). This makes it possible to change (or just disable) the custom search engine without having to first wholly delete the query.
2015-06-01Tweak a456de97daaf1361bc3ad7df775f1b6cbe1f720e.Stephen Blott
2015-06-01Use JSON.stringify to compare setting values everywheremrmr1993
2015-06-01Merge branch 'unified-settings-implementation'Stephen Blott
2015-06-01Always call performPostUpdateHook after Setting updates (.set/.clear)mrmr1993
2015-06-01Eliminate possibility of race condition.Stephen Blott
See newly-added long comment for details.
2015-06-01Re-work unified settings.Stephen Blott
This is a minor re-working of #1705 from @mrmr1993. The main changes are: - Simplify initialisation logic. - Always initialise Settings immediately and automatically (ie. don't initialise Settings separately and manually in the background, content scripts, options and tests). - Get rid of addEventListener (it's only being used for on "load"). - Add Settings.use() in its place.
2015-05-31Completion page; tidy up regular expressions.Stephen Blott
2015-05-31Completion page; functional version.Stephen Blott
2015-05-31Re-write class with inheritence.Stephen Blott
2015-05-31Fully remove unused option.Stephen Blott
(This was supposed to have been removed previously. Oops!).
2015-05-31Completion page; initial version.Stephen Blott
2015-05-31Merge pull request #1486 from smblott-github/advanced-options-buttonStephen Blott
Move "show-advanced-options" to a fixed-position button.
2015-05-31Merge pull request #1700 from smblott-github/help-page-vomnibar-commandsStephen Blott
Move Vomnibar commands to own category on help page.
2015-05-31Merge pull request #1697 from smblott-github/vomnibar-map-with-prepopulated-textStephen Blott
Direct keyboard access to custom-search engines via keyword flag
2015-05-30Move Vomnibar commands to own category on help page.Stephen Blott
The help page gets pretty lopsided when advanced commands are shown. This balances things out a bit by creating a new category for Vomnibar commands in the right-hand column.
2015-05-30Add a link to the wiki to the help page.Stephen Blott
Ass suggested in by @LarryBattle in #1643.
2015-05-29Prepopulate @customSearchMode in vomnibar.Stephen Blott
This avoids a flicker whereby the keyword is first inserted into the input, then removed.
2015-05-29Use lib/settings.coffee to provide settings to options.html/popup.htmlmrmr1993
Instead of directly accessing the background page's Settings object, the options page and the page popup now have their own.
2015-05-29Merge branch 'completion-on-custom-search-only' into ↵Stephen Blott
completion-on-custom-search-only-merge Conflicts: background_scripts/completion.coffee
2015-05-28Custom-only: fix long-standing race condition.Stephen Blott
In omni mode, the vomnibar suggestions are updated asynchronously. Therefore, the contents of the primary custom search-engine suggestion may be behind the actual contents of the comnibar input. So, we reconstruct the custom search-engine query on "enter". (This fixes a long-standing race condition.)
2015-05-28Custom-only: remove omniSearchWeightOption.Stephen Blott
This option is no longer needed, since we don't do search completion except for custom searches.
2015-05-28Custom-only: strip non-custom search code.Stephen Blott
2015-05-27Tap-to-open only in omni-mode vomnibar.Stephen Blott
Do not use tab-to-open the vominibar in tabs mode. (It doesn't make any sense.)