Commit Graph

289 Commits

Author SHA1 Message Date
Dave Townsend
6e2a38d03c Bug 1068186: Update window.sidebar and window.external APIs to support e10s. r=felipe
Moves nsSidebar.js to toolkit and makes it just pass messages to chrome for each
API call. MainProcessSingleton listens for those messages and passes the call
along to the search service.
Combines the validation code into the same function and takes the opportunity to
support relative URLs too.
Adds a bunch of tests for these web APIs.

Also fixes:
Bug 518929: Implement window.external APIs in core code
Bug 530847: Remove Fennec's nsISidebar implementation once that code is moved into the core
Bug 517720: Adding a search engine using relative URIs is not supported

--HG--
rename : browser/components/sidebar/nsSidebar.js => toolkit/components/search/nsSidebar.js
extra : rebase_source : 3e9caa49383e78e73e5f111ff09fb063f2cfa7c0
2015-02-02 12:15:26 -08:00
Mike Connor
9cec39ddde bug 1126511 - update Yahoo search plugins to use per-access point tags for better reporting/analysis, Fennec portion, r=margaret/mfinkle 2015-02-05 11:24:54 -05:00
Mike Connor
4d8228cbca Bug 958874 - Use HTTPS for Bing search, r=gavin 2015-02-03 01:07:06 -05:00
Florian Quèze
4e6de52441 Bug 1102038 - the 'Change Search Settings' button and the open search items cannot be used via the keyboard, r=Mossop. 2015-02-05 00:08:19 +01:00
Florian Quèze
a99001cab9 Bug 1124904 - cleanup keyboard navigation in the new search panel - separate the logic moving the selection from the logic examining at the keyboard events, r=Mossop. 2015-02-05 00:08:19 +01:00
Florian Quèze
733f615541 Bug 1124904 - cleanup keyboard navigation in the new search panel - simplify the 'selected' attribute handling, r=Mossop. 2015-02-05 00:08:19 +01:00
Florian Quèze
bee5e371c7 Bug 1124900 - add tests for keyboard navigation in the search panel, r=Mossop. 2015-02-05 00:08:19 +01:00
Florian Quèze
527fa74db7 Bug 1111947 - Dropping text on the searchbar shouldn't search it immediately. r=mossop 2015-01-26 15:41:05 +01:00
Carsten "Tomcat" Book
b308b6c8ab Merge mozilla-central to fx-team 2015-02-03 15:34:51 +01:00
Carsten "Tomcat" Book
f6711e2d95 Backed out changeset a882d834faee (bug 1111947) for causing merge conflicts down from m-c 2015-02-03 15:34:07 +01:00
Abdelrhman Ahmed
cd9e5af5ec Bug 1115002 - Pressing context menu should close the search panel. r=Florian 2015-02-03 13:57:04 +01:00
Florian Quèze
12679ea765 Bug 1111947 - Dropping text on the searchbar shouldn't search it immediately, r=Mossop. 2015-02-03 13:06:01 +01:00
Chris
ac9532722d Bug 1106926 - Insuring that removing a hidden one click search provider also removes it from the browser.search.hiddenOneOffs pref. r=florian
--HG--
extra : rebase_source : f4f501e6246bc9515792890a4229078185b07464
2015-02-02 16:50:52 -08:00
Neil Deakin
8c96ab4157 Bug 1114707, don't close search suggestions when the caret is moved when norolluponanchor is set, r=mak 2015-02-02 15:53:55 -05:00
Neil Deakin
07d8ecae2d Bug 1116865, add an attribute to popups to allow them to not rollup when clicking on the anchor, this is used for the new search field, r=neil, felipe 2015-02-02 15:53:53 -05:00
Florian Quèze
711bcb73a3 Bug 1120389 - 'search.xml, line 500: TypeError: aEvent is undefined' when using the 'Paste & Search' context menu item, r=felipe. 2015-01-16 22:20:24 +01:00
Dave Townsend
6f42a65173 Bug 1118135: Clicking the magnifying glass while the suggestions are open should close the popup and not re-open it. r=felipe
The popup gets closed when native events trigger rollup. This is before the any
mousedown event reaches the DOM so it is difficult to detect the case where it
was a click on the magnifying glass icon that closed the popup. Here a field
is added to the popup that is set to true when rollup is triggered and false
on the next tick of the event loop which will be after the mousedown event
reaches the DOM. This allows us to detect the case and ignore the click on the
magnifying glass.

