Commit Graph

22253 Commits

Author SHA1 Message Date
James Willcox
1f13c4c303 Bug 1322029 - Don't allow Fennec to start if 32-bit ABI unsupported r=jchen 2017-02-07 21:14:44 -06:00
Matthew Noorenberghe
d14b1e4ab2 Bug 1330111 - Always attempt to autocomplete on type=password fields upon focus. r=daleharvey
Let password manager handle opening the popup on username fields itself.

MozReview-Commit-ID: FbI6CgsadEd
2017-02-07 11:15:35 +08:00
Carsten "Tomcat" Book
d228eab012 Merge mozilla-central to mozilla-inbound 2017-02-08 11:30:50 +01:00
Andrea Marchesini
8cf1cb8c2f Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-08 10:18:32 +01:00
Phil Ringnalda
bcbe2e1fcc Merge m-c to autoland 2017-01-20 19:15:16 -08:00
Dave Townsend
c5f0e2be67 Bug 1331968: Implement the moz: protocol handler to redirect to a fixed website. r=gijs
The protocol handler is intentionally simple. It works for the entering into the
urlbar case but not a lot else. Included some basic tests.

MozReview-Commit-ID: 4FQ1irdt3Nj

--HG--
extra : rebase_source : 30d9fc7ba2c500f268d282e47d291724d9899ba4
2017-01-18 14:10:46 -08:00
Andrzej Hunt
1e0cff53d2 Bug 1311555 - Use filled bookmark star in ActivityStream context menu r=sebastian
Unfortunately tinting the bookmark star is highly complicated due to the tinting
that NavigationView performs (i.e. we'd likely have to disable NavigationView
tinting, and do manual tinting on every icon - alternatively we could hack
the tint-list to use blue for "checked" items, and set the bookmark item
as checked). Since it's unclear if we even want the star to be blue,
we'll leave it grey (but filled) for now.

MozReview-Commit-ID: DekRZJayKIz

--HG--
extra : rebase_source : 1e3443e5f09c60bd0d7295bc35ecc08ca17b3dab
2017-01-18 12:20:50 +01:00
Andrzej Hunt
9bd6a8b199 Bug 1311555 - Pre: remove unused imports r=ahunt
MozReview-Commit-ID: 6Xk7Z01m41A

--HG--
extra : rebase_source : cfe5a302b9795ae5ae15af00452b39ef8d9db737
2017-01-18 12:18:06 +01:00
Andrzej Hunt
e75d6e42c4 Bug 1330986 - Override proguard config to fix VectorDrawable corruption on Android 4 r=sebastian
See https://code.google.com/p/android/issues/detail?id=209558 . On Devices
running Android 4 and below, VectorDrawable's can be corrupted due
to overzealous proguarding. This doesn't appear to have been
fixed in the support library yet, and even if it were fixed we
still wouldn't be able to switch to the most modern support
library without significant work.

MozReview-Commit-ID: 3ByogGygCEd

--HG--
extra : rebase_source : 2adeed63f88ca39a71feec60627fb812b76d3bb4
2017-01-17 12:16:42 +01:00
Nevin Chen
a2bee3f570 Bug 1331431 - Use baseline and FontMetrics instead of textview's center and text size to get the real text height. r=sebastian
MozReview-Commit-ID: 4HJKZP0F0ow

--HG--
extra : rebase_source : ef8a6a8b333733e3e07a23cc6bd0c19fe179d282
2017-01-18 17:59:23 +08:00
Nevin Chen
790b6fa100 Bug 1275662 - Close all tabs and clean up session files when "Open Tabs" is selected in "Clear private data on exit" or "Clear private data" pref. r=JanH,sebastian
MozReview-Commit-ID: GoUQVDIzYbI

--HG--
extra : rebase_source : 13bbf3477a29cf301df72b521a0e02875bb5ef14
2016-12-29 14:22:45 +08:00
Nevin Chen
bcd1e464ce Bug 1275662 - Add "Open tabs" as an item in [Clear Private data on exit] dialog. r=JanH,sebastian
MozReview-Commit-ID: 6KJvCfYTJSZ

--HG--
extra : rebase_source : 7e408b01c632536fac4fd02d3262376293c0e706
2016-12-29 11:44:36 +08:00
John Lin
25bf73baef Bug 1332177 - handle ICodec.configure() failure. r=jchen
MozReview-Commit-ID: KPhI04EA9n3

--HG--
extra : rebase_source : ceb40b48a1cb1e1a1458626c1ef2adbbc472d58e
2017-01-19 16:11:01 +08:00
jwu
9f9d605eea Bug 1325586 - Prevent creating IconDescriptor with null url, r=sebastian
MozReview-Commit-ID: 4y6fKR49DGG

--HG--
extra : rebase_source : c91f81e887ff59a11b80b407944ee943dd763e52
2017-01-16 15:56:43 +08:00
Wes Kocher
336f27142f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Carsten "Tomcat" Book
3b3ce27e84 Merge mozilla-central to mozilla-inbound 2017-01-19 16:35:21 +01:00
Dylan Roeh
9d83c8ce5e Bug 1303362 - Set a flag on custom tabs so that links do not open in a new tab. r=snorp 2017-01-19 09:18:40 -06:00
maliu
b67796ca12 Bug 1332258 - Reset text fading gradient to null when text direction changed, r=sebastian
MozReview-Commit-ID: EaUUO8aegzj

--HG--
extra : rebase_source : 47c719ec9d464208c48191e96c1227d0333dc083
2017-01-19 15:09:14 +08:00
Sebastian Kaspari
255526a131 Bug 1331808 - IconRequest.moveToNextIcon(): Throw exception if removing current item failed. r=Grisha
MozReview-Commit-ID: 2dfgG7N9bX6

--HG--
extra : rebase_source : b0d9e6b5734e082fb0008e12d841b6d4e489d9b7
2017-01-18 15:06:44 +01:00
Sebastian Kaspari
7c526adbf9 Bug 1331808 - IconDescriptorComparator: Return consistent order for compared items. r=Grisha
Previously if we could not compare two icon descriptions we'd always return the "right" one. This does
not create a consistent order if the parameters are flipped. As a result some operations on a TreeSet
can fail (like remove()).

MozReview-Commit-ID: EYPlhzGUEnD

--HG--
extra : rebase_source : f8918c022188401e21a03ac666628cff3e87f317
2017-01-18 14:50:35 +01:00
Julian_Chu
ee4031267e Bug 1322114 - Add test cases for MediaControlService r=sebastian
Also refactor MediaControlService to be test-friendly.

MozReview-Commit-ID: 344cEEuVroG

--HG--
extra : rebase_source : 14042bc3225538f621605b7aadb9d729c01ac62b
2017-01-12 15:44:19 +08:00
Julian_Chu
1037846788 Bug 1322114 - Part 2: handle more media state change r=alwu
When the playing-media changes (ie. in Youtube click another
video when it is alreay playing one), there will be one more
event MEDIA_PLAYING_CHANGE, and the tab is still playing media.

This fix is to handle this situation then update state.

MozReview-Commit-ID: Aje2BBqFZKE

--HG--
extra : rebase_source : f7c8f80c1d49e3a9aef868d11a4cd9d722a5c221
2017-01-12 14:54:05 +08:00
Julian_Chu
dad1b5861b Bug 1322114 - Part 1: Change UI updating flow r=alwu
This patch involve State into MediaControlService.

ACTION is behaviour for an intention, and so far we use it for storing
media state. Now involve enum to distinguish State from Action.

So flow becomes: Action happens -> Change State -> UI reflect state
changing.

MozReview-Commit-ID: FBHn02tgVO6

--HG--
extra : rebase_source : e1c57502a13669fad0ee2848c6cff420ebbe064f
2017-01-11 18:24:53 +08:00
Michelangelo De Simone
7baf165ae7 Bug 1313155 - Remove dom/settings and related code. r=Ehsan
MozReview-Commit-ID: Gi7frPFQ6yW

--HG--
extra : rebase_source : 69bb31fe3bc96ca460f0e35abb0b0f82d03defb6
2016-12-29 11:26:49 -08:00
Wes Kocher
656a71a520 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2KR6yXYC2xj
2017-01-18 15:39:12 -08:00
Ryan VanderMeulen
9e4ddf00bd Backed out 3 changesets (bug 1319660) for causing bug 1329446.
Backed out changeset d506d3c193c9 (bug 1319660)
Backed out changeset 93353b53a706 (bug 1319660)
Backed out changeset 9a7c2edd54b8 (bug 1319660)

--HG--
extra : rebase_source : 43ad1287462697f2312aa18925a462eb85c52495
2017-01-18 10:55:53 -05:00
Michael Kaply
c0992b79c3 Bug 1331080 - Switch suggestedSites.hidden to be marked as Android pref. r=sebastian 2017-01-18 09:44:05 -06:00
Ryan VanderMeulen
4eacb032f5 Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
Randall Barker
440ada1d59 Bug 1331116 - part 2, Remove unused SnapMetrics class r=jchen 2017-01-17 18:47:20 -08:00
Randall Barker
937209439a Bug 1331116 - part 1, Remove unused ProgressiveUpdateData.java r=jchen 2017-01-17 18:47:20 -08:00
Wes Kocher
602c930ba0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 10MpA6zwIWr
2017-01-17 17:59:26 -08:00
John Lin
9d6dc35064 Bug 1326026 - use bufferless samples for outputs when rendering to surface. r=snorp
MozReview-Commit-ID: 8gC0QdJUoEk
2017-01-18 09:23:03 +08:00
Jim Chen
ea0faaf540 Bug 1329268 - 3. Convert Tabs observers to events; r=sebastian
Convert the "Tab:*" observers in browser.js, which go through the observer
service, to events that go through GlobalEventDispatcher.

FindHelper.js uses "Tab:Selected" through a lazy loader, but I don't
think FindHelper should listen to "Tab:Selected" at all until it is
being used. THerefore, this patch adds "Tab:Selected" registration to
FindHelper.js itself.
2017-01-17 20:06:08 -05:00
Jim Chen
ba440de455 Bug 1329268 - 2. Convert Tabs events to bundle events; r=sebastian
Convert events used in Tabs to GeckoBundle/BundleEventListener events.

All of the events are converted to UI thread events, because a lot of
the listeners modify states in Tab (e.g. through
`Tab.handleLocationChange()`), and those states are later accessed on
the UI thread. We used to modify the states on the Gecko thread, and
then access them on the UI thread, which introduces potential race
conditions. Therefore, I think it's best to convert these events
wholesale to UI thread events to avoid races.

Tabs.notifyListeners now calls the listeners directly if it's already on
the UI thread, instead of posting to the UI thread again. This is meant
as an optimization because the events are now coming in on the UI thread
already.

The "Tab:SelectAndForeground" and "Tab:Select" events are merged into
one "Tab:Select" event, and a "foreground" option is added.

The "Tab:StreamStart" and "Tab:StreamStop" events are merged into one
"Tab:RecordingChange" event, and a "recording" option is added to
indicate starting or stopping.
2017-01-17 20:06:07 -05:00
Jim Chen
940c5b25cc Bug 1329268 - 1. Refactor SiteIdentity to use GeckoBundle; r=sebastian
Make SiteIdentity.update use GeckoBundle, and also simplify the enums
in SiteIdentity, by using Enum.valueOf to get enum values from names,
instead of custom code.
2017-01-17 20:06:07 -05:00
Jim Chen
ddc86569ce Bug 1328991 - Convert ZoomedView events to bundle events; r=sebastian
Convert events used in ZoomedView to GeckoBundle/BundleEventListener
events.

"Window:Resize", "Browser:ZoomToPageWidth", and
"Browser:ZoomToRect" listeners are removed because they are not sent
anywhere.

The "Content:LocationChange" listener is merged into the
"Gesture:CloseZoomedView" listener, so that we can leave
"Content:LocationChange" alone for now. Otherwise we would have to
convert the "Content:LocationChange" listener in Tabs as well.

The listeners are changed from global listeners to per-GeckoApp
listeners, because two of the events, "FormAssist:AutoCompleteResult" and
"FormAssist:Hide", are per-GeckoApp events also used by FormAssistPopup.
Because the events are now per-GeckoApp events, they are now registered
from onAttachedToWindow and onDetachedFromWindow.
2017-01-17 20:06:07 -05:00
Jim Chen
58eee87559 Bug 1328990 - Convert FormAssistPopup events to bundle events; r=sebastian
Convert "FormAssist:*" events in FormAssistPopup to
GeckoBundle/BundleEventListener events.  UI thread events are used
because the listener performs operations on the UI thread.

Also convert the "FormAssist:*" observers in browser.js to use
WindowEventDispatcher.

The "FormAssist:AutoComplete" event that goes from Gecko to Java is
renamed to "FormAssist:AutoCompleteResult" to prevent conflict with the
event with the same name that goes from Java to Gecko.
2017-01-17 20:06:07 -05:00
Dale Harvey
0a37fafed0 Bug 1234558 - Use icons from app manifest. r=marcosc, r=sebastian 2017-01-17 18:24:53 +00:00
Mike Hommey
5f5c4c0bc0 Bug 1331858 - Avoid bug 1289974 breaking the build when it reaches beta/release. r=mshal
While here, fix abuses of GRE_MILESTONE in moz.build and use
RELEASE_OR_BETA instead.

