Bug 1078796 - Remove special purpose Matchstick filtering code r=wesj
Bug 1078796 - Update the Matchstick casting code r=wesj
Bug 1075797 - Move new tablet resources into regular resources. r=lucasr,rnewman,mcomella

The move command was:

$ cd mobile/android/base/newtablet/res
$ find . -type f -exec hg mv {} ../../resources/{} \;

--HG--
rename : mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_item_title.xml => mobile/android/base/resources/color-large-v11/new_tablet_tab_item_title.xml
rename : mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_bg.xml => mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_bg.xml
rename : mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_title.xml => mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_title.xml
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_menu.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_nav_back.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_close.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_close_active.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tab_new_dark.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_new_dark.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_menu.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_nav_back.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tab_close.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tab_close_active.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tab_new_dark.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tab_new_dark.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_action_bar_button.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_action_bar_button.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_site_security_level.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_site_security_level.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_site_security_unknown.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_site_security_unknown.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_item_close_button.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_item_close_button.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_add_tab.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_add_tab.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_button.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_button.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_divider.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_divider.xml
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_url_bar_nav_button.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_url_bar_nav_button.xml
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_nav_back.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_close.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_close_active.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tab_new_dark.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_new_dark.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_menu.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_nav_back.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_nav_back.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tab_close.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tab_close_active.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_add.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-hdpi-v11/new_tablet_ic_menu_bookmark_remove.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_add.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-mdpi-v11/new_tablet_ic_menu_bookmark_remove.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_add.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-xhdpi-v11/new_tablet_ic_menu_bookmark_remove.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_add.png => mobile/android/base/resources/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_add.png
rename : mobile/android/base/newtablet/res/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_remove.png => mobile/android/base/resources/drawable-xlarge-xxhdpi-v11/new_tablet_ic_menu_bookmark_remove.png
rename : mobile/android/base/newtablet/res/layout-large-v11/new_tablet_browser_toolbar.xml => mobile/android/base/resources/layout-large-v11/new_tablet_browser_toolbar.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tab_strip.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tab_strip.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tabs_counter.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tabs_counter.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tabs_panel_back_button.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tabs_panel_back_button.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/tab_strip.xml => mobile/android/base/resources/layout-large-v11/tab_strip.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item.xml => mobile/android/base/resources/layout-large-v11/tab_strip_item.xml
rename : mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item_view.xml => mobile/android/base/resources/layout-large-v11/tab_strip_item_view.xml
extra : amend_source : 604733b38aa0e8d9f8b5334dfa99af9f1201a2ee
Bug 1105825 - Disable all devtools animation actor tests since the waapi is pref'd off in beta/release; r=me
Merge m-c to fx-team. a=merge
Merge m-c to fx-team a=merge CLOSED TREE
Bug 1087934 Share panel UI updates, r=markh
Bug 1110678 - Re-implement Ctrl+up/down and Alt+up/down in the search field, r=felipe.
Bug 1098239 - Rewrite mobile/android Gradle integration. r=me

This is a big patch, but it's essentially NPOTB.  The part that is POTB
is ... removing Gradle integration from the build.  I've implemented
|mach gradle-install| as a substitute for the build system stuff; it's
just so much easier to iterate on a mach command than a moz.build and
Makefile.in.

I'm landing this with self-review because this lessens the impact of the
Gradle integration on the build system and because I am the only person
who understands either the old or the new system.

You'll need to run |mach gradle-install| at top level to configure the
new Gradle integration.  But |mach gradle ...| does the right thing
configuration steps too.

This patch rewrites most of the Gradle integration.  The major changes
are:

* all .gradle files move into mobile/android/gradle;
* all the Gradle projects live in the object directory;
* mozconfig exposed to all build.gradle files;
* simplification of Android configuration between build.gradle files;
* support for user-specified version of build tools;
* first steps towards supporting builds from the source directory;
* bumps Gradle to 2.2.1;
* bumps the Android-Gradle plugin to 0.14.4.

This is seemingly a step backwards given that we'd prefer to ship the
.idea directory in the source directory.  But in fact we get closer to
that; it's possible to run ./gradlew in the source directory and get a
reasonable build.  We'll progress with this in time.  The win right now
is that the projects are nested, which makes importing work better on
Linux machines.

Unfortunately IntelliJ 13 and 14 now have conflicting Android-Gradle
plugin version requirements, so we now only support IntelliJ 14.0.2 and
above.

--HG--
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/base/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/branding/AndroidManifest.xml
rename : mobile/android/gradle/omnijar/gradle_AndroidManifest.xml => mobile/android/gradle/omnijar/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_code/AndroidManifest.xml
rename : mobile/android/base/gradle_AndroidManifest.xml => mobile/android/gradle/preprocessed_resources/AndroidManifest.xml
rename : mobile/android/thirdparty/gradle_AndroidManifest.xml => mobile/android/gradle/thirdparty/AndroidManifest.xml
Bug 1112566 - Use jemalloc C99 msvc compat headers when building mozjemalloc compat glue and jemalloc3 replace-malloc library. r=glandium
Bug 1112566 - Move variable declaration to the top its block for MSVC compatibility. r=jasone,r=glandium
Bug 1112566 - Add a isblank definition for MSVC < 2013. r=glandium
Bug 1108858 - Avoid building libxul twice as much as necessary during Linux PGO builds. r=mshal
Bug 1113574 - Check that the room <chatbox> is still open before resuming the tour from a join notification. r=dmose,markh

The room participant list only gets updated after getting a push notification and this can lead to the Rooms store still showing the user in their room even after they have left. To avoid this, we check that the <chatbox> for the room is actually still present.

--HG--
extra : rebase_source : f4133b922e8be4cc3ece3aebc9e96162efd3190e
Bug 1079336 - Updated runtime details to show 'unknown (requires ADB Helper 0.4.0 or later)' in WebIDE properties; r=jryans
Bug 1112644 - make timeline tests work on e10s. r=paul
Bug 1113722 - Implement %TypedArray%.prototype.fill r=till
Bug 1114584 - Remove HaveSameClass. r=h4writer
Bug 1112746 - some internal object checks are missed in xpcom wrapper, r=yzen
No bug - fix warning in optimized builds about unused variable r=me