Commit Graph

504 Commits

Author SHA1 Message Date
Gijs Kruitbosch
897dd49042 Bug 1136139 - Fix collapsing of search suggestions when there are none. r=florian
--HG--
extra : transplant_source : F%F4%3D%E7%FE%01%23%DA%B1f%A1D%DBF%20%A9%3C%08%02%84
2015-04-29 15:35:00 +01:00
Marco Bonardo
c45dc2da62 Bug 1094844 - Use new keywords API in search service. r=jaws 2015-04-16 10:56:34 +02:00
Chris
109759719f Bug 1110767 - Instantly show the search engine when it is selected in the search bar header text. r=florian 2015-04-13 14:52:42 -07:00
Vikram Jadhav
37b9df3be3 Bug 1120957 - fix the source of searches made with paste & search, r=gijs,bwinton 2015-03-09 12:07:00 +01:00
Sebastian Hengst
bb17128a40 Bug 1139427 - Define file-based metadata in /browser/components. r=gavin
Add bugzilla components as metadata to moz.build files for easier bugfiling into the correct component. More information:

https://gecko.readthedocs.org/en/latest/build/buildsystem/mozbuild-symbols.html#bug-component
2015-03-08 20:43:22 +01:00
Chris
d1df8a5366 Bug 1121417: Change hiddenOneOffs search pref to use unichar type. r=gavin 2015-03-02 14:00:45 -08:00
Neil Deakin
4be3ac5710 Bug 1131685, don't have the selection in the list interfere with caret movement in the search field, r=mak 2015-02-26 09:14:19 -05:00
Gijs Kruitbosch
871d90c7ec Bug 1107695 - make one-off buttons accessible, r=florian,f=MarcoZ
--HG--
extra : amend_source : fb3d91750b3c372067849d056efaf4997dbe70f2
2015-02-16 14:23:47 +00:00
Phil Ringnalda
f8430495ed Back out a7923665bfa0 (bug 1121417) for e10s bc1 bustage
CLOSED TREE
2015-02-23 21:18:22 -08:00
Chris
19e182b01e Bug 1121417: Change hiddenOneOffs pref to use unichar type. r=florian 2015-02-23 10:45:15 -08:00
Wes Kocher
4277cc9e58 Backed out changeset 42269ccaf982 (bug 1107695) for bc1 orange 2015-02-23 15:20:45 -08:00
Gijs Kruitbosch
87e7d21fbc Bug 1107695 - make one-off buttons accessible, r=florian,f=MarcoZ 2015-02-16 14:23:47 +00:00
Florian Quèze
fe7057dc3e Bug 1126250 - Show one-off buttons when clicking the magnifying glass, r=Mossop.
--HG--
rename : browser/components/search/test/browser_searchbar_keyboard_navigation.js => browser/components/search/test/browser_searchbar_smallpanel_keyboard_navigation.js
2015-02-20 12:41:11 +01:00
Dave Townsend
5201ad6b9e Bug 1132030: Check messages against the actual locale provided strings to avoid failing tests when the brandname changes. r=florian
--HG--
extra : rebase_source : b92b781210743a3f989cf8366f3ecaf503b52664
2015-02-13 13:50:49 -08:00
Chris
3a349b2824 Bug 1132028 - Remove unavailable method from array call in hiddenOneOffs_cleanup.js. r=florian 2015-02-12 09:27:46 -08:00
Dave Townsend
fcf968baa0 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
38bd36d34c 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
337218b59d Bug 958874 - Use HTTPS for Bing search, r=gavin 2015-02-03 01:07:06 -05:00
Florian Quèze
9666da8e38 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
bb2f6788d4 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
6c7c393499 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
a98e61e293 Bug 1124900 - add tests for keyboard navigation in the search panel, r=Mossop. 2015-02-05 00:08:19 +01:00
Florian Quèze
69191a5692 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
041c20081a Merge mozilla-central to fx-team 2015-02-03 15:34:51 +01:00
Carsten "Tomcat" Book
762a6410d7 Backed out changeset a882d834faee (bug 1111947) for causing merge conflicts down from m-c 2015-02-03 15:34:07 +01:00
Abdelrhman Ahmed
c291a32838 Bug 1115002 - Pressing context menu should close the search panel. r=Florian 2015-02-03 13:57:04 +01:00
Florian Quèze
1284ac43ac Bug 1111947 - Dropping text on the searchbar shouldn't search it immediately, r=Mossop. 2015-02-03 13:06:01 +01:00
Chris
2cab54748c 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
c891137718 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
ffec61253c 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
1722d2c352 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
263931f8de 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
c8045cb88f merge fx-team to mozilla-central a=merge 2015-01-12 13:01:26 +01:00
Dave Townsend
74240ea15b 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
f6a2d05cfe 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
cfd6d9e121 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
fe9799f4da Bug 1102937 - Add UITelemetry for the improved search bar UI. r=florian, r=felipe 2015-01-06 13:09:43 -05:00
Dave Townsend
eb79c710c5 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
b55dfdb095 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
352c378a14 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
110e6a2deb 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
af75271daf 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
c4f3360e09 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
f93032daae 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
3af8f01fd0 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
2d0d8d8d11 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
596118b5c6 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
3b47095505 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
8e700c9dee Bug 1110069 - Replace getBrowser() with gBrowser in /browser. r=dao 2014-12-11 21:48:00 -05:00
Carsten "Tomcat" Book
e82e89c4ce Backed out changeset 85a89a0a4c1c (bug 1110069) 2014-12-12 13:14:57 +01:00