--HG--
extra : rebase_source : 2a8c6501b0fe3bb603a65d52dda13c609a75b033
2017-01-18 14:47:08 +09:00
Francisco Aguiar
7e0255c5c1 Bug 1330009 - Remove unused setToolBarButtonsAlpha() method. r=sebastian
MozReview-Commit-ID: A7PIZDck82h

--HG--
extra : rebase_source : 13dda1be7f29c2cebd907616fad3a514c65eb58a
2017-01-16 00:57:53 +00:00
friedger
2db16d7fc8 Bug 1317933 - CustomTabsActivity: Set theme based on toolbar color. r=sebastian
MozReview-Commit-ID: 7cVsgDGPNXW

--HG--
extra : amend_source : ba6847d3c04b5fbe7dcb17da0fe2076ebb557877
2016-12-21 11:54:06 +01:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Ryan VanderMeulen
78cc07597f Merge m-c to autoland. a=merge 2017-01-17 11:32:39 -05:00
maliu
e830e5cda0 Bug 1320072 - Support direct search from intent, r=sebastian
MozReview-Commit-ID: GAoC4jKVyl7

--HG--
extra : rebase_source : 1df217a86397aac7958885bd9ee7853d47c33e5a
2016-11-30 20:25:32 +08:00
Sebastian Kaspari
475fe07452 Bug 1330280 - Refactor testActivityStreamContextMenu to use new Highlight/TopSite model classes. r=ahunt,Grisha
MozReview-Commit-ID: 8pwUVQHwPu6

--HG--
extra : rebase_source : 519842e24c85e600e3b470dc6a842136be6acd74
2017-01-12 17:30:20 +01:00
Georg Fritzsche
a6d7adc430 Bug 1331169 - Fix Android ActivityStream docs. r=gkruglov 2017-01-14 15:12:29 +07:00
Jan Henning
0075616fae Bug 1330079 - Collect window data one more time if a new tab arrives before application-quit. r=sebastian
This is relevant when a new tab is opened (e.g. through an intent from an external app) just as the user has pressed the Quit button (see bug 1266594), in which case the TabOpen event might reach the session store after Gecko shutdown has already started. If we're still in the preliminary phase and the browser window hasn't yet been closed, we can persist this new tab by collecting the session store data from the browser window once more.

Additionally, we now reset the time of the last backup when clearing the session store data, so the backup file is recreated as soon as possible after a history/tabs sanitisation, especially for users who are cleaning private data on exiting Firefox.

MozReview-Commit-ID: 9BmqrSIUJ42

--HG--
extra : rebase_source : be3c413db16523aac69d8283f36057713c1e9367
2017-01-11 22:26:30 +01:00
Carsten "Tomcat" Book
7cb92b4443 merge mozilla-inbound to mozilla-central a=merge 2017-01-16 16:35:14 +01:00
Phil Ringnalda
24d0a06ebd Merge m-c to m-i 2017-01-15 12:49:08 -08:00
maliu
300610041c Bug 1029646 - Update layout direction of configuration and DecorView, r=ahunt
MozReview-Commit-ID: FiDwoX45yV9

--HG--
extra : rebase_source : 6b39f303383a600d7c692f0b1b73dbe0aa3d153b
2017-01-03 15:14:59 +08:00
John Lin
32f337db55 Bug 1326238 - stop calling InputExhausted() once RemoteDataDecoder sends EOS input. r=snorp
MozReview-Commit-ID: L5KPHUi8uLx

--HG--
extra : rebase_source : a920c76ed031897c91e50d18100709a6d70f45b5
2016-12-30 13:52:49 +08:00
maliu
5e8973835a Bug 1321633 - Apply gradient based on text direction with first strong strategy, r=ahunt
MozReview-Commit-ID: 5GMlUcp290f

--HG--
extra : rebase_source : 46910026bafed11c9dafffda90ea65e5ba3a8991
2016-12-29 17:24:32 +08:00
Brian Chen
348fb50602 Bug 1325488 - Deduplicate subdomain removal in IconGenerator. r=ahunt 2016-12-23 17:35:00 -05:00
Phil Ringnalda
082d6bd9df Merge m-i to m-c, a=merge
MozReview-Commit-ID: 1NtOkt6oQ7d
2017-01-14 09:38:58 -08:00
Wes Kocher
f8a62a9ce6 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ASajzspkOe1
2017-01-13 15:48:34 -08:00
Andrzej Hunt
ab7d8d0615 Bug 1325929 - Reimport certain AS VectorDrawable's using different converter r=sebastian
System SVG rendering on Android 6.0 seems to be broken for certain VectorDrawable's:
these three icons were being distorted, only on Android 6. Using a different SVG
converter (an online converter, as opposed to the Android Studio converter),
results in the icons being rendered correctly.

MozReview-Commit-ID: 2INnb0clb54

--HG--
extra : rebase_source : 5b3fd9ca7354855c6ee70594b960f0098c98d974
2017-01-13 10:18:22 -08:00
Andrew Swan
630f1e4a05 Bug 1329450 Fix amIWebInstallInfo fallout on fennec r=JanH
MozReview-Commit-ID: FJsJiYs5Ole

--HG--
extra : rebase_source : a09691c32eaf7d7436efc718ac60374301dcaae0
2017-01-13 08:06:22 -08:00
Jan Henning
67f2776365 Bug 1301160 - Part 4 - Test that the parent tab ID is properly restored when reopening a recently closed tab. r=sebastian
MozReview-Commit-ID: 6X4KYhJxagj

--HG--
extra : rebase_source : 339230345adc5a9a8d03683dfa236ade514606df
2017-01-07 22:26:46 +01:00
Jan Henning
7e58d7d4e5 Bug 1301160 - Part 3 - Pass the saved parent tab ID when restoring tabs. r=sebastian
When restoring recently closed tabs during a browsing session, we can just pass the stored parentId as a parameter to addTab and be done with it.

During startup however, we first need to update the parent tab IDs before being able to use it.

At the moment, new tabs are always opened at the end of the tab list and cannot be resorted by the user, so child tabs always appear *after* their parent tabs in the tab list. However because we don't want to rely on this behaviour, we still need to collect a complete mapping between old and new tab IDs first before being able to update the stored parent tab IDs.

Therefore we cannot use the usual method of passing in the parentId during tab creation and have to set it after the fact for this case.

MozReview-Commit-ID: JT5YSkuOSZw

--HG--
extra : rebase_source : 5487f05ed5fd99e12e4f33170688243b36da55e4
2017-01-07 22:26:36 +01:00
Jan Henning
b3df9b3c93 Bug 1301160 - Part 2 - Update stored parent tab IDs during startup. r=sebastian
As long as the browser remains alive, tab IDs are stable and not reused, however if Firefox is killed and subsequently restarted, the ID sequence is reset and therefore all tabs opened through session restore will most probably be assigned a new tab ID.
Because of this, the stored parent tab IDs will be out of date and have to be refreshed as well so they continue pointing to the correct tab. To achieve this, we therefore create a mapping between old and new tab IDs as they are assigned and then use that to update the stored parent tab IDs, too.

MozReview-Commit-ID: 2GP2H6cUGrx

--HG--
extra : rebase_source : 74adb38f457b9f3cc874bb149b01c9043908d019
2017-01-06 19:05:08 +01:00
Jan Henning
62eb2dc0df Bug 1301160 - Part 1 - Include tab IDs in the session store data. r=sebastian
Having the previous tab ID in the session store data is required in order to be able to create a mapping between old and new IDs on starting up.
Likewise, the parent ID now needs to be tracked on the Gecko side as well, so it can be saved by the session store and later used when restoring a tab/session.

MozReview-Commit-ID: 3zwoZ9YpZlC