--HG--
extra : rebase_source : 521d024b33011d0f501a5cd6a1317363f585ffed
2015-01-06 11:05:32 -08:00
Carsten "Tomcat" Book
a95e320814 merge fx-team to mozilla-central a=merge 2015-01-12 13:01:26 +01:00
Dave Townsend
6022ced1e2 Bug 1119450: Clicks on the search go button shouldn't open the search popup. r=felipe
--HG--
extra : rebase_source : 0f7fa4e6e6cc833a41cac28288bdce38722815a7
2015-01-09 11:05:50 -08:00
Neil Deakin
e4fc31f0ac Bug 1089005, add a third consume option that never consumes even over the anchor. This allows clicks on the location field to adjust the caret position, r=dao 2015-01-09 21:12:10 -05:00
Chris
385cde08ce Bug 1117153 - Added 'keyword' param for location bar searches triggered by search engine keyword. r=gavin 2015-01-04 17:14:26 -08:00
Blake Winton
04323c7981 Bug 1102937 - Add UITelemetry for the improved search bar UI. r=florian, r=felipe 2015-01-06 13:09:43 -05:00
Dave Townsend
3bd65ce688 Bug 1102050: Set consumeoutsideclicks="false" whenever the popup is opened. r=felipe
showHistoryPopup in autocomplete.xml always sets consumeoutsideclicks to true
so we have to override that when the popup is actually opened.

The test here isn't a very good one. For some reason the events generated by
EventUtils aren't consumed regardless of consumeoutsideclicks, I'm not sure
there is a great way to test this automatically.

--HG--
extra : rebase_source : 1e413c645cc0445089f0214a6d3b68365b47ca80
2014-12-31 13:36:28 -08:00
Florian Quèze
eeaf0c7548 Bug 1110678 - Re-implement Ctrl+up/down and Alt+up/down in the search field, r=felipe. 2014-12-23 02:12:36 +01:00
Dave Townsend
35cca24fcc Bug 1103455: Change the events used to popup the search suggestions to avoid showing them when opening context menus. r=florian 2014-12-22 11:54:15 -08:00
Florian Quèze
aadb55d1c1 Bug 1106432 - Search bar icon should indicate when a page offers open search - fix leak caused by XBL in toolbarless popups, r=Gijs. 2014-12-21 01:10:46 +01:00
Blake Winton
81f134d608 Bug 1106432 - Allow search bar icon to indicate when a page offers OpenSearch. ui-r=shorlander, r=florian. 2014-12-18 15:25:21 -05:00
Phil Ringnalda
e2878ada9a Backed out 2 changesets (bug 1106432) for mochitest-a11y failures
CLOSED TREE