--HG--
extra : rebase_source : 25254f6dbbfbf8291fd1d6dcd194540b15da0cef
2017-01-04 15:34:11 +01:00
Jim Chen
f48add8fb6 Bug 1330515 - Try to recover from IME errors; r=esawin
Instead of throwing IME exceptions, try to recover from IME errors by
flushing the entire text unless we already tried that before. This
prevents annoying crashes, and deals with known IME bugs that are too
risky to uplift to older releases.
2017-01-13 14:39:27 -05:00
Jim Chen
3b07a04a6b Bug 1330458 - Queue undipatched events before Gecko is ready; r=snorp
To deal with the Java side trying to send events to Gecko before Gecko
is ready, make a special exception to queue any undispatched events when
Gecko is not ready, so that the events can be redispatched to Gecko
later.
2017-01-13 14:39:27 -05:00
Wes Kocher
fc600035ac Merge m-c to inbound, a=merge
MozReview-Commit-ID: CnzP0d2mrPx
2017-01-12 16:05:53 -08:00
Myk Melez
afb5cd9a82 Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop
--HG--
rename : embedding/browser/nsCTooltipTextProvider.h => docshell/base/nsCTooltipTextProvider.h
rename : embedding/browser/nsContextMenuInfo.cpp => docshell/base/nsContextMenuInfo.cpp
rename : embedding/browser/nsContextMenuInfo.h => docshell/base/nsContextMenuInfo.h
rename : embedding/browser/nsDocShellTreeOwner.cpp => docshell/base/nsDocShellTreeOwner.cpp
rename : embedding/browser/nsDocShellTreeOwner.h => docshell/base/nsDocShellTreeOwner.h
rename : embedding/browser/nsIContextMenuListener.idl => docshell/base/nsIContextMenuListener.idl
rename : embedding/browser/nsIContextMenuListener2.idl => docshell/base/nsIContextMenuListener2.idl
rename : embedding/browser/nsITooltipListener.idl => docshell/base/nsITooltipListener.idl
rename : embedding/browser/nsITooltipTextProvider.idl => docshell/base/nsITooltipTextProvider.idl
rename : embedding/components/commandhandler/moz.build => dom/commandhandler/moz.build
rename : embedding/components/commandhandler/nsBaseCommandController.cpp => dom/commandhandler/nsBaseCommandController.cpp
rename : embedding/components/commandhandler/nsBaseCommandController.h => dom/commandhandler/nsBaseCommandController.h
rename : embedding/components/commandhandler/nsCommandGroup.cpp => dom/commandhandler/nsCommandGroup.cpp
rename : embedding/components/commandhandler/nsCommandGroup.h => dom/commandhandler/nsCommandGroup.h
rename : embedding/components/commandhandler/nsCommandManager.cpp => dom/commandhandler/nsCommandManager.cpp
rename : embedding/components/commandhandler/nsCommandManager.h => dom/commandhandler/nsCommandManager.h
rename : embedding/components/commandhandler/nsCommandParams.cpp => dom/commandhandler/nsCommandParams.cpp
rename : embedding/components/commandhandler/nsCommandParams.h => dom/commandhandler/nsCommandParams.h
rename : embedding/components/commandhandler/nsControllerCommandTable.cpp => dom/commandhandler/nsControllerCommandTable.cpp
rename : embedding/components/commandhandler/nsControllerCommandTable.h => dom/commandhandler/nsControllerCommandTable.h
rename : embedding/components/commandhandler/nsICommandManager.idl => dom/commandhandler/nsICommandManager.idl
rename : embedding/components/commandhandler/nsICommandParams.idl => dom/commandhandler/nsICommandParams.idl
rename : embedding/components/commandhandler/nsIControllerCommand.idl => dom/commandhandler/nsIControllerCommand.idl
rename : embedding/components/commandhandler/nsIControllerCommandTable.idl => dom/commandhandler/nsIControllerCommandTable.idl
rename : embedding/components/commandhandler/nsIControllerContext.idl => dom/commandhandler/nsIControllerContext.idl
rename : embedding/components/commandhandler/nsPICommandUpdater.idl => dom/commandhandler/nsPICommandUpdater.idl
rename : embedding/components/webbrowserpersist/PWebBrowserPersistDocument.ipdl => dom/webbrowserpersist/PWebBrowserPersistDocument.ipdl
rename : embedding/components/webbrowserpersist/PWebBrowserPersistResources.ipdl => dom/webbrowserpersist/PWebBrowserPersistResources.ipdl
rename : embedding/components/webbrowserpersist/PWebBrowserPersistSerialize.ipdl => dom/webbrowserpersist/PWebBrowserPersistSerialize.ipdl
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentChild.cpp => dom/webbrowserpersist/WebBrowserPersistDocumentChild.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentChild.h => dom/webbrowserpersist/WebBrowserPersistDocumentChild.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentParent.cpp => dom/webbrowserpersist/WebBrowserPersistDocumentParent.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentParent.h => dom/webbrowserpersist/WebBrowserPersistDocumentParent.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistLocalDocument.cpp => dom/webbrowserpersist/WebBrowserPersistLocalDocument.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistLocalDocument.h => dom/webbrowserpersist/WebBrowserPersistLocalDocument.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistRemoteDocument.cpp => dom/webbrowserpersist/WebBrowserPersistRemoteDocument.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistRemoteDocument.h => dom/webbrowserpersist/WebBrowserPersistRemoteDocument.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesChild.cpp => dom/webbrowserpersist/WebBrowserPersistResourcesChild.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesChild.h => dom/webbrowserpersist/WebBrowserPersistResourcesChild.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesParent.cpp => dom/webbrowserpersist/WebBrowserPersistResourcesParent.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesParent.h => dom/webbrowserpersist/WebBrowserPersistResourcesParent.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeChild.cpp => dom/webbrowserpersist/WebBrowserPersistSerializeChild.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeChild.h => dom/webbrowserpersist/WebBrowserPersistSerializeChild.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeParent.cpp => dom/webbrowserpersist/WebBrowserPersistSerializeParent.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeParent.h => dom/webbrowserpersist/WebBrowserPersistSerializeParent.h
rename : embedding/components/webbrowserpersist/moz.build => dom/webbrowserpersist/moz.build
rename : embedding/components/webbrowserpersist/nsCWebBrowserPersist.idl => dom/webbrowserpersist/nsCWebBrowserPersist.idl
rename : embedding/components/webbrowserpersist/nsIWebBrowserPersist.idl => dom/webbrowserpersist/nsIWebBrowserPersist.idl
rename : embedding/components/webbrowserpersist/nsIWebBrowserPersistDocument.idl => dom/webbrowserpersist/nsIWebBrowserPersistDocument.idl
rename : embedding/components/webbrowserpersist/nsIWebBrowserPersistable.idl => dom/webbrowserpersist/nsIWebBrowserPersistable.idl
rename : embedding/components/webbrowserpersist/nsWebBrowserPersist.cpp => dom/webbrowserpersist/nsWebBrowserPersist.cpp
rename : embedding/components/webbrowserpersist/nsWebBrowserPersist.h => dom/webbrowserpersist/nsWebBrowserPersist.h
rename : embedding/browser/build/moz.build => toolkit/components/browser/build/moz.build
rename : embedding/browser/build/nsWebBrowserModule.cpp => toolkit/components/browser/build/nsWebBrowserModule.cpp
rename : embedding/browser/nsCWebBrowser.idl => toolkit/components/browser/nsCWebBrowser.idl
rename : embedding/browser/nsCommandHandler.cpp => toolkit/components/browser/nsCommandHandler.cpp
rename : embedding/browser/nsCommandHandler.h => toolkit/components/browser/nsCommandHandler.h
rename : embedding/nsEmbedCID.h => toolkit/components/browser/nsEmbedCID.h
rename : embedding/browser/nsEmbedStream.cpp => toolkit/components/browser/nsEmbedStream.cpp
rename : embedding/browser/nsEmbedStream.h => toolkit/components/browser/nsEmbedStream.h
rename : embedding/browser/nsICommandHandler.idl => toolkit/components/browser/nsICommandHandler.idl
rename : embedding/browser/nsIEmbeddingSiteWindow.idl => toolkit/components/browser/nsIEmbeddingSiteWindow.idl
rename : embedding/browser/nsIPrintPreviewNavigation.idl => toolkit/components/browser/nsIPrintPreviewNavigation.idl
rename : embedding/browser/nsIWebBrowser.idl => toolkit/components/browser/nsIWebBrowser.idl
rename : embedding/browser/nsIWebBrowserChrome.idl => toolkit/components/browser/nsIWebBrowserChrome.idl
rename : embedding/browser/nsIWebBrowserChrome2.idl => toolkit/components/browser/nsIWebBrowserChrome2.idl
rename : embedding/browser/nsIWebBrowserChrome3.idl => toolkit/components/browser/nsIWebBrowserChrome3.idl
rename : embedding/browser/nsIWebBrowserChromeFocus.idl => toolkit/components/browser/nsIWebBrowserChromeFocus.idl
rename : embedding/browser/nsIWebBrowserFocus.idl => toolkit/components/browser/nsIWebBrowserFocus.idl
rename : embedding/browser/nsIWebBrowserPrint.idl => toolkit/components/browser/nsIWebBrowserPrint.idl
rename : embedding/browser/nsIWebBrowserSetup.idl => toolkit/components/browser/nsIWebBrowserSetup.idl
rename : embedding/browser/nsIWebBrowserStream.idl => toolkit/components/browser/nsIWebBrowserStream.idl
rename : embedding/browser/nsWebBrowser.cpp => toolkit/components/browser/nsWebBrowser.cpp
rename : embedding/browser/nsWebBrowser.h => toolkit/components/browser/nsWebBrowser.h
rename : embedding/browser/nsWebBrowserContentPolicy.cpp => toolkit/components/browser/nsWebBrowserContentPolicy.cpp
rename : embedding/browser/nsWebBrowserContentPolicy.h => toolkit/components/browser/nsWebBrowserContentPolicy.h
rename : embedding/components/find/nsFind.cpp => toolkit/components/find/nsFind.cpp
rename : embedding/components/find/nsFind.h => toolkit/components/find/nsFind.h
rename : embedding/components/find/nsIFind.idl => toolkit/components/find/nsIFind.idl
rename : embedding/components/find/nsIWebBrowserFind.idl => toolkit/components/find/nsIWebBrowserFind.idl
rename : embedding/components/find/nsWebBrowserFind.cpp => toolkit/components/find/nsWebBrowserFind.cpp
rename : embedding/components/find/nsWebBrowserFind.h => toolkit/components/find/nsWebBrowserFind.h
rename : embedding/components/printingui/ipc/PPrintProgressDialog.ipdl => toolkit/components/printingui/ipc/PPrintProgressDialog.ipdl
rename : embedding/components/printingui/ipc/PPrintSettingsDialog.ipdl => toolkit/components/printingui/ipc/PPrintSettingsDialog.ipdl
rename : embedding/components/printingui/ipc/PPrinting.ipdl => toolkit/components/printingui/ipc/PPrinting.ipdl
rename : embedding/components/printingui/ipc/PPrintingTypes.ipdlh => toolkit/components/printingui/ipc/PPrintingTypes.ipdlh
rename : embedding/components/printingui/ipc/PrintDataUtils.cpp => toolkit/components/printingui/ipc/PrintDataUtils.cpp
rename : embedding/components/printingui/ipc/PrintDataUtils.h => toolkit/components/printingui/ipc/PrintDataUtils.h
rename : embedding/components/printingui/ipc/PrintProgressDialogChild.cpp => toolkit/components/printingui/ipc/PrintProgressDialogChild.cpp
rename : embedding/components/printingui/ipc/PrintProgressDialogChild.h => toolkit/components/printingui/ipc/PrintProgressDialogChild.h
rename : embedding/components/printingui/ipc/PrintProgressDialogParent.cpp => toolkit/components/printingui/ipc/PrintProgressDialogParent.cpp
rename : embedding/components/printingui/ipc/PrintProgressDialogParent.h => toolkit/components/printingui/ipc/PrintProgressDialogParent.h
rename : embedding/components/printingui/ipc/PrintSettingsDialogChild.cpp => toolkit/components/printingui/ipc/PrintSettingsDialogChild.cpp
rename : embedding/components/printingui/ipc/PrintSettingsDialogChild.h => toolkit/components/printingui/ipc/PrintSettingsDialogChild.h
rename : embedding/components/printingui/ipc/PrintSettingsDialogParent.cpp => toolkit/components/printingui/ipc/PrintSettingsDialogParent.cpp
rename : embedding/components/printingui/ipc/PrintSettingsDialogParent.h => toolkit/components/printingui/ipc/PrintSettingsDialogParent.h
rename : embedding/components/printingui/ipc/PrintingParent.cpp => toolkit/components/printingui/ipc/PrintingParent.cpp
rename : embedding/components/printingui/ipc/PrintingParent.h => toolkit/components/printingui/ipc/PrintingParent.h
rename : embedding/components/printingui/ipc/moz.build => toolkit/components/printingui/ipc/moz.build
rename : embedding/components/printingui/ipc/nsPrintingProxy.cpp => toolkit/components/printingui/ipc/nsPrintingProxy.cpp
rename : embedding/components/printingui/ipc/nsPrintingProxy.h => toolkit/components/printingui/ipc/nsPrintingProxy.h
rename : embedding/components/printingui/mac/moz.build => toolkit/components/printingui/mac/moz.build
rename : embedding/components/printingui/mac/nsPrintProgress.cpp => toolkit/components/printingui/mac/nsPrintProgress.cpp
rename : embedding/components/printingui/mac/nsPrintProgress.h => toolkit/components/printingui/mac/nsPrintProgress.h
rename : embedding/components/printingui/win/nsPrintProgressParams.cpp => toolkit/components/printingui/mac/nsPrintProgressParams.cpp
rename : embedding/components/printingui/mac/nsPrintProgressParams.h => toolkit/components/printingui/mac/nsPrintProgressParams.h
rename : embedding/components/printingui/mac/nsPrintingPromptService.h => toolkit/components/printingui/mac/nsPrintingPromptService.h
rename : embedding/components/printingui/mac/nsPrintingPromptServiceX.mm => toolkit/components/printingui/mac/nsPrintingPromptServiceX.mm
rename : embedding/components/printingui/moz.build => toolkit/components/printingui/moz.build
rename : embedding/components/printingui/unixshared/moz.build => toolkit/components/printingui/unixshared/moz.build
rename : embedding/components/printingui/unixshared/nsPrintProgress.cpp => toolkit/components/printingui/unixshared/nsPrintProgress.cpp
rename : embedding/components/printingui/unixshared/nsPrintProgress.h => toolkit/components/printingui/unixshared/nsPrintProgress.h
rename : embedding/components/printingui/unixshared/nsPrintProgressParams.cpp => toolkit/components/printingui/unixshared/nsPrintProgressParams.cpp
rename : embedding/components/printingui/unixshared/nsPrintProgressParams.h => toolkit/components/printingui/unixshared/nsPrintProgressParams.h
rename : embedding/components/printingui/unixshared/nsPrintingPromptService.cpp => toolkit/components/printingui/unixshared/nsPrintingPromptService.cpp
rename : embedding/components/printingui/unixshared/nsPrintingPromptService.h => toolkit/components/printingui/unixshared/nsPrintingPromptService.h
rename : embedding/components/printingui/win/moz.build => toolkit/components/printingui/win/moz.build
rename : embedding/components/printingui/win/nsPrintDialogUtil.cpp => toolkit/components/printingui/win/nsPrintDialogUtil.cpp
rename : embedding/components/printingui/win/nsPrintDialogUtil.h => toolkit/components/printingui/win/nsPrintDialogUtil.h
rename : embedding/components/printingui/win/nsPrintProgress.cpp => toolkit/components/printingui/win/nsPrintProgress.cpp
rename : embedding/components/printingui/win/nsPrintProgress.h => toolkit/components/printingui/win/nsPrintProgress.h
rename : embedding/components/printingui/mac/nsPrintProgressParams.cpp => toolkit/components/printingui/win/nsPrintProgressParams.cpp
rename : embedding/components/printingui/win/nsPrintProgressParams.h => toolkit/components/printingui/win/nsPrintProgressParams.h
rename : embedding/components/printingui/win/nsPrintingPromptService.cpp => toolkit/components/printingui/win/nsPrintingPromptService.cpp
rename : embedding/components/printingui/win/nsPrintingPromptService.h => toolkit/components/printingui/win/nsPrintingPromptService.h
rename : embedding/nsIWindowCreator.idl => toolkit/components/windowcreator/nsIWindowCreator.idl
rename : embedding/nsIWindowCreator2.idl => toolkit/components/windowcreator/nsIWindowCreator2.idl
rename : embedding/nsIWindowProvider.idl => toolkit/components/windowcreator/nsIWindowProvider.idl
rename : embedding/test/320x240.ogv => toolkit/components/windowcreator/test/320x240.ogv
rename : embedding/test/browser.ini => toolkit/components/windowcreator/test/browser.ini
rename : embedding/test/browser_bug1204626.js => toolkit/components/windowcreator/test/browser_bug1204626.js
rename : embedding/test/bug1170334_iframe.xml => toolkit/components/windowcreator/test/bug1170334_iframe.xml
rename : embedding/test/bug1170334_style.css => toolkit/components/windowcreator/test/bug1170334_style.css
rename : embedding/test/bug1204626_doc0.html => toolkit/components/windowcreator/test/bug1204626_doc0.html
rename : embedding/test/bug1204626_doc1.html => toolkit/components/windowcreator/test/bug1204626_doc1.html
rename : embedding/test/bug293834_form.html => toolkit/components/windowcreator/test/bug293834_form.html
rename : embedding/test/bug449141_page.html => toolkit/components/windowcreator/test/bug449141_page.html
rename : embedding/test/chrome.ini => toolkit/components/windowcreator/test/chrome.ini
rename : embedding/test/mochitest.ini => toolkit/components/windowcreator/test/mochitest.ini
rename : embedding/test/moz.build => toolkit/components/windowcreator/test/moz.build
rename : embedding/test/test_bug1170334_wbp_xmlstyle.html => toolkit/components/windowcreator/test/test_bug1170334_wbp_xmlstyle.html
rename : embedding/test/test_bug1192654.html => toolkit/components/windowcreator/test/test_bug1192654.html
rename : embedding/test/test_bug293834.html => toolkit/components/windowcreator/test/test_bug293834.html
rename : embedding/test/test_bug449141.html => toolkit/components/windowcreator/test/test_bug449141.html
rename : embedding/test/test_bug499115.html => toolkit/components/windowcreator/test/test_bug499115.html
rename : embedding/test/test_nsFind.html => toolkit/components/windowcreator/test/test_nsFind.html
rename : embedding/test/test_private_window_from_content.html => toolkit/components/windowcreator/test/test_private_window_from_content.html
rename : embedding/test/test_window_open_position_constraint.html => toolkit/components/windowcreator/test/test_window_open_position_constraint.html
rename : embedding/test/test_window_open_units.html => toolkit/components/windowcreator/test/test_window_open_units.html
rename : embedding/tests/unit/test_wwauthpromptfactory.js => toolkit/components/windowcreator/tests/unit/test_wwauthpromptfactory.js
rename : embedding/tests/unit/test_wwpromptfactory.js => toolkit/components/windowcreator/tests/unit/test_wwpromptfactory.js
rename : embedding/tests/unit/xpcshell.ini => toolkit/components/windowcreator/tests/unit/xpcshell.ini
rename : embedding/components/windowwatcher/moz.build => toolkit/components/windowwatcher/moz.build
rename : embedding/components/windowwatcher/nsAutoWindowStateHelper.cpp => toolkit/components/windowwatcher/nsAutoWindowStateHelper.cpp
rename : embedding/components/windowwatcher/nsAutoWindowStateHelper.h => toolkit/components/windowwatcher/nsAutoWindowStateHelper.h
rename : embedding/components/windowwatcher/nsDialogParamBlock.cpp => toolkit/components/windowwatcher/nsDialogParamBlock.cpp
rename : embedding/components/windowwatcher/nsDialogParamBlock.h => toolkit/components/windowwatcher/nsDialogParamBlock.h
rename : embedding/components/windowwatcher/nsIDialogParamBlock.idl => toolkit/components/windowwatcher/nsIDialogParamBlock.idl
rename : embedding/components/windowwatcher/nsIPromptFactory.idl => toolkit/components/windowwatcher/nsIPromptFactory.idl
rename : embedding/components/windowwatcher/nsIPromptService.idl => toolkit/components/windowwatcher/nsIPromptService.idl
rename : embedding/components/windowwatcher/nsIPromptService2.idl => toolkit/components/windowwatcher/nsIPromptService2.idl
rename : embedding/components/windowwatcher/nsIWindowWatcher.idl => toolkit/components/windowwatcher/nsIWindowWatcher.idl
rename : embedding/components/windowwatcher/nsPIPromptService.idl => toolkit/components/windowwatcher/nsPIPromptService.idl
rename : embedding/components/windowwatcher/nsPIWindowWatcher.idl => toolkit/components/windowwatcher/nsPIWindowWatcher.idl
rename : embedding/components/windowwatcher/nsPromptUtils.h => toolkit/components/windowwatcher/nsPromptUtils.h
rename : embedding/components/windowwatcher/nsWindowWatcher.cpp => toolkit/components/windowwatcher/nsWindowWatcher.cpp
rename : embedding/components/windowwatcher/nsWindowWatcher.h => toolkit/components/windowwatcher/nsWindowWatcher.h
rename : embedding/components/windowwatcher/test/browser.ini => toolkit/components/windowwatcher/test/browser.ini
rename : embedding/components/windowwatcher/test/browser_new_content_window_chromeflags.js => toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js
rename : embedding/components/windowwatcher/test/browser_new_content_window_from_chrome_principal.js => toolkit/components/windowwatcher/test/browser_new_content_window_from_chrome_principal.js
rename : embedding/components/windowwatcher/test/browser_new_remote_window_flags.js => toolkit/components/windowwatcher/test/browser_new_remote_window_flags.js
rename : embedding/components/windowwatcher/test/browser_new_sized_window.js => toolkit/components/windowwatcher/test/browser_new_sized_window.js
rename : embedding/components/windowwatcher/test/chrome.ini => toolkit/components/windowwatcher/test/chrome.ini
rename : embedding/components/windowwatcher/test/file_storage_copied.html => toolkit/components/windowwatcher/test/file_storage_copied.html
rename : embedding/components/windowwatcher/test/file_test_dialog.html => toolkit/components/windowwatcher/test/file_test_dialog.html
rename : embedding/components/windowwatcher/test/mochitest.ini => toolkit/components/windowwatcher/test/mochitest.ini
rename : embedding/components/windowwatcher/test/moz.build => toolkit/components/windowwatcher/test/moz.build
rename : embedding/components/windowwatcher/test/test_blank_named_window.html => toolkit/components/windowwatcher/test/test_blank_named_window.html
rename : embedding/components/windowwatcher/test/test_dialog_arguments.html => toolkit/components/windowwatcher/test/test_dialog_arguments.html
rename : embedding/components/windowwatcher/test/test_modal_windows.html => toolkit/components/windowwatcher/test/test_modal_windows.html
rename : embedding/components/windowwatcher/test/test_named_window.html => toolkit/components/windowwatcher/test/test_named_window.html
rename : embedding/components/windowwatcher/test/test_storage_copied.html => toolkit/components/windowwatcher/test/test_storage_copied.html
rename : embedding/components/appstartup/nsAppStartupNotifier.cpp => toolkit/xre/nsAppStartupNotifier.cpp
rename : embedding/components/appstartup/nsAppStartupNotifier.h => toolkit/xre/nsAppStartupNotifier.h
rename : embedding/components/build/nsEmbeddingModule.cpp => toolkit/xre/nsEmbeddingModule.cpp
rename : embedding/components/appstartup/nsIAppStartupNotifier.h => toolkit/xre/nsIAppStartupNotifier.h
2017-01-12 13:47:27 -08:00
Carsten "Tomcat" Book
58469cc1a0 Merge mozilla-central to autoland 2017-01-13 10:24:01 +01:00
John Lin
18c9f6badd bug 1324530 - part 5: do not recycle EOS input sample. r=snorp
MozReview-Commit-ID: IbQLII0XTTf

--HG--
extra : rebase_source : d42ae2b35182b94b2cec9e9e9502aa5957f5a492
2017-01-06 20:04:43 +08:00
John Lin
844c44d275 Bug 1324530 - part 4: improve remote manager init wait time. r=snorp
Fix the issue that RemoteManager.init() will be block for 5s when onServiceConnected() is
finished before latch creation.

MozReview-Commit-ID: CYYpLpY7Ns9

--HG--
extra : rebase_source : a1e3612916a4b08790b4798d309e87c7e9121a37
2016-12-23 16:28:48 +08:00
John Lin
9db2d08a30 Bug 1324530 - part 3: make codec methods that change state(start, stop, flush, release) synchronous. r=snorp
MozReview-Commit-ID: EVjtpzX9dbD

--HG--
extra : rebase_source : 9e1b2bd9de5e7806ad9b71a521d168faef2c0200
2016-12-23 16:25:43 +08:00
John Lin
b962f1371d Bug 1324530 - part 2: rewrite the logic of discarding invalid buffers for flush. r=esawin
MozReview-Commit-ID: EwTRMaJOJhK

--HG--
extra : rebase_source : b20b22cc1e0ca7d3d739e02b4b8ba6e242fe8abb
2016-12-28 15:56:42 +08:00
John Lin
c3d851b322 Bug 1324530 - part 1: add method to AsyncCodec for resuming receiving input buffers after flush(). r=esawin
2 birds with 1 stone:
 - according to MediaCodec doc, when running in async mode start() must be called after flush() to 'resume receiving input buffers'.
 - in JellyBeanAsyncCodec's case, explicit resuming polling input buffers helps Codec decide which buffers are invalid by flush().

MozReview-Commit-ID: Ee5QbppgsVf

--HG--
extra : rebase_source : 52ea8eab4732f3c1e609fcc71673716991e9191d
2016-12-28 15:41:55 +08:00
Wes Kocher
ca99354e00 Backed out changeset 5566e83980ed (bug 1313155) for mass build bustage a=backout CLOSED TREE
MozReview-Commit-ID: Co3f2Vkbf4y
2017-01-12 14:16:52 -08:00
Michelangelo De Simone
0b3a927918 Bug 1313155 - Remove dom/settings and related code. r=Ehsan
MozReview-Commit-ID: Gi7frPFQ6yW

--HG--
extra : rebase_source : 401a8a202b1d8ebfd719d460bff96c9280062ded
2016-12-29 11:26:49 -08:00
Carsten "Tomcat" Book
088f1dc213 Merge mozilla-central to autoland 2017-01-12 10:39:04 +01:00
Carsten "Tomcat" Book
3ad97e202a merge mozilla-inbound to mozilla-central a=merge 2017-01-12 10:14:43 +01:00
Shih-Chiang Chien
9996cceaa6 Bug 1329902 - Part 3, don't notify Gecko if removed route is not a presentation display. r=KuoE0
MozReview-Commit-ID: 21kjmNYaW1b

--HG--
extra : rebase_source : 6648f7aa31ee0f72f1f610d73d8d60cff2731f67
2017-01-11 15:51:31 +08:00
Shih-Chiang Chien
97b4a06e2b Bug 1329902 - Part 2, handle onRouteChanged without onRouteAdded. r=KuoE0
MozReview-Commit-ID: KF0UYqYzDRe

--HG--
extra : rebase_source : 7fb67d84743e88dd8079909b9394d0fa1d3a3904
2017-01-10 15:13:35 +08:00
Florian Quèze
a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Wes Kocher
cee20adcc3 Backed out changeset 090e52000b34 (bug 1303362) for android failures in test_openWindow.html a=backout
MozReview-Commit-ID: 5Nw8QEy4Z7H
2017-01-11 12:53:11 -08:00
Sebastian Kaspari
a687740727 Bug 1328937 - Disable testActivityStreamContextMenu. r=me
There's some refactoring needed to make the test work with the new code base.
This will be worked on in bug 1330280.

MozReview-Commit-ID: 7OtZbrZK1A9

--HG--
extra : rebase_source : 8c87d91df04ef0e74fdfbf17951889cd10f498fa
2017-01-11 12:10:34 +01:00
Sebastian Kaspari
7af955600d Bug 1328937 - Introduce shared interface for activity stream models. r=Grisha
MozReview-Commit-ID: EkfmQfCQNMM

--HG--
extra : rebase_source : 76c9a7fd5689edc1d7b60be6f5afe6f0a54f0f15
2017-01-09 14:39:34 +01:00
Sebastian Kaspari
db2ca3513d Bug 1328937 - Extract TopSite model from stream adapter. r=Grisha
MozReview-Commit-ID: IfSgvPooI9F

--HG--
extra : rebase_source : a9af37843e599a68dc3116aee58f5c182768d64a
2017-01-09 13:53:10 +01:00
Sebastian Kaspari
03599a1afe Bug 1328937 - HighlightItem: Move data into separate Highlight / Metadata model classes. r=Grisha
MozReview-Commit-ID: LfeoFZB9MiL

--HG--
extra : rebase_source : 7757dfb53ca9414b08cb1312c062ec80ac9cf42a
2017-01-05 20:02:54 +01:00
Sebastian Kaspari
e4769785b3 Bug 1328937 - HighlightItem: Make all properties 'private'. r=Grisha
MozReview-Commit-ID: 9Ots1ZF8oZ8

--HG--
extra : rebase_source : afded220ad755e974a656f55a83432dd4aec71f9
2017-01-05 19:33:49 +01:00
Sebastian Kaspari
e5b3db0942 Bug 1328937 - StreamItem: Move inner classes to separate files. r=Grisha
MozReview-Commit-ID: K6q39diAjms

--HG--
extra : rebase_source : 5978d1acd87ef9c538c35ad04b2b7149dd439c2f
2017-01-05 19:29:38 +01:00
Mats Palmgren
fde90825e1 Bug 1328030 - Add basic tests that select content including form controls, using various mouse/kbd gestures. 2017-01-11 16:57:27 +01:00
Carsten "Tomcat" Book
ccfe5b9092 Merge mozilla-central to mozilla-inbound 2017-01-11 16:37:37 +01:00
Carsten "Tomcat" Book
a712d69adb merge mozilla-inbound to mozilla-central a=merge 2017-01-11 16:23:39 +01:00
Carsten "Tomcat" Book
f2693baa0a Backed out changeset 5d1623b6bcca (bug 1328937) for continued bustage on android 2017-01-11 12:47:08 +01:00
Carsten "Tomcat" Book
ccd2feb7ba Backed out changeset e1dbcf0b7019 (bug 1328937) 2017-01-11 12:46:32 +01:00
Carsten "Tomcat" Book
8f9863970b Backed out changeset 927275a3ea2c (bug 1328937) 2017-01-11 12:46:30 +01:00
Carsten "Tomcat" Book
1851a07b40 Backed out changeset 1d0bc7e990fe (bug 1328937) 2017-01-11 12:46:28 +01:00
Carsten "Tomcat" Book
c1a0c67e9e Backed out changeset 8e5f0fda8a89 (bug 1328937) 2017-01-11 12:46:25 +01:00
Carsten "Tomcat" Book
04547310e6 Backed out changeset 21f392a1ac51 (bug 1328937) 2017-01-11 12:46:23 +01:00
Sebastian Kaspari
746b8c030b Bug 1328937 - Disable testActivityStreamContextMenu. a=bustagefix
There's some refactoring needed to make the test work with the new code base.
This will be worked on in bug 1330280.