Backed out changeset 513130bd59ed (bug 1106432)
Backed out changeset 4dbb2ddd0093 (bug 1106432)
2014-12-20 17:58:08 -08:00
Florian Quèze
3af2f817fa Bug 1106432 - Search bar icon should indicate when a page offers open search - fix leak caused by XBL in toolbarless popups, r=Gijs. 2014-12-21 01:10:46 +01:00
Blake Winton
5c65e92619 Bug 1106432 - Allow search bar icon to indicate when a page offers OpenSearch. ui-r=shorlander, r=florian. 2014-12-18 15:25:21 -05:00
Florian Quèze
d7bef18288 Bug 1104142 - Shift-tab doesn't go back to location bar if there is text in the search field, r=Gijs, ui-r=shorlander. 2014-12-18 23:54:26 +01:00
Blake Winton
947fa3c0c7 Bug 1106101 - Let people open searches in new tabs with ctrl/cmd+click or middle mouse button. ui-r=phlsa, r=florian 2014-12-17 15:23:44 -05:00
Thejdeep
c68ee51e36 Bug 1111275 - Replace gBrowser.mCurrentBrowser with gBrowser.selectedBrowser. r=dao
--HG--
extra : rebase_source : 8a8ef5fafbdbddf987eb69407444b3a2edc1be19
2014-12-15 22:07:18 +01:00
Ankit Goyal
d8c264deb7 Bug 1110069 - Replace getBrowser() with gBrowser in /browser. r=dao 2014-12-11 21:48:00 -05:00
Carsten "Tomcat" Book
b99c181926 Backed out changeset 85a89a0a4c1c (bug 1110069) 2014-12-12 13:14:57 +01:00
Ankit Goyal
99c97ab78d Bug 1110069 - Replace getBrowser() with gBrowser. r=dao
--HG--
extra : rebase_source : 4db6c01d37ea4e38e94f70a677c5d31decd22f72
2014-12-12 10:40:23 +01:00
Kev Needham
b3a862121e Bug 1104925: update Yahoo search plugin for en-US, r=gavin/mconnor
--HG--
extra : transplant_source : %FE%08%0D%0Er%13%2B%D4%1Fv%3C%CC%9A%F9%A6%FBK%A4%AE%22
2014-11-27 15:32:17 -08:00
Kev Needham
e89fac4575 Bug 1103216: update Google parameters, r=gavin, f=mfinkle, test changes r=felipe
--HG--
extra : transplant_source : %12%07%00%00%E1kA%0E%0B%24%0A%89%94%9C%17%B5EE%1E%B9
2014-11-24 11:11:44 -08:00
Felipe Gomes
7797b9d660 Bug 1101670 - UITour: ability to set a search term and show the search popup. r=dolske 2014-11-21 19:19:31 -02:00
Florian Quèze
f139935d1a Bug 1103190 - land Flare strings in Firefox 36, r=felipe. 2014-11-27 12:24:53 +01:00
Florian Quèze
a7e6668f97 Bug 1088660 - Improve the search bar UI to support one-off searches - improve discoverability of the search settings, r=felipe. 2014-11-20 20:55:41 +01:00
Florian Quèze
1076501bfb Bug 1088660 - Improve the search bar UI to support one-off searches, r=felipe. 2014-11-18 00:59:11 +01:00
Tim Taubert
a746a8beef Bug 1077652 - Fix search tests to ignore loads from browsers without tabs r=jaws 2014-11-20 19:36:21 +01:00
Joel Maher
625a8cb7c4 Bug 1100301 - browser_aboutHome_behavior.js leaks on windows 7+8 opt|debug runs when --run-by-dir. r=RyanVM a=test-only 2014-11-17 13:40:13 -05:00
Joel Maher
d47aeb5fa0 Bug 1057512 - --run-by-dir enabled for browser-chrome on trunk. r=RyanVM 2014-11-17 11:01:23 -05:00
Tim Taubert
6aed3bf760 Bug 1077652 - Don't access a tabbrowser's browsers through mPanelContainer r=dao 2014-11-14 06:18:53 +01:00
Joel Maher
e0e101fa17 Bug 1082133 - browser_*_behavior.js fails when run as a standalone directory. r=mak 2014-11-11 11:37:00 +01:00
Jon Morton
0f167a14a3 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Blair McBride
719d7fbfc8 Bug 1078213 - Search bar binding shouldn't set IDs for menuitems. r=MattN
--HG--
extra : transplant_source : %3EG%1A%90P%81%C0%F9%8C%8A%16%93%D5e%BC%86%85%A4%99%CD
2014-10-08 11:58:04 +13:00
Alex Bardas
fe8e2dde55 Bug 990799 - Update search plugins to use rel='searchform'. r=gavin 2014-09-17 18:42:00 +02:00