MozReview-Commit-ID: 7OtZbrZK1A9
2017-01-11 12:10:34 +01:00
Dylan Roeh
9e7a48109b Bug 1329664 - Finish a CustomTabsActivity if the corresponding tab has been closed. r=snorp 2017-01-09 09:40:08 -06:00
Dylan Roeh
81ec7a757b Bug 1303362 - Set a flag on custom tabs so that links do not open in a new tab. r=snorp 2017-01-05 16:43:30 -06:00
Dylan Roeh
e1654d20ef Bug 1325174 - Make the toolbar back button in a custom tab close the tab and finish the activity, rather than navigating. r=snorp 2016-12-22 09:43:08 -06:00
Tom Ritter
c123b23b46 Bug 1314784 - Add an 'Is Orbot Installed' telemetry probe. r=bsmedberg,sebastian
MozReview-Commit-ID: IlTLcVtycj8

--HG--
extra : rebase_source : 4ca3b38b231896073fcba32d31ae35ce849aa54e
2017-01-10 14:13:15 -06:00
Sebastian Kaspari
02f5484445 Bug 1328937 - Introduce shared interface for activity stream models. r=Grisha
MozReview-Commit-ID: EkfmQfCQNMM

--HG--
extra : rebase_source : b135eb52467c8d8672867718a873d6d1a91549ef
2017-01-09 14:39:34 +01:00
Sebastian Kaspari
3f3b45478b Bug 1328937 - Extract TopSite model from stream adapter. r=Grisha
MozReview-Commit-ID: IfSgvPooI9F

--HG--
extra : rebase_source : 89d357ee7560f086b5bc88eec6af56d86d7b1874
2017-01-09 13:53:10 +01:00
Sebastian Kaspari
ca5ef85aee Bug 1328937 - HighlightItem: Move data into separate Highlight / Metadata model classes. r=Grisha
MozReview-Commit-ID: LfeoFZB9MiL

--HG--
extra : rebase_source : a30228b7b3dac40b82b24d8d6d4217785c89514b
2017-01-05 20:02:54 +01:00
Sebastian Kaspari
257780da34 Bug 1328937 - HighlightItem: Make all properties 'private'. r=Grisha
MozReview-Commit-ID: 9Ots1ZF8oZ8

--HG--
extra : rebase_source : e491481428f69722145ad63f70d1876272b0966e
2017-01-05 19:33:49 +01:00
Sebastian Kaspari
ced99a8367 Bug 1328937 - StreamItem: Move inner classes to separate files. r=Grisha
MozReview-Commit-ID: K6q39diAjms

--HG--
extra : rebase_source : 353e09186988a40d36a6a23af5549f422fb9b978
2017-01-05 19:29:38 +01:00
Sebastian Kaspari
49420991ca Bug 1319017 - browser.js addEngine(): Use icon pipeline to load search engine icon. r=Grisha,maliu
I missed this part of the code when refactoring the icon code in bug 1290014 - because this code
never used our favicon loader but instead accessed the database directly. Now this code is using
the same pipeline we use from Java code and should therefore always load (or generate) an icon.

MozReview-Commit-ID: 9WPvTW1uscI

--HG--
extra : rebase_source : 8f07cb040c0fb7d5b33dbd3ae47ec4a4df8668f0
2017-01-10 14:15:33 +01:00
Julian_Chu
cc5b063156 Bug 1323759 - To ensure distribution is initialized r=rnewman
The referrer intent INSTALL_REFERRER comes after Fennec been installed.

On Android 5+ we might receive the referrer intent  and never actually
launch the browser. Attempt to init here to handle that case.

MozReview-Commit-ID: 6kDeqnNT2pS

--HG--
extra : rebase_source : c84cee733760b83de51180b9cfff8744db496575
2016-12-19 14:25:14 +08:00
Jim Chen
781d8b92af Bug 1328684 - Convert SharedPreferencesHelper events to bundle events; r=sebastian
Convert events used in SharedPreferencesHelper to
GeckoBundle/BundleEventListener events. Gecko thread events are used
because the listeners are expected to be synchronous, especially for the
SharedPreferences:Get event, which also requires a synchronous callback.
2017-01-10 23:01:28 -05:00
Jim Chen
e56ec60a5b Bug 1328683 - Convert ReadingListHelper events to bundle events; r=sebastian 2017-01-10 23:01:27 -05:00
Jim Chen
b6b448520d Bug 1328682 - Convert MediaPlayerManager events to bundle events; r=sebastian 2017-01-10 23:01:27 -05:00
Jim Chen
50d82c3cce Bug 1328680 - Convert GeckoService event to bundle event; r=sebastian
Convert the "Gecko:ScheduleRun" event that GeckoService listens to to a
GeckoBundle/BundleEventListener event.
2017-01-10 23:01:27 -05:00
Jim Chen
bcea78238a Bug 1326317 - Convert FilePicker events to bundle events; r=sebastian
Convert the "FilePicker:Show" event used in FilePicker and
testFilePicker to use GeckoBundle/BundleEventListener. UI event is used
because the listener performs Intent operations, which is best for the
UI thread. "FilePicker:Result" notification is removed in favor of
using a callback.
2017-01-10 23:00:58 -05:00
Jim Chen
ca13c79fba Bug 1326249 - Convert MulticastDNSManager events to bundle events; r=sebastian
Convert events used in MulticastDNSManager to
GeckoBundle/BundleEventListener events. MulticastDNSManager also sends
observer notifications from Java to Gecko, and that converts nicely to
using the new unified EventDispatcher on both sides. The patch also
hides some logging behind a flag to reduce logcat clutter.
2017-01-10 23:00:58 -05:00
Jim Chen
36a6807488 Bug 1325156 - 2. Convert JavaAddonManager events to bundle events; r=sebastian
Convert events used in the two JavaAddonManager implementations to
GeckoBundle/BundleEventListener events. Gecko thread events are used to
keep with previous behavior. The external interface for addons is kept
the same (using Bundle/JSONObject as container objects), in order to
preserve compatibility, while the internal implementation is changed to
use GeckoBundle.
2017-01-10 23:00:57 -05:00
Jim Chen
34b69f4bac Bug 1325156 - 1. Add complete Bundle/JSONObject conversion methods to GeckoBundle; r=sebastian
In addition to the existing fromJSONObject method, add fromBundle,
toBundle, and toJSONObject methods to GeckoBundle, so a GeckoBundle can
be easily converted to/from Bundle and JSONObject.
2017-01-10 23:00:57 -05:00
Tom Klein
a5b2829f5f Bug 1258176 - Remove bookmark star stub drawables in drawable/ that were formerly needed for API 9. r=sebastian
They're getting selected on mdpi (and presumably ldpi) devices.

MozReview-Commit-ID: I60hcKehPnf

--HG--
extra : rebase_source : 3a7f55fbaa020d407a7b4f227796c85a1a85d03b
2017-01-05 16:33:40 -06:00
Sebastian Kaspari
879be7f02a Bug 1315982 - findbugs: Ignore DE_MIGHT_IGNORE warning in FennecTabsRepositorySession.releaseProviders(). r=walkingice
MozReview-Commit-ID: 6jG2QDQ62l8

--HG--
extra : rebase_source : 9baecbb5e22a775532b7ed55de3642dee634e46b
2017-01-05 18:45:39 +01:00
Sebastian Kaspari
fcf58ca917 Bug 1316011 - findbugs: Enable VO_VOLATILE_INCREMENT check and ignore false positive in SerialRecordConsumer. r=walkingice
MozReview-Commit-ID: 5HGkERPyhUU

--HG--
extra : rebase_source : ea47c4276306f9dd4d75c6b4c0763adcf95ef2cb
2017-01-05 18:33:18 +01:00
Carsten "Tomcat" Book
47628ca590 Merge mozilla-central to autoland 2017-01-10 12:24:10 +01:00
Carsten "Tomcat" Book
89882dc5f4 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Wes Kocher
105aea2522 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
James Cheng
801c518cad Bug 1325332 - [EME][Fennec] Pref on EME API and only support it for M+ android version. r=cpearce
MozReview-Commit-ID: Bi5pRhIFsxB

--HG--
extra : rebase_source : 3fa45b404874c87a41448491af00e71bc94ecfd6
2016-12-23 15:50:13 +08:00
Nevin Chen
2a730ce5e0 Bug 1310622 - Display the item as-is but do not load an icon if we do not have a page URL r=sebastian
MozReview-Commit-ID: Ij9VS5NvMAs

--HG--
extra : rebase_source : 082dae732686014ead1776ab3816e70ae382ba91
2016-12-13 13:18:55 +08:00
Grigory Kruglov
cc5147ace0 Bug 1326018 - Process telemetry for highlight click before url open action r=sebastian
MozReview-Commit-ID: 8Tlth9GvqOb

--HG--
extra : rebase_source : 3075b2c4da4454adb518fd5fc686a92622633d30
2017-01-09 15:04:58 -08:00
Grigory Kruglov
d85172870c Bug 1330151 - Adjust docs slightly to better reflect current implementation r=nalexander
MozReview-Commit-ID: 3Ko9unIGKOt

--HG--
extra : rebase_source : d05327fb620fd48bba391e0a13c06f3ab9d0a4f6
2017-01-10 17:39:25 -08:00
Grigory Kruglov
68302b82af Bug 1330151 - Push Architecture docs recovered from Bug 1207714 r=nalexander
Nick's original docs copy-pasted verbatim.

MozReview-Commit-ID: PPVXwoL6He

--HG--
extra : rebase_source : 3e59b34b2e1aceb9672dc5f5ec5be8461d8ed6a7
2017-01-10 15:29:11 -08:00
Sebastian Kaspari
61df41e772 Bug 1323408 - Do not show first run tour in guest profiles. r=nechen
MozReview-Commit-ID: 42FcUvGzRr9

--HG--
extra : rebase_source : 8469c10382791b370106eeea2d988e1372691355
2017-01-05 13:12:52 +01:00
Phil Ringnalda
dd6884450a Backed out changeset c273666082fa (bug 1325332) for Android test_interfaces.html failures 2017-01-08 21:17:41 -08:00
James Cheng
b6276d9ee4 Bug 1325332 - [EME][Fennec] Pref on EME API and only support it for M+ android version. r=cpearce
MozReview-Commit-ID: Bi5pRhIFsxB

--HG--
extra : rebase_source : 8413b9ea132dc4388bdc48e7c09d3f9e4b7676eb
2016-12-23 15:50:13 +08:00
Tom Klein
667cb809fa Bug 1233415 - Make action bar actions full action bar height. r=sebastian
MozReview-Commit-ID: G78wgtWkfgQ

--HG--
extra : rebase_source : a755ad3c1bcd8b375e44c8dd35d987b163d9c890
2017-01-07 02:33:14 -06:00
Mark Banner
582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Jan Henning
042e2b6664 Bug 1301160 - Part 0 - Add an explicit string conversion to fix an error in Android Studio. r=sebastian
MozReview-Commit-ID: GLf0zXsAkAI

--HG--
extra : rebase_source : a30afeb2b9f139ac2c73f7c824ac39e05aa8cb11
2016-11-18 20:14:26 +01:00
Mike Hommey
71106c149c Bug 1330875 - Remove MOZ_APP_STATIC_INI. r=mshal
It's now always set, even on comm-central, so we can just remote it.

--HG--
extra : rebase_source : 8687e2f3b8636fb79564d074d2cce2e088570413
2017-01-13 14:51:07 +09:00
Ralph Giles
881ffe6392 Bug 1323773 - Update android builders to rust 1.15.0-beta.2. r=mshal
Fix code generation for armv7 devices without neon by switching
official builds to the 1.15 beta rust compiler. This fixes the
target generation (and standard library image) to not assume
neon is available, per Google's NDK guidelines.

We expect to update this to 1.15.0 stable before release.

MozReview-Commit-ID: HWJLLGJaUDY

--HG--
extra : rebase_source : 53f00f34f40bb2adb07de27e05019ef0159f5ec8
2017-01-04 13:42:36 -08:00
Sebastian Hengst
d0e4cec2ba Backed out changeset cce21c0cb2dd (bug 1324530) for failing passwd-1.xul on Android 4.3 debug and number-2.xul on Android 4.3 opt. r=backout 2017-01-06 09:50:28 +01:00
Sebastian Hengst
31bfe3ddf1 Backed out changeset 3e71466a060d (bug 1324530) 2017-01-06 09:49:22 +01:00
Sebastian Hengst
9f9a0ec996 Backed out changeset bedf2a853f91 (bug 1324530) 2017-01-06 09:49:18 +01:00
Sebastian Hengst
d2f92b241d Backed out changeset c520d79f9611 (bug 1324530) 2017-01-06 09:49:13 +01:00
John Lin
ecfd4663f7 Bug 1324530 - part 4: improve remote manager init wait time. r=snorp
Fix the issue that RemoteManager.init() will be block for 5s when onServiceConnected() is
finished before latch creation.

MozReview-Commit-ID: CYYpLpY7Ns9

--HG--
extra : rebase_source : cfb6a6aa25d1f274418f879e8a536dbdff664615
2016-12-23 16:28:48 +08:00
John Lin
2d0c14f448 Bug 1324530 - part 3: make codec methods that change state(start, stop, flush, release) synchronous. r=snorp
MozReview-Commit-ID: EVjtpzX9dbD

--HG--
extra : rebase_source : 26a5b10c3e3dbae0ffb2caad67863c5db7134275
2016-12-23 16:25:43 +08:00
John Lin
d483677db4 Bug 1324530 - part 2: rewrite the logic of discarding invalid buffers for flush. r=esawin
MozReview-Commit-ID: EwTRMaJOJhK

--HG--
extra : rebase_source : d636b2da2799029a8e78cfc23302bd0d63454efc
2016-12-28 15:56:42 +08:00
John Lin
a03d12f09c Bug 1324530 - part 1: add method to AsyncCodec for resuming receiving input buffers after flush(). r=esawin
2 birds with 1 stone:
 - according to MediaCodec doc, when running in async mode start() must be called after flush() to 'resume receiving input buffers'.
 - in JellyBeanAsyncCodec's case, explicit resuming polling input buffers helps Codec decide which buffers are invalid by flush().

MozReview-Commit-ID: Ee5QbppgsVf

--HG--
extra : rebase_source : e1593952f0dbbdeabd07e014482bc161315b83de
2016-12-28 15:41:55 +08:00
Tomer Cohen
3c55375e33 bug 1298385 Add RTL alignment to text in the Private Tab welcome page r=sebastian
MozReview-Commit-ID: 8pDxAlMnNMX

--HG--
extra : rebase_source : 8b4eb972665842956d693fb9ea7e159673f64554
2016-12-06 22:58:46 +02:00
Tomer Cohen
1029adf9d1 Bug 1298904 [RTL] Change the Search field and Add button locations in about:config r=sebastian
MozReview-Commit-ID: GIQ2NV2VGAO

--HG--
extra : rebase_source : 0a0d27e6c462ca443ea9d9b1f6502f5c3143485f
2016-12-08 19:15:57 +02:00
Tomer Cohen
429ed16c76 Bug 1298903 [RTL] Add padding to the right side of the list's text in about:firefox r=sebastian
MozReview-Commit-ID: 4R52HcujmL5

--HG--
extra : rebase_source : 051a19cfd45fcc54fb006a6f0385f3f18cf79069
2016-12-19 00:22:30 +02:00
Tomer Cohen
88a6128407 Bug 1298889 [RTL] "Firefox \<VersionNumber\>" is hidden by Firefox logo in about:firefox r=sebastian
MozReview-Commit-ID: J4rWoKrsaAv

--HG--
extra : rebase_source : ed197586ae6c47685616b9d419b80ef466e4494d
2016-12-07 00:53:11 +02:00
Tomer Cohen
44dd80970e Bug 1298688 [RTL] Change the small arrow icon's position in about:addons r=sebastian
MozReview-Commit-ID: 6lhBD9CCGYc

--HG--
extra : rebase_source : 829cd46bc194c34adfc27f1968a9f37bbd8e82b9
2016-12-19 20:16:52 +02:00
Jan Henning
5d35d375c9 Bug 1305027 - Choose button order in the download app chooser depending on the Android version we're running on. r=sebastian
MozReview-Commit-ID: ItNYtoX8VEX

--HG--
extra : rebase_source : bdb3e73b9ef58c944c5ae550f502b7cac704145d
2017-01-02 21:46:21 +01:00
Jan Henning
4de8d3f783 Bug 1266594 - Part 3 - Explain shutdown sequence and related data cleaning problems in the docs. r=jchen
MozReview-Commit-ID: AdVQnTQ3tsH

--HG--
extra : rebase_source : fdb3420a5fb5755b39c454c7be9867a034a1bdb3
2016-12-30 22:08:20 +01:00
Jan Henning
05c501b32c Bug 1266594 - Part 2 - Fix the session store to handle the new shutdown sequence. r=sebastian
Experimenting with the shutdown sequence for Part 1 has thrown up a few edge cases that aren't yet properly handled by the session store:
- If Gecko is busy (e.g. loading a resource-intensive page), shutdown of the UI can be delayed for a bit - if the user then manually switches away from Firefox, we might get an application-background message which needs to be ignored if we're already quitting
- Backgrounding of the app while quitting can change the event ordering - the "browser:purge-session-history" notification might arrive *after* we've received "quit-application", in which case we need to flush the session history to disk again after having handled the "purge-session-history" notification.
- clearDisk() should rather delete the session store files synchronously when quitting, because otherwise there's a chance that the delete operation runs *after* the new state has already been written out

MozReview-Commit-ID: LZzGcJHxqhz

--HG--
extra : rebase_source : 9f18b99ae92a8ff0753375ea1e279df08d61640e
2017-01-03 20:55:22 +01:00
Jan Henning
fa8b0f3184 Bug 1266594 - Part 1 - Wait for Java-side sanitizing to be triggered before exiting the UI. r=jchen
When clearing private data on exit, Gecko sends a "Sanitize:ClearHistory" message back to the Java UI, so the latter can clear the history DB if necessary.
For some users, this process is not working, presumably because there is a race condition depending on whether Gecko gets as far as sending that message before the background thread responsible for receiving that message has already shut down/had its listener unregistered, or not.

Therefore, we now wait until the UI's sanitize handlers have been called before starting to shut it down as well.

MozReview-Commit-ID: HoifMYv3spA

--HG--
extra : rebase_source : de4bb656c67104b9d5b1ea83329b77de0688a5d6
2016-12-31 13:35:38 +01:00
Shan
b49d2baeb1 Bug 1320298 - Change mutable array to unmutable list; r=sebastian
MozReview-Commit-ID: 3HkWfzEeZFw

--HG--
extra : rebase_source : efdf63a91f3ac846ab714a6e1f4200d0c59a8e7e
2016-12-13 14:41:10 +05:30
maliu
b4a2fbcf70 Bug 1328515 - Refine fallback margin left/right to include api23, r=sebastian
MozReview-Commit-ID: Ac8FP1fOGa

--HG--
extra : rebase_source : bea5cd0ff1ca83621ac9f4c5b595b479d587da06
2017-01-04 12:04:28 +08:00
maliu
9de04c0e17 Bug 1322119 - Put mirrored 9patch drawable into ldrtl resource folder, r=sebastian
MozReview-Commit-ID: BqijcKYbWSz

--HG--
extra : rebase_source : eae4b5a23f62f10a263344831f96ee9e081df42c
2016-12-16 19:57:19 +08:00
Julian_Chu
41076b6f35 Bug 1320898: To make notification bar only dimmed in Reader Mode r=sebastian
The notification bar will be dimmed if in Reader Mode and user scroll
down the page. If not in Reader Mode, make sure the notification bar is
not dimmed.

MozReview-Commit-ID: 87LisdS3nRO

--HG--
extra : rebase_source : c7a6795a2b9b007aeddbee1044f94168a03cd761
2016-12-27 17:42:47 +08:00
Phil Ringnalda
d105fd40fd Merge m-c to autoland 2017-01-04 19:01:49 -08:00
Phil Ringnalda
c83d1d7ce9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 51FMtH1yTe6
2017-01-04 18:33:32 -08:00
Jim Chen
cdb5767ec4 Bug 1319660 - 1. Don't take shortcut if old replacement ranges don't match; r=esawin
The block at [1] is a shortcut we take when we reconcile Java text
changes with Gecko text changes. However, we only checked that the new
ranges are the same, i.e. that the new Gecko text is the same as the new
Java text. We should also be checking that the old ranges are the same,
i.e. that the replaced Gecko text is the same as the replaced Java text.

[1] https://dxr.mozilla.org/mozilla-central/rev/bbbd2f7539f224a482cc6d2dd10e6a5f31c8baf3/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoEditable.java#1233
2017-01-04 14:46:10 -05:00
Andrew Swan
c6e46bcd64 Bug 1323129 part 2: remove amIWebInstaller r=rhelmer
MozReview-Commit-ID: O0jtQi9BzQ

--HG--
rename : toolkit/mozapps/extensions/amIWebInstallListener.idl => toolkit/mozapps/extensions/amIWebInstallPrompt.idl
extra : rebase_source : 7d1981f282b5e2c34b8b720c0a96e2cc8b71a86f
extra : source : 8a61b376d87f52d1bd660af41bdc6bdb5d5e44ae
2017-01-04 10:13:16 -08:00
Mike Taylor
a45c16df23 Bug 1328416. Add src param to track where compat reports are coming from. r=sebastian
MozReview-Commit-ID: GNLVJHVWEB4

--HG--
extra : rebase_source : 394c5cf6486271411fd4bff70dd7138f989a133f
2017-01-03 17:10:06 -06:00
Ralph Giles
9f66a9ca47 Bug 1325445 - Update builders to rust 1.14.0 stable. r=mshal
Repacks of the upstream builds of rust 1.14.0 stable release.

MozReview-Commit-ID: B5DclOLeBjM

--HG--
extra : rebase_source : 67db55dd62d6177b30ace5008edc680f95c6ed22
2016-12-23 13:20:26 -08:00
Adrian Zatreanu
c57580a398 Bug 1316008: Use explicit charset encoding r=nechen,sebastian
MozReview-Commit-ID: 3y2CKQZrLtl

--HG--
extra : rebase_source : b75b5f59c7d9e6ef95a06dde982f8a70a352649b
2016-11-29 20:42:08 +02:00
Mark Banner
3539bc390b Bug 1255149 - Remove unused nsICookiePromptService. r=jdm
MozReview-Commit-ID: IO07pbRqq2I

--HG--
extra : rebase_source : 7c432454f216797a9937f6b6a30dc683439102d6
2017-01-03 12:14:06 +00:00
Jim Chen
c3a02d7e8e Bug 1325155 - 2. Convert text selection events to bundle events; r=sebastian
Convert the "TextSelection:*" events to use BundleEventListener /
GeckoBundle, in both ActionBarTextSelection.java and
FloatingToolbarTextSelection.java. UI events are used because the
listeners require the UI thread. The "TextSelection:Update" listeners
are removed because the event is no longer sent by ActionBarHandler.
2016-12-28 17:49:29 -05:00
Jim Chen
34ae4d687c Bug 1325155 - 1. Add Object overrides for GeckoBundle; r=sebastian
Add overrides for Object methods in GeckoBundle, and redirected them to
the corresponding methods in SimpleArrayMap. For equals, a custom
implementation is used because the equals implementation in
SimpleArrayMap had bugs across different support library versions.
2016-12-28 17:49:28 -05:00
Jim Chen
922fcb61b5 Bug 1325154 - Convert NotificationHelper events to bundle events; r=sebastian
Convert NotificationHelper events to use BundleEventListener and
GeckoBundle. UI events are used to perform notification operations, and
to keep access to mClearableNotifications to the UI thread. Also,
refactor some recently-added code in NotificationHelper.
2016-12-28 17:49:28 -05:00
Jim Chen
16e63f30d7 Bug 1325153 - Convert DoorHangerPopup events to bundle events; r=sebastian
Convert "Doorhanger:Add" and "Doorhanger:Remove" to bundle events. UI
events are used because the listener performs UI operations. As part of
the refactoring, DoorHangerConfig was refactored to use GeckoBundle, and
due to that change, a lot of other doorhanger-related classes also had
to be refactored to use GeckoBundle.
2016-12-28 17:49:28 -05:00
Phil Ringnalda
ce22845813 Merge m-c to m-i
MozReview-Commit-ID: 28f3Y4WDMFL
2016-12-27 20:38:00 -08:00
Randell Jesup
ac570b16c4 Bug 1250356: rollup of changes for webrtc after applying webrtc.org v49 update r=pkerr,ng,pehrsons,etc
See ssh://hg.mozilla.org/users/paulrkerr_gmail.com/webrtc49_merge/ for the
patch development history.
2016-12-27 19:41:02 -05:00
James Cheng
14369bf152 Bug 1325330 - [EME][Fennec] Create MediaCrypto object inside GeckoMediaDrmBridge's constructor. r=kikuo
MozReview-Commit-ID: 4QmvUxrMe47

--HG--
extra : rebase_source : 93a7d5df5b17a88ee5e909a4b68d45e5541b5e4e
2016-12-23 15:42:22 +08:00
Wes Kocher
7cd2d99f0f Backed out 2 changesets (bug 1325445) for lint failures and possibly build bustage a=backout
Backed out changeset 26dfb927a58d (bug 1325445)
Backed out changeset 4fcea80bb19e (bug 1325445)
2016-12-23 14:28:27 -08:00
Ralph Giles
af4d2e7ffe Bug 1325445 - Update builders to rust 1.14.0 stable. r=mshal
Repacks of the upstream builds of rust 1.14.0 stable release.

MozReview-Commit-ID: B5DclOLeBjM

--HG--
extra : rebase_source : f56feadb24193f1bec13c93bf0414a50a7de219c
2016-12-23 13:20:26 -08:00
David Keeler
104c38c723 bug 1324071 - add nsIPK11Token.hasPassword to replace unnecessary uses of nsIPKCS11Slot.status r=Cykesiopka,gps,MattN,sebastian
MozReview-Commit-ID: C2jwQHPEDC0

--HG--
extra : rebase_source : 16271e70ef32da8657cdc4f8df41b7822430e3bf
2016-12-02 15:09:35 -08:00
Sebastian Kaspari
3f306fc9d4 Bug 1325380 - Use provider name for AS highlights. r=Grisha
MozReview-Commit-ID: 2vPk2DdrYed

--HG--
extra : rebase_source : e7de82507816ad026917b281c1d97a0a07e6289e
2016-12-22 16:17:28 +01:00
Wes Kocher
31ced84f43 Merge m-c to autoland, a=merge 2016-12-22 18:45:10 -08:00
Wes Kocher
60785fce6d Merge inbound to central, a=merge
MozReview-Commit-ID: I54WGOLqHI2
2016-12-22 18:37:07 -08:00
Grisha Kruglov
e05b65163b Bug 1320798 - Re-order context menu items for Activity Stream r=ahunt
MozReview-Commit-ID: Ldt0H5XQxsz

--HG--
extra : rebase_source : f5467ada9237ad4db1ce8b481e7c29bcce6e6ec5
2016-12-21 14:30:50 -08:00
Sebastian Hengst
010d63ba33 Bug 1324280 - Revert MarginLayoutParamsCompat with setting margin left/right by current layout direction: lint style fixes. r=lint-fixes 2016-12-22 18:52:34 +01:00
Carsten "Tomcat" Book
0aed7a4ac5 Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/docker/base-build/HASH => taskcluster/docker/base-build/HASH
rename : testing/docker/base-test/HASH => taskcluster/docker/base-test/HASH
rename : testing/docker/centos6-build-upd/HASH => taskcluster/docker/centos6-build-upd/HASH
rename : testing/docker/centos6-build/HASH => taskcluster/docker/centos6-build/HASH
rename : testing/docker/decision/HASH => taskcluster/docker/decision/HASH
rename : testing/docker/image_builder/HASH => taskcluster/docker/image_builder/HASH
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/tester/HASH => taskcluster/docker/tester/HASH
2016-12-22 16:25:35 +01:00
maliu
03b008aa5c Bug 1324280 - Revert MarginLayoutParamsCompat with setting margin left/right by current layout direction, r=sebastian
MozReview-Commit-ID: amwDqXRxE5

--HG--
extra : rebase_source : 8561d5541d7aae658c9002d57add058980384fc0
2016-12-21 15:27:09 +08:00
Sebastian Kaspari
bbe7ce58a6 Bug 1311434 - Website Metadata: Get provider name from Open Graph tags. r=Grisha
There's a pull request [1] and issue [2] on GitHub tracking the work to land this
in the page-metadata-parser repository. Multiple potential sources for getting a
'provider name' are considered in the linked issue - however they all have
slightly different semantic meanings. Only 'og:site_name' actually has the same
meaning as "provider name". Therefore it is pretty safe to land this part.

[1] https://github.com/mozilla/page-metadata-parser/pull/81
[2] https://github.com/mozilla/page-metadata-parser/issues/79

MozReview-Commit-ID: KQFSLo85JoS

--HG--
extra : rebase_source : ba86e5c3785cda500a1e8f5a8887228c72f6d00f
2016-12-20 14:21:32 +01:00
James Cheng
3b8bb20163 Bug 1325005 - Preference on media.decoder.recycle.enabled not only for Nightly build. r=jolin
MozReview-Commit-ID: Ivsy0Y6ot13

--HG--
extra : rebase_source : 70aefea4badc57f2616e59464c2585b628029cae
2016-12-21 15:50:04 +08:00
Grisha Kruglov
90b4168ba0 Bug 1325446 - Remove "private tab" telemetry from Activity Stream r=liuche
MozReview-Commit-ID: JUHQOxGXvAu

--HG--
extra : rebase_source : a8d73e4b5394be3e27a5831b64d05e46fde40682
2016-12-22 11:57:42 -08:00
Grisha Kruglov
70a40310cc Bug 1319245 - Post: clean up async tasks and access levels r=sebastian
MozReview-Commit-ID: IWwTqkqa2OH

--HG--
extra : rebase_source : 41ffd99339ebb8aae662910c000d64705de76768
2016-12-21 23:01:45 -08:00
Grisha Kruglov
e78ac7e0a2 Bug 1319245 - Documentation for Activity Stream telemetry r=liuche,sebastian
MozReview-Commit-ID: DAG9eOOdNn5

--HG--
extra : rebase_source : 7787682276cc75e2b098e5c5d58431e2e319cd0c
2016-12-21 23:25:27 -08:00
Grisha Kruglov
2f9475c465 Bug 1319245 - Track rich telemetry data for Activity Stream r=sebastian
General concept is to populate the "extras" field with a stringified JSON object
which contains bunch of additional data which, in aggregate, might give insight
into user's actions.

A builder is used in order to make constructing the extras json string easier.
This builder has a concept of a "global state" which lets us easily include some information
with every A-S telemetry ping.
Currently this is used to track whether or not user has a firefox account.

An instance of a builder is passed around, augmented as more information becomes known,
and is materialized into an "extras" string whenever an action occurs and telemetry
event needs to be sent.

MozReview-Commit-ID: GDmxkWChnnA

--HG--
extra : rebase_source : 025d198e16d3a8af8b6e94bd531e916b80f9841a
2016-12-21 22:51:27 -08:00
maliu
dde53f57e8 Bug 1323763 - Revert setAutomirrored solution and provide drawable in ldrtl folder, r=ahunt
MozReview-Commit-ID: JwHTNbQ1HcN

--HG--
extra : rebase_source : d9c849a98bc5a09ebc706be237ec42b15de70c0d
2016-12-16 18:21:58 +08:00
Sebastian Hengst
bc2f204f46 Backed out changeset 57ccc83a450f (bug 1311555) for Android build bustage. r=backout 2017-01-19 19:47:08 +01:00
Sebastian Hengst
2121d17026 Backed out changeset d8c85b0ed424 (bug 1311555) 2017-01-19 19:46:40 +01:00
Andrzej Hunt
b8252551d9 Bug 1311555 - Use filled bookmark star in ActivityStream context menu r=sebastian
Unfortunately tinting the bookmark star is highly complicated due to the tinting
that NavigationView performs (i.e. we'd likely have to disable NavigationView
tinting, and do manual tinting on every icon - alternatively we could hack
the tint-list to use blue for "checked" items, and set the bookmark item
as checked). Since it's unclear if we even want the star to be blue,
we'll leave it grey (but filled) for now.

MozReview-Commit-ID: DekRZJayKIz

--HG--
extra : rebase_source : 45c4391fe2756b4aae082f89f8e2f6456cac27a2
2017-01-18 12:20:50 +01:00
Andrzej Hunt
7c8c454827 Bug 1311555 - Pre: remove unused imports r=ahunt
MozReview-Commit-ID: 6Xk7Z01m41A

--HG--
extra : rebase_source : 6ac181618d63b0b69b8b7bab836e6bce4e659ace
2017-01-18 12:18:06 +01:00
Florian Quèze
fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Jim Chen
aa76b81db3 Bug 1328115 - 1. Test vsync support in native code; r=snorp
Don't go through the VsyncSource Java class to test support for vsync.
Because VsyncSource references symbols from API 16+, Dalvik fails to
load it for API 15 and below. Also make several other changes in
VsyncSource, including removing the unnecessary JNIObject superclass,
and refactoring the instance initialization code, which fixes a possible
race when initializing.
2017-01-09 14:10:23 -05:00
Chenxia Liu
70fab1925d Bug 1325243 - Update UI Telemetry docs to reflect usage of "extras". r=Grisha
MozReview-Commit-ID: 9FBXQioCZ2A

--HG--
extra : rebase_source : f479791398c94d95bfa4b730d6d57f4dd80580e2
2016-12-21 17:04:45 -08:00
Ralph Giles
b548230620 Bug 1322323 - Consolidate common artifact build mozconfig options. r=chmanchester
Collect common options used in artifact build tests in a single
mozconfig so they can be set more consistently.

Use this to make unsetting toolchain defines universal in these
tasks, fixing fallout from bug 1283898 which defined CARGO and
RUSTC everywhere, conflicting with --disable-compiler-environment
just like CC and CXX were conflicts in some artifact tasks.

MozReview-Commit-ID: 4SbxByjClQb

--HG--
extra : rebase_source : d8a48fd2192ceb5ece76c827e2243ae784b991cb
2016-12-21 15:44:48 -08:00
Carsten "Tomcat" Book
d1a09e06c8 Merge mozilla-central to autoland 2016-12-21 17:07:24 +01:00
Sebastian Kaspari
d259c32a81 Backed out changeset 82753b1778fa (bug 1316011) 2016-12-21 10:41:36 +01:00
Phil Ringnalda
4f5f9f3222 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EI1fU13SR79
2016-12-20 20:15:20 -08:00
Jim Chen
33dd6ce59b Bug 1324817 - Fix NPE in setSearchEngineFromBundle; r=me
Fix a NPE in setSearchEngineFromBundle when mIdentifier is null. r=me
for trivial patch.
2016-12-20 17:01:04 -05:00
Wes Kocher
584a2f0f62 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Nevin Chen
87f359cccd Bug 1320889 - Tapping the notification for a downloaded file shouldn't open firefox. r=ahunt
MozReview-Commit-ID: FzBk0TmVlm0

--HG--
extra : rebase_source : f83153ae5519c44d045db6f21df6f8b319723edc
2016-12-16 16:30:19 +08:00
Sebastian Kaspari
0e4dad6928 Bug 1320992 - Enable next set of findbugs checks. r=maliu
The linked bugs are fixed and we can enable those checks now.

MozReview-Commit-ID: 9UdFH1u9D1I

--HG--
extra : rebase_source : 714e8f3e207612d9d21a69f126ab513f036691a6
2016-12-19 17:03:25 +01:00
Nevin Chen
b6925d0d93 Bug 1241262 - Use resolveInfo.activityInfo.icon instead of resolveInfo.icon to support SDK 23 and later. r=ahunt
MozReview-Commit-ID: nGV2ElQEO2

--HG--
extra : rebase_source : cdd45c34d1cae326c56ad5ca064505aaa2b9b0f3
2016-12-01 15:56:41 +08:00
Sebastian Kaspari
950d0c704a Bug 1323952 - Preferences: Set default 'compact tabs' value based on experiment. r=ahunt,nechen
MozReview-Commit-ID: EbE1Lrk90bc

--HG--
extra : rebase_source : 6f9511ec1dc24abba3222cf95370e46141e3994e
2016-12-20 19:28:08 +01:00
Sebastian Kaspari
b03a7aaf91 Bug 1323952 - Tabs panel: Update default based on compact tabs experiment. r=ahunt,nechen
MozReview-Commit-ID: GTJ3YMLvHup

--HG--
extra : rebase_source : 6a20a286d230e363989e79d2d10b96268b06770a
2016-12-20 15:43:12 +01:00
Sebastian Kaspari
428eb34b95 Bug 1323952 - Add compact tabs experiment. r=ahunt,nechen
MozReview-Commit-ID: DSoEm62tLRW

--HG--
extra : rebase_source : 9e986517eeeaf95d0b4eb3b2ed0b393e11534eaf
2016-12-20 15:41:42 +01:00
Sebastian Hengst
0d4188dc3d Backed out changeset b9d69795947d (bug 1075025) for crashing in xpcshell test test_setUsePrivateBrowsing.js and test_ext_alarms.js on Android. r=backout 2016-12-21 09:35:38 +01:00
Wes Kocher
0b3c388b2f Merge m-c to autoland, a=merge 2016-12-20 11:48:21 -08:00
Tom Klein
c89557df1c Bug 1324034 - Remove TwoWayView. r=sebastian
MozReview-Commit-ID: GaqJEmi4dG7

--HG--
extra : rebase_source : 6a146bba60fea5972de0a3945a2afd49cf7988e5
2016-12-20 00:54:12 -06:00
Masayuki Nakano
7436f01057 Bug 564411 Move all methods/attributes of nsIEditorIMESupport to nsIEditor r=smaug
Doing QI from nsIEditor to nsIEditorIMESupport doesn't make sense because editor should always support all methods and attributes of nsIEditorIMESupport (it does NOT mean that all nsIEditor implementation need to support IME).

This patch moves all of them to nsIEditor for avoiding redundant QIs.

MozReview-Commit-ID: DzIKuGHG4iy

--HG--
extra : rebase_source : cc5e9a6ae4572ebe461d9770ffa5c23d33dc8526
2016-12-20 21:47:31 +09:00
Carsten "Tomcat" Book
97d9339674 Merge mozilla-central to mozilla-inbound 2016-12-19 16:04:33 +01:00
Phil Ringnalda
5b605a1320 Merge m-c to autoland 2016-12-18 20:24:15 -08:00
Phil Ringnalda
a6a339991d Merge m-i to m-c, a=merge
MozReview-Commit-ID: DIIe4uRVqAO
2016-12-18 20:22:37 -08:00
Jim Chen
c98ff94c00 Bug 1323577 - Convert "SearchEngines:Data" event to bundle event; r=sebastian
Convert "SearchEngines:Data" to use BundleEventListener/GeckoBundle,
including usages in BrowserSearch, SearchPreferenceCategory,
testAddSearchEngine, testDistribution, etc. Also, convert JSON parsing
code in various classes. UI thread is used because the event listeners
perform various UI operations based on the event data.
2016-12-18 08:10:19 -05:00
Jim Chen
23c3c2e325 Bug 1323576 - Convert GeckoNetworkManager events to bundle events; r=sebastian
Convert "Wifi:Enable" and "Wifi:GetIPAddress" events to GeckoBundle
events. Use the UI thread because we do things like starting activities
and using system services, which are best done on the UI thread.
2016-12-18 08:10:18 -05:00
owais
bef90a7cdd Bug 1220316-Removed explicit use of AppCompactCheckBox in the following files Part 2. r=sebastian.
MozReview-Commit-ID: EifGBrM87Xj

--HG--
extra : rebase_source : 1cd3fdcb18aab4073919bd451ddcaab63d84751c
2016-12-16 23:42:43 +05:30
Tom Klein
d611d76a94 Bug 1323951 - Don't show the compact tabs setting on tablets. r=sebastian
preferences_general_tablet.xml actually only applies on tablets with enough room
for multiple panes, otherwise preferences_general.xml is used; so the fix here
is necessary to remove the pref on tablets not large enough for multiple
preferences panes.

MozReview-Commit-ID: Ff7VebVYV10

--HG--
extra : rebase_source : fda5012f3edd371de5c431e6c50258de4017f547
2016-12-16 15:12:16 -06:00
Phil Ringnalda
c04c07394e Merge m-c to m-i
MozReview-Commit-ID: CiAsqfePW9u
2016-12-17 14:02:39 -08:00
Kris Maglione
22eba76d86 Bug 987512: Part 5 - Remove manual AddonManager promise wrappers. r=rhelmer
MozReview-Commit-ID: LrEiGbQGrt6

--HG--
extra : rebase_source : 38971f7242261e5d8b11d586f6eb033b6364c6cf
extra : histedit_source : 0b9403a97d3f3092b8991e8e6af5095b898dd8c3
2016-12-15 12:03:24 -10:00
maliu
e2d1077fac Bug 927667 - [RTL] Align suggestion to end of icon, r=sebastian
MozReview-Commit-ID: 57V2HAYizTu

--HG--
extra : rebase_source : 9f2962e5978ee48a5a83d5853613f87281954ecc
2016-12-15 14:04:34 +08:00
Carsten "Tomcat" Book
2a375bb528 Merge mozilla-central to autoland 2016-12-16 16:10:51 +01:00
Carsten "Tomcat" Book
a244c7fb4a merge mozilla-inbound to mozilla-central a=merge 2016-12-16 16:04:50 +01:00
Tom Klein
b42dfe45bd Bug 1323945 - Update summary copy for compact tabs. r=sebastian
MozReview-Commit-ID: DKviWFzltc2

--HG--
extra : rebase_source : 0825642105fec55a76db3d84eca09a4745489318
2016-12-16 03:06:46 -06:00
Evan Tseng
0eebd3161c No bug - Update readability from github repo, includes fix for Bug 1142312 and Bug 1285543, r=Gijs
MozReview-Commit-ID: 5hi1iuDO3XE

--HG--
extra : rebase_source : 9c15ccde6cadc4df3d7751ca90a53dc4c0d021c3
2016-12-15 12:03:53 +08:00
Phil Ringnalda
e3ceaf61be Merge m-c to m-i
MozReview-Commit-ID: FArqhSVQLaT
2016-12-15 17:53:14 -08:00
Phil Ringnalda
f680e72cc6 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 4iKvEwhyJQJ
2016-12-15 17:47:41 -08:00
Eugen Sawin
cbc1668ca6 Bug 1322585 - [1.0] Remove GeckoView.Browser. r=snorp 2016-12-15 20:22:11 +01:00
Eugen Sawin
6ac3765414 Bug 1322584 - [1.0] Remove GeckoView.ChromeDelegate.onScriptMessage. r=snorp 2016-12-15 20:22:10 +01:00
Eugen Sawin
fa847d4f26 Bug 1322582 - [1.0] Remove GeckoView.ChromeDelegate.onReady. r=snorp 2016-12-15 20:21:46 +01:00
Grisha Kruglov
1a37ce6e11 Bug 1321368 - Exclude remote-only visits from AS Top Sites r=ahunt
MozReview-Commit-ID: Jacc3SGT2pw

--HG--
extra : rebase_source : afb826015a2196144457d48370ce94b77a450cb0
2016-12-14 16:53:31 -08:00
Gijs Kruitbosch
cb6c0c81ac Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
MozReview-Commit-ID: 2yb0WGFYBsH

--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Carsten "Tomcat" Book
877ffa1db2 merge mozilla-inbound to mozilla-central a=merge 2016-12-15 14:17:53 +01:00
Tooru Fujisawa
25ecae81fc Bug 1321226 - Remove legacy generator from mobile/. r=sebastian 2016-12-15 16:54:46 +09:00
Nevin Chen
91bd753d3a Bug 1278245 - If a space is found, we assume this is a search query. r=ahunt
MozReview-Commit-ID: EfenqXSlaWj

--HG--
extra : rebase_source : 3934445d279a5f438294abed4a6b315eda6a2d33
2016-11-29 11:33:27 +08:00
John Lin
554abfa33e Bug 1323687 - re-query output buffers after format change. r=esawin
MozReview-Commit-ID: 8L1MH3ODU8d

--HG--
extra : rebase_source : 9269938ff6495a392aaa3fa3e2fc7d5705c0aac4
2016-12-15 18:10:14 +08:00
Phil Ringnalda
082cc32ea9 Merge m-c to autoland 2016-12-15 17:52:23 -08:00
Ralph Giles
f556d427fb Bug 1283898 - Don't set RUSTC for artifact builds. r=gps
The --disable-compile-environment configure option used by
the artifact builds removes all support for toolchains,
including setting paths for them with environment options.

Unset the RUSTC and CARGO vars inherited from mozconfig.rust
in the artifact mozconfigs to accommodate the invalid option
check, just like we do for the CC and CXX options.

MozReview-Commit-ID: IwPetRaIY25

--HG--
extra : rebase_source : 37fb4bf9e69d3082cc0ed6b0013e6363a7e8e8e5
2016-12-13 11:16:53 -08:00
Ralph Giles
175aa9f527 Bug 1283898 - Make tooltool rust available in all automation. r=gps
Include mozconfig.rust in the common mozconfig so all jobs
will have the same rust config.

Automation mozconfigs all inherit from mozconfig.common,
so we can include mozconfig.rust there and not need it
anywhere else.

Remove --enable-rust from mozconfig.rust now that it's
the default. We only need the RUSTC and CARGO path
variables so jobs can find the toolchain installed from
the tooltool manifest. Also some automation jobs reject
the configure option if we set it unconditionally.

The --enable-rpath comment is no longer necessary; rust has
been consistently built this way for some time.

MozReview-Commit-ID: 2IeIIIinnPL

--HG--
extra : rebase_source : 79dadcc5ed13f2db312042d755a57698f267e902
2016-11-30 16:10:33 -08:00
Ralph Giles
2f1583e05d Bug 1283898 - Add rust to more automation builds. r=mshal
Jobs using these additional tooltool manifests need an appropriate
rust toolchain when rust code is enabled.

MozReview-Commit-ID: YM7yjJk3w5

--HG--
extra : rebase_source : d98f3a9c2b1bcba337eedcaa06125ac5fb9dfd40
2016-11-30 15:08:15 -08:00
maliu
c74bd80738 Bug 1321635 - Align history section header by left|start in styles.xml, r=sebastian
MozReview-Commit-ID: 2Zf0bGxLhzy

--HG--
extra : rebase_source : f2f91e9fda2ece390a85f6312f009959179ecb85
2016-12-16 20:56:21 +08:00
John Lin
71bdb68393 Bug 1311960 - turn on remote media decoding preference on Fennec Nightly. r=snorp
MozReview-Commit-ID: CUm6EwC1Dz9
2016-12-19 12:59:18 +08:00
Tom Klein
04ab70169c Bug 1317446 - 3. Add TabStripDividerItem for TabStripView dividers and spacing. r=sebastian
MozReview-Commit-ID: 5OC58tEGQrM

--HG--
extra : rebase_source : 50272cc5990fa3fb409a103575a2ff739daf825e
extra : source : 542d785801381ce681377c4dbb27b43edd7cdbd7
2016-10-16 21:03:50 -05:00
Tom Klein
87f9e0dca6 Bug 1317446 - 2. Add TabStripItemAnimator for TabStripView item animations. r=sebastian
MozReview-Commit-ID: AF2pwFMvWDe

--HG--
extra : rebase_source : c47ed9eae20dfa5ba5b6ce5a3e64250ef47073e1
2016-10-17 20:45:13 -05:00
Tom Klein
2a0c005f63 Bug 1317446 - 1. Make TabStripView a RecyclerView. r=sebastian
MozReview-Commit-ID: EGzDZBpAV3N

--HG--
extra : rebase_source : 629617397aa7af46ebf1bd9e0598a1214bd21b65
extra : source : f68f10436440afff40a0ecc9eceb92f025480929
2016-11-14 15:02:02 -06:00
Grisha Kruglov
eba14873a8 Bug 1319274 - Part 3: Allow pinning and unpinning of both Top Sites and Highlights r=ahunt
This commit introduces a special type of a pin, "Activity Stream pin".
It's identified by a fixed position of -1. Activity Stream pins are displayed inline
with top sites, at the very front. They are "non-positioned", as opposed to regular pins
which have a position on Top Sites grid. This approach was selected (as opposed to creating a
new kind of a "non-positioned pins bookmark folder") because it is simpler, does not
involve any migrations or sync changes, and is thus preferred in light of a moving
target that is the current vision for Activity Stream.

Two types of pins, regular ones and Activity Stream pins, are independent of each other.

Due to the fact that pins and bookmarks are almost the same thing, we can only figure our,
based on the underlying queries, the following ahead of time:
- pinned state of a pinned top site item (trivial case)
- pinned state of a non-pinned top site item (trivial case)
- bookmark state of a "bookmarked" hightlight item (trivial case)
- bookmark state of a non-pinned top site item

For all other combinations, states have to be looked up when user opens a context menu for an item.

MozReview-Commit-ID: 3KbOp9S4Pz7

--HG--
extra : rebase_source : a86893a235ee7c6c7d2215b9c8a3b56f986480a9
2016-12-14 16:23:40 -08:00
Grisha Kruglov
32c27d4420 Bug 1319274 - Part 2: Display a pin icon besides the Top Site title r=ahunt
MozReview-Commit-ID: BGpgJOeuRQn

--HG--
extra : rebase_source : e4a2f46f91c85bb4a7071361ba9da7d69f4d93da
2016-12-01 19:35:02 -08:00
Grisha Kruglov
dcd0e6721f Bug 1319274 - Part 1: Use regular getTopSites method for A-S top sites r=ahunt
Since we want to include pinned sites in A-S Top Sites, this removes the "plain top sites"
query which excludes pinned sites.

Maximum number of suggested sites displayed is set so that they will fill out at most two "pages".

MozReview-Commit-ID: 8uynmwiaPkt

--HG--
extra : rebase_source : 763633fca5f9f606a8f6cfd1f4a4332273c34dee
2016-12-01 18:53:47 -08:00
Jim Chen
57b62c6572 Bug 1322715 - Convert DownloadsIntegration event; r=sebastian
Convert the "Download:Remove" event listener in DownloadsIntegration
from a NativeEventListener to a BundleEventListener on the background
thread.
2016-12-15 18:23:54 -05:00
Jim Chen
89ed582051 Bug 1322714 - Convert RecentTabsAdapter and GeckoPreferences events; r=sebastian
Convert "ClosedTabs:Data" and "Sanitize:Finished" events used in
RecentTabsAdapter and GeckoPreferences from NativeJSObject events to
GeckoBundle events.
2016-12-15 18:23:54 -05:00
John Lin
783a4985dd Bug 1075025 - part 1: receive vsync events through Choreographer. r=snorp
MozReview-Commit-ID: 69MefRKMWmh

--HG--
extra : rebase_source : 07d9722cb6fcaf0f1b9f67a754245c7ac6ec663f
2016-12-20 14:18:35 +08:00
Tom Klein
f2ac7261a0 Bug 1313296 - Don't collect metadata for "about:" pages. r=Grisha
MozReview-Commit-ID: 6opB4lT85vs

--HG--
extra : rebase_source : 9c422ba61d4981907aa4c3068775e98de4c09fbf
2016-12-02 23:00:38 -06:00